:root {
  --ink: #151515;
  --navy: #292d57;
  --gold: #ffb619;
  --gold-soft: #f6da9d;
  --paper: #eceff1;
  --white: #ffffff;
  --line: rgba(30, 36, 44, .12);
  --muted: #6f747a;
  --radius: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3, h4 { margin-top: 0; }

.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--gold); }
.site-header {
  position: absolute;
  z-index: 90;
  inset: 0 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr .8fr .7fr auto;
  align-items: start;
  gap: clamp(20px, 4vw, 72px);
  padding: 22px max(5vw, calc((100vw - var(--max)) / 2));
  color: #f5f1e8;
  background: #12110e;
}
.brand { padding-top: 2px; font-weight: 800; letter-spacing: -.04em; font-size: 17px; }
.header-meta { display: grid; gap: 3px; font-family: Georgia, serif; font-size: 13px; line-height: 1.12; }
.header-meta > span { color: rgba(255,255,255,.45); }
.header-meta strong { color: white; font-weight: 400; }
.header-meta i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #63d277; box-shadow: 0 0 0 0 rgba(99,210,119,.55); animation: availability-pulse 2s infinite; }
.site-header nav { display: grid; gap: 2px; font-family: Georgia, serif; font-size: 14px; line-height: 1.08; }
.site-header nav a { opacity: .72; transition: opacity .2s; }
.site-header nav a:hover { opacity: 1; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; white-space: nowrap; font-family: Georgia, serif; font-size: 13px; }
.header-cta span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #111; background: white; font-family: Inter, sans-serif; }
.case-back { position: absolute; z-index: 91; top: 108px; left: max(5vw, calc((100vw - var(--max)) / 2)); display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid rgba(21,21,21,.18); border-radius: 999px; background: rgba(255,253,248,.84); backdrop-filter: blur(12px); font-size: 12px; font-weight: 700; }
.case-back span { font-size: 17px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 70px);
  padding: 190px max(5vw, calc((100vw - var(--max)) / 2)) 70px;
  color: white;
  background: #101634;
  overflow: hidden;
}
.hero-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(7,11,27,.88) 0%, rgba(9,13,33,.70) 43%, rgba(9,13,33,.30) 72%, rgba(5,8,22,.50) 100%); }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; opacity: .16; background-image: radial-gradient(rgba(255,255,255,.68) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to right, #000, transparent 70%); }
.hero-glow { position: absolute; z-index: 1; width: 720px; height: 720px; right: -120px; top: 3%; border-radius: 50%; background: radial-gradient(circle at 45% 40%, rgba(255,203,75,.25), rgba(255,182,25,.12) 38%, rgba(255,182,25,0) 69%); filter: blur(18px); }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.eyebrow span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: rgba(255,255,255,.94); background: rgba(7,11,27,.24); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 720px; margin-bottom: 30px; font-size: clamp(64px, 7vw, 112px); }
h1 em { color: var(--gold); font-weight: 400; text-shadow: 0 4px 24px rgba(255,182,25,.28); }
.hero-summary { max-width: 650px; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.30); }
.hero-meta div { padding: 22px 14px 0 0; }
.hero-meta strong { display: block; font-family: Georgia, serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; line-height: 1; }
.hero-meta span { display: block; max-width: 110px; margin-top: 8px; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { min-height: 680px; perspective: 1500px; }
.phone { position: absolute; top: 50%; width: min(39%, 270px); filter: drop-shadow(0 32px 30px rgba(33,29,20,.22)); }
.phone-left { left: 2%; transform: translateY(-42%) rotate(-9deg) translateZ(-50px); animation: float-left 6s ease-in-out infinite; }
.phone-center { z-index: 3; left: 31%; transform: translateY(-52%); animation: float-center 6.8s ease-in-out infinite; }
.phone-right { z-index: 2; right: 0; transform: translateY(-40%) rotate(8deg) translateZ(-30px); animation: float-right 7.2s ease-in-out infinite; }
.hero-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,214,113,.34); border-radius: 50%; transform: translate(-50%,-50%) rotate(-12deg); }
.orbit-one { width: 670px; height: 420px; }
.orbit-two { width: 520px; height: 650px; transform: translate(-50%,-50%) rotate(35deg); }
.scroll-cue { position: absolute; z-index: 4; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; font-style: normal; animation: nudge 1.8s ease-in-out infinite; }

