/* ============================================================
   X — AI Delivery Studio
   Palette avoids AI defaults: green-tinted ink + warm bone,
   electric chartreuse signal, coral counter-accent.
   Type: Bricolage Grotesque / Instrument Sans / JetBrains Mono
   ============================================================ */

:root {
  --ink:        #0b0e0c;   /* green-tinted near-black (not pure) */
  --ink-2:      #10140f;   /* raised surface */
  --ink-3:      #171c16;   /* card surface */
  --line:       #2a3327;   /* hairlines, tinted */
  --bone:       #f0ede3;   /* warm off-white text */
  --bone-dim:   #9aa394;   /* muted text, tinted green-grey */
  --signal:     #c6f24e;   /* electric chartreuse — the risk */
  --signal-deep:#8fce2f;
  --coral:      #ff6a45;   /* counter-accent, used sparingly */
  --emerald:    #1c7d4f;

  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Emil-approved custom easings; no bounce/elastic */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);       /* strong ease-out for entrances */
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--signal); color: var(--ink); }

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.02em; }

/* ---- Grain overlay ---- */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9998; opacity: 0.035; mix-blend-mode: overlay;
}
/* ---- Custom cursor ---- */
.cursor {
  position: fixed; top: 0; left: 0; width: 26px; height: 26px;
  border: 1.5px solid var(--signal); border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 9999;
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              background .25s var(--ease-out), opacity .3s;
  mix-blend-mode: difference; opacity: 0;
}
.cursor.is-active { width: 54px; height: 54px; background: var(--signal); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---- Scroll progress ---- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9997; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--signal);
  box-shadow: 0 0 12px var(--signal); transform-origin: left; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: padding .4s var(--ease-out), background .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 12px var(--pad);
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; }
.brand__mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink);
  background: var(--signal); border-radius: 9px; box-shadow: 0 0 22px color-mix(in srgb, var(--signal) 45%, transparent); }
.brand__mark svg { width: 20px; height: 20px; }
.brand__word { font-size: 22px; letter-spacing: -0.03em; }
.brand__status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 10px; color: var(--bone-dim); text-transform: uppercase; letter-spacing: .12em; margin-left: 4px; }
.brand__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: blink 1.6s var(--ease-io) infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14.5px; color: var(--bone-dim); position: relative; transition: color .25s var(--ease-out); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; }

/* ---- Buttons ---- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; border-radius: 100px; cursor: pointer; border: none;
  padding: 13px 22px; transition: transform .25s var(--ease-out), background .3s var(--ease-out),
  color .3s var(--ease-out), box-shadow .3s var(--ease-out); font-family: var(--font-body); will-change: transform; }
.btn__arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid { background: var(--signal); color: var(--ink);
  box-shadow: 0 6px 30px color-mix(in srgb, var(--signal) 30%, transparent); }
.btn--solid:hover { box-shadow: 0 10px 44px color-mix(in srgb, var(--signal) 50%, transparent); }
.btn--ghost { background: transparent; color: var(--bone); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn--pill { background: var(--ink-3); color: var(--bone); border: 1px solid var(--line); padding: 10px 18px; font-size: 14px; }
.btn--pill:hover { border-color: var(--signal); }
.btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px var(--pad) 80px; overflow: hidden; }
.hero__engine { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 15% 40%, color-mix(in srgb, var(--ink) 30%, transparent) 0%, var(--ink) 62%),
    linear-gradient(180deg, transparent 55%, var(--ink) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 960px; margin-right: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 100px; font-size: 12px; color: var(--bone-dim);
  background: color-mix(in srgb, var(--ink-2) 60%, transparent); margin-bottom: 26px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); position: relative; }
.pulse-dot::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--coral);
  animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0%{transform:scale(.6);opacity:1} 100%{transform:scale(1.8);opacity:0} }

.hero__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(40px, 8vw, 96px); line-height: 0.98; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--bone-dim);
  position: relative; }
.hero__title em[data-scramble] { color: var(--coral); font-style: italic; }
.mark-underline { position: relative; white-space: nowrap; }
.mark-underline::after { content:""; position:absolute; left:-2px; right:-2px; bottom: 0.06em; height: 0.14em;
  background: var(--signal); z-index:-1; transform: scaleX(0); transform-origin:left;
  animation: underline-in 1s var(--ease-out) 1.5s forwards; box-shadow: 0 0 16px var(--signal); }
@keyframes underline-in { to { transform: scaleX(1); } }

.hero__sub { max-width: 560px; color: var(--bone-dim); font-size: clamp(16px, 2.2vw, 19px); margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__meta { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--bone-dim); flex-wrap: wrap; }
.hero__meta b { color: var(--bone); font-weight: 700; }
.hero__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

.hero__legend { position: absolute; right: var(--pad); bottom: 96px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: var(--bone-dim); }
.hero__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 9px; height: 9px; border-radius: 50%; }
.lg--in { background: var(--coral); } .lg--mid { background: var(--bone-dim); } .lg--out { background: var(--signal); }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  font-size: 10px; letter-spacing: .3em; color: var(--bone-dim); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--signal), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content:""; position:absolute; top:0; left:0; width:100%; height:40%;
  background: var(--signal); animation: scrolldot 1.8s var(--ease-io) infinite; }
@keyframes scrolldot { 0%{transform:translateY(-100%)} 100%{transform:translateY(300%)} }

/* ============================================================
   LOGOS / MARQUEE
   ============================================================ */
