/* ==========================================================
   GDS — site stylesheet
   Palette, type and components follow the GDS Brand & Design Guidelines:
   Ink / Cream / Lime, Poppins headings, Lato text, pill buttons, 14px cards.
   ========================================================== */

:root {
  --ink: #0d1117;
  --ink-2: #161c26;
  --ink-3: #1f2733;
  --cream: #f6f4ee;
  --cream-dim: #e9e6dc;
  --white: #ffffff;
  --lime: #c6ff3a;
  --lime-dim: #9fd82e;
  --blue: #7c9bff;

  /* names used by the shared component blocks further down */
  --night: var(--ink);
  --night-2: var(--ink-2);
  --night-3: var(--ink-3);
  --stone: var(--cream);
  --stone-2: var(--cream-dim);
  --paper: var(--white);
  --brass: var(--lime);
  --brass-hi: #d8ff6e;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  --header-h: 76px;
}

/* Surface tones: components read these, so they work on any band */
body,
.tone-cream {
  --bg: var(--cream);
  --fg: var(--ink);
  --fg-muted: rgba(13, 17, 23, 0.68);
  --rule: rgba(13, 17, 23, 0.13);
  --accent: #4b7a00;
  --focus: var(--ink);
  --surface: var(--white);
  --card: var(--white);
  --line-btn: rgba(13, 17, 23, 0.3);
  --line-btn-hover-bg: var(--ink);
  --line-btn-hover-fg: var(--cream);
  --line-btn-hover-border: var(--ink);
}
.tone-dim { --bg: var(--cream-dim); }
.tone-ink,
.tier--lead {
  --bg: var(--ink);
  --fg: var(--cream);
  --fg-muted: rgba(246, 244, 238, 0.7);
  --rule: rgba(246, 244, 238, 0.14);
  --accent: var(--lime);
  --focus: var(--lime);
  --surface: var(--ink-2);
  --card: var(--ink-2);
  --line-btn: rgba(246, 244, 238, 0.32);
  --line-btn-hover-bg: var(--lime);
  --line-btn-hover-fg: var(--ink);
  --line-btn-hover-border: var(--lime);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* The script eases the wheel itself, so the browser's own smoothing must not fight it */
html.smooth { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.is-intro body { overflow: hidden; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; }
h1 { font-weight: 700; font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.038em; }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 700; }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 900; background: var(--lime); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { position: relative; background: var(--bg); color: var(--fg); padding: clamp(80px, 11vw, 160px) 0; }
.band--tight { padding: clamp(56px, 7vw, 100px) 0; }
.band--flush-top { padding-top: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--fg-muted); max-width: 50ch; }
.muted { color: var(--fg-muted); }
.small { font-size: 0.9rem; }

/* ---------- Buttons and links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.5s var(--ease);
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d9ff6f; }
.btn--brass { background: var(--lime); color: var(--ink); }
.btn--brass:hover { background: #d9ff6f; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: var(--line-btn); color: var(--fg); background: transparent; }
.btn--line:hover { border-color: var(--line-btn-hover-border); background: var(--line-btn-hover-bg); color: var(--line-btn-hover-fg); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link {
  display: inline; font-weight: 700;
  background: linear-gradient(var(--lime-dim), var(--lime-dim)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px; transition: background-size 0.4s var(--ease), color 0.3s ease;
}
.link:hover { background-size: 100% 100%; color: var(--ink); }
.tone-ink .link { background-image: linear-gradient(var(--lime), var(--lime)); }

/* ---------- Header, progress, wipe, intro ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  color: #f6f4ee; border-bottom: 1px solid transparent;
  transition: transform 0.55s var(--ease), background 0.4s ease, border-color 0.4s ease;
}
.site-header.is-scrolled { background: rgba(13, 17, 23, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: rgba(246, 244, 238, 0.1); }
.site-header.is-hidden { transform: translateY(-101%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 33px; flex: none; overflow: visible; }
.logo-mark circle { fill: none; stroke-width: 2.6; transition: transform 0.7s var(--ease); transform-box: fill-box; transform-origin: center; }
.logo:hover .logo-mark circle:nth-child(1) { transform: translate(-1.5px, 1.5px); }
.logo:hover .logo-mark circle:nth-child(3) { transform: translate(1.5px, -1.5px); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.045em; line-height: 1; }
.logo-word i { color: var(--lime); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { position: relative; display: block; padding: 10px 16px; border-radius: 999px; font-family: var(--font-display); font-size: 0.86rem; font-weight: 500; color: rgba(246, 244, 238, 0.74); transition: color 0.25s ease, background 0.25s ease; }
.nav-links a:hover { color: #f6f4ee; background: rgba(246, 244, 238, 0.08); }
.nav-links a.active { color: #f6f4ee; }
.nav-links a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--lime); }
.nav-cta { display: flex; align-items: center; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ''; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); top: 7px; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .site-header.menu-open { background: var(--ink); }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid rgba(246, 244, 238, 0.14); padding: 6px var(--gutter) 26px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(246, 244, 238, 0.1); }
  .nav-links a { padding: 18px 0; font-size: 1.15rem; border-radius: 0; }
  .nav-links a:hover { background: none; }
  .nav-links a.active::after { left: auto; right: 0; bottom: 50%; margin: 0; transform: translateY(50%); }
  .nav-links .nav-links-cta { border-bottom: 0; padding-top: 22px; }
  .nav-links .nav-links-cta a { display: inline-flex; padding: 0 30px; min-height: 52px; align-items: center; color: var(--ink); background: var(--lime); border-radius: 999px; font-size: 0.95rem; }
}
@media (min-width: 1021px) { .nav-links-cta { display: none; } }

.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }

.wipe { position: fixed; inset: 0; z-index: 800; background: var(--lime); display: grid; place-items: center; transform: translateY(101%); pointer-events: none; }
.wipe svg { width: 88px; height: 73px; overflow: visible; }
.wipe circle { fill: none; stroke: var(--ink); stroke-width: 2.6; }
.wipe.is-cover { transform: none; transition: transform 0.6s var(--ease); pointer-events: all; }
.wipe.is-instant { transform: none; transition: none; }
.wipe.is-leave { transform: translateY(-101%); transition: transform 0.75s var(--ease); }

.intro { position: fixed; inset: 0; z-index: 900; background: var(--ink); display: none; place-items: center; }
html.is-intro .intro { display: grid; }
.intro-inner { display: flex; align-items: center; gap: 20px; }
.intro svg { width: 96px; height: 80px; overflow: visible; }
.intro circle { fill: none; stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.intro circle:nth-child(2) { animation-delay: 0.15s; }
.intro circle:nth-child(3) { animation-delay: 0.3s; }
.intro-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 8vw, 5rem); letter-spacing: -0.05em; line-height: 1; color: var(--cream); opacity: 0; transform: translateY(20px); animation: settle 0.9s var(--ease) 0.75s forwards; }
.intro-word i { color: var(--lime); font-style: normal; }
.intro.is-out { transform: translateY(-101%); transition: transform 0.9s var(--ease); border-radius: 0 0 50% 50% / 0 0 8vw 8vw; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Cursor (fine pointers only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 700; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.cursor.is-on { opacity: 1; }
.cursor-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--lime); transition: background 0.3s ease, transform 0.3s var(--ease); }
.cursor-ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(198, 255, 58, 0.55); border-radius: 50%; display: grid; place-items: center; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s ease, border-color 0.3s ease; }
.cursor-label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity 0.2s ease; }
.cursor.on-cream .cursor-dot { background: var(--ink); }
.cursor.on-cream .cursor-ring { border-color: rgba(13, 17, 23, 0.4); }
.cursor.is-hover .cursor-ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(198, 255, 58, 0.16); }
.cursor.is-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--lime); border-color: var(--lime); }
.cursor.is-view .cursor-label { opacity: 1; }
.cursor.is-view .cursor-dot { transform: scale(0); }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor .concept { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }

/* ---------- Text and reveal effects (only when JS adds .fx) ---------- */
.fx [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.fx [data-split] .wi { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms)); }
.fx [data-split].is-in .wi { transform: none; }

