/* =========================================================
   VED Automations | Products in development, services open
   Mobile-first. Vanilla CSS. Brand: VED orange on warm near-black.
   ========================================================= */

/* ---------- 0. Metric-matched fallback fonts (prevent layout shift) ---------- */
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 400; size-adjust: 100.4%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 500 700; size-adjust: 97.6%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 400; font-style: italic; size-adjust: 77.8%; }

/* ---------- 1. Tokens ---------- */
:root {
  --orange: #FE491C;
  --orange-rgb: 254, 73, 28;
  --orange-ink: #C2350E;
  --amber: #FFB547;
  --green: #3DDC97;
  --ivory: #E7E4DC;
  --ivory-rgb: 231, 228, 220;
  --paper: #F1EEE7;
  --black: #0B0908;
  --charcoal: #12100E;
  --surface: #161311;
  --surface-2: #1C1815;
  --ink: #1A1715;
  --ink-muted: #4A4541;
  --text: #F4F1EA;
  --text-muted: rgba(var(--ivory-rgb), .68);
  --text-faint: rgba(var(--ivory-rgb), .5);
  --line: rgba(var(--ivory-rgb), .11);
  --line-2: rgba(var(--ivory-rgb), .18);
  --line-light: rgba(26, 23, 21, .13);

  --font-sans: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(18px, 5vw, 48px);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --header-h: 76px;
  --section-y: clamp(88px, 11vw, 150px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); background: var(--black); color-scheme: dark; }
body { min-height: 100vh; background: var(--black); color: var(--text); font: 400 1.0625rem/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.032em; text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--orange); }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2A2420; border-radius: 10px; border: 2px solid var(--black); }
::-webkit-scrollbar-thumb:hover { background: #3A302A; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--orange); color: var(--black); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--orange), var(--amber)); }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.kicker .idx { letter-spacing: 0; padding: 3px 8px; border: 1px solid rgba(var(--orange-rgb), .4); border-radius: 6px; }
.col-label { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); display: flex; align-items: center; gap: 8px; }
.col-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .8; }

.glass {
  background: linear-gradient(180deg, rgba(var(--ivory-rgb), .07), rgba(var(--ivory-rgb), .02));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(var(--ivory-rgb), .08);
}
.pip { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.pip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2.2s var(--ease) infinite; }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 18px 40px -16px rgba(var(--orange-rgb), .95); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(var(--ivory-rgb), .6); background: rgba(var(--ivory-rgb), .05); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn[disabled] { opacity: .7; cursor: progress; box-shadow: none; }

/* ---------- 4. Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 12px var(--gutter) 0; pointer-events: none; }
.header-shell {
  pointer-events: auto; position: relative;
  width: min(1200px, 100%); margin-inline: auto; height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 0 8px 0 8px; border-radius: 999px; border: 1px solid transparent;
  transition: width .6s var(--ease), background-color .4s, border-color .4s, box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.site-header.is-scrolled .header-shell, .site-header.is-open .header-shell {
  width: min(1120px, 100%);
  background: rgba(18, 16, 14, .72); border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(var(--ivory-rgb), .06);
}
.header-logo { justify-self: start; display: inline-flex; align-items: center; border-radius: 50%; }
.header-logo img { width: 56px; height: 56px; transition: transform .8s var(--ease); }
.header-logo:hover img { transform: rotate(-12deg) scale(1.05); }
.header-nav { display: none; }
.header-nav ul { display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.header-nav a { position: relative; display: block; padding: 8px 13px; border-radius: 999px; font-size: .9rem; white-space: nowrap; font-weight: 500; text-decoration: none; color: var(--text-muted); transition: color .25s, background-color .25s; }
.header-nav a:hover { color: var(--text); }
.header-nav a.is-active { color: var(--text); background: rgba(var(--ivory-rgb), .08); }
.header-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-status { display: none; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.header-actions .btn-sm { display: none; }

.menu-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(18, 16, 14, .6); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-toggle i { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu { pointer-events: auto; position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 28px) var(--gutter) 32px; background: rgba(11, 9, 8, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu ol { display: grid; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-size: clamp(1.6rem, 7.4vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; text-decoration: none; transform: translateY(100%); transition: transform .7s var(--ease), color .2s; }
.mobile-menu a span { font-family: var(--font-mono); font-size: .8rem; font-weight: 400; color: var(--orange); letter-spacing: 0; }
.mobile-menu a:hover { color: var(--orange); }
.site-header.is-open .mobile-menu a { transform: none; }
.site-header.is-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.site-header.is-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.site-header.is-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.site-header.is-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.site-header.is-open .mobile-menu li:nth-child(6) a { transition-delay: .25s; }
.site-header.is-open .mobile-menu li:nth-child(7) a { transition-delay: .3s; }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu-foot p { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); }

@media (min-width: 640px) { .header-actions .btn-sm { display: inline-flex; } }
@media (min-width: 1120px) {
  .header-nav { display: block; grid-column: 2; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 1380px) { .header-status { display: inline-flex; } }
@media (max-width: 480px) { .site-header { padding-top: 8px; } .header-shell { height: 58px; } .header-logo img { width: 48px; height: 48px; } }

/* ---------- 5. Ambient light ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.g1 { width: 620px; height: 620px; top: -240px; right: -140px; background: radial-gradient(circle, rgba(var(--orange-rgb), .7), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 480px; height: 480px; bottom: -200px; left: -180px; background: radial-gradient(circle, rgba(164, 3, 0, .65), transparent 70%); animation: drift 24s ease-in-out infinite alternate-reverse; }
.g3 { width: 700px; height: 440px; top: 6%; left: 50%; margin-left: -350px; background: radial-gradient(circle, rgba(var(--orange-rgb), .3), transparent 70%); }
.g4 { width: 900px; height: 500px; top: -260px; left: 50%; margin-left: -450px; background: radial-gradient(circle, rgba(var(--orange-rgb), .45), transparent 70%); }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(var(--ivory-rgb), .04) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ivory-rgb), .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
}
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- 6. Hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 0; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(44px, 6vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.18fr .82fr; } }

.hero-label { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); background: rgba(var(--ivory-rgb), .03); }
.hero-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { margin-top: 26px; font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--text-muted); }
.lead strong { color: var(--text); font-weight: 600; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.status-chips { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; color: var(--text-muted); }
.status-chips li { display: inline-flex; align-items: center; gap: 10px; }
.status-chips b { color: var(--text); font-weight: 600; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease) infinite; }
.pulse-amber { background: var(--amber); }
.pulse-green { background: var(--green); }

/* Hero entrance choreography: words blur in, then supporting elements */
.js .split .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.22em); animation: blurIn .6s var(--ease) forwards; animation-delay: var(--d); }
.js .hero-in { opacity: 0; transform: translateY(12px); animation: riseIn .6s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes blurIn { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* Build console */
.console { border-radius: var(--radius-lg); overflow: hidden; }
.console-bar, .frame-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); }
.console-bar i, .frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--ivory-rgb), .16); }
.console-bar span, .frame-bar span { margin-left: 10px; }
.console-live { margin-left: auto; font-weight: 500; color: var(--green); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; display: inline-flex; align-items: center; gap: 6px; }
.console-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.4s steps(2) infinite; }
.build-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.build-list li:hover { background: rgba(var(--ivory-rgb), .03); }
.build-name { font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.build-name span { color: var(--orange); }
.build-list p { grid-column: 1; font-size: .88rem; color: var(--text-muted); }
.build-state, .tag { grid-column: 2; grid-row: 1; align-self: center; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); padding: 4px 9px; border: 1px solid rgba(255, 181, 71, .32); border-radius: 6px; white-space: nowrap; background: rgba(255, 181, 71, .05); }
.build-bar { grid-column: 1 / -1; margin-top: 10px; height: 2px; border-radius: 2px; background: rgba(var(--ivory-rgb), .07); overflow: hidden; position: relative; }
.build-bar i { position: absolute; top: 0; bottom: 0; width: 35%; background: linear-gradient(90deg, transparent, var(--orange), transparent); animation: scan 2.4s ease-in-out infinite; }
.build-list li:nth-child(2) .build-bar i { animation-delay: .5s; }
.build-list li:nth-child(3) .build-bar i { animation-delay: 1s; }
@keyframes scan { from { left: -35%; } to { left: 100%; } }
@keyframes blink { 50% { opacity: .2; } }