.logos { padding: 40px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink-2); }
.logos__label { text-align: center; font-size: 11px; color: var(--bone-dim); letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 24px; }
.marquee { 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; gap: 64px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 30px);
  color: var(--bone-dim); letter-spacing: -0.02em; opacity: .5; transition: opacity .3s, color .3s; white-space: nowrap; }
.marquee__track span:hover { opacity: 1; color: var(--signal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Shared section head
   ============================================================ */
section { position: relative; }
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section-head p.mono { font-size: 12px; color: var(--signal); letter-spacing: .16em; margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(28px, 5vw, 52px); line-height: 1.03; max-width: 16ch; }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { max-width: 1100px; margin: 0 auto; padding: clamp(90px, 14vh, 160px) var(--pad); }
.statement__kicker { color: var(--signal); font-size: 12px; letter-spacing: .18em; margin-bottom: 26px; }
.statement__body { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(28px, 4.4vw, 54px); line-height: 1.16; }
.reveal-word { display: inline-block; opacity: 0; transform: translateY(0.5em);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-word.dim { color: var(--bone-dim); }
.reveal-word.hl { color: var(--signal); }
.statement.is-in .reveal-word { opacity: 1; transform: none; }
.statement__foot { margin-top: 40px; max-width: 620px; color: var(--bone-dim); font-size: 18px; }

/* ============================================================
   APPROACH / PIPELINE
   ============================================================ */
.approach { padding: clamp(70px, 10vh, 120px) 0; }
.approach .section-head { margin-bottom: 60px; }
.pipeline { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pipeline__wire { position: absolute; top: 46px; left: var(--pad); right: var(--pad);
  width: calc(100% - var(--pad) * 2); height: 120px; z-index: 0; overflow: visible; }
.pipeline__flow { stroke: var(--signal); stroke-dasharray: 14 320; filter: drop-shadow(0 0 6px var(--signal));
  animation: flow 3.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -334; } }

.phase { position: relative; z-index: 1; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 26px; transition: transform .4s var(--ease-out), border-color .4s var(--ease-out); }
.phase:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--signal) 45%, var(--line)); }
.phase__no { font-size: 12px; color: var(--bone-dim); letter-spacing: .1em; }
.phase__node { position: absolute; top: -7px; left: 30px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--bone-dim); }
.phase__node[data-node="in"] { border-color: var(--coral); box-shadow: 0 0 14px color-mix(in srgb,var(--coral) 60%,transparent); }
.phase__node[data-node="mid"] { border-color: var(--bone-dim); }
.phase__node[data-node="out"] { border-color: var(--signal); box-shadow: 0 0 14px color-mix(in srgb,var(--signal) 60%,transparent); }
.phase h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin: 14px 0 10px; }
.phase p { color: var(--bone-dim); font-size: 15.5px; margin-bottom: 18px; }
.phase ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.phase li { font-size: 12px; color: var(--bone); padding-left: 18px; position: relative; }
.phase li::before { content: "→"; position: absolute; left: 0; color: var(--signal); }

