/* Southwoods Digital — design tokens and styles. No build step. */
:root {
  --ink: #080b12;
  --ink-2: #0b0f17;
  --surface: #0f141e;
  --surface-2: #141a26;
  --field: #0a0e16;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f6f9;
  --muted: #a3aab7;
  --dim: #8a93a3;
  --mint: #00dfae;
  --mint-2: #4ff3c9;
  --mint-ink: #04140f;
  --violet: #381caf;
  --violet-2: #9a86ff;
  --danger: #ffb9b9;
  --radius: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 640; letter-spacing: -.038em; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--mint); }
.dim { color: var(--dim); }
.skip { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--mint); color: var(--mint-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

kbd { display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: 1px; min-width: 20px; height: 20px; padding: 0 5px; font: 500 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: rgba(255, 255, 255, .04); }

.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--mint); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 560; letter-spacing: -.005em; white-space: nowrap; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--mint); color: var(--mint-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -10px rgba(0, 223, 174, .6); }
.btn-primary:hover { background: var(--mint-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 40px -12px rgba(0, 223, 174, .75); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); }
.btn-lg { height: 52px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn:disabled { opacity: .6; cursor: progress; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); transition: background-color .2s, color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s; }
.nav.scrolled { background: rgba(8, 11, 18, .72); border-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
.nav-inner { max-width: calc(var(--max) + 2 * var(--pad)); height: 100%; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 32px; }
.brand { width: 164px; flex: none; line-height: 0; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links a[aria-current='true'] { color: var(--text); }
.nav-links a[aria-current='true']::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mint); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cmdk-trigger { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13.5px; transition: border-color .2s, color .2s, background-color .2s; }
.cmdk-trigger:hover { color: var(--text); border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .06); }
.cmdk-trigger-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: max(640px, min(100svh, 960px)); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 48px) 0 120px; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-art { position: absolute; inset: 0; z-index: -3; background: url('assets/hero.jpg') 88% 50% / auto 104% no-repeat; opacity: .92; transition: opacity 1.4s var(--ease); }
#hero-gl { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; mix-blend-mode: screen; opacity: 0; transition: opacity 1.6s var(--ease); }
.gl-ready #hero-gl { opacity: 1; }
.gl-ready .hero-art { opacity: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--ink) 0%, rgba(8, 11, 18, .86) 30%, rgba(8, 11, 18, .2) 58%, transparent 75%), linear-gradient(180deg, transparent 70%, var(--ink) 100%), radial-gradient(60% 70% at 72% 48%, transparent 55%, rgba(8, 11, 18, .75) 100%); }
.hero-content { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-title { max-width: 11ch; font-size: clamp(3.1rem, 7.6vw, 6rem); line-height: .98; font-weight: 640; margin-bottom: 28px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .w > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero-title .w:nth-of-type(2) > span { animation-delay: .08s; }
.hero-title .w:nth-of-type(3) > span { animation-delay: .2s; }
.hero-title .w:nth-of-type(4) > span { animation-delay: .28s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-sub { max-width: 34em; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: #b9c0cc; margin-bottom: 36px; animation: fade-up 1s .45s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fade-up 1s .55s var(--ease) both; }
.hero-by { display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 14px; font-weight: 520; color: var(--text); animation: fade-up 1s .7s var(--ease) both; }
.hero-by small { display: block; font-size: 13px; font-weight: 400; color: var(--dim); }
.hero-by:hover small { color: var(--muted); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 32px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dim); pointer-events: none; }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero-scroll > span { position: relative; width: 40px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero-scroll > span::after { content: ''; position: absolute; inset: 0; background: var(--mint); transform: translateX(-100%); animation: scan 2.4s var(--ease) infinite; }
@keyframes scan { to { transform: translateX(100%); } }

.brief-avatars { display: inline-flex; }
.brief-avatars > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 11px; font-weight: 600; color: var(--mint); background: #0d1a1a; border: 1px solid rgba(0, 223, 174, .4); }
.brief-avatars > span.violet { margin-left: -6px; box-shadow: 0 0 0 2px var(--ink); color: #cfc4ff; background: #1b1440; border-color: rgba(154, 134, 255, .5); }

/* Marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; -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; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-size: 15px; color: #c8cdd7; white-space: nowrap; }
.marquee li::after { content: ''; width: 6px; height: 6px; background: var(--mint); transform: rotate(45deg); border-radius: 1px; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(96px, 12vw, 168px) var(--pad) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .about-head h2, .contact-head h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.02; margin-bottom: 22px; }
.section-head p, .contact-head > p { max-width: 36em; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--muted); }

/* Cards + spotlight */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(0, 223, 174, .7), rgba(154, 134, 255, .35) 35%, transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s var(--ease); }
.spot::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(600px circle at var(--mx, -999px) var(--my, -999px), rgba(56, 28, 175, .22), transparent 45%); opacity: 0; transition: opacity .4s var(--ease); }
.spot:hover::before, .spot:hover::after, .spot:focus-within::before { opacity: 1; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 24px; padding: 28px; min-height: 500px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--ink-2)); overflow: hidden; }
.card-web { grid-column: span 7; }
.card-ai { grid-column: span 5; }
.card-data { grid-column: span 5; }
.card-tools { grid-column: span 7; }
.card-copy h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; margin-bottom: 10px; }
.card-copy p { max-width: 44ch; color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: #c3c9d3; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 520; }
.card-link svg { color: var(--mint); transition: transform .35s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }
.card-link:hover { color: var(--mint-2); }
.card-link:focus-visible { outline-offset: 6px; }

.demo { position: relative; flex: 1; min-height: 230px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%), var(--field); }
.demo-label { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; color: var(--dim); }

