:root {
  --stone: #000;
  --vein: #fff;
  --ink: #000;
  --graphite: #5a5a5a;
  --ash: #a8a8a8;
  --hairline: #e4e4e4;
  --paper-alt: #f5f5f5;
  --rec: #ff3b30;

  --wide: "wdth" 125;
  --semi: "wdth" 112;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--vein);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 700; font-variation-settings: var(--wide); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.25rem); line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.08; }
h3 { font-size: 1.125rem; line-height: 1.25; font-variation-settings: var(--semi); letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
button { font: inherit; color: inherit; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--vein); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--vein);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  view-transition-name: site-header;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  font-weight: 800; font-variation-settings: var(--wide);
  font-size: 1.125rem; letter-spacing: -0.03em; text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 0.9375rem; }
.site-nav a { position: relative; text-decoration: none; color: var(--ash); padding: 4px 0; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--vein);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.site-nav a:hover { color: var(--vein); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: var(--vein); }
.site-nav .nav-cta { color: var(--stone); background: var(--vein); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { color: var(--stone); background: #dcdcdc; }
.menu-toggle { display: none; }

/* ---------- Stone surfaces ---------- */
.stone { position: relative; background: var(--stone); color: var(--vein); overflow: hidden; isolation: isolate; }
.stone-layer { position: absolute; inset: 0; z-index: -1; background: var(--stone) url("/assets/stone.jpg") center / cover no-repeat; }
.stone-glint {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  mix-blend-mode: color-dodge;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,0.22) 47%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0.22) 53%, transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: 150% 0;
}
.stone::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Each page gets its own slice of the slab */
.stone-a .stone-layer { background-position: 30% 40%; }
.stone-b .stone-layer { background-position: 80% 20%; transform: rotate(180deg); }
.stone-c .stone-layer { background-position: 10% 90%; transform: scaleX(-1); }
.stone-d .stone-layer { background-position: 60% 70%; transform: scaleY(-1); }

/* ---------- Home hero with viewfinder ---------- */
.hero { min-height: min(90vh, 880px); display: flex; align-items: flex-end; }
.hero::after {
  background:
    linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0) 72%),
    linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%);
}
.hero-inner { width: 100%; padding-top: 140px; padding-bottom: clamp(64px, 9vw, 112px); }
.hero h1 { max-width: 14ch; }
.hero-sub { margin-top: 28px; max-width: 52ch; font-size: 1.1875rem; color: #d6d6d6; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.viewfinder { position: absolute; inset: clamp(16px, 3vw, 32px); pointer-events: none; z-index: 1; }
.viewfinder .corner { position: absolute; width: 28px; height: 28px; border-color: rgba(255,255,255,0.75); border-style: solid; border-width: 0; }
.viewfinder .tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.viewfinder .tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.viewfinder .bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder .br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-rec, .vf-tc, .vf-meta {
  position: absolute; font-size: 0.8125rem; color: rgba(255,255,255,0.85);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.vf-rec { top: 10px; left: 44px; display: flex; align-items: center; gap: 8px; }
.vf-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); }
.vf-tc { top: 10px; right: 44px; }
.vf-meta { bottom: 8px; right: 44px; color: rgba(255,255,255,0.6); }
.vf-focus {
  position: absolute; right: 18%; top: 38%; width: 84px; height: 84px;
  border: 1px solid rgba(255,255,255,0.55);
}
.vf-focus::before, .vf-focus::after { content: ""; position: absolute; background: rgba(255,255,255,0.55); }
.vf-focus::before { left: 50%; top: 50%; width: 12px; height: 1px; margin-left: -6px; }
.vf-focus::after { left: 50%; top: 50%; width: 1px; height: 12px; margin-top: -6px; }

/* ---------- Inner page heroes ---------- */
.page-hero { min-height: min(58vh, 560px); display: flex; align-items: flex-end; }
.page-hero::after { background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%); }
.page-hero-inner { width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; max-width: 54ch; font-size: 1.1875rem; color: #d6d6d6; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid var(--vein);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--vein); color: var(--stone); }
.btn-light:hover { background: #dcdcdc; border-color: #dcdcdc; }
.btn-ghost { background: transparent; color: var(--vein); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--vein); }
.btn-dark { background: var(--stone); color: var(--vein); border-color: var(--stone); }
.btn-dark:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--vein); }