/* ============================================================
   DELIVER GRID
   ============================================================ */
.deliver { padding: clamp(70px, 10vh, 120px) 0; }
.deliver .section-head { margin-bottom: 48px; }
.deliver__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dcard { position: relative; grid-column: span 2; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px; overflow: hidden; transform-style: preserve-3d;
  transition: transform .3s var(--ease-out), border-color .4s var(--ease-out); }
.dcard--wide { grid-column: span 2; }
.dcard:nth-child(2), .dcard:nth-child(3) { grid-column: span 1; }
.dcard:hover { border-color: color-mix(in srgb, var(--signal) 40%, var(--line)); }
.dcard__glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 22%, transparent), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-out); left: var(--mx, 50%); top: var(--my, 50%);
  transform: translate(-50%, -50%); }
.dcard:hover .dcard__glow { opacity: 1; }
.dcard__tag { font-size: 11px; letter-spacing: .16em; color: var(--signal); }
.dcard h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: -0.02em; margin: 14px 0 10px; line-height: 1.1; }
.dcard p { color: var(--bone-dim); font-size: 15px; }

/* demo: agent chat */
.dcard__demo { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.chatrow { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px;
  background: var(--ink); border: 1px solid var(--line); font-size: 13px; }
.chatrow .who { font-size: 9px; color: var(--bone-dim); padding-top: 2px; min-width: 46px; letter-spacing: .1em; }
.chatrow--agent { border-color: color-mix(in srgb, var(--signal) 40%, var(--line)); background: color-mix(in srgb, var(--signal) 6%, var(--ink)); }
.chatrow--agent .who { color: var(--signal); }
.chatrow--done { border-color: color-mix(in srgb, var(--emerald) 60%, var(--line)); }
.chatrow--done .who { color: var(--emerald); }
.chatrow--done .msg { color: var(--bone-dim); }

/* demo: bars */
.dcard__bars { margin-top: 22px; display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.dcard__bars i { flex: 1; background: linear-gradient(var(--signal), var(--emerald)); border-radius: 4px 4px 0 0;
  height: 20%; transform-origin: bottom; animation: bar 2.4s var(--ease-io) infinite; }
.dcard__bars i:nth-child(2){animation-delay:.2s}.dcard__bars i:nth-child(3){animation-delay:.4s}
.dcard__bars i:nth-child(4){animation-delay:.6s}.dcard__bars i:nth-child(5){animation-delay:.8s}
.dcard__bars i:nth-child(6){animation-delay:1s}.dcard__bars i:nth-child(7){animation-delay:1.2s}
.dcard__bars i:nth-child(8){animation-delay:1.4s}
@keyframes bar { 0%,100%{transform:scaleY(.28)} 50%{transform:scaleY(1)} }

/* demo: orbit */
.dcard__orbit { position: relative; margin-top: 22px; height: 130px; }
.dcard__orbit b { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  background: var(--signal); color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.dcard__orbit i { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--bone-dim); margin: -5px; }
.dcard__orbit i:nth-child(1){animation: orbit 6s linear infinite;}
.dcard__orbit i:nth-child(2){animation: orbit 6s linear infinite -1.5s;}
.dcard__orbit i:nth-child(3){animation: orbit 6s linear infinite -3s;}
.dcard__orbit i:nth-child(4){animation: orbit 6s linear infinite -4.5s;}
@keyframes orbit { to { transform: rotate(360deg) translateX(52px) rotate(-360deg); } }

/* demo: rag */
.dcard__demo .ask { padding: 12px 14px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line);
  font-size: 13px; color: var(--signal); }
.dcard__demo .ask span { color: var(--bone); }
.src { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.src span { font-family: var(--font-mono); font-size: 10px; padding: 5px 9px; border-radius: 6px;
  background: var(--ink-3); color: var(--bone-dim); border: 1px solid var(--line); }

/* ============================================================
   METRICS
   ============================================================ */
.metrics { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,6vh,70px) var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric b { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.04em; color: var(--signal); line-height: 1; margin-bottom: 12px; }
.metric span { font-size: 14px; color: var(--bone-dim); display: block; max-width: 22ch; }

/* ============================================================
   WORK
   ============================================================ */
.work { padding: clamp(70px, 10vh, 120px) 0; }
.work .section-head { margin-bottom: 40px; }
.work__list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); border-top: 1px solid var(--line); }
.wrow { display: grid; grid-template-columns: 44px 1.1fr 2fr 1fr 30px; align-items: center; gap: 20px;
  padding: 28px 8px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
  transition: padding .35s var(--ease-out); }
