/* =====================================================================
   AGMETRIX — site.css
   One stylesheet, no framework. Sections:
   1 Tokens · 2 Base · 3 Type & utilities · 4 Buttons & small parts
   5 Navigation & menu · 6 Hero · 7 Marquee · 8 About · 9 Services
   10 Technology · 11 Work · 12 Process · 13 Why · 14 Testimonials
   15 Contact & form · 16 Footer · 17 Case study · 18 Legal & status
   19 Motion · 20 Responsive · 21 Reduced motion
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #01a8f7;            /* sampled from the Agmetrix logo */
  --brand-hi: #7fd4ff;
  --brand-ink: #006a9e;        /* brand for text on light backgrounds (AA) */
  --brand-glow: rgba(1, 168, 247, .38);
  --violet: #7c5cff;
  --mint: #34d399;
  --amber: #fbbf24;
  --err: #ff7b7b;

  --ink: #06080d;
  --ink-2: #0a0e16;
  --ink-3: #0f141f;
  --ink-4: #151c2a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eef2f7;
  --text-2: #b1bbcb;
  --muted: #8490a3;

  --paper: #f2f1ec;
  --paper-2: #e7e6df;
  --paper-3: #dcdbd2;
  --p-ink: #0c1018;
  --p-text: #3b4250;
  --p-muted: #5d6472;
  --p-line: rgba(12, 16, 24, .12);

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 160px);
  --nav-h: 76px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75), 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-paper: 0 30px 60px -32px rgba(12, 16, 24, .35), 0 2px 6px rgba(12, 16, 24, .08);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-2);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brand); color: #03121d; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 300; background: var(--brand); color: #03121d; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section--paper { background: var(--paper); color: var(--p-text); }
.section--paper h1, .section--paper h2, .section--paper h3 { color: var(--p-ink); }
.section--paper ::selection { background: var(--p-ink); color: var(--paper); }
.section--paper :focus-visible { outline-color: var(--brand-ink); }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Type & utilities ---------- */
em { font-style: normal; }
h1 em, h2 em, .h-xl em, .h-display em, .about__statement em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  color: var(--brand-hi);
}
.section--paper h2 em, .section--paper .about__statement em { color: var(--brand-ink); }

.h-display { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.04em; }
.h-xl + .lead, .h-display + .lead, .h-xl + .reveal.lead { margin-top: 22px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 54ch; }
.section--paper .lead { color: var(--p-text); }

.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.sec-label span { color: var(--brand); }
.sec-label span::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; opacity: .6; vertical-align: middle; margin-left: 12px; }
.section--paper .sec-label { color: var(--p-muted); }
.section--paper .sec-label span { color: var(--brand-ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text);
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .2s;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--brand-hi); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--paper .link-arrow { color: var(--p-ink); }
.section--paper .link-arrow:hover { color: var(--brand-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .02em; color: var(--text-2);
  padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.02);
}
.chips--dark li, .section--paper .chips li { color: var(--p-ink); border-color: var(--p-line); background: rgba(255,255,255,.5); }

.pill { font-style: normal; font-family: var(--f-mono); font-size: .7em; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text-2); white-space: nowrap; }
.pill--ok { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.pill--wait { background: rgba(251, 191, 36, .14); color: #fcd34d; }

.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); flex-shrink: 0; }

.visual-caption { margin-top: 14px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }

/* Browser chrome used by several mockups */
.chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #121827; border-bottom: 1px solid var(--line); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2a3346; }
.chrome i:nth-child(1) { background: #ff6b6b; opacity: .8; } .chrome i:nth-child(2) { background: #ffc857; opacity: .8; } .chrome i:nth-child(3) { background: #3ddc97; opacity: .8; }
.chrome__url { margin-left: 10px; flex: 1; max-width: 260px; height: 20px; line-height: 20px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--muted); font-family: var(--f-mono); font-size: 10.5px; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 500; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, #fff); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary { --bg: var(--brand); --fg: #03121d; --bd: var(--brand); --fill: #fff; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px var(--brand-glow); }
.btn--ghost { --fill: rgba(255,255,255,.08); }
.btn--ghost:hover { --bd: rgba(255,255,255,.35); }
.section--paper .btn--ghost { --fg: var(--p-ink); --bd: var(--p-line); --fill: rgba(12,16,24,.06); }
.btn--dark { --bg: var(--p-ink); --fg: var(--paper); --bd: var(--p-ink); --fill: var(--brand); }
.btn--dark:hover { --fg: #03121d; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 28px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] > .icon { display: none; }

.round-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); transition: background .3s, border-color .3s, color .3s; }
.round-btn:hover { background: var(--brand); border-color: var(--brand); color: #03121d; }

/* ---------- 5. Navigation ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--violet)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: transform .45s var(--ease), background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6, 8, 13, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo { flex-shrink: 0; display: block; }
.nav__logo img { height: 38px; width: auto; }
.nav__primary { position: relative; margin-inline: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > li > a, .nav__drop-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--text-2); transition: color .25s;
}
.nav__links > li > a:hover, .nav__drop-btn:hover, .nav__links > li > a[aria-current], .nav__drop-btn.is-current, .nav__drop-btn[aria-expanded="true"] { color: var(--text); }
.nav__drop-btn .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__drop-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__indicator {
  position: absolute; top: 50%; left: 0; height: 40px; width: 0; margin-top: -20px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
}
.nav__indicator.is-on { opacity: 1; }
.nav__cta { flex-shrink: 0; }
.nav__toggle { display: none; }

.nav__has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(680px, 90vw);
  translate: -50% 0; transform: translateY(8px) scale(.98); transform-origin: 50% 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(13, 18, 28, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 10px;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.drop::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.drop.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; transition: background .2s; }
.drop__item:hover, .drop__item:focus-visible { background: rgba(255,255,255,.05); }
.drop__item strong { display: block; color: var(--text); font-weight: 500; font-size: .95rem; line-height: 1.3; }
.drop__item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 3px; }
.drop__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; color: var(--brand); background: rgba(1,168,247,.1); border: 1px solid rgba(1,168,247,.2); transition: transform .3s var(--ease), background .3s; }
.drop__item:hover .drop__ic { transform: rotate(-6deg) scale(1.06); background: rgba(1,168,247,.18); }
.drop__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; padding: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.drop__foot .link-arrow { font-size: .88rem; flex-shrink: 0; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 95; background: var(--ink); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .35s var(--ease); }
.menu::before { content: ""; position: fixed; inset: 0; background: radial-gradient(60% 40% at 90% 0%, rgba(1,168,247,.18), transparent 70%); pointer-events: none; }
.menu-open .menu { opacity: 1; }
.menu__panel { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--nav-h) + 20px) var(--gutter) max(28px, env(safe-area-inset-bottom)); }
.menu__links > li { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); border-bottom: 1px solid var(--line); }
.menu-open .menu__links > li { opacity: 1; transform: none; }
.menu__links > li > a, .menu__acc > button { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 16px 0; font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 500; letter-spacing: -.035em; color: var(--text); text-align: left; min-height: 56px; }
.menu__links small { font-family: var(--f-mono); font-size: .75rem; color: var(--brand); letter-spacing: .08em; min-width: 22px; }
.menu__acc > button .icon { margin-left: auto; align-self: center; width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.menu__acc > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu__sub { padding: 0 0 16px 38px; display: grid; gap: 2px; }
.menu__sub a { display: block; padding: 10px 0; color: var(--text-2); font-size: 1.05rem; min-height: 44px; }
.menu__foot { display: grid; gap: 16px; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease) .35s, transform .5s var(--ease) .35s; }
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu__contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-size: .95rem; }
body.menu-open { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + clamp(36px, 7vh, 88px)); overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid, .hero__grid::after {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(90% 70% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(90% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__grid::after {
  content: "";
  background-image: linear-gradient(rgba(1,168,247,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(1,168,247,.5) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(220px 220px at var(--mx, 70%) var(--my, 30%), #000, transparent 70%);
          mask-image: radial-gradient(220px 220px at var(--mx, 70%) var(--my, 30%), #000, transparent 70%);
  opacity: .55;
}
.hero__beam { position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1,168,247,.22), rgba(124,92,255,.08) 55%, transparent 72%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }

.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; color: var(--text-2); padding: 8px 14px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2.4s ease-out 4; }
.hero__title { font-size: clamp(2.7rem, 5.9vw, 5.6rem); line-height: .97; letter-spacing: -.05em; font-weight: 600; }
.hero__title em { color: var(--brand-hi); padding-right: .04em; }
.hero__lead { margin-top: 28px; font-size: clamp(1.05rem, 1.35vw, 1.22rem); max-width: 52ch; color: var(--text-2); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__caps { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__caps li { display: inline-flex; align-items: center; gap: 10px; }
.hero__caps li::before { content: ""; width: 5px; height: 5px; background: var(--brand); transform: rotate(45deg); }

.hero__stage { position: relative; width: 100%; aspect-ratio: 600 / 520; --px: 0; --py: 0; }
.stage__ruler { position: absolute; pointer-events: none; opacity: .7; }
.stage__ruler--x { left: 8%; right: 0; top: -22px; height: 8px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px); }
.stage__ruler--y { top: 6%; bottom: 0; left: -22px; width: 8px; background: repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 12px); }
.stage__readout { position: absolute; left: 0; bottom: -30px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.stage__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wire { fill: none; stroke: rgba(1,168,247,.45); stroke-width: 1.2; stroke-dasharray: 4 6; }
.wire--2 { stroke: rgba(124,92,255,.45); }
.layer { position: absolute; transform: translate3d(calc(var(--px) * var(--depth, 0) * 16px), calc(var(--py) * var(--depth, 0) * 16px), 0); transition: transform .9s var(--ease); will-change: transform; }

.stage__browser { left: 8%; top: 4%; width: 90%; border-radius: 14px; overflow: hidden; background: #0e1320; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.stage__screens { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; background: #0e1320; }
.stage__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.03); transition: opacity 1s var(--ease), transform 5s linear; }
.stage__screens img.is-on { opacity: 1; transform: scale(1); }

.stage__code { left: 0; bottom: 9%; width: 54%; border-radius: 14px; background: rgba(10, 14, 24, .94); border: 1px solid var(--line-2); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.code__tabs { display: flex; gap: 2px; padding: 8px 8px 0; font-family: var(--f-mono); font-size: 10.5px; }
.code__tabs span { padding: 5px 10px; border-radius: 7px 7px 0 0; color: var(--muted); }
.code__tabs .is-on { background: rgba(255,255,255,.05); color: var(--text); }
.code__body { margin: 0; padding: 12px 14px 14px; font-family: var(--f-mono); font-size: clamp(9px, .78vw, 11.2px); line-height: 1.7; color: #d7deea; white-space: pre; overflow: hidden; background: rgba(255,255,255,.03); border-top: 1px solid var(--line); }
.code__body .c { color: #6b778c; } .code__body .k { color: #c4b5fd; } .code__body .f { color: var(--brand-hi); } .code__body .s { color: #86efac; }
.caret { display: inline-block; width: 7px; height: 1.1em; vertical-align: -2px; margin-left: 2px; background: var(--brand); animation: blink 1s steps(1) 8; }

.stage__phone { right: -2%; bottom: -2%; width: 25%; }
.stage__chip { right: -3%; top: -4%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(15, 20, 31, .92); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 12px; line-height: 1.25; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stage__chip strong { display: block; color: var(--text); font-weight: 600; }
.stage__chip small { color: var(--muted); font-family: var(--f-mono); font-size: 10px; }

.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 7vh, 72px) 36px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scroll-cue__line { position: relative; width: 1px; height: 40px; background: var(--line-2); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: translateY(-100%); animation: cue 2.2s var(--ease-io) 3; }
.scroll-cue:hover { color: var(--text); }
.hero__foot-note { font-size: .92rem; color: var(--muted); max-width: 46ch; text-align: right; }
.hero__foot-note a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.hero__foot-note a:hover { border-color: var(--brand); }

/* Phone + app mockups (sized with container query units) */
.phone { position: relative; aspect-ratio: 9 / 19; border-radius: 15% / 7.2%; padding: 4.5%; background: linear-gradient(145deg, #2a3242, #121722); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08); container-type: inline-size; }
.phone__notch { position: absolute; top: 4.5%; left: 50%; translate: -50% 0; width: 32%; height: 3.2%; border-radius: 0 0 10px 10px; background: #0b0e15; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 11% / 5.3%; overflow: hidden; }
.app { display: flex; flex-direction: column; gap: 4.5cqi; padding: 16cqi 7cqi 7cqi; font-size: 6.2cqi; line-height: 1.3; background: #f5f6fa; color: #101521; }
.app strong { font-weight: 600; color: inherit; }
.app small { display: block; color: #6b7384; font-size: .82em; }
.app__hello { font-size: 1.05em; color: #6b7384; } .app__hello strong { display: block; font-size: 1.5em; color: #0b0f18; letter-spacing: -.02em; }
.app__card { padding: 7cqi; border-radius: 7cqi; background: #fff; box-shadow: 0 2px 8px rgba(16,21,33,.06); }
.app__card--brand { background: linear-gradient(140deg, #01a8f7, #0a6fe0); color: #fff; }
.app__card--brand small { color: rgba(255,255,255,.8); } .app__card--brand strong { display: block; font-size: 1.35em; margin: 1cqi 0 4cqi; }
.app__bar { display: block; height: 2.4cqi; border-radius: 9px; background: rgba(255,255,255,.3); } .app__bar i { display: block; height: 100%; border-radius: inherit; background: #fff; }
.app__row { display: flex; align-items: center; gap: 5cqi; padding: 5cqi; border-radius: 6cqi; background: #fff; }
.app__dot { width: 7cqi; height: 7cqi; border-radius: 50%; background: #fbbf24; flex-shrink: 0; } .app__dot--ok { background: #34d399; }
.app__tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 5cqi 0 1cqi; border-top: 1px solid #e3e6ee; }
.app__tabbar i { width: 7cqi; height: 7cqi; border-radius: 2.4cqi; background: #d5dae4; } .app__tabbar i.is-on { background: #01a8f7; }

/* ---------- 7. Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--ink-2); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; flex-shrink: 0; }
.marquee__row li { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -.03em; color: var(--text-2); white-space: nowrap; }
.marquee__row li::after { content: ""; width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); opacity: .8; }

/* ---------- 8. About ---------- */
.about__statement { font-size: clamp(1.85rem, 3.9vw, 3.5rem); line-height: 1.1; letter-spacing: -.04em; font-weight: 500; max-width: 22ch; color: var(--p-ink); }
.about__statement .word { opacity: var(--o, 1); transition: opacity .25s linear; }
.about__grid { margin-top: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.founder { max-width: 400px; }
.founder__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 700 / 850; background: var(--paper-3); box-shadow: var(--shadow-paper); }
.founder__frame img { width: 100%; height: 108%; object-fit: cover; transform: translateY(calc(var(--par, 0) * 1px)); }
.founder__tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; color: #fff; padding: 7px 12px; border-radius: 999px; background: rgba(6,8,13,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.founder figcaption { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.founder figcaption strong { color: var(--p-ink); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.founder figcaption span { font-size: .9rem; color: var(--p-muted); }
.about__text > p { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.7; max-width: 60ch; }
.about__text > p + p { margin-top: 20px; }
.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--p-line); }
.facts > div { padding: 24px 20px 0 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--p-line); }
.facts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.facts dd { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.045em; color: var(--p-ink); line-height: 1.1; margin-top: 8px; }
.facts p { font-size: .88rem; color: var(--p-muted); margin-top: 4px; line-height: 1.45; }

.approach { position: relative; margin-top: clamp(64px, 9vw, 120px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--ink); color: var(--text-2); overflow: hidden; }
.approach::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); opacity: .6; pointer-events: none; }
.approach__head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.approach__head h3 { color: var(--text); font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.03em; }
.approach__flow { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.approach__flow li { position: relative; padding-top: 34px; opacity: .45; transition: opacity .6s var(--ease); transition-delay: calc(var(--i) * .25s + .2s); }
.approach.is-in .approach__flow li { opacity: 1; }
.approach__node { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line-2); transition: border-color .4s, background .4s, box-shadow .4s; transition-delay: inherit; }
.approach.is-in .approach__node { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 6px rgba(1,168,247,.15); }
.approach__flow strong { display: block; color: var(--text); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.approach__flow p { font-size: .95rem; line-height: 1.55; color: var(--text-2); }
.approach__line { position: absolute; left: clamp(28px, 4vw, 48px); right: clamp(28px, 4vw, 48px); height: 2px; background: var(--line-2); top: calc(clamp(28px, 4vw, 48px) + var(--head-h, 88px) + 6px); }
.approach__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--violet)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-io) .2s; }
.approach.is-in .approach__line i { transform: scaleX(1); }
.approach .link-arrow { color: var(--text); }
.approach .link-arrow:hover { color: var(--brand-hi); }
.about__cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--p-line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.about__cta p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--p-ink); letter-spacing: -.02em; font-weight: 500; }

/* ---------- 9. Services ---------- */
.services { background: var(--ink); }
.services__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end; }
.services__head .sec-label { grid-column: 1 / -1; justify-self: start; }
.services__head .lead { justify-self: end; }
.svc-index { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--line); }
.svc-index li + li { border-left: 1px solid var(--line); }
.svc-index a { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 22px; height: 100%; color: var(--text); font-weight: 500; font-size: .98rem; line-height: 1.3; transition: background .3s, color .3s; overflow: hidden; }
.svc-index a span { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.svc-index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.svc-index a:hover { background: rgba(255,255,255,.03); }
.svc-index a:hover::after, .svc-index a.is-current::after { transform: scaleX(1); }
.svc-index a:hover span, .svc-index a.is-current span { color: var(--brand); }

.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding-block: clamp(80px, 10vw, 136px); border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; padding-bottom: 0; }
.chapter--mobile, .chapter--redesign { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter__num { display: block; font-family: var(--f-serif); font-style: italic; font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(1,168,247,.55); margin-bottom: 18px; }
.chapter__title { font-size: clamp(1.85rem, 3.3vw, 2.8rem); letter-spacing: -.04em; line-height: 1.04; }
.chapter__lead { margin-top: 18px; font-size: clamp(1.05rem, 1.35vw, 1.18rem); color: var(--text); opacity: .88; line-height: 1.55; }
.chapter__value { margin-top: 16px; font-size: .96rem; color: var(--text-2); padding-left: 16px; border-left: 2px solid var(--brand); }
.chapter__value strong { color: var(--text); font-weight: 600; }
.chapter__built { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.ticks { margin-top: 26px; display: grid; gap: 10px; }
.ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.ticks li { position: relative; padding-left: 22px; font-size: .96rem; color: var(--text-2); line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border: 1.5px solid var(--brand); transform: rotate(45deg); }
.chapter .chips { margin-top: 24px; }
.chapter .link-arrow { margin-top: 28px; }

/* 01 · website switcher */
.switcher { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; align-items: center; }
.switcher__tabs { display: grid; gap: 4px; }
.switcher__tabs button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px 12px 18px; border-radius: 12px; text-align: left; color: var(--text-2); transition: background .25s, color .25s; }
.switcher__tabs button::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--brand); transform: scaleY(0); transition: transform .35s var(--ease); }
.switcher__tabs button span { font-weight: 500; font-size: .95rem; }
.switcher__tabs button small { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.switcher__tabs button:hover { background: rgba(255,255,255,.03); color: var(--text); }
.switcher__tabs button[aria-selected="true"] { background: rgba(1,168,247,.08); color: var(--text); }
.switcher__tabs button[aria-selected="true"]::before { transform: scaleY(1); }
.switcher__screen { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0e1320; box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .8s var(--ease); }
.switcher:hover .switcher__screen { transform: perspective(1400px) rotateY(0) rotateX(0); }
.switcher__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.switcher__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.switcher__img img.is-swapping { opacity: 0; transform: translateY(10px) scale(1.01); }

/* 02 · dashboard */
.dash { display: grid; grid-template-columns: 160px minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: #0b101b; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13px; }
.dash__side { padding: 18px 12px; background: #0e1422; border-right: 1px solid var(--line); }
.dash__brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; padding: 0 8px 16px; }
.dash__brand i { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--brand), var(--violet)); }
.dash__side li { padding: 8px 10px; border-radius: 8px; color: var(--muted); margin-bottom: 2px; }
.dash__side li.is-on { background: rgba(1,168,247,.12); color: var(--text); }
.dash__main { padding: 18px; min-width: 0; }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.dash__top > strong { color: var(--text); font-size: 15px; }
.dash__roles { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.dash__roles button { padding: 6px 12px; min-height: 32px; border-radius: 999px; font-size: 12px; color: var(--muted); transition: background .25s, color .25s; }
.dash__roles button[aria-pressed="true"] { background: var(--brand); color: #03121d; font-weight: 600; }
.dash__kpis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.dash__kpis > div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); display: grid; gap: 2px; }
.dash__kpis small { color: var(--muted); font-size: 11px; }
.dash__kpis strong { color: var(--text); font-size: 20px; letter-spacing: -.03em; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 6px; }
.spark i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(to top, rgba(1,168,247,.25), var(--brand)); transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); }
.is-in .spark i, .reveal-all .spark i { transform: scaleY(1); }
.spark i:nth-child(2) { transition-delay: .05s } .spark i:nth-child(3) { transition-delay: .1s } .spark i:nth-child(4) { transition-delay: .15s } .spark i:nth-child(5) { transition-delay: .2s } .spark i:nth-child(6) { transition-delay: .25s }
.dash__table { margin-top: 14px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.dash__tr { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 12.5px; }
.dash__tr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash__tr--head { border-top: 0; background: rgba(255,255,255,.03); color: var(--muted); font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.dash__note { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--brand-hi); }
.dash[data-role="customer"] [data-perm="manager"], .dash[data-role="customer"] [data-perm="admin"], .dash[data-role="manager"] [data-perm="admin"] { display: none; }
.dash.is-switching .dash__main > * { animation: fadeUp .45s var(--ease) both; }

/* 03 · phones */
.phones { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px 0 80px; min-height: 420px; --rx: 0deg; --ry: 0deg; perspective: 1200px; }
.phones::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(1,168,247,.22), transparent); filter: blur(10px); }
.phones .phone { width: min(230px, 40%); transition: transform .8s var(--ease); }
.phone--a { transform: rotateY(calc(10deg + var(--ry))) rotateX(var(--rx)) rotateZ(-4deg) translateX(8%); z-index: 2; }
.phone--b { transform: rotateY(calc(-10deg + var(--ry))) rotateX(var(--rx)) rotateZ(4deg) translate(-8%, 12%); }
.app--church { background: #0f0e17; color: #f3f1ff; }
.app--church small { color: #a39fbd; }
.app__eyebrow { font-family: var(--f-mono); font-size: .8em; letter-spacing: .08em; text-transform: uppercase; color: #a39fbd; }
.app--biz .app__eyebrow { color: #6b7384; }
.app__hero-card { padding: 7cqi; border-radius: 7cqi; background: linear-gradient(150deg, #7c5cff, #3b2a99); display: grid; gap: 1.5cqi; }
.app__hero-card strong { font-size: 1.25em; } .app__hero-card small { color: rgba(255,255,255,.8) !important; }
.app__btn { justify-self: start; margin-top: 3cqi; padding: 2.5cqi 5cqi; border-radius: 99px; background: #fff; color: #2c1f7a; font-weight: 600; font-size: .85em; }
.app__section { font-weight: 600; margin-top: 1cqi; }
.app__media { display: flex; align-items: center; gap: 5cqi; }
.app__media i { width: 16cqi; height: 16cqi; border-radius: 4cqi; background: linear-gradient(135deg, #01a8f7, #7c5cff); flex-shrink: 0; }
.app__media + .app__media i { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; }
.app__grid span { padding: 4.5cqi; border-radius: 5cqi; background: rgba(255,255,255,.07); text-align: center; font-size: .9em; }
.app--church .app__tabbar { border-color: rgba(255,255,255,.1); } .app--church .app__tabbar i { background: #34324a; } .app--church .app__tabbar i.is-on { background: #a78bfa; }
.app__seg { display: grid; grid-template-columns: 1fr 1fr; padding: 1.5cqi; border-radius: 99px; background: #e7eaf1; text-align: center; font-size: .9em; }
.app__seg span { padding: 2.5cqi; border-radius: 99px; } .app__seg .is-on { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.app__order { display: flex; align-items: center; justify-content: space-between; gap: 3cqi; padding: 5cqi; border-radius: 6cqi; background: #fff; }
.app--biz .pill { background: #eef1f6; color: #4b5466; font-size: .78em; }
.app--biz .pill--ok { background: #d1fae5; color: #047857; } .app--biz .pill--wait { background: #fef3c7; color: #92400e; }
.app__push { display: flex; gap: 4cqi; align-items: center; padding: 5cqi; border-radius: 6cqi; background: #0b0f18; color: #fff; margin-top: 2cqi; }
.app__push small { color: #9aa3b5; } .app__push i { width: 9cqi; height: 9cqi; border-radius: 3cqi; background: #01a8f7; flex-shrink: 0; }

/* 04 · fidelity */
.fidelity { --f: 0; border-radius: 20px; padding: 18px; background: #0b101b; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.fidelity__canvas { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; padding: 5%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 5%; overflow: hidden;
  background: color-mix(in srgb, #f4f6fb calc(var(--f) * 100%), #10151f);
  transition: background .2s; }
.fx { position: relative; border-radius: calc(4px + var(--f) * 8px); }
.fx::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed rgba(170, 185, 210, .55); border-radius: inherit; opacity: calc(1 - var(--f)); pointer-events: none; }
.fx--nav { display: flex; align-items: center; gap: 6%; height: 28px; padding: 0 3%; }
.fx--nav i { width: 9%; height: 6px; border-radius: 3px; background: color-mix(in srgb, #9aa6b8 calc(var(--f) * 100%), #3a4456); }
.fx--nav i:first-child { width: 14%; height: 10px; background: color-mix(in srgb, #0b0f18 calc(var(--f) * 100%), #3a4456); margin-right: auto; }
.fx--nav b { width: 16%; height: 16px; border-radius: 99px; background: color-mix(in srgb, var(--brand) calc(var(--f) * 100%), #3a4456); }
.fx--hero { display: grid; gap: 8px; padding: 3%; }
.fx__h { height: 14px; width: 78%; border-radius: 4px; background: color-mix(in srgb, #0b0f18 calc(var(--f) * 100%), #3a4456); }
.fx__h--2 { width: 55%; background: color-mix(in srgb, var(--violet) calc(var(--f) * 100%), #3a4456); }
.fx__p { height: 7px; width: 64%; border-radius: 4px; background: color-mix(in srgb, #9aa6b8 calc(var(--f) * 100%), #2c3446); }
.fx__btn { margin-top: 4px; height: 20px; width: 26%; border-radius: 99px; background: color-mix(in srgb, var(--brand) calc(var(--f) * 100%), #3a4456); box-shadow: 0 6px 18px -6px rgba(1,168,247, calc(var(--f) * .8)); }
.fx--img { background: linear-gradient(135deg, color-mix(in srgb, #7fd4ff calc(var(--f) * 100%), #1a2130), color-mix(in srgb, #7c5cff calc(var(--f) * 100%), #1a2130)); min-height: 40px; }
.fx--img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: calc(1 - var(--f)); background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(170,185,210,.4) 50%, transparent calc(50% + 1px)), linear-gradient(to top left, transparent calc(50% - 1px), rgba(170,185,210,.4) 50%, transparent calc(50% + 1px)); }
.fx--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.fx--cards::before { display: none; }
.fx--cards span { position: relative; height: 38px; border-radius: calc(4px + var(--f) * 8px); background: color-mix(in srgb, #ffffff calc(var(--f) * 100%), #151b28); box-shadow: 0 4px 14px rgba(12,16,24, calc(var(--f) * .08)); outline: 1.5px dashed rgba(170,185,210, calc((1 - var(--f)) * .55)); outline-offset: -1.5px; }
.fidelity__note { position: absolute; font-family: var(--f-mono); font-size: 10px; color: var(--brand-hi); padding: 2px 6px; border-radius: 4px; background: rgba(1,168,247,.12); opacity: calc(1 - var(--f) * 1.6); }
.fidelity__note--1 { top: 3%; right: 4%; } .fidelity__note--2 { top: 44%; right: 6%; }
.fidelity__control { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.fidelity__control label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fidelity__stops { grid-column: 2; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.fidelity__stops span.is-on { color: var(--brand-hi); }

/* Range input styling (shared) */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--fill, 0%), var(--line-2) var(--fill, 0%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }

/* 05 · compare */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.compare.is-demo { transition: --pos .7s var(--ease-io); }
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); user-select: none; }
.compare__pane { position: absolute; inset: 0; }
.compare__pane--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #0b0f18; border-width: 0 0 2px 2px; }
.compare__handle i::before { left: 11px; transform: rotate(45deg); } .compare__handle i::after { right: 11px; transform: rotate(-135deg); }
.compare:has(.compare__range:focus-visible) .compare__handle i { outline: 3px solid var(--brand); outline-offset: 3px; }
.compare__label { position: absolute; top: 14px; z-index: 2; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(6,8,13,.7); color: #fff; pointer-events: none; }
.compare__label--l { left: 14px; } .compare__label--r { right: 14px; }
.mock-old { position: absolute; inset: 0; background: #e8e3c9; font-family: "Times New Roman", Times, serif; color: #1a1a8c; display: flex; flex-direction: column; }
.mo-banner { background: #ffff33; color: #c00; text-align: center; font-weight: 700; font-size: clamp(11px, 1.6vw, 18px); padding: 3% 2%; border-bottom: 3px ridge #999; letter-spacing: .02em; }
.mo-nav { display: flex; flex-wrap: wrap; background: #000080; }
.mo-nav span { padding: 1.4% 2.4%; color: #fff; font-size: clamp(8px, 1vw, 11px); text-decoration: underline; border-right: 1px solid #5555aa; }
.mo-body { flex: 1; display: grid; grid-template-columns: 22% 1fr; grid-auto-rows: min-content; gap: 3% 3%; padding: 3%; }
.mo-side { grid-row: span 4; background: repeating-linear-gradient(0deg, #c0c0c0 0 12px, #d8d8d8 12px 24px); border: 2px outset #eee; min-height: 70%; }
.mo-text { height: 10px; background: #1a1a8c; opacity: .45; }
.mo-text--s { width: 60%; }
.mo-img { height: 70px; background: repeating-conic-gradient(#ccc 0 25%, #eee 0 50%) 0 0 / 14px 14px; border: 2px inset #aaa; }
.mo-foot { font-size: clamp(8px, .9vw, 10px); color: #555; text-align: center; padding: 2%; border-top: 1px solid #aaa; }
.mock-new { position: absolute; inset: 0; background: radial-gradient(90% 60% at 80% 0%, rgba(1,168,247,.25), transparent 60%), #0b0f18; padding: 5% 6%; display: flex; flex-direction: column; gap: 6%; }
.mn-nav { display: flex; align-items: center; gap: 4%; }
.mn-nav b { width: 16%; height: 10px; border-radius: 3px; background: #fff; margin-right: auto; }
.mn-nav span { width: 8%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.35); }
.mn-nav i { width: 14%; height: 16px; border-radius: 99px; background: var(--brand); }
.mn-hero { display: grid; gap: 10px; max-width: 70%; }
.mn-h { height: 16px; border-radius: 4px; background: #fff; }
.mn-h--s { width: 70%; background: linear-gradient(90deg, var(--brand-hi), var(--violet)); }
.mn-p { height: 6px; width: 80%; border-radius: 3px; background: rgba(255,255,255,.3); }
.mn-cta { margin-top: 6px; width: 30%; height: 20px; border-radius: 99px; background: var(--brand); }
.mn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; max-height: 34%; }
.mn-cards span { border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.mn-score { position: absolute; right: 5%; bottom: 7%; display: flex; gap: 6px; }
.mn-score li { font-family: var(--f-mono); font-size: clamp(8px, .9vw, 10.5px); color: #6ee7b7; padding: 4px 8px; border-radius: 99px; background: rgba(52,211,153,.14); }

/* 06 · console */
.console { border-radius: 18px; overflow: hidden; background: #0a0e17; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.console__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #10151f; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.console__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3346; } .console__bar span { margin-left: 10px; }
.console__body { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); min-height: 330px; }
.console__eps { padding: 10px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.console__eps button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; min-height: 42px; border-radius: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--text-2); text-align: left; transition: background .2s, color .2s; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.console__eps button:hover { background: rgba(255,255,255,.04); color: var(--text); }
.console__eps button[aria-selected="true"] { background: rgba(1,168,247,.1); color: var(--text); box-shadow: inset 2px 0 0 var(--brand); }
.m { font-style: normal; font-size: 10px; font-weight: 500; min-width: 44px; padding: 2px 0; text-align: center; border-radius: 5px; }
.m--get { color: #6ee7b7; background: rgba(52,211,153,.12); } .m--post { color: #93c5fd; background: rgba(59,130,246,.15); } .m--patch { color: #fcd34d; background: rgba(251,191,36,.13); }
.console__out { padding: 16px 18px; min-width: 0; }
.console__status { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; color: #6ee7b7; margin-bottom: 12px; }
.console__out pre { margin: 0; font-family: var(--f-mono); font-size: 12px; line-height: 1.7; color: #d7deea; white-space: pre-wrap; word-break: break-word; min-height: 250px; }
.console__out .jk { color: var(--brand-hi); } .console__out .js { color: #86efac; } .console__out .jn { color: #fcd34d; } .console__out .jb { color: #c4b5fd; }

/* ---------- 10. Technology ---------- */
.stack-sec { background: var(--ink-2); border-top: 1px solid var(--line); overflow: clip; }
.stack-sec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(70% 60% at 30% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 30% 50%, #000, transparent 75%); pointer-events: none; }
.stack-sec__head { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.stack { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.stack__layers { position: relative; }
.stack__spine { position: absolute; left: 7px; top: 34px; bottom: 34px; width: 1px; background: var(--line-2); overflow: hidden; }
.stack__spine i { position: absolute; left: 0; top: 0; width: 1px; height: 30%; background: linear-gradient(transparent, var(--brand), transparent); transform: translateY(-100%); }
.stack.is-live .stack__spine i { animation: spine 3.2s var(--ease-io) 3; }
.layer-row { position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 0 22px 34px; border-top: 1px solid var(--line); }
.layer-row:last-child { border-bottom: 1px solid var(--line); }
.layer-row::before { content: ""; position: absolute; left: 2px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--ink-2); border: 1.5px solid var(--line-2); transition: border-color .3s, background .3s, box-shadow .3s; }
.layer-row.is-active::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px rgba(1,168,247,.16); }
.layer-row__name { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; }
.layer-row__name span { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; }
.layer-row__items { display: flex; flex-wrap: wrap; gap: 8px; }
.layer-row__items button { position: relative; min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); color: var(--text-2); font-size: .94rem; transition: color .25s, border-color .25s, background .25s, transform .35s var(--ease), box-shadow .35s; }
.layer-row__items button:hover, .layer-row__items button.is-active { color: var(--text); border-color: rgba(1,168,247,.6); background: rgba(1,168,247,.08); transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--brand-glow); }
.stack__readout { position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(1,168,247,.1), rgba(124,92,255,.06) 60%, transparent), var(--ink-3); border: 1px solid var(--line-2); }
.stack__readout-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.stack__readout-name { margin-top: 10px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--text); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.stack__readout-desc { margin-top: 12px; color: var(--text-2); min-height: 4.8em; }
.stack__readout-hint { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.stack__readout.is-flash .stack__readout-name, .stack__readout.is-flash .stack__readout-desc { animation: fadeUp .4s var(--ease) both; }

/* ---------- 11. Work ---------- */
.work__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.filters { position: relative; margin-top: clamp(40px, 5vw, 64px); display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--p-line); max-width: 100%; }
.filters button { position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--p-text); font-weight: 500; font-size: .94rem; transition: color .35s var(--ease); white-space: nowrap; }
.filters button span { font-family: var(--f-mono); font-size: .7rem; opacity: .6; margin-left: 4px; }
.filters button:hover { color: var(--p-ink); }
.filters button[aria-pressed="true"] { color: var(--paper); }
.filters__ind { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--p-ink); transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }
.work-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.work-card { grid-column: span 6; view-transition-class: card; }
.work-card--feature, .work-card--wide { grid-column: span 7; }
.work-card--tall, .work-card--square { grid-column: span 5; }
.work-card--tall .work-card__media { aspect-ratio: 5 / 5.1; }
.work-card--feature .work-card__media { aspect-ratio: 16 / 10.4; }
.work-card--wide .work-card__media { aspect-ratio: 16 / 9.4; }
.work-card--square .work-card__media { aspect-ratio: 5 / 4.4; }
.work-card.is-out { display: none; }
.work-card__link { display: block; }
.work-card__media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--tint, var(--paper-3)); box-shadow: var(--shadow-paper); isolation: isolate; }
.work-card__media img { display: block; width: 100%; height: 100%; }
.work-card__overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: clamp(18px, 2.4vw, 30px); color: #fff; background: linear-gradient(to top, rgba(6,8,13,.92) 0%, rgba(6,8,13,.55) 45%, rgba(6,8,13,0) 75%); opacity: 0; transition: opacity .5s var(--ease); }
.work-card__overlay p { font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.45; max-width: 42ch; transform: translateY(14px); transition: transform .6s var(--ease); }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; transform: translateY(14px); transition: transform .6s var(--ease) .04s; }
.work-card__tags li { font-family: var(--f-mono); font-size: .7rem; padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(255,255,255,.3); }
.work-card__cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 500; padding: 10px 16px; border-radius: 99px; background: #fff; color: var(--p-ink); font-size: .9rem; transform: translateY(14px); transition: transform .6s var(--ease) .08s; }
.work-card__link:hover .work-card__overlay, .work-card__link:focus-visible .work-card__overlay { opacity: 1; }
.work-card__link:hover .work-card__overlay > *, .work-card__link:focus-visible .work-card__overlay > * { transform: none; }
.work-card__link:hover .wc-desk { scale: 1.025; }
.work-card__link:hover .wc-phone { scale: 1.04; }
.work-card__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 18px 4px 0; }
.work-card__idx { font-family: var(--f-mono); font-size: .75rem; color: var(--p-muted); }
.work-card__title { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.03em; transition: color .3s; }
.work-card__link:hover .work-card__title { color: var(--brand-ink); }
.work-card__sum { display: none; grid-column: 1 / -1; font-size: .95rem; color: var(--p-text); line-height: 1.5; }
.work-card__more { display: block; margin-top: 6px; color: var(--brand-ink); font-weight: 500; }
.work-card__cat { font-size: .88rem; color: var(--p-muted); text-align: right; }
.work-card:nth-child(4n+2), .work-card:nth-child(4n+3) { margin-top: 0; }
@media (min-width: 992px) { .work-grid.is-all .work-card:nth-child(even) { margin-top: 72px; } }
.work-empty { grid-column: 1 / -1; }
.work-empty > div { padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--paper-2); border: 1px dashed var(--paper-3); display: grid; justify-items: start; gap: 14px; max-width: 760px; }
.work-empty h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.work-empty p { max-width: 58ch; }
.work-empty .btn { margin-top: 8px; }
.work-empty__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--p-ink); color: var(--brand); }

/* ---------- 12. Process ---------- */
.process { background: var(--ink); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.process__intro .btn { margin-top: 32px; }
.timeline { position: relative; padding-left: 56px; }
.timeline__track { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__track i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--brand), var(--violet)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); border-radius: inherit; }
.tl-step { position: relative; padding-bottom: clamp(44px, 5vw, 64px); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step__dot { position: absolute; left: -56px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line-2); display: grid; place-items: center; transition: border-color .4s, box-shadow .4s; }
.tl-step__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .4s, transform .4s var(--ease); }
.tl-step.is-active .tl-step__dot { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(1,168,247,.12); }
.tl-step.is-active .tl-step__dot::after { background: var(--brand); transform: scale(1.2); }
.tl-step__n { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--muted); transition: color .4s; }
.tl-step h3 { margin-top: 8px; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.035em; color: var(--muted); transition: color .5s; }
.tl-step p { margin-top: 12px; max-width: 54ch; color: var(--muted); transition: color .5s; }
.tl-step__out { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; opacity: .5; transition: opacity .5s; }
.tl-step__out li { font-family: var(--f-mono); font-size: .72rem; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2); }
.tl-step.is-active .tl-step__n { color: var(--brand); }
.tl-step.is-active h3 { color: var(--text); }
.tl-step.is-active p { color: var(--text-2); }
.tl-step.is-active .tl-step__out { opacity: 1; }

/* ---------- 13. Why ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.spec { margin-top: 36px; border-radius: var(--r); background: var(--p-ink); padding: 8px 22px; font-family: var(--f-mono); font-size: .82rem; box-shadow: var(--shadow-paper); }
.spec__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.spec__row:last-child { border-bottom: 0; }
.spec__row span { color: var(--muted); }
.spec__row b { color: #d7deea; font-weight: 400; text-align: right; }
.spec__row b::before { content: "✓ "; color: var(--mint); }
.principles { border-top: 1px solid var(--p-line); }
.principle { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 28px 12px 28px 0; border-bottom: 1px solid var(--p-line); transition: padding .5s var(--ease); }
.principle::before { content: ""; position: absolute; inset: 0 -16px; border-radius: 16px; background: #fff; opacity: 0; transform: scaleY(.9); transition: opacity .4s var(--ease), transform .5s var(--ease); z-index: 0; }
.principle > * { position: relative; z-index: 1; }
.principle:hover::before { opacity: .7; transform: none; }
.principle__n { font-family: var(--f-serif); font-style: italic; font-size: 2.8rem; line-height: 1; color: var(--p-muted); transition: color .4s, transform .5s var(--ease); }
.principle:hover .principle__n { color: var(--brand-ink); transform: translateX(6px); }
.principle h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -.025em; line-height: 1.25; }
.principle p { margin-top: 8px; color: var(--p-text); max-width: 56ch; }

/* ---------- 14. Testimonials ---------- */
.voices { background: var(--ink); overflow: clip; }
.voices::before { content: ""; position: absolute; left: 50%; top: 40%; width: 800px; height: 500px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(124,92,255,.14), transparent); pointer-events: none; }
.voices__head { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.quotes { position: relative; margin-top: clamp(40px, 6vw, 72px); margin-left: auto; max-width: 860px; }
.quotes::before { content: "“"; position: absolute; left: -.55em; top: -.28em; font-family: var(--f-serif); font-size: clamp(8rem, 18vw, 16rem); line-height: 1; color: rgba(1,168,247,.12); pointer-events: none; }
.quotes__viewport { display: grid; }
.q { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; }
.q.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.q blockquote { font-family: var(--f-serif); font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.12; letter-spacing: -.015em; color: var(--text); max-width: 30ch; text-indent: -.4em; }
.q blockquote::before { content: "“"; color: var(--brand); }
.q blockquote::after { content: "”"; color: var(--brand); }
.q figcaption { margin-top: 36px; display: flex; align-items: center; gap: 14px; }
.q__av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .85rem; color: #03121d; background: linear-gradient(135deg, var(--brand-hi), var(--brand)); flex-shrink: 0; }
.q figcaption strong { display: block; color: var(--text); font-weight: 600; }
.q figcaption small { color: var(--muted); font-size: .9rem; }
.quotes__ctrl { margin-top: 44px; display: flex; align-items: center; gap: 18px; }
.quotes__count { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); min-width: 64px; text-align: center; }
.quotes__count span:first-child { color: var(--text); }

/* ---------- 15. Contact & form ---------- */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); overflow: clip; }
.contact__glow { position: absolute; left: -10%; bottom: -30%; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1,168,247,.16), transparent 70%); pointer-events: none; }
.contact__head { position: relative; max-width: 980px; }
.contact__grid { position: relative; margin-top: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.channels { margin-top: 32px; display: grid; gap: 10px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s, transform .4s var(--ease); }
a.channel:hover { border-color: rgba(1,168,247,.5); background: rgba(1,168,247,.05); transform: translateX(4px); }
.channel__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--brand); background: rgba(1,168,247,.1); }
.channel__ic--wa { color: #25d366; background: rgba(37,211,102,.1); }
.channel small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.channel strong { color: var(--text); font-weight: 500; word-break: break-word; }
.channel__go { margin-left: auto; color: var(--muted); }
.next { margin-top: 32px; display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.next li { display: flex; gap: 14px; align-items: baseline; color: var(--text-2); font-size: .95rem; }
.next span { font-family: var(--f-mono); font-size: .72rem; color: var(--brand); width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(1,168,247,.4); display: inline-grid; place-items: center; transform: translateY(-2px); }

.form-card { position: relative; padding: clamp(22px, 3.4vw, 44px); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)), var(--ink-3); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--text); padding: 0; }
.req { color: var(--brand); } .opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.input { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text); font-size: 1rem; transition: border-color .25s, box-shadow .25s, background .25s; }
.input::placeholder { color: #667085; }
.input:hover { border-color: rgba(255,255,255,.25); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(1,168,247,.18); background: #0b1019; }
textarea.input { resize: vertical; min-height: 150px; line-height: 1.55; }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.select select option { background: #0f141f; color: var(--text); }
.select > .icon { position: absolute; right: 16px; top: 50%; margin-top: -.6em; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .25s; }
/* Custom dropdown (assets/js/site.js "Custom dropdowns"): the native select stays in the form, hidden */
.select__native { position: absolute !important; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; pointer-events: none; }
.select__btn { display: flex; align-items: center; text-align: left; padding-right: 44px; cursor: pointer; }
.select__val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__btn.is-placeholder .select__val { color: var(--muted); }
.select__btn:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(1,168,247,.18); background: #0b1019; }
.select.is-open .select__btn { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(1,168,247,.18); background: #0b1019; }
.select.is-open > .icon { transform: rotate(180deg); color: var(--brand); }
.field.is-invalid .select.is-open .select__btn { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(1,168,247,.18); }
.select__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  margin: 0; padding: 6px; list-style: none; max-height: min(360px, 52vh); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)), var(--ink-3);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.25);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center;
  transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.select.is-up .select__list { top: auto; bottom: calc(100% + 8px); transform: translateY(6px) scale(.985); transform-origin: bottom center; }
.select.is-open .select__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.select__opt { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px 10px 14px; border-radius: 10px; color: var(--text-2); font-size: .95rem; line-height: 1.3; cursor: pointer; user-select: none; transition: background .15s, color .15s; }
.select__opt + .select__opt { margin-top: 2px; }
.select__opt.is-placeholder, .select__opt.is-placeholder[aria-selected="true"] { color: var(--muted); font-weight: 400; }
.select__opt.is-placeholder .icon { display: none; }
.select__opt.is-active { background: rgba(1,168,247,.1); color: var(--text); box-shadow: inset 2px 0 0 var(--brand); }
.select__opt[aria-selected="true"] { color: var(--text); font-weight: 500; }
.select__opt .icon { flex-shrink: 0; width: 16px; height: 16px; margin-left: auto; color: var(--brand); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.select__opt[aria-selected="true"] .icon { opacity: 1; transform: none; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select label { position: relative; }
.chips-select input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips-select span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .92rem; transition: all .25s var(--ease); }
.chips-select input:hover + span { border-color: rgba(255,255,255,.3); color: var(--text); }
.chips-select input:checked + span { background: var(--brand); border-color: var(--brand); color: #03121d; font-weight: 500; }
.chips-select input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.field__error { display: none; align-items: center; gap: 6px; font-size: .85rem; color: var(--err); }
.field__error::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: var(--err); color: #1a0505; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.field.is-invalid .field__error { display: inline-flex; }
.field.is-invalid .input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255,123,123,.12); }
.field__meta { display: flex; justify-content: space-between; gap: 12px; min-height: 1.2em; }
.field__count { margin-left: auto; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.form-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot__note { font-size: .84rem; color: var(--muted); max-width: 40ch; }
.form-foot__note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.form-alert { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,123,123,.4); background: rgba(255,123,123,.08); color: #ffd1d1; font-size: .92rem; }
.form-alert a { color: #fff; text-decoration: underline; }
.form-success { text-align: left; display: grid; justify-items: start; gap: 14px; padding: clamp(8px, 2vw, 20px) 0; animation: fadeUp .6s var(--ease) both; }
.form-success:focus { outline: none; }
.form-success__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--mint); background: rgba(52,211,153,.12); }
.form-success__ic .icon { width: 30px; height: 30px; }
.form-success h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; }
.form-success p { max-width: 52ch; }
.form-success a { color: var(--text); text-decoration: underline; }

/* ---------- 16. Footer ---------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); overflow: clip; }
.footer__glow { position: absolute; left: 50%; bottom: -380px; width: 1200px; height: 600px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(1,168,247,.18), transparent); pointer-events: none; }
.footer__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .9fr)) minmax(0, 1.25fr); gap: 40px 32px; }
.footer__brand img { height: 42px; width: auto; }
.footer__brand p { margin-top: 20px; font-size: .95rem; max-width: 40ch; color: var(--text-2); }
.footer__mail { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text); font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.footer__mail:hover { color: var(--brand-hi); border-color: var(--brand); }
.footer__col h2 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col span { font-size: .94rem; color: var(--text-2); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__social { margin-top: 22px; display: flex; gap: 8px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .3s var(--ease); }
.footer__social a:hover { color: #03121d; background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.footer__word { position: relative; margin-top: clamp(56px, 8vw, 104px); font-size: clamp(4.2rem, 19vw, 17rem); font-weight: 700; letter-spacing: -.07em; line-height: .78; padding-bottom: .14em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(1,168,247,.22), transparent 80%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0 32px; margin-top: 8px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.footer__bottom a:hover { color: var(--text); }

.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.06); }

.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(1,168,247,.7); pointer-events: none; opacity: 0; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(1,168,247,.1); border-color: rgba(1,168,247,.35); }
.cursor.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* ---------- 17. Case study ---------- */
.case-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 7vh, 80px)); isolation: isolate; overflow: clip; }
.case-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 0%, var(--tint), transparent 70%), linear-gradient(to top, var(--paper) min(40%, calc(min(94vw, 1160px) * .5)), transparent 0); }
.case-hero__bg::before { content: ""; position: absolute; inset: 0 0 40%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(80% 80% at 70% 0%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 70% 0%, #000, transparent 75%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }
.case-hero__cat { margin-top: 36px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.case-hero__title { margin-top: 14px; font-size: clamp(2.8rem, 8vw, 7rem); line-height: .95; letter-spacing: -.055em; max-width: 14ch; }
.case-hero__lead { margin-top: 24px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 50ch; color: var(--text-2); }
.case-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.case-body { padding-top: clamp(64px, 8vw, 112px); }
.case-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.case-facts { position: sticky; top: calc(var(--nav-h) + 32px); }
.case-facts dl { border-top: 1px solid var(--p-line); }
.case-facts__row { padding: 18px 0; border-bottom: 1px solid var(--p-line); display: grid; gap: 8px; }
.case-facts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.case-facts dd { color: var(--p-ink); font-weight: 500; }
.case-story { display: grid; gap: clamp(48px, 6vw, 80px); }
.case-block__text { font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.4; letter-spacing: -.02em; color: var(--p-ink); max-width: 36ch; }
.scope { border-top: 1px solid var(--p-line); }
.scope li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--p-line); font-size: 1.08rem; color: var(--p-ink); }
.scope__n { font-family: var(--f-mono); font-size: .8rem; color: var(--brand-ink); padding-top: 4px; }
.case-next { background: var(--ink); }
.next-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label go" "title go" "cat go"; gap: 6px 24px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line-2); background: var(--ink-3); overflow: hidden; isolation: isolate; }
.next-card__label { grid-area: label; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.next-card__title { grid-area: title; font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -.05em; color: var(--text); line-height: 1; }
.next-card__cat { grid-area: cat; color: var(--muted); }
.next-card__go { grid-area: go; align-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #03121d; transition: transform .5s var(--ease); }
.next-card__img { position: absolute; right: 120px; top: 50%; width: min(360px, 34%); z-index: -1; border-radius: 14px; overflow: hidden; opacity: 0; transform: translate(30px, -50%) rotate(4deg); transition: opacity .5s var(--ease), transform .7s var(--ease); box-shadow: var(--shadow); }
.next-card:hover .next-card__img { opacity: .9; transform: translate(0, -50%) rotate(-2deg); }
.next-card:hover .next-card__go { transform: rotate(-45deg) scale(1.05); }
.cta-band { margin-top: clamp(64px, 8vw, 112px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band .h-xl { max-width: 16ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 18. Legal & status ---------- */
.legal { padding: calc(var(--nav-h) + clamp(48px, 8vw, 100px)) 0 var(--section); }
.legal__inner { max-width: 820px; }
.legal__updated { margin-top: 16px; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.prose { margin-top: 48px; }
.prose h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 40px 0 12px; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--brand-hi); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.status-page { min-height: 88svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 80px; background: radial-gradient(60% 50% at 50% 0%, rgba(1,168,247,.14), transparent 70%); }
.status-page__inner { max-width: 880px; }
.status-page .lead { margin-top: 24px; }
.status-page__ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--mint); background: rgba(52,211,153,.12); margin-bottom: 28px; }
.status-page__ic .icon { width: 36px; height: 36px; }
.status-page__code { font-family: var(--f-mono); font-size: clamp(4rem, 14vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(1,168,247,.6); margin-bottom: 18px; }
.status-page__actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 19. Motion ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(52,211,153,0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spine { 0% { transform: translateY(-100%); } 100% { transform: translateY(340%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(108%) rotate(3deg); } to { transform: none; } }
@keyframes dash { to { stroke-dashoffset: -200; } }

.js .enter { opacity: 0; animation: enter 1.1s var(--ease) var(--d, 0s) forwards; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }
.reveal-all .enter { opacity: 1; animation: none; }
.reveal-all [data-split] .w > span { transform: none; animation: none; }
.wire { animation: dash 14s linear infinite; }

/* Page transitions (supported browsers only; others navigate normally) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1199px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .switcher { grid-template-columns: 1fr; }
  .switcher__tabs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .switcher__tabs::-webkit-scrollbar { display: none; }
  .switcher__tabs button { flex-shrink: 0; border: 1px solid var(--line); padding: 10px 14px; }
  .switcher__tabs button::before { display: none; }
  .switcher__tabs button[aria-selected="true"] { border-color: rgba(1,168,247,.5); }
  .switcher__screen { transform: none; }
}

@media (max-width: 1023px) {
  :root { --nav-h: 68px; }
  .nav__primary, .nav__cta { display: none; }
  .nav__inner { justify-content: space-between; }
  .nav__logo img { height: 34px; }
  .nav__toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); position: relative; z-index: 101; }
  .nav__toggle-lines { position: relative; width: 20px; height: 12px; }
  .nav__toggle-lines span { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
  .nav__toggle-lines span:first-child { top: 1px; } .nav__toggle-lines span:last-child { top: 9px; }
  .menu-open .nav__toggle-lines span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .nav__toggle-lines span:last-child { top: 5px; transform: rotate(-45deg); }
  .menu-open .nav { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: 14ch; }
  .hero__stage { max-width: 640px; margin: 24px auto 0; width: 94%; }
  .hero__foot-note { display: none; }

  .services__head, .stack-sec__head, .work__head { grid-template-columns: 1fr; gap: 20px; }
  .services__head .lead { justify-self: start; }
  .svc-index { grid-template-columns: repeat(3, 1fr); }
  .svc-index li:nth-child(4) { border-left: 0; }
  .svc-index li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .chapter, .chapter--mobile, .chapter--redesign { grid-template-columns: 1fr; }
  .chapter--mobile .chapter__text, .chapter--redesign .chapter__text { order: -1; }
  .stack { grid-template-columns: 1fr; }
  .stack__readout { position: sticky; top: calc(var(--nav-h) + 10px); order: -1; z-index: 2; padding: 18px 20px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: linear-gradient(160deg, rgba(1,168,247,.14), transparent), rgba(15,20,31,.94); }
  .stack__readout-hint { display: none; }
  .stack__readout-desc { min-height: 3.2em; font-size: .95rem; }
  .process__grid, .why__grid, .contact__grid, .case-grid { grid-template-columns: 1fr; }
  .process__intro, .why__intro, .case-facts { position: static; }
  .about__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .work-card, .work-card--feature, .work-card--wide, .work-card--tall, .work-card--square { grid-column: span 6; }
  .work-card--feature, .work-card--tall, .work-card--wide, .work-card--square { }
  .work-card .work-card__media { aspect-ratio: 16 / 11; }
  .work-card--feature { grid-column: 1 / -1; }
  .work-card--feature .work-card__media { aspect-ratio: 16 / 9.4; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero__kicker { font-size: .7rem; margin-bottom: 22px; }
  .hero__title { font-size: clamp(2.45rem, 11.2vw, 3.6rem); }
  .hero__lead { margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 180px; }
  .hero__caps { margin-top: 28px; gap: 8px 16px; font-size: .68rem; }
  .hero__stage { width: 100%; aspect-ratio: 600 / 470; margin-top: 16px; }
  .stage__code { display: none; }
  .stage__browser { left: 0; width: 88%; }
  .stage__phone { width: 30%; right: 0; bottom: 0; }
  .stage__chip { right: 0; top: -6%; padding: 8px 12px; }
  .stage__ruler, .stage__readout, .stage__wires { display: none; }
  .hero__foot { padding-block: 32px 28px; }

  .about__grid { grid-template-columns: 1fr; }
  .founder { max-width: 320px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--p-line); display: grid; grid-template-columns: 90px auto; grid-template-rows: auto auto; column-gap: 16px; align-items: baseline; }
  .facts dt { grid-row: 1 / span 2; } .facts dd { margin-top: 0; font-size: 2rem; } .facts p { grid-column: 2; margin-top: 0; }
  .approach__flow { grid-template-columns: 1fr; gap: 26px; padding-left: 30px; }
  .approach__flow li { padding-top: 0; }
  .approach__node { left: -30px; top: 5px; }
  .approach__line { left: calc(clamp(28px, 4vw, 48px) + 6px); right: auto; width: 2px; height: auto; top: calc(clamp(28px, 4vw, 48px) + var(--head-h, 120px)); bottom: clamp(28px, 4vw, 48px); }
  .approach__line i { transform: scaleY(0); transform-origin: 50% 0; }
  .approach.is-in .approach__line i { transform: scaleY(1); }
  .about__cta .btn { width: 100%; }

  .svc-index { grid-template-columns: 1fr 1fr; }
  .svc-index li:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .svc-index li:nth-child(-n+2) { border-top: 0; }
  .svc-index li:nth-child(even) { border-left: 1px solid var(--line); }
  .svc-index a { padding: 16px 14px; font-size: .92rem; }
  .ticks--2 { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; font-size: 12px; }
  .dash__side { display: none; }
  .dash__main { padding: 14px; }
  .dash__kpis { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
  .dash__tr { font-size: 11.5px; padding: 9px 10px; gap: 8px; }
  .phones { min-height: 0; padding: 10px 0 40px; }
  .phones .phone { width: 46%; }
  .compare { aspect-ratio: 4 / 3.4; }
  .mn-score { left: 5%; right: auto; }
  .console__body { grid-template-columns: 1fr; }
  .console__eps { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr; }
  .console__out pre { min-height: 220px; font-size: 11.5px; }
  .fidelity { padding: 12px; }

  .layer-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 0 18px 30px; }
  .layer-row::before { top: 26px; margin-top: 0; }
  .layer-row__items button { min-height: 44px; padding: 0 14px; font-size: .9rem; }

  .filters { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; padding-inline: var(--gutter); background: transparent; border: 0; gap: 8px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { border: 1px solid var(--p-line); background: var(--paper-2); flex-shrink: 0; }
  .filters button[aria-pressed="true"] { background: var(--p-ink); border-color: var(--p-ink); }
  .filters__ind { display: none; }
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .work-card, .work-card--feature, .work-card--wide, .work-card--tall, .work-card--square { grid-column: 1 / -1; }
  .work-card .work-card__media, .work-card--feature .work-card__media { aspect-ratio: 16 / 11; }
  .work-card__meta { grid-template-columns: auto 1fr; }
  .work-card__cat { grid-column: 2; text-align: left; margin-top: -8px; }

  .timeline { padding-left: 44px; }
  .tl-step__dot { left: -44px; }
  .principle { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .principle__n { font-size: 2rem; }
  .q blockquote { font-size: clamp(1.6rem, 7.4vw, 2.2rem); text-indent: 0; }

  .form-grid { grid-template-columns: 1fr; }
  .form-card { border-radius: 22px; }
  .form-foot .btn { width: 100%; }
  .channel { padding: 14px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .next-card { grid-template-columns: 1fr; grid-template-areas: "label" "title" "cat" "go"; }
  .next-card__go { margin-top: 16px; width: 52px; height: 52px; }
  .next-card__img { display: none; }
  .cta-band__actions, .case-hero__actions, .status-page__actions { width: 100%; }
  .cta-band__actions .btn, .case-hero__actions .btn, .status-page__actions .btn { flex: 1 1 200px; }
  .scope li { grid-template-columns: 40px minmax(0, 1fr); font-size: 1rem; }
}

@media (max-width: 380px) {
  .hero__actions .btn { flex-basis: 100%; }
  .chrome__url { max-width: 140px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .work-card__overlay { display: none; }
  .work-card__sum { display: block; }
  .cursor { display: none; }
}

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .enter { opacity: 1; transform: none; }
  .js [data-split] .w > span { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__row[aria-hidden="true"], .marquee__row li[aria-hidden="true"] { display: none; }
  .marquee__row { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .layer { transform: none !important; }
  .cursor { display: none; }
  .about__statement .word { opacity: 1 !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Full-width featured project at the top of the grid (Sedos Kitchen). The cards after it keep their 7 + 5 pairing and offset. */
.work-card--hero { grid-column: 1 / -1; }
.work-card--hero .work-card__media { aspect-ratio: 16 / 8; }
@media (min-width: 992px) {
  .work-grid.is-all .work-card--hero ~ .work-card:nth-child(even) { margin-top: 0; }
  .work-grid.is-all .work-card--hero ~ .work-card:nth-child(odd) { margin-top: 72px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .work-card--tall:nth-last-child(2) { grid-column: 1 / -1; }
  .work-card--tall:nth-last-child(2) .work-card__media { aspect-ratio: 16 / 9.4; }
}
@media (max-width: 767px) { .work-card--hero .work-card__media { aspect-ratio: 16 / 11; } }

/* =====================================================================
   22. Project showcase
   Cards, case-study hero, screens explorer, pages & features, lightbox.
   Screenshots keep their real proportions: desktop shots are framed at
   their own 16:10 ratio (never cropped sideways), phone shots sit in a
   device frame, and the full image is always one click away.
   ===================================================================== */

/* ---- Homepage cards: framed desktop shot, phone layered in front ---- */
.work-card__media { --dw: 86%; --pw: 0%; }
.wc-desk {
  position: absolute; left: 7%; top: 50%; translate: 0 -50%; width: var(--dw); aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px -24px rgba(6, 8, 13, .55), 0 0 0 1px rgba(12, 16, 24, .08);
  transition: scale .9s var(--ease);
}
.wc-desk img { object-fit: cover; object-position: top center; }
.wc-phone {
  position: absolute; right: 6%; bottom: 7%; width: var(--pw); aspect-ratio: 860 / 1861; z-index: 1;
  border-radius: 18px; border: 5px solid #0b0f18; overflow: hidden; background: #0b0f18;
  box-shadow: 0 28px 50px -18px rgba(6, 8, 13, .6);
  transform: translateY(calc(var(--par, 0) * .5px)); transition: scale .9s var(--ease);
}
.wc-phone img { object-fit: cover; object-position: top center; }
.work-card.has-phone .work-card__media { --dw: 74%; --pw: 19%; }
.work-card--hero .work-card__media { aspect-ratio: 16 / 7.6; }
.work-card--hero .wc-desk { left: 6%; }
.work-card--hero.has-phone .work-card__media { --dw: 70%; --pw: 18%; }
.work-card--hero .wc-phone { right: 7%; bottom: 6%; }
.work-card--feature.has-phone .work-card__media { --dw: 74%; --pw: 20%; }
/* Tall and square cards: desktop on top, phone overlapping its lower right corner */
.work-card--tall .wc-desk, .work-card--square .wc-desk { top: 7%; translate: none; left: 6%; }
.work-card--tall.has-phone .work-card__media { --dw: 82%; --pw: 33%; }
.work-card--square.has-phone .work-card__media { --dw: 80%; --pw: 28%; }
.work-card--tall .wc-phone, .work-card--square .wc-phone { bottom: 6%; right: 6%; }
.work-card:not(.has-phone) .wc-desk { left: 50%; translate: -50% -50%; }
.work-card--tall:not(.has-phone) .wc-desk, .work-card--square:not(.has-phone) .wc-desk { translate: -50% 0; }
.work-card__overlay { z-index: 2; }

.work-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 4px 0; }
.work-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.work-card__chips li { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .02em; color: var(--p-text); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--p-line); background: rgba(255,255,255,.45); }
.work-card__explore { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .02em; color: var(--brand-ink); }
.work-card__explore .icon { width: 13px; height: 13px; }
.work-card__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: .88rem; font-weight: 500; color: var(--p-ink); border-bottom: 1px solid var(--p-line); transition: color .2s, border-color .2s; }
.work-card__live .icon { width: 14px; height: 14px; }
.work-card__live:hover { color: var(--brand-ink); border-color: currentColor; }

/* ---- Case study hero: smaller, composed desktop + phone ---- */
.case-show { position: relative; max-width: 1000px; margin: clamp(44px, 6vw, 80px) auto 0; }
.case-show--duo { padding-right: 15%; }
.case-show__desk, .case-show__phone { display: block; width: 100%; padding: 0; text-align: left; cursor: zoom-in; position: relative; }
.case-show__desk { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0e1320; box-shadow: 0 50px 110px -40px rgba(0,0,0,.6); }
.case-show__desk img { width: 100%; height: auto; }
.case-show__phone { position: absolute; right: 0; bottom: -5%; width: 22%; border-radius: 26px; border: 7px solid #0b0f18; overflow: hidden; background: #0b0f18; box-shadow: 0 40px 70px -24px rgba(0,0,0,.65); }
.case-show__phone img { width: 100%; height: auto; }
.case-show__zoom, .shot__zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(6, 8, 13, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none;
}
.case-show__zoom .icon, .shot__zoom .icon { width: 18px; height: 18px; }
.case-show__desk:hover .case-show__zoom, .case-show__desk:focus-visible .case-show__zoom,
.shot__btn:hover .shot__zoom, .shot__btn:focus-visible .shot__zoom { opacity: 1; transform: none; }
.case-show__desk:focus-visible, .case-show__phone:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.case-facts__explore a { color: var(--accent, var(--brand-ink)); border-bottom: 1px solid currentColor; }

/* ---- Shared section head ---- */
.h-lg { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.04em; }
.explore-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.explore-head__lead { justify-self: end; max-width: 46ch; font-size: 1.02rem; color: var(--text-2); }
.section--paper .explore-head__lead { color: var(--p-text); }
.case-explore .sec-label span, .case-explore .shot__dev { color: var(--accent, var(--brand-ink)); }

/* ---- Screens explorer ---- */
.case-explore { padding-top: 0; }
.case-explore .container { border-top: 1px solid var(--p-line); padding-top: clamp(56px, 7vw, 96px); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(24px, 3vw, 36px); }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--p-line); background: var(--paper-2); color: var(--p-text); font-size: .92rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.seg button:hover { color: var(--p-ink); border-color: rgba(12,16,24,.3); }
.seg button[aria-pressed="true"] { background: var(--p-ink); border-color: var(--p-ink); color: var(--paper); }
.shots { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 3vw, 40px); }
.shot { min-width: 0; }
.shot[hidden] { display: none; }
.shot--desktop { flex: 1 1 520px; max-width: 820px; }
.shot--mobile { flex: 0 1 240px; }
.shot__btn { position: relative; display: block; width: 100%; padding: 0; text-align: left; cursor: zoom-in; border-radius: 16px; }
.shot__frame { display: block; overflow: hidden; background: #fff; border: 1px solid var(--p-line); border-radius: 14px; box-shadow: var(--shadow-paper); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shot__frame img { width: 100%; height: auto; }
.shot--desktop .shot__frame { max-height: 620px; }
.shot--mobile .shot__frame { border: 6px solid #0b0f18; border-radius: 28px; background: #0b0f18; max-height: 560px; }
.shot__btn:hover .shot__frame { transform: translateY(-4px); box-shadow: 0 40px 70px -34px rgba(12,16,24,.45), 0 2px 6px rgba(12,16,24,.08); }
.shot__btn:focus-visible { outline: 3px solid var(--accent, var(--brand-ink)); outline-offset: 4px; }
.shot__cap { margin-top: 14px; display: grid; gap: 6px; }
.shot__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-weight: 600; font-size: 1.04rem; color: var(--p-ink); letter-spacing: -.01em; }
.shot__dev { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; }
.shot__desc { font-size: .95rem; color: var(--p-muted); max-width: 56ch; line-height: 1.5; }
.section--paper .ticks li { color: var(--p-text); }
.section--paper .ticks li::before { border-color: var(--accent, var(--brand-ink)); }
.shot__feats { margin-top: 10px; }
/* One-page sites: screenshot beside "what's on the page" */
.shots--single .shot--desktop { flex-basis: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.shots--single .shot__cap { margin-top: 0; }

/* ---- Pages & features ---- */
.case-pages { background: var(--ink); }
.tabs { display: inline-flex; gap: 4px; max-width: 100%; padding: 5px; margin-bottom: clamp(24px, 3vw, 36px); border-radius: 999px; border: 1px solid var(--line-2); background: var(--ink-3); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex-shrink: 0; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--text-2); font-weight: 500; font-size: .94rem; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease); }
.tabs button span { font-family: var(--f-mono); font-size: .7rem; opacity: .65; margin-left: 4px; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); }
.tabs button:focus-visible { outline-offset: 2px; }
.pages__panel + .pages__panel { margin-top: 20px; }
.pages__panel[hidden] { display: none; }
.pages__panel:focus-visible { outline-offset: 8px; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s; }
.pcard:hover { border-color: rgba(1,168,247,.35); background: rgba(1,168,247,.03); }
.pcard__top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.pcard__n { font-family: var(--f-mono); font-size: .74rem; color: var(--brand); }
.pcard__title { font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.2; }
.pcard__badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .04em; color: #fcd34d; padding: 4px 9px; border-radius: 999px; background: rgba(251,191,36,.12); }
.pcard__badge .icon { width: 12px; height: 12px; }
.pcard__purpose { font-size: .98rem; color: var(--text-2); line-height: 1.5; }
.pcard .ticks { margin-top: 2px; gap: 8px; }
.pcard .ticks li { font-size: .92rem; }
.pcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pcard__foot .link-arrow { font-size: .92rem; }
.pcard__view { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-size: .88rem; transition: background .25s, border-color .25s, color .25s; }
.pcard__view .icon { width: 15px; height: 15px; }
.pcard__view:hover { background: var(--brand); border-color: var(--brand); color: #03121d; }

.flow { margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(1,168,247,.08), rgba(124,92,255,.04) 55%, transparent), var(--ink-3); }
.flow__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.flow__title { font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.03em; }
.flow__stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.flow__stack > span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.flow__steps { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.flow__steps li { padding-top: 18px; border-top: 2px solid var(--line-2); position: relative; }
.flow__steps li::before { content: ""; position: absolute; left: 0; top: -2px; width: 40px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--violet)); }
.flow__n { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--brand); margin-bottom: 8px; }
.flow__steps strong { display: block; color: var(--text); font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em; margin-bottom: 6px; }
.flow__steps p { font-size: .93rem; color: var(--text-2); line-height: 1.5; }

/* ---- Lightbox (native <dialog>: focus is trapped and Esc closes it) ---- */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 8, 13, .96); color: var(--text-2); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fadeUp .3s var(--ease) both; }
.lb::backdrop { background: rgba(6, 8, 13, .7); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px; }
.lb__count { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
.lb__close, .lb__nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); transition: background .25s, border-color .25s, color .25s; flex-shrink: 0; }
.lb__close:hover, .lb__nav:hover { background: var(--brand); border-color: var(--brand); color: #03121d; }
.lb__nav[disabled] { opacity: .3; pointer-events: none; }
.lb__stage { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); overflow: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.lb__stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); transition: opacity .25s var(--ease); background: #fff; }
.lb__stage img.is-mobile { border: 6px solid #1a2130; border-radius: 26px; }
.lb__stage img.is-loading { opacity: 0; }
.lb__foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px var(--gutter) max(18px, env(safe-area-inset-bottom)); }
.lb__cap { text-align: center; }
.lb__title { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 1.05rem; }
.lb__dev { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-hi); padding: 3px 8px; border: 1px solid rgba(127,212,255,.4); border-radius: 999px; }
.lb__desc { margin: 4px auto 0; font-size: .92rem; max-width: 70ch; }
body.lb-open { overflow: hidden; }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .work-card .work-card__media { --dw: 86%; }
  .work-card.has-phone .work-card__media { --dw: 74%; --pw: 20%; }
  .work-card--tall .wc-desk, .work-card--square .wc-desk { top: 50%; translate: 0 -50%; }
  .work-card--tall:not(.has-phone) .wc-desk, .work-card--square:not(.has-phone) .wc-desk { translate: -50% -50%; }
  .work-card--tall .wc-phone, .work-card--square .wc-phone { bottom: 7%; }
  .work-card--hero .work-card__media { aspect-ratio: 16 / 8.6; }
  .explore-head { grid-template-columns: 1fr; }
  .explore-head__lead { justify-self: start; }
  .flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots--single .shot--desktop { grid-template-columns: 1fr; }
  .shots--single .shot__cap { margin-top: 4px; }
}
@media (max-width: 767px) {
  .work-card--hero .work-card__media, .work-card .work-card__media { aspect-ratio: 16 / 11.5; }
  .work-card .work-card__media { --dw: 86%; }
  .work-card.has-phone .work-card__media, .work-card--hero.has-phone .work-card__media { --dw: 72%; --pw: 22%; }
  .wc-desk { left: 6%; border-radius: 9px; }
  .wc-phone { right: 5%; bottom: 7%; border-width: 3px; border-radius: 12px; }
  .work-card__foot { padding-top: 10px; }
  .work-card__live { margin-left: 0; }

  .case-show--duo { padding-right: 20%; }
  .case-show__desk { border-radius: 12px; }
  .case-show__desk .chrome { height: 26px; }
  .case-show__desk .chrome__url { font-size: 9.5px; height: 16px; line-height: 16px; }
  .case-show__phone { width: 30%; border-width: 4px; border-radius: 16px; bottom: -8%; }
  .case-show__zoom { display: none; }

  /* Screens become a swipeable strip; the next screen peeks in */
  .shots:not(.shots--single) { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .shots:not(.shots--single) .shot { scroll-snap-align: start; }
  .shots:not(.shots--single) .shot--desktop { flex: 0 0 84%; }
  .shots:not(.shots--single) .shot--mobile { flex: 0 0 42%; }
  .shot--mobile .shot__frame { border-width: 4px; border-radius: 20px; max-height: none; }
  .shot--desktop .shot__frame { max-height: none; }
  .seg { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex-shrink: 0; }
  .tabs { display: flex; border-radius: 16px; }
  .flow__steps { grid-template-columns: 1fr; }
  .lb__close, .lb__nav { width: 46px; height: 46px; }
  .lb__foot { gap: 10px; }
  .lb__desc { display: none; }
}
@media (hover: none) {
  .case-show__zoom, .shot__zoom { opacity: 1; transform: none; width: 34px; height: 34px; right: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wc-phone { transform: none; }
}
.case-facts__explore button { color: var(--accent, var(--brand-ink)); border-bottom: 1px solid currentColor; font-weight: 500; }
.sections-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.sections-list li { display: flex; gap: 14px; align-items: baseline; padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); }
.sections-list .flow__n { margin: 0; flex-shrink: 0; }
.sections-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* ---- Case study hero for mobile apps ("kind": "app"): three phones, the middle one in front ---- */
.app-show { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; max-width: 860px; margin: clamp(44px, 6vw, 80px) auto 0; padding-bottom: clamp(28px, 4vw, 56px); }
.app-show__phone { position: relative; display: block; flex: 0 0 auto; width: clamp(150px, 27%, 250px); padding: 0; cursor: zoom-in;
  border-radius: 30px; border: 7px solid #0b0f18; overflow: hidden; background: #0b0f18;
  box-shadow: 0 50px 90px -34px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); transition: translate .6s var(--ease); }
.app-show__phone img { display: block; width: 100%; height: auto; }
.app-show__phone--0 { rotate: -6deg; margin-right: -4%; translate: 0 6%; z-index: 1; }
.app-show__phone--1 { width: clamp(170px, 31%, 290px); z-index: 2; }
.app-show__phone--2 { rotate: 6deg; margin-left: -4%; translate: 0 6%; z-index: 1; }
.app-show__phone:hover { translate: 0 -6px; }
.app-show__phone--0:hover, .app-show__phone--2:hover { translate: 0 calc(6% - 6px); }
.app-show__phone:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (max-width: 600px) {
  .app-show__phone { border-width: 5px; border-radius: 22px; }
  .app-show__phone--0, .app-show__phone--2 { width: 30%; }
  .app-show__phone--1 { width: 38%; }
}
@media (prefers-reduced-motion: reduce) { .app-show__phone { transition: none; } }
/* App cards: the cover is a wide piece of artwork, so keep the whole frame visible in the full-width slot */
.work-card--hero.is-app .work-card__media { --dw: 64%; }
@media (max-width: 767px) { .work-card--hero.is-app .work-card__media { --dw: 88%; } }
/* QR code next to the app's install button (desktop only: on a phone the button is enough) */
.app-qr { display: inline-flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.app-qr img { width: 96px; height: 96px; border-radius: 10px; background: #fff; }
.app-qr p { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; color: var(--text); }
.app-qr span { font-size: .8rem; color: var(--muted); max-width: 18ch; }
.case-hero__actions:has(.app-qr) { align-items: center; }
@media (max-width: 767px), (pointer: coarse) { .app-qr { display: none; } }

/* =====================================================================
   23. Compact desktop
   Desktop only (1024px and up): tighter spacing, smaller type and
   mockups, and a 2-column project grid. Tablet and mobile are untouched.
   ===================================================================== */
@media (min-width: 1024px) {
  :root {
    --container: 1160px;
    --section: clamp(64px, 6.5vw, 100px);
    --nav-h: 64px;
    --r-lg: 18px;
    --r: 14px;
  }
  body { font-size: 15.5px; }

  /* Type */
  .h-display { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
  .h-xl { font-size: clamp(1.85rem, 3vw, 2.7rem); }
  .h-lg { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
  .h-xl + .lead, .h-display + .lead, .h-xl + .reveal.lead { margin-top: 16px; }
  .lead { font-size: 1.02rem; }
  .sec-label { font-size: .72rem; margin-bottom: 16px; }
  .chips li { font-size: .7rem; padding: 4px 9px; }

  /* Buttons */
  .btn { min-height: 44px; padding: 0 20px; font-size: .92rem; gap: 8px; }
  .btn--sm { min-height: 36px; padding: 0 15px; font-size: .85rem; }
  .btn--lg { min-height: 48px; padding: 0 22px; }
  .round-btn { width: 44px; height: 44px; }

  /* Navigation */
  .nav__logo img { height: 32px; }
  .nav__links > li > a, .nav__drop-btn { height: 36px; padding: 0 13px; font-size: .88rem; }
  .nav__indicator { height: 36px; margin-top: -18px; }
  .drop { width: min(600px, 90vw); }
  .drop__item { padding: 11px; gap: 12px; }
  .drop__item strong { font-size: .88rem; }
  .drop__item small { font-size: .76rem; }
  .drop__ic { width: 32px; height: 32px; border-radius: 9px; }
  .drop__foot { padding: 11px; font-size: .8rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 56px); }
  .hero__inner { gap: 56px; }
  .hero__kicker { font-size: .7rem; padding: 6px 12px 6px 10px; margin-bottom: 20px; }
  .hero__title { font-size: clamp(2.4rem, 4.1vw, 3.7rem); }
  .hero__lead { margin-top: 18px; font-size: 1.02rem; max-width: 50ch; }
  .hero__actions { margin-top: 26px; gap: 10px; }
  .hero__caps { margin-top: 26px; font-size: .68rem; gap: 6px 18px; }
  .hero__stage { max-width: 500px; justify-self: end; }
  .stage__chip { font-size: 11px; padding: 8px 12px; }
  .hero__foot { padding-block: 40px 24px; }
  .hero__foot-note { font-size: .84rem; }
  .scroll-cue { font-size: .68rem; }
  .scroll-cue__line { height: 30px; }

  /* Marquee */
  .marquee { padding-block: 14px; }
  .marquee__row li { font-size: 1.25rem; gap: 36px; padding-right: 36px; }
  .marquee__row li::after { width: 6px; height: 6px; }

  /* About */
  .about__statement { font-size: clamp(1.6rem, 2.7vw, 2.4rem); max-width: 26ch; }
  .about__grid { margin-top: 56px; gap: 56px; }
  .founder { max-width: 300px; }
  .founder figcaption strong { font-size: .98rem; }
  .about__text > p { font-size: .98rem; }
  .about__text > p + p { margin-top: 14px; }
  .facts { margin-top: 32px; }
  .facts > div { padding-top: 18px; }
  .facts dd { font-size: 2.1rem; }
  .facts p { font-size: .82rem; }
  .approach { margin-top: 64px; padding: 32px; }
  .approach__head { margin-bottom: 30px; }
  .approach__head h3 { font-size: 1.4rem; }
  .approach__line { left: 32px; right: 32px; top: calc(32px + var(--head-h, 70px) + 6px); }
  .approach__flow { gap: 22px; }
  .approach__flow li { padding-top: 28px; }
  .approach__flow strong { font-size: 1rem; margin-bottom: 6px; }
  .approach__flow p { font-size: .88rem; }
  .about__cta { margin-top: 36px; padding-top: 24px; }
  .about__cta p { font-size: 1.2rem; }

  /* Services */
  .svc-index { margin-top: 44px; }
  .svc-index a { padding: 14px 14px 16px; font-size: .9rem; gap: 6px; }
  .svc-index a span { font-size: .66rem; }
  .chapter { padding-block: 64px; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .chapter--mobile, .chapter--redesign { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .chapter__num { font-size: 3.2rem; margin-bottom: 12px; }
  .chapter__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
  .chapter__lead { margin-top: 14px; font-size: 1rem; }
  .chapter__value { margin-top: 12px; font-size: .9rem; }
  .chapter__built { margin-top: 12px; font-size: .86rem; }
  .ticks { margin-top: 18px; gap: 7px; }
  .ticks li { font-size: .9rem; }
  .chapter .chips { margin-top: 18px; }
  .chapter .link-arrow { margin-top: 20px; font-size: .92rem; }
  .switcher { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
  .switcher__tabs button { padding: 9px 12px 9px 16px; }
  .switcher__tabs button span { font-size: .88rem; }
  .switcher__tabs button small { font-size: .64rem; }
  .dash { grid-template-columns: 136px minmax(0, 1fr); font-size: 12px; }
  .dash__side { padding: 14px 10px; }
  .dash__main { padding: 14px; }
  .dash__kpis strong { font-size: 17px; }
  .dash__tr { padding: 8px 10px; font-size: 11.5px; }
  .phones { min-height: 340px; padding: 10px 0 56px; }
  .phones .phone { width: min(190px, 40%); }
  .console__body { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); min-height: 280px; }
  .console__eps button { min-height: 36px; padding: 8px; font-size: 11px; }
  .console__out pre { min-height: 220px; font-size: 11px; }
  .compare { aspect-ratio: 16 / 10.5; }
  .fidelity { padding: 14px; }
  .fidelity__control { margin-top: 12px; }

  /* Technology */
  .stack-sec__head { margin-bottom: 44px; }
  .layer-row { grid-template-columns: 190px minmax(0, 1fr); padding: 14px 0 14px 32px; }
  .layer-row__name { font-size: .94rem; }
  .layer-row__items { gap: 6px; }
  .layer-row__items button { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: .84rem; }
  .stack__readout { padding: 22px; }
  .stack__readout-name { font-size: 1.7rem; }
  .stack__readout-desc { font-size: .92rem; }

  /* Work: a compact 2-column grid, every card the same size */
  .filters { margin-top: 32px; padding: 4px; }
  .filters button { min-height: 36px; padding: 0 14px; font-size: .86rem; }
  .work-grid { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .work-card, .work-card--hero, .work-card--feature, .work-card--wide, .work-card--tall, .work-card--square { grid-column: span 1; }
  .work-grid.is-all .work-card:nth-child(n), .work-grid.is-all .work-card--hero ~ .work-card:nth-child(n) { margin-top: 0; }
  .work-card .work-card__media, .work-card--hero .work-card__media, .work-card--feature .work-card__media,
  .work-card--wide .work-card__media, .work-card--tall .work-card__media, .work-card--square .work-card__media { aspect-ratio: 16 / 10; }
  .work-card .work-card__media { --dw: 80%; --pw: 0%; }
  .work-card.has-phone .work-card__media, .work-card--hero.has-phone .work-card__media, .work-card--feature.has-phone .work-card__media,
  .work-card--tall.has-phone .work-card__media, .work-card--square.has-phone .work-card__media { --dw: 70%; --pw: 19%; }
  .work-card--hero.is-app .work-card__media { --dw: 80%; }
  .work-card .wc-desk, .work-card--tall .wc-desk, .work-card--square .wc-desk, .work-card--hero .wc-desk { left: 7%; top: 50%; translate: 0 -50%; border-radius: 10px; }
  .work-card:not(.has-phone) .wc-desk, .work-card--tall:not(.has-phone) .wc-desk, .work-card--square:not(.has-phone) .wc-desk { left: 50%; translate: -50% -50%; }
  .work-card .wc-phone, .work-card--hero .wc-phone, .work-card--tall .wc-phone, .work-card--square .wc-phone { right: 6%; bottom: 8%; border-width: 4px; border-radius: 14px; }
  .work-card__overlay { gap: 10px; padding: 22px; }
  .work-card__overlay p { font-size: .92rem; }
  .work-card__cta { padding: 8px 14px; font-size: .84rem; }
  .work-card__meta { padding-top: 14px; gap: 12px; }
  .work-card__title { font-size: 1.3rem; }
  .work-card__cat { font-size: .82rem; }
  .work-card__foot { padding-top: 10px; }
  .work-card__chips li { font-size: .66rem; padding: 3px 8px; }
  .work-card__live { min-height: 30px; font-size: .84rem; }
  .work-empty > div { padding: 40px; }

  /* Process */
  .process__grid, .why__grid { gap: 72px; }
  .process__intro .btn { margin-top: 24px; }
  .timeline { padding-left: 48px; }
  .tl-step { padding-bottom: 40px; }
  .tl-step__dot { left: -48px; width: 22px; height: 22px; }
  .tl-step h3 { font-size: 1.5rem; margin-top: 6px; }
  .tl-step p { margin-top: 8px; font-size: .95rem; }
  .tl-step__out { margin-top: 12px; }
  .tl-step__out li { font-size: .68rem; padding: 4px 9px; }

  /* Why */
  .spec { margin-top: 28px; padding: 4px 18px; font-size: .76rem; }
  .spec__row { padding: 10px 0; }
  .principle { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 20px 12px 20px 0; }
  .principle__n { font-size: 2.2rem; }
  .principle h3 { font-size: 1.2rem; }
  .principle p { margin-top: 6px; font-size: .95rem; }

  /* Testimonials */
  .quotes { margin-top: 44px; max-width: 760px; }
  .quotes::before { font-size: 11rem; }
  .q blockquote { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
  .q figcaption { margin-top: 26px; }
  .q__av { width: 44px; height: 44px; font-size: .78rem; }
  .quotes__ctrl { margin-top: 32px; }

  /* Contact */
  .contact__grid { margin-top: 48px; gap: 56px; }
  .channels { margin-top: 24px; gap: 8px; }
  .channel { padding: 12px 14px; gap: 14px; border-radius: 14px; }
  .channel__ic { width: 38px; height: 38px; border-radius: 10px; }
  .channel strong { font-size: .94rem; }
  .next { margin-top: 24px; padding-top: 22px; gap: 10px; }
  .next li { font-size: .9rem; }
  .form-card { padding: 30px; border-radius: 22px; }
  .form-grid { gap: 16px 14px; }
  .field { gap: 6px; }
  .field label, .field legend { font-size: .85rem; }
  .input { min-height: 44px; padding: 10px 14px; border-radius: 12px; font-size: .94rem; }
  textarea.input { min-height: 120px; }
  .select__opt { min-height: 38px; padding: 8px 12px; font-size: .9rem; }
  .chips-select span { min-height: 36px; padding: 0 13px; font-size: .86rem; }
  .form-foot { margin-top: 22px; }
  .form-foot__note { font-size: .8rem; }

  /* Footer */
  .footer { padding-top: 64px; }
  .footer__top { gap: 32px 28px; }
  .footer__brand img { height: 34px; }
  .footer__brand p { margin-top: 16px; font-size: .9rem; }
  .footer__mail { margin-top: 16px; font-size: 1.1rem; }
  .footer__col h2 { margin-bottom: 14px; font-size: .68rem; }
  .footer__col ul { gap: 8px; }
  .footer__col a, .footer__col span { font-size: .88rem; }
  .footer__social a { width: 36px; height: 36px; border-radius: 10px; }
  .footer__word { margin-top: 56px; font-size: clamp(4rem, 13vw, 11.5rem); }
  .footer__bottom { padding: 20px 0 24px; font-size: .8rem; }
  .wa-float { width: 50px; height: 50px; }
  .wa-float .icon { width: 24px; height: 24px; }

  /* Case study */
  .case-hero { padding-top: calc(var(--nav-h) + 48px); }
  .case-hero__cat { margin-top: 26px; font-size: .72rem; }
  .case-hero__title { margin-top: 10px; font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
  .case-hero__lead { margin-top: 16px; font-size: 1.05rem; }
  .case-hero__actions { margin-top: 24px; gap: 10px; }
  .case-show { max-width: 820px; margin-top: 48px; }
  .case-show__desk { border-radius: 14px; }
  .case-show__phone { border-width: 5px; border-radius: 20px; }
  .app-show { max-width: 640px; margin-top: 48px; padding-bottom: 32px; }
  .app-show__phone { width: clamp(130px, 26%, 190px); border-width: 5px; border-radius: 24px; }
  .app-show__phone--1 { width: clamp(150px, 30%, 220px); }
  .app-qr img { width: 76px; height: 76px; }
  .case-body { padding-top: 72px; }
  .case-grid { gap: 64px; }
  .case-facts__row { padding: 14px 0; gap: 6px; }
  .case-facts dd { font-size: .95rem; }
  .case-story { gap: 52px; }
  .case-block__text { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
  .scope li { padding: 14px 0; font-size: .98rem; grid-template-columns: 48px minmax(0, 1fr); }
  .case-explore .container { padding-top: 64px; }
  .explore-head { margin-bottom: 28px; }
  .explore-head__lead { font-size: .95rem; }
  .seg { margin-bottom: 24px; }
  .seg button, .tabs button { min-height: 36px; padding: 0 14px; font-size: .86rem; }
  .tabs { padding: 4px; margin-bottom: 24px; }
  .shots { gap: 28px; }
  .shot--desktop { flex: 1 1 420px; max-width: 640px; }
  .shot--mobile { flex: 0 1 190px; }
  .shot--desktop .shot__frame { max-height: 480px; }
  .shot--mobile .shot__frame { max-height: 420px; border-width: 5px; border-radius: 22px; }
  .shot__cap { margin-top: 10px; }
  .shot__title { font-size: .96rem; }
  .shot__desc { font-size: .88rem; }
  .pcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
  .pcard { padding: 18px; gap: 10px; }
  .pcard__title { font-size: 1.05rem; }
  .pcard__purpose { font-size: .9rem; }
  .pcard .ticks li { font-size: .86rem; }
  .pcard__foot { padding-top: 12px; }
  .pcard__view { min-height: 34px; padding: 0 12px; font-size: .82rem; }
  .sections-list li { padding: 14px 16px; font-size: .94rem; }
  .flow { margin-top: 56px; padding: 28px; }
  .flow__title { font-size: 1.4rem; }
  .flow__steps { margin-top: 22px; gap: 20px; }
  .flow__steps strong { font-size: .98rem; }
  .flow__steps p { font-size: .88rem; }
  .next-card { padding: 32px 36px; border-radius: 22px; }
  .next-card__title { font-size: clamp(1.8rem, 3.4vw, 3rem); }
  .next-card__go { width: 52px; height: 52px; }
  .next-card__img { width: min(280px, 30%); right: 100px; }
  .cta-band { margin-top: 64px; }
  .lb__close, .lb__nav { width: 44px; height: 44px; }

  /* Legal & status pages */
  .legal { padding-top: calc(var(--nav-h) + 56px); }
  .prose { margin-top: 36px; }
  .prose h2 { font-size: 1.2rem; margin: 32px 0 10px; }
  .status-page { min-height: 70svh; }
  .status-page__code { font-size: clamp(4rem, 9vw, 6.5rem); }
}