.fx [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.fx [data-reveal].is-in { opacity: 1; transform: none; }
.fx [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.fx [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.fx [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.fx [data-reveal="line"].is-in { transform: none; }
.fx [data-reveal="pop"] { opacity: 0; transform: scale(0.92); }
.fx [data-reveal="pop"].is-in { opacity: 1; transform: none; }
/* "none" only marks the moment an element arrives, so its children can animate on their own schedule */
.fx [data-reveal="none"] { opacity: 1; transform: none; }

.sw { transition: opacity 0.2s linear; }

/* ---------- Home hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--fg); overflow: hidden; padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 72px); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow--blue { width: 70vmax; height: 70vmax; left: -28vmax; top: -34vmax; background: radial-gradient(circle, rgba(124, 155, 255, 0.28), transparent 62%); }
.glow--lime { width: 56vmax; height: 56vmax; right: -20vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(198, 255, 58, 0.15), transparent 62%); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: clamp(3.1rem, 9.4vw, 8.8rem); line-height: 0.93; letter-spacing: -0.05em; margin: 0 0 0.38em; max-width: 7.4em; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin: 34px 0 0; font-size: 0.92rem; color: var(--fg-muted); }
.hero-cue { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 0.8rem; font-weight: 500; color: var(--fg-muted); }
.hero-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--lime), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 720px) { .hero-cue { display: none; } .hero { align-items: flex-end; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--bg); color: var(--fg); padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.7rem, 7vw, 6.4rem); max-width: 13ch; margin-bottom: 0.4em; }
.page-hero .lead { max-width: 54ch; margin-bottom: 0; }
.page-rings { position: absolute; right: -4vw; top: 50%; width: min(54vw, 660px); transform: translateY(-50%); pointer-events: none; z-index: 1; }
.page-rings circle { fill: none; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) 0.3s forwards; }
.page-rings circle:nth-child(2) { animation-delay: 0.5s; }
.page-rings circle:nth-child(3) { animation-delay: 0.7s; }
.page-hero .glow--blue { width: 60vmax; height: 60vmax; left: auto; right: -20vmax; top: -30vmax; }
@media (max-width: 800px) { .page-rings { opacity: 0.45; right: -22vw; width: 90vw; } }
html:not(.fx) .page-rings circle, html:not(.fx) .intro circle { stroke-dashoffset: 0; animation: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; padding: clamp(18px, 2.6vw, 34px) 0; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px); font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 6.4vw, 5.6rem); letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.marquee-item svg { width: 0.8em; height: 0.66em; flex: none; overflow: visible; }
.marquee-item circle { fill: none; stroke: var(--ink); stroke-width: 3; }

/* ---------- Big statement (words light up as you scroll) ---------- */
.statement-big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.1; letter-spacing: -0.04em; max-width: 21em; margin: 0 0 1em; }

/* ---------- Pinned scroll sequence: how a project runs ---------- */
.pin { position: relative; height: calc(var(--steps, 4) * 80vh + 100vh); background: var(--bg); color: var(--fg); }
.pin-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.pin-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pin-visual { min-width: 0; }
.pin-copy h2 { margin-bottom: 0.3em; }
.pin-steps { margin-top: 28px; border-top: 1px solid var(--rule); }
.pin-step { border-bottom: 1px solid var(--rule); padding: 16px 0; opacity: 0.4; transition: opacity 0.5s ease; }
.pin-step h3 { display: flex; align-items: baseline; gap: 16px; margin: 0; font-size: 1.45rem; }
.pin-step h3 span { font-size: 0.9rem; font-weight: 600; color: var(--accent); min-width: 1ch; }
.pin-step p { max-height: 0; overflow: hidden; margin: 0; color: var(--fg-muted); font-size: 1rem; transition: max-height 0.7s var(--ease), margin 0.7s var(--ease); }
.pin-step.is-active { opacity: 1; }
.pin-step.is-active p { max-height: 8em; margin-top: 10px; }
.pin-bar { height: 3px; margin-top: 26px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.pin-bar i { display: block; height: 100%; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* The website that builds itself */
.mock { background: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75); transition: transform 1s var(--ease), box-shadow 1s ease, border-color 1s ease; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--ink-2); border-bottom: 1px solid var(--rule); }
.mock-bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246, 244, 238, 0.22); }
.mock-url { flex: 1; margin: 0 8px 0 12px; padding: 4px 14px; border-radius: 999px; background: var(--ink); font-size: 0.78rem; color: rgba(246, 244, 238, 0.4); transition: color 0.6s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-live { padding: 3px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: transparent; background: transparent; transition: background 0.6s ease, color 0.6s ease; }
.mock-live::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.mock-page { --m-bg: #0d1117; --m-fg: transparent; --m-line: rgba(246, 244, 238, 0.3); --m-soft: rgba(246, 244, 238, 0.06); position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(10px, 1.6vw, 20px); padding: clamp(14px, 2vw, 28px); aspect-ratio: 16 / 10.6; background: var(--m-bg); color: var(--m-fg); transition: background 0.9s ease, color 0.9s ease; overflow: hidden; }
.m-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-logo { width: 22%; height: 16px; border-radius: 5px; border: 1.5px dashed var(--m-line); transition: background 0.7s ease, border-color 0.7s ease; }
.m-links { display: flex; gap: 10px; margin-left: auto; margin-right: 16px; }
.m-links s { display: block; width: clamp(20px, 4vw, 40px); height: 9px; border-radius: 5px; border: 1.5px dashed var(--m-line); transition: background 0.7s ease, border-color 0.7s ease; }
.m-cta { display: block; width: 14%; height: 22px; border-radius: 999px; border: 1.5px dashed var(--m-line); transition: background 0.7s ease, border-color 0.7s ease; }
.m-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(10px, 2vw, 24px); align-items: center; }
.m-h { margin: 0 0 12px; padding: 8px 10px; border: 1.5px dashed var(--m-line); border-radius: 8px; font: 700 clamp(1rem, 2.7vw, 2.1rem) / 1.03 var(--font-display); letter-spacing: -0.04em; color: var(--m-fg); transition: border-color 0.7s ease, color 0.7s ease, padding 0.7s ease; }
.m-lines { display: grid; gap: 7px; margin-bottom: 14px; }
.m-lines b { display: block; height: 8px; border-radius: 5px; border: 1.5px dashed var(--m-line); transition: background 0.7s ease, border-color 0.7s ease; }
.m-lines b:nth-child(2) { width: 82%; }
.m-lines b:nth-child(3) { width: 58%; }
.m-btn { display: inline-flex; align-items: center; height: clamp(24px, 3.4vw, 34px); padding: 0 clamp(12px, 2vw, 20px); border-radius: 999px; border: 1.5px dashed var(--m-line); font: 600 clamp(0.6rem, 1.2vw, 0.8rem) var(--font-display); color: transparent; transition: background 0.7s ease, border-color 0.7s ease, color 0.7s ease; }
.m-img { align-self: stretch; min-height: 100px; border-radius: 10px; border: 1.5px dashed var(--m-line); transition: background 0.9s ease, border-color 0.7s ease; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 16px); }
.m-card { padding: 10px; border-radius: 10px; border: 1.5px dashed var(--m-line); transition: background 0.7s ease, border-color 0.7s ease; }
.m-card i { display: block; height: clamp(22px, 4vw, 44px); margin-bottom: 8px; border-radius: 6px; transition: background 0.9s ease; }
.m-card b { display: block; height: 7px; border-radius: 4px; background: transparent; transition: background 0.7s ease; }
.m-card b + b { width: 60%; margin-top: 6px; }

/* Step 2: design. Type, colour and shape arrive. */
.pin.s1 .mock-page { --m-bg: #f6f4ee; --m-fg: #0d1117; --m-line: transparent; }
.pin.s1 .m-logo { background: #0d1117; }
.pin.s1 .m-links s { background: rgba(13, 17, 23, 0.25); }
.pin.s1 .m-cta { background: #0d1117; }
.pin.s1 .m-lines b { background: rgba(13, 17, 23, 0.16); }
.pin.s1 .m-btn { background: var(--lime); color: #0d1117; }
.pin.s1 .m-img { background: #e9e6dc; }
.pin.s1 .m-card { background: #fff; }
.pin.s1 .m-card b { background: rgba(13, 17, 23, 0.14); }
.pin.s1 .m-card i { background: #e9e6dc; }
.pin.s1 .m-h { padding: 0; }
/* Step 3: build. Imagery and content fill in, and it goes dark. */
.pin.s2 .mock-page { --m-bg: #0d1117; --m-fg: #f6f4ee; }
.pin.s2 .m-logo { background: #f6f4ee; }
.pin.s2 .m-links s { background: rgba(246, 244, 238, 0.28); }
.pin.s2 .m-cta { background: #f6f4ee; }
.pin.s2 .m-lines b { background: rgba(246, 244, 238, 0.18); }
.pin.s2 .m-img { background: radial-gradient(circle at 28% 30%, rgba(124, 155, 255, 0.95), transparent 55%), radial-gradient(circle at 76% 72%, rgba(198, 255, 58, 0.9), transparent 52%), #1f2733; }
.pin.s2 .m-card { background: #161c26; }
.pin.s2 .m-card b { background: rgba(246, 244, 238, 0.2); }
.pin.s2 .m-card:nth-child(1) i { background: linear-gradient(135deg, #7c9bff, #1f2733); }
.pin.s2 .m-card:nth-child(2) i { background: linear-gradient(135deg, #c6ff3a, #1f2733); }
.pin.s2 .m-card:nth-child(3) i { background: linear-gradient(135deg, #f6f4ee, #1f2733); }
/* Step 4: launch. */
.pin.s3 .mock { border-color: rgba(198, 255, 58, 0.55); box-shadow: 0 0 0 1px rgba(198, 255, 58, 0.3), 0 50px 120px -20px rgba(198, 255, 58, 0.32); transform: translateY(-8px) scale(1.015); }
.pin.s3 .mock-url { color: #f6f4ee; }
.pin.s3 .mock-live { background: var(--lime); color: var(--ink); }
.pin.s3 .mock-live::before { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

@media (max-width: 960px) {
  .pin { height: auto; }
  .pin-stage { position: relative; height: auto; display: block; padding: clamp(72px, 10vw, 110px) 0; }
  .pin-grid { grid-template-columns: 1fr; }
  .pin-step { opacity: 1; }
  .pin-step p { max-height: none; margin-top: 10px; }
  .pin-bar { display: none; }
  .pin.s3 .mock { transform: none; }
}

/* ---------- Horizontal scroll: the three services ---------- */
.hpin { position: relative; height: var(--hh, auto); background: var(--bg); color: var(--fg); }
.hpin-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 44px); overflow: hidden; padding-top: var(--header-h); }
.hpin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hpin-head h2 { margin: 0; flex: 1 1 22ch; min-width: 0; max-width: 26ch; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
@media (min-width: 961px) { .hpin-head { flex-wrap: nowrap; } .hpin-head h2 { max-width: none; } .hpin-head p { flex: none; } }
.hpin-head p { margin: 0; color: var(--fg-muted); max-width: 34ch; }
.hpin-track { display: flex; gap: clamp(20px, 3vw, 40px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hp-panel { flex: none; width: min(84vw, 1040px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--rule); border-radius: calc(var(--radius) * 1.6); overflow: hidden; min-height: min(52vh, 460px); }
.hp-art { position: relative; background: var(--ink); overflow: hidden; display: grid; place-items: center; padding: 28px; }
.hp-art::before { content: ''; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(124, 155, 255, 0.3), transparent 65%); left: -25%; top: -30%; }
.hp-body { padding: clamp(24px, 3.2vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.hp-body h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.04em; margin-bottom: 0.4em; }
.hp-body > p { color: var(--fg-muted); }
.hp-body ul { margin: 6px 0 26px; }
.hp-body li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--rule); font-size: 0.98rem; position: relative; }
.hp-body li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px rgba(13, 17, 23, 0.25); }
.hp-body .link { align-self: flex-start; }
.hpin-bar { margin: 0 var(--gutter); height: 3px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.hpin-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* Service artwork: small looping scenes */
.art { position: relative; width: min(100%, 320px); }
.art-web { display: grid; gap: 10px; padding: 14px; background: var(--ink-2); border: 1px solid rgba(246, 244, 238, 0.14); border-radius: 12px; }
.art-web i { display: block; border-radius: 6px; background: rgba(246, 244, 238, 0.16); animation: build 6s var(--ease) infinite; animation-delay: calc(var(--n) * 0.28s); }
.art-web .a-bar { height: 12px; width: 60%; }
.art-web .a-hero { height: 86px; background: linear-gradient(135deg, rgba(124, 155, 255, 0.7), rgba(198, 255, 58, 0.55)); }
.art-web .a-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: none; }
.art-web .a-row b { height: 44px; border-radius: 6px; background: rgba(246, 244, 238, 0.14); animation: build 6s var(--ease) infinite; animation-delay: calc(var(--n) * 0.28s); }
.art-web .a-btn { height: 20px; width: 34%; border-radius: 999px; background: var(--lime); }
@keyframes build { 0%, 6% { opacity: 0; transform: translateY(18px) scale(0.96); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

.art-seo { padding: 14px; background: var(--ink-2); border: 1px solid rgba(246, 244, 238, 0.14); border-radius: 12px; }
.art-seo .s-search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; margin-bottom: 12px; border-radius: 999px; background: rgba(246, 244, 238, 0.1); font-size: 0.74rem; color: rgba(246, 244, 238, 0.6); }
.art-seo .s-search::after { content: ''; width: 1px; height: 12px; background: var(--lime); animation: blink 1s steps(2) infinite; }
.art-seo svg { width: 100%; height: auto; overflow: visible; }
.art-seo .grid { stroke: rgba(246, 244, 238, 0.1); }
.art-seo .line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 5s var(--ease) infinite; }
.art-seo .dot { fill: var(--lime); animation: dotpop 5s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes trace { 0% { stroke-dashoffset: 1; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes dotpop { 0%, 50% { opacity: 0; transform: scale(0); } 62%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }

.art-shop { display: grid; gap: 12px; padding: 14px; background: var(--ink-2); border: 1px solid rgba(246, 244, 238, 0.14); border-radius: 12px; }
.art-shop .p-img { height: 118px; border-radius: 8px; background: radial-gradient(circle at 30% 30%, rgba(124, 155, 255, 0.9), transparent 55%), radial-gradient(circle at 75% 75%, rgba(198, 255, 58, 0.85), transparent 55%), #1f2733; }
.art-shop .p-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.art-shop .p-row b { display: block; height: 9px; width: 46%; border-radius: 5px; background: rgba(246, 244, 238, 0.24); }
.art-shop .p-row em { font: 600 0.8rem var(--font-display); color: var(--cream); font-style: normal; }
.art-shop .p-add { height: 36px; border-radius: 999px; background: var(--lime); display: grid; place-items: center; font: 600 0.78rem var(--font-display); color: var(--ink); animation: press 5s var(--ease) infinite; }
.art-shop .p-bag { position: absolute; right: -10px; top: -14px; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--cream); color: var(--ink); display: grid; place-items: center; font: 700 0.78rem var(--font-display); animation: bagpop 5s var(--ease) infinite; }
@keyframes press { 0%, 52%, 70%, 100% { transform: none; } 58% { transform: scale(0.94); } }
@keyframes bagpop { 0%, 56% { transform: scale(0); opacity: 0; } 66% { transform: scale(1.25); opacity: 1; } 76%, 94% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }

.hpin:not(.in-view) .art *, .hpin:not(.in-view) .art { animation-play-state: paused; }

/* Short screens: tighten the pinned cards so their bottom padding is never clipped by the fixed-height stage */
@media (min-width: 961px) and (max-height: 820px) {
  .hpin-stage { gap: 16px; }
  .hpin-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
  .hp-panel { min-height: 0; }
  .hp-body { padding-block: clamp(18px, 2.4vh, 30px); }
  .hp-body ul { margin: 4px 0 14px; }
  .hp-body li { padding-block: 6px; }
  .hp-body h3 { margin-bottom: 0.25em; }
}
@media (min-width: 961px) and (max-height: 640px) {
  .hpin-head p { display: none; }
  .hp-body li { font-size: 0.92rem; padding-block: 4px; }
}

@media (max-width: 960px) {
  .hpin { height: auto; }
  .hpin-stage { position: relative; height: auto; display: block; overflow: visible; padding: clamp(72px, 10vw, 110px) 0; }
  .hpin-head { margin-bottom: 36px; }
  .hpin-track { flex-direction: column; width: auto; transform: none !important; padding: 0 var(--gutter); }
  .hp-panel { width: 100%; grid-template-columns: 1fr; }
  .hp-art { min-height: 260px; }
  .hpin-bar { display: none; }
}

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-head { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .split-head { position: static; } }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { color: var(--fg-muted); font-size: 1.12rem; margin-bottom: 0; }

.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); border-top: 1px solid var(--rule); padding: clamp(36px, 5vw, 64px) 0; position: relative; }
.service:last-child { border-bottom: 1px solid var(--rule); }
.service::before { content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); }
.service:hover::before { transform: scaleX(1); }
.service h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -0.04em; margin-bottom: 0.35em; }
.service > div > p { color: var(--fg-muted); }
.service ul { columns: 2; column-gap: 40px; }
.service li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .service ul { columns: 1; } }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tier { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); background: var(--card); color: var(--fg); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.tier--lead { background: var(--ink); border-color: var(--ink); --spot: rgba(198, 255, 58, 0.16); }
.tier::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot, rgba(13, 17, 23, 0.06)), transparent 62%); }
.tier:hover::before { opacity: 1; }
.tier > * { position: relative; }
.tier-rings { width: 76px; height: 63px; margin-bottom: 26px; overflow: visible; }
.tier-rings circle { fill: none; stroke-width: 2.6; stroke: currentColor; }
.tier-rings .lime { stroke: var(--lime-dim); }
.tier--lead .tier-rings .lime { stroke: var(--lime); }
.tier h3 { font-size: 2rem; letter-spacing: -0.045em; margin-bottom: 0.15em; }
.tier-for { color: var(--fg-muted); font-size: 0.96rem; margin-bottom: 26px; min-height: 3em; }
.tier-price { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 8px; }
.tier-price-note { color: var(--fg-muted); font-size: 0.88rem; margin-bottom: 28px; }
.tier ul { flex-grow: 1; margin-bottom: 28px; border-top: 1px solid var(--rule); }
.tier li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 0.96rem; }
.tier-care { font-size: 0.9rem; color: var(--fg-muted); margin-bottom: 28px; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--fg) 6%, transparent); }
.tier .btn { align-self: flex-start; }
.tier:target { box-shadow: 0 0 0 3px var(--lime); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } .tier-for { min-height: 0; } }

/* ---------- Add-on price menu ---------- */
.menu-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.menu-col h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.menu-col > p { color: var(--fg-muted); font-size: 0.96rem; min-height: 3.2em; }
.menu-col ul { border-top: 1px solid var(--rule); }
.menu-col li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 0.96rem; transition: padding 0.4s var(--ease), background 0.3s ease; }
.menu-col li:hover { padding-left: 10px; background: linear-gradient(90deg, rgba(198, 255, 58, 0.14), transparent); }
.menu-col li span:last-child { color: var(--accent); font-weight: 700; white-space: nowrap; }
@media (max-width: 960px) { .menu-cols { grid-template-columns: 1fr; } .menu-col > p { min-height: 0; } }

/* ---------- Static process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step { padding: 0 28px 0 0; counter-increment: step; }
.step::before { content: counter(step); display: block; margin-bottom: 22px; padding-top: 22px; border-top: 2px solid var(--lime-dim); font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1; letter-spacing: -0.05em; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--fg-muted); font-size: 0.98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { padding-right: 0; } }

/* ---------- Principles, statements, facts ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.principle { padding: clamp(26px, 3vw, 38px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.principle h3 { font-size: 1.5rem; }
.principle p { color: var(--fg-muted); margin-bottom: 0; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }

.statement { padding: 6px 0 6px 26px; border-left: 3px solid var(--lime-dim); max-width: 60ch; }
.statement p { margin-bottom: 0; color: var(--fg-muted); }
.statement strong { color: var(--fg); display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.02em; }

.facts { border-top: 1px solid var(--rule); }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.facts li span:first-child { color: var(--fg-muted); }
.facts li span:last-child { min-width: 0; font-family: var(--font-display); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.facts li { flex-wrap: wrap; }
.split > *, .split--even > * { min-width: 0; }

/* ---------- Mini builder on the home page ---------- */
.mini { display: grid; gap: 18px; }
.mini-frame { --mb: #0d1117; --mt: #f6f4ee; --ma: #c6ff3a; --mh: 'Poppins', sans-serif; border-radius: var(--radius); overflow: hidden; background: var(--mb); color: var(--mt); border: 1px solid var(--rule); box-shadow: 0 30px 70px -30px rgba(13, 17, 23, 0.45); transition: background 0.6s ease, color 0.6s ease; }
.mini-chrome { display: flex; gap: 6px; padding: 11px 14px; background: rgba(128, 128, 128, 0.14); }
.mini-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(128, 128, 128, 0.5); }
.mini-nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px; font: 700 1rem var(--mh); }
.mini-nav small { display: flex; gap: 14px; font: 400 0.76rem var(--font-body); opacity: 0.6; }
.mini-hero { padding: clamp(28px, 5vw, 56px) 26px clamp(30px, 5vw, 52px); }
.mini-hero h4 { margin: 0 0 12px; font: 700 clamp(1.5rem, 3.6vw, 2.5rem) / 1.04 var(--mh); letter-spacing: -0.035em; max-width: 14ch; transition: font-family 0.3s; }
.mini-hero p { margin: 0 0 20px; max-width: 34ch; opacity: 0.8; font-size: 0.95rem; }
.mini-btn { display: inline-block; padding: 11px 24px; border-radius: 999px; background: var(--ma); color: var(--mbtn, #0d1117); font: 600 0.85rem var(--font-display); transition: background 0.6s ease, color 0.6s ease; }
.mini-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.mini-group { display: flex; align-items: center; gap: 10px; }
.mini-group > span { font-size: 0.86rem; color: var(--fg-muted); }
.mini-sw { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--rule); cursor: pointer; transition: transform 0.4s var(--ease), outline-color 0.3s; outline: 2px solid transparent; outline-offset: 3px; }
.mini-sw:hover { transform: scale(1.12); }
.mini-sw[aria-pressed="true"] { outline-color: var(--fg); }
.mini-font { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--fg); font-size: 0.85rem; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.mini-font[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.mini-input { width: 100%; max-width: 380px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); font: inherit; font-size: 0.95rem; color: var(--ink); margin: 0; }

/* ---------- Closing call to action ---------- */
.closing { overflow: hidden; }
.closing .wrap { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(2.8rem, 8.4vw, 8rem); line-height: 0.95; max-width: 11ch; margin-bottom: 0.35em; letter-spacing: -0.055em; }
.closing p { color: var(--fg-muted); font-size: 1.15rem; margin-bottom: 34px; }
.closing .page-rings { top: 50%; right: -8vw; width: min(60vw, 760px); opacity: 0.9; }
.closing .page-rings circle { animation: none; stroke-dashoffset: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--fg); overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 0; border-top: 1px solid rgba(246, 244, 238, 0.08); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: clamp(32px, 5vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; font-size: 0.98rem; color: var(--fg-muted); }
.footer-col h4 { color: var(--fg); margin-bottom: 16px; font-size: 0.95rem; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.98rem; color: var(--fg-muted); transition: color 0.25s ease, transform 0.4s var(--ease); }
.footer-col a:hover, .footer-col button:hover { color: var(--lime); transform: translateX(4px); }
.footer-col button { display: block; padding: 5px 0; margin: 0; background: none; border: 0; font: inherit; font-size: 0.98rem; color: var(--fg-muted); text-align: left; cursor: pointer; transition: color 0.25s ease, transform 0.4s var(--ease); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 32px; padding: 24px 0 28px; border-top: 1px solid rgba(246, 244, 238, 0.12); font-size: 0.86rem; color: rgba(246, 244, 238, 0.55); }
.footer-word { position: relative; z-index: 0; margin: 0; padding: 0 var(--gutter); overflow: hidden; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: min(46vw, 60rem); line-height: 0.74; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 244, 238, 0.26); white-space: nowrap; user-select: none; }
.footer-word i { font-style: normal; color: var(--lime); -webkit-text-stroke: 0; }
.footer-brand .link { color: var(--cream); }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(246, 244, 238, 0.18); color: var(--fg-muted); transition: color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease); }
.footer-social a:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; background: var(--lime); color: var(--ink); border: 0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9); transition: opacity 0.3s ease, transform 0.5s var(--ease), visibility 0.3s; }
.back-to-top svg { width: 16px; height: 16px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Shared component blocks (concepts, quiz, forms, builder) ---------- */


/* ---------- Concept thumbnails on Work and Home ---------- */
.concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.concepts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.concept { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.concept-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--rule); background: var(--night-2);
  transition: border-color 0.3s ease, transform 0.6s var(--ease);
}
.concept-thumb .cpv-frame { position: absolute; left: 0; top: 0; width: 940px; transform-origin: top left; pointer-events: none; }
.concept-thumb--photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.concept:hover .concept-thumb, .concept:focus-visible .concept-thumb { border-color: var(--accent); transform: translateY(-4px); }
.concept-cta {
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(24px, 3vw, 40px); background: var(--night); color: #f6f4ee; border: 1px solid rgba(198, 255, 58, 0.34);
  --accent: var(--brass);
  transition: border-color 0.3s ease, transform 0.6s var(--ease);
}
.concept-cta h3 { font-size: 1.9rem; }
.concept-cta p { color: rgba(246, 244, 238, 0.72); font-size: 0.98rem; }
.concept:hover .concept-cta, .concept:focus-visible .concept-cta { border-color: var(--brass); transform: translateY(-4px); }
.concept:hover .concept-cta .link { border-color: var(--brass); color: var(--brass); }
.concept-meta { padding: 20px 0 0; }
.concept-meta h3 { font-size: 1.55rem; margin-bottom: 0.15em; }
.concept-meta p { color: var(--fg-muted); font-size: 0.96rem; margin-bottom: 8px; }
.concept-meta .tag { color: var(--accent); font-size: 0.86rem; font-weight: 500; }
@media (max-width: 960px) { .concepts, .concepts--two { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 960px) { .concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.statement-block { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(28px, 3.4vw, 44px) 0; margin-bottom: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 96px); }
.statement-block h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0; }
.statement-block p { margin: 0; color: var(--fg-muted); }
@media (max-width: 900px) { .statement-block { grid-template-columns: 1fr; } }

/* ---------- Concept preview modal ---------- */
.design-modal {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 10, 9, 0.84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: clamp(12px, 3vw, 40px); overflow-y: auto; align-items: flex-start; justify-content: center;
}
.design-modal.open { display: flex; }
.design-modal-panel { width: 100%; max-width: 1000px; background: var(--night); color: #f6f4ee; border: 1px solid rgba(198, 255, 58, 0.3); animation: settle 0.5s var(--ease) both; }
.design-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px 16px 24px; border-bottom: 1px solid rgba(198, 255, 58, 0.24); }
.design-modal-bar strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; display: block; line-height: 1.2; }
.design-modal-bar span { font-size: 0.84rem; color: rgba(246, 244, 238, 0.62); }
.design-modal-close {
  width: 44px; height: 44px; flex: none; background: none; border: 1px solid rgba(246, 244, 238, 0.28); color: #f6f4ee; cursor: pointer; position: relative;
  transition: border-color 0.25s ease;
}
.design-modal-close:hover { border-color: var(--brass); }
.design-modal-close::before, .design-modal-close::after { content: ''; position: absolute; left: 13px; top: 21px; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.design-modal-close::after { transform: rotate(-45deg); }
.design-modal-stage { padding: clamp(12px, 2.4vw, 28px); background: var(--night-2); }
.design-modal-stage .cpv-frame { border: 1px solid rgba(246, 244, 238, 0.1); }
.design-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-top: 1px solid rgba(198, 255, 58, 0.24); }
.design-modal-foot strong { display: block; font-weight: 600; }
.design-modal-foot span { font-size: 0.92rem; color: rgba(246, 244, 238, 0.66); }

/* ---------- Concept design system (cpv-*) ----------
   Each concept sets --cpv-* custom properties on its frame. */
.cpv-frame {
  background: var(--cpv-bg); color: var(--cpv-text); font-family: var(--cpv-body);
  font-size: 15px; line-height: 1.55; overflow: hidden;
}
.cpv-frame h2, .cpv-frame h3, .cpv-frame h4 { font-family: var(--cpv-head); color: inherit; }
.cpv-frame p { max-width: none; }
.cpv-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 40px; background: var(--cpv-nav-bg); border-bottom: 1px solid var(--cpv-line); }
.cpv-brand { font-family: var(--cpv-head); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.01em; }
.cpv-links { display: flex; gap: 26px; font-size: 0.82rem; opacity: 0.72; }
.cpv-announce { text-align: center; font-size: 0.78rem; padding: 9px; background: var(--cpv-accent); color: var(--cpv-accent-ink); font-weight: 500; }
.cpv-hero { padding: 76px 40px 56px; text-align: center; }
.cpv-hero h2 { font-size: 3.1rem; line-height: 1.04; font-weight: 400; margin: 0 0 16px; letter-spacing: -0.02em; }
.cpv-hero p { max-width: 460px; margin: 0 auto 28px; opacity: 0.78; font-size: 1rem; }
.cpv-hero--left { text-align: left; }
.cpv-hero--left p { margin-left: 0; }
.cpv-btn { display: inline-block; padding: 12px 26px; background: var(--cpv-accent); color: var(--cpv-accent-ink); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em; border-radius: var(--cpv-radius, 2px); border: 1px solid var(--cpv-accent); white-space: nowrap; }
.cpv-btn--sm { padding: 8px 18px; font-size: 0.78rem; }
.cpv-btn--ghost { background: transparent; color: var(--cpv-text); border-color: var(--cpv-line-strong); }
.cpv-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cpv-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 40px; font-size: 0.78rem; opacity: 0.62; border-top: 1px solid var(--cpv-line); }
.cpv-label { padding: 0 40px 16px; font-size: 0.86rem; opacity: 0.62; }

/* Studio */
.cpv-gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; padding: 8px 40px 56px; align-items: start; }
.cpv-shot { height: 300px; background: var(--shot); }
.cpv-shot-wrap:nth-child(2) { margin-top: 44px; }
.cpv-shot-wrap:nth-child(3) { margin-top: 14px; }
.cpv-shot-wrap h4 { margin: 12px 0 0; font-size: 0.9rem; font-weight: 500; }
.cpv-shot-wrap span { font-size: 0.78rem; opacity: 0.6; }