.countdown-block { padding: 20px 22px 22px; }
.countdown-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.countdown-title time { color: var(--text); }
.countdown { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.unit { padding: 12px 6px; text-align: center; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.num { display: block; font-family: var(--font-mono); font-size: clamp(1.4rem, 3vw, 1.8rem); font-variant-numeric: tabular-nums; line-height: 1.1; }
.lbl { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.countdown-live { margin-top: 12px; color: var(--green); font-weight: 600; }

/* Tech marquee */
.stack-marquee { position: relative; z-index: 1; margin-top: clamp(64px, 9vw, 110px); border-block: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.stack-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. Section heads ---------- */
.section-head { max-width: 780px; }
.section-head h2 { margin-top: 20px; font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.section-copy { margin-top: 18px; color: var(--text-muted); font-size: 1.08rem; max-width: 38em; }
.section-copy a { color: var(--text); text-underline-offset: 3px; }
@media (min-width: 900px) {
  .section-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
  .section-head-split .section-copy { margin-top: 0; }
}

/* Scroll reveal (varied: headings clip up, cards rise, art scales) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal-scale { opacity: 0; transform: translateY(20px) scale(.94); transition: opacity .55s var(--ease), transform .75s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal-scale.is-in { opacity: 1; transform: none; }
.js .reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal-left.is-in { opacity: 1; transform: none; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-clip { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path .75s var(--ease), transform .75s var(--ease); }
.js .reveal-clip.is-in { clip-path: inset(0 0 -10% 0); transform: none; }

/* ---------- 8. Products ---------- */
.products { position: relative; isolation: isolate; padding: var(--section-y) 0; }
.products .wrap { position: relative; z-index: 1; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4); }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(var(--ivory-rgb), .1); }
.frame img { width: 100%; }
.illustrative-note { margin-top: 28px; font-size: .82rem; color: var(--text-faint); }

/* ---------- 9. Waitlist ---------- */
.waitlist { padding: 0 0 var(--section-y); }
.waitlist-card { position: relative; overflow: hidden; display: grid; gap: 32px; align-items: center; padding: clamp(32px, 5.5vw, 68px); border-radius: var(--radius-lg); background: var(--orange); color: var(--ink); }
@media (min-width: 900px) { .waitlist-card { grid-template-columns: 1fr 1fr; gap: 56px; } }
.waitlist-rings { position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; pointer-events: none; }
.waitlist-rings circle { fill: none; stroke: rgba(26, 23, 21, .16); stroke-width: 1; }
.waitlist-rings .orbit { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 40 780; animation: orbit 9s linear infinite; transform-origin: 200px 200px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.waitlist-copy, .waitlist-form { position: relative; }
.kicker-ink { color: var(--ink); opacity: .8; }
.waitlist h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.waitlist h2 em { color: var(--ink); }
.waitlist-copy p:last-child { margin-top: 16px; color: rgba(26, 23, 21, .82); max-width: 30em; }
.notify { display: flex; flex-direction: column; gap: 10px; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .3); border: 1px solid rgba(26, 23, 21, .14); transition: background-color .3s, box-shadow .3s; }
.notify:focus-within { background: rgba(255, 255, 255, .45); box-shadow: 0 20px 40px -24px rgba(26, 23, 21, .6); }
@media (min-width: 520px) { .notify { flex-direction: row; border-radius: 999px; } }
.notify input[type="email"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 1rem; }
.notify input::placeholder { color: rgba(26, 23, 21, .5); }
.notify input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.notify input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #7A0200; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 1.5em; margin-top: 12px; font-size: .92rem; font-weight: 500; }
.status.is-ok { color: var(--ink); }
.status.is-err { color: #5C0100; }
.consent, .nojs-note { margin-top: 6px; font-size: .82rem; color: rgba(26, 23, 21, .72); }
.waitlist :focus-visible { outline-color: var(--ink); }

/* ---------- 10. Services (animated cards) ---------- */
.services { position: relative; padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.svc-index { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-index a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text-muted); text-decoration: none; transition: all .25s; }
.svc-index a:hover { color: var(--text); border-color: rgba(var(--orange-rgb), .5); background: rgba(var(--orange-rgb), .06); }
.svc-list { margin-top: 32px; display: grid; gap: 20px; }

.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--orange-rgb), .09), transparent 45%); }
.spot:hover::before { opacity: 1; }

.svc { border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(var(--ivory-rgb), .028), rgba(var(--ivory-rgb), .01)); overflow: hidden; transition: border-color .4s; }
.svc:hover { border-color: var(--line-2); }
.svc-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 22px clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--line); background: rgba(var(--ivory-rgb), .02); }
.svc-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-family: var(--font-mono); font-size: .8rem; color: var(--orange); background: rgba(var(--orange-rgb), .08); border: 1px solid rgba(var(--orange-rgb), .25); }
.svc-head h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.svc-tag { font-size: .92rem; color: var(--orange); margin-top: 2px; }
.svc-price { grid-column: 1 / -1; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.svc-price small { margin-right: 6px; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
@media (min-width: 640px) { .svc-head { grid-template-columns: auto 1fr auto; } .svc-price { grid-column: auto; text-align: right; } }

.svc-body { display: grid; }
.svc-col { padding: 26px clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--line); }
.svc-col > p:not(.col-label) { margin-top: 12px; color: var(--text-muted); font-size: .97rem; }
.svc-col .col-label + .chips, .svc-col p + .col-label { margin-top: 22px; }
.svc-art { padding: 22px; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 40%, rgba(var(--orange-rgb), .05), transparent 70%); }
@media (min-width: 980px) {
  .svc-body { grid-template-columns: 1.05fr .85fr 1.1fr; }
  .svc-col { border-bottom: 0; border-right: 1px solid var(--line); }
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips li { padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); background: rgba(var(--ivory-rgb), .02); }
.checks { margin-top: 14px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(var(--orange-rgb), .12); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 6px; height: 3.5px; border-left: 1.6px solid var(--orange); border-bottom: 1.6px solid var(--orange); transform: rotate(-45deg); }

