/* DesignArms — site styles
   Tokens first, then base, layout, components, sections. No build step. */

:root {
  /* Brand palette (confirmed) */
  --carbon: #151515;
  --paper: #f4f3ee;
  --lime: #c7ff3d;

  /* Supporting tones derived from the palette */
  --graphite: #1e1e1c;
  --line: #2e2e2b;
  --line-strong: #474742;
  --ash: #a9a8a0;          /* muted text, 7.4:1 on carbon */
  --ink-soft: #55554f;     /* muted text on paper, 7:1 */
  --lime-rail: rgba(199, 255, 61, .38);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.3rem, 1.1rem + .8vw, 1.65rem);
  --step-3: clamp(1.85rem, 1.2rem + 2.6vw, 3.25rem);
  /* Sized so "I’m your design arms." (≈12.7em wide) stays on one line from tablet up */
  --step-hero: clamp(2.3rem, 6.2vw, 5.6rem);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(56px, 6.5vw, 104px);   /* every section gets this above and below, so the gap between any two is even */
  --header-h: 88px;   /* 72px on phones, see below */
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* Glass (Apple-style frosted panels): translucent fill, blur, hairline border, top highlight */
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
  --glass-bg-strong: linear-gradient(180deg, rgba(40, 40, 38, .72), rgba(26, 26, 25, .66));
  --glass-border: rgba(255, 255, 255, .09);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .09);
  --glass-shadow: 0 24px 60px -28px rgba(0, 0, 0, .7);
  --glass-blur: blur(22px) saturate(160%);

  color-scheme: dark;
}

@media (max-width: 760px) { :root { --header-h: 72px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); font-weight: 600; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }

::selection { background: var(--lime); color: var(--carbon); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--carbon);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Cursor glow: a soft lime light that follows the mouse across the whole site ----------
   main.js adds the element on mouse devices only, and moves it with a slight lag. */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 840px;
  height: 840px;
  margin: -420px 0 0 -420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 255, 61, .075) 0%, rgba(199, 255, 61, .03) 35%, transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }
/* The statement section has its own glow tied to the spotlight; on mouse devices the site-wide one takes over */
@media (hover: hover) and (pointer: fine) { .statement::before { display: none; } }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 var(--step-0)/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn-lime { background: var(--lime); color: var(--carbon); }
.btn-lime:active { transform: translateY(1px); }
.btn-lime:focus-visible { outline-color: var(--paper); }

/* Lime button hover:
   1. dark ink floods the button from the point the cursor entered (--mx/--my set by main.js),
   2. the label turns lime and its letters roll up one after another,
   3. a lime ring and glow appear, the arrow tilts to ↗,
   4. the whole button leans toward the cursor (magnetic pull, via the `translate` property in main.js). */
.btn-lime {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 10px;
  transition: box-shadow .45s var(--ease), translate .5s cubic-bezier(.2, 1.6, .4, 1), transform .2s var(--ease);
}
/* The ink: a lime-on-dark copy of the button (built by main.js) revealed through a circle that grows
   from where the cursor came in. Text is always the right colour on each side of the ink's edge. */
.btn-ink {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  padding: inherit;
  border-radius: inherit;
  background: var(--carbon);
  color: var(--lime);
  pointer-events: none;
  clip-path: circle(0 at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .55s cubic-bezier(.3, .8, .2, 1);
}
.btn-lime:hover .btn-ink, .btn-lime:focus-visible .btn-ink { clip-path: circle(var(--r, 400px) at var(--mx, 50%) var(--my, 50%)); }
.btn-lime:hover, .btn-lime:focus-visible {
  box-shadow: inset 0 0 0 1.5px var(--lime), 0 0 0 6px rgba(199, 255, 61, .1), 0 18px 44px -12px rgba(199, 255, 61, .55);
}
.btn-lime:hover .btn-ink, .btn-lime:focus-visible .btn-ink { box-shadow: inset 0 0 0 1.5px var(--lime); }
.btn-lime.is-magnet { transition: box-shadow .45s var(--ease), translate .15s linear, transform .2s var(--ease); }

/* Letter roll: each letter has a copy underneath that slides up into place */
.btn-label { display: inline-flex; overflow: hidden; line-height: 1.3; }
.btn-label .ch { position: relative; display: inline-block; white-space: pre; transition: transform .5s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--n) * 16ms); }
.btn-label .ch::after { content: attr(data-ch); position: absolute; left: 0; top: 100%; }
.btn-lime:hover .btn-label .ch, .btn-lime:focus-visible .btn-label .ch { transform: translateY(-100%); }

.btn-lime svg { transition: transform .45s var(--ease); }
.btn-lime:hover svg, .btn-lime:focus-visible svg { transform: translateX(2px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .btn-lime, .btn-ink, .btn-label .ch, .btn-lime svg { transition-duration: .01s; transition-delay: 0s; }
  .btn-lime:hover .btn-label .ch { transform: none; }
}
.btn[disabled] { opacity: .6; cursor: progress; }

/* Text link: on hover the lime underline slides out to the right and draws back in from the left */
.link-line {
  padding-bottom: .22em;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 100% 2px;
  transition: color .3s var(--ease);
}
.link-line:hover, .link-line:focus-visible { color: var(--lime); animation: line-swap .7s cubic-bezier(.7, 0, .2, 1); }
@keyframes line-swap {
  0% { background-position: 100% 100%; background-size: 100% 2px; }
  45% { background-position: 100% 100%; background-size: 0 2px; }
  46% { background-position: 0 100%; background-size: 0 2px; }
  100% { background-position: 0 100%; background-size: 100% 2px; }
}
@media (prefers-reduced-motion: reduce) { .link-line:hover, .link-line:focus-visible { animation: none; } }

/* ---------- Logo ----------
   The "DesignArms" wordmark (lime A with the pen nib), with "by Ali Vakil" underneath.
   PNG cut from the final logo artwork (brand/ folder); swap for an SVG when the vector file arrives. */

.logo {
  display: inline-grid;
  justify-items: start;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
}
.logo-word { width: auto; height: 30px; max-width: none; }
.logo-by { justify-self: end; margin-top: -3px; padding-right: 2px; font: 500 .875rem/1 var(--font-body); color: var(--ash); }
.logo-by b { font-weight: 600; color: var(--paper); }   /* right-aligned, under "Arms" */

.footer-brand .logo-word { height: 38px; }
.footer-brand .logo-by { font-size: .9375rem; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(21, 21, 21, .92);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgba(21, 21, 21, .9); backdrop-filter: blur(14px); }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; }
.nav-list a {
  font-weight: 500;
  font-size: .9875rem;
  text-decoration: none;
  color: var(--ash);
  transition: color .2s var(--ease);
}
.nav-list a:hover { color: var(--paper); }

.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 4px 0 12px;
    background: none;
    border: 0;
    color: var(--paper);
    font: 600 .9375rem/1 var(--font-body);
    cursor: pointer;
  }
  .menu-btn-icon {
    position: relative;
    width: 22px;
    height: 12px;
  }
  .menu-btn-icon::before,
  .menu-btn-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform .25s var(--ease), top .25s var(--ease);
  }
  .menu-btn-icon::before { top: 0; }
  .menu-btn-icon::after { top: 10px; }
  .menu-btn[aria-expanded="true"] .menu-btn-icon::before { top: 5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn-icon::after { top: 5px; transform: rotate(-45deg); }

  .js .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 24px var(--gutter) 32px;
    background: var(--carbon);
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s var(--ease), visibility 0s linear .2s;
  }
  .js .site-header.is-open .nav {
    visibility: visible;
    opacity: 1;
    transition: opacity .2s var(--ease);
  }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
    font: 600 var(--step-2)/1.2 var(--font-display);
  }
  .js .nav .btn { min-height: 56px; font-size: var(--step-0); }

  /* Without JS, show the links inline under the bar */
  html:not(.js) .site-header { position: absolute; height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Hero: problem-led headline + live design canvas ----------
   Text on the left, a shared design file on the right that turns a founder's napkin sketch
   into a logo, a website, an app screen and a pitch-deck slide in turn (driven by main.js).
   On phones the canvas comes first. */

.hero {
  --you: #8fb7ff;
  padding: calc(var(--header-h) + clamp(32px, 7vh, 88px)) 0 clamp(64px, 10vh, 112px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 5.5vw, 96px);
  align-items: center;
}

.hero-copy { container-type: inline-size; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--ash); font-size: .9375rem; }
.hero-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(199, 255, 61, .14); }

/* Visual headline (a <p>; the real h1 beside it is for search engines and screen readers) */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(3.1rem, 7.4cqi);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero-title .answer { display: block; }
.hero-title .arms { color: var(--lime); }

/* Only the current problem is in the flow, so the headline always starts right under the eyebrow and
   "I'm your design arms." follows straight after it. main.js gives .hero-title a min-height that fits
   the longest problem, so any spare space sits below the headline and the lede never jumps. */
.problems { display: block; margin-bottom: .08em; }
.problems span { display: none; }
.problems span.on { display: block; white-space: nowrap; }
/* Terminal-style cursor after the typed line: solid while typing, blinking while it waits */
.js .problems span.on::after {
  content: "";
  display: inline-block;
  width: .42em;
  height: .78em;
  margin-left: .1em;
  vertical-align: -.04em;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(199, 255, 61, .6);
  animation: caret-blink 1s steps(1) infinite;
}
.js .hero-title.is-typing .problems span.on::after { animation: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .js .problems span.on::after { display: none; } }
@keyframes problem-in { from { opacity: 0; transform: translateY(.3em); } }