/* Boutique */
.cpv-nav--centre { display: grid; grid-template-columns: 1fr auto 1fr; }
.cpv-nav--centre .cpv-links:last-child { justify-content: flex-end; }
.cpv-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 4px 40px 52px; }
.cpv-product-img { position: relative; height: 210px; background: var(--shot); margin-bottom: 14px; }
.cpv-badge { position: absolute; top: 12px; left: 12px; background: var(--cpv-bg); color: var(--cpv-text); font-size: 0.7rem; padding: 3px 10px; font-weight: 500; }
.cpv-product h4 { font-family: var(--cpv-body); font-size: 0.92rem; font-weight: 500; margin: 0 0 2px; }
.cpv-price { font-size: 0.86rem; opacity: 0.68; }
.cpv-newsletter { display: flex; gap: 8px; align-items: center; }
.cpv-input-fake { padding: 9px 14px; border: 1px solid var(--cpv-line-strong); font-size: 0.78rem; opacity: 0.7; min-width: 190px; }

/* Consultancy */
.cpv-hero--grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.cpv-hero--grid h2 { font-size: 3rem; }
.cpv-hero--grid p { margin-bottom: 26px; }
.cpv-rule-list { border-top: 1px solid var(--cpv-line-strong); font-size: 0.86rem; }
.cpv-rule-list div { padding: 12px 0; border-bottom: 1px solid var(--cpv-line); display: flex; justify-content: space-between; gap: 12px; }
.cpv-rule-list span:last-child { opacity: 0.6; }
.cpv-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 20px 40px 56px; }
.cpv-step { border-top: 1px solid var(--cpv-accent); padding-top: 18px; }
.cpv-step-num { font-family: var(--cpv-head); font-size: 1.5rem; color: var(--cpv-accent); }
.cpv-step h4 { font-size: 1.05rem; margin: 6px 0 6px; }
.cpv-step p { font-size: 0.86rem; opacity: 0.7; margin: 0; }
.cpv-statement { margin: 0 40px 48px; padding: 36px 40px; background: var(--cpv-surface); }
.cpv-statement p { font-family: var(--cpv-head); font-size: 1.5rem; line-height: 1.35; margin: 0; }