/* ---- Illustration language (line art, animated only while visible) ---- */
.ill { width: 100%; max-width: 400px; height: auto; overflow: visible; }
.ill * { animation-play-state: paused !important; }
.is-playing .ill * { animation-play-state: running !important; }
.ill text { font-family: var(--font-mono); font-size: 8.5px; font-weight: 500; letter-spacing: .08em; fill: rgba(var(--ivory-rgb), .55); }
.ill .t-big { font-family: var(--font-sans); font-size: 17px; font-weight: 700; letter-spacing: 0; fill: var(--orange); }
.ill .t-acc { fill: var(--orange); }
.ill .t-strong { fill: var(--text); font-weight: 500; }
.ill .t-green { fill: var(--green); font-size: 7.5px; }
.ill .t-sm { font-size: 7px; }
.ill .bx { fill: var(--surface); stroke: rgba(var(--ivory-rgb), .2); stroke-width: 1.1; }
.ill .sf { fill: rgba(var(--ivory-rgb), .12); }
.ill .sf2 { fill: rgba(var(--ivory-rgb), .06); stroke: rgba(var(--ivory-rgb), .14); }
.ill .ln { fill: none; stroke: rgba(var(--ivory-rgb), .26); stroke-width: 1.2; }
.ill .dash { stroke-dasharray: 4 5; animation: dashMove 1s linear infinite; }
.ill .pk { fill: var(--orange); filter: drop-shadow(0 0 4px rgba(var(--orange-rgb), .9)); }
.ill .acf { fill: var(--orange); }
.ill .ink { fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill .ok { fill: var(--green); }
.ill .ring { fill: none; stroke: rgba(var(--orange-rgb), .55); stroke-width: 1.2; stroke-dasharray: 3 7; }
.ill .spin { transform-box: fill-box; transform-origin: center; animation: spin 12s linear infinite; }
.ill .core { fill: rgba(var(--orange-rgb), .1); stroke: var(--orange); stroke-width: 1.5; animation: breathe 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ill .core-box { fill: rgba(var(--orange-rgb), .07); stroke: var(--orange); stroke-width: 1.3; }
.ill .bar { fill: var(--orange); transform-box: fill-box; transform-origin: bottom; animation: barz 2.4s var(--ease) infinite; }
.ill .r2 { animation-delay: .2s; opacity: .8; } .ill .r3 { animation-delay: .4s; opacity: .65; } .ill .r4 { animation-delay: .6s; opacity: .5; } .ill .r5 { animation-delay: .8s; opacity: .35; }
.ill .blink { fill: var(--green); animation: blink 1.6s steps(2) infinite; }
.ill .b2 { animation-delay: .4s; } .ill .b3 { animation-delay: .8s; } .ill .b4 { animation-delay: 1.2s; }
.ill .pop { transform-box: fill-box; transform-origin: center; animation: popCycle 4.8s var(--ease) infinite; }
.ill .p1 { animation-delay: .3s; } .ill .p2 { animation-delay: 1.1s; } .ill .p3 { animation-delay: 1.9s; }
.ill .col { fill: rgba(var(--ivory-rgb), .02); stroke: rgba(var(--ivory-rgb), .09); }
.ill .deal { fill: rgba(var(--orange-rgb), .12); stroke: var(--orange); stroke-width: 1.2; }
.ill .mover { animation: dealMove 6s var(--ease-io) infinite; }
.ill .fill { fill: var(--orange); }
.ill .grow { transform-box: fill-box; transform-origin: left; animation: grow 6s var(--ease-io) infinite; }
.ill .live-dot { fill: var(--green); animation: blink 1.4s steps(2) infinite; }
.ill .msg { opacity: 0; }
.ill .m1 { animation: msgUser 6s var(--ease) infinite; }
.ill .typing { animation: msgTyping 6s var(--ease) infinite; }
.ill .reply { animation: msgReply 6s var(--ease) infinite; }
.ill .td { fill: rgba(var(--ivory-rgb), .6); animation: typing 1s ease-in-out infinite; }
.ill .d2 { animation-delay: .15s; } .ill .d3 { animation-delay: .3s; }
.ill .chip-acc { fill: rgba(var(--orange-rgb), .14); stroke: rgba(var(--orange-rgb), .6); }
.ill .draw { fill: rgba(var(--ivory-rgb), .75); transform-box: fill-box; transform-origin: left; animation: drawX 6s var(--ease) infinite; }
.ill .draw.w2 { animation-delay: .15s; } .ill .draw.w3 { animation-delay: .3s; fill: rgba(var(--ivory-rgb), .2); }
.ill .cta { fill: var(--orange); }
.ill .rise { animation: riseCycle 6s var(--ease) infinite; }
.ill .rise.r2 { animation-delay: .25s; } .ill .rise.r3 { animation-delay: .4s; } .ill .rise.r4 { animation-delay: .55s; }
.ill .cursor path { fill: var(--text); stroke: var(--black); stroke-width: 1; }
.ill .cursor { animation: cursorMove 6s var(--ease) infinite; }
.ill .ripple { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ripple 6s ease-out infinite; }
.ill .funnel { fill: rgba(var(--orange-rgb), .06); stroke: var(--orange); stroke-width: 1.3; stroke-linejoin: round; }

@keyframes dashMove { to { stroke-dashoffset: -18; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes barz { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes popCycle { 0%, 6% { opacity: 0; transform: scale(.7); } 14%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.95); } }
@keyframes dealMove { 0% { transform: translate(0, 0); opacity: 0; } 6%, 20% { transform: translate(0, 0); opacity: 1; } 34%, 50% { transform: translate(114px, 0); } 64%, 86% { transform: translate(228px, 0); opacity: 1; } 96%, 100% { transform: translate(228px, 0); opacity: 0; } }
@keyframes grow { 0%, 10% { transform: scaleX(.12); } 40% { transform: scaleX(.45); } 70%, 90% { transform: scaleX(.92); } 100% { transform: scaleX(.12); } }
@keyframes msgUser { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes msgTyping { 0%, 16% { opacity: 0; } 20%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes msgReply { 0%, 46% { opacity: 0; transform: translateY(8px); } 54%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes typing { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes drawX { 0%, 4% { transform: scaleX(0); } 20%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes riseCycle { 0%, 12% { opacity: 0; transform: translateY(10px); } 26%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes cursorMove { 0%, 20% { transform: translate(300px, 214px); } 48% { transform: translate(78px, 128px); } 52% { transform: translate(78px, 128px) scale(.85); } 56%, 80% { transform: translate(78px, 128px); } 100% { transform: translate(300px, 214px); } }
@keyframes ripple { 0%, 51% { opacity: 0; transform: scale(.4); } 53% { opacity: 1; } 70%, 100% { opacity: 0; transform: scale(2.6); } }

.services-foot { margin-top: 36px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .services-foot { grid-template-columns: 1fr auto; gap: 48px; } }
.services-foot p { font-size: .9rem; color: var(--text-faint); max-width: 44em; }
.services-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. Industries (tabs + animated workflow) ---------- */
.industries { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.ind { margin-top: 52px; display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, rgba(var(--ivory-rgb), .028), rgba(var(--ivory-rgb), .01)); }
.ind-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tab { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: .92rem; font-weight: 500; color: var(--text-muted); text-align: left; cursor: pointer; transition: color .25s, background-color .25s, border-color .25s; }
.ind-tab span { font-family: var(--font-mono); font-size: .7rem; color: var(--text-faint); transition: color .25s; }
.ind-tab:hover { color: var(--text); }
.ind-tab[aria-selected="true"] { color: var(--text); background: rgba(var(--orange-rgb), .08); border-color: rgba(var(--orange-rgb), .4); }
.ind-tab[aria-selected="true"] span { color: var(--orange); }
@media (min-width: 980px) {
  .ind { grid-template-columns: 330px 1fr; }
  .ind-tabs { flex-direction: column; overflow: visible; padding: 14px; border-bottom: 0; border-right: 1px solid var(--line); }
  .ind-tab { border-color: transparent; padding: 12px 14px; }
  .ind-tab[aria-selected="true"] { box-shadow: inset 2px 0 0 var(--orange); }
}
.ind-panels { position: relative; min-width: 0; display: grid; }
.ind-panel:not([hidden]) { align-self: center; }
.ind-panel { padding: clamp(26px, 4vw, 48px); animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.ind-name { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.ind-panel h3 { margin-top: 14px; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 18em; }
.ind-desc { margin-top: 14px; color: var(--text-muted); max-width: 36em; }

.flow { position: relative; margin-top: 40px; padding: 28px clamp(10px, 2vw, 24px); border: 1px dashed var(--line-2); border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.flow ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.node { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); animation: nodeOn 4s var(--ease) infinite; animation-delay: calc(var(--i) * 1s); }
.node b { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; }
.node::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 1px solid var(--orange); opacity: 0; animation: nodeRing 4s ease-out infinite; animation-delay: calc(var(--i) * 1s); }
.node-label { font-size: .88rem; font-weight: 500; color: var(--text-muted); }
.flow-track { position: absolute; left: calc(12.5% + 12px); right: calc(12.5% + 12px); top: 54px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.flow-track i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px 2px rgba(var(--orange-rgb), .8); animation: travel 4s linear infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 75% { left: calc(100% - 8px); opacity: 1; } 82%, 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes nodeOn { 0%, 30% { background: var(--orange); color: var(--black); border-color: var(--orange); box-shadow: 0 10px 30px -8px rgba(var(--orange-rgb), .8); } 45%, 100% { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: none; } }
@keyframes nodeRing { 0% { opacity: .9; transform: scale(.9); } 35%, 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 520px) { .node { width: 42px; height: 42px; border-radius: 13px; } .flow-track { top: 49px; } .node-label { font-size: .76rem; } }

.ind-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ind-foot .col-label { width: 100%; }
.chips-link { margin-top: 0; }
.chips-link a { display: block; text-decoration: none; transition: color .2s; }
.chips-link li { transition: border-color .2s, background-color .2s; }
.chips-link li:hover { border-color: rgba(var(--orange-rgb), .5); background: rgba(var(--orange-rgb), .06); }
.chips-link li:hover a { color: var(--text); }
.ind-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange); text-decoration: none; }
.ind-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.ind-cta:hover svg { transform: translateX(4px); }

/* ---------- 14. Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); background: var(--charcoal); }
.site-footer > .wrap { position: relative; z-index: 1; }

.footer-grid { display: grid; gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-logo img { width: 112px; height: 112px; }
.footer-brand p { margin-top: 16px; max-width: 24em; color: var(--text-muted); font-size: .95rem; }
.footer-status { display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: .72rem !important; letter-spacing: .04em; white-space: nowrap; }
.footer-col h2 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.footer-col ul { margin-top: 18px; display: grid; gap: 10px; font-size: .95rem; }
.footer-col a { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-muted); transition: color .2s, transform .3s var(--ease); }
.footer-col a:hover { color: var(--text); transform: translateX(3px); }
.footer-col small { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); padding: 1px 6px; border: 1px solid rgba(255, 181, 71, .3); border-radius: 4px; }

.footer-wordmark { position: relative; z-index: 1; overflow: hidden; line-height: .8; padding-top: 1vw; user-select: none; }
.footer-wordmark span { display: block; text-align: center; white-space: nowrap; font-size: clamp(2.2rem, 12.6vw, 13rem); font-weight: 700; letter-spacing: -.06em; transform: translateY(18%);
  color: transparent; -webkit-text-stroke: 1px rgba(var(--ivory-rgb), .14);
  background: linear-gradient(180deg, rgba(var(--orange-rgb), .9), rgba(var(--orange-rgb), 0) 80%); -webkit-background-clip: text; background-clip: text;
  background-size: 100% 0%; background-repeat: no-repeat; background-position: bottom; transition: background-size 1.4s var(--ease); }
.footer-wordmark.is-in span { background-size: 100% 100%; }

.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--text-faint); }
.footer-base #ist-clock { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.to-top svg { width: 30px; height: 30px; padding: 7px; border: 1px solid var(--line-2); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s; }
.to-top:hover { color: var(--text); }
.to-top:hover svg { transform: translateY(-3px); background: var(--orange); border-color: var(--orange); color: var(--black); }

/* ---------- 15. Small screens & reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-clip, .js .reveal-scale, .js .reveal-left, .js .hero-in, .js .split .w { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
  .ill .msg.reply, .ill .msg.m1, .ill .pop, .ill .rise { opacity: 1; }
  .ill .typing, .ill .cursor, .ill .ripple { opacity: 0; }
}

/* =========================================================
   v3 additions: smooth scroll, technology, approach, FAQ, project form
   ========================================================= */

/* ---------- Smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis, .lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
[data-speed] { will-change: transform; }

/* ---------- Logo glyph (monochrome, brand colour on hover) ---------- */
.tl { display: inline-block; flex: none; width: 22px; height: 22px; background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; transition: background-color .3s, transform .4s var(--ease); }
.tl-mono { -webkit-mask: none; mask: none; background: none; display: inline-grid; place-items: center; border: 1.6px solid currentColor; border-radius: 6px; font: 700 12px/1 var(--font-mono); }

/* Hero logo marquee */
.marquee-track li { display: flex; align-items: center; gap: 10px; padding: 22px 34px 22px 0; font-size: .95rem; font-weight: 500; color: var(--text-faint); white-space: nowrap; transition: color .3s; }
.marquee-track li .tl { width: 20px; height: 20px; }
.marquee-track li:hover { color: var(--text); }
.marquee-track li:hover .tl { background-color: var(--c); transform: scale(1.12); }
.marquee-track li:hover .tl-mono { background: none; color: var(--c); }

/* ---------- Technology ---------- */
.technology { position: relative; padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.tech-groups { margin-top: 56px; display: grid; gap: 16px; }
.tech-group { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, rgba(var(--ivory-rgb), .025), rgba(var(--ivory-rgb), .008)); }
.tg-head { position: relative; padding: 26px 26px 6px; }
.tg-n { font-family: var(--font-mono); font-size: .74rem; color: var(--orange); }
.tg-head h3 { margin-top: 10px; font-size: 1.4rem; letter-spacing: -.02em; }
.tg-head p { margin-top: 8px; font-size: .92rem; color: var(--text-muted); max-width: 30em; }
.tg-count { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 18px 18px 22px; }
@media (min-width: 980px) {
  .tech-group { grid-template-columns: 320px 1fr; }
  .tg-head { padding: 30px; border-right: 1px solid var(--line); }
  .tech-grid { padding: 22px; align-content: center; }
}
.tech { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--ivory-rgb), .02); font-size: .93rem; font-weight: 500; color: var(--text-muted); overflow: hidden;
  transition: color .3s, border-color .3s, background-color .3s, opacity .45s var(--ease), transform .55s var(--ease), box-shadow .4s; }
.tech .tl { color: rgba(var(--ivory-rgb), .78); }
.tech::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; border-radius: 50%; background: var(--c); filter: blur(28px); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tech:hover { color: var(--text); border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); transform: translateY(-3px); box-shadow: 0 18px 40px -24px var(--c); }
.tech:hover::after { opacity: .18; }
.tech:hover .tl { background-color: var(--c); transform: scale(1.12) rotate(-4deg); }
.tech:hover .tl-mono { background: none; color: var(--c); }
.js .tech-group .tech { opacity: 0; transform: translateY(14px) scale(.98); }
.js .tech-group.is-in .tech { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 22ms); }
.js .tech-group.is-in .tech:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* ---------- Approach: sticky scrollytelling ---------- */
.approach { position: relative; padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.ap { margin-top: 56px; display: grid; gap: 8px; }
.ap-stage { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; align-self: start; padding-bottom: 12px; background: linear-gradient(180deg, var(--black) 85%, transparent); }
.ap-visual { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(120% 80% at 70% 0%, rgba(var(--orange-rgb), .1), transparent 60%), var(--surface); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(var(--ivory-rgb), .08); }
.ap-bar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); }
.ap-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--ivory-rgb), .16); }
.ap-bar span { margin-left: 10px; }
.ap-bar b { font-weight: 500; color: var(--text); }
.ap-scenes { position: relative; aspect-ratio: 400 / 280; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.97); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.scene.is-active { opacity: 1; transform: none; filter: none; }
.ap-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.ap-rail li { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.ap-rail li::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.ap-rail li.is-on::after { transform: scaleX(1); }

.ap-steps { position: relative; }
.ap-step { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .25; transition: opacity .7s var(--ease); }
.ap-step.is-active { opacity: 1; }
.no-js .ap-step { opacity: 1; }
.ap-num { font-size: clamp(3.6rem, 8vw, 6.4rem); font-weight: 700; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(var(--ivory-rgb), .28); transition: -webkit-text-stroke-color .6s; }
.ap-step.is-active .ap-num { -webkit-text-stroke-color: var(--orange); }
.ap-phase { margin-top: 18px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.ap-step h3 { margin-top: 8px; font-size: clamp(2.1rem, 3.6vw, 3rem); }
.ap-step > p:not(.ap-phase) { margin-top: 14px; max-width: 32em; color: var(--text-muted); font-size: 1.05rem; }
.ap-out { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-out li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text-muted); background: rgba(var(--ivory-rgb), .02); }
.ap-out li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
@media (min-width: 980px) {
  .ap { grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .ap-stage { top: max(calc(var(--header-h) + 24px), calc(50vh - 250px)); padding: 0; background: none; }
  .ap-step { min-height: 78vh; padding: 0; }
  .ap-step:first-child { min-height: 60vh; }
  .ap-step:last-child { min-height: 70vh; }
}
@media (max-width: 979px) { .ap-visual { max-width: 560px; margin-inline: auto; } }

/* Scene language */
.scene text { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; fill: rgba(var(--ivory-rgb), .7); }
.scene .s-cap { fill: var(--text-faint); font-size: 8.5px; letter-spacing: .14em; }
.scene .s-acc { fill: var(--orange); }
.scene .s-green { fill: var(--green); }
.scene .s-dim { opacity: .6; }
.scene .s-sf { fill: rgba(var(--ivory-rgb), .13); }
.s-ln { fill: none; stroke: rgba(var(--ivory-rgb), .3); stroke-width: 1.2; stroke-dasharray: 4 5; }
.s-node rect { fill: var(--surface-2); stroke: rgba(var(--ivory-rgb), .22); }
.s-node.hot rect { fill: rgba(var(--orange-rgb), .12); stroke: var(--orange); }
.scene .s-node.hot text { fill: var(--orange); }
.s-node.warm rect { stroke: rgba(255, 181, 71, .6); }
.s-flag rect { fill: rgba(var(--orange-rgb), .14); stroke: var(--orange); }
.s-flag circle { fill: var(--orange); }
.s-flag path { stroke: var(--orange); stroke-dasharray: 2 3; }
.scene .s-flag text { fill: var(--orange); }
.s-notes rect:first-child, .s-quote rect:first-child { fill: rgba(var(--ivory-rgb), .03); stroke: var(--line-2); }
.s-beam { fill: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); opacity: .9; }
.s-grid { fill: none; stroke: rgba(var(--ivory-rgb), .05); }
.s-draw { fill: none; stroke: rgba(var(--ivory-rgb), .55); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 0; }
.s-draw.s-core { stroke: var(--orange); fill: rgba(var(--orange-rgb), .06); }
.s-dim-ln { stroke: rgba(var(--ivory-rgb), .25); }
.s-ok { fill: var(--green); }
.s-tick { fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-panel { fill: rgba(0, 0, 0, .3); stroke: var(--line-2); }
.scene .s-ln-no { fill: rgba(var(--ivory-rgb), .3); font-size: 8px; }
.s-tok { fill: rgba(var(--ivory-rgb), .32); transform-box: fill-box; transform-origin: left; }
.s-tok.t-acc { fill: rgba(var(--orange-rgb), .85); } .s-tok.t-amber { fill: rgba(255, 181, 71, .8); } .s-tok.t-green { fill: rgba(61, 220, 151, .8); }
.s-caret { fill: var(--orange); }
.s-check circle { fill: var(--green); stroke: var(--green); }
.s-check path { fill: none; stroke: var(--black); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-track { fill: rgba(var(--ivory-rgb), .08); }
.s-prog { fill: var(--orange); transform-box: fill-box; transform-origin: left; }
.s-axis { fill: none; stroke: rgba(var(--ivory-rgb), .2); }
.s-axis.s-dash { stroke-dasharray: 3 5; stroke: rgba(var(--ivory-rgb), .08); }
.s-line { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 4px 10px rgba(var(--orange-rgb), .5)); }
.s-end { fill: var(--orange); transform-box: fill-box; transform-origin: center; }
.s-pin path { fill: none; stroke: rgba(var(--ivory-rgb), .35); stroke-dasharray: 2 3; }
.s-pin rect { fill: var(--surface-2); stroke: rgba(var(--orange-rgb), .7); }
.scene .s-pin text { fill: var(--text); font-size: 8px; }
.s-node, .s-flag, .s-notes, .s-quote, .s-check, .s-pin { transform-box: fill-box; transform-origin: center; }

/* Scene choreography: replays each time a scene becomes active (base styles = final state) */
.scene.is-active .s-ln { animation: dashMove 1s linear infinite; }
.scene.is-active .s-node { animation: sIn .6s var(--ease) both; }
.scene.is-active .n2 { animation-delay: .08s; } .scene.is-active .n3 { animation-delay: .16s; } .scene.is-active .n4 { animation-delay: .24s; } .scene.is-active .n5 { animation-delay: .32s; }
.scene.is-active .s-beam { animation: beam 2.8s var(--ease-io) .3s infinite alternate both; }
.scene.is-active .s-node.hot rect { animation: hotPulse 1.6s ease-in-out 1.4s infinite; }
.scene.is-active .s-flag { animation: sPop .6s var(--ease) 1.3s both; }
.scene.is-active .s-notes { animation: sRise .7s var(--ease) .5s both; }
.scene.is-active .s-notes2 { animation-delay: 1.7s; }
.scene.is-active .s-draw { animation: sDraw 1s var(--ease) both; }
.scene.is-active .d2 { animation-delay: .25s; } .scene.is-active .d3 { animation-delay: .5s; } .scene.is-active .d4 { animation-delay: .65s; }
.scene.is-active .d5 { animation-delay: .8s; } .scene.is-active .d6 { animation-delay: .95s; } .scene.is-active .d7 { animation-delay: 1.2s; }
.scene.is-active .s-fade { animation: sFade .6s ease both; }
.scene.is-active .f1 { animation-delay: .5s; } .scene.is-active .f2 { animation-delay: .75s; } .scene.is-active .f3 { animation-delay: .95s; } .scene.is-active .f4 { animation-delay: 1.1s; } .scene.is-active .f5 { animation-delay: 1.5s; }
.scene.is-active .s-quote { animation: sRise .7s var(--ease) 1.6s both; }
.scene.is-active .s-q2 { animation-delay: 1.4s; }
.scene.is-active .s-tok { animation: sType .5s var(--ease) both; }
.scene.is-active .k2 { animation-delay: .25s; } .scene.is-active .k3 { animation-delay: .5s; } .scene.is-active .k4 { animation-delay: .75s; } .scene.is-active .k5 { animation-delay: 1s; } .scene.is-active .k6 { animation-delay: 1.25s; } .scene.is-active .k7 { animation-delay: 1.5s; }
.scene.is-active .s-caret { animation: blink 1s steps(2) infinite; }
.scene.is-active .s-check { animation: sCheck .5s var(--ease) both; }
.scene.is-active .c1 { animation-delay: 1.2s; } .scene.is-active .c2 { animation-delay: 1.6s; } .scene.is-active .c3 { animation-delay: 2s; } .scene.is-active .c4 { animation-delay: 2.4s; }
.scene.is-active .s-prog { animation: sType 2.4s var(--ease-io) .6s both; }
.scene.is-active .s-line { animation: sDraw 1.8s var(--ease) .2s both; }
.scene.is-active .s-area { animation: sFade 1s ease 1s both; }
.scene.is-active .s-end { animation: sPop .4s var(--ease) 1.9s both, breathe 1.8s ease-in-out 2.4s infinite; }
.scene.is-active .s-pin { animation: sPop .6s var(--ease) both; }
.scene.is-active .p1 { animation-delay: .9s; } .scene.is-active .p2 { animation-delay: 1.4s; } .scene.is-active .p3 { animation-delay: 1.9s; }
@keyframes sIn { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes sPop { from { opacity: 0; transform: scale(.6); } }
@keyframes sRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes sFade { from { opacity: 0; } }
@keyframes sDraw { from { stroke-dashoffset: 1; } }
@keyframes sType { from { transform: scaleX(0); } }
@keyframes sCheck { from { opacity: .25; transform: scale(.7); } 60% { transform: scale(1.15); } }
@keyframes beam { from { transform: translateX(10px); } to { transform: translateX(388px); } }
@keyframes hotPulse { 50% { fill: rgba(var(--orange-rgb), .3); } }

/* ---------- FAQ ---------- */
.faq { position: relative; padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .82fr 1.18fr; gap: clamp(56px, 7vw, 110px); align-items: start; } .faq-side { position: sticky; top: calc(var(--header-h) + 40px); } }
.human-card { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(var(--orange-rgb), .08), rgba(var(--ivory-rgb), .015) 55%); }
.human-top { display: flex; align-items: center; gap: 14px; }
.avatar { position: relative; flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #A40300); color: var(--black); font-weight: 700; letter-spacing: -.02em; box-shadow: 0 10px 30px -10px rgba(var(--orange-rgb), .8); }
.avatar i { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid var(--surface); }
.human-name { font-weight: 600; }
.human-role { font-size: .86rem; color: var(--text-faint); }
.human-note { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--text); }
.human-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

.faq-item { position: relative; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.faq-item.is-open::before { transform: scaleX(1); }
.faq-item h3 { font-size: inherit; letter-spacing: normal; line-height: inherit; }
.faq-item button { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.faq-n { font-family: var(--font-mono); font-size: .76rem; color: var(--text-faint); transition: color .3s; }
.faq-q { font-size: clamp(1.02rem, 1.6vw, 1.18rem); font-weight: 600; letter-spacing: -.012em; transition: color .3s, transform .5s var(--ease); }
.faq-item button:hover .faq-q { transform: translateX(4px); color: #fff; }
.faq-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .4s, border-color .4s, transform .6s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--orange); border-radius: 2px; transition: transform .5s var(--ease), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-n { color: var(--orange); }
.faq-item.is-open .faq-icon { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: var(--black); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 56px 28px 52px; color: var(--text-muted); max-width: 40em; transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s; }
.js .faq-item:not(.is-open) .faq-panel { grid-template-rows: 0fr; }
.js .faq-item:not(.is-open) .faq-panel p { opacity: 0; transform: translateY(-8px); transition-delay: 0s; }
@media (max-width: 560px) { .faq-item button { grid-template-columns: 30px 1fr auto; } .faq-panel p { padding: 0 0 24px 42px; } }

/* ---------- Start a project (footer) ---------- */
.project { position: relative; z-index: 1; padding: clamp(100px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); display: grid; gap: 56px; }
@media (min-width: 1000px) { .project { grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 7vw, 100px); align-items: start; } .project-intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.project-intro h2 { margin-top: 20px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.045em; }
.project-lead { margin-top: 20px; font-size: 1.15rem; color: var(--text-muted); max-width: 28em; }
.next-steps { margin-top: 40px; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.next-steps li:last-child { border-bottom: 1px solid var(--line); }
.next-steps span { font-family: var(--font-mono); font-size: .78rem; color: var(--orange); padding-top: 3px; }
.next-steps b { font-weight: 600; }
.next-steps p { margin-top: 2px; font-size: .92rem; color: var(--text-muted); }
.contact-lines { margin-top: 32px; display: grid; gap: 12px; }
.contact-lines li { display: flex; align-items: baseline; gap: 16px; font-size: 1rem; }
.cl-label { flex: none; width: 64px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.contact-lines a { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease), color .3s; }
.contact-lines a:hover { color: var(--orange); background-size: 100% 1px; }

.project-form { position: relative; padding: clamp(24px, 3.6vw, 42px); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(28, 24, 21, .92), rgba(18, 16, 14, .92)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(var(--ivory-rgb), .08); }
.project-form::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.pf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pf-head p { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.pf-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .7rem; color: var(--green); }
.pf-row { display: grid; gap: 4px 22px; margin-top: 8px; }
@media (min-width: 560px) { .pf-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; margin-top: 6px; }
.field input, .field textarea { width: 100%; padding: 28px 0 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1.05rem; color: var(--text); outline: none; transition: border-color .3s; }
.field textarea { display: block; resize: vertical; min-height: 110px; line-height: 1.55; }
.field label { position: absolute; left: 0; top: 28px; font-size: 1rem; color: var(--text-faint); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .3s; }
.field label i { font-style: normal; color: var(--orange); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); }
.field:focus-within label { color: var(--orange); }
.field [aria-invalid="true"] { border-bottom-color: #FF6B5A; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 9999s; }
.field-area { margin-top: 18px; }
.pf-set { border: 0; margin-top: 28px; min-width: 0; }
.pf-set legend { margin-bottom: 12px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips label { position: relative; cursor: pointer; }
.pf-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--text-muted); transition: background-color .3s, border-color .3s, color .3s; }
.pf-chips label:hover span { border-color: rgba(var(--ivory-rgb), .45); color: var(--text); }
.pf-chips input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--black); font-weight: 600; }
.pf-chips input[type="checkbox"]:checked + span::before { content: ""; width: 8px; height: 4px; margin-top: -2px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.pf-chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.pf-foot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pf-note { font-size: .82rem; color: var(--text-faint); }
.pf-status-msg { min-height: 1.4em; margin-top: 16px; font-size: .94rem; font-weight: 500; }
.pf-status-msg.is-ok { color: var(--green); }
.pf-status-msg.is-err { color: #FF8A7A; }

@media (max-width: 519px) { .hero-actions .btn, .services-actions .btn, .pf-foot .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .js .tech-group .tech { opacity: 1; transform: none; }
  .scene { filter: none; }
  .s-beam { display: none; }
}

/* =========================================================
   v4: product showcase, brand-coloured logos, founder photo, responsive polish
   ========================================================= */

/* ---------- 01 Products: stacking showcase ---------- */
.pstack { margin-top: 56px; display: grid; gap: 22px; }
.pcard { --s: 1; --b: 1; position: relative; }
.pcard-inner {
  position: relative; overflow: hidden; display: grid; gap: 28px;
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--line-2); border-radius: 30px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(var(--acc), .16), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(var(--acc), .07), transparent 70%),
    linear-gradient(180deg, #1A1613, #110F0D);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(var(--ivory-rgb), .08);
  transform: scale(var(--s)); transform-origin: 50% 0; filter: brightness(var(--b));
  will-change: transform, filter;
}
.pcard-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: linear-gradient(rgba(var(--ivory-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ivory-rgb), .035) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 75%); }
.pcard-info { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard-idx { font-family: var(--font-mono); font-size: .8rem; color: rgb(var(--acc)); }
.pcard-idx i { font-style: normal; color: var(--text-faint); }
.pcard .tag { color: var(--amber); }
.pcard-kind { margin-top: 26px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.pcard-name { margin-top: 8px; font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.pcard-name span { color: rgb(var(--acc)); }
.pcard-desc { margin-top: 16px; color: var(--text-muted); font-size: 1.04rem; max-width: 30em; }
.pcard-info .col-label { margin-top: 26px; }
.pcard-feat { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard-feat li { position: relative; padding: 10px 12px 10px 30px; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; color: var(--text-muted); background: rgba(var(--ivory-rgb), .02); }
.pcard-feat li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: rgb(var(--acc)); transform: rotate(45deg); }
.pcard-foot { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.pcard-status { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.pcard-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: rgba(var(--acc), .12); border: 1px solid rgba(var(--acc), .4); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
.pcard-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.pcard-cta:hover { background: rgb(var(--acc)); border-color: rgb(var(--acc)); color: var(--black); }
.pcard-cta:hover svg { transform: translateX(4px); }

.pcard-shot { position: relative; min-width: 0; display: grid; align-items: center; perspective: 1600px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.pcard-shot .frame { border-radius: 18px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 80px -30px rgba(var(--acc), .5); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--text); white-space: nowrap;
  background: rgba(20, 17, 15, .94); border: 1px solid rgba(var(--acc), .45); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .9);
  transform: translateZ(40px); animation: floaty 6s ease-in-out infinite; }
.float-chip b { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--acc)); box-shadow: 0 0 10px rgb(var(--acc)); }
.fc-a { top: 18%; left: -14px; }
.fc-b { bottom: 10%; right: -10px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (min-width: 1000px) {
  .pcard { position: sticky; top: calc(var(--header-h) + 22px + var(--i) * 16px); }
  .pstack { gap: 7vh; padding-bottom: 4vh; }
  .pcard-inner { grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 4vw, 56px); min-height: min(600px, calc(100vh - var(--header-h) - 90px)); align-items: stretch; }
  .tilt { transform: rotateY(-9deg) rotateX(4deg) translateZ(0); }
  .pcard:hover .tilt { transform: rotateY(-3deg) rotateX(1deg); }
  .fc-a { left: -26px; }
}
@media (max-width: 999px) {
  .pcard-shot { order: -1; }
  .fc-a { left: 10px; top: auto; bottom: -14px; }
  .fc-b { right: 10px; bottom: auto; top: 44px; }
}
@media (max-width: 420px) { .pcard-feat { grid-template-columns: 1fr; } .float-chip { font-size: .7rem; padding: 6px 10px; } }

/* ---------- Technology: logos in brand colour ---------- */
.tech .tl { background-color: var(--c); color: var(--c); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 35%, transparent)); }
.tech .tl-mono { background: none; color: var(--c); }
.tech { color: var(--text); }
.tech:hover .tl { background-color: var(--c); }
.marquee-track li .tl { background-color: var(--c); opacity: .9; }
.marquee-track li .tl-mono { background: none; color: var(--c); }
.marquee-track li { color: var(--text-muted); }

/* ---------- FAQ founder card with photo ---------- */
.avatar { width: 68px; height: 68px; padding: 3px; background: conic-gradient(from 200deg, var(--orange), #A40300, var(--amber), var(--orange)); box-shadow: 0 14px 36px -14px rgba(var(--orange-rgb), .9); }
.avatar picture, .avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar img { border: 2px solid var(--surface); }
.avatar i { right: 2px; bottom: 2px; width: 14px; height: 14px; }

/* ---------- Responsive polish ---------- */
@media (max-width: 640px) {
  .svc-head { padding: 18px; }
  .svc-col { padding: 22px 18px; }
  .svc-art { padding: 14px; }
  .tg-head { padding: 22px 18px 4px; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .tech { padding: 12px; gap: 10px; font-size: .86rem; }
  .ind-panel { padding: 22px 18px; }
  .flow { padding: 22px 8px; }
  .ap-step h3 { font-size: 2rem; }
  .project-form { padding: 22px 18px; }
  .human-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .tech-grid { grid-template-columns: 1fr; }
  .countdown { gap: 6px; }
  .unit { padding: 10px 2px; }
  .hero h1 { font-size: 2.4rem; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .ap-stage { position: relative; top: 0; }
  .ap-step { min-height: auto; padding: 32px 0; opacity: 1; }
}

/* =========================================================
   v5: mobile-first pass, quick-action bar, performance
   ========================================================= */

/* ---------- Mobile quick-action bar ---------- */
.m-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(18, 16, 14, .9); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .9);
  transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .3s; pointer-events: none; }
.m-cta.is-shown { transform: none; opacity: 1; pointer-events: auto; }
.m-cta .btn { min-height: 46px; padding: 0 14px; font-size: .95rem; width: auto !important; }
@media (min-width: 761px) { .m-cta { display: none; } }

/* ---------- Phones (most visitors) ---------- */
@media (max-width: 760px) {
  :root { --section-y: 76px; --header-h: 70px; }
  body { font-size: 1rem; }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* hero: tighter, thumb-friendly */
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero h1 { margin-top: 20px; font-size: clamp(2.35rem, 10.5vw, 3.2rem); line-height: 1.02; }
  .lead { margin-top: 18px; font-size: 1.02rem; }
  .hero-actions { margin-top: 26px; }
  .status-chips { margin-top: 24px; flex-direction: column; gap: 10px; font-size: .88rem; }
  .console { border-radius: 22px; }
  .build-list li { padding: 14px 16px; }
  .countdown-block { padding: 16px; }
  .stack-marquee { margin-top: 56px; }
  .marquee-track li { padding: 16px 26px 16px 0; font-size: .88rem; }

  /* section heads */
  .section-head h2 { font-size: clamp(1.95rem, 8.4vw, 2.5rem); margin-top: 14px; }
  .section-copy { font-size: 1rem; margin-top: 14px; }

  /* products */
  .pstack { margin-top: 36px; gap: 16px; }
  .pcard-inner { border-radius: 24px; gap: 22px; }
  .pcard-kind { margin-top: 18px; }
  .pcard-name { font-size: clamp(2rem, 9vw, 2.6rem); }
  .pcard-foot { padding-top: 20px; }
  .pcard-cta { flex: 1 1 100%; justify-content: center; min-height: 46px; }

  /* waitlist */
  .waitlist-card { border-radius: 24px; padding: 28px 20px; gap: 22px; }
  .waitlist-rings { width: 300px; height: 300px; right: -120px; top: -120px; }
  .notify .btn { width: 100%; }

  /* services: diagram first, compact columns, scrollable jump strip */
  .svc-index { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .svc-index::-webkit-scrollbar { display: none; }
  .svc-index a { flex: none; padding: 10px 16px; }
  .svc-list { gap: 14px; margin-top: 22px; }
  .svc { border-radius: 22px; }
  .svc-head { grid-template-columns: auto 1fr; padding: 16px 18px; gap: 4px 14px; }
  .svc-num { width: 40px; height: 40px; border-radius: 11px; }
  .svc-price { grid-column: 1 / -1; text-align: left; font-size: 1.2rem; }
  .svc-body { display: flex; flex-direction: column; }
  .svc-art { order: -1; padding: 10px 14px 4px; border-bottom: 1px solid var(--line); }
  .svc-art .ill { max-width: 330px; }
  .svc-col { padding: 18px; }
  .svc-col + .svc-col { border-bottom: 0; }
  .checks { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .checks li { font-size: .9rem; }

  /* industries: swipeable tabs with edge fade, bigger touch targets */
  .ind { margin-top: 32px; border-radius: 22px; }
  .ind-tabs { padding: 12px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .ind-tab { min-height: 44px; padding: 10px 14px; }
  .ind-panel h3 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .flow { margin-top: 26px; }
  .ind-foot { margin-top: 24px; }
  .ind-cta { margin-left: 0; min-height: 44px; }

  /* technology */
  .tech-groups { margin-top: 32px; gap: 12px; }
  .tech-group { border-radius: 22px; }
  .tg-head h3 { font-size: 1.2rem; }
  .tg-count { margin-top: 8px; }

  /* approach: smaller pinned visual, tighter steps */
  .ap { margin-top: 32px; }
  .ap-visual { border-radius: 20px; }
  .ap-bar { padding: 10px 14px; }
  .ap-rail { padding: 10px 14px 12px; }
  .ap-step { min-height: 46svh; padding: 28px 0; }
  .ap-num { font-size: 3.2rem; }
  .ap-step > p:not(.ap-phase) { font-size: .98rem; }

  /* FAQ */
  .faq-grid { gap: 32px; }
  .human-card { margin-top: 24px; }
  .human-note { font-size: 1.12rem; }
  .human-actions .btn { flex: 1; }
  .faq-item button { padding: 20px 0; min-height: 56px; }

  /* project form */
  .project { padding-top: 76px; gap: 36px; }
  .project-intro h2 { font-size: clamp(2.1rem, 9.4vw, 2.8rem); }
  .next-steps { margin-top: 28px; }
  .pf-chips span { padding: 10px 14px; min-height: 42px; }
  .pf-foot .btn { width: 100%; }

  /* footer */
  .footer-grid { padding: 40px 0; gap: 32px; }
  .footer-base { justify-content: center; text-align: center; }
}

/* very small phones */
@media (max-width: 360px) {
  .checks { grid-template-columns: 1fr; }
  .pcard-feat { grid-template-columns: 1fr; }
  .m-cta { left: 8px; right: 8px; }
  .m-cta .btn { font-size: .88rem; padding: 0 10px; }
}

/* ---------- Tablets ---------- */
@media (min-width: 761px) and (max-width: 999px) {
  .pcard-inner { grid-template-columns: 1fr; }
  .svc-body { grid-template-columns: 1fr 1fr; }
  .svc-art { grid-column: 1 / -1; order: -1; border-bottom: 1px solid var(--line); }
  .svc-col { border-bottom: 0; }
  .svc-col:first-of-type { border-right: 1px solid var(--line); }
}

/* ---------- Large desktops ---------- */
@media (min-width: 1600px) {
  .wrap { width: min(1320px, 100% - 2 * var(--gutter)); }
  .header-shell { width: min(1320px, 100%); }
}

/* ---------- Performance: skip rendering work for far-off footer art, honour data saver ---------- */
.footer-wordmark { content-visibility: auto; contain-intrinsic-size: auto 200px; }
@media (prefers-reduced-data: reduce) { .glow { display: none; } }

/* paused diagrams: hide the moving data dots so they never sit at the SVG origin */
.svc:not(.is-playing) .ill .pk { opacity: 0; }

/* =========================================================
   v6: social links, per-service quote buttons, contact-form-only flow
   ========================================================= */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico .ico-dot { fill: currentColor; stroke: none; }

/* Hero: Follow us */
.follow { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.follow-label { margin-right: 4px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.follow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color .25s, border-color .25s, background-color .25s, transform .4s var(--ease); }
.follow-link:hover { color: var(--text); border-color: rgba(var(--orange-rgb), .6); background: rgba(var(--orange-rgb), .08); transform: translateY(-2px); }
.follow-link:hover .ico { color: var(--orange); }

/* Service cards: Get a quote */
.svc-quote { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(var(--orange-rgb), .45); background: rgba(var(--orange-rgb), .08); color: var(--text); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
.svc-quote svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.svc-quote:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.svc-quote:hover svg { transform: translateX(4px); }

/* FAQ founder card: email + Instagram */
.human-actions { flex-direction: column; gap: 8px; }
.human-link { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--ivory-rgb), .02); font-size: .94rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; transition: border-color .25s, background-color .25s, color .25s; }
.human-link .ico { color: var(--orange); }
.human-link:hover { border-color: rgba(var(--orange-rgb), .5); background: rgba(var(--orange-rgb), .07); }

/* Start a project: social line */
.cl-social a + a { margin-left: 0; }

/* Footer: Follow us column */
.footer-social { gap: 12px !important; }
.footer-social a { display: flex !important; align-items: center; gap: 12px; }
.footer-social .ico { width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); transition: color .25s, border-color .25s, background-color .25s; }
.footer-social a:hover .ico { color: var(--black); background: var(--orange); border-color: var(--orange); }
.footer-social span { display: grid; line-height: 1.25; }
.footer-social small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .02em; text-transform: none; color: var(--text-faint); padding: 0; border: 0; overflow-wrap: anywhere; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.15fr; gap: 32px; } }
@media (min-width: 640px) and (max-width: 999px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

/* Form: briefly highlight a service chip that was pre-selected from a "Get a quote" link */
.pf-chips label.is-preset span { animation: presetPulse 1.4s var(--ease) 2; }
@keyframes presetPulse { 50% { box-shadow: 0 0 0 6px rgba(var(--orange-rgb), .25); } }

@media (max-width: 760px) {
  .follow { margin-top: 18px; }
  .svc-quote { width: 100%; justify-content: center; }
}