.section { position: relative; padding: 140px max(5vw, calc((100vw - var(--max)) / 2)); }
.section-label { display: grid; grid-template-columns: 42px 42px auto minmax(42px, 1fr); align-items: center; gap: 13px; margin-bottom: 72px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }
.section-label::before { content: attr(data-icon); display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(30,36,44,.14); border-radius: 13px; color: #8d6200; background: rgba(255,255,255,.78); box-shadow: 0 8px 20px rgba(37,45,54,.06); font-family: Georgia, serif; font-size: 21px; font-weight: 400; letter-spacing: 0; }
.section-label::after { content: ""; min-width: 0; height: 1px; background: var(--line); }
.section-label span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffc94d; border-radius: 13px; color: var(--ink); background: var(--gold); box-shadow: 0 8px 18px rgba(190,128,0,.2); font-size: 12px; letter-spacing: .04em; }
.section-label.light { color: rgba(255,255,255,.55); }
.section-label.light::after { background: rgba(255,255,255,.15); }
.section-label.light span { border-color: rgba(255,255,255,.2); color: white; }
.kicker { margin-bottom: 20px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.kicker.gold { color: var(--gold); }
h2 { margin-bottom: 28px; font-size: clamp(48px, 6vw, 86px); }
h3 { line-height: 1.12; }
.lead { font-family: Georgia, serif; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.15; letter-spacing: -.035em; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: start; }
.sticky-heading { position: sticky; top: 130px; }
.sticky-heading h2 { font-size: clamp(45px, 5.2vw, 72px); }
.context-card,
.context-copy-card,
.problem-card,
.challenge-list article { border: 1px solid rgba(255,255,255,.96); border-radius: 28px; background: linear-gradient(135deg, #ffffff 8%, #fffaf0 64%, #fbe8b8 145%); box-shadow: 0 24px 58px rgba(37,45,54,.10), 0 2px 8px rgba(37,45,54,.04); }
.context-card { padding: clamp(30px, 4vw, 48px); }
.context-copy-card { padding: clamp(30px, 4vw, 48px); }
.long-copy { color: #59564f; font-size: 18px; }
.long-copy > p:not(.lead) { max-width: 730px; }
.quote-block { margin: 48px 0; padding: 34px 0 34px 32px; border-left: 3px solid var(--gold); color: var(--ink); }
.quote-block p { margin: 0; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid rgba(255,255,255,.9); border-radius: 20px; box-shadow: 0 22px 60px rgba(40,48,58,.09), 0 2px 8px rgba(40,48,58,.05); }
.scope-grid article { padding: 26px; background: var(--white); }
.scope-grid span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.scope-grid strong { display: block; margin: 10px 0 6px; color: var(--ink); font-size: 18px; }
.scope-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.dark-section, .data-section, .wireframes, .testing, .impact { color: white; background: #151515; }
.challenge-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.challenge-grid h2 { max-width: 650px; }
.problem-card { padding: clamp(30px, 4vw, 48px); }
.challenge-list { display: grid; gap: 16px; }
.challenge-list article { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 32px; }
.challenge-list b, .feedback-list span { color: var(--gold); font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.challenge-list h3 { margin-bottom: 12px; font-size: 24px; }
.challenge-list p { margin: 0; color: rgba(255,255,255,.6); }

.section-heading { max-width: 980px; margin-bottom: 70px; }
.section-heading.narrow { max-width: 900px; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-track::before { content: ""; position: absolute; top: -2px; left: 0; width: 20%; height: 3px; background: var(--gold); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.process-track.in-view::before { width: 100%; }
.process-track li { padding: 30px 24px 0 0; }
.process-track span { color: #a5760b; font-family: Georgia, serif; font-size: 38px; }
.process-track strong { display: block; margin: 24px 0 10px; font-size: 18px; }
.process-track p { margin: 0; color: var(--muted); font-size: 13px; }

.research-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; margin-bottom: 80px; }
.research-intro h2 { font-size: clamp(44px, 5.2vw, 70px); }
.research-intro > div:last-child > p { color: var(--muted); font-size: 18px; }
.stat-display { display: flex; align-items: end; gap: 14px; margin-bottom: 24px; color: #9a6b00; font-family: Georgia, serif; line-height: .8; }
.stat-display span { font-size: clamp(90px, 13vw, 180px); letter-spacing: -.07em; }
.stat-display small { padding-bottom: 16px; font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.discovery-prompts { margin-top: 28px; padding: 22px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discovery-prompts h3 { margin-bottom: 14px; font-size: 13px; letter-spacing: .04em; }
.discovery-prompts ul { display: grid; gap: 10px; margin: 0; padding: 0 0 22px 20px; color: var(--muted); font-size: 14px; }
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.insight { min-height: 300px; padding: 34px; border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 55px rgba(37,45,54,.08), 0 2px 7px rgba(37,45,54,.04); }
.insight > span { color: #9a6b00; font-family: Georgia, serif; font-size: 34px; }
.insight h3 { max-width: 460px; margin: 50px 0 14px; font-size: 30px; letter-spacing: -.03em; }
.insight p { max-width: 520px; color: var(--muted); }

.chart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chart-card { padding: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: #1d1d1d; }
.donut { position: relative; width: 180px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 60px; border-radius: 50%; background: conic-gradient(var(--gold) 0, var(--gold) 0, #30345e 0); transition: background 1s; }
.donut::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: #1d1d1d; }
.in-view .donut { background: conic-gradient(var(--gold) calc(var(--value) * 1%), #30345e 0); }
.donut span { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 44px; }
.donut small { font-size: 18px; }
.chart-card h3 { max-width: 300px; font-size: 22px; }
.chart-card p { color: rgba(255,255,255,.55); }
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 60px; margin: 80px 0; padding: 54px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.score-grid article div { display: flex; justify-content: space-between; margin-bottom: 12px; }
.score-grid span { color: rgba(255,255,255,.64); }
.score-grid i { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.score-grid i b { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gold); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.score-grid.in-view i b { width: var(--score); }
.filter-chart { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; padding-top: 70px; border-top: 1px solid rgba(255,255,255,.14); }
.filter-copy h3 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.filter-copy p:last-child { color: rgba(255,255,255,.55); }
.bars { display: grid; gap: 12px; }
.bars div { display: grid; grid-template-columns: 90px 1fr 30px; align-items: center; gap: 14px; font-size: 12px; }
.bars .bar-card { min-height: 58px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.96); border-radius: 16px; background: var(--white); box-shadow: 0 16px 36px rgba(37,45,54,.08), 0 2px 7px rgba(37,45,54,.04); }
.bars .bar-card > span { color: var(--ink); font-weight: 700; }
.bars i { height: 16px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.bars i::after { content: ""; display: block; width: 0; height: 100%; background: var(--gold); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.filter-chart.in-view .bars i::after { width: var(--bar); }
.bars b { color: var(--gold); }

.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.persona { padding: 42px; border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius); background: var(--white); box-shadow: 0 22px 60px rgba(37,45,54,.08), 0 2px 8px rgba(37,45,54,.04); }
.persona-top { display: flex; align-items: center; gap: 20px; }
.persona-photo { width: 76px; height: 76px; flex: none; border: 3px solid rgba(255,255,255,.95); border-radius: 50%; object-fit: cover; object-position: center 28%; box-shadow: 0 8px 20px rgba(37,45,54,.15), 0 0 0 2px rgba(255,182,25,.7); }
.avatar { display: grid; place-items: center; width: 70px; height: 70px; flex: none; border-radius: 50%; background: var(--navy); color: white; font-family: Georgia, serif; font-size: 28px; }
.avatar.alt { color: var(--ink); background: var(--gold); }
.persona-top p { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.persona-top h3 { margin: 4px 0; font-size: 28px; }
.persona-top small { color: var(--muted); }
.persona blockquote { margin: 44px 0; padding: 0; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.03em; }
.persona-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.persona-columns h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.persona-columns ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }

.structure { padding-bottom: 96px; }
.structure-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: center; }
.structure-grid > div p:last-child { color: var(--muted); font-size: 17px; }
.image-button { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(360px, 34vw, 470px); padding: 16px; border: 1px solid rgba(255,255,255,.92); border-radius: 22px; background: white; cursor: zoom-in; overflow: hidden; box-shadow: 0 28px 70px rgba(37,45,54,.12), 0 2px 8px rgba(37,45,54,.05); }
.image-button img { width: 100%; height: 100%; object-fit: contain; }
.image-button span { position: absolute; right: 26px; bottom: 26px; padding: 9px 13px; border-radius: 999px; background: var(--ink); color: white; font-size: 11px; }
.journey { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; border-top: 1px solid var(--line); }
.journey div { position: relative; padding: 30px 26px 0 0; }
.journey div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.journey span { color: #9a6b00; font-family: Georgia, serif; font-size: 30px; }
.journey b { display: block; margin: 16px 0 5px; }
.journey p { color: var(--muted); font-size: 13px; }

.wireframe-head { display: grid; grid-template-columns: 1fr .7fr; gap: 8vw; align-items: end; margin-bottom: 70px; }
.wireframe-head p:last-child { color: rgba(255,255,255,.56); }
.wireframe-stage { display: grid; grid-template-columns: minmax(300px, 1.3fr) .7fr; gap: 30px; align-items: end; padding: 50px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: #ededeb; }
.wireframe-stage img { max-height: 600px; margin: auto; }
.wireframe-notes { display: grid; gap: 1px; }
.wireframe-notes span { padding: 18px; color: var(--ink); background: white; font-size: 12px; }
.lofi-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; align-items: stretch; }
.lofi-row button { display: flex; align-items: center; justify-content: center; min-width: 0; height: 390px; padding: 14px; border: 1px solid rgba(255,255,255,.96); border-radius: 20px; background: var(--white); box-shadow: 0 17px 38px rgba(37,45,54,.09), 0 2px 7px rgba(37,45,54,.04); cursor: zoom-in; overflow: hidden; }
.lofi-row img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.9); transition: filter .3s, transform .3s; }
.lofi-row button:hover img { filter: grayscale(0); transform: translateY(-8px); }

.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.system-grid > div > p:last-child { max-width: 580px; color: var(--muted); }
.type-specimen { display: flex; align-items: center; gap: 40px; padding: 40px; border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius); background: white; box-shadow: 0 22px 60px rgba(37,45,54,.08), 0 2px 8px rgba(37,45,54,.04); }
.type-specimen > span { font-family: Georgia, serif; font-size: 120px; line-height: 1; }
.type-specimen b, .type-specimen small { display: block; }
.type-specimen small { margin: 5px 0 22px; color: var(--muted); }
.type-specimen p { margin: 0; font-size: 20px; font-weight: 800; }
.tokens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 60px; }
.tokens div { position: relative; height: 260px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 16px; background: var(--swatch); }
.tokens span, .tokens b { mix-blend-mode: difference; color: white; font-size: 11px; }

.solution { background: #f5f1e7; }
.solution-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; }
.solution-heading > p { color: var(--muted); font-size: 18px; }
.prototype-shell { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 760px; margin-top: 70px; border: 1px solid rgba(255,255,255,.95); border-radius: 34px; overflow: hidden; background: #dfe4e8; box-shadow: 0 34px 80px rgba(37,45,54,.14), 0 3px 10px rgba(37,45,54,.05); }
.prototype-copy { padding: clamp(38px, 6vw, 76px); color: var(--ink); background: linear-gradient(145deg, #eef1f3, #d9dfe3); }
.prototype-step { color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.prototype-copy h3 { margin-top: 100px; font-family: Georgia, serif; font-size: clamp(36px, 4.5vw, 62px); font-weight: 400; line-height: 1.04; letter-spacing: -.04em; }
.prototype-copy > p:not(.prototype-step) { max-width: 480px; color: var(--muted); }
.decision-tabs { display: flex; gap: 8px; margin-top: 45px; }
.decision-tabs button { padding: 10px 14px; border: 1px solid #ffc94d; border-radius: 999px; color: var(--ink); background: var(--gold); box-shadow: 0 7px 16px rgba(190,128,0,.22), 0 0 0 0 rgba(255,182,25,.3); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.decision-tabs button:hover, .decision-tabs button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(190,128,0,.3), 0 0 0 5px rgba(255,182,25,.19); outline: 0; }
.decision-tabs button.active { border-color: #e49d00; background: #ffc43d; box-shadow: 0 11px 24px rgba(190,128,0,.32), 0 0 0 5px rgba(255,182,25,.2); }
.prototype-phone { align-self: end; width: min(84%, 500px); min-height: 680px; margin: 70px auto -25px; padding: 18px 18px 50px; border: 10px solid #111; border-radius: 54px 54px 0 0; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.prototype-status, .prototype-nav { display: flex; justify-content: space-between; align-items: center; color: #202020; }
.prototype-status { padding: 0 13px 12px; font-size: 11px; }
.prototype-status b { letter-spacing: 2px; }
.prototype-nav { padding: 13px 6px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; font-size: 11px; }
.prototype-nav strong { color: #272b56; }
.prototype-banner { margin: 14px 0; padding: 34px 20px; border-radius: 16px; text-align: center; color: var(--ink); background: linear-gradient(135deg, #fff4d2, #ffbd2d); }
.prototype-banner h4 { margin: 6px 0 0; font-size: 24px; }
.prototype-panel { color: var(--ink); }
.prototype-panel > p { margin: 24px 0 16px; font-weight: 700; text-align: center; }
.countries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.countries button { padding: 15px 8px; border: 1px solid #e4e4e4; border-radius: 12px; background: #fafafa; cursor: pointer; font-size: 28px; }
.countries button span { display: block; margin-top: 5px; font-size: 11px; }
.countries button.selected, .budget-options button.selected { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fff9ea; }
.budget-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.budget-options button { padding: 14px; border: 1px solid #ddd; border-radius: 10px; background: white; cursor: pointer; }
.prototype-primary { width: 100%; margin-top: 22px; padding: 16px; border: 0; border-radius: 10px; background: var(--gold); box-shadow: 0 10px 20px rgba(190,128,0,.3), 0 0 0 4px rgba(255,182,25,.16); font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.prototype-primary:hover, .prototype-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 25px rgba(190,128,0,.38), 0 0 0 7px rgba(255,182,25,.2); outline: 0; }
.result-heading { display: flex; justify-content: space-between; margin: 24px 0 12px; }
.result-heading small { color: #807a6f; }
.mini-car { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; padding: 16px; border: 1px solid #e6e6e6; border-radius: 16px; }
.mini-car img { width: 100%; height: 100px; object-fit: contain; }
.mini-car span, .mini-car strong { display: block; margin-top: 6px; font-size: 11px; }
.mini-car span { color: #777; }
.mini-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mini-actions button { padding: 13px; border: 1px solid #ddd; border-radius: 9px; background: white; font-size: 11px; }
.mini-actions button:last-child { border-color: var(--gold); background: var(--gold); box-shadow: 0 6px 14px rgba(190,128,0,.26); }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.decision-grid article { padding: 32px; border: 1px solid rgba(255,255,255,.96); border-radius: 20px; background: var(--white); box-shadow: 0 20px 48px rgba(37,45,54,.09), 0 2px 7px rgba(37,45,54,.04); }
.decision-grid span { color: #9a6b00; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.decision-grid h3 { margin: 45px 0 14px; font-size: 24px; }
.decision-grid p { color: var(--muted); }

.gallery-heading { max-width: 900px; }
.gallery-section { color: var(--ink); background: #e9edef; }
.gallery-section .section-label { color: var(--muted); }
.gallery-section .section-label::after { background: var(--line); }
.gallery-section .section-label span { border-color: var(--line); color: var(--ink); }
.feature-showcase { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: clamp(44px, 7vw, 110px); align-items: start; }
.feature-showcase-intro { position: sticky; top: 50px; padding: 70px 0; }
.feature-showcase-intro .accent-line { width: 210px; height: 3px; margin-bottom: 34px; border-radius: 999px; background: linear-gradient(90deg, #ffcf62, #ffb619 52%, transparent); filter: blur(.2px); box-shadow: 0 0 22px rgba(255,182,25,.38); }
.feature-showcase-intro h2 { max-width: 560px; font-family: Georgia, serif; font-size: clamp(50px, 5.2vw, 76px); line-height: .98; }
.feature-showcase-intro > p:not(.kicker) { max-width: 500px; color: var(--muted); font-size: 16px; }
.feature-showcase-intro > a { display: inline-flex; align-items: center; gap: 24px; margin-top: 28px; padding: 13px 19px; border-radius: 999px; color: #17130a; background: var(--gold); box-shadow: 0 12px 25px rgba(190,128,0,.22); font-size: 13px; font-weight: 700; }
.feature-card-stack { display: grid; gap: 28px; }
.product-feature-card { position: relative; min-height: 470px; display: grid; grid-template-columns: minmax(250px, .88fr) minmax(280px, 1.12fr); gap: 20px; padding: 34px 28px 0 34px; border: 1px solid rgba(255,255,255,.96); border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #ffffff 8%, #fffaf0 58%, #fbe8b8 100%); box-shadow: 0 28px 65px rgba(54,66,80,.12), 0 3px 10px rgba(54,66,80,.06), inset 0 0 0 1px rgba(105,76,13,.06); }
.product-feature-card::before { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(42,61,94,.08); border-radius: 21px; }
.product-feature-card:nth-child(2) { background: linear-gradient(135deg, #ffffff 8%, #fff8e8 58%, #f7dfa6 100%); }
.product-feature-card:nth-child(3) { background: linear-gradient(135deg, #ffffff 8%, #fff8e8 58%, #f6dda2 120%); }
.product-feature-copy { position: relative; z-index: 2; padding: 18px 0 34px; }
.feature-number { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 54px; border: 1px solid rgba(32,38,48,.16); border-radius: 50%; color: #9a6900; font-family: Georgia, serif; font-size: 15px; }
.product-feature-copy h3 { max-width: 330px; margin-bottom: 15px; font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.035em; }
.product-feature-copy > p { max-width: 330px; color: var(--muted); font-size: 14px; }
.product-feature-copy ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 13px; }
.product-feature-copy li { display: flex; align-items: center; gap: 10px; }
.product-feature-copy li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 6px; color: #17130a; background: var(--gold); font-size: 11px; font-weight: 800; box-shadow: 0 5px 12px rgba(190,128,0,.2); }
.feature-device { position: relative; align-self: end; min-height: 430px; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.feature-device img { position: absolute; filter: drop-shadow(0 25px 24px rgba(27,35,46,.2)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.feature-device.single img { width: min(76%, 310px); right: 4%; bottom: -46px; transform: rotate(7deg); }
.product-feature-card:hover .feature-device.single img { transform: translateY(-10px) rotate(4deg); }
.feature-device.pair img { width: min(56%, 235px); bottom: -48px; }
.feature-device.pair img:first-child { z-index: 1; left: 1%; transform: rotate(-7deg); }
.feature-device.pair img:last-child { z-index: 2; right: 0; transform: rotate(7deg); }
.product-feature-card:hover .feature-device.pair img:first-child { transform: translateY(-8px) rotate(-4deg); }
.product-feature-card:hover .feature-device.pair img:last-child { transform: translateY(-13px) rotate(4deg); }
.feature-device.staggered img:first-child { bottom: -18px; }
.feature-device.staggered img:last-child { bottom: -78px; }
.supporting-screens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 70px; }
.supporting-screens button { min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.96); border-radius: 19px; background: rgba(255,255,255,.74); box-shadow: 0 16px 40px rgba(54,66,80,.08), 0 2px 7px rgba(54,66,80,.04); cursor: zoom-in; }
.supporting-screens img { width: 100%; height: 340px; object-fit: contain; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.supporting-screens button:hover img { transform: translateY(-6px); }
.supporting-screens span { display: block; padding: 12px 4px 2px; color: var(--muted); font-size: 10px; font-weight: 700; text-align: left; letter-spacing: .08em; text-transform: uppercase; }
.interface-walkthroughs { margin-top: 150px; }
.walkthrough-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .52fr); column-gap: clamp(40px, 8vw, 130px); align-items: end; max-width: 1120px; margin-bottom: 56px; }
.walkthrough-heading .kicker { grid-column: 1 / -1; }
.walkthrough-heading h2 { max-width: 740px; margin: 0; font-size: clamp(45px, 5.5vw, 76px); }
.walkthrough-heading > p:last-child { margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.feature-walkthrough { margin-top: 28px; padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(255,255,255,.96); border-radius: 30px; background: linear-gradient(135deg, #ffffff 6%, #fffaf0 64%, #f7e5ba 140%); box-shadow: 0 28px 65px rgba(54,66,80,.12), 0 3px 10px rgba(54,66,80,.05); }
.feature-walkthrough > header { display: flex; align-items: center; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid rgba(30,36,44,.11); }
.feature-walkthrough > header > span { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; color: #17130a; background: var(--gold); box-shadow: 0 8px 18px rgba(190,128,0,.19); font-family: Georgia, serif; font-size: 18px; }
.feature-walkthrough header p { margin: 0 0 3px; color: #8f6200; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.feature-walkthrough header h3 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; }
.walkthrough-layout { display: grid; grid-template-columns: minmax(185px, .85fr) minmax(260px, .8fr) minmax(185px, .85fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding-top: 34px; }
.walkthrough-notes { display: grid; gap: 24px; }
.walkthrough-notes article { position: relative; padding: 20px 20px 20px 23px; border: 1px solid rgba(30,36,44,.10); border-radius: 18px; background: rgba(255,255,255,.76); box-shadow: 0 12px 28px rgba(54,66,80,.06); }
.walkthrough-notes article::before { content: ""; position: absolute; top: 50%; width: clamp(18px, 4vw, 60px); height: 1px; background: #e4a10b; }
.left-notes article::before { right: calc(clamp(18px, 4vw, 60px) * -1); }
.right-notes article::before { left: calc(clamp(18px, 4vw, 60px) * -1); }
.walkthrough-notes article > span { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 14px; border-radius: 50%; color: #17130a; background: #ffe1a0; font-size: 10px; font-weight: 800; }
.walkthrough-notes h4 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.02em; }
.walkthrough-notes p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.48; }
.walkthrough-screen { position: relative; justify-self: center; display: grid; place-items: center; width: min(100%, 330px); padding: 16px; border: 1px solid rgba(30,36,44,.12); border-radius: 30px; background: #f5f7f8; box-shadow: 0 28px 45px rgba(37,45,54,.16), 0 4px 12px rgba(37,45,54,.07); cursor: zoom-in; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.walkthrough-screen:hover { transform: translateY(-8px); box-shadow: 0 35px 58px rgba(37,45,54,.2), 0 4px 12px rgba(37,45,54,.07); }
.walkthrough-screen img { width: 100%; max-height: 590px; object-fit: contain; }
.screen-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 70px; }
.screen-gallery.second { margin-top: 12px; }
.screen-gallery button { position: relative; min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #202020; cursor: zoom-in; overflow: hidden; }
.screen-gallery img { width: 100%; height: 410px; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.screen-gallery button:hover img { transform: scale(1.045); }
.screen-gallery span { display: block; padding-top: 12px; color: rgba(255,255,255,.56); font-size: 10px; text-align: left; letter-spacing: .08em; text-transform: uppercase; }

.finance-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: start; }
.finance-grid figure { margin: 0; }
.finance-grid figure:nth-child(even) { margin-top: 70px; }
.finance-grid img { width: 100%; height: 490px; padding: 16px; object-fit: contain; border: 1px solid var(--line); border-radius: 20px; background: white; }
.finance-grid figcaption { padding-top: 16px; }
.finance-grid figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.testing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.light-text { color: var(--gold); }
.testing-grid > div:first-child > p:last-child { color: rgba(255,255,255,.58); }
.feedback-list article { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.15); }
.feedback-list h3 { margin: 18px 0 10px; font-size: 25px; }
.feedback-list p { color: rgba(255,255,255,.58); }

.iteration-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: center; padding: 90px 0; border-bottom: 1px solid var(--line); }
.iteration-block.reverse .iteration-copy { order: 2; }
.iteration-copy h2 { font-size: clamp(44px, 5vw, 66px); }
.iteration-copy > p, .iteration-copy li { color: var(--muted); }
.tag { display: inline-block; margin-bottom: 24px; padding: 8px 12px; border-radius: 999px; color: #6d4a00; background: #f7dfaa; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.iteration-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: center; padding: 38px; border-radius: var(--radius); background: var(--navy); }
.iteration-images img { width: 100%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.2)); }
.iteration-images.calculator { background: #ece8dd; }

.impact-copy { max-width: 900px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 70px; }
.impact-grid article { min-height: 310px; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; }
.impact-grid span { color: var(--gold); font-family: Georgia, serif; font-size: 30px; }
.impact-grid h3 { margin: 100px 0 12px; font-size: 22px; }
.impact-grid p { color: rgba(255,255,255,.54); font-size: 13px; }
.impact-note { margin-top: 30px; color: rgba(255,255,255,.38); font-size: 11px; }

/* Premium light treatment for the former dark and yellow sections */
.dark-section,
.data-section,
.wireframes,
.testing,
.impact { color: var(--ink); background: #e9edef; }
.dark-section .section-label.light,
.data-section .section-label.light,
.wireframes .section-label.light,
.testing .section-label.light,
.impact .section-label.light { color: var(--muted); }
.dark-section .section-label.light::after,
.data-section .section-label.light::after,
.wireframes .section-label.light::after,
.testing .section-label.light::after,
.impact .section-label.light::after { background: var(--line); }
.dark-section .section-label.light span,
.data-section .section-label.light span,
.wireframes .section-label.light span,
.testing .section-label.light span,
.impact .section-label.light span { border-color: var(--line); color: var(--ink); }
.challenge-list article,
.feedback-list article { border-color: var(--line); }
.challenge-list p,
.wireframe-head p:last-child,
.testing-grid > div:first-child > p:last-child,
.feedback-list p,
.impact-grid p,
.impact-note { color: var(--muted); }
.chart-card,
.score-grid,
.impact-grid article { border-color: rgba(255,255,255,.96); background: var(--white); box-shadow: 0 22px 60px rgba(37,45,54,.09), 0 2px 8px rgba(37,45,54,.04); }
.donut { background: conic-gradient(var(--gold) 0, var(--gold) 0, #e4e8ec 0); }
.donut::after { background: var(--white); }
.in-view .donut { background: conic-gradient(var(--gold) calc(var(--value) * 1%), #e4e8ec 0); }
.chart-card p,
.score-grid span,
.filter-copy p:last-child { color: var(--muted); }
.score-grid i { background: #e3e7ea; }
.filter-chart { border-color: var(--line); }
.bars i { background: #dfe4e8; }
.wireframe-stage { border-color: rgba(255,255,255,.96); background: var(--white); box-shadow: 0 24px 65px rgba(37,45,54,.09), 0 2px 8px rgba(37,45,54,.04); }
.lofi-row img { filter: grayscale(.9) drop-shadow(0 18px 22px rgba(37,45,54,.12)); }
.impact-grid h3 { color: var(--ink); }
.solution { background: #e9edef; }

.closing { min-height: 80svh; padding: 120px max(5vw, calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: space-between; gap: 50px; background: #e9edef; }
.closing > div:first-child { padding: clamp(44px, 7vw, 90px); border: 1px solid rgba(255,255,255,.96); border-radius: 30px; background: linear-gradient(135deg, #ffffff, #fff9ec 70%, #f7dfa6 125%); box-shadow: 0 30px 75px rgba(37,45,54,.11), 0 3px 10px rgba(37,45,54,.05); }
.closing > div > p { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.closing h2 { max-width: 1100px; font-size: clamp(50px, 7vw, 96px); }
.live-autochek { display: inline-flex; align-items: center; justify-content: center; gap: 22px; align-self: center; padding: 17px 24px; border-radius: 999px; color: #17130a; background: var(--gold); box-shadow: 0 12px 25px rgba(190,128,0,.22); font-size: 13px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease; }
.live-autochek:hover { transform: translateY(-3px); box-shadow: 0 17px 30px rgba(190,128,0,.3); }
.closing-talk { display: inline-flex; align-items: center; gap: 20px; margin-top: 24px; padding: 15px 21px; border: 1px solid rgba(23,19,10,.18); border-radius: 999px; color: #17130a; background: rgba(255,255,255,.78); box-shadow: 0 10px 22px rgba(54,66,80,.08); font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.closing-talk:hover { background: var(--gold); transform: translateY(-3px); }
.closing-actions { display: flex; align-items: center; gap: 24px; }
.closing-actions a { border-bottom: 1px solid currentColor; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 28px max(5vw, calc((100vw - var(--max)) / 2)); color: rgba(255,255,255,.55); background: var(--ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.lightbox { width: min(94vw, 1120px); max-height: 92vh; padding: 18px; border: 0; border-radius: 22px; background: #f2f0ea; box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.lightbox::backdrop { background: rgba(12,12,12,.82); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; max-height: calc(92vh - 36px); object-fit: contain; }
.lightbox-close { position: fixed; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; color: white; background: var(--ink); cursor: pointer; font-size: 24px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes float-left { 0%,100% { transform: translateY(-42%) rotate(-9deg); } 50% { transform: translateY(-46%) rotate(-7deg); } }
@keyframes float-center { 0%,100% { transform: translateY(-52%); } 50% { transform: translateY(-56%); } }
@keyframes float-right { 0%,100% { transform: translateY(-40%) rotate(8deg); } 50% { transform: translateY(-45%) rotate(6deg); } }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes availability-pulse { 70% { box-shadow: 0 0 0 7px rgba(99,210,119,0); } 100% { box-shadow: 0 0 0 0 rgba(99,210,119,0); } }

.works-index { background: #12110e; }
.works-main { min-height: 100vh; color: white; background: #12110e; }
.works-hero { padding: 190px max(5vw, calc((100vw - var(--max)) / 2)) 110px; }
.works-hero h1 { max-width: 1100px; margin-bottom: 38px; font-size: clamp(62px, 8.4vw, 124px); }
.works-hero h1 em { color: #b99a62; }
.works-hero > p:last-child { max-width: 600px; color: rgba(255,255,255,.52); font-size: 18px; }
.works-list { padding: 0 max(5vw, calc((100vw - var(--max)) / 2)) 150px; }
.work-card { display: grid; grid-template-columns: 1.15fr .85fr; border-top: 1px solid rgba(255,255,255,.16); padding-top: 30px; }
.work-card-image { position: relative; display: grid; place-items: center; min-height: 680px; border-radius: 26px; overflow: hidden; background: var(--navy); }
.work-card-image::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: rgba(255,182,25,.24); filter: blur(30px); }
.work-card-image img { position: relative; z-index: 1; width: min(55%, 390px); filter: drop-shadow(0 32px 30px rgba(0,0,0,.28)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.work-card:hover .work-card-image img { transform: translateY(-10px) rotate(2deg); }
.work-card-image > span { position: absolute; z-index: 2; right: 24px; bottom: 24px; padding: 11px 15px; border-radius: 999px; color: #111; background: var(--gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.work-card-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0 20px clamp(28px, 5vw, 72px); }
.work-card-copy > div { display: flex; flex-wrap: wrap; gap: 8px; }
.work-card-copy > div span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.65); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.work-card-copy h2 { margin: auto 0 20px; font-size: clamp(48px, 5.2vw, 76px); }
.work-card-copy p { max-width: 470px; color: rgba(255,255,255,.5); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr .9fr .8fr auto; }
  .site-header .header-meta:nth-of-type(2) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 190px; }
  .hero-visual { min-height: 600px; }
  .hero-copy { max-width: 850px; }
  .intro-grid, .challenge-grid, .research-intro, .structure-grid, .system-grid, .solution-heading, .testing-grid, .iteration-block { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }
  .challenge-grid, .research-intro, .structure-grid, .system-grid, .testing-grid { gap: 50px; }
  .structure { padding-bottom: 90px; }
  .process-track { grid-template-columns: repeat(3, 1fr); gap: 34px 10px; }
  .process-track::before { display: none; }
  .chart-grid { grid-template-columns: 1fr 1fr; }
  .chart-card:last-child { grid-column: span 2; }
  .wireframe-head, .prototype-shell { grid-template-columns: 1fr; }
  .prototype-shell { min-height: 0; }
  .prototype-copy h3 { margin-top: 45px; }
  .screen-gallery { grid-template-columns: repeat(3, 1fr); }
  .supporting-screens { grid-template-columns: repeat(3, 1fr); }
  .finance-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card { grid-template-columns: 1fr; }
  .work-card-copy { min-height: 420px; padding: 35px 0 0; }
  .feature-showcase { grid-template-columns: 1fr; }
  .feature-showcase-intro { position: static; max-width: 760px; padding: 0 0 35px; }
  .product-feature-card { min-height: 520px; }
  .walkthrough-layout { grid-template-columns: 1fr 1fr; }
  .walkthrough-screen { grid-column: 1 / -1; grid-row: 1; }
  .walkthrough-notes { grid-row: 2; }
  .walkthrough-notes article::before { display: none; }
}

@media (max-width: 720px) {
  .site-header { position: absolute; grid-template-columns: 1fr auto; padding: 15px 20px; align-items: center; }
  .site-header .header-meta, .site-header nav { display: none; }
  .header-cta { font-size: 11px; }
  .header-cta span { width: 26px; height: 26px; }
  .case-back { top: 86px; left: 20px; }
  .hero { min-height: auto; padding: 150px 20px 70px; }
  h1 { font-size: clamp(54px, 17vw, 78px); }
  h2 { font-size: clamp(43px, 13vw, 64px); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 430px; margin: 20px -20px 0; }
  .phone { width: 39%; }
  .phone-left { left: 0; }
  .phone-center { left: 30%; }
  .phone-right { right: 0; }
  .orbit-one { width: 490px; height: 290px; }
  .orbit-two { width: 330px; height: 430px; }
  .scroll-cue { display: none; }
  .section { padding: 95px 20px; }
  .section-label { margin-bottom: 48px; }
  .lead { font-size: 29px; }
  .scope-grid, .insight-grid, .persona-grid, .score-grid, .filter-chart, .wireframe-stage, .persona-columns, .iteration-images { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; border-top: 0; }
  .process-track li { padding: 24px; border-top: 1px solid var(--line); }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-card:last-child { grid-column: auto; }
  .score-grid { padding: 28px; }
  .filter-chart { gap: 50px; }
  .persona { padding: 28px; }
  .journey { grid-template-columns: 1fr; border-top: 0; }
  .journey div { padding: 22px; border-left: 1px solid var(--line); }
  .journey div::before { left: -6px; top: 27px; }
  .wireframe-stage { padding: 24px; }
  .structure { padding-bottom: 72px; }
  .image-button { height: 330px; }
  .lofi-row { grid-template-columns: repeat(2, 1fr); overflow: hidden; }
  .lofi-row button { height: 300px; padding: 12px; }
  .tokens { grid-template-columns: repeat(2, 1fr); }
  .tokens div { height: 180px; }
  .type-specimen { padding: 24px; gap: 20px; }
  .type-specimen > span { font-size: 80px; }
  .prototype-shell { margin-left: -8px; margin-right: -8px; }
  .prototype-copy { padding: 38px 28px; }
  .prototype-phone { width: calc(100% - 30px); min-height: 620px; margin-top: 20px; }
  .decision-grid { grid-template-columns: 1fr; }
  .screen-gallery, .screen-gallery.second { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .screen-gallery button { min-width: 72vw; scroll-snap-align: center; }
  .supporting-screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .supporting-screens button { min-width: 68vw; scroll-snap-align: center; }
  .finance-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .finance-grid figure { min-width: 72vw; scroll-snap-align: center; }
  .finance-grid figure:nth-child(even) { margin-top: 0; }
  .iteration-block.reverse .iteration-copy { order: 0; }
  .impact-grid { grid-template-columns: 1fr; }
  .closing { min-height: 70svh; padding: 100px 20px 60px; }
  .closing-actions { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; padding: 28px 20px; }
  .works-hero { padding: 140px 20px 80px; }
  .works-hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .works-list { padding: 0 20px 100px; }
  .work-card-image { min-height: 500px; }
  .work-card-image img { width: 70%; }
  .work-card-copy { min-height: 370px; }
  .product-feature-card { min-height: 760px; grid-template-columns: 1fr; padding: 28px 24px 0; }
  .feature-number { margin-bottom: 28px; }
  .feature-device { min-height: 410px; }
  .feature-device.single img { width: min(74%, 280px); right: 10%; }
  /* The homepage screen is taller than the feature copy on small screens.
     Give this first card a dedicated image row so the mockup never crosses
     the checklist above it. */
  .product-feature-card:first-child { min-height: 860px; }
  .product-feature-card:first-child .feature-device.single { min-height: 470px; margin-top: 68px; }
  .product-feature-card:first-child .feature-device.single img { width: min(63%, 235px); right: 18%; bottom: -22px; }
  .feature-device.pair img { width: min(52%, 210px); }
  .interface-walkthroughs { margin-top: 100px; }
  .walkthrough-heading { grid-template-columns: 1fr; gap: 18px; }
  .walkthrough-layout { grid-template-columns: 1fr; gap: 18px; }
  .walkthrough-screen { grid-column: auto; grid-row: auto; width: min(100%, 290px); order: -1; }
  .walkthrough-notes { grid-row: auto; }
  .feature-walkthrough { padding: 24px 18px; }
  .feature-walkthrough > header { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