/* Cafe */
.cpv-hero--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; text-align: left; padding: 56px 40px 48px; }
.cpv-hero--split h2 { font-size: 3.3rem; }
.cpv-hero--split p { margin-left: 0; }
.cpv-arch { height: 360px; background: var(--shot); border-radius: 220px 220px 0 0; }
.cpv-menu-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 8px 40px 40px; align-items: start; }
.cpv-menu-item { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; font-size: 0.95rem; }
.cpv-menu-item small { display: block; opacity: 0.6; font-size: 0.78rem; }
.cpv-dots { flex: 1; border-bottom: 1px dotted currentColor; opacity: 0.3; transform: translateY(-4px); }
.cpv-card { background: var(--cpv-surface); padding: 26px; }
.cpv-card h4 { font-size: 1.15rem; margin: 0 0 8px; }
.cpv-card p { font-size: 0.9rem; opacity: 0.8; margin: 0 0 16px; }
.cpv-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 40px 40px; }
.cpv-photo-grid div { height: 96px; background: var(--shot); }
.cpv-banner { height: 150px; margin: 0 40px 40px; background: var(--shot); }
.design-modal .cpv-banner { margin-left: 20px; margin-right: 20px; height: 110px; }

/* Startup */
.cpv-window { margin: 0 40px 44px; border: 1px solid var(--cpv-line-strong); background: #fff; box-shadow: 0 30px 60px -30px rgba(16, 19, 42, 0.35); border-radius: 10px; overflow: hidden; }
.cpv-window-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--cpv-line); }
.cpv-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--cpv-line-strong); }
.cpv-window-body { display: grid; grid-template-columns: 150px 1fr; min-height: 190px; }
.cpv-window-side { border-right: 1px solid var(--cpv-line); padding: 16px; display: grid; gap: 10px; align-content: start; }
.cpv-window-side b, .cpv-window-main b { display: block; height: 9px; border-radius: 5px; background: var(--cpv-surface); }
.cpv-window-side b:first-child { background: var(--cpv-accent); width: 70%; }
.cpv-window-main { padding: 20px; display: grid; gap: 12px; align-content: start; }
.cpv-window-main b:nth-child(1) { width: 40%; height: 14px; background: var(--cpv-text); opacity: 0.85; }
.cpv-window-main b:nth-child(2) { width: 85%; } .cpv-window-main b:nth-child(3) { width: 70%; }
.cpv-window-main .cpv-chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 6px; }
.cpv-chart i { flex: 1; background: var(--cpv-surface); border-radius: 3px 3px 0 0; }
.cpv-chart i:nth-child(4), .cpv-chart i:nth-child(6) { background: var(--cpv-accent); }
.cpv-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 4px 40px 44px; }
.cpv-feature h4 { font-size: 1.05rem; margin: 14px 0 4px; }
.cpv-feature p { font-size: 0.86rem; opacity: 0.7; margin: 0; }
.cpv-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--cpv-surface); position: relative; }
.cpv-icon::after { content: ''; position: absolute; inset: 10px; background: var(--cpv-accent); border-radius: 3px; }
.cpv-feature:nth-child(2) .cpv-icon::after { border-radius: 50%; }
.cpv-feature:nth-child(3) .cpv-icon::after { transform: rotate(45deg); inset: 11px; }
.cpv-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 40px 48px; }
.cpv-plan { padding: 22px; border: 1px solid var(--cpv-line-strong); border-radius: 10px; }
.cpv-plan--active { border-color: var(--cpv-accent); box-shadow: 0 0 0 1px var(--cpv-accent); }
.cpv-plan h4 { font-size: 0.95rem; margin: 0 0 4px; }
.cpv-plan-price { font-family: var(--cpv-head); font-size: 1.7rem; display: block; }
.cpv-plan p { font-size: 0.8rem; opacity: 0.65; margin: 4px 0 0; }