.wrow::before { content:""; position:absolute; inset:0; background: var(--ink-2); transform: scaleY(0);
  transform-origin: bottom; transition: transform .4s var(--ease-out); z-index:0; }
.wrow:hover::before { transform: scaleY(1); }
.wrow > * { position: relative; z-index: 1; }
.wrow:hover { padding-left: 18px; padding-right: 0; }
.wrow__idx { color: var(--bone-dim); font-size: 12px; }
.wrow__client { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.wrow__what { color: var(--bone-dim); font-size: 15px; }
.wrow__metric { font-size: 17px; color: var(--signal); text-align: right; }
.wrow__metric i { display: block; font-size: 10px; color: var(--bone-dim); font-style: normal; letter-spacing: .06em; }
.wrow__go { font-size: 22px; color: var(--bone-dim); text-align: right; transition: transform .3s var(--ease-out), color .3s; }
.wrow:hover .wrow__go { transform: translateX(6px); color: var(--signal); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { max-width: 1000px; margin: 0 auto; padding: clamp(70px, 12vh, 140px) var(--pad); text-align: center; }
.quote blockquote p { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(24px, 4vw, 44px); line-height: 1.22; }
.quote em { font-style: italic; color: var(--signal); }
.quote footer { margin-top: 28px; font-size: 13px; color: var(--bone-dim); }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; padding: clamp(80px, 14vh, 160px) var(--pad); text-align: center;
  background: var(--ink-2); border-top: 1px solid var(--line); }
.cta__engine { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; z-index: 0; }
.cta__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta p.mono { color: var(--signal); font-size: 12px; letter-spacing: .18em; margin-bottom: 18px; }
.cta h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(32px, 6vw, 64px); line-height: 1.02; }
.cta__sub { color: var(--bone-dim); max-width: 520px; margin: 22px auto 34px; font-size: 17px; }
.cta__form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.cta__form input { flex: 1; min-width: 200px; background: var(--ink); border: 1px solid var(--line); color: var(--bone);
  border-radius: 100px; padding: 14px 20px; font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color .3s var(--ease-out); }