/* Demo: responsive website */
.demo-web { display: flex; flex-direction: column; }
.bw-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 22px 22px 64px; }
.bw-frame { width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: #0d121c; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transition: width 1s var(--ease); container-type: inline-size; overflow: hidden; }
.bw-frame[data-size='tablet'] { width: 64%; }
.bw-frame[data-size='phone'] { width: 38%; }
.bw-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.bw-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.bw-url { flex: 1; min-width: 0; margin: 0 8px; padding: 1px 8px; font-size: 10px; color: var(--dim); background: rgba(255, 255, 255, .04); border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-size { font-size: 10px; color: var(--mint); }
.bw-site { height: 176px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.bw-nav { display: flex; align-items: center; gap: 8px; }
.bw-nav b { width: 40px; height: 8px; border-radius: 3px; background: var(--mint); }
.bw-nav span { width: 22px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.bw-nav b + span { margin-left: auto; }
.bw-nav em { width: 36px; height: 12px; border-radius: 4px; background: rgba(0, 223, 174, .25); border: 1px solid rgba(0, 223, 174, .5); }
.bw-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; }
.bw-copy { display: flex; flex-direction: column; gap: 6px; }
.bw-copy b { height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .85); width: 92%; }
.bw-copy b + b { width: 64%; }
.bw-copy span { height: 5px; width: 80%; border-radius: 3px; background: rgba(255, 255, 255, .2); margin-top: 4px; }
.bw-copy em { width: 56px; height: 14px; border-radius: 4px; background: var(--mint); margin-top: 6px; }
.bw-img { aspect-ratio: 4 / 3; border-radius: 6px; background: radial-gradient(circle at 70% 35%, rgba(0, 223, 174, .55), transparent 40%), linear-gradient(135deg, #2a1a7a, #120e2b); }
.bw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bw-cards span { height: 34px; border-radius: 5px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
@container (max-width: 340px) {
  .bw-nav span { display: none; }
  .bw-nav em { margin-left: auto; width: 14px; background: none; border: 0; border-top: 2px solid rgba(255, 255, 255, .5); border-bottom: 2px solid rgba(255, 255, 255, .5); height: 8px; border-radius: 0; }
  .bw-cards { grid-template-columns: repeat(2, 1fr); }
  .bw-cards span:last-child { display: none; }
}
@container (max-width: 220px) {
  .bw-hero { grid-template-columns: 1fr; }
  .bw-img { order: -1; aspect-ratio: 16 / 7; }
  .bw-cards { grid-template-columns: 1fr; }
  .bw-cards span + span { display: none; }
  .bw-copy b { width: 100%; }
}
.bw-code { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 8px 12px; font-size: 12px; line-height: 1.4; border: 1px solid var(--line); border-radius: 8px; background: rgba(8, 11, 18, .88); color: var(--muted); max-width: calc(100% - 28px); overflow: hidden; white-space: nowrap; }
.t-k { color: var(--violet-2); }
.t-a { color: var(--mint); }
.t-s { color: #e8ecf3; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--mint); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Demo: automation flow */
.demo-flow { padding: 22px 22px 40px; display: flex; flex-direction: column; gap: 18px; }
.flow { display: flex; flex-direction: column; gap: 14px; }
.flow-node { position: relative; display: flex; align-items: center; gap: 10px; width: fit-content; padding: 9px 14px 9px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #0d121c; font-size: 13.5px; color: var(--muted); transition: border-color .45s var(--ease), color .45s, box-shadow .45s var(--ease), transform .45s var(--ease); }
.flow-node:nth-child(2) { margin-left: 8%; }
.flow-node:nth-child(3) { margin-left: 16%; }
.flow-node:nth-child(4) { margin-left: 24%; }
.flow-node:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 100%; width: 1px; height: 15px; background: linear-gradient(var(--line-2), var(--line-2)); }
.flow-node.is-done:not(:last-child)::after { background: var(--mint); }
.flow-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, .05); font-size: 12px; color: var(--dim); transition: background-color .45s, color .45s; }
.flow-node.is-active { border-color: rgba(0, 223, 174, .7); color: var(--text); box-shadow: 0 0 0 4px rgba(0, 223, 174, .08), 0 12px 30px -12px rgba(0, 223, 174, .45); transform: translateX(4px); }
.flow-node.is-active .flow-ico, .flow-node.is-done .flow-ico { background: rgba(0, 223, 174, .14); color: var(--mint); }
.flow-node.is-done { color: #c9ced8; border-color: rgba(0, 223, 174, .28); }
.flow-log { display: flex; flex-direction: column; gap: 4px; min-height: 58px; font-size: 11.5px; color: var(--dim); }
.flow-log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fade-up .5s var(--ease) both; }
.flow-log li:last-child { color: #c9ced8; }
.flow-log b { font-weight: 500; color: var(--mint); }

/* Demo: analytics */
.demo-data { padding: 20px 20px 40px; display: flex; flex-direction: column; gap: 18px; }
.chart { width: 100%; height: 110px; overflow: visible; }
.chart-grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-line { stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.chart-area { opacity: 0; transition: opacity 1.4s .6s var(--ease); }
.chart-dot { fill: var(--mint); opacity: 0; transition: opacity .4s 1.8s; }
.in .chart-line { stroke-dashoffset: 0; }
.in .chart-area, .in .chart-dot { opacity: 1; }
.serp { position: relative; height: calc(4 * 38px); }
.serp li { position: absolute; left: 0; right: 0; top: calc(var(--pos, var(--i)) * 38px); display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .02); font-size: 13.5px; color: var(--muted); transition: top 1s var(--ease), border-color .6s, background-color .6s; }
.serp li span { width: 14px; font-size: 12px; color: var(--dim); }
.serp .serp-you { color: var(--text); border-color: rgba(0, 223, 174, .5); background: rgba(0, 223, 174, .07); }
.serp .serp-you span { color: var(--mint); }

/* Demo: tools hub */
.demo-hub { display: grid; place-items: center; padding: 16px; }
.hub { position: relative; width: 300px; height: 300px; max-width: 100%; }
.hub-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-rings circle { fill: none; stroke: var(--line-2); stroke-dasharray: 2 6; animation: dash 30s linear infinite; }
.hub-rings circle + circle { animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.hub-core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 18px; border: 1px solid rgba(0, 223, 174, .5); background: radial-gradient(circle, rgba(56, 28, 175, .55), #0d121c 70%); box-shadow: 0 0 0 8px rgba(0, 223, 174, .05), 0 20px 50px -10px rgba(56, 28, 175, .8); }
.hub-core img { width: 30px; height: 30px; }
.hub-orbit { position: absolute; inset: 0; }
.hub-orbit span { --r: 118px; position: absolute; left: 50%; top: 50%; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #0d121c; font-size: 12px; color: #c9ced8; white-space: nowrap; animation: orbit 60s linear infinite, node-glow 6s var(--ease) infinite; }
.hub-orbit-inner span { --r: 72px; animation-duration: 40s, 6s; animation-direction: reverse, normal; }
.hub-orbit span:nth-child(2) { animation-delay: 0s, 1.2s; }
.hub-orbit span:nth-child(3) { animation-delay: 0s, 2.4s; }
.hub-orbit span:nth-child(4) { animation-delay: 0s, 3.6s; }
.hub-orbit span:nth-child(5) { animation-delay: 0s, 4.8s; }
.hub-orbit-inner span:nth-child(1) { animation-delay: 0s, .6s; }
.hub-orbit-inner span:nth-child(2) { animation-delay: 0s, 2.6s; }
.hub-orbit-inner span:nth-child(3) { animation-delay: 0s, 4.2s; }
@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--a) + 360deg)) translateX(var(--r)) rotate(calc(-1 * var(--a) - 360deg)); }
}
@keyframes node-glow { 0%, 70%, 100% { border-color: var(--line-2); color: #c9ced8; } 80% { border-color: rgba(0, 223, 174, .8); color: var(--mint); } }

/* Process */
.process-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.process-stage { position: sticky; top: calc(var(--nav-h) + 48px); height: 440px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--ink-2)); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(56, 28, 175, .6); }
.stage-chrome { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.stage-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.stage-title { margin-left: 10px; font-size: 12px; color: var(--dim); }
.stage-panel { position: absolute; inset: 44px 0 0; padding: 28px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); pointer-events: none; }
.process-stage[data-step='1'] [data-panel='1'], .process-stage[data-step='2'] [data-panel='2'], .process-stage[data-step='3'] [data-panel='3'] { opacity: 1; transform: none; filter: none; }
.bubble { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.bubble.them { align-self: flex-start; background: var(--surface-2); color: #d6dae2; border-bottom-left-radius: 4px; }
.bubble.us { align-self: flex-end; background: rgba(0, 223, 174, .1); border: 1px solid rgba(0, 223, 174, .3); color: var(--text); border-bottom-right-radius: 4px; }
.bubble.typing { display: flex; gap: 4px; padding: 14px 16px; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: typing 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .15s; }
.bubble.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
[data-panel='2'] { flex-direction: row; gap: 12px; }
.plan-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.plan-col h4 { font-size: 13px; font-weight: 560; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.plan-col p { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .025); font-size: 13.5px; line-height: 1.35; color: #d6dae2; }
.plan-col:first-child p { border-color: rgba(0, 223, 174, .35); background: rgba(0, 223, 174, .06); }
[data-panel='3'] { font-size: 13.5px; gap: 10px; color: #d6dae2; }
.t-ok { color: var(--mint); }
.t-dim { color: var(--dim); }
.t-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 3px; }
.process-stage .demo-label { z-index: 1; }
.process-steps { display: flex; flex-direction: column; }
.step-item { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .35; transition: opacity .6s var(--ease); }
.step-item:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 60px; }
.step-item:last-child { min-height: 58vh; }
.step-item.is-active { opacity: 1; }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: border-color .5s, color .5s, box-shadow .5s; }
.step-item.is-active .step-num { border-color: var(--mint); color: var(--mint); box-shadow: 0 0 0 6px rgba(0, 223, 174, .08); }
.step-item h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.step-item p { max-width: 34ch; font-size: 17.5px; color: var(--muted); }

/* Work placeholders */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-slot { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 22px; border: 1px dashed var(--line-2); border-radius: var(--radius); transition: border-color .3s, background-color .3s; }
.work-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 12px; margin-bottom: 8px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 12px), var(--ink-2); border: 1px solid var(--line); }
.work-thumb span { font-size: 44px; font-weight: 300; color: var(--mint); transition: transform .5s var(--ease); }
.work-status { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-size: 13px; color: var(--dim); }
.work-slot h3 { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 19px; line-height: 1.25; }
.work-slot-cta:hover { border-color: rgba(0, 223, 174, .6); background: rgba(0, 223, 174, .03); }
.work-slot-cta:hover .work-thumb span { transform: rotate(90deg) scale(1.1); }
.work-slot-cta h3 svg { color: var(--mint); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 104px); }
.about-head h2 { margin-bottom: 32px; }
.about-head .accent { display: block; }
.about-loc { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.about-copy { display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.about-copy .lead { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 560; letter-spacing: -.025em; color: var(--text); }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.founder { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--ink-2)); }
.founder-photo { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; border: 1px solid rgba(0, 223, 174, .45); background: radial-gradient(circle at 30% 30%, rgba(0, 223, 174, .18), #0d1618); color: var(--mint); font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.founder-photo.violet { border-color: rgba(154, 134, 255, .55); background: radial-gradient(circle at 30% 30%, rgba(154, 134, 255, .25), #16112e); color: #d3c9ff; }
.founder h3 { font-size: 18px; letter-spacing: -.02em; }
.founder p { font-size: 14px; color: var(--dim); }

/* Contact */
.contact { position: relative; overflow-x: clip; padding-bottom: clamp(96px, 10vw, 140px); }
.contact::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 18%; width: min(1400px, 140vw); height: 900px; transform: translateX(-50%); background: radial-gradient(30% 42% at 68% 42%, rgba(56, 28, 175, .4), transparent), radial-gradient(22% 30% at 22% 72%, rgba(0, 223, 174, .08), transparent); pointer-events: none; }
.contact-head { max-width: 820px; }
.contact-head h2 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.contact-direct a:hover { color: var(--mint); border-color: var(--mint); }
.contact-direct svg { color: var(--mint); }
.intake-home { margin-top: clamp(40px, 5vw, 64px); }
.intake-home.is-away { display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--dim); font-size: 15px; }

.intake { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.brief { display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(154, 134, 255, .22); border-radius: var(--radius); background: linear-gradient(160deg, rgba(56, 28, 175, .32), rgba(15, 20, 30, .92) 58%); box-shadow: 0 40px 80px -40px rgba(56, 28, 175, .8); }
.brief-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; font-size: 14px; font-weight: 560; color: var(--text); }
.brief-status { padding: 3px 10px; border-radius: 999px; font: 500 11.5px/1.5 var(--mono); color: var(--muted); border: 1px solid var(--line-2); transition: color .4s, border-color .4s, background-color .4s; }
.brief-status.is-sent { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); }
.brief dl { margin: 0; flex: 1; }
.brief dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.brief dt { font-size: 12.5px; color: var(--dim); margin-bottom: 4px; }
.brief dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; border-radius: 6px; }
.brief dd.is-empty { color: var(--dim); }
.brief dd.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background: rgba(0, 223, 174, .16); } 100% { background: transparent; } }
.brief-scope { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 9px; border-radius: 999px; font-size: 13px; color: var(--mint); border: 1px solid rgba(0, 223, 174, .4); background: rgba(0, 223, 174, .08); }
.brief-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.brief-foot .brief-avatars > span { width: 28px; height: 28px; font-size: 10px; }