/* The modal frame is responsive; thumbnails keep the desktop layout */
@media (max-width: 760px) {
  .design-modal .cpv-hero--split, .design-modal .cpv-hero--grid, .design-modal .cpv-menu-grid,
  .design-modal .cpv-process, .design-modal .cpv-feature-grid, .design-modal .cpv-pricing,
  .design-modal .cpv-product-grid, .design-modal .cpv-gallery { grid-template-columns: 1fr; }
  .design-modal .cpv-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .design-modal .cpv-shot-wrap:nth-child(n) { margin-top: 0; }
  .design-modal .cpv-nav, .design-modal .cpv-hero, .design-modal .cpv-footer { padding-left: 20px; padding-right: 20px; }
  .design-modal .cpv-hero h2, .design-modal .cpv-hero--split h2, .design-modal .cpv-hero--grid h2 { font-size: 2.1rem; }
  .design-modal .cpv-links { display: none; }
  .design-modal .cpv-gallery, .design-modal .cpv-product-grid, .design-modal .cpv-process, .design-modal .cpv-menu-grid, .design-modal .cpv-photo-grid, .design-modal .cpv-feature-grid, .design-modal .cpv-pricing, .design-modal .cpv-label { padding-left: 20px; padding-right: 20px; }
  .design-modal .cpv-statement, .design-modal .cpv-window { margin-left: 20px; margin-right: 20px; }
  .design-modal .cpv-arch { height: 240px; }
}



/* ---------- Quiz ---------- */
.quiz { background: var(--surface); border: 1px solid var(--rule); padding: clamp(28px, 4vw, 64px); }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.quiz-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.quiz-progress { font-size: 0.9rem; color: var(--fg-muted); }
.quiz-intro { color: var(--fg-muted); margin-bottom: 40px; }
.quiz-question { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.quiz-question legend { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; letter-spacing: -0.01em; padding: 0; margin-bottom: 14px; line-height: 1.25; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice {
  text-align: left; min-height: 60px; padding: 14px 18px;
  font: inherit; font-size: 0.96rem; line-height: 1.4; color: var(--fg);
  background: transparent; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.choice:hover { border-color: var(--fg); }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--stone); border-color: var(--ink); }
@media (max-width: 860px) { .choices { grid-template-columns: 1fr; } }

.quiz-result { margin-top: 12px; padding: clamp(28px, 4vw, 48px); background: var(--night); color: #f6f4ee; }
.quiz-result[hidden] { display: none; }
.quiz-result h3 { font-size: 2.2rem; }
.quiz-result p { color: rgba(246, 244, 238, 0.76); }
.quiz-reset { margin-top: 20px; background: none; border: 0; padding: 0; font: inherit; font-size: 0.9rem; color: var(--fg-muted); cursor: pointer; border-bottom: 1px solid var(--rule); }
.quiz-reset:hover { color: var(--fg); }



.field { margin-bottom: 30px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; color: var(--fg-muted); }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 12px 0; font: inherit; font-size: 1.06rem; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); border-radius: 0;
  transition: border-color 0.25s ease;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
::placeholder { color: color-mix(in srgb, var(--fg) 45%, transparent); }
.form-status { margin-top: 18px; font-size: 0.95rem; color: var(--fg-muted); }
.form-status[hidden] { display: none; }

.panel { padding: clamp(28px, 3.4vw, 44px); background: var(--night); color: #f6f4ee; }
.panel h3 { font-size: 1.7rem; }
.panel p { color: rgba(246, 244, 238, 0.72); }
.panel + .panel { margin-top: 20px; }
.panel--line { background: transparent; color: var(--fg); border: 1px solid var(--rule); }
.panel--line p { color: var(--fg-muted); }
.panel .mail { font-family: var(--font-display); font-size: 1.35rem; color: var(--brass); word-break: break-word; }



/* ---------- Builder ---------- */
.builder-shell { display: grid; grid-template-columns: 340px minmax(0, 1fr); border: 1px solid rgba(198, 255, 58, 0.34); background: var(--night-2); }
.builder-panel { background: var(--night); color: #f6f4ee; padding: 28px; overflow-y: auto; max-height: 860px; border-right: 1px solid rgba(198, 255, 58, 0.24); --fg: #f6f4ee; --fg-muted: rgba(246, 244, 238, 0.66); --rule: rgba(246, 244, 238, 0.2); --accent: var(--brass); --focus: var(--brass); scrollbar-width: thin; scrollbar-color: rgba(198, 255, 58, 0.4) transparent; }
.builder-panel h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin: 34px 0 14px; padding-top: 22px; border-top: 1px solid rgba(198, 255, 58, 0.24); letter-spacing: -0.01em; }
.builder-panel h4:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.builder-panel label { display: block; font-size: 0.82rem; color: rgba(246, 244, 238, 0.66); margin-bottom: 2px; }
.builder-panel input[type="text"], .builder-panel textarea { font-size: 0.96rem; padding: 9px 0; margin-bottom: 16px; }
.builder-panel .input-sm { margin-bottom: 4px; }
.builder-panel textarea { min-height: 76px; }

.option-list { display: grid; gap: 8px; }
.option, .choice-sm {
  font: inherit; font-size: 0.9rem; text-align: left; color: #f6f4ee; cursor: pointer;
  background: transparent; border: 1px solid rgba(246, 244, 238, 0.2); border-radius: 2px;
  padding: 10px 14px; transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.option:hover, .choice-sm:hover { border-color: var(--brass); }
.option.active, .choice-sm.active { background: var(--brass); border-color: var(--brass); color: var(--night); }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.choice-sm { padding: 8px 14px; font-size: 0.86rem; }

.swatches { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(246, 244, 238, 0.3); padding: 0; position: relative; }
.swatch.active { outline: 1px solid var(--brass); outline-offset: 3px; }
.color-row { display: flex; gap: 12px; margin-bottom: 14px; }
.color-field { flex: 1; min-width: 0; }
.color-field input[type="color"] { width: 100%; height: 40px; padding: 2px; background: transparent; border: 1px solid rgba(246, 244, 238, 0.24); border-radius: 2px; cursor: pointer; }
.builder-note { margin-top: 28px; font-size: 0.84rem; color: rgba(246, 244, 238, 0.56); border-left: 1px solid var(--brass); padding-left: 14px; }

.builder-preview-wrap { background: var(--night-2); padding: clamp(16px, 3vw, 40px); display: flex; align-items: flex-start; justify-content: center; }
.preview-col { width: 100%; max-width: 900px; }
.preview-frame { width: 100%; background: #fff; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); border-radius: 6px; }
.preview-chrome { display: flex; gap: 6px; padding: 11px 14px; background: rgba(128, 128, 128, 0.16); }
.preview-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(128, 128, 128, 0.5); }
.preview-nav { padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; transition: padding 0.3s var(--ease); }
.preview-nav small { display: flex; gap: 18px; font-size: 0.78rem; font-weight: 500; opacity: 0.6; font-family: var(--font-body); }
.preview-hero { padding: 76px 32px; text-align: center; transition: padding 0.3s var(--ease); }
.preview-hero h2 { margin-bottom: 14px; font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; }
.preview-hero p { max-width: 480px; margin: 0 auto 26px; opacity: 0.85; }
.preview-hero.align-left { text-align: left; }
.preview-hero.align-left p { margin-left: 0; margin-right: auto; }
.preview-btn { display: inline-block; padding: 13px 28px; font-weight: 500; font-size: 0.92rem; }
.preview-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 32px; }
.preview-sections div { padding: 22px; font-size: 0.92rem; font-weight: 500; }
.preview-footer { padding: 22px 32px; font-size: 0.82rem; opacity: 0.68; }
.builder-cta { margin-top: 20px; padding: 22px 26px; background: var(--night); color: #f6f4ee; border: 1px solid rgba(198, 255, 58, 0.3); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.builder-cta strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.builder-cta span { font-size: 0.9rem; color: rgba(246, 244, 238, 0.66); }

@media (max-width: 960px) {
  .builder-shell { grid-template-columns: 1fr; }
  .builder-panel { max-height: none; overflow-y: visible; border-right: 0; border-bottom: 1px solid rgba(198, 255, 58, 0.24); }
}
@media (max-width: 600px) { .preview-sections { grid-template-columns: 1fr; } .color-row { flex-wrap: wrap; } }



/* ---------- Adjustments so the shared blocks match the brand pack ---------- */
.concept { transform-style: preserve-3d; will-change: transform; transition: transform 0.6s var(--ease); }
.concept-thumb { border-radius: var(--radius); box-shadow: 0 30px 60px -34px rgba(13, 17, 23, 0.55); }
.concept:hover .concept-thumb, .concept:focus-visible .concept-thumb { transform: none; border-color: var(--lime-dim); }
.concept-cta { border-radius: var(--radius); }
.concept:hover .concept-cta, .concept:focus-visible .concept-cta { transform: none; }
.concept-meta h3 { font-size: 1.4rem; letter-spacing: -0.03em; }
.concept-meta .tag { color: var(--accent); font-weight: 700; }
.tone-ink .concept-meta .tag { color: var(--lime); }
.design-modal-panel { border-radius: 20px; overflow: hidden; }
.design-modal-bar strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; }
.design-modal-close { border-radius: 50%; }
.quiz { border-radius: var(--radius); }
.quiz-question legend { font-weight: 600; letter-spacing: -0.03em; }
.choice { border-radius: var(--radius); }
.quiz-result { border-radius: var(--radius); }
.quiz-reset { border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; }
.panel { border-radius: var(--radius); }
.panel .mail { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; color: var(--lime); }
.builder-shell { border-radius: var(--radius); overflow: hidden; }
.builder-panel h4 { font-weight: 600; letter-spacing: -0.02em; }
.option { border-radius: 10px; }
.choice-sm { border-radius: 999px; }
.builder-cta { border-radius: var(--radius); }
.builder-cta strong { font-weight: 600; letter-spacing: -0.02em; }
.preview-hero h2 { font-weight: 600; }

/* ---------- Reduced motion: keep everything visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-cue i, .art *, .art, .page-rings circle, .intro circle { animation: none !important; }
  .page-rings circle, .intro circle { stroke-dashoffset: 0; }
  .pin.s3 .mock-live::before { animation: none; }
  .btn, .link, .concept, .tier::before { transition: none; }
}

/* ---------- Legal pages ---------- */
.legal-meta { margin: 0; font-size: 0.92rem; color: var(--fg-muted); }
.page-hero .legal-meta { margin-top: 22px; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-toc h4 { margin-bottom: 14px; }
.legal-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--rule); font-size: 0.9rem; line-height: 1.4; color: var(--fg-muted); transition: color 0.25s ease, border-color 0.25s ease; }
.legal-toc a:hover { color: var(--fg); }
.legal-toc a.is-active { border-left-color: var(--lime-dim); color: var(--fg); font-weight: 700; }
.legal { counter-reset: sec; min-width: 0; max-width: 72ch; }
.legal h2 { counter-increment: sec; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.035em; line-height: 1.15; margin: 2.6em 0 0.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h2::before { content: counter(sec) '. '; color: var(--accent); }
.legal-summary + h2, .legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 1.6em 0 0.4em; }
.legal p, .legal li { color: var(--fg); }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal li::marker { color: var(--lime-dim); }
.legal a:not(.link):not(.btn) { text-decoration: underline; text-decoration-color: var(--lime-dim); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-summary { padding: 22px 26px; margin-bottom: 3em; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--lime-dim); }
.legal-summary p { margin: 0; }
.legal-summary strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.02em; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.93rem; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.legal-table th { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; background: color-mix(in srgb, var(--fg) 4%, transparent); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code { font-size: 0.88rem; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--fg) 8%, transparent); }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; padding-bottom: 8px; border-bottom: 1px solid var(--rule); } }