.cta__form input:focus { border-color: var(--signal); }
.cta__form input::placeholder { color: var(--bone-dim); }
.cta__ok { margin-top: 18px; color: var(--signal); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vh, 120px) var(--pad); }
.faq .section-head { padding: 0; margin-bottom: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(17px, 2.4vw, 22px); letter-spacing: -0.01em; transition: color .25s var(--ease-out); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--signal); }
.qa__i { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.qa__i::before, .qa__i::after { content:""; position:absolute; top:50%; left:50%; background: var(--signal);
  transform: translate(-50%,-50%); transition: transform .3s var(--ease-out); }
.qa__i::before { width: 16px; height: 2px; }
.qa__i::after { width: 2px; height: 16px; }
.qa[open] .qa__i::after { transform: translate(-50%,-50%) scaleY(0); }
.qa__body { overflow: hidden; }
.qa__body p { color: var(--bone-dim); font-size: 16px; max-width: 62ch; padding-bottom: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding: 60px var(--pad) 30px; background: var(--ink); }
.foot__top { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.brand--foot .brand__word { font-size: 20px; }
.foot__line { color: var(--bone-dim); font-size: 15px; }
.foot__nav { display: flex; gap: 22px; font-size: 12px; }
.foot__nav a { color: var(--bone-dim); transition: color .25s; }
.foot__nav a:hover { color: var(--signal); }
.foot__bottom { max-width: var(--maxw); margin: 20px auto 0; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--bone-dim); }

/* ============================================================
   REVEAL — Emil rules: transform+opacity only, ease-out, ~<600ms
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: .9s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--pill { display: none; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav__burger span { width: 24px; height: 2px; background: var(--bone); transition: transform .3s var(--ease-out), opacity .3s; }
  .pipeline { grid-template-columns: 1fr; gap: 16px; }
  .pipeline__wire { display: none; }
  .phase__node { display: none; }
  .deliver__grid { grid-template-columns: 1fr; }
  .dcard, .dcard--wide, .dcard:nth-child(2), .dcard:nth-child(3) { grid-column: span 1; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .hero__legend { display: none; }
  .wrow { grid-template-columns: 30px 1fr; gap: 6px 14px; }
  .wrow__what { grid-column: 2; } .wrow__metric { grid-column: 2; text-align: left; }
  .wrow__go { display: none; }
}
@media (max-width: 520px) {
  .metrics { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ============================================================
   REDUCED MOTION — honor it everywhere
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; }
  .reveal, .reveal-word { opacity: 1 !important; transform: none !important; }
  .cursor, .hero__scroll span::after { display: none; }
  .intro { display: none !important; }
  .rot { opacity: 1 !important; }
}

/* ============================================================
   LAUNCH / INTRO OVERLAY
   ============================================================ */
.intro { position: fixed; inset: 0; z-index: 10000; background: var(--ink); display: grid; place-items: center;
  animation: intro-lift .8s var(--ease-out) 1.55s forwards; will-change: transform; }
.intro.is-done { animation: none; transform: translateY(-100%); transition: transform .55s var(--ease-out); }
@keyframes intro-lift { to { transform: translateY(-101%); } }
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 20px; }
.intro__mark { width: 60px; height: 60px; color: var(--signal); display: grid; place-items: center;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--signal) 40%, transparent)); }
.intro__mark svg { width: 60px; height: 60px; }
.intro .ib { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: ib-rise .5s var(--ease-out) forwards; }
.intro .ib1 { animation-delay: .12s; } .intro .ib2 { animation-delay: .24s; } .intro .ib3 { animation-delay: .36s; }
@keyframes ib-rise { to { transform: scaleY(1); } }
.intro__word { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; color: var(--bone);
  opacity: 0; transform: translateY(8px); animation: intro-fade .5s var(--ease-out) .5s forwards; }
.intro__bar { width: 180px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
  opacity: 0; animation: intro-fade .4s var(--ease-out) .55s forwards; }
.intro__bar span { display: block; height: 100%; width: 0; background: var(--signal); box-shadow: 0 0 10px var(--signal);
  animation: intro-load .95s var(--ease-out) .55s forwards; }
@keyframes intro-load { to { width: 100%; } }
.intro__tag { font-size: 10px; letter-spacing: .28em; color: var(--bone-dim); opacity: 0;
  animation: intro-fade .5s var(--ease-out) .9s forwards; }
@keyframes intro-fade { to { opacity: 1; transform: none; } }

/* ============================================================
   HERO — CENTERED VARIANT
   ============================================================ */