.text-link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 0.35s var(--ease); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-alt { background: var(--paper-alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 48px; }
.section-head p { color: var(--graphite); max-width: 46ch; }
.muted { color: var(--graphite); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--hairline); padding: 22px 0; background: var(--vein); }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-group span {
  font-variation-settings: var(--wide); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; white-space: nowrap;
}
.marquee-group span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-group i { width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); flex: none; }

/* ---------- Showcase (home) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 340px; gap: 48px 80px; align-items: center; margin-top: 48px; }
.seg-list { border-top: 1px solid var(--ink); }
.seg-btn {
  display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hairline);
  padding: 22px 0; cursor: pointer; position: relative;
}
.seg-btn h3 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-variation-settings: var(--wide); letter-spacing: -0.02em; color: #b9b9b9; transition: color 0.3s ease; }
.seg-btn .seg-eg { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--graphite); }
.seg-btn .seg-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.seg-btn .seg-body > p { overflow: hidden; color: var(--graphite); max-width: 52ch; }
.seg-btn[aria-selected="true"] h3, .seg-btn:hover h3 { color: var(--ink); }
.seg-btn[aria-selected="true"] .seg-body { grid-template-rows: 1fr; }
.seg-btn[aria-selected="true"] .seg-body > p { padding-top: 12px; }
.seg-btn::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
}
.seg-btn[aria-selected="true"]::after { animation: seg-progress var(--cycle, 9s) linear forwards; }
@keyframes seg-progress { to { transform: scaleX(1); } }

/* Phone mockup */
.phone {
  position: relative; width: 100%; max-width: 340px; aspect-ratio: 9 / 19; justify-self: center;
  border-radius: 44px; background: #111; padding: 10px; box-shadow: 0 0 0 1px #2b2b2b, 0 30px 60px -20px rgba(0,0,0,0.45);
}
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--stone); color: var(--vein); isolation: isolate; }
.phone-screen .stone-layer { background-size: 340% auto; transition: background-position 1.4s var(--ease); }
.phone-screen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85)); }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 3; }
.story-bars { position: absolute; top: 46px; left: 14px; right: 14px; display: flex; gap: 4px; z-index: 2; }
.story-bars span { flex: 1; height: 2px; background: rgba(255,255,255,0.35); border-radius: 2px; overflow: hidden; }
.story-bars span i { display: block; height: 100%; background: var(--vein); transform: scaleX(0); transform-origin: left; }
.story-bars span.done i { transform: scaleX(1); }
.story-bars span.active i { animation: seg-progress var(--slide, 3s) linear forwards; }
.phone-top { position: absolute; top: 58px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 600; z-index: 2; }
.phone-hook {
  position: absolute; left: 18px; right: 64px; top: 40%; z-index: 2;
  font-variation-settings: var(--wide); font-weight: 800; font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.02em;
}
.phone-hook span { display: block; }
.phone-hook.out span { animation: hook-out 0.35s ease forwards; }
.phone-hook.in span { animation: hook-in 0.55s var(--ease) both; }
@keyframes hook-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes hook-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.phone-side { position: absolute; right: 12px; bottom: 96px; display: grid; gap: 18px; justify-items: center; z-index: 2; font-size: 0.6875rem; }
.phone-side svg { width: 26px; height: 26px; display: block; margin: 0 auto 3px; }
.phone-side .liked svg { animation: pop 0.4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }
.phone-bottom { position: absolute; left: 16px; right: 64px; bottom: 26px; z-index: 2; font-size: 0.8125rem; }
.phone-bottom strong { display: block; font-weight: 600; margin-bottom: 4px; }
.phone-bottom p { color: rgba(255,255,255,0.8); }

