/* Show Up Studios
   Tokens follow the design handoff. Dark theme only, one accent. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-wdth.woff2") format("woff2-variations"), url("/assets/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #0A0A0A;
  --surface: #131411;
  --surface-2: #1B1D17;
  --line: #2A2C26;
  --line-strong: #3E4138;
  --muted-ink: #4A4D44;
  --text: #FFFFFF;
  --text-2: #D3D5CC;
  --text-2b: #E4E6DE;
  --text-3: #A6A89F;
  --accent: #CCFF00;
  --on-accent: #0A0A0A;
  --error: #FF8A7A;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1352px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --section: clamp(80px, 11vw, 150px);
  --r-lg: 20px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); font-weight: 700;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); }
.home .section { padding-top: clamp(96px, 12vw, 160px); }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 {
  font-weight: 850;
  font-stretch: 125%;
  text-transform: uppercase;
  text-wrap: balance;
}
.h1 { letter-spacing: -0.02em; line-height: 0.93; font-size: clamp(1.875rem, 4.8vw, 4.125rem); max-width: 22ch; }
.h2 { letter-spacing: -0.015em; line-height: 0.95; font-size: clamp(1.75rem, 4.2vw, 3.25rem); }
.h2-case { font-size: clamp(1.75rem, 3.8vw, 3rem); max-width: 24ch; }
.h3 { letter-spacing: -0.015em; line-height: 0.95; }
.lime { color: var(--accent); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--text-3); max-width: 52ch; text-wrap: pretty; }
.muted { color: var(--text-3); }
.soft { color: var(--text-2); }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow-muted { color: var(--text-3); letter-spacing: 0.06em; }
.mono { font: 600 0.8125rem/1 var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 24px 16px 28px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--on-accent);
  font-family: inherit; font-weight: 850; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: -0.01em; font-size: 1.0625rem; line-height: 0.95;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms ease, color 200ms ease;
}
.btn svg, .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn:hover { color: var(--on-accent); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--accent); border-radius: 999px; background: none;
  color: var(--accent); padding: 10px 18px 9px; min-height: 40px;
  font-family: inherit; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: 0.8125rem; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms ease, color 200ms ease;
}
.btn-outline:active { transform: translateY(0) scale(0.97); }

.link {
  font-weight: 700; text-decoration: none; padding-bottom: 3px;
  border-bottom: 2px solid var(--accent); transition: color 200ms ease;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 0.9375rem;
  text-decoration: none; color: var(--accent); padding: 6px 0;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { color: var(--text); }
.back {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 0.9375rem; color: var(--text-3); padding: 6px 0; white-space: nowrap;
}
.back svg { width: 16px; height: 16px; stroke-width: 2.4; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent), 0 12px 32px -8px rgba(204,255,0,.6); }
  .btn:active { transform: translateY(0) scale(0.97); }
  .btn-outline:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(204,255,0,.55); background: rgba(204,255,0,.08); color: var(--accent); }
  .btn-outline:active { transform: translateY(0) scale(0.97); }
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  padding: clamp(10px, 1.4vw, 16px) clamp(12px, 3vw, 40px) 0;
  pointer-events: none;
}
.bar {
  position: relative; z-index: 2;
  pointer-events: auto; max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 8px 8px 8px clamp(18px, 2.4vw, 28px);
  border-radius: 999px; background: var(--surface);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bar { background: rgba(19,20,17,.72); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
}
.logo { display: inline-flex; align-items: center; padding: 6px 0; text-decoration: none; transition: transform 140ms var(--ease); }
.logo:active { transform: scale(0.97); }
.logo img { height: clamp(20px, 2vw, 24px); width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-weight: 600; font-size: 0.9875rem; }
.nav a:not(.btn-outline) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--text); transition: color 150ms ease; }
.nav a:not(.btn-outline):hover { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu-btn { display: none; color: var(--text); border-color: var(--text); min-height: 44px; }
.menu-btn:hover { color: var(--text); }
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav {
    pointer-events: auto; position: fixed; inset: 0; z-index: 1;
    background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 104px var(--gutter) 40px; overflow-y: auto;
  }
  .menu-open .mobile-nav { display: flex; }
  .mobile-nav a:not(.btn) {
    text-decoration: none; font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 850; font-stretch: 125%;
    text-transform: uppercase; line-height: 1.05; padding: 8px 0;
  }
  .mobile-nav a[aria-current="page"] { color: var(--accent); }
  .mobile-nav .btn { margin-top: 18px; }
  .menu-open { overflow: hidden; }
}

/* ---------- home hero ---------- */
.hero {
  padding-top: clamp(40px, 6vw, 72px);
  display: grid; gap: clamp(24px, 3vw, 36px); justify-items: center; text-align: center;
}
.hero h1 { letter-spacing: -0.025em; line-height: 0.92; font-size: clamp(2rem, 5.4vw, 4.5rem); max-width: 20ch; }
.hero-line { display: block; }
.hero .sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--text-3); max-width: 44ch; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }

.serp { width: 100%; max-width: 880px; display: grid; gap: 10px; text-align: left; }
.serp-bar {
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 18px); min-width: 0;
  border: 3px solid var(--accent); border-radius: 999px; background: var(--surface);
  padding: clamp(14px, 1.8vw, 20px) clamp(20px, 2.6vw, 30px);
}
.serp-bar svg { width: clamp(22px, 2.4vw, 28px); height: clamp(22px, 2.4vw, 28px); fill: none; stroke: var(--accent); stroke-width: 2.6; flex: none; }
.serp-q { font-size: clamp(1.125rem, 2.2vw, 1.625rem); font-weight: 600; white-space: nowrap; overflow: hidden; min-width: 0; min-height: 1.4em; line-height: 1.4; }
.caret { width: 3px; height: 1.4em; background: var(--accent); flex: none; margin-left: -8px; font-size: clamp(1.125rem, 2.2vw, 1.625rem); }
.serp.idle .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.serp-one {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2.4vw, 28px);
  background: var(--accent); color: var(--on-accent); border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 22px) clamp(20px, 2.6vw, 30px);
  transition: opacity 260ms var(--ease), filter 260ms var(--ease);
}
.serp.typing .serp-one { opacity: .35; filter: blur(2px); }
.serp-rank { font-weight: 850; font-stretch: 125%; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 0.8; }
.serp-text { display: grid; gap: 4px; min-width: 0; }
.serp-name { font-weight: 850; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.125rem, 2.2vw, 1.625rem); line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-meta { font-weight: 600; font-size: clamp(0.875rem, 1.3vw, 1rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-act { background: var(--bg); color: var(--accent); font-weight: 850; font-stretch: 125%; text-transform: uppercase; border-radius: 999px; padding: 12px 18px; line-height: 1; font-size: 0.9375rem; }
.serp-ghost {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px clamp(20px, 2.6vw, 30px);
}
.serp-ghost b { font-weight: 850; font-stretch: 125%; font-size: 1.5rem; color: var(--muted-ink); width: 2ch; }
.serp-ghost span { display: grid; gap: 8px; }
.serp-ghost i { display: block; height: 12px; background: var(--line); border-radius: 3px; }
.serp-ghost i + i { height: 8px; background: var(--surface-2); }
@media (max-width: 860px) { .serp-one { grid-template-columns: auto minmax(0, 1fr); } .serp-act { display: none; } }

/* ---------- trusted by ---------- */
.trusted {
  margin-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 40px) 0; display: grid; gap: clamp(20px, 2.4vw, 28px);
}
.trusted > p { text-align: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.marquee {
  --gap: clamp(48px, 6vw, 88px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; padding: 0 var(--gap) 0 0; margin: 0; display: flex; align-items: center; gap: var(--gap); flex: none; }
.marquee img { width: auto; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: 100%; justify-content: center; }
  .marquee ul { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 28px; }
  .marquee ul[aria-hidden] { display: none; }
}

/* ---------- pillars ---------- */
.pillars {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
  background: var(--line); border: 2px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 601px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillars a {
  background: var(--bg); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 14px; align-content: start;
  text-decoration: none; color: var(--text); transition: background-color 200ms ease;
}
.pillars a:hover { background: var(--surface); color: var(--text); }
.pillars .pillar-tag { color: var(--accent); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.pillars .h3 { font-size: 1.375rem; }
.pillars a > span:last-child { color: var(--text-3); }

/* ---------- section head ---------- */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }

/* ---------- case cards (home + work) ---------- */
.cards { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 3vw, 40px); }
.card { display: grid; gap: 14px; align-content: start; text-decoration: none; color: var(--text); }
.card:hover { color: var(--text); }
.card .media { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; transition: border-color 200ms ease; background: var(--surface); }
.card:hover .media { border-color: var(--accent); }
.card .media > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.card .mono { color: var(--text-3); }
.card .h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.01em; }
.card p { color: var(--text-3); max-width: 52ch; }
.card .result-line { color: var(--accent); font-weight: 800; }

/* Visibly Fit result tile, used until client photography arrives */
.vf-tile {
  position: relative; width: 100%; height: 100%; padding: clamp(18px, 2.6vw, 30px);
  display: grid; grid-template-rows: auto 1fr; gap: 10px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(204,255,0,.10), transparent 60%), var(--surface);
}
.vf-tile .tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vf-tile .tile-big { font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; line-height: .85; font-size: clamp(3rem, 7vw, 5.5rem); color: var(--accent); }
.vf-tile .tile-label { font-weight: 700; color: var(--text-2); max-width: 18ch; line-height: 1.25; }
.vf-tile .tile-logo { height: 44px; width: auto; opacity: .9; }
.vf-tile svg.spark { align-self: end; width: 100%; height: auto; overflow: visible; }