/* ---------- Cookie notice ---------- */
.consent {
  position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 650;
  width: min(460px, calc(100vw - 24px)); padding: 22px 22px 20px;
  background: var(--ink-2); color: var(--cream); border: 1px solid rgba(246, 244, 238, 0.16); border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
  opacity: 0; visibility: hidden; transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.7s var(--ease), visibility 0s linear 0.7s;
  --fg: var(--cream); --fg-muted: rgba(246, 244, 238, 0.72); --rule: rgba(246, 244, 238, 0.16); --accent: var(--lime); --focus: var(--lime);
  --line-btn: rgba(246, 244, 238, 0.32); --line-btn-hover-bg: var(--lime); --line-btn-hover-fg: var(--ink); --line-btn-hover-border: var(--lime);
}
.consent.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease, transform 0.7s var(--ease), visibility 0s; }
.consent .consent-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.consent-text { margin: 0 0 16px; font-size: 0.93rem; line-height: 1.55; color: var(--fg-muted); max-width: none; }
.consent .link { background-image: linear-gradient(var(--lime), var(--lime)); color: var(--cream); }
.consent .link:hover { color: var(--ink); }
.consent-prefs { margin: 0 0 16px; border-top: 1px solid var(--rule); }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.consent-row strong { display: block; font-size: 0.95rem; }
.consent-row div span { display: block; margin-top: 2px; font-size: 0.84rem; line-height: 1.45; color: var(--fg-muted); }
.consent-always { flex: none; font-size: 0.8rem; font-weight: 700; color: var(--lime); }
.consent-switch { flex: none; position: relative; width: 48px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: rgba(246, 244, 238, 0.24); cursor: pointer; transition: background 0.3s ease; }
.consent-switch i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); transition: transform 0.4s var(--ease), background 0.3s ease; }
.consent-switch[aria-checked="true"] { background: var(--lime); }
.consent-switch[aria-checked="true"] i { transform: translateX(20px); background: var(--ink); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.consent-link { margin-left: auto; padding: 8px 4px; background: none; border: 0; font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--cream); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.consent-link:hover { color: var(--lime); }
.consent [hidden] { display: none !important; }
@media (max-width: 520px) { .consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 18px 18px 0 0; padding-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .consent, .consent.is-open, .consent-switch, .consent-switch i { transition: none; } }
/* ---------- Founder page ---------- */
.timeline { border-top: 1px solid var(--rule); }
.tl-item { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 5vw, 80px); padding: clamp(30px, 4.4vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.tl-item::before { content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--lime-dim); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.tl-item.is-in::before, html:not(.fx) .tl-item::before { transform: scaleX(1); }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; }
.tl-item h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.035em; margin-bottom: 0.4em; }
.tl-item p { color: var(--fg-muted); max-width: 58ch; }
.tl-item p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .tl-item { grid-template-columns: 1fr; gap: 12px; } }

.founder-quote { margin: 0; }
.founder-quote .statement-big { margin-bottom: 0.7em; }
.quote-cite { font-size: 0.95rem; font-weight: 700; color: var(--accent); }
.quote-cite::before { content: ''; display: inline-block; width: 36px; height: 2px; margin-right: 14px; vertical-align: middle; background: var(--lime); }