/* ---------- Why / numbers ---------- */
.why { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; }
.compare-item { border-top: 1px solid var(--ink); padding-top: 20px; }
.compare-num { display: block; font-variation-settings: var(--wide); font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.compare-num small { font-size: 0.4em; font-weight: 500; color: var(--graphite); letter-spacing: 0; }
.compare-item p { margin-top: 14px; color: var(--graphite); max-width: 40ch; }
.compare-item.ours .compare-num { color: var(--ink); }
.compare-item.theirs .compare-num { color: #b3b3b3; }

/* ---------- Big link rows ---------- */
.link-rows { border-top: 1px solid var(--ink); }
.link-row {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 40px;
  padding: 30px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; isolation: isolate;
}
.link-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink);
  clip-path: inset(0 100% 0 0); transition: clip-path 0.55s var(--ease);
}
.link-row h3 { font-size: clamp(1.75rem, 4vw, 3rem); font-variation-settings: var(--wide); letter-spacing: -0.03em; transition: color 0.3s ease, transform 0.55s var(--ease); }
.link-row p { color: var(--graphite); transition: color 0.3s ease; grid-column: 1; }
.link-row .arrow { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; transition: transform 0.55s var(--ease), color 0.3s ease; }
.link-row:hover::before, .link-row:focus-visible::before { clip-path: inset(0 0 0 0); }
.link-row:hover h3, .link-row:focus-visible h3 { color: var(--vein); transform: translateX(12px); }
.link-row:hover p, .link-row:focus-visible p { color: var(--ash); transform: translateX(12px); }
.link-row:hover .arrow, .link-row:focus-visible .arrow { color: var(--vein); transform: rotate(-45deg); }
.link-row p { transition: color 0.3s ease, transform 0.55s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(72px, 10vw, 120px) 0; }
.cta-band::after { background: linear-gradient(to right, rgba(0,0,0,0.82), rgba(0,0,0,0.45)); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.cta-inner h2 { max-width: 16ch; }
.cta-inner p { margin-top: 16px; color: #d6d6d6; max-width: 46ch; }

/* ---------- Packages page ---------- */
.finder { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px 72px; align-items: start; }
.finder-q { border-top: 1px solid var(--ink); padding: 20px 0 28px; }
.finder-q[hidden] { display: none; }
.finder-q legend { float: left; width: 100%; padding: 0; font-weight: 600; margin-bottom: 14px; }
.finder-q .chips { clear: both; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid #c8c8c8; font-size: 0.9375rem; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--vein); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.finder-result {
  position: relative; background: var(--stone); color: var(--vein); border-radius: 6px; padding: clamp(28px, 4vw, 40px);
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.finder-result .stone-layer { background-position: 70% 30%; opacity: 0.8; }
.finder-result::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3)); }
.finder-result .fr-label { color: var(--ash); font-size: 0.9375rem; }
.finder-result .fr-name { margin-top: 8px; font-variation-settings: var(--wide); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.finder-result .fr-price { margin-top: 6px; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.finder-result .fr-why { margin-top: 14px; color: #d6d6d6; max-width: 44ch; }
.finder-result .fr-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.finder-result.swap > * { animation: hook-in 0.5s var(--ease) both; }
.finder-result.swap > *:nth-child(3) { animation-delay: 40ms; }
.finder-result.swap > *:nth-child(4) { animation-delay: 80ms; }
.finder-result.swap > *:nth-child(5) { animation-delay: 120ms; }

.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-alt); margin-bottom: 40px; }
.tab {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; color: var(--graphite); transition: color 0.3s ease;
}
.tab[aria-selected="true"] { color: var(--vein); }
.tab-indicator { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 999px; background: var(--ink); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel .panel-intro { color: var(--graphite); margin-bottom: 28px; max-width: 60ch; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.plan { padding: 32px 40px 32px 0; transition: background-color 0.4s ease; position: relative; }
.plan + .plan { padding-left: 40px; border-left: 1px solid var(--hairline); }
.plan-name { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.plan-price { font-variation-settings: var(--wide); font-weight: 700; font-size: clamp(2.25rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 0.4em; font-weight: 500; color: var(--graphite); letter-spacing: 0; }
.plan-for { margin-top: 10px; color: var(--graphite); }
.plan ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 1px; background: var(--ink); }
.plan .btn { margin-top: 28px; }
.plan.highlight::before {
  content: ""; position: absolute; inset: -1px 0 0; border-top: 3px solid var(--ink);
  animation: highlight-in 0.8s var(--ease) both;
}
@keyframes highlight-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.badge { font-size: 0.8125rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--vein); white-space: nowrap; }

.calc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px 72px; align-items: center; }
.calc-control label { display: block; font-weight: 600; margin-bottom: 14px; }
.calc-control output { font-variation-settings: var(--wide); font-weight: 700; font-size: 2rem; display: block; margin-bottom: 8px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; padding: 0; border: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--fill, 50%) 100% no-repeat, #d0d0d0; }
input[type="range"]::-moz-range-track { height: 2px; background: #d0d0d0; }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 3px solid var(--vein); box-shadow: 0 0 0 1px var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--vein); box-shadow: 0 0 0 1px var(--ink); cursor: grab; }
.calc-note { margin-top: 14px; font-size: 0.875rem; color: var(--graphite); }
.bars { display: grid; gap: 22px; }
.bar-row .bar-label { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9375rem; margin-bottom: 8px; }
.bar-row .bar-label strong { font-variant-numeric: tabular-nums; }
.bar { height: 14px; background: var(--paper-alt); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--ink); transition: width 0.6s var(--ease); }
.bar-row.theirs .bar i { background: #b3b3b3; }
.calc-verdict { margin-top: 4px; font-weight: 600; }

.addons { width: 100%; border-collapse: collapse; }
.addons th, .addons td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-weight: 400; vertical-align: baseline; }
.addons tr:first-child th, .addons tr:first-child td { border-top: 1px solid var(--ink); }
.addons td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: start; }
.policy-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.policy-list li { padding: 14px 0; border-bottom: 1px solid var(--hairline); color: var(--graphite); }
.policy-list strong { color: var(--ink); font-weight: 600; }

/* ---------- How it works ---------- */
.timeline { position: relative; list-style: none; margin-top: 56px; padding-left: 88px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--hairline); }
.timeline-fill { position: absolute; left: 27px; top: 8px; width: 1px; height: calc(100% - 16px); background: var(--ink); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline li { position: relative; padding: 0 0 56px; max-width: 640px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: -88px; top: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--vein); border: 1px solid #cfcfcf; color: #9a9a9a;
  font-variation-settings: var(--wide); font-weight: 700; font-size: 1.125rem;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}