.work-grid { padding-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 32px); }
.work-card { display: grid; gap: 18px; align-content: start; }
.work-card .media { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); transition: border-color 200ms ease; }
.work-card .media:hover { border-color: var(--accent); }
.work-card .media > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-card .h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.work-card .h2 a { text-decoration: none; }
.work-card > p:not(.eyebrow) { font-size: 1.125rem; max-width: 48ch; }
.result-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.result-row span:first-child { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.result-row span:last-child { font-weight: 700; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px clamp(20px, 3vw, 36px); }
@media (min-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { display: grid; gap: 12px; align-content: start; border-top: 3px solid var(--accent); padding-top: 18px; }
.steps .n { font-weight: 850; font-stretch: 125%; font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; color: var(--accent); }
.steps .h3 { font-size: 1.25rem; }
.steps p { color: var(--text-3); }

/* ---------- low-risk strip ---------- */
.promises { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(16px, 3vw, 36px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises > div { padding: clamp(20px, 2.4vw, 28px) clamp(4px, 1vw, 12px); display: flex; gap: 14px; align-items: baseline; min-width: 0; }
.promises p { display: grid; gap: 6px; }
@media (min-width: 560px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.promises strong { font-weight: 850; font-stretch: 125%; text-transform: uppercase; font-size: 1.0625rem; line-height: 1.1; }
.promises span { color: var(--text-3); }
.tick { flex: none; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }

/* ---------- inner page header ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .in { position: relative; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: clamp(16px, 2vw, 24px); justify-items: start; }
.page-head h1 { font-stretch: 115%; }
.bg-canvas { position: absolute; inset: 0; pointer-events: none; }
.bg-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1600ms ease 200ms; }
.page-head canvas { -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 40%, #000 75%); mask-image: linear-gradient(100deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 40%, #000 75%); }

/* ---------- services ---------- */
.services { padding-top: clamp(48px, 7vw, 96px); display: grid; gap: clamp(20px, 3vw, 32px); }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px clamp(28px, 5vw, 72px);
  transition: border-color 200ms ease; scroll-margin-top: 100px;
}
.service:hover { border-color: #3D4036; }
.service > div { display: grid; gap: 16px; align-content: start; }
.service .num { font-weight: 850; font-stretch: 125%; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; color: var(--accent); }
.service .h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
.service .long { font-size: 1.1875rem; font-weight: 600; max-width: 40ch; }
.ticks { list-style: none; margin: 0; padding: 20px 0 0; display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; align-items: baseline; color: var(--text-2b); }
.footnote { margin-top: clamp(8px, 2vw, 20px); color: var(--text-3); max-width: 62ch; }

/* ---------- about ---------- */
.about { padding-top: clamp(56px, 8vw, 110px); display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-copy { flex: 1 1 100%; min-width: 0; display: grid; gap: 16px; justify-items: start; }
@media (min-width: 900px) {
  .about-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(40px, 6vw, 88px); align-items: start; }
  .about-copy > h2 { grid-row: 1 / span 3; }
  .about-copy > p { grid-column: 2; }
}
.about-copy > p { font-size: 1.125rem; max-width: 56ch; }
.about-copy .note { color: var(--text-3); font-size: 1rem; padding-top: 14px; border-top: 1px solid var(--line); }
.principles { margin-top: clamp(28px, 4vw, 52px); border-top: 3px solid var(--text); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 36px); }
.principles div { display: grid; gap: 12px; align-content: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principles .h3 { font-size: 1.375rem; color: var(--accent); }
.principles p { color: var(--text-2); max-width: 40ch; }

/* ---------- faq ---------- */
.faq-wrap { padding-top: clamp(56px, 8vw, 110px); display: grid; gap: clamp(24px, 3vw, 40px); }
.faq { border-top: 3px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(20px, 2.4vw, 30px) 0; font-weight: 800; font-stretch: 108%;
  font-size: clamp(1.1875rem, 2.3vw, 1.875rem); line-height: 1.15; letter-spacing: -0.01em; transition: color 150ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary i {
  flex: none; width: 40px; height: 40px; border: 2px solid #3A3D33; border-radius: 12px; position: relative;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--accent);
  transform: translate(-50%, -50%); transition: transform 200ms var(--ease);
}
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 clamp(24px, 3vw, 36px); color: var(--text-2); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); max-width: 56ch; }

/* ---------- case studies ---------- */
.case { padding-top: clamp(28px, 4vw, 48px); display: grid; gap: clamp(72px, 10vw, 140px); }
.case-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.case-hero .copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.4vw, 26px); min-width: 0; }
.case-hero h1 { letter-spacing: -0.025em; line-height: 0.92; font-size: clamp(1.75rem, 2.9vw, 2.75rem); max-width: 22ch; }
@media (min-width: 900px) { .case-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.case-hero .intro { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 500; color: var(--text-2); max-width: 42ch; text-wrap: pretty; }
.case-hero .btn { margin-top: 6px; }
.shot { width: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
@media (min-width: 1101px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.6vw, 32px) clamp(12px, 2vw, 28px) 0 0; min-width: 0; }
.stats b { font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; line-height: 0.92; font-size: clamp(1.75rem, 3.4vw, 3.25rem); color: var(--accent); font-variant-numeric: tabular-nums; }
.stats .nowrap { white-space: nowrap; }
.stats span { font-size: clamp(0.9375rem, 1.2vw, 1.0625rem); color: var(--text-2); max-width: 22ch; text-wrap: pretty; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 32px); }
.stack { display: grid; gap: clamp(16px, 2vw, 24px); }
.did { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.6vw, 32px); align-items: start; }
@media (min-width: 981px) { .did { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.did .panel { display: grid; gap: 14px; min-width: 0; }
.did .panel.big { gap: clamp(16px, 2vw, 22px); }
.did .h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.did .big .h3 { font-size: clamp(1.625rem, 3vw, 2.5rem); max-width: 18ch; }
.did .outcome { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; font-size: 1.125rem; color: var(--accent); }
.did .big .outcome { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks svg { width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.two-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(20px, 2.6vw, 32px); align-items: start; }
.two-charts figure { display: grid; gap: 14px; min-width: 0; }
figcaption { color: var(--text-3); text-wrap: pretty; }

.closing { display: grid; gap: 18px; justify-items: start; border-top: 3px solid var(--text); padding-top: clamp(28px, 4vw, 48px); }
.closing .h2 { letter-spacing: -0.02em; line-height: 0.92; font-size: clamp(1.75rem, 4.2vw, 3.5rem); max-width: 24ch; }
.closing p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--text-2); max-width: 44ch; }

/* charts */
.chart { position: relative; display: grid; gap: 6px; }
.chart-legend { display: flex; gap: 20px; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 18px; height: 3px; border-radius: 3px; }
.chart-legend.bars i { width: 12px; height: 12px; }
.chart-area { position: relative; width: 100%; touch-action: pan-y; min-height: 240px; }
.chart svg { font-family: inherit; font-variant-numeric: tabular-nums; overflow: visible; }
.chart-tip {
  position: absolute; top: 0; transform: translateX(-50%); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 8px 12px; font-size: 13px; line-height: 1.35; pointer-events: none; white-space: nowrap; display: grid; gap: 2px;
}
.chart-tip span { display: flex; gap: 12px; justify-content: space-between; color: var(--text-3); }
.chart-tip span:first-of-type { color: var(--text); }
.chart-tip b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* car guys */
.phones {
  display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones figure { flex: 1 0 min(74%, 300px); scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.phones figcaption { color: var(--text-2); max-width: 32ch; }
.points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.points li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.points strong { font-weight: 800; font-size: 1.125rem; }
.points span { color: var(--text-2); text-wrap: pretty; }
.flow-mobile { display: none; max-width: 520px; }
@media (max-width: 700px) { .flow-desktop { display: none; } .flow-mobile { display: block; } }

/* ---------- booking band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--accent); color: var(--on-accent);
  margin-top: clamp(96px, 12vw, 170px); scroll-margin-top: 68px;
}
.band ::selection { background: var(--on-accent); color: var(--accent); }
.band .bg-canvas { z-index: -1; }
.band canvas { -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.6) 40%, #000 70%); mask-image: linear-gradient(100deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.6) 40%, #000 70%); }
.band .in {
  padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 5vw, 80px); align-items: start;
}
.band-copy { display: grid; gap: 18px; min-width: 0; }
.band-copy .h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); }
.band-copy p { font-size: 1.1875rem; font-weight: 500; max-width: 44ch; }
.band-copy a { font-weight: 700; color: var(--on-accent); text-decoration-color: var(--on-accent); }
.band-copy a:hover { color: var(--on-accent); text-decoration-thickness: 2px; }
.band :focus-visible { outline-color: var(--on-accent); }
.band .quiz :focus-visible { outline-color: var(--accent); }

/* ---------- quiz ---------- */
.quiz {
  background: var(--bg); color: var(--text); border-radius: 24px; padding: clamp(22px, 3.2vw, 40px);
  display: grid; gap: 22px; align-content: start; min-width: 0;
  box-shadow: 0 30px 60px -28px rgba(10,10,10,.55);
}
.quiz-top { display: grid; gap: 12px; }
.quiz-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 32px; }
.quiz-step { color: var(--text-3); }
.quiz-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--text); font-weight: 600; font-size: 0.9375rem; cursor: pointer; padding: 6px 0; min-height: 44px; transition: color 150ms ease; }
.quiz-back:hover { color: var(--accent); }
.quiz-back svg { width: 16px; height: 16px; }
.quiz-track { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.quiz-fill { height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0.04); transition: transform 320ms var(--ease); }
.quiz fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.quiz legend, .quiz .q-title {
  padding: 0; margin-bottom: 18px; font-weight: 850; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1; font-size: clamp(1.375rem, 2.4vw, 1.75rem); text-wrap: balance;
}
.quiz .q-title { margin: 0; }
.quiz .q-title:focus { outline: none; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; min-height: 56px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface);
  color: var(--text); font: 600 1.0625rem/1.25 "Archivo", system-ui, sans-serif; cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 140ms var(--ease);
}
.opt:active { transform: scale(0.985); }
.opt .key {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--line); color: var(--text); font: 700 0.8125rem/1 var(--mono);
  transition: background-color 150ms ease, color 150ms ease;
}
.opt[aria-pressed="true"] { border-color: var(--accent); background: rgba(204,255,0,.1); }
.opt[aria-pressed="true"] .key { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: var(--accent); } }
.fields { display: grid; gap: 18px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.fields label { display: grid; gap: 7px; font-weight: 600; font-size: 0.9375rem; }
.fields input {
  font: 400 1.0625rem/1.4 "Archivo", system-ui, sans-serif; color: var(--text); background: var(--surface);
  border: 2px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 52px; outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.fields input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(204,255,0,.15); }
.fields input[aria-invalid="true"] { border-color: var(--error); }
.form-error { color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.fields .btn { justify-self: start; margin-top: 4px; }
.helper { font-size: 0.9375rem; color: var(--text-3); }
.helper a { color: var(--text-3); }
.done { display: grid; gap: 14px; padding: 4px 0; }
.done .q-title { color: var(--accent); font-size: 1.75rem; line-height: .95; }
.done p { color: var(--text-2); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- footer ---------- */
.foot { overflow: hidden; }
.foot .cols { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(16px, 2vw, 24px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px; align-items: baseline; color: var(--text-3); font-size: 0.9375rem; }
.foot .row { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot .row a { padding: 6px 0; }
.foot a { text-decoration: none; }
.foot .big { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(24px, 4vw, 48px); }
.foot .big img { width: 100%; }

/* ---------- prose (privacy) ---------- */
.prose { padding-top: clamp(48px, 7vw, 96px); display: grid; gap: 14px; max-width: calc(68ch + 2 * var(--gutter)); margin-left: 0; }
.prose h2 { font-weight: 850; font-stretch: 125%; text-transform: uppercase; font-size: 1.375rem; line-height: 1; margin-top: 22px; }
.prose p { color: var(--text-2); }

/* ---------- scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

@media (min-width: 640px) { .principles, .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