.hero-lede { max-width: 44ch; margin-top: 32px; font-size: var(--step-1); line-height: 1.55; color: var(--ash); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

/* The live canvas */
.canvas {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a19 radial-gradient(circle, #2b2b28 1px, transparent 1.2px) 0 0 / 22px 22px;
}

/* Toolbar like a design tool, with a tab for each kind of build */
.bar { position: absolute; left: 0; right: 0; top: 0; z-index: 5; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #171716; font-size: 13px; color: var(--ash); }
.bar .dots { display: flex; gap: 6px; }
.bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a36; }
.bar .file { margin-left: 6px; color: var(--paper); white-space: nowrap; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs span { padding: 4px 10px; border-radius: 99px; font-size: 12px; white-space: nowrap; transition: background-color .25s, color .25s; }
.tabs span.on { background: var(--lime); color: var(--carbon); font-weight: 600; }
.bar .people { display: flex; margin-left: 10px; }
.bar .people b { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -6px; border: 2px solid #171716; border-radius: 50%; font: 600 10px/1 var(--font-body); color: var(--carbon); }
.bar .people .p-ali { background: var(--lime); }
.bar .people .p-you { background: var(--you); }

/* The artboard */
.board-name { position: absolute; left: 9%; top: calc(17% - 24px); font-size: 12px; color: var(--ash); }
.board { position: absolute; left: 9%; right: 9%; top: 17%; bottom: 8%; border-radius: 10px; background: var(--carbon); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); transition: background-color .35s var(--ease); }

.scene { position: absolute; inset: 0; display: none; }
.scene.active { display: block; }

/* The napkin: warm paper with a fold line and a coffee ring */
.is-napkin .board {
  background:
    radial-gradient(circle at 88% 16%, transparent 0 9.4%, rgba(150, 110, 60, .14) 9.8%, rgba(150, 110, 60, .05) 10.4%, transparent 11%),
    linear-gradient(90deg, transparent 49.7%, rgba(0, 0, 0, .05) 50%, transparent 50.3%),
    #efeae0;
}

/* The founder's sketch, drawn stroke by stroke (each mark has pathLength="1" and a --i order; matched by element type,
   because a [pathLength] attribute selector does not start the animation on SVG shapes) */
.scribble { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; filter: url(#rough); transition: opacity .25s var(--ease); }
.scribble :is(path, rect, circle, ellipse) { fill: none; stroke: #36352f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scribble .hand { font: 700 15px/1 "Caveat", cursive; fill: #4a4840; opacity: 0; }
.scribble .hand.big { font-size: 24px; fill: #36352f; }
.is-scribbling .scene.active .scribble :is(path, rect, circle, ellipse) { animation: ink .28s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 40ms); }
.is-scribbling .scene.active .scribble .hand { animation: hand-in .25s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes hand-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.built .scribble { opacity: 0; }

/* Pieces of the finished design appear one by one */
.ui { position: absolute; opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.ui.on { opacity: 1; transform: none; }
.ui.press { transform: scale(.94); }

/* ----- Build 1: the Nova brand ----- */
.lg-mark { left: 6%; top: 10%; width: 30%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 22%; background: var(--lime); box-shadow: 0 2cqw 5cqw rgba(199, 255, 61, .18); }
.lg-mark svg { width: 84%; height: 84%; max-width: none; overflow: visible; }
/* The Nova mark: an N whose last stroke bursts into a star, with an orbit ring woven behind it.
   .knock is a lime copy of the N drawn wider, so the ring gets a clean gap where it passes behind the letter. */
.lg-mark .orbit { fill: none; stroke: var(--carbon); stroke-width: 3.2; opacity: .8; }
.lg-mark .knock { fill: none; stroke: var(--lime); stroke-width: 19; stroke-linecap: round; stroke-linejoin: round; }
.lg-mark .stroke { fill: none; stroke: var(--carbon); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.lg-mark .star { fill: var(--carbon); transform-box: fill-box; transform-origin: center; }
.lg-mark .dot { fill: var(--carbon); transform-box: fill-box; transform-origin: center; }
/* When the mark lands, the star bursts in and the little stars twinkle */
@media (prefers-reduced-motion: no-preference) {
  .lg-mark.on .star { animation: nova-burst .7s var(--ease) .15s both; }
  .lg-mark.on .dot { animation: nova-twinkle 1.6s ease-in-out .5s infinite; }
  .lg-mark.on .dot.d2 { animation-delay: 1.1s; }
}
@keyframes nova-burst { 0% { transform: scale(0) rotate(-45deg); } 60% { transform: scale(1.25) rotate(8deg); } 100% { transform: none; } }
@keyframes nova-twinkle { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .25; transform: scale(.5); } }
.lg-word { left: 41%; top: 13%; display: grid; gap: 1.2cqw; }
.lg-word b { font: 700 8.6cqw/.9 var(--font-display); letter-spacing: -.05em; color: var(--paper); }
.lg-word small { font: 500 1.6cqw/1 var(--font-body); color: var(--ash); }
.lg-icon { right: 6%; top: 11%; width: 12%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 24%; background: #232321; border: 1px solid #34342f; }
.lg-icon span { display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 26%; background: var(--lime); }
.lg-icon svg { width: 78%; height: 78%; max-width: none; overflow: visible; }
.lg-icon .stroke { fill: none; stroke: var(--carbon); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.lg-icon .star { fill: var(--carbon); }
.lg-palette { left: 6%; top: 60%; display: flex; gap: 1cqw; }
.lg-palette span {
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 9cqw; height: 11cqw; padding: .8cqw;
  border: 1px solid #34342f; border-radius: 1.2cqw;
  background: var(--c); color: #6d6c65; font: 500 .95cqw/1.2 var(--font-body);
}
.lg-palette span b { display: block; font-weight: 700; font-size: 1.15cqw; color: #151515; }
.lg-palette span:nth-child(2) { color: #8d8c85; }
.lg-palette span:nth-child(2) b { color: var(--paper); }
.lg-type { left: 54%; top: 60%; display: flex; align-items: center; gap: 1.8cqw; padding: 1.6cqw 2cqw; border: 1px solid #2e2e2b; border-radius: 1.4cqw; }
.lg-type b { font: 700 6.4cqw/1 var(--font-display); letter-spacing: -.03em; color: var(--paper); }
.lg-type span { font: 400 1.25cqw/1.6 var(--font-body); color: var(--ash); }
.lg-type strong { color: var(--paper); font-family: var(--font-display); font-weight: 600; }
.lg-type em { color: var(--paper); font-style: normal; font-weight: 600; }

/* ----- Build 2: Nova's website ----- */
.ws-nav { left: 5%; right: 5%; top: 5%; height: 9%; display: flex; align-items: center; gap: 3cqw; font: 500 1.2cqw/1 var(--font-body); color: var(--ash); }
.ws-logo { display: flex; align-items: center; gap: .8cqw; font: 700 1.9cqw/1 var(--font-display); color: var(--paper); letter-spacing: -.03em; }
.ws-logo i { display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; background: var(--lime); color: var(--carbon); font: 700 1.4cqw/1 var(--font-display); font-style: normal; }
.ws-links { display: flex; gap: 2.4cqw; margin-left: auto; }
.ws-cta { padding: .8cqw 1.6cqw; border: 1px solid #3a3a36; border-radius: 99px; color: var(--paper); }
.ws-title { left: 5%; top: 22%; width: 48%; display: grid; justify-items: start; gap: 1.4cqw; }
.ws-pill { padding: .5cqw 1.2cqw; border-radius: 99px; background: rgba(199, 255, 61, .12); color: var(--lime); font: 600 1.05cqw/1.2 var(--font-body); }
.ws-title b { font: 700 4.4cqw/1 var(--font-display); letter-spacing: -.045em; color: var(--paper); }
.ws-title small { font: 400 1.2cqw/1.45 var(--font-body); color: var(--ash); }
.ws-btn { left: 5%; top: 70%; display: flex; align-items: center; gap: .8cqw; padding: 1.3cqw 2.4cqw; border-radius: 99px; background: var(--lime); color: var(--carbon); font: 600 1.4cqw/1 var(--font-body); white-space: nowrap; }
.ws-card {
  right: 5%; top: 21%; width: 39%; height: 56%;
  display: grid; grid-template-rows: auto 1fr auto; gap: 1cqw;
  padding: 1.8cqw; border: 1px solid #2e2e2b; border-radius: 1.6cqw;
  background: linear-gradient(160deg, #232321, #1b1b1a);
  box-shadow: 0 2.4cqw 5cqw rgba(0, 0, 0, .45);
}
.ws-card-top { display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: .4cqw; }
.ws-card-top small { grid-column: 1 / -1; font: 500 1cqw/1 var(--font-body); color: var(--ash); }
.ws-card-top b { font: 700 2.6cqw/1 var(--font-display); letter-spacing: -.03em; color: var(--paper); }
.ws-card-top em { font: 600 1.05cqw/1 var(--font-body); font-style: normal; color: var(--lime); }
.ws-card svg { width: 100%; height: 100%; max-width: none; }
.ws-card .line { fill: none; stroke: var(--lime); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ws-card .area { fill: rgba(199, 255, 61, .12); }
.ws-rows { display: grid; gap: .8cqw; }
.ws-rows i { height: 1cqw; border-radius: 99px; background: #34342f; }
.ws-rows i:last-child { width: 64%; }
.ws-proof { left: 5%; top: 86%; display: flex; align-items: center; gap: 2cqw; font: 500 1cqw/1 var(--font-body); color: #77766f; }
.ws-proof span { display: flex; gap: 1.4cqw; }
.ws-proof i { width: 5cqw; height: 1.2cqw; border-radius: 99px; background: #2f2f2c; }

/* ----- Build 3: Nova's app ----- */
.ap-phone { left: 34.5%; top: 2.5%; width: 31%; height: 95%; border: 2px solid #3a3a36; border-radius: 3.6cqw; background: #0f0f0e; box-shadow: 0 2.4cqw 6cqw rgba(0, 0, 0, .5); }
.ap-notch { position: absolute; left: 50%; top: 2.4%; width: 26%; height: 3.2%; border-radius: 99px; background: #232321; transform: translateX(-50%); }
.ap-head { left: 37.5%; width: 25%; top: 10%; display: flex; align-items: center; justify-content: space-between; }
.ap-head small { display: block; font: 500 .9cqw/1.2 var(--font-body); color: var(--ash); }
.ap-head b { font: 700 1.6cqw/1.2 var(--font-display); color: var(--paper); }
.ap-head i { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: linear-gradient(135deg, #8fb7ff, #c7ff3d); }
.ap-card { left: 37.5%; width: 25%; top: 21%; height: 22%; display: grid; align-content: start; gap: .3cqw; padding: 1.4cqw; border-radius: 1.8cqw; background: var(--lime); color: var(--carbon); overflow: hidden; }
.ap-card small { font: 600 .9cqw/1 var(--font-body); opacity: .7; }
.ap-card b { font: 700 2.6cqw/1.05 var(--font-display); letter-spacing: -.04em; }
.ap-card em { font: 600 .85cqw/1 var(--font-body); font-style: normal; opacity: .75; }
.ap-card svg { position: absolute; right: 1.2cqw; bottom: 1cqw; width: 40%; height: 26%; max-width: none; }
.ap-card svg path { fill: none; stroke: var(--carbon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ap-actions { left: 37.5%; width: 25%; top: 47%; display: flex; justify-content: space-between; }
.ap-actions span { display: grid; justify-items: center; gap: .5cqw; font: 500 .8cqw/1 var(--font-body); color: var(--ash); }
.ap-actions i { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #232321; color: var(--paper); font: 600 1.5cqw/1 var(--font-body); font-style: normal; }
.ap-list { left: 37.5%; width: 25%; top: 61%; display: grid; gap: .9cqw; }
.ap-list > small { font: 600 1cqw/1 var(--font-body); color: var(--paper); }
.ap-list span { display: flex; align-items: center; gap: 1cqw; }
.ap-list i { display: grid; place-items: center; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: var(--c); color: var(--carbon); font: 700 1cqw/1 var(--font-body); font-style: normal; }
.ap-list b { flex: 1; font: 500 1.05cqw/1 var(--font-body); color: var(--paper); }
.ap-list em { font: 600 1.05cqw/1 var(--font-body); font-style: normal; color: var(--paper); }
.ap-list em.in { color: var(--lime); }
.ap-tab { left: 34.5%; width: 31%; top: 88%; height: 7%; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #262624; }
.ap-tab i { width: 1.8cqw; height: 1.8cqw; border-radius: .5cqw; background: #3a3a36; }
.ap-tab i.on { background: var(--lime); }

/* ----- Build 4: Nova's pitch deck ----- */
.dk-slide { left: 5%; top: 6%; width: 90%; height: 88%; border: 1px solid #2c2c29; border-radius: 1.2cqw; background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .1), transparent 45%), #1d1d1b; }
.dk-foot { position: absolute; left: 5%; right: 5%; bottom: 5%; display: flex; justify-content: space-between; font: 500 1cqw/1 var(--font-body); color: #77766f; }
.dk-foot b { font: 700 1.3cqw/1 var(--font-display); color: var(--paper); letter-spacing: -.03em; }
.dk-title { left: 10%; top: 13%; display: grid; gap: 1.2cqw; }
.dk-title small { font: 600 1.1cqw/1 var(--font-body); color: var(--lime); letter-spacing: .02em; }
.dk-title b { font: 700 3.8cqw/1.02 var(--font-display); letter-spacing: -.045em; color: var(--paper); }
.dk-chart { left: 10%; top: 41%; width: 40%; height: 40%; display: grid; grid-template-rows: 1fr auto auto; gap: .8cqw; }
.dk-bars { display: flex; align-items: flex-end; gap: 7%; border-bottom: 1.5px solid #46463f; }
.dk-bars i { position: relative; flex: 1; height: var(--h); border-radius: .6cqw .6cqw 0 0; background: #3a3a36; }
.dk-bars i:last-child { background: var(--lime); }
.dk-bars em { position: absolute; left: 50%; bottom: calc(100% + .5cqw); transform: translateX(-50%); font: 600 1cqw/1 var(--font-body); font-style: normal; color: var(--ash); }
.dk-bars i:last-child em { color: var(--lime); }
.dk-years { display: flex; gap: 7%; }
.dk-years span { flex: 1; text-align: center; font: 500 .95cqw/1 var(--font-body); color: #77766f; }
.dk-chart > small { font: 500 .95cqw/1 var(--font-body); color: #77766f; }
.dk-points { left: 57%; top: 41%; width: 33%; display: grid; gap: 1.2cqw; }
.dk-points > b { font: 700 6.4cqw/.9 var(--font-display); letter-spacing: -.05em; color: var(--lime); }
.dk-points > small { margin-bottom: 1cqw; font: 500 1.3cqw/1.35 var(--font-body); color: var(--paper); }
.dk-points span { display: flex; align-items: center; gap: 1cqw; padding-top: 1cqw; border-top: 1px solid #2e2e2b; font: 500 1.15cqw/1.2 var(--font-body); color: var(--ash); }
.dk-points span i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--lime); }

/* Selection box that snaps around each piece */
.sel { position: absolute; z-index: 3; border: 1.5px solid var(--lime); pointer-events: none; opacity: 0; transition: left .22s var(--ease), top .22s var(--ease), width .22s var(--ease), height .22s var(--ease), opacity .18s; }
.sel.on { opacity: 1; }
.sel i { position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--lime); background: var(--carbon); }
.sel i:nth-child(1) { left: -5px; top: -5px; }
.sel i:nth-child(2) { right: -5px; top: -5px; }
.sel i:nth-child(3) { left: -5px; bottom: -5px; }
.sel i:nth-child(4) { right: -5px; bottom: -5px; }
.sel b { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); padding: 3px 7px; border-radius: 4px; background: var(--lime); color: var(--carbon); font: 600 11px/1 var(--font-body); white-space: nowrap; }

/* Multiplayer cursors and the founder's comment */
.cursor { position: absolute; z-index: 4; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; transition: left .36s var(--ease), top .36s var(--ease); }
.cursor svg { flex: none; width: 18px; height: 20px; max-width: none; transition: transform .12s; }
.cursor span { margin-top: 14px; padding: 3px 9px; border-radius: 6px; color: var(--carbon); font: 600 12px/1.3 var(--font-body); }
.c-ali span { background: var(--lime); }
.c-you span { background: var(--you); }
.cursor.click svg { transform: scale(.82); }
.comment { position: absolute; z-index: 4; max-width: 46%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--paper); color: var(--carbon); font: 500 14px/1.35 var(--font-body); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.comment.on { opacity: 1; transform: none; }
.comment small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; color: #5f5e58; }

.replay { position: absolute; right: 12px; bottom: 10px; z-index: 6; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(21, 21, 21, .7); color: var(--ash); font: 500 12px/1 var(--font-body); cursor: pointer; }
.replay:hover { color: var(--paper); }

/* Narrow canvas (phones): the chrome shrinks with it */
@container (max-width: 520px) {
  .bar { height: 34px; padding: 0 10px; }
  .bar .dots, .bar .file, .bar .people { display: none; }
  .tabs { margin-left: 4px; }
  .tabs span { padding: 3px 8px; font-size: 11px; }
  .board-name { display: none; }
  .board { top: calc(34px + 6%); bottom: 6%; left: 6%; right: 6%; }
  .cursor svg { width: 14px; height: 16px; }
  .cursor span { margin-top: 11px; padding: 2px 6px; font-size: 10px; }
  .comment { max-width: 56%; padding: 7px 10px; border-radius: 11px 11px 11px 3px; font-size: 11.5px; }
  .comment small { font-size: 9.5px; }
  /* Beside the phone there's only a narrow gap, so this one wraps */
  .comment[data-scene="app"] { max-width: 26%; }
  .sel b { top: calc(100% + 5px); padding: 2px 5px; font-size: 9.5px; }
  .sel i { width: 7px; height: 7px; }
  .sel i:nth-child(1) { left: -4px; top: -4px; }
  .sel i:nth-child(2) { right: -4px; top: -4px; }
  .sel i:nth-child(3) { left: -4px; bottom: -4px; }
  .sel i:nth-child(4) { right: -4px; bottom: -4px; }
  .replay { right: 8px; bottom: 6px; padding: 4px 8px; font-size: 10.5px; }
}

/* Single column: the live canvas leads, so the hook is the first thing a founder sees */
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 12px); }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .canvas { order: -1; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-lede { margin-top: 16px; font-size: var(--step-0); }
  .hero-actions { margin-top: 22px; }
}
@media (max-width: 600px) {
  .canvas { aspect-ratio: 5 / 4.4; }
}

/* Entrance: the copy rises once on load */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise .8s var(--ease) both; }
  .js .hero-title { animation-delay: .06s; }
  .js .hero-lede { animation-delay: .12s; }
  .js .hero-actions { animation-delay: .18s; }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Scroll film ----------
   Without JS, or with reduced motion: a still poster (or the placeholder storyboard as a grid).
   With .is-scrolly (set by main.js): the stage pins and frames follow the scroll. */

.film { position: relative; }

.film-stage {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}
.film-canvas { display: none; width: 100%; height: 100%; }
.film.has-poster .film-canvas {
  display: block;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  height: auto;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
}

.film-boards {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.film:not([data-placeholder]) .film-boards,
.film:not([data-placeholder]) .film-tag { display: none; }

.film-board {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--graphite);
}
.board-num { color: var(--lime); font: 600 var(--step--1)/1 var(--font-body); }
.board-art { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.board-desc { color: var(--ash); font-size: var(--step--1); line-height: 1.5; }

.art-paper { fill: var(--paper); opacity: .9; }
.art-ink, .art-arm { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-pen { fill: none; stroke: var(--carbon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-arm { stroke: var(--line-strong); stroke-width: 22; }
.art-vector { fill: none; stroke: var(--carbon); stroke-width: 2.5; }
.art-anchor { fill: var(--lime); stroke: var(--carbon); stroke-width: 1; }
.art-sel { fill: none; stroke: var(--lime); stroke-width: 2; }
.art-fill-ink { fill: var(--carbon); }
.art-fill-lime { fill: var(--lime); }
.art-fill-mid { fill: var(--line-strong); }

.film-tag { position: absolute; top: 16px; right: var(--gutter); }

.film-captions { display: none; }
.film-progress { display: none; }

@media (max-width: 900px) {
  .film-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .film-boards { grid-template-columns: 1fr; }
}

/* Pinned, scroll-driven version */
.film.is-scrolly { height: var(--film-length, 520vh); }
.film.is-scrolly .film-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
}
.film.is-scrolly .film-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
}
/* Darken the left and bottom edges so captions stay readable over any frame */
.film.is-scrolly .film-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(21, 21, 21, .85), rgba(21, 21, 21, 0) 45%),
    linear-gradient(to right, rgba(21, 21, 21, .55), rgba(21, 21, 21, 0) 55%);
  pointer-events: none;
}

.film.is-scrolly .film-boards {
  position: absolute;
  inset: calc(var(--header-h) + 24px) var(--gutter) clamp(150px, 26vh, 240px);
  width: auto;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}
.film.is-scrolly .film-board {
  grid-area: 1 / 1;
  width: min(100%, 720px, (100svh - var(--header-h) - 260px) * 16 / 9 + 40px);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.film.is-scrolly .film-board.is-active { opacity: 1; transform: none; }
.film.is-scrolly .film-tag { top: calc(var(--header-h) + 16px); z-index: 2; }

.film.is-scrolly .film-captions {
  display: grid;
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(56px, 10vh, 104px);
  margin-inline: auto;
  z-index: 1;
}
.film-caption {
  grid-area: 1 / 1;
  max-width: 16ch;
  font: 700 var(--step-3)/1.06 var(--font-display);
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.film-caption.is-active { opacity: 1; transform: none; }
.film-caption-end { color: var(--lime); }

.film.is-scrolly .film-progress {
  display: block;
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  height: 2px;
  background: var(--line);
  z-index: 1;
}
.film-progress span {
  display: block;
  height: 100%;
  background: var(--lime);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* ---------- Shared section layout ---------- */

.section { padding-block: var(--section); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head h2 { grid-column: 1 / span 8; }
.section-head p {
  grid-column: 1 / span 6;
  max-width: 56ch;
  color: var(--ash);
  font-size: var(--step-1);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
}
.split-head { grid-column: 1 / span 5; }
.split-head h2 { position: sticky; top: calc(var(--header-h) + 32px); max-width: 14ch; }
.split > :last-child { grid-column: 7 / -1; }

@media (max-width: 900px) {
  .section-head h2,
  .section-head p,
  .split-head,
  .split > :last-child { grid-column: 1 / -1; }
  .split-head h2 { position: static; max-width: 18ch; }
}

/* ---------- Statement ---------- */

.statement {
  padding-block: var(--section);
}
.statement { position: relative; overflow: hidden; isolation: isolate; }
.statement .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
}

/* A soft lime glow follows the spotlight across the whole section */
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle 420px at var(--gx, 50%) var(--gy, 40%), rgba(199, 255, 61, .07), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.statement.is-lit::before, .statement.is-seen::before { opacity: 1; }

.statement-hint {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ash);
  font-size: var(--step--1);
  font-weight: 600;
}
.hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(199, 255, 61, .5); animation: hint-pulse 1.8s ease-out infinite; }
@keyframes hint-pulse { to { box-shadow: 0 0 0 10px rgba(199, 255, 61, 0); } }
.no-js .statement-hint, .statement:not([data-spot-ready]) .statement-hint { visibility: hidden; }

/* Two copies of the line stacked: a faint outline, and the solid text revealed by the spotlight */
.statement-text {
  grid-column: 1 / span 11;
  display: grid;
  max-width: 17ch;
  margin: 0;
  font: 700 clamp(2.1rem, 1rem + 4.6vw, 5.25rem)/1.04 var(--font-display);
  letter-spacing: -.03em;
  text-wrap: balance;
  cursor: default;
}
.statement-text > span { grid-area: 1 / 1; }
.statement-text em { font-style: normal; transition: color .6s var(--ease); }
.st-lit { color: var(--paper); }

@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.js .statement[data-spot-ready] .st-ghost { color: #2b2b28; }
.js .statement[data-spot-ready] .st-lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x, 50%) var(--y, 50%), #000 35%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x, 50%) var(--y, 50%), #000 35%, transparent 100%);
  transition: --r .45s var(--ease);
}
.js .statement[data-spot-ready].is-lit .st-lit { --r: clamp(140px, 16vw, 240px); }
/* Seen: the whole line comes on, and "see it." turns lime */
.js .statement[data-spot-ready].is-seen .st-lit { --r: 2400px; transition-duration: 1.4s; }
.statement.is-seen .st-lit em { color: var(--lime); }

.statement-cta { grid-column: 7 / -1; display: grid; gap: 28px; }
.statement-sub {
  max-width: 50ch;
  margin: 0;
  color: var(--ash);
  font-size: var(--step-1);
  line-height: 1.55;
}
.statement-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.btn-arrow { gap: 10px; }
.btn-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* When the line is fully seen, the button gets a short glow to draw the eye */
@media (prefers-reduced-motion: no-preference) {
  .statement.is-seen .statement-actions .btn-lime { animation: cta-glow 1.6s var(--ease) .6s 2; }
  @keyframes cta-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(199, 255, 61, 0); } 50% { box-shadow: 0 0 0 10px rgba(199, 255, 61, .18); } }
}

/* Everything in this section sits on the centre line */
.statement .wrap { justify-items: center; text-align: center; }
.statement-hint { grid-column: 1 / -1; justify-content: center; }
.statement-text { grid-column: 1 / -1; justify-self: center; }
.statement-cta { grid-column: 1 / -1; justify-items: center; }
.statement-sub { margin-inline: auto; }
.statement-actions { justify-content: center; }

/* ---------- Kit builder: what you've got → what we'd design ---------- */

.kit-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(32px, 5vw, 80px);
  align-items: start;
}
/* Left side stays pinned while the list scrolls: the picks, then the live "Your kit" card */
.kit-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 28px; }

.kit-summary {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(circle at 0 0, rgba(199, 255, 61, .07), transparent 55%), #1b1b1a;
}
.kit-summary-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.kit-ring { position: relative; width: 68px; height: 68px; }
.kit-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.kit-ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: var(--line-strong); }
/* r = 27, so the circumference is 2π × 27 ≈ 169.65; main.js sets the offset from the percentage */
.ring-fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 169.65; stroke-dashoffset: 169.65; transition: stroke-dashoffset .7s var(--ease), opacity .3s; }
.kit-ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 .9375rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kit-summary-title { margin: 0 0 4px; font: 600 var(--step-1)/1.25 var(--font-display); letter-spacing: -.015em; }
.kit-summary-sub { margin: 0; color: var(--ash); font-size: .9375rem; line-height: 1.5; }

.kit-summary .kit-label { margin-bottom: 0; }

/* Numbered steps: 1 pick, 2 see the plan, 3 send it */
.kit-step {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--carbon);
  font: 700 .8125rem/1 var(--font-body);
  vertical-align: middle;
}
.kit-help { margin: -8px 0 16px; color: var(--ash); font-size: .9375rem; }

/* What the badges in the list mean */
.kit-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 16px; color: var(--ash); font-size: .875rem; }
.kit-legend span { display: inline-flex; align-items: center; gap: 8px; }
.kit-legend i { width: 10px; height: 10px; border: 1.5px solid var(--lime); }
.kit-legend .lg-start { background: var(--lime); }
.kit-legend .lg-later { border-color: var(--line-strong); }
.kit-label {
  margin-bottom: 18px;
  font: 600 var(--step-1)/1.3 var(--font-body);
  color: var(--paper);
}

.have-set { display: flex; flex-wrap: wrap; gap: 10px; }
.have {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  font: 500 1rem/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
/* An anchor point that fills when you have the thing */
/* A real checkbox: rounded box, fills lime with a dark tick when selected */
.have::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04) no-repeat center / 14px 14px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .25s cubic-bezier(.2, 1.6, .4, 1);
}
.have:hover { border-color: #6a6a63; }
.have[aria-pressed="true"] { border-color: var(--lime); background: rgba(199, 255, 61, .07); }
.have:hover::before { border-color: rgba(255, 255, 255, .6); }
.have[aria-pressed="true"]::before {
  border-color: var(--lime);
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23151515' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: scale(1.08);
}
.have:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.kit-need-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 16px;
}
.kit-count { margin-bottom: 18px; color: var(--ash); font-size: .9375rem; font-variant-numeric: tabular-nums; }

.kit-list { position: relative; border-top: 1px solid var(--line); }
.kit-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 34px;
  bottom: 34px;
  width: 1.5px;
  background: var(--lime-rail);
}
.kit-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 24px;
  padding: 22px 0 24px 36px;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s var(--ease);
}
.kit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--carbon);
  border: 1.5px solid var(--line-strong);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.kit-item h4 { margin-bottom: 6px; font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.kit-item p { max-width: 56ch; color: var(--ash); font-size: 1rem; line-height: 1.55; }

.kit-status {
  margin-top: 2px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.kit-status:empty { display: none; }

.kit-item.is-next::before { background: var(--lime); border-color: var(--lime); }
.kit-item.is-next .kit-status { background: var(--lime); color: var(--carbon); }
.kit-item.is-needed::before { border-color: var(--lime); }
.kit-item.is-needed .kit-status { border-color: var(--lime); color: var(--lime); }
.kit-item.is-later .kit-status { border-color: var(--line-strong); color: var(--ash); }
.kit-item.is-covered { opacity: .5; }
.kit-item.is-covered h4 { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.kit-item.is-covered::before { background: var(--line-strong); }
.kit-item.is-covered .kit-status { border-color: var(--line-strong); color: var(--paper); }

/* "Later" and "You've got this" rows fold to one line, so the list stays short */
.js .kit-item.is-later, .js .kit-item.is-covered { padding-block: 14px; }
.js .kit-item.is-later::before, .js .kit-item.is-covered::before { top: 20px; }
.js .kit-item.is-later h4, .js .kit-item.is-covered h4 { margin: 0; font-size: 1.0625rem; color: #cfcec7; }
.js .kit-item.is-later p, .js .kit-item.is-covered p { display: none; }

/* "Design + build" tag next to services that are designed and then developed */
.kit-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(199, 255, 61, .12);
  color: var(--lime);
  font: 600 .75rem/1.3 var(--font-body);
  vertical-align: .2em;
  white-space: nowrap;
}
.js .kit-item.is-later .kit-tag, .js .kit-item.is-covered .kit-tag { background: rgba(255, 255, 255, .06); color: var(--ash); }

/* "Build it too" switch in step 3 */
.kit-build { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
/* the real checkbox stays in place for keyboards and screen readers, but takes no space */
.kit-build input { position: absolute; left: 16px; top: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.kit-switch { position: relative; flex: none; width: 44px; height: 26px; border-radius: 99px; background: #3a3a36; transition: background-color .25s var(--ease); }
.kit-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); transition: translate .25s var(--ease); }
.kit-build input:checked + .kit-switch { background: var(--lime); }
.kit-build input:checked + .kit-switch::after { translate: 18px 0; background: var(--carbon); }
.kit-build input:focus-visible + .kit-switch { outline: 2px solid var(--lime); outline-offset: 3px; }
.kit-build-text { display: grid; gap: 2px; }
.kit-build-text b { font-weight: 600; }
.kit-build-text small { color: var(--ash); font-size: .8125rem; line-height: 1.35; }

.kit-cta { display: grid; justify-items: start; gap: 12px; }
.kit-fine { max-width: 40ch; margin: 0; color: var(--ash); font-size: .875rem; }

html:not(.js) .kit-have,
html:not(.js) .kit-summary { display: none; }
html:not(.js) .kit-grid { grid-template-columns: 1fr; }

/* Phones and tablets: picks, then the list, then the summary card with the send button */
@media (max-width: 900px) {
  .kit-grid { grid-template-columns: 1fr; }
  .kit-side { display: contents; }
  .kit-have { order: 1; }
  .kit-need { order: 2; }
  .kit-summary { order: 3; }
}
@media (max-width: 600px) {
  .kit-item { grid-template-columns: 1fr; }
  .kit-status { order: -1; justify-self: start; }
}

/* ---------- About: title, intro (split name, portrait, light rings), then the story ---------- */

.about { }
.about-head { position: relative; z-index: 5; padding-top: var(--section); }
/* The portrait has empty space above his head, so the intro tucks up under the title */
.about-head + .intro { margin-top: clamp(-120px, -7.5vw, -24px); }
.about-head h2 { max-width: none; }

.intro {
  --name-size: clamp(3.2rem, 1rem + 8vw, 10.5rem);
  --side: clamp(16px, 4vw, 64px);
  position: relative;
  overflow: hidden;
  height: clamp(600px, 92vh, 900px);
  isolation: isolate;
}
/* The soft backdrop light behind the portrait fades out at the top and bottom, so the section has no hard edges */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse 60% 55% at 50% 62%, #232320 0%, rgba(24, 24, 23, .6) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 96%);
  pointer-events: none;
}

.intro .name {
  position: absolute;
  top: 38%;
  z-index: 1;
  margin: 0;
  font: 700 var(--name-size)/.9 var(--font-display);
  letter-spacing: -.045em;
  color: var(--paper);
}
.intro .name-first { left: var(--side); }
.intro .name-last { right: var(--side); }

.intro-note { position: absolute; z-index: 4; max-width: 30ch; margin: 0; font-size: 15px; line-height: 1.55; color: var(--ash); }
.intro-note b { color: var(--paper); font-weight: 600; }
.note-left { left: var(--side); top: calc(38% + var(--name-size) * .9 + 24px); }
.note-right { right: var(--side); top: calc(38% + var(--name-size) * .9 + 24px); text-align: right; }

/* The portrait and its rings share one box, so the SVG lines up with the photo at any size */
.bust {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  height: min(90%, 820px);
  aspect-ratio: 874 / 1000;
  transform: translateX(-50%);
}
/* The whole photo shows, arms included, with no fades; it sits on the bottom edge of the section */
.bust img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; }
/* The photo ends on the lower lime curve (same path as .trail-edge, shifted into the photo's own coordinates) */
.bust img { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 874 1000' preserveAspectRatio='none'%3E%3Cpath d='M -1582 905 C -982 1010, -402 760, 418 880 S 1768 1010, 2488 850 L 2488 0 L -1582 0 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 874 1000' preserveAspectRatio='none'%3E%3Cpath d='M -1582 905 C -982 1010, -402 760, 418 880 S 1768 1010, 2488 850 L 2488 0 L -1582 0 Z'/%3E%3C/svg%3E"); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* Each ring is split: the back half sits behind the photo, the front half over it.
   The SVG reaches about 1.8 photo-widths past each side (viewBox -1600..2470, photo at -18..856),
   so the light enters from off-screen left and leaves off-screen right on any screen size. */
.trail { position: absolute; top: 0; left: -180.97%; width: 465.68%; max-width: none; height: 100%; overflow: visible; pointer-events: none; }
.trail-back { z-index: -1; }
.trail-front { z-index: 1; }
/* The intro ends on the lower lime curve: below it, the page colour covers the photo and the backdrop */
.trail path { fill: none; stroke-linecap: round; }
.trail .glow { stroke: var(--lime); stroke-width: 14; opacity: .28; filter: url(#trail-blur); }
.trail .core { stroke: #e6ff9c; stroke-width: 2.2; }
/* the second line behind the portrait: thinner and dimmer, for depth */
.trail-faint .glow { opacity: .12; stroke-width: 10; }
.trail-faint .core { stroke-width: 1.2; opacity: .45; }
.trail .spark { stroke: #fff; stroke-width: 3.2; stroke-dasharray: 60 940; opacity: 0; filter: url(#trail-blur-sm); }

/* Arrival: the name slides in, the rings draw in, then a bright spark keeps running along each one */
@media (prefers-reduced-motion: no-preference) {
  .js .trail .glow, .js .trail .core { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease); }
  .js .is-in .trail .glow, .js .is-in .trail .core { stroke-dashoffset: 0; }
  .js .is-in .trail-back .glow, .js .is-in .trail-back .core { transition-delay: .2s; }
  .js .is-in .trail-front .glow, .js .is-in .trail-front .core { transition-delay: .7s; }
  .js .is-in .trail .spark { opacity: .9; animation: trail-run 4.5s linear 2.4s infinite; }
  .js .is-in .trail-front .spark { animation-delay: 3.4s; }

  .js .intro .name, .js .intro .intro-note, .js .intro .bust img { opacity: 0; transition: opacity 1s var(--ease), translate 1.2s var(--ease); }
  .js .intro .name-first { translate: -40px 0; }
  .js .intro .name-last { translate: 40px 0; }
  .js .intro .bust img { translate: 0 30px; }
  .js .intro.is-in .name, .js .intro.is-in .intro-note, .js .intro.is-in .bust img { opacity: 1; translate: 0 0; }
  .js .intro.is-in .intro-note { transition-delay: .9s; }
}
@keyframes trail-run { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

/* Phones: name on two lines at the top, portrait below */
@media (max-width: 760px) {
  .about-head + .intro { margin-top: 0; }
  .intro { height: auto; min-height: 0; padding: 40px 16px 0; display: flex; flex-direction: column; }
  .intro .name { position: static; font-size: 19vw; line-height: .92; }
  .intro .name-last { text-align: right; }
  .intro-note { position: static; max-width: none; margin-top: 18px; font-size: 14px; }
  .note-right { display: none; }
  .bust { position: relative; left: auto; transform: none; margin: 8px auto 0; height: auto; width: 92%; }
  .bust img { position: relative; display: block; height: auto; }
}

/* ---------- Founder story, right under the portrait: letter on the left, facts and links on the right ---------- */

.founder-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 24px;
  padding-block: 72px var(--section);   /* testimonials follow, with the same gap as between sections */
}
/* Wide screens: story with the profile cards side by side under it on the left, facts on the right */
.founder-letter { grid-column: 1 / span 7; grid-row: 1; }
.founder-links { grid-column: 1 / span 7; grid-row: 2; align-self: start; }
.founder-aside { grid-column: 9 / -1; grid-row: 1 / span 2; }
.founder-aside .founder-facts { grid-template-columns: 1fr; margin: 0; padding-top: 0; border-top: 0; }

@media (max-width: 900px) {
  .founder-letter, .founder-aside, .founder-links { grid-column: 1 / -1; grid-row: auto; }
  .founder-links { order: 3; }
  .founder-aside .founder-facts { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); padding-top: 24px; border-top: 1px solid var(--line); }
}

/* Profile cards: equal-width tiles with the official app-style logo, the network's name, a short line and an arrow */
.founder-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
@media (max-width: 560px) { .founder-links { grid-template-columns: 1fr; } }

.social-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #1b1b1a;
  color: var(--paper);
  text-decoration: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), translate .25s var(--ease);
}
.social-icon { display: block; width: 48px; height: 48px; overflow: hidden; border-radius: 12px; }
.social-logo { display: block; width: 100%; height: 100%; max-width: none; }
.social-behance .social-icon { padding: 11px; background: #1769ff; }
.social-behance .social-logo { fill: #fff; }
.social-linkedin .social-icon { padding: 12px; background: #0a66c2; }
.social-linkedin .social-logo { fill: #fff; }

.social-text { display: grid; gap: 3px; }
.social-text strong { font: 600 1.0625rem/1.2 var(--font-display); letter-spacing: -.01em; }
.social-text small { color: var(--ash); font-size: .875rem; line-height: 1.3; }

.social-arrow { width: 20px; height: 20px; fill: none; stroke: var(--ash); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s var(--ease), translate .25s var(--ease); }

.social-card:hover, .social-card:focus-visible { border-color: var(--line-strong); background: #212120; translate: 0 -2px; }
.social-card:hover .social-arrow, .social-card:focus-visible .social-arrow { stroke: var(--lime); translate: 2px -2px; }
.founder-letter p { max-width: 54ch; font-size: var(--step-1); line-height: 1.6; }
.founder-letter p + p { margin-top: 1em; }

.founder-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 32px;
  margin: 40px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.founder-facts dt { margin-bottom: 6px; color: var(--lime); font-size: var(--step--1); font-weight: 600; }
.founder-facts dd { margin: 0; font-weight: 500; line-height: 1.4; }
.founder-facts dd + dd { margin-top: 4px; }
.founder-facts div:first-child dd { font: 700 var(--step-3)/1 var(--font-display); letter-spacing: -.02em; }

@media (max-width: 600px) {
  .founder-facts, .founder-aside .founder-facts { grid-template-columns: 1fr; }
}

/* ---------- Engagement models: three offer cards ----------
   Hover: the card lifts, its border lights up in lime where the cursor is (--x/--y from main.js),
   the icon animates and the CTA fills. The middle card is highlighted. */

.models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }

.model {
  --x: 50%; --y: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #1a1a19;
  isolation: isolate;
  transition: translate .45s var(--ease), border-color .3s var(--ease), box-shadow .45s var(--ease);
}
/* lime light on the border, following the cursor */
.model::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--x) var(--y), var(--lime), transparent 70%);
  -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 .3s var(--ease);
}
/* soft lime wash inside, also following the cursor */
.model::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--x) var(--y), rgba(199, 255, 61, .07), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.model:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.model:hover::before, .model:hover::after, .model:focus-within::before { opacity: 1; }

.model-featured { background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .1), transparent 55%), #1d1d1b; border-color: rgba(199, 255, 61, .35); }
.model-badge { position: absolute; top: 22px; right: 22px; padding: 5px 11px; border-radius: 999px; background: var(--lime); color: var(--carbon); font: 600 .75rem/1 var(--font-body); }

.model-num { color: #84837b; font: 600 .875rem/1 var(--font-display); letter-spacing: .02em; }
.model-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 4px; border-radius: 16px; background: rgba(199, 255, 61, .08); border: 1px solid rgba(199, 255, 61, .18); }
.model-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.model-icon .fill { fill: var(--lime); }
.model-icon .front { fill: #1a1a19; }
.model-featured .model-icon .front { fill: #1d1d1b; }

.model h3 { margin: 6px 0 0; font: 600 var(--step-2)/1.15 var(--font-display); letter-spacing: -.015em; }
.model-line { margin: 0; color: var(--paper); font-size: var(--step-1); line-height: 1.4; }
.model-list { display: grid; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.model-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 12px; color: #cfcec7; line-height: 1.45; }
.model-list .ck { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: rgba(199, 255, 61, .12); fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.model-fit { margin: auto 0 0; padding-top: 18px; color: var(--ash); font-size: .9375rem; }
.model-fit span { display: block; margin-bottom: 2px; color: var(--lime); font-size: .8125rem; font-weight: 600; }

/* Card buttons: a calm glass pill with the arrow in its own circle; the featured card's button is lime */
.model-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 7px 7px 7px 22px; min-height: 56px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--paper); font-weight: 600; text-decoration: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.model-cta svg {
  flex: none; width: 42px; height: 42px; padding: 11px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.model:hover .model-cta, .model-cta:focus-visible { border-color: rgba(199, 255, 61, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 30px -12px rgba(199, 255, 61, .35); }
.model:hover .model-cta svg, .model-cta:focus-visible svg { background: var(--lime); color: var(--carbon); transform: rotate(-45deg); }
.model-featured .model-cta { border-color: transparent; background: linear-gradient(180deg, #d4ff66, var(--lime)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 30px -14px rgba(199, 255, 61, .6); color: var(--carbon); }
.model-featured .model-cta svg { background: var(--carbon); color: var(--lime); }
.model-featured:hover .model-cta svg { background: var(--carbon); color: var(--lime); }
/* Icon animations on hover */
@media (prefers-reduced-motion: no-preference) {
  .model-icon .dart { transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); transform-origin: 24px 24px; }
  .model:hover .model-icon .dart { transform: translate(-3px, 3px); }
  .model:hover .model-icon .fill { animation: hit .6s var(--ease); transform-origin: 24px 24px; transform-box: view-box; }
  @keyframes hit { 40% { transform: scale(1.8); } }
  .model-icon .loop { stroke-dasharray: 100; stroke-dashoffset: 0; }
  .model:hover .model-icon .loop { animation: loop-run 1.4s linear infinite; }
  @keyframes loop-run { from { stroke-dasharray: 18 82; stroke-dashoffset: 0; } to { stroke-dasharray: 18 82; stroke-dashoffset: -100; } }
  .model-icon .back, .model-icon .front, .model-icon .fill-plus { transition: transform .45s cubic-bezier(.2, 1.4, .4, 1); }
  .model:hover .model-icon .back { transform: translate(-3px, 3px); }
  .model:hover .model-icon .front, .model:hover .model-icon .fill-plus { transform: translate(3px, -3px); }
}

.models-note { margin-top: 36px; color: var(--ash); text-align: center; }
.models-note .link-line { color: var(--paper); }

@media (max-width: 960px) {
  .models-grid { grid-template-columns: 1fr; max-width: 560px; }
  .model:hover { translate: none; }
}
/* ---------- Process: "From napkin to launch" ----------
   A rail runs above the four step cards (down the left on phones). main.js sets --fill (0 to 1)
   as the section scrolls, and adds .is-on to each step once the line reaches its dot. */

.journey { position: relative; margin-top: 8px; }
.journey-rail { position: absolute; left: 0; right: 0; top: 22px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.journey-fill {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(199, 255, 61, .4), var(--lime));
  box-shadow: 0 0 14px rgba(199, 255, 61, .55);
  transform-origin: 0 50%;
  transform: scaleX(var(--fill, 0));
}
.journey-fill::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(199, 255, 61, .2), 0 0 18px var(--lime); transform: scaleX(calc(1 / max(var(--fill, 0), .001))); opacity: var(--head, 0); }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  /* scene, title, text and 'You get' share rows across all four steps, so every 'You get' box starts at the same height */
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px;
  padding-top: 70px;
}
.step-dot {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #1b1b1a; border: 1.5px solid rgba(255, 255, 255, .14);
  color: var(--ash); font: 600 1rem/1 var(--font-display);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.step.is-on .step-dot { background: var(--lime); border-color: var(--lime); color: var(--carbon); box-shadow: 0 0 0 6px rgba(199, 255, 61, .14), 0 0 26px rgba(199, 255, 61, .4); }

/* The little scene for each step, on a glass card */
.step-scene {
  position: relative;
  height: 150px;
  margin-bottom: 8px;
  padding: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  opacity: .45;
  transition: opacity .5s var(--ease), border-color .5s var(--ease);
}
.step.is-on .step-scene { opacity: 1; border-color: rgba(199, 255, 61, .22); }
.step h3 { font: 600 var(--step-2)/1.2 var(--font-display); letter-spacing: -.01em; transition: color .4s; color: var(--ash); }
.step.is-on h3 { color: var(--paper); }
.step > p { color: var(--ash); max-width: 34ch; }
.step-get { margin: 8px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); color: #cfcec7 !important; font-size: .9375rem; line-height: 1.45; transition: border-color .5s var(--ease), background-color .5s var(--ease); }
.step.is-on .step-get { border-color: rgba(199, 255, 61, .18); background: rgba(199, 255, 61, .04); }
.step-get span { display: block; margin-bottom: 4px; color: var(--lime); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* 1. Talk: a founder's message, then Ali typing, then the reply */
.sc-talk { --you: #8fb7ff; display: grid; align-content: center; gap: 10px; }
.bub { max-width: 88%; padding: 9px 12px; border-radius: 14px; font: 500 .8125rem/1.3 var(--font-body); }
.bub.you { justify-self: start; border-bottom-left-radius: 4px; background: var(--you); color: var(--carbon); }
.bub.ali { justify-self: end; display: flex; align-items: center; gap: 4px; min-height: 34px; border-bottom-right-radius: 4px; background: rgba(255, 255, 255, .1); color: var(--paper); }
.bub.ali i { width: 6px; height: 6px; border-radius: 50%; background: var(--ash); }
.bub.ali em { display: none; font-style: normal; }

/* 2. Scope: a proposal whose rows tick off */
.sc-scope { display: grid; align-content: start; gap: 9px; }
.doc-title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 600 .9375rem/1 var(--font-display); color: var(--paper); }
.doc-title small { font: 500 .75rem/1 var(--font-body); color: var(--ash); }
.doc-row { display: flex; align-items: center; gap: 9px; color: #cfcec7; font-size: .875rem; }
.doc-row svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .08); fill: none; stroke: transparent; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: background-color .3s, stroke .3s; }

/* 3. Design and build: wireframe blocks fill in, then a build bar runs */
.sc-build { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 10px; }
.ui-frame { position: relative; grid-row: 1; border: 1.5px dashed rgba(255, 255, 255, .2); border-radius: 10px; }
.ui-frame i { position: absolute; border-radius: 4px; background: rgba(255, 255, 255, .1); transition: background-color .35s, border-color .35s; }
.ui-frame .b1 { left: 8%; top: 12%; width: 30%; height: 12%; }
.ui-frame .b2 { left: 8%; top: 32%; width: 52%; height: 14%; }
.ui-frame .b3 { left: 8%; top: 58%; width: 26%; height: 16%; border-radius: 99px; }
.ui-frame .b4 { right: 8%; top: 12%; width: 28%; height: 76%; }
.code { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--ash); font: 700 .875rem/1 ui-monospace, monospace; transition: color .3s, background-color .3s; }
.prog { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.prog i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lime); }

/* 4. Launch: a live badge, a growth line, the address */
.sc-launch { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; }
.live { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--ash); font: 600 .75rem/1 var(--font-body); transition: background-color .3s, color .3s; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ash); }
.growth { width: 100%; height: 100%; max-width: none; }
.growth .area { fill: rgba(199, 255, 61, .1); opacity: 0; transition: opacity .6s .4s; }
.growth .line { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; clip-path: inset(0 100% 0 0); }
.url { font: 500 .75rem/1 var(--font-body); color: #8d8c85; }

/* Scenes play once their step is on */
.step.is-on .sc-talk .bub.you { animation: pop .4s var(--ease) both; }
.step.is-on .sc-talk .bub.ali { animation: pop .4s var(--ease) .35s both; }
.step.is-on .sc-talk .bub.ali i { animation: typing 1s ease-in-out .5s 2; }
.step.is-on .sc-talk .bub.ali i:nth-child(2) { animation-delay: .65s; }
.step.is-on .sc-talk .bub.ali i:nth-child(3) { animation-delay: .8s; }
.step.is-on .sc-talk .bub.ali.done i { display: none; }
.step.is-on .sc-talk .bub.ali.done em { display: inline; }
.step.is-on .doc-row svg { background: var(--lime); stroke: var(--carbon); }
.step.is-on .doc-row:nth-of-type(2) svg { transition-delay: .2s; }
.step.is-on .doc-row:nth-of-type(3) svg { transition-delay: .45s; }
.step.is-on .doc-row:nth-of-type(4) svg { transition-delay: .7s; }
.step.is-on .ui-frame { border-style: solid; border-color: rgba(199, 255, 61, .3); transition: border-color .4s .9s; }
.step.is-on .ui-frame .b1 { background: var(--paper); transition-delay: .1s; }
.step.is-on .ui-frame .b2 { background: rgba(255, 255, 255, .55); transition-delay: .3s; }
.step.is-on .ui-frame .b3 { background: var(--lime); transition-delay: .5s; }
.step.is-on .ui-frame .b4 { background: linear-gradient(160deg, rgba(199, 255, 61, .35), rgba(143, 183, 255, .25)); transition-delay: .7s; }
.step.is-on .code { color: var(--lime); background: rgba(199, 255, 61, .12); transition-delay: .9s; }
.step.is-on .prog i { animation: build 1.4s var(--ease) .9s both; }
.step.is-on .live { background: rgba(199, 255, 61, .14); color: var(--lime); }
.step.is-on .live i { background: var(--lime); animation: live 1.6s ease-out .3s infinite; }
.step.is-on .growth .line { animation: grow-line 1.2s var(--ease) .2s forwards; }
.step.is-on .growth .area { opacity: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes typing { 30% { transform: translateY(-4px); opacity: 1; } 60% { transform: none; opacity: .5; } }
@keyframes build { from { width: 0; } to { width: 100%; } }
@keyframes grow-line { to { clip-path: inset(0 0 0 0); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(199, 255, 61, .6); } 100% { box-shadow: 0 0 0 9px rgba(199, 255, 61, 0); } }

/* Closing call to action */
.journey-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(40px, 5vw, 64px); padding: 22px 22px 22px 30px;
  border-radius: 24px;
  background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .12), transparent 55%), var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.journey-cta p { margin: 0; max-width: 46ch; color: var(--ash); font-size: var(--step-1); line-height: 1.45; }
.journey-cta b { color: var(--paper); font-weight: 600; }
.journey-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* Phones and tablets: the rail runs down the left, cards stack */
@media (max-width: 960px) {
  .journey-rail { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .journey-fill { background: linear-gradient(180deg, rgba(199, 255, 61, .4), var(--lime)); transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); }
  .journey-fill::after { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -5px; transform: scaleY(calc(1 / max(var(--fill, 0), .001))); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { padding: 0 0 0 72px; }
  .step-scene { max-width: 420px; }
}

/* Reduced motion: everything shown, finished, no animation */
@media (prefers-reduced-motion: reduce) {
  .step .step-scene, .step h3 { opacity: 1; color: var(--paper); }
  .step *, .step *::before, .step *::after { animation: none !important; transition: none !important; }
  .step.is-on .prog i { width: 100%; }
  .step.is-on .growth .line { clip-path: none; }
  .step.is-on .sc-talk .bub.ali i { display: none; }
  .step.is-on .sc-talk .bub.ali em { display: inline; }
}
/* ---------- Work wall: columns of project shots drifting up and down at different speeds ---------- */

.wall {
  position: relative;
  height: clamp(560px, 92vh, 900px);
  overflow: hidden;
  isolation: isolate;
  /* soft fade at the top and bottom so the wall melts into the page */
  margin-top: calc(var(--section) * .5);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 62%, rgba(0,0,0,.35) 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 62%, rgba(0,0,0,.35) 84%, transparent 100%);
}
.wall-track {
  position: absolute;
  inset: -8% -6%;
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(-4deg) scale(1.04);
  will-change: transform;
}
.wall-col-inner { display: grid; gap: clamp(10px, 1.2vw, 18px); will-change: transform; }

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(10px, 1vw, 16px);
  background: #222220;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.shot img { display: block; width: 100%; height: auto; max-width: none; }
.shot figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(21, 21, 21, .82); backdrop-filter: blur(8px);
  font: 600 13px/1.3 var(--font-body); color: var(--paper);
  opacity: 0; translate: 0 8px; transition: opacity .25s var(--ease), translate .25s var(--ease);
}
.shot:hover { transform: scale(1.04); box-shadow: 0 26px 60px rgba(0, 0, 0, .55); z-index: 2; }
.shot:hover figcaption { opacity: 1; translate: 0 0; }

/* Centre label floating over the wall, on a soft dark patch so it stays readable */
.wall-label {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  text-align: center; pointer-events: none;
  background:
    radial-gradient(ellipse 44% 36% at 50% 50%, rgba(21, 21, 21, .96) 0%, rgba(21, 21, 21, .85) 45%, rgba(21, 21, 21, .35) 75%, transparent 100%),
    linear-gradient(rgba(21, 21, 21, .25), rgba(21, 21, 21, .25));
}
.wall-label p { margin: 0; color: var(--ash); font-size: .9375rem; font-weight: 600; }
.wall-label h2 { margin: 0; max-width: none; font: 700 clamp(2.2rem, 1rem + 4.4vw, 5rem)/1 var(--font-display); letter-spacing: -.035em; }
.wall-label h2 em { font-style: normal; color: var(--lime); }

@media (max-width: 760px) {
  .wall { height: 640px; }
  .wall-track { inset: -6% -14%; transform: rotate(-4deg) scale(1.02); }
  .wall-label { padding-inline: 20px; }
  .wall-label h2 { font-size: 8.4vw; }
}

/* ---------- Case studies: a carousel of folders, project shots peeking out of each ---------- */

.cases { overflow: hidden; }
/* No divider line under the project wall: the wall fades straight into the case studies */
.wall + .section, .wall + .cases { border-top: 0; padding-top: var(--section); }
.cases-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.cases-head p { margin-top: 12px; max-width: 52ch; color: var(--ash); font-size: var(--step-1); }
.cases-head .cases-kicker { margin-top: 18px; color: var(--paper); font: 600 var(--step-1)/1.3 var(--font-display); letter-spacing: -.015em; }
.cases-head .cases-kicker em { font-style: normal; color: var(--lime); }
.cases-head .cases-kicker + p { margin-top: 8px; }
.cases-nav { display: flex; gap: 10px; }
.cases-arrow {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: none; color: var(--paper); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), opacity .2s;
}
.cases-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cases-arrow:hover:not(:disabled) { border-color: var(--lime); background: rgba(199, 255, 61, .08); }
.cases-arrow:disabled { opacity: .3; cursor: default; }

/* The track scrolls sideways; it starts in line with the page content and runs to the screen edge */
.cases-viewport {
  --pad: max(var(--gutter), (100vw - var(--wrap)) / 2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  cursor: grab;
}
.cases-viewport::-webkit-scrollbar { display: none; }
.cases-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cases-viewport.is-dragging .folder { pointer-events: none; }
.cases-viewport:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.cases-viewport .cases-track {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  width: max-content;
  margin: 0;
  padding: 64px var(--pad) 40px;
  list-style: none;
}
.cases-track li { scroll-snap-align: start; }

/* One folder: back panel with a tab, two shots tucked inside, and the front flap with the label */
.folder {
  --w: clamp(260px, 25vw, 340px);
  position: relative;
  display: block;
  width: var(--w);
  aspect-ratio: 1 / .9;
  color: #fff;
  text-decoration: none;
  perspective: 1000px;
  -webkit-user-drag: none;
}
.folder-back {
  position: absolute;
  inset: 9% 0 0;
  border-radius: 6px 18px 18px 18px;
  background: color-mix(in srgb, var(--tint) 38%, #121212);
}
.folder-back::before {               /* the tab */
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 42%;
  height: 11%;
  border-radius: 14px 14px 0 0;
  background: inherit;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}
.folder-paper {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 6%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .5s var(--ease);
}
.folder-paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; -webkit-user-drag: none; }
.folder-paper.p1 { transform: translateY(14%) rotate(-3deg); }
.folder-paper.p2 { transform: translate(6%, 10%) rotate(4deg); filter: brightness(.82); }
.folder-front {
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 16px 16px 18px 18px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, .22), transparent 2px),
    linear-gradient(160deg, color-mix(in srgb, var(--tint) 78%, #151515), color-mix(in srgb, var(--tint) 46%, #151515));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .28);
  transform-origin: 50% 100%;
  transition: transform .5s var(--ease);
}
.folder-concept {
  position: absolute; z-index: 3; top: 13%; right: 8%;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(21, 21, 21, .78); color: var(--paper);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.folder-type { font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.folder-title { font: 600 1.125rem/1.2 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.folder-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.folder-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }

/* Hover or keyboard focus: the folder opens, the shots slide up and fan out */
.folder:hover .folder-paper.p1, .folder:focus-visible .folder-paper.p1 { transform: translate(-4%, -14%) rotate(-6deg); }
.folder:hover .folder-paper.p2, .folder:focus-visible .folder-paper.p2 { transform: translate(10%, -6%) rotate(7deg); }
.folder:hover .folder-front, .folder:focus-visible .folder-front { transform: rotateX(-16deg); }
.folder:hover .folder-open svg, .folder:focus-visible .folder-open svg { translate: 4px 0; }
.folder:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; border-radius: 18px; }

.cases-progress { position: relative; height: 2px; margin-top: 8px; background: var(--line); border-radius: 2px; overflow: hidden; }
.cases-progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--lime); border-radius: 2px; transition: width .2s linear, left .2s linear; }

@media (prefers-reduced-motion: reduce) {
  .folder-paper, .folder-front { transition: none; }
}
@media (max-width: 600px) {
  .cases-nav { display: none; }
  .folder { --w: 76vw; }
}

/* ---------- Work (canvas) ---------- */

.work {
  background: var(--paper);
  color: var(--carbon);
  border-top: 0;
}
.work .section-head p { color: var(--ink-soft); }
.work :focus-visible { outline-color: var(--carbon); }

.work-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -24px 0 40px; }
.filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(21, 21, 21, .25);
  border-radius: 999px;
  background: none;
  color: var(--carbon);
  font: 600 .9375rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { border-color: var(--carbon); }
.filter[aria-pressed="true"] { background: var(--carbon); border-color: var(--carbon); color: var(--paper); }

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) clamp(20px, 2.5vw, 32px);
}
@media (max-width: 1080px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.project-link {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  background: #e4e3dc;
  outline: 1.5px solid transparent;
  outline-offset: 6px;
  transition: outline-color .2s var(--ease);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-media img.crop-top { object-position: top; }
.project-text { display: grid; gap: 8px; }

/* The lead project spans the full row: image left, text right */
.project-feature { grid-column: 1 / -1; }
.project-feature .project-link {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  column-gap: clamp(20px, 2.5vw, 32px);
  align-items: end;
}
.project-feature .project-media { margin-bottom: 0; }
.project-feature h3 { font-size: var(--step-3); line-height: 1.08; }
@media (max-width: 1080px) {
  .project-feature .project-link { grid-template-columns: 1fr; }
  .project-feature .project-media { margin-bottom: 16px; }
  .project-feature h3 { font-size: var(--step-2); }
}
/* Hovering a project selects it, like a frame in a design tool */
.project-link:hover .project-media,
.project-link:focus-visible .project-media { outline-color: var(--carbon); }
.project-link:focus-visible { outline: none; }

.project-type { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.project h3 { font: 600 var(--step-2)/1.2 var(--font-display); letter-spacing: -.01em; }
.project-desc { color: var(--ink-soft); max-width: 52ch; }
.project-more {
  justify-self: start;
  margin-top: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
  text-decoration-color: rgba(21, 21, 21, .3);
  transition: text-decoration-color .2s var(--ease);
}
.project-link:hover .project-more { text-decoration-color: var(--carbon); }

.work-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(20px, 3vw, 40px);
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 28px;
  border-top: 1px solid rgba(21, 21, 21, .15);
}
.work-notes p { color: var(--ink-soft); max-width: 52ch; }
.work-notes strong { color: var(--carbon); }
.link-ink {
  display: inline-block;
  font-weight: 600;
  color: var(--carbon);
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.placeholder-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--carbon);
  color: var(--lime);
  font: 600 .75rem/1.2 var(--font-body);
  letter-spacing: .01em;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .projects, .work-notes { grid-template-columns: 1fr; }
}

/* ---------- FAQ: numbered accordion beside a sticky "Still have a question?" card ----------
   main.js animates opening and closing, and keeps one question open at a time. */

.faq { border-top: 0; }
.faq-side { display: grid; align-content: start; gap: 28px; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.faq-side h2 { position: static; }

.faq-ask {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px 14px;
  align-items: center;
  max-width: 380px;
  padding: 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .1), transparent 55%), var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.faq-ask img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; background: #2a2a28; border: 2px solid rgba(199, 255, 61, .5); }
.faq-ask-title { margin: 0 0 2px; font: 600 1.0625rem/1.25 var(--font-display); color: var(--paper); }
.faq-ask p:not(.faq-ask-title) { margin: 0; color: var(--ash); font-size: .9375rem; line-height: 1.45; }
.faq-ask-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.faq-ask-actions .quick-btn { padding: 0 20px; border-radius: 999px; min-height: 52px; }


.faq-list { padding: 6px 10px; border-radius: 24px; }
.faq-item { border-top: 1px solid rgba(255, 255, 255, .07); }
.faq-item:first-child { border-top: 0; }
.faq-item summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
  padding: 20px 14px;
  border-radius: 16px;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255, 255, 255, .04); }
.faq-item summary:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.faq-n { color: #84837b; font: 600 .875rem/1 var(--font-display); transition: color .3s; }
.faq-item[open] .faq-n { color: var(--lime); }
.faq-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: background-color .3s var(--ease), transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--paper); transition: transform .4s var(--ease), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { background: rgba(255, 255, 255, .1); }
.faq-item[open] .faq-icon { background: var(--lime); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--carbon); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 64px 24px 62px; color: #c4c3bc; max-width: 62ch; line-height: 1.65; }

@media (max-width: 900px) {
  .faq-side { position: static; }
  .faq-ask { max-width: none; }
}
@media (max-width: 560px) {
  .faq-list { padding: 4px; }
  .faq-item summary { grid-template-columns: 26px minmax(0, 1fr) 32px; gap: 10px; padding: 16px 10px; font-size: 1.0625rem; }
  .faq-icon { width: 32px; height: 32px; }
  .faq-a p { padding: 0 10px 20px 46px; }
}
/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
}
.contact-intro { grid-column: 1 / span 5; }
.contact-form-wrap { grid-column: 7 / -1; }

.contact-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.contact-eyebrow { margin-bottom: 18px; }
.contact-eyebrow i { animation: avail-pulse 2s ease-out infinite; }
@keyframes avail-pulse { 0% { box-shadow: 0 0 0 0 rgba(199, 255, 61, .5); } 100% { box-shadow: 0 0 0 10px rgba(199, 255, 61, 0); } }
.contact-intro h2 { max-width: 12ch; margin-bottom: 20px; }
.contact-intro > p { color: var(--ash); font-size: var(--step-1); line-height: 1.55; max-width: 40ch; }

.contact-sub { margin: 40px 0 16px; font-size: var(--step--1); font-weight: 600; color: var(--lime); }

/* What happens next: a small timeline, numbers joined by a line */
.next-steps { counter-reset: next; position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.next-steps::before { content: ""; position: absolute; left: 14px; top: 16px; bottom: 16px; width: 1.5px; background: linear-gradient(var(--lime-rail), rgba(255, 255, 255, .06)); }
.next-steps li { counter-increment: next; position: relative; display: grid; gap: 2px; padding-left: 46px; }
.next-steps li::before {
  content: counter(next);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #1c1c1b;
  border: 1.5px solid var(--lime);
  color: var(--lime);
  font: 600 .8125rem/1 var(--font-display);
}
.next-steps b { font-weight: 600; color: var(--paper); }
.next-steps span { color: var(--ash); font-size: .9375rem; }

/* Email card with a copy button */
.contact-email-card {
  margin-top: 36px; padding: 18px 20px 20px;
  max-width: 440px;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.contact-email-card .contact-sub { margin: 0 0 8px; }
.contact-email-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.contact-email-link { color: var(--paper); font-size: var(--step-1); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-email-link:hover { color: var(--lime); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05);
  color: var(--paper); font: 600 .8125rem/1 var(--font-body); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.copy-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { border-color: rgba(199, 255, 61, .5); }
.copy-btn.is-copied { background: var(--lime); border-color: var(--lime); color: var(--carbon); }
.copy-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
/* Other ways to reach Ali: three equal quick-action buttons under the email */
.contact-other { margin: 18px 0 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--ash); font-size: .875rem; }
.contact-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 10px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04);
  color: var(--paper); font: 600 .875rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.quick-btn svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--lime); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.quick-btn:hover { border-color: rgba(199, 255, 61, .5); background: rgba(199, 255, 61, .08); }
.quick-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 380px) { .contact-quick { grid-template-columns: 1fr; } }

/* Floating WhatsApp button: appears after the hero, steps aside near the footer */
.wa-float {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  opacity: 0;
  translate: 0 16px;
  pointer-events: none;
  transition: opacity .3s var(--ease), translate .3s var(--ease), scale .2s var(--ease);
}
.wa-float.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.wa-float:hover { scale: 1.07; }
.wa-float:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--carbon);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  translate: 6px 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), translate .2s var(--ease);
}
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: opacity .2s; translate: none; } }
@media print { .wa-float { display: none; } }
/* Form */
.contact-form { display: grid; gap: 24px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9875rem; }
.optional { font-weight: 400; color: var(--ash); margin-left: 4px; }

input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: var(--graphite);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--paper);
  font: 400 1rem/1.45 var(--font-body);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
textarea { resize: vertical; min-height: 140px; }
select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23c7ff3d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
select option { background: var(--graphite); color: var(--paper); }
input:hover, select:hover, textarea:hover { border-color: #6a6a63; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
[aria-invalid="true"] { border-color: #ff8a7a; }

.field-hint { color: var(--ash); font-size: .9375rem; }
.field-error { color: #ff9d8f; font-size: .9375rem; font-weight: 500; }
.field-error:empty { display: none; }

.chips { border: 0; padding: 0; margin: 0; }
.chips legend { padding: 0; margin-bottom: 12px; }
.chip-set { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover span { border-color: #6a6a63; }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--carbon); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.form-status { color: var(--ash); font-size: .9875rem; }
.form-status.is-error { color: #ff9d8f; }
.form-status a { color: var(--paper); }

.form-success {
  display: grid;
  gap: 12px;
  padding: 40px 0;
  border-top: 1.5px solid var(--lime);
}
.form-success:focus { outline: none; }
.form-success h3 { font: 600 var(--step-3)/1.1 var(--font-display); letter-spacing: -.02em; }
.form-success p { color: var(--ash); font-size: var(--step-1); }
.success-mark { width: 12px; height: 12px; background: var(--lime); }

/* Form polish: soft lime glow on focus, checkbox-style chips, full-width send button */
input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 1px var(--lime), 0 0 0 5px rgba(199, 255, 61, .1); }
input, select, textarea { border-radius: 12px; }
.chip span { gap: 9px; padding: 0 16px 0 12px; }
.chip span::before {
  content: ""; flex: none; width: 18px; height: 18px;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 5px;
  background: rgba(255, 255, 255, .04) no-repeat center / 12px 12px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip input:checked + span { background: rgba(199, 255, 61, .1); border-color: var(--lime); color: var(--paper); }
.chip input:checked + span::before {
  border-color: var(--lime);
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23151515' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-submit { display: grid; gap: 12px; padding-top: 8px; }
.form-submit .btn { width: 100%; min-height: 58px; }
.form-note { margin: 0; color: var(--ash); font-size: .875rem; text-align: center; }
.form-status:empty { display: none; }
.form-success { padding: 36px 8px; border-top: 0; text-align: center; justify-items: center; }
.success-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lime) no-repeat center / 30px 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23151515' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 10px rgba(199, 255, 61, .12), 0 0 40px rgba(199, 255, 61, .35);
}
@media (max-width: 900px) {
  .contact-intro, .contact-form-wrap { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .contact-intro { position: static; } }
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer: closing call to action, link columns, a giant fading wordmark ---------- */

.site-footer { position: relative; overflow: hidden; padding-top: var(--section); }

.footer-cta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .14), transparent 55%), var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.footer-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--ash); font-size: .9375rem; }
.footer-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: avail-pulse 2s ease-out infinite; }
.footer-big { margin: 0; font: 700 clamp(2rem, 1rem + 3.4vw, 4rem)/1.04 var(--font-display); letter-spacing: -.035em; color: var(--paper); }
.footer-big em { font-style: normal; color: var(--lime); }
.footer-cta-actions { display: grid; justify-items: start; gap: 14px; }
.footer-mail { color: var(--ash); font-weight: 600; text-decoration: none; transition: color .2s; }
.footer-mail:hover { color: var(--lime); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-brand p { max-width: 34ch; margin-top: 16px; color: var(--ash); line-height: 1.6; }
.footer-head { margin: 0 0 16px; color: var(--paper); font: 600 .9375rem/1 var(--font-display); letter-spacing: -.01em; }
.footer-col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--ash); text-decoration: none; transition: color .2s var(--ease), translate .2s var(--ease); display: inline-flex; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--paper); translate: 3px 0; }
.footer-social { align-items: center; gap: 9px; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-meta { margin: 0; color: var(--ash); font-size: .875rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--ash); font-size: .875rem; font-weight: 600; text-decoration: none; }
.to-top svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .06); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), background-color .2s, color .2s; }
.to-top:hover { color: var(--paper); }
.to-top:hover svg { transform: translateY(-3px); background: var(--lime); color: var(--carbon); }

/* Giant wordmark that fades into the bottom edge */
.footer-word {
  margin: -.12em 0 -.24em;
  text-align: center;
  font: 700 min(11.2vw, 15rem)/1 var(--font-display);   /* sized so the whole word spans the screen */
  letter-spacing: -.06em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-cta .btn { width: 100%; }
  .footer-cta-actions { width: 100%; justify-items: stretch; }
  .footer-mail { text-align: center; }
}
/* ---------- Simple pages (thanks, 404) ---------- */

.simple-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.simple-main {
  display: grid;
  align-content: center;
  gap: 24px;
  padding-block: calc(var(--header-h) + 48px) 96px;
}
.simple-main h1 { font-size: var(--step-3); max-width: 16ch; }
.simple-main p { color: var(--ash); font-size: var(--step-1); max-width: 46ch; }
.simple-main .btn { justify-self: start; margin-top: 8px; }

/* =====================================================================
   Glass layer (Apple-style): soft ambient light behind the page, and
   frosted, translucent panels with hairline borders on top of it.
   Kept to the panels that matter so scrolling stays smooth.
   ===================================================================== */

/* Ambient light: two very soft, slowly drifting glows fixed behind everything */
body { position: relative; isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 18% 22%, rgba(199, 255, 61, .07), transparent 70%),
    radial-gradient(46vw 46vw at 85% 70%, rgba(143, 183, 255, .06), transparent 70%),
    radial-gradient(30vw 30vw at 60% 10%, rgba(255, 255, 255, .03), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: ambient-drift 40s ease-in-out infinite alternate; }
  @keyframes ambient-drift { to { transform: translate3d(4vw, -3vh, 0) scale(1.06); } }
}