.timeline li.lit .dot { background: var(--ink); color: var(--vein); border-color: var(--ink); transform: scale(1.06); }
.timeline h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-variation-settings: var(--wide); letter-spacing: -0.02em; padding-top: 12px; }
.timeline .when { margin-top: 4px; font-size: 0.875rem; color: var(--graphite); }
.timeline p.desc { margin-top: 12px; color: var(--graphite); }
.timeline li h3, .timeline li .when, .timeline li p.desc { transition: opacity 0.5s ease; }
.js .timeline li:not(.lit) h3, .js .timeline li:not(.lit) .when, .js .timeline li:not(.lit) p.desc { opacity: 0.35; }

.roles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.role { position: relative; padding: 36px 40px 40px 0; isolation: isolate; }
.role + .role { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--hairline); }
.role .role-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-variation-settings: var(--wide); letter-spacing: -0.03em; }
.role .role-sub { margin-top: 6px; color: var(--graphite); }
.role ul { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.role li { padding: 6px 14px; border: 1px solid #cfcfcf; border-radius: 999px; font-size: 0.875rem; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.role:hover li { background: var(--ink); color: var(--vein); border-color: var(--ink); }
.role:hover li:nth-child(2) { transition-delay: 40ms; }
.role:hover li:nth-child(3) { transition-delay: 80ms; }
.role:hover li:nth-child(4) { transition-delay: 120ms; }
.role:hover li:nth-child(5) { transition-delay: 160ms; }
.role:hover li:nth-child(6) { transition-delay: 200ms; }
.shared-note { border-top: 1px solid var(--hairline); padding-top: 20px; margin-top: 8px; color: var(--graphite); }
.shared-note strong { color: var(--ink); }

.your-part { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.your-part div { border-top: 1px solid var(--ink); padding-top: 18px; }
.your-part p { margin-top: 8px; color: var(--graphite); }

.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  text-align: left; background: none; border: 0; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem;
}
.faq-q .plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform 0.4s var(--ease); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--graphite); max-width: 64ch; padding-bottom: 22px; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* ---------- Work page ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #c8c8c8; background: none; cursor: pointer; font-size: 0.9375rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--vein); border-color: var(--ink); }
.filter .count { margin-left: 6px; opacity: 0.6; font-variant-numeric: tabular-nums; }

.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.format { transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.format.hide { display: none; }
.format.enter { animation: hook-in 0.5s var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }
.format-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--stone); color: var(--vein); isolation: isolate;
}
.format-frame .stone-layer { background-size: 420% auto; transition: transform 1.2s var(--ease); }
.format-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.format-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0) 35%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8)); }
.format-frame .fbar { position: absolute; top: 12px; left: 12px; right: 12px; height: 2px; background: rgba(255,255,255,0.3); border-radius: 2px; overflow: hidden; }
.format-frame .fbar i { display: block; height: 100%; background: var(--vein); transform: scaleX(0); transform-origin: left; }
.format-frame .flen { position: absolute; top: 24px; right: 12px; font-size: 0.75rem; color: rgba(255,255,255,0.8); font-variant-numeric: tabular-nums; }
.format-frame .ftitle {
  position: absolute; left: 14px; right: 14px; bottom: 16px;
  font-variation-settings: var(--wide); font-weight: 700; font-size: 1.125rem; line-height: 1.15; letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease);
}
.format-frame .fplay {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7); display: grid; place-items: center; opacity: 0; transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}
.format-frame .fplay::before { content: ""; margin-left: 4px; border-left: 14px solid var(--vein); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.format:hover .format-frame .stone-layer, .format:focus-within .format-frame .stone-layer { transform: scale(1.08); }
.format:hover .fbar i, .format:focus-within .fbar i { animation: seg-progress 4s linear forwards; }
.format:hover .fplay, .format:focus-within .fplay { opacity: 1; transform: scale(1); }
.format:hover .ftitle { transform: translateY(-4px); }
.format-meta { margin-top: 14px; }
.format-meta .tags { font-size: 0.8125rem; color: var(--graphite); }
.format-meta p { margin-top: 6px; font-size: 0.9375rem; color: var(--graphite); }

.logo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.logo-slot {
  aspect-ratio: 3 / 2; border: 1px dashed #b5b5b5; border-radius: 6px; display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--graphite); font-size: 0.9375rem; transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.logo-slot strong { display: block; color: var(--ink); font-variation-settings: var(--semi); font-size: 1.0625rem; margin-bottom: 4px; }
.logo-slot:hover { border-color: var(--ink); background: var(--paper-alt); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px 80px; align-items: start; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--ink); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.next-steps li::before { content: counter(ns); font-variation-settings: var(--wide); font-weight: 700; }
.next-steps p { color: var(--graphite); }
.contact-direct { margin-top: 28px; color: var(--graphite); font-size: 0.9375rem; }

.contact-form {
  background: var(--vein); color: var(--ink);
  padding: clamp(24px, 4vw, 40px); border-radius: 6px; border: 1px solid var(--hairline);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 6px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-size: 0.875rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--graphite); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--vein); border: 1px solid #c8c8c8; border-radius: 4px;
  padding: 11px 12px; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
[aria-invalid="true"] { border-color: #b00020; }
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; }
.form-status { font-size: 0.9375rem; min-height: 1.4em; }
.form-status.error { color: #b00020; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); color: var(--ash); padding: 56px 0 40px; font-size: 0.9375rem; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; }
.footer-inner .wordmark { color: var(--vein); font-size: 1.5rem; display: inline-block; margin-bottom: 10px; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a, .site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--vein); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8125rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; }
  .phone { max-width: 300px; }
  .finder, .calc, .two-col, .contact-grid, .compare { grid-template-columns: 1fr; }
  .formats { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block; font-size: 0.9375rem; color: var(--vein);
    background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 6px 14px; cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--stone); padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .hero::after, .page-hero::after, .cta-band::after { background: rgba(0,0,0,0.62); }
  .viewfinder .vf-focus, .viewfinder .vf-meta { display: none; }
  .plans, .roles { grid-template-columns: 1fr; }
  .plan, .plan + .plan, .role, .role + .role { padding: 28px 0; border-left: 0; }
  .plan + .plan, .role + .role { border-top: 1px solid var(--hairline); }
  .formats { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .logo-slots, .your-part { grid-template-columns: 1fr; }
  .logo-slot { aspect-ratio: auto; min-height: 120px; }
  .timeline { padding-left: 68px; }
  .timeline::before, .timeline-fill { left: 21px; }
  .timeline .dot { left: -68px; width: 44px; height: 44px; font-size: 1rem; }
  .timeline h3 { padding-top: 6px; }
  .field-pair { grid-template-columns: 1fr; }
  .tabs { border-radius: 20px; }
  .link-row .arrow { width: 32px; height: 32px; }
}

/* ---------- Motion ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.25s ease both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: no-preference) {
  .stone-glint { animation: glint 9s cubic-bezier(.45,0,.25,1) 2.2s infinite; }
  .cta-band .stone-glint { animation-delay: 5s; }
  @keyframes glint {
    0% { background-position: 150% 0; }
    45%, 100% { background-position: -50% 0; }
  }

  .js .hero .stone-layer, .js .page-hero .stone-layer { animation: settle 2.4s var(--ease) both; }
  @keyframes settle { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }

  .vf-rec::before { animation: blink 1.2s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .js .viewfinder .corner { animation: frame-in 1s var(--ease) 0.2s both; }
  .js .viewfinder .tl { --fx: -14px; --fy: -14px; }
  .js .viewfinder .tr { --fx: 14px; --fy: -14px; }
  .js .viewfinder .bl { --fx: -14px; --fy: 14px; }
  .js .viewfinder .br { --fx: 14px; --fy: 14px; }
  @keyframes frame-in { from { opacity: 0; transform: translate(var(--fx), var(--fy)); } }
  .js .vf-rec, .js .vf-tc, .js .vf-meta { animation: fade-up 0.6s ease 0.9s both; }
  .js .vf-focus { animation: focus-hunt 2.6s var(--ease) 0.4s both; }
  @keyframes focus-hunt {
    0% { opacity: 0; transform: scale(1.5); }
    30% { opacity: 1; transform: scale(0.9); }
    45% { transform: scale(1.05); }
    60%, 85% { transform: scale(1); opacity: 1; border-color: rgba(255,255,255,0.9); }
    100% { opacity: 0.5; }
  }

  [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  [data-split] .w > span { display: inline-block; animation: rise 0.9s var(--ease) both; animation-delay: calc(0.35s + var(--i) * 70ms); }
  @keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
  .js .hero-sub, .js .hero-actions, .js .page-hero .lead { animation: fade-up 0.8s var(--ease) both; animation-delay: 0.95s; }
  .js .hero-actions { animation-delay: 1.1s; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Rules draw across instead of appearing */
  .js .rule-draw { border-top-color: transparent !important; position: relative; }
  .js .rule-draw::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); z-index: 1;
    transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.6,0,.2,1); transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js .rule-draw.in::before { transform: scaleX(1); }

  .site-nav.open a { animation: fade-up 0.35s ease both; }
  .site-nav.open a:nth-child(2) { animation-delay: 40ms; }
  .site-nav.open a:nth-child(3) { animation-delay: 80ms; }
  .site-nav.open a:nth-child(4) { animation-delay: 120ms; }
  .site-nav.open a:nth-child(5) { animation-delay: 160ms; }
  .form-status:not(:empty) { animation: fade-up 0.4s ease both; }
  .site-header { transition: background-color 0.3s ease; }
  .site-header.scrolled { background: rgba(0, 0, 0, 0.94); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .seg-btn[aria-selected="true"]::after { animation: none; transform: scaleX(1); }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden] { display: none; }
}