.intake-main { position: relative; padding: 28px clamp(20px, 3vw, 36px) 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--ink-2)); min-height: 520px; display: flex; flex-direction: column; }
.intake-progress { display: none; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 32px; }
.is-stepped .intake-progress { display: grid; }
.brief-mini { display: none; min-width: 0; max-width: 100%; align-items: center; gap: 10px; margin: -18px 0 26px; padding: 10px 14px; border: 1px solid rgba(154, 134, 255, .22); border-radius: 10px; background: rgba(56, 28, 175, .14); font-size: 13.5px; color: var(--text); }
.brief-mini-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.brief-mini-text.is-empty { color: var(--dim); }
.intake-progress button { width: 100%; padding: 10px 0 0; border: 0; border-top: 2px solid var(--line-2); background: none; text-align: left; font-size: 13px; color: var(--dim); transition: color .3s, border-color .3s; }
.intake-progress button:disabled { cursor: default; }
.intake-progress button.is-done { color: var(--muted); border-color: rgba(0, 223, 174, .45); }
.intake-progress button[aria-current='step'] { color: var(--text); border-color: var(--mint); }
.intake-progress button:not(:disabled):hover { color: var(--text); }
.intake-form { flex: 1; display: flex; flex-direction: column; }
.step { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.is-stepped .step { margin: 0; }
.is-stepped .step.is-active { animation: step-in .55s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.step-q { padding: 0; margin-bottom: 8px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 620; letter-spacing: -.035em; }
.step-q:focus { outline: none; }
.step-hint { font-size: 15.5px; color: var(--muted); margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 0; padding: 11px 17px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font-size: 15px; color: #d0d5de; transition: border-color .25s, background-color .25s, color .25s; }
.chip span::before { content: ''; width: 0; height: 14px; overflow: hidden; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.chip:hover span { border-color: rgba(255, 255, 255, .3); color: var(--text); }
.chip input:checked + span { border-color: var(--mint); background: rgba(0, 223, 174, .12); color: var(--mint); gap: 8px; }
.chip input:checked + span::before { width: 14px; animation: pop .35s var(--ease) both; }
.chip input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 3px; }
.field { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 520; color: var(--text); }
.req { color: var(--mint); }
.optional { margin-left: 6px; font-size: 12.5px; font-weight: 400; color: var(--dim); }
.field input, .field textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--field); color: var(--text); font-size: 16px; font-weight: 400; line-height: 1.45; transition: border-color .2s, box-shadow .3s var(--ease), background-color .2s; }
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #7c8594; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .22); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(0, 223, 174, .13); background: #0b1119; }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #ff8f8f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.starters { display: none; flex-wrap: wrap; gap: 8px; margin: -4px 0 4px; }
.is-stepped .starters { display: flex; }
.starter { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .02); font-size: 13.5px; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.starter::before { content: '+ '; color: var(--mint); }
.starter:hover { color: var(--text); border-color: rgba(0, 223, 174, .45); background: rgba(0, 223, 174, .05); }
.step-nav { display: none; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.is-stepped .step-nav { display: flex; }
html:not(.js) .step-submit-nav { display: flex; }
html:not(.js) .step-submit-nav [data-prev] { display: none; }
.step-key { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font-size: 13px; color: var(--dim); }
.review { margin: 0 0 20px; }
.review > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.review dt { font-size: 13px; color: var(--dim); padding-top: 2px; }
.review dd { margin: 0; font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review dd.is-empty { color: var(--dim); }
.review button { padding: 2px 4px; border: 0; background: none; font-size: 13.5px; color: var(--mint); border-radius: 4px; }
.review button:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-privacy { font-size: 13px; line-height: 1.55; color: var(--dim); margin-bottom: 4px; }
.form-status { margin-top: 16px; padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--danger); background: rgba(255, 110, 110, .08); border: 1px solid rgba(255, 130, 130, .28); }
.form-status:empty { display: none; }
.form-submit .submit-label { font-size: inherit; }
.form-alternative { margin-top: 18px; font-size: 14px; color: var(--muted); }
.form-alternative a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.form-alternative a:hover { text-decoration-color: var(--mint); }
.form-honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { margin-top: 16px; }
.turnstile-slot[hidden] { display: none; }
.form-success { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success > :not(.burst) { position: relative; z-index: 1; }
.burst { position: absolute; inset: -28px; width: calc(100% + 56px); height: calc(100% + 56px); pointer-events: none; }
.success-mark { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: var(--mint); background: rgba(0, 223, 174, .12); border: 1px solid rgba(0, 223, 174, .55); box-shadow: 0 0 0 10px rgba(0, 223, 174, .05); animation: pop .7s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.form-success h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; max-width: 14ch; }
.form-success p { max-width: 40ch; font-size: 16px; color: var(--muted); }

/* Contact dialog */
.contact-dialog { width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); color: var(--text); overflow: auto; overscroll-behavior: contain; box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .9); }
.contact-dialog::backdrop { background: rgba(3, 5, 10, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contact-dialog[open] { animation: dialog-in .45s var(--ease); }
.contact-dialog[open]::backdrop { animation: backdrop-in .4s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.dialog-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 28px; border-bottom: 1px solid var(--line); background: rgba(11, 15, 23, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dialog-head h2 { font-size: 19px; letter-spacing: -.02em; }
.dialog-slot { padding: 16px; }
.dialog-slot .intake-main { min-height: 500px; }
body.dialog-open { overflow: hidden; }

/* Command palette */
.cmdk { width: min(640px, calc(100vw - 24px)); margin: 12vh auto auto; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(13, 17, 26, .9); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); overflow: hidden; }
.cmdk::backdrop { background: rgba(3, 5, 10, .55); }
.cmdk[open] { animation: cmdk-in .3s var(--ease); }
@keyframes cmdk-in { from { opacity: 0; transform: scale(.97) translateY(-6px); } to { opacity: 1; transform: none; } }
.cmdk-search { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 58px; border-bottom: 1px solid var(--line); color: var(--dim); }
.cmdk-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 17px; color: var(--text); outline: none; }
.cmdk-search input::placeholder { color: #7c8594; }
.cmdk-list { max-height: min(400px, 56vh); overflow: auto; padding: 8px; }
.cmdk-group { padding: 12px 12px 6px; font-size: 12px; font-weight: 520; color: var(--dim); }
.cmdk-list [role='option'] { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; transition: background-color .12s; }
.cmdk-list [role='option'] span { font-size: 13px; color: var(--dim); text-align: right; }
.cmdk-list [role='option'][aria-selected='true'] { background: rgba(0, 223, 174, .09); box-shadow: inset 2px 0 0 var(--mint); }
.cmdk-list [role='option'][aria-selected='true'] span { color: var(--muted); }
.cmdk-list [hidden] { display: none; }
.cmdk-empty { padding: 28px 16px 32px; text-align: center; color: var(--muted); font-size: 15px; }
.cmdk-foot { display: flex; gap: 20px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.cmdk-foot span { display: inline-flex; align-items: center; gap: 6px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); opacity: 0; transform: translate(-50%, 16px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 48px var(--pad) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.footer .brand { width: 150px; }
.footer-inner > p:first-of-type { flex: 1; min-width: 200px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--mint); }
.footer-legal { width: 100%; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Scroll reveals (content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(5px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .card-web, .card-tools { grid-column: span 12; }
  .card-ai, .card-data { grid-column: span 6; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .intake { grid-template-columns: minmax(0, 1fr); }
  .brief { order: 2; }
  .contact-dialog .brief { display: none; }
  .is-stepped .brief-mini { display: flex; }
}
@media (max-width: 820px) {
  .card-ai, .card-data { grid-column: span 12; }
  .card { min-height: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-stage { top: calc(var(--nav-h) + 8px); height: 340px; z-index: 2; }
  .stage-panel { padding: 18px 18px 36px; gap: 9px; }
  .bubble { font-size: 13.5px; padding: 8px 12px; }
  .step-item, .step-item:first-child, .step-item:last-child { min-height: 46vh; justify-content: center; padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-slot-cta { grid-column: span 2; }
  .work-slot-cta .work-thumb { aspect-ratio: 16 / 6; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .brand { width: 128px; }
  .nav-inner { gap: 12px; }
  .cmdk-trigger { padding: 0 11px; }
  .cmdk-trigger kbd, .cmdk-trigger-label { display: none; }
  .cmdk-trigger-menu { display: inline; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm svg { display: none; }
  .hero { justify-content: flex-start; min-height: max(700px, 100svh); padding-top: calc(var(--nav-h) + 36px); padding-bottom: 88px; }
  .hero-art { background-position: 60% 100%; background-size: auto 62%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(8, 11, 18, .72) 0%, rgba(8, 11, 18, .8) 50%, rgba(8, 11, 18, .45) 76%, rgba(8, 11, 18, .1) 88%, var(--ink) 100%); }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-by { margin-top: 32px; }
  .hero-meta { bottom: 22px; }
  .hero-scroll { display: none; }
  .card { padding: 20px; gap: 20px; }
  .demo-flow, .demo-data { padding: 18px 16px 36px; }
  .bw-stage { padding: 16px 14px 60px; }
  .bw-frame[data-size='tablet'] { width: 72%; }
  .bw-frame[data-size='phone'] { width: 46%; }
  .hub { width: 260px; height: 260px; }
  .hub-orbit span { --r: 100px; font-size: 11px; }
  .hub-orbit-inner span { --r: 60px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-slot-cta { grid-column: auto; }
  .founders { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .intake-main { padding: 22px 18px 24px; min-height: 0; }
  .intake-progress { margin-bottom: 26px; }
  .review > div { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .review dt { grid-column: 1 / -1; }
  .step-key { display: none; }
  .contact-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .dialog-head { padding-left: 20px; }
  .dialog-slot { padding: 12px; }
  .dialog-slot .intake-main { min-height: 0; }
  .cmdk { margin-top: 8vh; }
  .footer-links { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .hub-orbit span { animation: none; transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
  #hero-gl { display: none; }
  .gl-ready .hero-art { opacity: .92; }
}
[hidden] { display: none !important; }