/* Shared glass recipe */
.model, .kit-summary, .social-card, .case-cta-card, .case-next-link, .kit-build, .faq-list, .contact-form-wrap, .cases-arrow {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
}
.model-featured {
  background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .12), transparent 55%), var(--glass-bg);
  border-color: rgba(199, 255, 61, .3);
}
.model:hover { box-shadow: var(--glass-hi), 0 34px 70px -30px rgba(0, 0, 0, .85); }
.kit-summary { background: radial-gradient(circle at 0 0, rgba(199, 255, 61, .08), transparent 55%), var(--glass-bg); }
.case-cta-card { background: radial-gradient(circle at 100% 0, rgba(199, 255, 61, .12), transparent 55%), var(--glass-bg); }
.social-card:hover, .social-card:focus-visible { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border-color: rgba(255, 255, 255, .16); }

/* Header: frosted bar once you scroll, like iOS */
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(21, 21, 21, .55);

  -webkit-backdrop-filter: blur(24px) saturate(180%);
          backdrop-filter: blur(24px) saturate(180%);
}
@media (max-width: 900px) {
  .js .nav { background: rgba(18, 18, 18, .72); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); }
}

/* Hero canvas: a glass window with the design file inside */
.canvas {
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 1px, transparent 1.2px) 0 0 / 22px 22px, var(--glass-bg-strong);
  border-color: var(--glass-border);
  box-shadow: var(--glass-hi), 0 40px 90px -40px rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
}
.bar { background: rgba(255, 255, 255, .03); border-bottom-color: rgba(255, 255, 255, .07); }