.founder-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(20px, 4vw, 64px);
  overflow: hidden; padding: clamp(32px, 5vw, 72px); border-radius: 24px; background: var(--bg); color: var(--fg);
  transition: transform 0.7s var(--ease);
}
.founder-feature::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; left: -18%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 155, 255, 0.24), transparent 65%); pointer-events: none; }
.founder-feature > * { position: relative; }
.founder-feature h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 12ch; margin-bottom: 0.4em; }
.founder-feature p { color: var(--fg-muted); max-width: 44ch; margin-bottom: 28px; }
.ff-rings { width: 100%; max-width: 380px; justify-self: end; overflow: visible; }
.ff-rings circle { fill: none; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transition: transform 1.1s var(--ease); }
.founder-feature:hover .ff-rings circle:nth-child(1) { transform: translate(-10px, 10px); }
.founder-feature:hover .ff-rings circle:nth-child(3) { transform: translate(10px, -10px); }
.founder-feature:hover .btn { background: #d9ff6f; }
@media (max-width: 800px) { .founder-feature { grid-template-columns: 1fr; } .ff-rings { max-width: 240px; justify-self: start; order: -1; } }
@media (prefers-reduced-motion: reduce) { .founder-feature, .ff-rings circle, .tl-item::before { transition: none; } }

/* ---------- Blog ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 0.88rem; color: var(--fg-muted); }
.crumbs a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; }
.crumbs a:hover { border-color: currentColor; color: var(--fg); }
.crumbs span[aria-hidden] { opacity: 0.5; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.blog-card {
  display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 3vw, 32px);
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
}
.blog-card:hover, .blog-card:focus-visible { transform: translateY(-4px); border-color: var(--lime-dim); }
.blog-card .blog-tag { font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.blog-card h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }
.blog-card p { color: var(--fg-muted); font-size: 0.96rem; margin-bottom: 18px; flex-grow: 1; }
.blog-card time { display: block; font-size: 0.84rem; color: var(--fg-muted); margin-top: auto; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.post-hero .blog-tag { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--lime); margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 24px; font-size: 0.9rem; color: var(--fg-muted); }
.post-meta a { text-decoration: underline; text-decoration-color: var(--lime-dim); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.post { max-width: 68ch; }
.post > p:first-of-type { font-size: 1.14rem; color: var(--fg-muted); }
.post h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; margin: 1.7em 0 0.5em; }
.post h2:first-child { margin-top: 0; }
.post h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; }
.post ul, .post ol { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.post ol { list-style: decimal; }
.post li { margin-bottom: 0.5em; }
.post li::marker { color: var(--lime-dim); }
.post strong { font-weight: 700; }
.post a:not(.btn) { text-decoration: underline; text-decoration-color: var(--lime-dim); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--fg-muted); margin: 0 0 20px; max-width: 62ch; }

.post-cta { margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 900px) { .post-hero .wrap { max-width: 100%; } }
/* ---------- Live concept sites in the preview window ---------- */
.design-modal { padding: clamp(8px, 2vw, 24px); overflow: hidden; align-items: stretch; }
.design-modal-panel { max-width: min(1440px, 100%); height: 100%; display: flex; flex-direction: column; }
.design-modal-stage { flex: 1; min-height: 0; padding: 0; display: flex; justify-content: center; background: #1a1d22; }
.design-modal-stage iframe { width: 100%; height: 100%; border: 0; background: #fff; transition: width 0.45s var(--ease); }
.design-modal.is-mobile .design-modal-stage iframe { width: 390px; max-width: 100%; box-shadow: 0 0 0 1px rgba(246, 244, 238, 0.14); }
.design-modal-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.vp { display: inline-flex; border: 1px solid rgba(246, 244, 238, 0.28); border-radius: 999px; padding: 3px; }
.vp button { padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; color: rgba(246, 244, 238, 0.75); cursor: pointer; font: 600 0.88rem var(--font-body, inherit); }
.vp button[aria-pressed="true"] { background: #f6f4ee; color: #0d1117; }
.design-modal-open { color: var(--lime); font-size: 0.9rem; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .vp, .design-modal-open { display: none; } .design-modal-foot { padding: 12px 16px; } .design-modal-foot div { display: none; } }
/* ---------- Finder: the adaptive questionnaire ---------- */
.finder-band { padding-top: clamp(40px, 6vw, 80px); }
.f-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.finder[data-state="done"] .f-grid { grid-template-columns: minmax(0, 1fr); }
.finder[data-state="done"] .f-side { display: none; }
.f-main { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 52px); min-height: 460px; }
.f-main.f-in > * { animation: f-rise 0.5s var(--ease) both; }
@keyframes f-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.f-count { margin: 0; font-size: 0.92rem; color: var(--fg-muted); font-weight: 600; }
.f-count span { font-weight: 400; }
.f-bar { display: flex; gap: 5px; }
.f-bar i { width: 26px; height: 5px; border-radius: 3px; background: var(--rule); transition: background 0.4s ease; }
.f-bar i.on { background: var(--ink); }
.f-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-q legend { padding: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.9vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 14px; outline: 0; }
.f-why { color: var(--fg-muted); max-width: 54ch; margin-bottom: 28px; }
.f-opts { display: grid; gap: 10px; }
.f-opt { display: block; cursor: pointer; }
.f-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f-opt span { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: var(--radius); font-size: 1.02rem; line-height: 1.4; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.f-opt:hover span { border-color: var(--fg); }
.f-opt input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.f-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.f-opt input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.f-opt:active span { transform: scale(0.992); }
.f-many .f-opt span::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 6px; opacity: 0.6; }
.f-many .f-opt input:checked + span::before { background: var(--lime); border-color: var(--lime); opacity: 1; box-shadow: inset 0 0 0 3px var(--ink); }
.f-hint { margin: 16px 0 14px; font-size: 0.92rem; color: var(--fg-muted); }
.f-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; }
.f-link { background: none; border: 0; padding: 0; font: inherit; font-size: 0.92rem; color: var(--fg-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.f-link:hover { color: var(--fg); }
.f-side { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); }
.f-read-label { font-size: 0.85rem; color: rgba(246, 244, 238, 0.64); margin-bottom: 6px; }
.f-read { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.03em; line-height: 1.1; color: var(--lime); margin-bottom: 8px; }
.f-read-line { color: rgba(246, 244, 238, 0.8); font-size: 0.97rem; margin-bottom: 18px; }
.f-sigs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-sigs li { padding: 6px 12px; border: 1px solid rgba(246, 244, 238, 0.22); border-radius: 999px; font-size: 0.84rem; animation: f-rise 0.4s var(--ease) both; }

.f-res-head { outline: 0; margin-bottom: 28px; }
.f-eyebrow { font-size: 0.9rem; color: var(--fg-muted); margin-bottom: 8px; font-weight: 600; }
.f-res-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 14px; }
.f-res-read { max-width: 62ch; font-size: 1.12rem; color: var(--fg-muted); }
.f-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); margin-bottom: 18px; }
.f-card--lead { background: var(--ink); color: var(--cream); border-color: var(--ink); --fg-muted: rgba(246, 244, 238, 0.72); }
.f-card--lead .link { background-image: linear-gradient(var(--lime), var(--lime)); }
.f-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.f-card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.035em; }
.f-tag { color: var(--fg-muted); margin: 4px 0 0; }
.f-price { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; color: var(--lime); line-height: 1; text-align: right; }
.f-price span { font-size: 0.95rem; font-weight: 400; letter-spacing: 0; color: var(--fg-muted); }
.f-price small { display: block; font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--fg-muted); margin-top: 4px; }
.f-inc { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.f-inc li { padding-left: 18px; position: relative; }
.f-inc li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--lime); }
.f-meta { margin: 8px 0; color: var(--fg-muted); }
.f-meta strong { color: inherit; }
.f-warn { margin: 12px 0; padding: 12px 16px; border-left: 3px solid var(--lime); background: rgba(246, 244, 238, 0.08); }
.f-note { padding: 18px 22px; background: var(--cream-dim); border-radius: var(--radius); margin: 0 0 8px; }
.f-sub { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; margin: 40px 0 16px; }
.f-adds { list-style: none; padding: 0; margin: 0; }
.f-adds li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.f-adds li:first-child { border-top: 1px solid var(--rule); }
.f-adds strong { display: block; }
.f-adds p { margin: 2px 0 0; color: var(--fg-muted); font-size: 0.97rem; max-width: 56ch; }
.f-adds span { white-space: nowrap; font-weight: 600; }
.f-total { margin: 20px 0 0; font-size: 1.1rem; }
.f-ans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-a { border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; align-content: start; }
.f-a h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; margin: 0; }
.f-a p { margin: 0; color: var(--fg-muted); font-size: 0.99rem; }
.f-a .link { justify-self: start; }
.f-pre { white-space: pre-wrap; font: 0.9rem/1.65 ui-monospace, 'Cascadia Mono', Consolas, monospace; background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 18px; max-height: 320px; overflow: auto; }
.f-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.f-fine { font-size: 0.88rem; color: var(--fg-muted); margin-top: 14px; }
.f-nojs { padding: 24px; }
.f-how { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 6vw, 100px); align-items: start; }
.f-how h2 { margin-bottom: 14px; }
.f-how ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.f-how li { padding-left: 20px; position: relative; color: var(--fg-muted); }
.f-how li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 2px; background: var(--ink); }
.f-how li strong { color: var(--fg); }
@media (max-width: 960px) {
  .f-grid { grid-template-columns: 1fr; }
  .f-side { position: static; order: -1; padding: 16px 20px; }
  .f-side .f-read-line, .f-side .f-sigs { display: none; }
  .f-read { font-size: 1.3rem; margin: 0; }
  .f-read-label { margin-bottom: 2px; }
  .f-how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .f-inc, .f-ans { grid-template-columns: 1fr; } .f-adds li { flex-direction: column; gap: 6px; } .f-price { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .f-main.f-in > *, .f-sigs li { animation: none; } }
/* ---------- Homepage hook section and finder entry banners ---------- */
.hook .statement-big { margin-bottom: 0; }
.hook-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 6vw, 96px); margin-top: clamp(44px, 6vw, 84px); }
.hook-grid article { padding: 30px 0 34px; border-top: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.hook-grid h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.03em; margin: 0; }
.hook-grid p { margin: 0; color: var(--fg-muted); max-width: 46ch; }
.hook-grid .link { justify-self: start; }
.hook-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: clamp(20px, 3vw, 36px); padding: clamp(24px, 3vw, 38px); background: var(--ink); color: var(--cream); border-radius: var(--radius); }
.hook-cta .hook-ask { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; margin: 0 0 4px; color: var(--cream); }
.hook-cta .hook-sub { margin: 0; color: rgba(246, 244, 238, 0.74); max-width: 52ch; }
.hook-cta .btn--ink { background: var(--lime); color: var(--ink); }
.hook-cta .btn--ink:hover { background: #d9ff6f; }
.hook-who { margin: 26px 0 0; font-size: 0.92rem; color: var(--fg-muted); max-width: 70ch; }
.finder-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(28px, 4vw, 52px); background: var(--ink); color: var(--cream); border-radius: var(--radius); }
.finder-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -0.035em; margin-bottom: 8px; color: var(--cream); }
.finder-cta p { margin: 0; max-width: 56ch; color: rgba(246, 244, 238, 0.76); }
@media (max-width: 760px) { .hook-grid { grid-template-columns: 1fr; } }
/* ==========================================================
   Round 5: answers you can watch, routes into the finder, side-by-side
   comparison, client strip, FAQ tools, sticky CTA, guide contents list.
   Motion is gated by .fx (off for reduced motion), so the finished state is the default.
   ========================================================== */

/* ---------- Hook answers: each question gets a small animated demonstration ---------- */
.hook-grid article { grid-template-rows: auto auto 1fr auto; }
.hv { position: relative; min-height: 172px; margin: 0 0 8px; padding: 20px 22px; background: var(--ink); color: var(--cream); border-radius: var(--radius); overflow: hidden; display: grid; align-content: center; gap: 12px; font-family: var(--font-display); font-size: 0.84rem; font-weight: 500; box-shadow: 0 30px 60px -38px rgba(13, 17, 23, 0.6); }
.hv b { font-weight: 600; }

/* price ladder */
.hv-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 62px; align-items: center; gap: 14px; }
.hv-row i { display: block; height: 10px; width: var(--w); border-radius: 999px; background: rgba(246, 244, 238, 0.3); transform-origin: left; }
.hv-row:last-child i { background: var(--lime); }
.hv-row b { text-align: right; }
.fx .hook-grid .hv-row i { transform: scaleX(0); }
.fx .hook-grid .hv-row b { opacity: 0; }
.fx .hook-grid .is-in .hv-row i { transform: scaleX(1); transition: transform 1.3s var(--ease) calc(0.5s + var(--n, 0) * 0.2s); }
.fx .hook-grid .is-in .hv-row b { opacity: 1; transition: opacity 0.6s ease calc(1s + var(--n, 0) * 0.2s); }

/* search query typed out, with what is built in beneath it */
.hv-q { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 38px; border: 1px solid rgba(246, 244, 238, 0.28); border-radius: 999px; font-family: var(--font-body); font-size: 0.92rem; font-weight: 400; }
.hv-q::before { content: ''; position: absolute; left: 15px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border: 2px solid var(--lime); border-radius: 50%; }
.hv-q::after { content: ''; position: absolute; left: 25px; top: 50%; width: 6px; height: 2px; margin-top: 4px; background: var(--lime); transform: rotate(45deg); }
.hv-q span { display: block; overflow: hidden; white-space: nowrap; width: 18.5ch; }
.hv-ticks { display: grid; gap: 7px; }
.hv-ticks li { position: relative; padding-left: 24px; }
.hv-ticks li::before { content: ''; position: absolute; left: 3px; top: 0.3em; width: 6px; height: 11px; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fx .hook-grid .hv-q span { width: 0; border-right: 2px solid var(--lime); }
.fx .hook-grid .is-in .hv-q span { animation: hv-type 1.5s steps(20) 0.5s forwards, hv-caret 0.9s step-end 0.5s 4; }
.fx .hook-grid .hv-ticks li { opacity: 0; transform: translateX(-10px); }
.fx .hook-grid .is-in .hv-ticks li { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.7s var(--ease); transition-delay: calc(2.1s + var(--n, 0) * 0.28s); }
@keyframes hv-type { to { width: 18.5ch; border-right-color: transparent; } }
@keyframes hv-caret { 50% { border-right-color: transparent; } }

/* a price changed on the page, then published */
.hv-page p { margin: 0 0 4px; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: rgba(246, 244, 238, 0.62); }
.hv-page h5 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.2; }
.hv-swap { display: inline-grid; color: var(--lime); }
.hv-swap > * { grid-area: 1 / 1; font-style: normal; text-decoration: none; }
.hv-swap s { text-decoration-color: var(--lime); }
.hv-pill { justify-self: start; padding: 5px 14px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.78rem; font-weight: 600; }
.hv-swap s { opacity: 0; }
.fx .hook-grid .hv-swap s { opacity: 1; }
.fx .hook-grid .hv-swap b { opacity: 0; transform: translateY(70%); }
.fx .hook-grid .hv-pill { opacity: 0; transform: scale(0.8); }
.fx .hook-grid .is-in .hv-swap s { animation: hv-out 0.7s var(--ease) 1.1s forwards; }
.fx .hook-grid .is-in .hv-swap b { opacity: 1; transform: none; transition: opacity 0.6s ease 1.5s, transform 0.8s var(--ease) 1.5s; }
.fx .hook-grid .is-in .hv-pill { opacity: 1; transform: none; transition: opacity 0.4s ease 2.5s, transform 0.7s var(--ease) 2.5s; }
@keyframes hv-out { 40% { opacity: 1; text-decoration-line: line-through; } 100% { opacity: 0; transform: translateY(-70%); text-decoration-line: line-through; } }

/* a steady heartbeat, and the checks behind it */
.hv-beat { width: 100%; height: 54px; overflow: visible; }
.hv-beat path { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hv-chips span { padding: 5px 12px; border: 1px solid rgba(246, 244, 238, 0.3); border-radius: 999px; font-size: 0.78rem; }
.fx .hook-grid .hv-beat path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx .hook-grid .is-in .hv-beat path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) 0.4s; }
.fx .hook-grid .hv-chips span { opacity: 0; transform: scale(0.85); }
.fx .hook-grid .is-in .hv-chips span { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.6s var(--ease); transition-delay: calc(1.6s + var(--n, 0) * 0.22s); }

