@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");
/* stryonlab — home page styles: quiet editorial layout, light paper, serif display */
:root {
  --paper: #f3e9d2;
  --paper-2: #eadfc5;
  --ink: #0a0a09;
  --muted: #8a8472;
  --line: rgba(10, 10, 9, .14);
  --line-d: rgba(243, 233, 210, .16);
  --blue: #0a0a09;
  --violet: #3d3a30;
  --grad: linear-gradient(90deg, #0a0a09, #3d3a30);
  --serif: "Noto Naskh Arabic", "Newsreader", Georgia, serif;
  --body: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif;
  --wrap: 1280px;
}
html[lang="en"] {
  --serif: "Newsreader", "Noto Naskh Arabic", Georgia, serif;
  --body: "DM Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] h3.ltr { text-align: right; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* ---------- header: links, centred logo, pill actions ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(243, 233, 210, .0); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.open { background: rgba(243, 233, 210, .92); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 1.36rem; letter-spacing: -.02em; direction: ltr; }
.brand img { width: 32px; height: 32px; }
.brand b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: .95rem; color: var(--ink); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; margin: 6px auto; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- pills ---------- */
.btn, .lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font-size: .95rem; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn:hover, .lang-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-grad, .btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-grad:hover, .btn-dark:hover { background: transparent; color: var(--ink); }
.btn-line { background: transparent; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.lang-btn { padding: 10px 14px; font-size: .86rem; background: transparent; }
/* arrow: ↗ like an outbound link */
.arrow { width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; position: relative; flex: none; transition: translate .2s; }
.arrow::after { content: ""; position: absolute; top: -1px; right: -1px; width: 11px; height: 1.5px; background: currentColor; transform-origin: 100% 50%; transform: rotate(-45deg); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow, .more:hover .arrow { translate: 2px -2px; }
[dir="rtl"] .btn:hover .arrow, [dir="rtl"] .more:hover .arrow { translate: -2px -2px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .2s; }
.more:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 150px 70px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); margin-bottom: 34px; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.3; max-width: 16ch; letter-spacing: 0; }
html[lang="en"] .hero h1 { font-weight: 400; line-height: 1.06; letter-spacing: -.025em; max-width: 15ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: .12em; }
.hero-sub { margin-top: 30px; font-size: 1.16rem; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

.stack { border-block: 1px solid var(--line); overflow: hidden; direction: ltr; }
.stack-track { display: flex; width: max-content; animation: slide 44s linear infinite; }
.stack-track span { font-family: "Newsreader", serif; font-size: 1.14rem; color: var(--muted); padding: 22px 38px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 11vw, 160px) 0; }
.tint { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 72px; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.kicker { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; direction: inherit; }
.dark .kicker { color: rgba(243, 233, 210, .6); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.35; }
html[lang="en"] h2 { font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.section-note { color: var(--muted); font-size: 1.14rem; max-width: 46ch; }
.dark .section-note { color: rgba(243, 233, 210, .66); }

/* columns separated by hairlines */
.cells { display: grid; gap: 0 48px; }
.c2 { grid-template-columns: repeat(2, 1fr); } .c3 { grid-template-columns: repeat(3, 1fr); } .c4 { grid-template-columns: repeat(4, 1fr); } .c5 { grid-template-columns: repeat(5, 1fr); }
.cell { border-top: 1px solid var(--line); padding: 26px 0 52px; display: flex; flex-direction: column; align-items: flex-start; }
.cell .no, .step .big { font-family: "Newsreader", serif; font-size: 1rem; color: var(--muted); margin-bottom: 44px; direction: ltr; }
.cell h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.4; margin-bottom: 12px; }
html[lang="en"] .cell h3 { font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.cell h3.ltr { font-family: "Newsreader", serif; font-weight: 400; }
.cell p { color: var(--muted); font-size: 1.02rem; }
.cell .more { margin-top: auto; }
.cell p + .more { margin-top: 28px; }
a.cell { transition: border-color .25s; }
a.cell:hover { border-top-color: var(--ink); }
.icon { width: 34px; height: 34px; margin-bottom: 40px; color: var(--ink); stroke-width: 1.6; }
.section-foot { margin-top: 24px; display: flex; }

/* cases */
.case { border-top: 1px solid var(--line); padding: 30px 0 0; }
.case h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.4; margin-bottom: 28px; }
html[lang="en"] .case h3 { font-weight: 400; line-height: 1.15; }
.case dl { display: grid; gap: 18px; }
.case dt { font-size: .9rem; color: var(--muted); margin-bottom: 2px; }
.case dd { font-size: 1.04rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.stats b { display: block; font-family: "Newsreader", serif; font-weight: 400; font-size: clamp(3rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.03em; direction: ltr; width: fit-content; }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* about + team */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 72px; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.about-grid p { color: var(--muted); font-size: 1.14rem; max-width: 46ch; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.feats li { font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.c5 { gap: 36px 24px; }
.member .photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--paper-2); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1); transition: filter .5s, transform .7s; }
.member:hover .photo img { filter: none; transform: scale(1.03); }
.member .info { padding-top: 16px; }
.member h3 { font-family: var(--serif); font-weight: 500; font-size: 1.24rem; line-height: 1.4; }
html[lang="en"] .member h3, .member h3.ltr { font-family: "Newsreader", serif; font-weight: 400; }
.member .role { color: var(--muted); font-size: .94rem; margin-top: 2px; }
.tags { display: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.contact-list { margin-top: 44px; border-top: 1px solid var(--line-d); }
.contact-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.contact-list span { color: rgba(243, 233, 210, .6); font-size: .94rem; }
.contact-list a { font-family: "Newsreader", serif; font-size: 1.4rem; justify-self: start; }
.contact-list a:hover { opacity: .7; }
.form { display: grid; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form label { display: block; font-size: .92rem; color: rgba(243, 233, 210, .6); }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 0 12px; background: none; border: 0; border-bottom: 1px solid var(--line-d); color: var(--paper); border-radius: 0; font-size: 1.06rem; transition: border-color .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--paper); }
.form .btn { justify-self: start; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.form .btn:hover { background: transparent; color: var(--paper); }
.form-msg { font-size: .96rem; }
.form-msg.ok { color: #9ad9b0; } .form-msg.err { color: #f0a59a; }
.form-msg[hidden] { display: none; }

/* footer */
.footer { background: var(--ink); color: rgba(243, 233, 210, .66); border-top: 1px solid var(--line-d); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer .brand { color: var(--paper); margin-bottom: 18px; }
.footer p { font-size: .96rem; max-width: 40ch; }
.footer h4 { color: var(--paper); font-weight: 500; font-size: .96rem; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; font-size: .96rem; }
.footer a:hover { color: var(--paper); }
.footer-base { border-top: 1px solid var(--line-d); padding: 24px 0; font-size: .88rem; }

/* reveal */
.reveal-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .stack-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .brand { order: -1; }
  .burger { display: block; }
  .header-cta { display: none; }
  .nav { position: absolute; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 4px 24px 22px; display: none; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .c5 { grid-template-columns: repeat(3, 1fr); }
  .c4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section-head, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .c3 { grid-template-columns: repeat(2, 1fr); }
  .c2 { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 40px, var(--wrap)); }
  .header-row { height: 72px; gap: 8px; }
  .nav { inset: 72px 0 auto 0; }
  .c3, .c4 { grid-template-columns: 1fr; }
  .c5 { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .cell { padding: 22px 0 40px; }
  .cell .no, .step .big, .icon { margin-bottom: 26px; }
  .hero-grid { padding-block: 120px 50px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-sub { font-size: 1.04rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ================= inner pages ================= */
.nav a[aria-current="page"] { color: var(--muted); }

/* page hero: centred title block at the top of every inner page */
.page-hero { padding: clamp(150px, 17vw, 230px) 0 clamp(60px, 8vw, 110px); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.3; max-width: 18ch; }
html[lang="en"] .page-hero h1 { font-weight: 400; line-height: 1.06; letter-spacing: -.025em; }
.page-hero p.lead { margin-top: 26px; font-size: 1.16rem; color: var(--muted); max-width: 58ch; }
.page-hero .hero-actions { margin-top: 36px; }

/* long text */
.prose { max-width: 68ch; }
.prose p { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.1em; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 1.6em 0 .5em; }
.big-quote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.5; max-width: 26ch; }
html[lang="en"] .big-quote { font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }

/* two columns: sticky heading on one side, content on the other */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px 72px; align-items: start; }
.split > :first-child { position: sticky; top: 110px; }

/* rows: a list of items separated by hairlines (features, steps, plans) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr; gap: 12px 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.row > .no { font-family: "Newsreader", serif; color: var(--muted); direction: ltr; }
[dir="rtl"] .row > .no { text-align: right; }
.row h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.4; margin-bottom: 6px; }
html[lang="en"] .row h3 { font-weight: 400; line-height: 1.2; }
.row p { color: var(--muted); font-size: 1.02rem; max-width: 62ch; }
.row ul { margin-top: 12px; display: grid; gap: 6px; color: var(--muted); }
.checks li, .row ul li { position: relative; padding-inline-start: 22px; }
.checks li::before, .row ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 9px; height: 1.5px; background: var(--ink); }
.checks { display: grid; gap: 10px; color: var(--muted); font-size: 1.02rem; }

/* FAQ / accordion: <details class="qa"><summary>…</summary><div>…</div></details> */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.45; }
html[lang="en"] .qa summary { font-weight: 400; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: "DM Sans", sans-serif; font-size: 1.5rem; font-weight: 400; color: var(--muted); flex: none; transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa > div { padding: 0 0 28px; color: var(--muted); font-size: 1.05rem; max-width: 70ch; }

/* soft panels (plans, tiles) */
.tiles { display: grid; gap: 20px; }
.tile { background: var(--paper-2); border-radius: 18px; padding: 32px 30px 34px; display: flex; flex-direction: column; align-items: flex-start; }
.tint .tile { background: var(--paper); }
.tile h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.4; margin-bottom: 10px; }
html[lang="en"] .tile h3 { font-weight: 400; line-height: 1.2; }
.tile p { color: var(--muted); }
.tile .price { font-family: "Newsreader", serif; font-size: 2.6rem; line-height: 1.1; margin: 14px 0; direction: ltr; }
.tile .checks { margin: 18px 0 26px; }
.tile .btn, .tile .more { margin-top: auto; }
.tile.featured { background: var(--ink); color: var(--paper); }
.tile.featured p, .tile.featured .checks { color: rgba(243, 233, 210, .7); }
.tile.featured .checks li::before { background: var(--paper); }
.tile.featured .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.label { display: inline-block; font-size: .84rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.tile.featured .label { color: var(--paper); border-color: var(--line-d); }

/* project cards */
.project { display: flex; flex-direction: column; }
.project .shot { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); }
.project .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .7s; }
.project:hover .shot img { transform: scale(1.03); }
.project .body { padding: 20px 0 0; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.project .cat { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.project h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.4; margin-bottom: 8px; }
html[lang="en"] .project h3 { font-weight: 400; line-height: 1.2; }
.project p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.project .more { margin-top: auto; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 48px; }

/* big numbers row */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 34px; }
.figures b { display: block; font-family: "Newsreader", serif; font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.03em; direction: ltr; width: fit-content; }
.figures span { display: block; margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* closing call to action */
.cta-band { text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { margin-top: 18px; color: var(--muted); font-size: 1.14rem; max-width: 52ch; }
.dark.cta-band p { color: rgba(243, 233, 210, .66); }
.cta-band .btn { margin-top: 34px; }
.dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn:hover { background: transparent; color: var(--paper); }

/* forms on a light background: <form class="form light"> */
.form.light label { color: var(--muted); }
.form.light input, .form.light textarea, .form.light select { border-bottom-color: var(--line); color: var(--ink); }
.form select { display: block; width: 100%; margin-top: 6px; padding: 10px 0 12px; background: none; border: 0; border-bottom: 1px solid var(--line-d); border-radius: 0; font-size: 1.06rem; color: inherit; }
.form select option { color: #0a0a09; background: #f3e9d2; }
.form.light input:focus, .form.light textarea:focus, .form.light select:focus { border-bottom-color: var(--ink); outline: 0; }
.form.light .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form.light .btn:hover { background: transparent; color: var(--ink); }
.form.light .form-msg.ok { color: #1f7a45; }
.form.light .form-msg.err { color: #b3372a; }
.info-list { border-top: 1px solid var(--line); margin-top: 36px; }
.info-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info-list span { color: var(--muted); font-size: .94rem; }
.info-list a, .info-list b { font-family: "Newsreader", var(--serif); font-weight: 400; font-size: 1.3rem; justify-self: start; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > :first-child { position: static; }
  .projects-grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .qa summary { font-size: 1.2rem; padding: 20px 0; }
  .info-list li { grid-template-columns: 1fr; gap: 2px; }
  .tile { padding: 26px 22px 28px; }
}

/* ================= flow: connected cards diagram (home) ================= */
.flow { background: #0a0a09; color: #f3e9d2; padding: clamp(84px, 10vw, 150px) 0; position: relative; overflow: hidden; isolation: isolate; }
.flow::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    linear-gradient(60deg, transparent 49.4%, rgba(255, 255, 255, .05) 49.6%, rgba(255, 255, 255, .05) 50.4%, transparent 50.6%) 0 0 / 84px 146px,
    linear-gradient(-60deg, transparent 49.4%, rgba(255, 255, 255, .05) 49.6%, rgba(255, 255, 255, .05) 50.4%, transparent 50.6%) 0 0 / 84px 146px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%); }
.flow-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(44px, 6vw, 80px); }
.flow-head .kicker { color: rgba(243, 233, 210, .55); }
.flow-head h2 { max-width: 20ch; }

.flow-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.flow-lines path { fill: none; stroke: rgba(243, 233, 210, .55); stroke-width: 1.4; stroke-dasharray: 5 7; animation: dash 1.4s linear infinite; }
.flow-lines path.solid { stroke-dasharray: none; animation: none; stroke: rgba(243, 233, 210, .9); stroke-width: 1.8; }
.flow-lines circle { fill: #fff; filter: drop-shadow(0 0 6px rgba(243, 233, 210, .9)); }
@keyframes dash { to { stroke-dashoffset: -24; } }

.flow-card { position: relative; z-index: 1; display: block; background: #111110; border: 1px solid rgba(243, 233, 210, .26); border-radius: 22px; padding: 30px 28px; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; overflow: hidden; }
.flow-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 233, 210, .22), rgba(243, 233, 210, .08) 40%, transparent 65%); }
.flow-card:hover { border-color: rgba(243, 233, 210, .7); transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.flow-card:hover::before { opacity: 1; }
.flow-card > * { position: relative; }
.flow-card h3 { font-family: var(--body); font-weight: 600; font-size: 1.24rem; line-height: 1.5; margin-bottom: 8px; }
.flow-card p { color: rgba(243, 233, 210, .68); font-size: .98rem; }

/* the "start here" card */
.flow-idea { border: 2px solid #f3e9d2; padding: 34px 32px 30px; }
.flow-bubble { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #f3e9d2; color: #0a0a09; margin-bottom: 26px; animation: bob 5s ease-in-out infinite; }
.flow-bubble svg { width: 44px; height: 44px; }
.flow-idea h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.flow-idea p { font-size: 1.06rem; color: rgba(243, 233, 210, .8); }
.flow-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .92rem; color: rgba(243, 233, 210, .6); transition: color .2s; }
.flow-idea:hover .flow-hint { color: #fff; }

/* centre card */
.flow-core { text-align: center; padding: 34px clamp(22px, 3vw, 44px) 40px; display: flex; flex-direction: column; align-items: center; }
.flow-tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(243, 233, 210, .28); border-radius: 999px; padding: 8px 18px; font-size: .88rem; font-weight: 500; }
.flow-tag i { width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgba(126, 226, 168, .6); animation: ping 2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(126, 226, 168, 0); } }

.orb { position: relative; width: 190px; height: 190px; margin: 34px 0 20px; display: grid; place-items: center; animation: bob 6s ease-in-out infinite; }
.orb::before { content: ""; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 233, 210, .5), rgba(243, 233, 210, .18) 55%, transparent 75%); filter: blur(10px); animation: glow 4s ease-in-out infinite; }
.orb-ring { position: absolute; inset: 10px; border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; border: 1.5px dashed rgba(243, 233, 210, .5); animation: spin 18s linear infinite; }
.orb-ring.r2 { inset: 0; border-style: solid; border-color: rgba(243, 233, 210, .16); border-radius: 55% 45% 48% 52% / 46% 54% 46% 54%; animation: spin 26s linear infinite reverse; }
.orb-body { position: relative; width: 112px; height: 112px; border-radius: 34px; display: grid; place-items: center; background: #f3e9d2; box-shadow: 0 0 50px rgba(243, 233, 210, .55), inset 0 -8px 18px rgba(0, 0, 0, .12); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.orb-body img { width: 78px; height: 78px; border-radius: 20px; }
.flow-core:hover .orb-body { transform: scale(1.08) rotate(-6deg); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes glow { 50% { opacity: .55; transform: scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }

.flow-core .flow-name { font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: 2px; text-align: center; }
.flow-sub { font-size: .95rem; }
.flow-label { margin-top: 26px; font-size: .88rem; color: rgba(243, 233, 210, .5) !important; }
.flow-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.flow-pills li { border: 1px solid rgba(243, 233, 210, .32); border-radius: 999px; padding: 7px 16px; font-size: .92rem; font-weight: 500; transition: background .25s, color .25s, transform .25s; cursor: default; }
.flow-pills li:hover { background: #f3e9d2; color: #0a0a09; transform: translateY(-2px); }

/* side cards */
.flow-side { display: grid; gap: 24px; position: relative; z-index: 1; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
[dir="rtl"] .flow-chips { justify-content: flex-end; }
.flow-chips li { font-family: "DM Sans", sans-serif; font-size: .86rem; font-weight: 500; background: rgba(243, 233, 210, .08); border-radius: 8px; padding: 6px 11px; transition: background .25s, color .25s; }
.flow-chips li:hover { background: #f3e9d2; color: #0a0a09; }
.flow-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 18px; }
.flow-tiles li { background: #f3e9d2; color: #0a0a09; border-radius: 14px; padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .74rem; font-weight: 600; line-height: 1.35; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.flow-tiles li:hover { transform: translateY(-4px) scale(1.04); }
.flow-tiles svg { width: 28px; height: 28px; }
.flow-more { display: inline-block; margin-top: 18px; border: 1px dashed rgba(243, 233, 210, .4); border-radius: 999px; padding: 7px 16px; font-size: .86rem; color: rgba(243, 233, 210, .8); }

/* entrance */
.reveal-on .flow-board .flow-card { opacity: 0; transition: opacity .8s ease, border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.reveal-on .flow-board.in .flow-card { opacity: 1; }
.reveal-on .flow-board.in .flow-core { transition-delay: .15s; }
.reveal-on .flow-board.in .flow-side .flow-card { transition-delay: .3s; }
.reveal-on .flow-board .flow-lines { opacity: 0; transition: opacity 1s ease .5s; }
.reveal-on .flow-board.in .flow-lines { opacity: 1; }

@media (max-width: 1080px) {
  .flow-board { grid-template-columns: 1fr; gap: 56px; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .flow-card { padding: 24px 20px; }
  .orb { width: 160px; height: 160px; }
  .flow-tiles li { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-lines path, .orb, .orb::before, .orb-ring, .flow-bubble, .flow-tag i { animation: none; }
  .flow-lines circle { display: none; }
}

/* ================= theme v5: bold sans, narrow column, cards, mascot ================= */
:root { --serif: var(--body); --wrap: 1080px; }
html[lang] :is(h1, h2, h3, .qa summary, .big-quote, .case h3, .member h3, .cell h3, .row h3, .tile h3, .project h3) { font-family: var(--body); font-weight: 700; letter-spacing: -.01em; }
html[lang="ar"] :is(h1, h2, h3, .qa summary, .big-quote) { letter-spacing: 0; }
:is(.stack-track span, .cell .no, .step .big, .row > .no, .stats b, .figures b, .tile .price, .contact-list a, .info-list a, .info-list b) { font-family: "DM Sans", var(--body); }
.stats b, .figures b { font-weight: 700; }

body { background-color: var(--paper);
  background-image:
    linear-gradient(60deg, transparent 49.5%, rgba(10, 10, 9, .035) 49.7%, rgba(10, 10, 9, .035) 50.3%, transparent 50.5%),
    linear-gradient(-60deg, transparent 49.5%, rgba(10, 10, 9, .035) 49.7%, rgba(10, 10, 9, .035) 50.3%, transparent 50.5%);
  background-size: 96px 166px; background-attachment: fixed; }
.tint { background: transparent; border-block: 1px solid var(--line); }

/* header: logo at the start, links in the middle */
.header-row { grid-template-columns: auto 1fr auto; height: 76px; }
.brand { order: -1; }
.nav { justify-content: center; gap: 20px; }
.nav a { font-size: .92rem; font-weight: 500; }

/* buttons: solid, slightly rounded */
.btn, .lang-btn { border-radius: 10px; padding: 12px 20px; font-weight: 600; background: #fff; }
.btn-grad, .btn-dark { background: var(--ink); }
.btn-lg { padding: 15px 26px; }
.lang-btn { padding: 12px 16px; }
.dark .btn { background: var(--paper); }
.form .btn { background: var(--paper); }
.form.light .btn { background: var(--ink); }

/* type scale */
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.4; }
html[lang="en"] h2 { line-height: 1.2; }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-head, .about-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
.kicker { margin-bottom: 12px; }
.section-note, .about-grid p { font-size: 1.06rem; max-width: 62ch; }

/* hero: text + illustration */
.hero { min-height: 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; text-align: start; padding-block: 140px 70px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.badge { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: 26px; }
.hero h1, html[lang="en"] .hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.32; max-width: 16ch; font-weight: 700; }
html[lang="en"] .hero h1 { line-height: 1.12; letter-spacing: -.03em; }
.hero-sub { margin-top: 20px; font-size: 1.12rem; }
.hero-actions { justify-content: flex-start; margin-top: 30px; }
.hero-art { position: relative; aspect-ratio: 1 / .92; direction: ltr; }
.hero-art svg.iso { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; overflow: visible; }
.iso .cube path { fill: #fff; stroke: #b39c7c; stroke-width: 1; stroke-linejoin: round; }
.iso .cube path.side { fill: #eee3ca; }
.iso .cube path.front { fill: #e4d4ba; }
.iso .cube { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.iso .cube.press { animation: press 4.5s ease-in-out infinite; }
.iso .base { fill: none; stroke: #b39c7c; stroke-width: 1; }
@keyframes press { 0%, 86%, 100% { transform: translateY(0); } 92% { transform: translateY(6px); } }

/* mascot */
.mascot { position: absolute; left: 50%; top: 4%; width: 36%; translate: -50% 0; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 26px 22px rgba(10, 10, 9, .22)); cursor: pointer; }
.mascot svg { display: block; width: 100%; height: auto; overflow: visible; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mascot:hover svg { transform: rotate(-8deg) scale(1.06); }
.m-body { fill: #0a0a09; }
.m-shine { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 3; stroke-linecap: round; }
.m-eyes { transition: transform .15s ease-out; }
.m-eye { fill: #fff; transform-box: fill-box; transform-origin: 50% 50%; animation: blink 5.5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.orb-body { background: none; box-shadow: none; width: 124px; height: 124px; filter: drop-shadow(0 0 26px rgba(243, 233, 210, .65)); }
.orb-body svg { width: 100%; height: auto; overflow: visible; }
.orb-body .m-body { fill: #f3e9d2; }
.orb-body .m-eye { fill: #0a0a09; }
.orb-body .m-shine { stroke: rgba(10, 10, 9, .1); }

/* columns become cards */
.cells { gap: 16px; }
.cell, .case { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 28px; transition: border-color .25s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.cell:hover, .case:hover { border-color: rgba(10, 10, 9, .5); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 10, 9, .08); }
a.cell:hover { border-top-color: rgba(10, 10, 9, .5); }
.cell .no, .step .big { margin-bottom: 22px; font-weight: 500; }
.icon { margin-bottom: 22px; }
.cell h3 { font-size: 1.22rem; line-height: 1.5; margin-bottom: 8px; }
.cell p { font-size: .98rem; }
.case h3 { font-size: 1.4rem; }
.stats b { font-size: clamp(2.4rem, 4vw, 3.2rem); }
.c5 { gap: 20px 16px; }
.member h3 { font-size: 1.08rem; }
.tile { border: 1px solid var(--line); background: #fff; }
.tile.featured { background: var(--ink); }
.rows, .row, .qa { background: transparent; }

/* inner page hero */
.page-hero { padding: clamp(130px, 14vw, 180px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1, html[lang="en"] .page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.35; font-weight: 700; }
html[lang="en"] .page-hero h1 { line-height: 1.12; }

.flow-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.contact-list a, .info-list a, .info-list b { font-size: 1.16rem; font-weight: 600; }

@media (max-width: 1180px) {
  .nav { justify-content: flex-start; }
  .header-actions { grid-column: 3; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 120px 40px; }
  .hero-art { max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot, .m-eye, .iso .cube.press { animation: none; }
}
.flow .wrap { width: min(100% - 48px, 1260px); }
.hero-art { max-width: 460px; width: 100%; justify-self: center; }

/* ================= theme v6: stryonlab's own identity + more motion ================= */
/* page texture: dot grid instead of line pattern */
body { background-image: radial-gradient(rgba(10, 10, 9, .075) 1px, transparent 1.2px); background-size: 22px 22px; }

/* brand accents */
.kicker .ltr, .cell .no, .step .big, .row > .no { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; width: fit-content; }
.btn-grad, .btn-dark { position: relative; overflow: hidden; border-color: transparent; background: var(--ink); isolation: isolate; }
.btn-grad::before, .btn-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s; }
.btn-grad:hover, .btn-dark:hover { background: var(--ink); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(243, 233, 210, .35); }
.btn-grad:hover::before, .btn-dark:hover::before { opacity: 1; }
.btn { transition: background .2s, color .2s, border-color .2s, transform .25s, box-shadow .25s; }
.header-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* hero: drifting colour, word-by-word headline, orbit illustration */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .22; animation: drift 16s ease-in-out infinite alternate; }
.hero::before { background: #0a0a09; inset-inline-start: -160px; top: -120px; }
.hero::after { background: #3d3a30; inset-inline-end: -140px; top: 180px; animation-duration: 20s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 70px) scale(1.15); } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .22s; } .hero-copy > :nth-child(4) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.hero-art { container-type: inline-size; aspect-ratio: 1; max-width: 480px; }
.orbit { position: absolute; top: 50%; left: 50%; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%; border: 1.5px dashed rgba(10, 10, 9, .2); animation: spin var(--t) linear infinite; }
.orbit.o1 { --r: 24cqw; --t: 26s; }
.orbit.o2 { --r: 36cqw; --t: 38s; animation-direction: reverse; border-style: solid; border-color: rgba(10, 10, 9, .1); }
.orbit.o3 { --r: 48cqw; --t: 54s; }
.sat { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.sat b { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font: 600 .82rem "DM Sans", sans-serif; box-shadow: 0 8px 20px rgba(10, 10, 9, .08); animation: spin var(--t) linear infinite reverse; }
.orbit.o2 .sat b { animation-direction: normal; }
.sat b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.sat.dot b { padding: 0; width: 12px; height: 12px; border: 0; background: var(--grad); box-shadow: 0 0 0 5px rgba(243, 233, 210, .14); }
.sat.dot b::before { display: none; }
.mascot { top: 50%; width: 30%; translate: -50% -50%; filter: drop-shadow(0 22px 24px rgba(243, 233, 210, .38)); }
.mascot::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; border: 2px solid rgba(243, 233, 210, .35); animation: pulse 3s ease-out infinite; }
@keyframes pulse { from { transform: scale(.75); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.mascot .m-body { fill: url(#mascotGrad); }
.mascot .m-shine { stroke: rgba(255, 255, 255, .45); }

/* tech strip: brand-coloured separators */
.stack-track span { position: relative; font-weight: 500; }
.stack-track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--grad); opacity: .7; }

/* flow section: deep brand night instead of black */
.flow { background: linear-gradient(160deg, #0a0a09 0%, #141412 55%, #0a0a09 100%); }
.flow::before { background: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.3px) 0 0 / 26px 26px; opacity: 1; }
.flow::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; top: 46%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 233, 210, .35), transparent 70%); animation: glow 6s ease-in-out infinite; }
.flow-lines path { stroke: #d6c8a4; }
.flow-lines path.solid { stroke: #f3e9d2; }
.flow-lines circle { filter: drop-shadow(0 0 7px #f3e9d2); }
.flow-card { background: rgba(255, 255, 255, .045); border-color: rgba(243, 233, 210, .3); backdrop-filter: blur(6px); }
.flow-card:hover { border-color: #d6c8a4; }
.flow-idea { border: 2px solid transparent; background: linear-gradient(#111110, #111110) padding-box, var(--grad) border-box; }
.flow-idea:hover { border-color: transparent; }
.flow-bubble { background: var(--grad); color: #fff; box-shadow: 0 0 34px rgba(243, 233, 210, .45); }
.flow-pills li { border-color: rgba(243, 233, 210, .45); }
.flow-pills li:hover { background: var(--grad); color: #fff; border-color: transparent; }
.flow-tiles li { background: rgba(255, 255, 255, .08); color: #f3e9d2; border: 1px solid rgba(243, 233, 210, .25); }
.flow-tiles li:hover { background: var(--grad); border-color: transparent; }
.flow-chips li:hover { background: var(--grad); color: #fff; }
.flow-tag { border-color: rgba(243, 233, 210, .4); }

/* cards: gradient edge on hover, staggered entrance, tilt */
.cell, .case, .tile { position: relative; transform-style: preserve-3d; will-change: transform; }
.cell::after, .case::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cell:hover::after, .case:hover::after { opacity: 1; }
.cell:hover, .case:hover { border-color: transparent; box-shadow: 0 22px 44px rgba(243, 233, 210, .14); }
.cell .icon { transition: transform .45s cubic-bezier(.2, .7, .2, 1), color .3s; }
.cell:hover .icon { transform: translateY(-4px) scale(1.12) rotate(-6deg); color: var(--violet); }
.reveal-on .cells.reveal.in > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.reveal-on .cells.reveal.in > :nth-child(2) { animation-delay: .08s; } .reveal-on .cells.reveal.in > :nth-child(3) { animation-delay: .16s; }
.reveal-on .cells.reveal.in > :nth-child(4) { animation-delay: .24s; } .reveal-on .cells.reveal.in > :nth-child(5) { animation-delay: .32s; }
.reveal-on .cells.reveal.in > :nth-child(6) { animation-delay: .4s; }

/* process: a light runs along the steps */
#process .cells { position: relative; padding-top: 22px; }
#process .cells::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--line) 0 40%, #0a0a09 48%, #3d3a30 52%, var(--line) 60% 100%) 0 0 / 250% 100%; animation: run 4s linear infinite; }
[dir="rtl"] #process .cells::before { animation-direction: reverse; }
@keyframes run { from { background-position: 100% 0; } to { background-position: -66% 0; } }

/* team photos + stats */
.member .photo { position: relative; }
.member .photo::after { content: ""; position: absolute; inset: 0; background: var(--grad); mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s; }
.member:hover .photo::after { opacity: .5; }
.stats b, .figures b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* contact + footer keep the same night colour as the flow section */
.dark, .footer { background: #0a0a09; }
.dark.cta-band { background: linear-gradient(160deg, #0a0a09, #141412); }

@media (max-width: 900px) { .hero-art { max-width: 340px; } .sat b { font-size: .72rem; padding: 5px 10px; } }
@media (prefers-reduced-motion: reduce) {
  .orbit, .sat b, .hero::before, .hero::after, .hero-copy > *, .mascot::before, .header-cta::after, #process .cells::before, .flow::after, .reveal-on .cells.reveal.in > * { animation: none; }
}

/* ================= v7: floating header, self-playing process demo, scroll word reveal ================= */
/* floating header */
.site-header, .site-header.scrolled, .site-header.open { top: 14px; background: none; border-bottom-color: transparent; backdrop-filter: none; }
.header-row { position: relative; height: 64px; padding-inline: 18px; background: rgba(250, 243, 231, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, background .3s; }
.site-header.scrolled .header-row, .site-header.open .header-row { background: rgba(250, 243, 231, .94); box-shadow: 0 14px 40px rgba(10, 10, 9, .1); }
.header-cta { padding: 10px 16px; }
.lang-btn { padding: 10px 14px; }
@media (max-width: 1180px) {
  .nav { inset: calc(100% + 8px) 0 auto 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(250, 243, 231, .98); box-shadow: 0 20px 50px rgba(10, 10, 9, .14); padding: 6px 20px 12px; }
}
@media (max-width: 640px) { .header-row { height: 58px; padding-inline: 12px; } .nav { inset: calc(100% + 8px) 0 auto 0; } }

/* process demo */
#process .cells::before { display: none; }
.demo { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(10, 10, 9, .07); }
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
[dir="rtl"] .demo-tabs { direction: rtl; }
.demo-tab { position: relative; display: flex; align-items: center; gap: 10px; padding: 18px 20px 20px; background: none; border: 0; border-inline-end: 1px solid var(--line); cursor: pointer; font: 600 .95rem "DM Sans", sans-serif; color: var(--muted); text-align: start; transition: color .25s, background .25s; direction: ltr; }
.demo-tab:last-child { border-inline-end: 0; }
.demo-tab span { font-size: .78rem; opacity: .7; }
.demo-tab:hover { color: var(--ink); background: rgba(243, 233, 210, .05); }
.demo-tab.on { color: var(--ink); }
.demo-tab i { position: absolute; inset: auto 0 0 0; height: 3px; background: var(--line); overflow: hidden; }
.demo-tab i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.demo-tab.done i::after { transform: scaleX(1); }
.demo-tab.on i::after { animation: fill 5s linear forwards; animation-play-state: paused; }
.demo.play .demo-tab.on i::after { animation-play-state: running; }
.demo.play:hover .demo-tab.on i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.demo-body { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 380px; }
.demo-text { position: relative; padding: clamp(26px, 4vw, 48px); display: grid; align-content: center; }
.demo-pane { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; pointer-events: none; }
.demo-pane.on { opacity: 1; transform: none; pointer-events: auto; }
.demo-pane h3 { font-family: "DM Sans", var(--body); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; margin-bottom: 14px; }
[dir="rtl"] .demo-pane h3.ltr { text-align: right; }
.demo-pane p { color: var(--muted); font-size: 1.08rem; max-width: 42ch; }
.demo-stage { position: relative; background: radial-gradient(rgba(10, 10, 9, .09) 1px, transparent 1.2px) 0 0 / 18px 18px, #eee3ca; border-inline-start: 1px solid var(--line); display: grid; place-items: center; padding: 28px; overflow: hidden; }
[dir="rtl"] .demo-stage { border-inline-start: 0; border-right: 1px solid var(--line); }
.sc { grid-area: 1 / 1; width: min(100%, 420px); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.sc.on { opacity: 1; transform: none; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px rgba(10, 10, 9, .12); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 500 .74rem "DM Sans", sans-serif; color: var(--muted); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9c9ae; }
.win-bar span { margin-left: 8px; }
.dark-win { background: #111110; border-color: #2b2a25; }
.dark-win .win-bar { border-color: #2b2a25; color: #a9a08a; }
.dark-win .win-bar i { background: #3a3932; }

.ticks { padding: 22px 20px 26px; display: grid; gap: 16px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li i { position: relative; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #cdb999; flex: none; }
.ticks li i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.ticks li span { height: 9px; border-radius: 5px; background: #e2d3bb; }
.sc.on .ticks li i { animation: tick .4s forwards; }
.sc.on .ticks li i::after { animation: show .2s forwards; }
.sc.on .ticks li span { animation: ink .4s forwards; }
.sc.on .ticks li:nth-child(1) :is(i, i::after, span) { animation-delay: .5s; }
.sc.on .ticks li:nth-child(2) :is(i, span) { animation-delay: 1.3s; } .sc.on .ticks li:nth-child(2) i::after { animation-delay: 1.3s; }
.sc.on .ticks li:nth-child(3) :is(i, span) { animation-delay: 2.1s; } .sc.on .ticks li:nth-child(3) i::after { animation-delay: 2.1s; }
.sc.on .ticks li:nth-child(4) :is(i, span) { animation-delay: 2.9s; } .sc.on .ticks li:nth-child(4) i::after { animation-delay: 2.9s; }
.sc.on .ticks li:nth-child(1) i::after { animation-delay: .5s; }
@keyframes tick { to { background: #3d3a30; border-color: #3d3a30; } }
@keyframes show { to { opacity: 1; } }
@keyframes ink { to { background: #b39c7c; } }

.wire { position: relative; padding: 16px; display: grid; gap: 12px; }
.wire > div, .w-cards i, .w-hero span, .w-hero b { border-radius: 8px; background: #e9dcc6; transition: none; }
.w-nav { height: 16px; width: 100%; }
.w-hero { padding: 18px 16px; display: grid; gap: 9px; justify-items: start; }
.w-hero span { height: 10px; width: 70%; background: #d6c4a8; }
.w-hero span + span { width: 46%; }
.w-hero b { height: 22px; width: 84px; margin-top: 6px; background: #d6c4a8; }
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: none !important; }
.w-cards i { height: 54px; }
.sc.on .w-nav { animation: paintInk .5s .5s forwards; }
.sc.on .w-hero { animation: paintSoft .5s 1.1s forwards; }
.sc.on .w-hero b { animation: paintGrad .5s 1.7s forwards; }
.sc.on .w-cards i { animation: paintCard .5s forwards; }
.sc.on .w-cards i:nth-child(1) { animation-delay: 2.2s; } .sc.on .w-cards i:nth-child(2) { animation-delay: 2.6s; } .sc.on .w-cards i:nth-child(3) { animation-delay: 3s; }
@keyframes paintInk { to { background: #0a0a09; } }
@keyframes paintSoft { to { background: #f3e2c9; } }
@keyframes paintGrad { to { background: #3d3a30; } }
@keyframes paintCard { to { background: #f0d9b8; box-shadow: inset 0 0 0 1.5px #0a0a09; } }
.cursor { position: absolute; left: 8%; top: 14%; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: #0a0a09; transform: rotate(-90deg); box-shadow: 0 0 0 3px #fff; opacity: 0; }
.sc.on .cursor { animation: cursor 3.4s .3s ease-in-out forwards; }
@keyframes cursor { 0% { opacity: 1; left: 8%; top: 14%; } 30% { left: 30%; top: 48%; } 55% { left: 16%; top: 80%; } 80% { left: 52%; top: 82%; } 100% { opacity: 1; left: 84%; top: 82%; } }

.lines { padding: 20px 18px 24px; display: grid; gap: 12px; }
.lines span { height: 9px; border-radius: 5px; background: var(--c); width: 0; opacity: .9; }
.sc.on .lines span { animation: type .6s steps(14) forwards; }
.sc.on .lines span:nth-child(1) { animation-delay: .3s; } .sc.on .lines span:nth-child(2) { animation-delay: .8s; } .sc.on .lines span:nth-child(3) { animation-delay: 1.3s; }
.sc.on .lines span:nth-child(4) { animation-delay: 1.8s; } .sc.on .lines span:nth-child(5) { animation-delay: 2.3s; } .sc.on .lines span:nth-child(6) { animation-delay: 2.8s; }
.sc.on .lines span:nth-child(7) { animation-delay: 3.3s; }
.lines span:nth-child(n+2):nth-child(-n+6) { margin-left: 18px; }
@keyframes type { to { width: var(--w); } }

.url { background: #eee3ca; border-radius: 999px; padding: 3px 12px; }
.live { margin-left: auto; font-style: normal; font-weight: 600; color: #1f7a45; display: inline-flex; align-items: center; gap: 6px; opacity: 0; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fb36a; animation: ping 2s ease-out infinite; }
.sc.on .live { animation: show .4s 2.6s forwards; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding: 22px 20px 20px; }
.chart i { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #3d3a30, #0a0a09); }
.sc.on .chart i { animation: grow .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.sc.on .chart i:nth-child(1) { animation-delay: .4s; } .sc.on .chart i:nth-child(2) { animation-delay: .6s; } .sc.on .chart i:nth-child(3) { animation-delay: .8s; }
.sc.on .chart i:nth-child(4) { animation-delay: 1s; } .sc.on .chart i:nth-child(5) { animation-delay: 1.2s; } .sc.on .chart i:nth-child(6) { animation-delay: 1.4s; }
.sc.on .chart i:nth-child(7) { animation-delay: 1.6s; }
@keyframes grow { to { height: var(--h); } }

/* scroll word reveal */
.about-grid p.words { color: var(--ink); font-weight: 600; font-size: clamp(1.4rem, 2.7vw, 2.1rem); line-height: 1.6; max-width: 34ch; }
html[lang="en"] .about-grid p.words { line-height: 1.35; letter-spacing: -.01em; }
.words span { opacity: .16; transition: opacity .35s; }
.words span.lit { opacity: 1; }

@media (max-width: 900px) {
  .demo-body { grid-template-columns: 1fr; min-height: 0; }
  .demo-stage, [dir="rtl"] .demo-stage { border: 0; border-top: 1px solid var(--line); min-height: 300px; }
  .demo-tab { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 10px 14px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc *, .demo-tab i::after { animation-duration: .01s !important; animation-delay: 0s !important; }
  .words span { opacity: 1; }
}

/* ================= v8: warm surfaces for the burnt brown + beige palette ================= */
.cell, .case, .tile, .demo, .win, .badge, .sat b, .btn, .lang-btn { background-color: #fbf5ea; }
.btn-grad, .btn-dark, .form.light .btn { background-color: var(--ink); }
.dark .btn, .form .btn { background-color: var(--paper); }
.form.light .btn { background-color: var(--ink); }
.tile.featured { background-color: var(--ink); }
.dark-win { background-color: #111110; }
.sat.dot b { background: var(--grad); }
.grad-text { background: linear-gradient(90deg, #0a0a09, #3d3a30); -webkit-background-clip: text; background-clip: text; }
.flow .grad-text, .dark .grad-text { background: linear-gradient(90deg, #f3e9d2, #d6c8a4); -webkit-background-clip: text; background-clip: text; }
.brand b { background: none; color: #3d3a30; -webkit-text-fill-color: currentColor; }
.footer .brand b, .flow .brand b { color: #d6c8a4; }
.orb-body .m-body { fill: #f3e9d2; }
.orb-body .m-eye { fill: #0a0a09; }
.flow-tag i, .live::before { background: #d6c8a4; }

/* ================= v9: black + cream, heavier corporate tech look ================= */
:root {
  --paper: #0a0a09; --paper-2: #121210; --card: #111110;
  --ink: #f3e9d2; --muted: rgba(243, 233, 210, .62);
  --line: rgba(243, 233, 210, .16); --line-d: rgba(243, 233, 210, .16);
  --grad: linear-gradient(90deg, #f3e9d2, #cdbd97);
  --violet: #f3e9d2; --blue: #f3e9d2;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
/* cream blocks: same components, inverted */
.tint, .demo-stage, .page-hero {
  --paper: #f3e9d2; --paper-2: #eadfc5; --card: #f8f0dd;
  --ink: #0a0a09; --muted: rgba(10, 10, 9, .64);
  --line: rgba(10, 10, 9, .17);
  --grad: linear-gradient(90deg, #0a0a09, #4a463a);
  --violet: #0a0a09; --blue: #0a0a09;
}
body { color: var(--ink); background-color: var(--paper);
  background-image: linear-gradient(rgba(243, 233, 210, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 233, 210, .045) 1px, transparent 1px);
  background-size: 64px 64px; background-attachment: scroll; }
.tint, .page-hero { background: var(--paper) radial-gradient(rgba(10, 10, 9, .1) 1px, transparent 1.2px) 0 0 / 22px 22px; color: var(--ink); border-block: 0; }
.dark, .footer, .dark.cta-band { background: #0a0a09; border-top: 1px solid var(--line); }
.footer { color: rgba(243, 233, 210, .62); }
::selection { background: #f3e9d2; color: #0a0a09; }

/* type: bigger, tighter, mono labels */
h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); line-height: 1.3; }
html[lang="en"] h2 { line-height: 1.08; letter-spacing: -.03em; }
.kicker, .badge, .flow-label, .demo-tab, .cell .no, .step .big, .row > .no, .project .cat, .label, .case dt { font-family: var(--mono), var(--body); }
.kicker { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); gap: 10px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .88rem; }
.kicker .ltr, .cell .no, .step .big, .row > .no { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); -webkit-text-fill-color: currentColor; font-weight: 500; }
.kicker .ltr { border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head, .about-grid { grid-template-columns: 1.1fr .9fr; gap: 16px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-note, .about-grid p { font-size: 1.1rem; color: var(--muted); }
.grad-text, .flow .grad-text, .dark .grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #0a0a09; -webkit-text-fill-color: #0a0a09; background-color: #f3e9d2; padding: 0 .22em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tint .grad-text, .page-hero .grad-text { background-color: #0a0a09; color: #f3e9d2; -webkit-text-fill-color: #f3e9d2; }

/* header */
.header-row { background: rgba(14, 14, 13, .72); border-color: var(--line); border-radius: 12px; }
.site-header.scrolled .header-row, .site-header.open .header-row { background: rgba(14, 14, 13, .94); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.nav a { color: rgba(243, 233, 210, .78); }
.nav a:hover, .nav a[aria-current="page"] { color: #f3e9d2; }
.brand { color: #f3e9d2; }
.brand b, .footer .brand b, .flow .brand b { color: rgba(243, 233, 210, .55); background: none; -webkit-text-fill-color: currentColor; }
.brand img { border-radius: 8px; }
.burger span { background: #f3e9d2; }
@media (max-width: 1180px) { .nav { background: rgba(14, 14, 13, .98); border-color: var(--line); } .nav a { border-bottom-color: var(--line); } }

/* buttons: sharp, cream on black */
.btn, .lang-btn { border-radius: 6px; background-color: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn:hover, .lang-btn:hover { background-color: var(--ink); color: var(--paper); border-color: var(--ink); transform: none; box-shadow: none; }
.btn-grad, .btn-dark, .form.light .btn, .form .btn, .dark .btn { background-color: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-grad::before, .btn-dark::before { display: none; }
.btn-grad:hover, .btn-dark:hover, .form .btn:hover, .dark .btn:hover, .form.light .btn:hover { background-color: transparent; color: var(--ink); border-color: var(--ink); transform: none; box-shadow: none; }
.header-cta::after { background: linear-gradient(110deg, transparent 35%, rgba(10, 10, 9, .25) 50%, transparent 65%); }
.more { border-bottom-color: var(--line); }

/* hero */
.hero { background: #0a0a09; }
.hero::before { background: #f3e9d2; opacity: .07; }
.hero::after { background: #f3e9d2; opacity: .05; }
.hero-grid { padding-block: 150px 60px; grid-template-columns: 1.2fr .8fr; }
.hero h1, html[lang="en"] .hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); line-height: 1.28; max-width: 15ch; }
html[lang="en"] .hero h1 { line-height: 1.06; letter-spacing: -.04em; }
.hero-sub { color: var(--muted); font-size: 1.16rem; max-width: 50ch; }
.badge { background: transparent; border-color: var(--line); color: var(--ink); border-radius: 4px; font-size: .82rem; }
.badge i { background: #f3e9d2; box-shadow: 0 0 0 4px rgba(243, 233, 210, .16); }
.orbit { border-color: rgba(243, 233, 210, .22); }
.orbit.o2 { border-color: rgba(243, 233, 210, .1); }
.sat b { background: #0a0a09; color: #f3e9d2; border-color: rgba(243, 233, 210, .3); border-radius: 4px; font-family: var(--mono); font-weight: 500; box-shadow: none; }
.sat b::before { background: #f3e9d2; border-radius: 0; width: 6px; height: 6px; }
.sat.dot b { background: #f3e9d2; box-shadow: 0 0 0 5px rgba(243, 233, 210, .12); }
.mascot { width: 28%; filter: drop-shadow(0 0 40px rgba(243, 233, 210, .28)); cursor: default; }
.mascot img { display: block; width: 100%; height: auto; border-radius: 24%; }
.mascot::before { border-color: rgba(243, 233, 210, .35); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero-stats > div { padding: 26px 0 30px; padding-inline-end: 20px; border-inline-end: 1px solid var(--line); padding-inline-start: 24px; }
.hero-stats > div:first-child { padding-inline-start: 0; }
.hero-stats > div:last-child { border-inline-end: 0; }
.hero-stats b { display: block; font: 700 clamp(1.9rem, 3.4vw, 2.9rem)/1.1 "DM Sans", var(--body); letter-spacing: -.03em; direction: ltr; width: fit-content; }
.hero-stats span { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }
.stack { border-color: var(--line); }
.stack-track span { color: var(--muted); font-family: var(--mono); font-size: .92rem; }
.stack-track span::after { background: #f3e9d2; border-radius: 0; opacity: .5; }

/* cards: hairline panels that invert on hover */
.cells { gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); gap: 1px; }
.cell, .case, .tile, .demo, .win { background-color: var(--card); }
.cell, .case { border: 0; border-radius: 0; padding: 32px 28px 34px; box-shadow: none; transition: background-color .3s, color .3s; }
.cell::after, .case::after { display: none; }
.cell:hover, .case:hover { transform: none; box-shadow: none; background-color: var(--ink); color: var(--paper); }
.cell:hover p, .case:hover dd, .case:hover dt, .case:hover .stats span, .cell:hover .no, .cell:hover .big { color: var(--paper); -webkit-text-fill-color: currentColor; }
.cell:hover .icon { color: var(--paper); transform: none; }
.cell:hover .more { border-bottom-color: currentColor; }
.cell .icon { color: var(--ink); }
.cell h3 { font-size: 1.3rem; }
.case:hover .stats b { color: var(--paper); -webkit-text-fill-color: currentColor; }
.stats b, .figures b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); -webkit-text-fill-color: currentColor; }
.stats { border-top: 1px solid var(--line); padding-top: 24px; }
.tile { border-color: var(--line); border-radius: 10px; }
.tile.featured { background-color: var(--ink); color: var(--paper); }
.tile.featured p, .tile.featured .checks { color: var(--paper); opacity: .75; }
.tile.featured .btn { background-color: var(--paper); color: var(--ink); border-color: var(--paper); }
.checks li::before, .row ul li::before { background: var(--ink); }
.label, .feats li { border-color: var(--line); border-radius: 4px; }
.qa summary::after { color: var(--ink); }
.c5 { border: 0; background: none; gap: 20px 16px; overflow: visible; }
.member .photo { border-radius: 8px; background: var(--paper-2); }
.member .photo::after { display: none; }
.member .role { color: var(--muted); }
.project .shot { border-radius: 8px; border-color: var(--line); }
.words span { opacity: .22; }

/* flow diagram */
.flow { background: #0a0a09; border-block: 1px solid var(--line); }
.flow::before { background: radial-gradient(rgba(243, 233, 210, .13) 1px, transparent 1.3px) 0 0 / 26px 26px; }
.flow::after { background: radial-gradient(closest-side, rgba(243, 233, 210, .1), transparent 70%); }
.flow-lines path { stroke: rgba(243, 233, 210, .6); }
.flow-lines path.solid { stroke: #f3e9d2; }
.flow-lines circle { fill: #f3e9d2; filter: drop-shadow(0 0 6px rgba(243, 233, 210, .9)); }
.flow-card { background: rgba(243, 233, 210, .035); border-color: rgba(243, 233, 210, .24); border-radius: 12px; backdrop-filter: none; }
.flow-card::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 233, 210, .14), transparent 60%); }
.flow-card:hover { border-color: #f3e9d2; }
.flow-idea { border: 2px solid #f3e9d2; background: #0f0f0e; }
.flow-idea:hover { border-color: #f3e9d2; }
.flow-bubble { background: #f3e9d2; color: #0a0a09; box-shadow: none; border-radius: 12px; }
.flow-tag, .flow-pills li, .flow-more { border-radius: 4px; border-color: rgba(243, 233, 210, .3); }
.flow-tag i { background: #f3e9d2; box-shadow: 0 0 0 0 rgba(243, 233, 210, .6); }
.flow-pills li:hover, .flow-chips li:hover, .flow-tiles li:hover { background: #f3e9d2; color: #0a0a09; border-color: #f3e9d2; }
.flow-tiles li { background: rgba(243, 233, 210, .06); border-color: rgba(243, 233, 210, .2); border-radius: 8px; color: #f3e9d2; }
.flow-chips li { border-radius: 4px; font-family: var(--mono); }
.orb::before { background: radial-gradient(closest-side, rgba(243, 233, 210, .28), transparent 72%); }
.orb-ring { border-color: rgba(243, 233, 210, .5); }
.orb-ring.r2 { border-color: rgba(243, 233, 210, .16); }
.orb-body { filter: drop-shadow(0 0 26px rgba(243, 233, 210, .4)); }
.orb-body img { display: block; width: 100%; height: auto; border-radius: 24%; }

/* process demo */
.demo { border-color: var(--line); border-radius: 12px; box-shadow: none; }
.demo-tab { color: var(--muted); border-color: var(--line); font-family: var(--mono); font-weight: 500; }
.demo-tab:hover { background: rgba(243, 233, 210, .05); color: var(--ink); }
.demo-tabs, .demo-stage { border-color: var(--line); }
.demo-tab i { background: var(--line); }
.demo-stage { background: #f3e9d2 radial-gradient(rgba(10, 10, 9, .12) 1px, transparent 1.2px) 0 0 / 18px 18px; }
.demo-stage .win { background-color: #fbf5e6; border-color: rgba(10, 10, 9, .18); }
.demo-stage .dark-win { background-color: #0f0f0e; }

/* forms + lists on dark */
.form.light label, .form label { color: var(--muted); }
.form.light input, .form.light textarea, .form.light select, .form input, .form textarea, .form select { color: var(--ink); border-bottom-color: var(--line); }
.form select option { color: #0a0a09; background: #f3e9d2; }
.form.light input:focus, .form.light textarea:focus, .form.light select:focus, .form input:focus, .form textarea:focus { border-bottom-color: var(--ink); }
.info-list, .info-list li, .contact-list, .contact-list li, .rows, .row, .qa, .qa:first-of-type, .case, .figures { border-color: var(--line); }
.contact-list span, .info-list span { color: var(--muted); }

@media (max-width: 900px) {
  .section-head, .about-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div { padding-inline-start: 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .hero-stats > div:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 16px; }
  .hero-stats > div:nth-child(even) { padding-inline-start: 18px; }
  .hero-stats > div:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* v9 fixes: text on the always-dark blocks, hero line length */
.dark, .footer, .flow { color: #f3e9d2; }
.dark h2, .footer .brand, .footer h4, .footer a:hover, .flow h2, .flow h3 { color: #f3e9d2; }
.dark .section-note, .dark.cta-band p, .dark .kicker { color: rgba(243, 233, 210, .62); }
.hero h1, html[lang="en"] .hero h1 { max-width: 19ch; }
.grad-text { line-height: 1.5; }
html[lang="en"] .grad-text { line-height: 1.2; }
html[lang="ar"] :is(.kicker, .badge, .flow-label, .project .cat, .label, .case dt) { font-family: var(--body); letter-spacing: 0; }
html[lang="ar"] .kicker .ltr { font-family: var(--mono); }

/* ================= v10: globe hero, processor chip core ================= */
.hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
.hero-art { container-type: normal; max-width: 620px; aspect-ratio: 1; width: 100%; justify-self: center; margin-block: -30px; }
.hero-art canvas { display: block; width: 100%; height: 100%; }
.chip-wrap { position: relative; width: 210px; margin: 30px 0 18px; }
.chip-wrap::before { content: ""; position: absolute; inset: -34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 233, 210, .2), transparent 72%); animation: glow 4s ease-in-out infinite; }
.chip { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.chip .pin { fill: none; stroke: rgba(243, 233, 210, .75); stroke-width: 2; stroke-linecap: square; stroke-dasharray: 6 5; animation: dash 1.6s linear infinite; }
.chip-body { fill: #0f0f0e; stroke: #f3e9d2; stroke-width: 2; }
.chip-in { fill: none; stroke: rgba(243, 233, 210, .3); stroke-width: 1; }
.chip .corner { fill: none; stroke: #f3e9d2; stroke-width: 4; stroke-linecap: square; }
.chip .bit { fill: #f3e9d2; opacity: .12; animation: bit 4s steps(1) infinite; }
@keyframes bit { 0%, 100% { opacity: .12; } 20% { opacity: 1; } 34% { opacity: .35; } 60% { opacity: .85; } 72% { opacity: .12; } }
.chip .scan { stroke: #f3e9d2; stroke-width: 2; opacity: .8; filter: drop-shadow(0 0 6px #f3e9d2); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(96px); } }
.flow-core .flow-name { margin-top: 4px; }
@media (max-width: 900px) { .hero-art { max-width: 400px; margin-block: -10px 0; } .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .chip-wrap { width: 170px; } }
@media (prefers-reduced-motion: reduce) { .chip .pin, .chip .bit, .chip .scan, .chip-wrap::before { animation: none; } }

/* service links */
.flow-tiles li { padding: 0; }
.flow-tiles li a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; width: 100%; height: 100%; }
.cell > .more { margin-top: auto; }
.cell p + .more { margin-top: 24px; }
.cell:hover .more { border-bottom-color: currentColor; }

/* eight header links */
.nav { gap: 16px; }
.nav a { font-size: .88rem; }
.header-row { padding-inline: 14px; gap: 14px; }

/* ================= v13: story pages (AI agents, AI, automation) ================= */
.say { padding: clamp(90px, 12vw, 170px) 0; }
.say .wrap { max-width: 980px; }
.say p.words { font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.65; color: var(--ink); }
html[lang="en"] .say p.words { line-height: 1.3; letter-spacing: -.02em; }
.say .after { margin-top: 34px; font-size: 1.14rem; color: var(--muted); max-width: 56ch; }
.show-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.show-grid h2 + p { margin-top: 18px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.panel-bar i { display: block; flex: 1; max-width: 180px; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; position: relative; }
.panel-bar i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); animation: barFill 14s linear infinite; }
[dir="rtl"] .panel-bar i::after { transform-origin: 100% 50%; }
@keyframes barFill { 0% { transform: scaleX(0); } 75%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* tasks handed over one by one */
.flip li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.flip li:last-child { border-bottom: 0; }
.flip li > span { animation: taskDim 14s infinite; }
.flip li b { position: relative; flex: none; font-weight: 500; font-size: .82rem; border: 1px solid var(--line); border-radius: 4px; padding: 5px 12px; min-width: 84px; text-align: center; animation: pillOn 14s infinite; }
.flip li b s, .flip li b u { text-decoration: none; display: block; }
.flip li b u { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: lblOn 14s infinite; }
.flip li b s { animation: lblOff 14s infinite; }
.flip li:nth-child(1) :is(span, b, s, u) { animation-delay: 0s; }
.flip li:nth-child(2) :is(span, b, s, u) { animation-delay: 1.5s; }
.flip li:nth-child(3) :is(span, b, s, u) { animation-delay: 3s; }
.flip li:nth-child(4) :is(span, b, s, u) { animation-delay: 4.5s; }
.flip li:nth-child(5) :is(span, b, s, u) { animation-delay: 6s; }
.flip li:nth-child(6) :is(span, b, s, u) { animation-delay: 7.5s; }
@keyframes pillOn { 0%, 6% { background: transparent; color: var(--ink); border-color: var(--line); } 10%, 82% { background: var(--ink); color: var(--paper); border-color: var(--ink); } 88%, 100% { background: transparent; color: var(--ink); border-color: var(--line); } }
@keyframes lblOn { 0%, 6% { opacity: 0; } 10%, 82% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes lblOff { 0%, 6% { opacity: 1; } 10%, 82% { opacity: 0; } 88%, 100% { opacity: 1; } }
@keyframes taskDim { 0%, 6% { opacity: 1; } 10%, 82% { opacity: .45; } 88%, 100% { opacity: 1; } }

/* forecast chart + the questions it answers */
.forecast { padding: 22px 20px 18px; direction: ltr; }
.forecast svg { display: block; width: 100%; height: auto; overflow: visible; }
.forecast .grid { stroke: var(--line); stroke-width: 1; }
.forecast .past { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: drawPast 9s ease-in-out infinite; }
.forecast .next { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 7 8; opacity: 0; animation: showNext 9s ease-in-out infinite; }
.forecast .tip { fill: var(--ink); opacity: 0; animation: showNext 9s ease-in-out infinite; }
.forecast .ring { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: ringOut 9s ease-out infinite; }
.forecast .area { fill: var(--ink); opacity: 0; animation: showArea 9s ease-in-out infinite; }
@keyframes drawPast { 0% { stroke-dashoffset: 420; } 34%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 420; } }
@keyframes showNext { 0%, 36% { opacity: 0; } 46%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes showArea { 0%, 40% { opacity: 0; } 52%, 90% { opacity: .08; } 100% { opacity: 0; } }
@keyframes ringOut { 0%, 46% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
.asks { position: relative; min-height: 64px; border-top: 1px solid var(--line); }
.asks li { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 20px; font-size: 1.02rem; font-weight: 500; opacity: 0; animation: askCycle 9s infinite; }
.asks li::before { content: "?"; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: .8rem; }
.asks li:nth-child(2) { animation-delay: 3s; } .asks li:nth-child(3) { animation-delay: 6s; }
@keyframes askCycle { 0% { opacity: 0; transform: translateY(8px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-8px); } }

/* automation pipeline */
.pipe { position: relative; padding: 34px 18px 28px; }
.pipe ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pipe li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: .9rem; font-weight: 500; }
.pipe li b { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); font: 500 .8rem var(--mono); animation: nodeOn 8s infinite; }
.pipe li:nth-child(2) b { animation-delay: 1.6s; } .pipe li:nth-child(3) b { animation-delay: 3.2s; } .pipe li:nth-child(4) b { animation-delay: 4.8s; }
@keyframes nodeOn { 0%, 2% { background: var(--card); color: var(--ink); border-color: var(--line); } 6%, 70% { background: var(--ink); color: var(--paper); border-color: var(--ink); } 80%, 100% { background: var(--card); color: var(--ink); border-color: var(--line); } }
.pipe-track { position: absolute; top: 61px; inset-inline: calc(12.5% + 18px); height: 1.5px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); opacity: .5; }
.pipe-track i { position: absolute; top: -5px; width: 11px; height: 11px; margin-inline-start: -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(243, 233, 210, .14); inset-inline-start: 0; animation: packet 8s linear infinite; }
@keyframes packet { 0% { inset-inline-start: 0; opacity: 1; } 60% { inset-inline-start: 100%; opacity: 1; } 66%, 100% { inset-inline-start: 100%; opacity: 0; } }
.pipe-note { border-top: 1px solid var(--line); padding: 14px 18px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.pipe-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: ping 2s ease-out infinite; flex: none; }

@media (max-width: 900px) { .show-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pipe li { font-size: .74rem; } .pipe li b { width: 44px; height: 44px; } .pipe-track { top: 56px; } .flip li { font-size: .92rem; padding: 13px 14px; } }
@media (prefers-reduced-motion: reduce) {
  .flip li *, .panel-bar i::after, .forecast *, .asks li, .pipe li b, .pipe-track i { animation: none !important; }
  .forecast .past { stroke-dashoffset: 0; } .forecast .next, .forecast .tip { opacity: 1; } .asks li:first-child { opacity: 1; }
}

/* ================= v14: home AI cards, stronger success stories ================= */
.asks li:nth-child(2) { animation-delay: -6s; }
.asks li:nth-child(3) { animation-delay: -3s; }
.nav { gap: 26px; }
.nav a { font-size: .95rem; }

.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.ai-card:hover { border-color: var(--ink); transform: translateY(-6px); }
.ai-card .panel { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(243, 233, 210, .03); min-height: 250px; display: flex; flex-direction: column; }
.ai-card .panel > :last-child { flex: 1; }
.ai-card .forecast { display: grid; align-items: center; }
.ai-card .pipe { display: grid; align-content: center; }
.ai-card .pipe li { font-size: .8rem; }
.ai-card .pipe li b { width: 46px; height: 46px; }
.ai-card .pipe-track { top: auto; bottom: calc(50% + 12px); }
.ai-card .flip li { padding: 17px 18px; }
.ai-body { padding: 26px 24px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.ai-body h3 { font-size: 1.4rem; line-height: 1.45; margin-bottom: 8px; }
.ai-body p { color: var(--muted); margin-bottom: 22px; }
.ai-body .more { margin-top: auto; }

.cases-list { display: grid; gap: 22px; }
.case-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.case-text { padding: clamp(26px, 4vw, 48px); }
.case-text .no { display: block; font: 500 .9rem var(--mono); margin-bottom: 22px; }
.case-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.4; margin-bottom: 24px; }
.case-text dl { display: grid; gap: 18px; }
.case-text dt { font-size: .86rem; color: var(--muted); margin-bottom: 3px; }
.case-text dd { font-size: 1.04rem; }
.impact { background: #0a0a09; color: #f3e9d2; display: grid; grid-template-columns: 1fr 1fr; }
.imp { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; }
.imp + .imp { border-inline-start: 1px solid rgba(243, 233, 210, .16); }
.imp b { font: 700 clamp(2.8rem, 5.2vw, 4.6rem)/1 "DM Sans", var(--body); letter-spacing: -.04em; direction: ltr; width: fit-content; font-variant-numeric: tabular-nums; }
.imp > span { margin-top: 10px; color: rgba(243, 233, 210, .62); }
.meter { margin-top: auto; padding-top: 34px; display: grid; gap: 10px; }
.meter p { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; }
.meter em { font-style: normal; font-size: .78rem; color: rgba(243, 233, 210, .55); }
.meter i { display: block; height: 10px; border-radius: 2px; background: rgba(243, 233, 210, .25); width: var(--w); transition: width 1.6s cubic-bezier(.2, .7, .2, 1) .3s; }
.meter i.hi { background: #f3e9d2; }
.meter i.tick { width: 100%; transform-origin: 0 50%; animation: tick08 3s linear infinite; transition: none; }
[dir="rtl"] .meter i.tick { transform-origin: 100% 50%; }
@keyframes tick08 { 0% { transform: scaleX(0); } 26.6%, 80% { transform: scaleX(1); } 81%, 100% { transform: scaleX(0); } }
.reveal-on .case-row:not(.in) .meter i:not(.tick) { width: 0; }

@media (max-width: 1000px) { .ai-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .case-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .impact { grid-template-columns: 1fr; } .imp + .imp { border-inline-start: 0; border-top: 1px solid rgba(243, 233, 210, .16); } }
@media (prefers-reduced-motion: reduce) { .meter i.tick { animation: none; } }