/* FAQ: one glass panel, rows separated by hairlines */

/* Contact form on a glass card; fields become soft frosted inputs */
.contact-form-wrap { padding: clamp(22px, 3vw, 36px); border-radius: 24px; }
input, select, textarea { background-color: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
input:focus, select:focus, textarea:focus { background-color: rgba(255, 255, 255, .07); }
.chip span { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.have { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
.have:hover { background: rgba(255, 255, 255, .06); }

/* Folders: a frosted front flap */
.folder-front { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 -10px 30px rgba(0, 0, 0, .28); }

/* No blur support: fall back to solid dark panels so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .model, .kit-summary, .social-card, .case-cta-card, .case-next-link, .kit-build, .faq-list, .contact-form-wrap, .cases-arrow, .canvas { background-color: #1c1c1b; }
}

/* ---------- Testimonials (inside the About section) ---------- */

.reviews { padding-bottom: var(--section); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-bottom: 24px; }
.reviews-head h3 { margin: 0; font: 600 var(--step-3)/1.08 var(--font-display); letter-spacing: -.03em; }
.reviews-head h3 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); }
.reviews-rating { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--ash); }
.reviews-rating b { color: var(--paper); font-weight: 700; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--lime); }

.reviews-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.review {
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.review-featured { background: radial-gradient(circle at 0 0, rgba(199, 255, 61, .1), transparent 50%), var(--glass-bg); border-color: rgba(199, 255, 61, .25); }
.review-mark { position: absolute; top: -.18em; right: .18em; font: 700 9rem/1 var(--font-display); color: rgba(199, 255, 61, .14); pointer-events: none; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: #dcdbd4; font-size: var(--step-1); line-height: 1.6; }
.review-featured blockquote p { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); }
.review mark { background: none; color: var(--paper); font-weight: 600; box-shadow: inset 0 -.38em 0 rgba(199, 255, 61, .22); }
.review figcaption { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; margin-top: auto; }
.review figcaption b { display: block; color: var(--paper); font-weight: 600; }
.review figcaption small { color: var(--ash); font-size: .875rem; }
.review-avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--carbon); font: 700 .9375rem/1 var(--font-display); }
.review-avatar.alt { background: rgba(255, 255, 255, .1); color: var(--paper); }
.review-verified { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(199, 255, 61, .12); color: var(--lime); font: 600 .75rem/1 var(--font-body); }
.review-verified svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-mark { font-size: 6rem; }
}
@media (max-width: 560px) {
  .review-verified { grid-column: 2 / -1; justify-self: start; }
}

/* Reviews layout: featured quote left; right column = second review + a "worked with" card, so nothing is left empty */
.reviews-side { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.reviews-side .review { gap: 16px; }
/* Verified badge sits under the name on every card, so all cards line up the same way */
.review .review-verified { grid-column: 2 / -1; justify-self: start; margin-top: -4px; }
.review-proof { justify-content: center; gap: 14px; }
.proof-label { margin: 0; color: var(--lime); font-size: .8125rem; font-weight: 600; }
.proof-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.proof-list li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--paper); font-size: .875rem; font-weight: 500; }
.proof-stat { margin: 0; color: var(--ash); font-size: .9375rem; }
.proof-stat b { color: var(--paper); font: 700 1.25rem/1 var(--font-display); margin-right: 4px; }
.review-featured { justify-content: center; }
.review-featured figcaption { margin-top: 8px; }
@media (min-width: 901px) { .review-featured blockquote p { font-size: clamp(1.15rem, .9rem + .7vw, 1.5rem); line-height: 1.55; } }

/* Links from the home services section to the service pages */
.kit-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin: clamp(28px, 3vw, 40px) 0 0; color: var(--ash); font-weight: 500; }

iframe#nl-badge-frame {
    display: none;
}