/* Rijo site
   Fonts are self-hosted (no third-party requests). Icons are an inline Phosphor SVG sprite.
   Theme: dark only (brand decision, high-gloss studio look).
   Radius rule: panels/cards 20px, media 16px, inputs 12px, buttons + chips full pill.
   Z scale: 1 content overlays, 10 sticky nav, 20 toasts, 30 grain. */

:root {
  --bg: #0a0a0c;
  --bg-2: #101013;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --text: #eeeef0;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #ff6a2b;
  --accent-soft: rgb(255 106 43 / .14);
  --accent-ink: #1a0b03;
  --chrome: linear-gradient(176deg, #ffffff 8%, #d6d8de 42%, #8d909a 52%, #f2f3f6 78%, #b9bcc4 100%);

  --r-card: 20px;
  --r-media: 16px;
  --r-input: 12px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --nav-h: 68px;

  color-scheme: dark;
}

@font-face { font-family: "Geist"; src: url("/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
.ph { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -0.125em; fill: currentColor; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* film grain: fixed, non-interactive, never on a scrolling layer */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 30;
  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");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); max-width: 18ch; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 56ch; margin-top: 20px; }
.eyebrow {
  display: inline-block;
  font-family: "Geist Mono", monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 18px;
}
.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

section { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; }

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px; font-weight: 500; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: transform .5s var(--ease-out), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: translate(var(--mx), calc(var(--my) + 1px)) scale(.985); }
.btn .ph { font-size: 18px; transition: transform .4s var(--ease-out); }
.btn:hover .ph { transform: translateX(3px); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 30px -10px rgb(255 106 43 / .55);
}
.btn-primary:hover { background: #ff7c43; }
.btn-ghost {
  background: rgb(255 255 255 / .04);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
}
.btn-ghost:hover { border-color: rgb(255 255 255 / .3); background: rgb(255 255 255 / .07); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgb(10 10 12 / .72);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { height: 38px; width: auto; }
.foot-brand .brand svg { height: 44px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 860px) {
  /* phones: keep Home, hide the section links */
  .nav-links { gap: 0; }
  .nav-links li:not(:first-child) { display: none; }
  .nav .wrap { gap: 18px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(10 10 12 / .86) 0%, rgb(10 10 12 / .55) 38%, rgb(10 10 12 / 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgb(10 10 12 / 0) 30%);
}
.hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 6rem);
  max-width: 13ch;
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.hero h1 .w { display: inline-block; will-change: transform; }
.hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #c4c4cb; max-width: 44ch; margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note {
  position: absolute; right: var(--pad); bottom: clamp(56px, 9vh, 96px);
  display: flex; align-items: center; gap: 8px;
  font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted);
}
.hero-note .ph { font-size: 16px; color: var(--accent); }
@media (max-width: 860px) { .hero-note { display: none; } }

/* ---------- stack marquee (the page's one marquee) ---------- */
.stack { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; display: flex; align-items: center; gap: 32px; overflow: hidden; }
.stack-label { flex: none; padding-left: var(--pad); font-size: 14px; color: var(--dim); white-space: nowrap; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track img { height: 26px; width: auto; opacity: .62; transition: opacity .2s; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .stack-label { display: none; } }

/* ---------- services horizontal pan ---------- */
.services { padding-top: clamp(40px, 6vw, 80px); }
.services-head { width: 100%; }
.services-head .lede { margin-top: 14px; }
.pan { position: relative; height: 420vh; }
.pan-sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); padding-top: var(--nav-h); }
.pan-track { display: flex; gap: 20px; padding: 0 var(--pad); will-change: transform; }
.svc {
  --spot-x: 50%; --spot-y: 50%;
  position: relative;
  flex: none;
  width: min(440px, 82vw);
  height: min(480px, 54dvh);
  min-height: 360px;
  border-radius: var(--r-card);
  padding: 32px;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--spot-x) var(--spot-y), rgb(255 106 43 / .13), transparent 60%);
}
.svc:hover::before { opacity: 1; }
.svc-icon {
  width: 56px; height: 56px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgb(255 255 255 / .05);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12);
  font-size: 26px; color: var(--text);
}
.svc h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-top: auto; letter-spacing: -0.035em; }
.svc p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.svc-price { font-family: "Geist Mono", monospace; font-size: 14px; color: var(--text); }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.svc.is-feature { background: linear-gradient(160deg, #2a1608, #15110f 55%, var(--surface)); border-color: rgb(255 106 43 / .28); }
.svc-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .78; transition: transform 1.2s var(--ease-out), opacity .6s; }
.svc:hover .svc-media img { transform: scale(1.04); opacity: .9; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 34%, rgb(21 21 26 / .72) 52%, rgb(21 21 26 / .08) 85%); }
.svc.is-feature .svc-media::after { background: linear-gradient(0deg, #1a120d 34%, rgb(26 18 13 / .72) 52%, rgb(26 18 13 / .08) 85%); }
/* text sits above the artwork; the full-card link sits above everything */
.svc > *:not(.svc-media):not(.svc-link) { position: relative; z-index: 1; }
.svc-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.svc-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .pan { height: auto; }
  .pan-sticky { position: static; height: auto; overflow: visible; padding: 48px 0; }
  .services-head { padding-bottom: 8px; }
  .pan-track { flex-wrap: wrap; }
}

/* ---------- 3D product demo ---------- */
.product { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-card);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #1f1f25 0%, #0d0d10 60%);
  border: 1px solid var(--line);
  cursor: grab;
  touch-action: pan-y;
}
.stage:active { cursor: grabbing; }
.stage canvas { width: 100%; height: 100%; }
.stage-hint {
  position: absolute; left: 20px; bottom: 18px; display: flex; gap: 8px; align-items: center;
  font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); pointer-events: none;
}
.skeleton {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .04) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite;
  transition: opacity .6s;
}
.skeleton.is-gone { opacity: 0; pointer-events: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.options { margin-top: 36px; display: grid; gap: 26px; }
.opt-label { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgb(255 255 255 / .03);
  cursor: pointer; font-size: 14.5px; transition: border-color .2s, background-color .2s;
}
.swatch span { width: 28px; height: 28px; border-radius: 999px; box-shadow: inset 0 1px 1px rgb(255 255 255 / .5), inset 0 -2px 4px rgb(0 0 0 / .35); }
.swatch[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 900px) {
  /* phones: heading first, then the bottle with its finishes right underneath, so both stay in view */
  .product { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .product > div:last-child { display: contents; }
  .product .eyebrow { order: 1; }
  .product h2 { order: 2; }
  .product .lede { order: 3; margin-bottom: 22px; }
  .stage { order: 4; width: 100%; max-height: 52svh; aspect-ratio: auto; height: min(100vw - 32px, 52svh); }
  .options { order: 5; margin-top: 14px; gap: 12px; }
  .opt-label { margin-bottom: 8px; font-size: 13px; }
  .swatches { gap: 8px; flex-wrap: nowrap; }
  .swatch { height: 40px; padding: 0 12px 0 6px; gap: 8px; font-size: 13.5px; white-space: nowrap; }
  .swatch span { width: 26px; height: 26px; }
}

/* ---------- particle swarm band ---------- */
.swarm { position: relative; height: min(88dvh, 860px); min-height: 560px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(70% 70% at 60% 50%, #141418, var(--bg)); }
.swarm-canvas { position: absolute; inset: 0; }
.swarm-canvas canvas { cursor: grab; }
.swarm-copy { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px); pointer-events: none; }
.swarm-copy .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.swarm-copy h2 { max-width: 12ch; }
.swarm-copy .lede { max-width: 40ch; }
.shape-picker { display: flex; gap: 8px; flex-wrap: wrap; pointer-events: auto; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgb(10 10 12 / .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--muted); font-size: 14px; cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* ---------- AI bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; margin-top: 56px; }
.cell { margin: 0; position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.cell-film { grid-column: span 4; grid-row: span 3; }
.cell-reel { grid-column: span 2; grid-row: span 3; }
.cell-ba { grid-column: span 3; grid-row: span 3; }
.cell-chat { grid-column: span 3; grid-row: span 3; }
.cell video, .cell > img { width: 100%; height: 100%; object-fit: cover; }
.cell-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 20px;
  background: linear-gradient(0deg, rgb(10 10 12 / .9), transparent);
}
.cell-cap h3 { font-size: 1.15rem; }
.cell-cap p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.ba { position: absolute; inset: 0; --pos: 50%; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: rgb(255 255 255 / .85); cursor: ew-resize;
}
.ba-handle button {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .5);
  background: rgb(10 10 12 / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; font-size: 20px; cursor: ew-resize;
}
.ba-labels { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; pointer-events: none; font-family: "Geist Mono", monospace; font-size: 12px; }
.ba-labels span { padding: 4px 10px; border-radius: 999px; background: rgb(10 10 12 / .6); }

.chat { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px; background: linear-gradient(170deg, #17171c, #0f0f12); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chat-av { width: 36px; height: 36px; border-radius: 999px; background: var(--chrome); display: grid; place-items: center; color: #222; font-size: 18px; }
.chat-head strong { font-size: 15px; font-weight: 600; display: block; line-height: 1.2; }
.chat-head small { color: var(--dim); font-size: 12.5px; }
.chat-replay { margin-left: auto; height: 34px; width: 34px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.chat-log { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 0 6px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 6px 12px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 99px; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.chat-note { font-size: 12px; color: var(--dim); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-film { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .cell-reel { grid-column: span 1; grid-row: auto; aspect-ratio: 9 / 16; }
  .cell-ba { grid-column: span 1; grid-row: auto; }
  .cell-chat { grid-column: span 2; grid-row: auto; min-height: 460px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell-film, .cell-reel, .cell-ba, .cell-chat { grid-column: span 1; }
  .cell-reel { aspect-ratio: 4 / 5; }
  .cell-ba { aspect-ratio: 4 / 3; }
}

/* ---------- back office ---------- */
.ops-flow { margin-top: 56px; position: relative; }
.flow { display: flex; justify-content: space-between; gap: 28px; position: relative; }
.flow-node {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: 14.5px; white-space: nowrap;
}
.flow-node img, .flow-node .ph { width: 20px; height: 20px; font-size: 20px; flex: none; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.flow-svg path { fill: none; stroke: rgb(255 255 255 / .18); stroke-width: 1.5; }
.flow-svg .pulse { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

.ops {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 300px; gap: 16px;
  padding: 16px; border-radius: var(--r-card);
  background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgb(255 106 43 / .12), inset 0 1px 0 rgb(255 255 255 / .05);
}
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.col { background: var(--surface); border-radius: 14px; padding: 12px; min-height: 380px; border: 1px solid var(--line); }
.col-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--muted); padding: 2px 4px 12px; }
.col-head b { font-family: "Geist Mono", monospace; font-weight: 500; color: var(--text); font-size: 12.5px; }
.job {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; line-height: 1.35;
}
.job strong { display: block; font-weight: 500; }
.job span { color: var(--dim); font-size: 12.5px; display: flex; justify-content: space-between; margin-top: 4px; }
.job span em { font-style: normal; font-family: "Geist Mono", monospace; color: var(--muted); }
.job.is-new { border-color: rgb(255 106 43 / .6); box-shadow: 0 0 0 3px rgb(255 106 43 / .12); }
.ops-side { display: grid; gap: 12px; align-content: start; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.kpi small { color: var(--muted); font-size: 13px; }
.kpi div { font-family: "Geist Mono", monospace; font-size: 26px; letter-spacing: -0.02em; margin-top: 4px; }
.feed { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 180px; }
.feed small { color: var(--muted); font-size: 13px; }
.feed ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.feed li { display: flex; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.feed li .ph { color: var(--accent); font-size: 16px; flex: none; margin-top: 1px; }
.demo-flag { display: inline-flex; align-items: center; gap: 6px; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--dim); margin-top: 14px; }
@media (max-width: 1080px) {
  .ops { grid-template-columns: 1fr; }
  .ops-side { grid-template-columns: repeat(3, 1fr); }
  .feed { grid-column: span 3; }
}
@media (max-width: 760px) {
  .flow { flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
  .flow-svg { display: none; }
  .board { grid-template-columns: repeat(4, 220px); overflow-x: auto; scroll-snap-type: x mandatory; }
  .col { scroll-snap-align: start; }
  .ops-side { grid-template-columns: 1fr; }
  .feed { grid-column: auto; }
}

/* ---------- database ---------- */
.db { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; margin-top: 56px; }
.schema { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background:
  radial-gradient(circle at 1px 1px, rgb(255 255 255 / .07) 1px, transparent 0) 0 0 / 22px 22px, var(--bg-2);
  min-height: 460px; overflow: hidden; }
#schema-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#schema-svg path { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .75; }
.tbl[data-tbl="customers"] { left: 7%; top: 9%; }
.tbl[data-tbl="jobs"] { left: 52%; top: 30%; }
.tbl[data-tbl="invoices"] { left: 12%; top: 62%; }
.tbl { position: absolute; width: 190px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; font-family: "Geist Mono", monospace; font-size: 12px; overflow: hidden; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); }
.tbl header { padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); }
.tbl header .ph { color: var(--accent); font-size: 14px; }
.tbl ul { list-style: none; margin: 0; padding: 6px 0; }
.tbl li { display: flex; justify-content: space-between; padding: 3px 12px; color: var(--muted); }
.tbl li em { font-style: normal; color: var(--dim); }
.tbl li.pk { color: var(--text); }
.console { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; overflow: hidden; }
.console-tabs { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.console-sql { padding: 18px 20px; font-family: "Geist Mono", monospace; font-size: 13.5px; line-height: 1.7; color: var(--muted); min-height: 150px; white-space: pre-wrap; border-bottom: 1px solid var(--line); }
.console-sql .k { color: var(--accent); }
.console-sql .s { color: #e7e7ea; }
.console-out { padding: 6px 8px 14px; flex: 1; overflow-x: auto; }
.console-out table { width: 100%; border-collapse: collapse; font-size: 14px; }
.console-out th { text-align: left; font-weight: 500; color: var(--dim); font-size: 12.5px; font-family: "Geist Mono", monospace; padding: 10px 12px; }
.console-out td { padding: 9px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.console-out td.num { font-family: "Geist Mono", monospace; text-align: right; }
.console-out th.num { text-align: right; }
.console-meta { padding: 10px 20px; border-top: 1px solid var(--line); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; }
@media (max-width: 960px) { .db { grid-template-columns: 1fr; } .schema { min-height: 420px; } }
@media (max-width: 560px) {
  .schema { min-height: 580px; }
  .tbl { width: 176px; }
  .tbl[data-tbl="customers"] { left: 16px; top: 18px; }
  .tbl[data-tbl="jobs"] { left: auto; right: 16px; top: 196px; }
  .tbl[data-tbl="invoices"] { left: 16px; top: 410px; }
}

/* ---------- case study ---------- */
.case { perspective: 1600px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.phones { position: relative; height: clamp(460px, 52vw, 640px); transform-style: preserve-3d; }
.phone {
  position: absolute; top: 50%; left: 50%;
  width: clamp(170px, 17vw, 230px); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden;
  border: 6px solid #1d1d22;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 40px 80px -30px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(255 255 255 / .05);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 40px 0 36px; }
.case-facts dt { font-size: 13.5px; color: var(--dim); }
.case-facts dd { margin: 4px 0 0; font-size: 16px; }
#work { overflow-x: clip; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .phones { order: -1; } }
@media (max-width: 560px) { .phones { height: 400px; } .phone { width: 150px; border-radius: 22px; border-width: 5px; } }

/* ---------- audiences ---------- */
.aud { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 56px; }
.aud figure { margin: 0; position: relative; border-radius: var(--r-card); overflow: hidden; }
.aud figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 1.2s var(--ease-out); }
.aud figure:hover img { transform: scale(1.03); }
.aud figcaption { padding: 22px 4px 0; }
.aud figcaption h3 { font-size: 1.3rem; }
.aud figcaption p { color: var(--muted); margin-top: 6px; max-width: 46ch; }
.aud .tall img { aspect-ratio: 5 / 5.2; }
.aud .short { margin-top: clamp(0px, 10vw, 140px); }
@media (max-width: 760px) { .aud { grid-template-columns: 1fr; } .aud .short { margin-top: 24px; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.process-sticky { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.process-sticky img { margin-top: 40px; border-radius: var(--r-media); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.steps { position: relative; padding-left: 44px; }
.rail { position: absolute; left: 14px; top: 12px; bottom: 12px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), #ffb08a); transform-origin: top; transform: scaleY(0); }
@media (prefers-reduced-motion: reduce) { .rail-fill { transform: none; } }
.step { position: relative; padding: 0 0 clamp(56px, 8vw, 96px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -36px; top: 8px; width: 12px; height: 12px; border-radius: 99px;
  background: var(--bg); border: 2px solid var(--accent);
}
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.step p { color: var(--muted); margin-top: 10px; max-width: 46ch; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-sticky { position: static; } }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.price-card {
  --spot-x: 50%; --spot-y: 0%;
  position: relative; border-radius: var(--r-card); padding: 28px;
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--spot-x) var(--spot-y), rgb(255 255 255 / .07), transparent 65%);
}
.price-card:hover::before { opacity: 1; }
.price-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.price-card h3 .ph { color: var(--accent); font-size: 22px; }
.price-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.price-list li { display: grid; gap: 2px; }
.price-list span { color: var(--muted); font-size: 15px; }
.price-list b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: 17px; }
.care {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(110deg, #261309 0%, var(--surface) 55%);
  border-color: rgb(255 106 43 / .25);
}
.care p { color: var(--muted); margin-top: 6px; max-width: 58ch; }
.care .amount { font-family: "Geist Mono", monospace; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.care .amount small { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 25%, rgb(10 10 12 / .7) 60%, rgb(10 10 12 / .9)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-direct { margin-top: 36px; display: grid; gap: 10px; color: var(--muted); }
.contact-direct a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); }
form.enquiry {
  padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card);
  background: rgb(21 21 26 / .78); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07);
  display: grid; gap: 20px;
}
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; color: #d4d4d8; padding: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: var(--r-input);
  background: #0e0e11; border: 1px solid #3a3a42;
  padding: 13px 14px; font-size: 16px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a93; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 106 43 / .2); }
.field .err { color: #ff8a65; font-size: 13.5px; min-height: 0; }
.field.has-error input, .field.has-error textarea { border-color: #ff8a65; }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need-chips label { cursor: pointer; }
.need-chips input { position: absolute; opacity: 0; pointer-events: none; }
.need-chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #3a3a42; font-size: 14px; color: #c9c9cf; transition: all .2s; }
.need-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.need-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--dim); font-size: 13px; }
.form-done { text-align: left; padding: 12px 0; }
.form-done .ph { font-size: 40px; color: var(--accent); }
.form-done h3 { margin-top: 12px; }
.form-done p { color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- skip link + nav state ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 11; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.nav-links a[aria-current="page"] { color: var(--text); }

/* service cards on the homepage are links */
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.svc:hover .svc-more { color: var(--accent); }
.price-list a { display: grid; gap: 2px; text-decoration: none; border-radius: 10px; margin: -6px -10px; padding: 6px 10px; transition: background-color .2s; }
.price-list a:hover { background: rgb(255 255 255 / .04); }
.price-list a:hover span { color: var(--text); }

/* ---------- inner pages ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 30%, rgb(255 106 43 / .10), transparent 60%), radial-gradient(50% 60% at 10% 0%, rgb(255 255 255 / .05), transparent 60%); }
.page-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.03; letter-spacing: -0.04em; max-width: 15ch; }
.page-hero .lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.price-chip { display: inline-flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-family: "Geist Mono", monospace; font-size: 14.5px; color: var(--text); }
.hero-media { margin: 0; }
.hero-media img, .hero-media video { width: 100%; height: auto; border-radius: var(--r-card); border: 1px solid var(--line); object-fit: cover; background: var(--surface); }
.hero-media img { max-height: 580px; }
.hero-media video { aspect-ratio: 16 / 9; }
.hero-media.is-vertical video { aspect-ratio: 9 / 14; max-height: 640px; width: auto; margin-left: auto; }
.hero-media figcaption { color: var(--dim); font-size: 14px; margin-top: 12px; }
.hero-media .phones { height: clamp(420px, 40vw, 560px); }
/* two vertical reels side by side: the presenter ad leads, the product ad sits beside it */
.reels { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.reel { position: relative; }
.hero-media .reels .reel video { aspect-ratio: 9 / 16; width: 100%; }
.reel-sound {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .25);
  background: rgb(10 10 12 / .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); font-size: 13.5px; cursor: pointer;
}
.reel-sound .ph { font-size: 17px; }
.reel-sound[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .hero-media.is-vertical video { margin: 0 auto; max-height: 520px; }
}
@media (max-width: 760px) { .reels { grid-template-columns: 1fr; gap: 16px; } }

/* showcase: one finished piece, video on the left and the structure behind it on the right */
.showcase-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.showcase-reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.beats { list-style: none; counter-reset: beat; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.beats li { counter-increment: beat; display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.beats b { font-weight: 600; letter-spacing: -0.01em; }
.beats b::before { content: counter(beat, decimal-leading-zero) "  "; font-family: "Geist Mono", monospace; font-weight: 500; font-size: 13px; color: var(--accent); }
.beats span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-reel { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) { .beats { grid-template-columns: 1fr; } }
.hero-media .reel video { display: block; }

/* work index */
.work-hero .wrap { grid-template-columns: 1fr; }
.work-hero h1 { max-width: 18ch; }
.wfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.wgroup { margin-bottom: clamp(64px, 8vw, 110px); }
.wgroup[hidden], .wcard[hidden] { display: none; }
.whead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.whead h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.whead p { margin: 0; color: var(--muted); }
.wgrid { display: grid; gap: 48px 24px; }
.wgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcard { display: flex; flex-direction: column; min-width: 0; }
.wcard.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-content: center; }
.wcard.is-wide .wthumb { grid-column: 1; grid-row: 1 / span 5; }
.wcard.is-wide > :not(.wthumb) { grid-column: 2; }
.wcard.is-wide .wkind { margin-top: 0; align-self: end; }
.wcard.is-wide h3 { font-size: clamp(28px, 2.6vw, 36px); }
.wthumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--surface); }
.wthumb img, .wthumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .4s; }
.wthumb video { opacity: 0; }
.wthumb.playing video { opacity: 1; }
.wcard:hover .wthumb img { transform: scale(1.03); }
.wbadge { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .04); color: var(--text); font: 600 11px/1.5 "Geist Mono", monospace; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.wbadge.is-demo { color: var(--accent); }
.wkind { margin: 18px 0 8px; color: var(--accent); font: 500 12.5px "Geist Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.wcard h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.01em; }
.wcard h3 a { color: inherit; text-decoration: none; }
.wcard h3 a:hover { color: var(--accent); }
.wcard > p:not(.wkind) { margin: 0 0 16px; color: var(--muted); max-width: 56ch; }
.wcard .site-link { margin-top: auto; }
@media (max-width: 1060px) { .wgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .wgrid-2, .wgrid-3 { grid-template-columns: 1fr; gap: 40px; }
  .wcard.is-wide { display: flex; }
  .wcard.is-wide .wkind { margin-top: 18px; }
}

/* walkthrough film: wide video with the features underneath */
.film-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 40px; margin-bottom: 40px; }
.film-head .lede { margin: 0; justify-self: end; max-width: 54ch; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--surface); }
.film-beats { margin-top: 44px; }
@media (max-width: 860px) { .film-head { grid-template-columns: 1fr; gap: 16px; } .film-head .lede { justify-self: start; } }

/* film tabs: one film per tool */
.ftabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 18px; }
.ftabs button { display: grid; gap: 2px; padding: 14px 18px; text-align: left; border-radius: var(--r-input); border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.ftabs button b { color: var(--text); font-size: 17px; font-weight: 600; }
.ftabs button span { font: 500 12.5px "Geist Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
.ftabs button:hover { border-color: rgb(255 106 43 / .5); }
.ftabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); }
.ftabs button[aria-selected="true"] span { color: var(--accent); }
.fpanel[hidden] { display: none; }
.fnote { margin: 18px 0 0; max-width: 72ch; color: var(--muted); font-size: 17px; }
@media (max-width: 960px) { .ftabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftabs { grid-template-columns: 1fr; } }

/* sites we have built: the homepage in a browser frame, then what it is */
.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; margin-top: 48px; }
.site-card { display: flex; flex-direction: column; min-width: 0; }
.site-shot { display: block; text-decoration: none; border-radius: var(--r-card); border: 1px solid var(--line-2); overflow: hidden; background: var(--surface); transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out); }
.site-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.site-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .14); flex: none; }
.site-bar span { margin: 0 auto; transform: translateX(-24px); padding: 4px 16px; border-radius: 999px; background: rgb(255 255 255 / .06); color: var(--muted); font: 12px "Geist Mono", monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-shot img { width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease-out); }
a.site-shot:hover { transform: translateY(-6px); border-color: rgb(255 106 43 / .5); box-shadow: 0 40px 80px -40px rgb(255 106 43 / .45); }
a.site-shot:hover img { transform: scale(1.03); }
.site-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; }
.site-head h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.site-sector { flex: none; font: 12px "Geist Mono", monospace; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.site-card p { margin: 8px 0 16px; color: var(--muted); max-width: 54ch; }
.site-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; align-self: flex-start; transition: border-color .3s, color .3s; }
.site-link:hover { color: var(--accent); border-color: var(--accent); }
.site-status { align-self: flex-start; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font: 12px "Geist Mono", monospace; }
.site-bar b { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 600 11px/1.4 "Geist Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.concepts-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; margin-top: clamp(80px, 9vw, 130px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.concepts-head h3 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.concepts-head p { margin: 0; color: var(--muted); max-width: 52ch; justify-self: end; }
.sites-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-top: 40px; }
.sites-3 .site-head h3 { font-size: 20px; }
@media (max-width: 1080px) { .sites-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sites { grid-template-columns: 1fr; gap: 44px; }
  .sites-3 { grid-template-columns: 1fr; }
  .concepts-head { grid-template-columns: 1fr; gap: 14px; }
  .concepts-head p { justify-self: start; }
  .site-bar span { transform: none; }
  .site-head { flex-direction: column; gap: 6px; }
}

/* before / after: phone photo in, product film out */
.ba-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 44px; }
.ba-pair figure { margin: 0; }
.ba-pair img, .ba-pair video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); display: block; }
.ba-pair figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.ba-pair figure:last-child figcaption { color: var(--text); }
.ba-arrow { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 22px; }
.beats-3 { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
@media (max-width: 760px) {
  .ba-pair { grid-template-columns: 1fr; }
  .ba-arrow { justify-self: center; transform: rotate(90deg); }
  .beats-3 { grid-template-columns: 1fr; }
}

.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.inc { padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.inc .ph { font-size: 26px; color: var(--accent); }
.inc h3 { font-size: 1.15rem; margin-top: 18px; }
.inc p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.inc:nth-child(3n + 1) { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
@media (max-width: 960px) { .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .included { grid-template-columns: 1fr; } }

.proof { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-card); background: linear-gradient(110deg, #261309 0%, var(--surface) 60%); border: 1px solid rgb(255 106 43 / .25); }
.proof p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; max-width: 52ch; line-height: 1.45; }

.price-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding-top: 32px; border-top: 1px solid var(--line); }
.price-band .amount { font-family: "Geist Mono", monospace; font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.price-band p { color: var(--muted); margin-top: 12px; max-width: 54ch; }
@media (max-width: 700px) { .price-band { grid-template-columns: 1fr; } }

.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-size: 1.08rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: "Geist Mono", monospace; font-size: 20px; color: var(--accent); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.related a { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color .25s, transform .4s var(--ease-out); }
.related a:hover { border-color: rgb(255 106 43 / .45); transform: translateY(-2px); }
.related .ph { font-size: 24px; color: var(--accent); }
.related strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.related span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 14px; max-width: none; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: #c9c9cf; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose .updated { color: var(--dim); font-family: "Geist Mono", monospace; font-size: 13px; }

.stack-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stack-list span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: #d4d4d8; }
.stack-list img { width: 16px; height: 16px; }

.notfound { min-height: 80dvh; display: grid; align-content: center; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.05em; }

/* ---------- dashboard demo ---------- */
.hero-media.is-demo { min-width: 0; }
.dash { border-radius: var(--r-card); border: 1px solid var(--line-2); background: linear-gradient(170deg, #17171c, #0e0e11); padding: 16px; box-shadow: 0 40px 120px -40px rgb(255 106 43 / .18), inset 0 1px 0 rgb(255 255 255 / .06); }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 14px; font-size: 14px; color: var(--muted); }
.dash-head span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.dash-head .ph { color: var(--accent); font-size: 18px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; }
.dash-label { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.dash-big { font-family: "Geist Mono", monospace; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.dash-big.is-low { color: #ff8a65; }
.dash-note { font-size: 12px; color: var(--dim); margin-top: 6px; }
.dash-clocks, .dash-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.dash-clocks li, .dash-feed li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dash-clocks span, .dash-feed span { color: var(--muted); }
.dash-clocks b, .dash-feed b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: 13px; }
.dash-feed li span { flex: 1; }
.dash-feed .ph { color: var(--accent); font-size: 15px; }
.dash-spark { width: 100%; height: 56px; margin-top: 8px; }
.dash-spark .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.dash-spark .area { fill: rgb(255 106 43 / .12); stroke: none; }
.dash-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.dash-inputs label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.dash-inputs input { width: 100%; border-radius: 10px; border: 1px solid #3a3a42; background: #0e0e11; padding: 8px 10px; font-family: "Geist Mono", monospace; font-size: 15px; color: var(--text); }
.dash-inputs input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 106 43 / .2); }
@media (max-width: 480px) { .dash-grid { grid-template-columns: 1fr; } }

/* ---------- agent team demo ---------- */
.agents { border-radius: var(--r-card); border: 1px solid var(--line-2); background: linear-gradient(170deg, #17171c, #0e0e11); padding: 16px; display: grid; gap: 12px; box-shadow: 0 40px 120px -40px rgb(255 106 43 / .18), inset 0 1px 0 rgb(255 255 255 / .06); }
.agents-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.agents-picker .chip { height: 36px; font-size: 13.5px; }
.agents-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.agents-list li { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; transition: border-color .3s, background-color .3s; }
.ag-name { font-weight: 500; line-height: 1.25; }
.ag-name small { display: block; font-weight: 400; color: var(--dim); font-size: 11.5px; margin-top: 2px; }
.ag-state { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--dim); }
.ag-dot { width: 8px; height: 8px; border-radius: 99px; background: #3a3a42; }
.agents-list li[data-state="working"] { border-color: rgb(255 106 43 / .5); }
.agents-list li[data-state="working"] .ag-dot { background: var(--accent); animation: blink 1s infinite; }
.agents-list li[data-state="working"] .ag-state { color: var(--accent); }
.agents-list li[data-state="waiting"] { border-color: var(--accent); background: rgb(255 106 43 / .1); }
.agents-list li[data-state="waiting"] .ag-dot { background: var(--accent); }
.agents-list li[data-state="waiting"] .ag-state { color: var(--accent); }
.agents-list li[data-state="done"] .ag-dot { background: #8fd18b; }
.agents-list li[data-state="done"] .ag-state { color: #8fd18b; }
.agents-log { min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; border-radius: 12px; background: #0b0b0e; border: 1px solid var(--line); overflow: hidden; }
.ag-line { font-size: 13.5px; color: #c9c9cf; line-height: 1.45; }
.ag-line b { color: var(--text); font-weight: 600; margin-right: 4px; }
.ag-line.is-ask { padding: 12px; border-radius: 10px; background: rgb(255 106 43 / .1); border: 1px solid rgb(255 106 43 / .35); color: var(--text); }
.ag-line.is-note { color: var(--accent); font-family: "Geist Mono", monospace; font-size: 12.5px; }
.ag-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.agents-foot { display: flex; justify-content: space-between; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--dim); }
@media (max-width: 640px) {
  .agents-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents-list li:last-child { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { .agents-list li[data-state="working"] .ag-dot { animation: none; } }

/* ---------- AI audit sample plan ---------- */
.audit { border-radius: var(--r-card); border: 1px solid var(--line-2); background: linear-gradient(170deg, #17171c, #0e0e11); padding: 16px; box-shadow: 0 40px 120px -40px rgb(255 106 43 / .18), inset 0 1px 0 rgb(255 255 255 / .06); }
.audit-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.audit-sum div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; min-width: 0; }
.audit-sum small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.audit-sum b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.1; }
.audit-sum div:last-child b { color: var(--accent); }
.audit-cols, .audit-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 64px 132px; gap: 12px; align-items: center; }
.audit-cols { padding: 16px 12px 8px; font-family: "Geist Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.audit-cols span:first-child { grid-column: 1 / 3; }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.audit-list li { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.audit-list li:first-child { border-color: rgb(255 106 43 / .45); background: rgb(255 106 43 / .07); }
.audit-rank { width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; font-family: "Geist Mono", monospace; font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line-2); }
.audit-list li:first-child .audit-rank { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.audit-what { display: grid; gap: 2px; min-width: 0; }
.audit-what b { font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.audit-what span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.audit-cost { font-family: "Geist Mono", monospace; font-size: 13.5px; }
.audit-pay { display: grid; gap: 5px; }
.audit-pay small { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
.audit-bar { display: block; height: 6px; width: calc(var(--w) * 100%); min-width: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #ffb08a); transform-origin: left; }
.audit-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.audit-foot span { display: inline-flex; align-items: center; gap: 8px; }
.audit-foot .ph { color: var(--accent); font-size: 17px; }
.audit-foot b { font-family: "Geist Mono", monospace; font-weight: 500; color: #8fd18b; white-space: nowrap; }
@media (max-width: 560px) {
  .audit-sum { grid-template-columns: 1fr 1fr; }
  .audit-sum div:last-child { grid-column: span 2; }
  .audit-cols { display: none; }
  .audit-list li { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .audit-pay { grid-column: 2 / -1; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
}

/* ---------- SEO search illustration ---------- */
.serp { border-radius: var(--r-card); border: 1px solid var(--line-2); background: linear-gradient(170deg, #17171c, #0e0e11); padding: 16px; display: grid; gap: 10px; box-shadow: 0 40px 120px -40px rgb(255 106 43 / .18), inset 0 1px 0 rgb(255 255 255 / .06); }
.serp-top { display: flex; gap: 10px; align-items: center; }
.serp-bar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); font-size: 15px; }
.serp-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-bar .ph { color: var(--muted); font-size: 18px; }
.serp-toggle { display: flex; padding: 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); }
.serp-toggle button { height: 34px; padding: 0 14px; border-radius: 99px; border: 0; background: none; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: background-color .3s, color .3s; }
.serp-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.serp-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.serp-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.serp-label { display: inline-flex; align-items: center; gap: 6px; font-family: "Geist Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.serp-ai { background: linear-gradient(160deg, rgb(255 106 43 / .09), var(--surface) 60%); border-color: rgb(255 106 43 / .25); }
.serp-ai .serp-label .ph { color: var(--accent); }
.serp-ai p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: #d4d4d8; }
.serp-ai p b { color: var(--text); font-weight: 600; }
.serp-pack { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.serp-hit { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #111115; }
.serp-hit.is-ghost { order: 1; }
.serp[data-view="before"] .serp-hit.is-us { order: 2; opacity: .75; }
.serp[data-view="after"] .serp-hit.is-us { order: 0; border-color: rgb(255 106 43 / .5); background: rgb(255 106 43 / .07); }
.serp-thumb { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.serp-hit.is-us .serp-thumb, .jresult .serp-thumb { background: #e9eefc; color: #2f4fd6; border: 0; font-size: 22px; }
.serp-info { display: grid; gap: 2px; flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.serp-info b { color: var(--text); font-weight: 600; font-size: 14.5px; }
.serp-info small { font-size: 12px; color: var(--dim); }
.serp-stars { color: #ffc35a; display: inline-flex; align-items: center; gap: 1px; font-size: 12.5px; }
.serp-stars .ph { font-size: 12px; }
.sk { display: block; height: 9px; border-radius: 6px; background: #26262d; margin: 3px 0; }
.serp-changes { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.serp-changes li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line-2); color: #c9c9cf; }
.serp-changes.is-after .ph { color: #8fd18b; }
.serp-changes.is-before .ph { color: #ff8a65; }
.serp[data-view="after"] .is-before, .serp[data-view="before"] .is-after { display: none; }
@media (max-width: 480px) { .serp-top { flex-direction: column; align-items: stretch; } .serp-toggle { align-self: flex-start; } }

/* ---------- four-stage infographic ---------- */
.journey { --node: 52px; --jgap: clamp(14px, 1.6vw, 22px); position: relative; }
.jsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--jgap); position: relative; }
.jrail { position: absolute; top: calc(var(--node) / 2 - 1px); left: calc(var(--node) / 2); right: calc((100% - 3 * var(--jgap)) / 4 - var(--node) / 2); height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.jrail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), #ffb08a); transform-origin: left; transform: scaleX(var(--p, 0)); }
.jstep { display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.jnode { position: relative; z-index: 1; width: var(--node); height: var(--node); border-radius: 99px; display: grid; place-items: center; font-size: 22px; color: var(--muted); background: var(--bg); border: 1px solid var(--line-2); transition: color .5s, border-color .5s, box-shadow .5s, background-color .5s; }
.jstep.is-on .jnode { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgb(255 106 43 / .14), 0 0 40px rgb(255 106 43 / .35); }
.jcard { display: grid; gap: 10px; align-content: start; height: 100%; padding: 20px; border-radius: var(--r-card); background: linear-gradient(170deg, #17171c, #0e0e11); border: 1px solid var(--line-2); }
.jtag { display: inline-flex; align-items: center; gap: 10px; font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.jtag b { font-weight: 500; color: var(--dim); }
.jcard h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -0.02em; line-height: 1.25; }
.jcard p { color: var(--muted); font-size: 15px; margin: 0; }
.jart { margin-top: auto; padding-top: 8px; }
.jfoot { margin-top: 18px; color: var(--dim); font-size: 14px; }
.js .journey .jstep { opacity: 0; }
.journey.is-done .jstep { opacity: 1; }
.jchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jchips li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); font-size: 12.5px; color: #c9c9cf; }
.jchips .ph { color: var(--accent); }
.jflow { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; }
.jstop { padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); }
.jgap { position: relative; min-width: 34px; padding: 0 6px; text-align: center; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--dim); }
.jgap::after { content: ""; display: block; height: 1px; margin-top: 2px; background: var(--line-2); }
.jgap.is-slow { color: #ff8a65; }
.jgap.is-slow::after { background: #ff8a65; height: 2px; }
.jrank { display: grid; gap: 8px; }
.jrank div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 12.5px; color: #c9c9cf; }
.jrank i { grid-column: 1 / -1; grid-row: 2; display: block; height: 6px; width: calc(var(--w) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--accent), #ffb08a); transform-origin: left; }
.jrank b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: 12px; color: var(--muted); }
.jrank small { font-size: 11.5px; color: var(--dim); }
.jresult { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #111115; border: 1px solid rgb(255 106 43 / .4); font-size: 12.5px; color: var(--muted); }
.jresult b { display: block; color: var(--text); font-size: 14px; }
.jresult small { display: block; color: var(--dim); font-size: 11.5px; }
.jchart > svg { width: 100%; height: 64px; }
.jchart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.jchart .area { fill: rgb(255 106 43 / .12); }
.jchart small { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.jchart small .ph { color: #8fd18b; }
@media (max-width: 1080px) and (min-width: 761px) { .jsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jrail { display: none; } }
@media (max-width: 760px) {
  /* stacked: each step draws its own connector down to the next node */
  .jrail { display: none; }
  .jsteps { grid-template-columns: 1fr; gap: 22px; }
  .jstep { position: relative; grid-template-columns: var(--node) minmax(0, 1fr); grid-template-rows: auto; gap: 14px; }
  .jstep:not(:last-child)::before, .jstep:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: var(--node); bottom: -22px; width: 2px; background: var(--line-2); }
  .jstep:not(:last-child)::after { background: linear-gradient(180deg, var(--accent), #ffb08a); transform-origin: top; transform: scaleY(0); transition: transform .7s .25s var(--ease-out); }
  .jstep.is-on:not(:last-child)::after { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { .js .journey .jstep { opacity: 1; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 40px; color: var(--muted); font-size: 15px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 30ch; color: var(--muted); }
.foot-brand a.mail { display: inline-block; margin-top: 18px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.foot-col h2 { font-size: 13px; font-family: "Geist Mono", monospace; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 16px; max-width: none; line-height: 1.4; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--dim); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Natalie, the site assistant (z 25-26: above the nav, below the grain) ---------- */
.nat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border-radius: 99px; border: 1px solid var(--line-2); background: rgb(21 21 26 / .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); font-size: 15px; font-weight: 500; cursor: pointer; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .8); animation: nat-in .6s 1.2s var(--ease-out) both; transition: transform .3s var(--ease-out), opacity .3s, border-color .3s; }
.nat-launch img { width: 40px; height: 40px; border-radius: 99px; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); }
.nat-launch::after { content: ""; position: absolute; left: 38px; bottom: 9px; width: 11px; height: 11px; border-radius: 99px; background: #3ecf8e; border: 2px solid #15151a; }
.nat-launch:hover { border-color: rgb(255 106 43 / .6); }
.nat-launch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nat-launch.is-tucked { opacity: 0; transform: translateY(20px); pointer-events: none; }
@keyframes nat-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.nat { position: fixed; right: 20px; bottom: 88px; z-index: 26; width: min(400px, calc(100vw - 40px)); height: min(620px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: var(--r-card); border: 1px solid var(--line-2); background: linear-gradient(170deg, #17171c, #0d0d10); box-shadow: 0 40px 120px -30px rgb(0 0 0 / .9), 0 30px 100px -50px rgb(255 106 43 / .35); overflow: hidden; opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .3s var(--ease-out); }
.nat.is-in { opacity: 1; transform: none; }
.nat[hidden] { display: none; }
.nat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .02); }
.nat-face { flex: none; width: 56px; height: 56px; border-radius: 99px; background: #000 url(/media/natalie/faces.webp) no-repeat; background-size: 1400% 100%; background-position: calc(var(--f, 0) * 100% / 13) 0; box-shadow: 0 0 0 2px var(--accent), 0 0 24px rgb(255 106 43 / .35); }
.nat-head b { display: block; font-size: 16px; }
.nat-head small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.nat-x { margin-left: auto; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 16px; cursor: pointer; transition: color .2s, border-color .2s; }
.nat-x:hover { color: var(--text); border-color: rgb(255 255 255 / .3); }
.nat-x:focus-visible, .nat-form button:focus-visible, .nat-sugg button:focus-visible, .nat-enq:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.nat-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.nat-msg p { margin: 0; }
.nat-msg p + p, .nat-msg p + ul, .nat-msg ul + p { margin-top: 8px; }
.nat-msg ul { margin: 0; padding-left: 18px; }
.nat-msg a { color: #ffb08a; text-underline-offset: 2px; }
.nat-msg.is-bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.nat-msg.is-user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.nat-msg.is-user a { color: inherit; }
.nat-enq { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; height: 38px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.nat-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.nat-sugg button { height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: #d4d4d8; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.nat-sugg button:hover { border-color: rgb(255 106 43 / .6); color: var(--text); }
.nat-dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.nat-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--muted); animation: blink 1s infinite; }
.nat-dots i:nth-child(2) { animation-delay: .15s; }
.nat-dots i:nth-child(3) { animation-delay: .3s; }
.nat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.nat-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 22px; border: 1px solid #3a3a42; background: #0e0e11; font-size: 16px; line-height: 1.35; color: var(--text); }
.nat-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 106 43 / .2); }
.nat-form button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 18px; cursor: pointer; }
.nat-form.is-busy button { opacity: .5; pointer-events: none; }
.nat-note { margin: 0; padding: 0 14px 12px; font-size: 11.5px; color: var(--dim); }
.nat-note a { color: var(--muted); }
@media (max-width: 560px) {
  .nat-launch { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .nat-launch span { display: none; }
  .nat-launch::after { left: 36px; bottom: 8px; }
  .nat { inset: 0; width: auto; height: 100dvh; border-radius: 0; border: 0; }
  .nat-form { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  html.nat-open { overflow: hidden; }
  html.nat-open .nat-launch { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .nat-launch { animation: none; } .nat { transition: none; } .nat-dots i { animation: none; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .skeleton { animation: none; }
  .btn, .btn .ph { transition: none; }
}