.hero--center { text-align: center; }
.hero--center .hero__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero--center .hero__veil {
  background:
    radial-gradient(90% 70% at 50% 42%, transparent 0%, var(--ink) 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 22%, transparent 60%, var(--ink) 100%); }
.hero--center .eyebrow { margin-bottom: 24px; }
.hero--center .hero__title { font-size: clamp(44px, 9vw, 108px); }
.hero--center .mark-underline::after { animation-delay: 1.7s; }

/* rotator — clearly shows what the AI does */
.hero__rotator { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-size: clamp(15px, 2.4vw, 20px); margin: 6px 0 26px; color: var(--bone-dim); }
.rot__pre { color: var(--bone-dim); }
.rot { position: relative; color: var(--signal); font-weight: 500; }
.rot::before { content: "▸ "; color: var(--signal); opacity: .7; }
.rot { transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }

.hero__guarantee { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--signal) 30%, var(--line)); border-radius: 100px;
  background: color-mix(in srgb, var(--signal) 7%, transparent); font-size: 13px; color: var(--bone); }
.hero__guarantee .gdot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); flex-shrink: 0; }

/* ============================================================
   COMPARISON
   ============================================================ */
.compare { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vh, 120px) var(--pad); }
.compare .section-head { padding: 0; margin-bottom: 44px; }
.compare__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.compare__col { border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; background: var(--ink-2); }
.compare__col--old { opacity: .82; }
.compare__col--new { border-color: color-mix(in srgb, var(--signal) 40%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--signal) 8%, var(--ink-2)), var(--ink-2)); }
.compare__head { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.compare__head .cx { color: var(--coral); } .compare__head .cv { color: var(--signal); }
.compare__col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare__col li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--bone-dim); }
.compare__col--old li::before { content: "✕"; position: absolute; left: 0; color: var(--coral); opacity: .8; font-size: 13px; }
.compare__col--new li { color: var(--bone); }
.compare__col--new li::before { content: "✓"; position: absolute; left: 0; color: var(--signal); font-weight: 700; }
.compare__vs { align-self: center; font-size: 13px; color: var(--bone-dim); padding: 0 4px; }

/* ============================================================
   GUARANTEE BAND
   ============================================================ */
.guarantee { padding: clamp(50px, 8vh, 90px) var(--pad); }
.guarantee__inner { max-width: 820px; margin: 0 auto; text-align: center; border: 1px solid color-mix(in srgb, var(--signal) 34%, var(--line));
  border-radius: 26px; padding: clamp(34px, 5vw, 56px); position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--signal) 12%, var(--ink-2)), var(--ink-2)); }
.guarantee__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em;
  color: var(--signal); margin-bottom: 20px; }
.guarantee__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal);
  animation: blink 1.6s var(--ease-io) infinite; }
.guarantee__inner h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(24px, 4vw, 42px); line-height: 1.08; max-width: 20ch; margin: 0 auto; }
.guarantee__inner p { color: var(--bone-dim); font-size: 17px; margin: 20px auto 0; max-width: 52ch; }

/* ============================================================
   ENGAGEMENT TIERS
   ============================================================ */
.tiers { padding: clamp(70px, 10vh, 120px) 0; }
.tiers .section-head { margin-bottom: 44px; }
.tiers__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px;
  background: var(--ink-2); display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease-out), border-color .4s var(--ease-out); }
.tier:hover { border-color: color-mix(in srgb, var(--signal) 40%, var(--line)); }
.tier--feat { border-color: color-mix(in srgb, var(--signal) 45%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--signal) 9%, var(--ink-2)), var(--ink-2)); }
.tier__tag { font-size: 11px; letter-spacing: .1em; color: var(--signal); }
.tier h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.tier p { color: var(--bone-dim); font-size: 15px; flex: 1; }
.tier__for { font-size: 11px; color: var(--bone); letter-spacing: .04em; padding-top: 12px; border-top: 1px solid var(--line); }
.tier--feat .tier__for { color: var(--signal); }

/* ============================================================
   SERVICES EXPLORER (Identify / Develop / Adopt)
   ============================================================ */