/* ---------- Routes: pick the sentence that sounds like you ---------- */
.routes { border-top: 1px solid var(--rule); }
.route { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px clamp(20px, 3vw, 44px); padding: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 26px); border-bottom: 1px solid var(--rule); color: var(--fg); }
.route::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.65s var(--ease); }
.route h3 { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.25; }
.route p { margin: 0; font-size: 0.98rem; color: var(--fg-muted); transition: color 0.3s ease; }
.route h3, .route p { grid-column: 1; }
.route-go { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; white-space: nowrap; transition: transform 0.5s var(--ease); }
.route:hover::before, .route:focus-visible::before { transform: scaleX(1); }
.route:hover, .route:focus-visible { color: var(--ink); }
.route:hover p, .route:focus-visible p { color: rgba(13, 17, 23, 0.8); }
.route:hover .route-go, .route:focus-visible .route-go { transform: translateX(6px); }
.route:focus-visible { outline-offset: -3px; outline-color: var(--ink); }
.routes-note { margin: 24px 0 0; font-size: 0.95rem; color: var(--fg-muted); }
@media (max-width: 760px) { .route { grid-template-columns: 1fr; } .route-go { grid-column: 1; grid-row: auto; margin-top: 6px; } }

/* ---------- Side-by-side comparison ---------- */
.vs-wrap { margin-top: clamp(8px, 2vw, 24px); }
.vs { width: 100%; border-collapse: collapse; }
.vs th, .vs td { text-align: left; vertical-align: top; padding: 22px 24px; border-bottom: 1px solid var(--rule); font-weight: 400; }
.vs thead th { padding-top: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.vs tbody th { width: 15%; font-size: 0.92rem; color: var(--fg-muted); font-weight: 500; }
.vs td { color: var(--fg-muted); }
.vs .is-gds { background: rgba(198, 255, 58, 0.09); box-shadow: inset 3px 0 0 var(--lime); color: var(--fg); }
.vs thead .is-gds { color: var(--lime); box-shadow: inset 3px 0 0 var(--lime); }
.vs tbody tr { transition: background 0.3s ease; }
.vs tbody tr:hover { background: rgba(246, 244, 238, 0.04); }
.fx .vs tbody tr { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), background 0.3s ease; transition-delay: calc(var(--n, 0) * 90ms), calc(var(--n, 0) * 90ms), 0s; }
.fx .vs.is-in tbody tr { opacity: 1; transform: none; }
.vs-foot { margin: 28px 0 0; color: var(--fg-muted); max-width: 64ch; }
@media (max-width: 820px) {
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; }
  .vs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs tbody tr { padding: 22px 0; border-bottom: 1px solid var(--rule); }
  .vs th, .vs td { padding: 6px 0; border: 0; }
  .vs tbody th { width: auto; padding-bottom: 10px; font-family: var(--font-display); font-size: 1rem; color: var(--fg); }
  .vs td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 700; color: var(--accent); }
  .vs .is-gds { padding: 10px 14px; margin-top: 6px; border-radius: 10px; box-shadow: inset 3px 0 0 var(--lime); }
}

/* ---------- Client strip and proof numbers ---------- */
.proof-facts { display: flex; flex-wrap: wrap; gap: 18px clamp(32px, 6vw, 88px); margin: 0 0 clamp(36px, 5vw, 64px); }
.proof-facts div { min-width: 0; }
.proof-facts strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -0.05em; }
.proof-facts span { display: block; margin-top: 8px; color: var(--fg-muted); font-size: 0.98rem; }
.marquee.marquee--shots { background: none; border: 0; padding: 0; color: inherit; overflow: hidden; }
.marquee--shots .marquee-item { display: flex; align-items: flex-start; gap: 0; padding-right: 0; font-size: 1rem; letter-spacing: 0; line-height: 1.3; white-space: normal; font-family: var(--font-body); font-weight: 400; }
.shot { flex: none; width: clamp(240px, 27vw, 380px); margin-right: clamp(16px, 2vw, 28px); }
.shot img { width: 100%; aspect-ratio: 457 / 417; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--rule); box-shadow: 0 30px 60px -38px rgba(13, 17, 23, 0.55); }
.shot span { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.02em; }
.shot small { display: block; font-size: 0.86rem; color: var(--fg-muted); }
.proof-foot { margin: clamp(28px, 4vw, 48px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* concept and client thumbnails settle into place as they arrive */
.fx .concept[data-reveal] .concept-thumb img { transform: scale(1.14); transition: transform 1.9s var(--ease); transition-delay: var(--d, 0ms); }
.fx .concept[data-reveal].is-in .concept-thumb img { transform: none; }

/* ---------- About: how we work ---------- */
.work-list { display: grid; }
.work-row { padding: 26px 0; border-top: 1px solid var(--rule); }
.work-row:last-child { border-bottom: 1px solid var(--rule); }
.work-row h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.work-row p { margin: 0; color: var(--fg-muted); }

/* ---------- Questions page: search box and grouped answers ---------- */
.faq-find { position: relative; margin-bottom: 18px; }
.faq-find input { width: 100%; min-height: 52px; padding: 0 20px 0 50px; border: 1px solid var(--line-btn); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; }
.faq-find input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.faq-find::before { content: ''; position: absolute; left: 20px; top: 50%; width: 11px; height: 11px; margin-top: -9px; border: 2px solid var(--ink); border-radius: 50%; }
.faq-find::after { content: ''; position: absolute; left: 31px; top: 50%; width: 6px; height: 2px; margin-top: 3px; background: var(--ink); transform: rotate(45deg); }
.faq-count { margin: 0 0 26px; font-size: 0.9rem; color: var(--fg-muted); min-height: 1.5em; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 72px); }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-empty { padding: 28px; border: 1px dashed var(--rule); border-radius: var(--radius); }
.faq-empty p { margin: 0 0 14px; }
.faq-nav a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--rule); font-size: 0.92rem; line-height: 1.4; color: var(--fg-muted); transition: color 0.25s ease, border-color 0.25s ease; }
.faq-nav a:hover { color: var(--fg); }
.faq-nav a.is-active { border-left-color: var(--lime-dim); color: var(--fg); font-weight: 700; }
.faq-item[open] > p { animation: faq-open 0.55s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- A floating way in, on every page that is not already asking ---------- */
.cta-pill { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 600; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px 0 20px; border-radius: 999px; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; box-shadow: 0 18px 40px -16px rgba(13, 17, 23, 0.65); opacity: 0; transform: translateY(26px) scale(0.96); pointer-events: none; transition: opacity 0.45s ease, transform 0.7s var(--ease), background 0.25s ease; }
.cta-pill.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cta-pill:hover { background: #d9ff6f; }
.cta-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: pill-pulse 2.2s ease-out 3; }
@keyframes pill-pulse { 0% { box-shadow: 0 0 0 0 rgba(13, 17, 23, 0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(13, 17, 23, 0); } }
@media (max-width: 520px) { .cta-pill { left: 14px; right: 14px; justify-content: center; } }

/* ---------- Guides and service pages: a contents list that follows the reader ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(190px, 250px); gap: clamp(40px, 6vw, 88px); align-items: start; }
.post-toc { position: sticky; top: calc(var(--header-h) + 32px); }
.post-toc h4 { margin-bottom: 14px; }
.post-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--rule); font-size: 0.9rem; line-height: 1.4; color: var(--fg-muted); transition: color 0.25s ease, border-color 0.25s ease; }
.post-toc a:hover { color: var(--fg); }
.post-toc a.is-active { border-left-color: var(--lime-dim); color: var(--fg); font-weight: 700; }
.post-layout .post h2 { scroll-margin-top: calc(var(--header-h) + 24px); }

@media (prefers-reduced-motion: reduce) {
  .route::before, .route-go, .cta-pill { transition: none; }
  .cta-pill i { animation: none; }
}
/* ---------- Closing band: what happens next ---------- */
.closing .btn-row { margin-bottom: 0; }
.next-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(52px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule); }
.next-steps li { counter-increment: step; }
.next-steps li::before { content: counter(step); display: block; margin-bottom: 14px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--lime); }
.next-steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.closing .next-steps p { margin: 0; font-size: 1rem; color: var(--fg-muted); }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }
/* ---------- Checklists and chips ---------- */
.checks { border-top: 1px solid var(--rule); }
.checks li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--rule); color: var(--fg-muted); }
.checks li strong { color: var(--fg); }
.checks li::before { content: ''; position: absolute; left: 6px; top: 25px; width: 7px; height: 13px; border: solid var(--lime); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.who-row { margin-top: clamp(48px, 6vw, 88px); padding-top: 32px; border-top: 1px solid var(--rule); }
.who-row h3 { font-size: 1.3rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips a { display: inline-block; padding: 11px 20px; border: 1px solid var(--line-btn); border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.5s var(--ease); }
.chips a:hover, .chips a:focus-visible { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: translateY(-3px); }
.closing:has(.next-steps) .page-rings { top: 33%; }
/* The floating way in and the back-to-top button share a corner, so the arrow sits above the pill instead of under it */
.has-pill .back-to-top { right: clamp(14px, 2vw, 28px); bottom: calc(clamp(14px, 2vw, 28px) + 62px); }
.hv-msg { justify-self: start; max-width: 100%; padding: 7px 14px; border-radius: 14px 14px 14px 4px; background: rgba(246, 244, 238, 0.14); font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; line-height: 1.35; }
.hv-edit { gap: 10px; }
.fx .hook-grid .hv-msg { opacity: 0; transform: translateY(8px); }
.fx .hook-grid .is-in .hv-msg { opacity: 1; transform: none; transition: opacity 0.5s ease 0.3s, transform 0.7s var(--ease) 0.3s; }
/* ---------- Free Value sign-up (The Growth Den Weekly) ---------- */
.optin-consent { display: flex; gap: 12px; align-items: flex-start; margin: -6px 0 28px; font-size: 0.93rem; line-height: 1.5; color: var(--fg-muted); cursor: pointer; }
.optin-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lime-dim); cursor: pointer; }
.optin-consent .link { color: var(--fg); }
select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
select option { color: var(--ink); background: var(--white); }
.optin-done { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--ink); color: var(--cream); outline: none; }
.optin-done h3 { font-size: 1.7rem; color: var(--lime); }
.optin-done p { color: rgba(246, 244, 238, 0.76); }
.gift-tag { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--lime); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.gift h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.gift-list { margin-top: 22px; display: grid; gap: 12px; }
.gift-list li { position: relative; padding-left: 28px; color: rgba(246, 244, 238, 0.86); }
.gift-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--lime); }
.optin-card { position: relative; overflow: hidden; background: var(--bg); color: var(--fg); border-radius: calc(var(--radius) * 1.6); padding: clamp(32px, 5vw, 72px); }
.optin-card .glow--blue { width: 40vmax; height: 40vmax; left: auto; right: -14vmax; top: -18vmax; }
.optin-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.optin-grid h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.optin-grid .lead { margin-bottom: 18px; }
.optin-band .optin-done { background: var(--ink-2); }
@media (max-width: 860px) { .optin-grid { grid-template-columns: 1fr; } }
.optin-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