.services .section-head { margin-bottom: 44px; }
.services__intro { margin-top: 18px; max-width: 60ch; color: var(--bone-dim); font-size: 17px; }
.explorer { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: start; }

/* tabs */
.explorer__tabs { display: flex; flex-direction: column; gap: 12px; }
.etab { position: relative; text-align: left; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px; cursor: pointer; color: var(--bone); overflow: hidden;
  display: flex; flex-direction: column; gap: 6px; font-family: var(--font-body);
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), transform .35s var(--ease-out); }
.etab:hover { border-color: color-mix(in srgb, var(--signal) 35%, var(--line)); }
.etab.is-active { border-color: color-mix(in srgb, var(--signal) 55%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--signal) 10%, var(--ink-2)), var(--ink-2)); }
.etab__row { display: flex; align-items: baseline; gap: 12px; }
.etab__no { font-size: 12px; color: var(--bone-dim); }
.etab.is-active .etab__no { color: var(--signal); }
.etab__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.etab__head { font-size: 13.5px; color: var(--bone-dim); }
.etab.is-active .etab__head { color: var(--bone); }
.etab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: transparent; }
.etab__bar i { display: block; height: 100%; width: 0; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.etab.is-active .etab__bar i { animation: fillbar 5.5s linear forwards; }
.explorer:hover .etab.is-active .etab__bar i { animation-play-state: paused; }
@keyframes fillbar { from { width: 0; } to { width: 100%; } }

/* stage / panels */
.explorer__stage { position: relative; border: 1px solid var(--line); border-radius: 20px;
  background: var(--ink-2); padding: clamp(24px, 3vw, 36px); min-height: 420px; }
.epanel { display: none; }
.epanel.is-active { display: block; }
.epanel__tag { font-size: 11px; letter-spacing: .16em; color: var(--signal); }
.epanel h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.025em; line-height: 1.06; margin: 14px 0 12px; max-width: 20ch; }
.epanel__desc { color: var(--bone-dim); font-size: 16px; max-width: 52ch; margin-bottom: 22px; }
.epanel__list { list-style: none; display: flex; flex-direction: column; }
.epanel__list li { display: flex; gap: 16px; align-items: baseline; padding: 15px 0;
  border-top: 1px solid var(--line); }
.epanel__list li:last-child { border-bottom: 1px solid var(--line); }
.epanel__list li > span.mono { font-size: 11px; color: var(--signal); flex-shrink: 0; padding-top: 3px; }
.epanel__list li div { display: flex; flex-direction: column; gap: 3px; }
.epanel__list li b { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.epanel__list li div span { color: var(--bone-dim); font-size: 14px; }

/* staggered entrance each time a panel activates */
.epanel.is-active .epanel__tag,
.epanel.is-active h3,
.epanel.is-active .epanel__desc,
.epanel.is-active .epanel__list li { animation: epanel-in .5s var(--ease-out) both; }
.epanel.is-active h3 { animation-delay: .04s; }
.epanel.is-active .epanel__desc { animation-delay: .08s; }
.epanel.is-active .epanel__list li:nth-child(1) { animation-delay: .12s; }
.epanel.is-active .epanel__list li:nth-child(2) { animation-delay: .17s; }
.epanel.is-active .epanel__list li:nth-child(3) { animation-delay: .22s; }
.epanel.is-active .epanel__list li:nth-child(4) { animation-delay: .27s; }
.epanel.is-active .epanel__list li:nth-child(5) { animation-delay: .32s; }
@keyframes epanel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 860px) {
  .compare__grid { grid-template-columns: 1fr; }
  .compare__vs { display: none; }
  .tiers__grid { grid-template-columns: 1fr; }
  .hero--center .hero__title { font-size: clamp(38px, 12vw, 60px); }
  .explorer { grid-template-columns: 1fr; gap: 16px; }
  .etab__head { display: none; }
  .etab { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 18px; }
  .explorer__stage { min-height: 0; }
}
