:root {
  --bg: #0b100f;
  --bezel: #1a201e;
  --cream: #f1ebdd;
  --amber: #ffb61e;
  --mute: #8c9791;
  --line: #27302d;
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --gut: max(20px, env(safe-area-inset-left));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--bg); color: var(--cream); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--bg); }
mark { background: var(--amber); color: var(--bg); padding: 0 .12em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 12px 16px; border-radius: 10px; background: var(--amber); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

/* nav floats over the footage */
.nav { position: fixed; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) var(--gut) 0; pointer-events: none; }
.nav a { pointer-events: auto; }
.nav.solid { pointer-events: auto; padding-bottom: 12px; background: rgba(11,16,15,.9); border-bottom: 1px solid var(--line); }
.mark { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; }
.mark i { font-style: normal; color: var(--amber); }
.nav-link { display: none; font-size: 15px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--amber); }

/* ---------- scroll story ---------- */
.mxs, .mxs-sticky { background: var(--bg); }
.scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(11,16,15,.78) 74%, rgba(11,16,15,.94) 100%); }

.mxs-step { left: var(--gut); right: var(--gut); bottom: calc(26px + env(safe-area-inset-bottom)); top: auto; text-align: left; color: var(--cream); }
.mxs-step .kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.mxs-step .kicker b { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 6px; background: var(--amber); color: var(--bg); font-weight: 600; letter-spacing: .04em; }
.mxs-step h1, .mxs-step h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.mxs-step h1 { font-size: clamp(40px, 11.6vw, 60px); line-height: .9; }
.mxs-step h2 { margin: 0 0 12px; font-size: clamp(32px, 9vw, 48px); line-height: .95; }
.mxs-step p { margin: 0; max-width: 34ch; font: 500 17px/1.45 var(--body); color: #d9d3c4; }
.mxs-step .note { margin-top: 14px; font-size: 13px; color: var(--mute); }
.pf { display: inline-block; margin-top: 14px; padding: 8px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--amber); pointer-events: auto; }
.pf:hover { color: var(--amber); }

/* hero: promise at the top, action at the bottom (phones) */
.step-hero { top: calc(74px + env(safe-area-inset-top)); display: flex; flex-direction: column; justify-content: space-between; }
.step-hero::before { content: ""; position: absolute; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); top: -140px; height: 75%; z-index: -1;
  background: linear-gradient(180deg, rgba(11,16,15,.92) 0%, rgba(11,16,15,.7) 55%, transparent 100%); }
.step-hero .lede { margin-top: 14px; }
.hint { display: flex; align-items: center; gap: 10px; margin-top: 16px !important; font-size: 14px !important; color: var(--mute) !important; }
.mouse { flex: none; width: 18px; height: 28px; border: 2px solid var(--mute); border-radius: 10px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--amber); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }

.cta { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 58px; padding: 0 24px; margin-top: 18px;
  border-radius: 16px; background: var(--amber); color: var(--bg) !important; font: 600 18px/1 var(--body); pointer-events: auto; transition: transform .2s; }
.cta:hover { transform: translateY(-2px); }

/* the editor-style timeline: playhead = scroll position */
.tl { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); top: calc(58px + env(safe-area-inset-top)); height: 4px; pointer-events: none; }
.tl-track { position: absolute; inset: 0; border-radius: 2px; background: rgba(241,235,221,.14); }
.tl-track span { display: none; }
.tl-head { position: absolute; left: 0; top: -3px; width: 100%; height: 10px; transform: translateX(calc(var(--mxs-pos, 0) * 25%)); will-change: transform; }
.tl-head::before { content: ""; position: absolute; left: -2px; top: 0; width: 4px; height: 10px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.mxs-watch { display: inline-flex; align-items: center; gap: 8px; right: var(--gut); top: max(14px, env(safe-area-inset-top)); min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255,182,30,.6); background: rgba(11,16,15,.72); color: var(--cream); font: 600 14px/1 var(--body); }
.mxs-watch svg { width: 10px; height: 12px; fill: var(--amber); }
.mxs-watch:hover { border-color: var(--amber); }
.mxs-hint { top: calc(74px + env(safe-area-inset-top)); color: var(--mute); font: 500 12px/1 var(--body); }
.mxs-loading { right: auto; left: var(--gut); bottom: 10px; color: var(--mute); font: 500 11px/1 var(--body); }

@media (min-width: 900px), (min-aspect-ratio: 9/10) {
  :root { --gut: max(40px, 5vw); }
  .nav-link { display: inline-block; }
  .scrim { background: linear-gradient(90deg, rgba(11,16,15,.9) 0%, rgba(11,16,15,.62) 30%, rgba(11,16,15,.12) 50%, transparent 62%); }
  /* the footage subject starts at ~37% of the width: captions stay left of it */
  .mxs-step { right: auto; top: 50%; bottom: auto; width: min(520px, 31vw); transform: translateY(-50%); }
  .step-hero { width: min(560px, 40vw); }
  .mxs-step h1 { font-size: clamp(54px, 5.6vw, 96px); }
  .mxs-step h2 { font-size: clamp(36px, 3.4vw, 60px); }
  .mxs-step p { font-size: 19px; }
  .step-hero { top: 50%; display: block; }
  .step-hero::before { display: none; }
  .hero-bottom { margin-top: 26px; }
  .tl { top: auto; bottom: 34px; right: calc(var(--gut) + 200px); height: 26px; }
  .tl-track { top: 18px; height: 4px; bottom: auto; }
  .tl-track span { display: block; position: absolute; top: -20px; font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transform: translateX(-50%); }
  .tl-track span:nth-child(1) { left: 25%; } .tl-track span:nth-child(2) { left: 50%; }
  .tl-track span:nth-child(3) { left: 75%; } .tl-track span:nth-child(4) { left: 100%; transform: translateX(-100%); }
  .tl-head { top: 12px; height: 16px; }
  .tl-head::before { height: 16px; }
  .mxs-watch { top: auto; bottom: 24px; }
  .mxs-hint { top: auto; bottom: 80px; left: auto; right: var(--gut); transform: none; }
}
/* short landscape phones: keep the hero inside the screen */
@media (max-height: 520px) and (min-aspect-ratio: 9/10) {
  .mxs-step h1 { font-size: 40px; } .mxs-step h2 { font-size: 34px; } .mxs-step p { font-size: 15px; } .cta { min-height: 48px; }
}

/* ---------- below the story ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 56px; }
.stat { background: var(--cream); color: var(--bg); border-radius: 26px; padding: 16px 6px 14px; text-align: center; }
.stat strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 10vw, 60px); line-height: .95; }
.stat span { display: block; margin-top: 6px; font-size: clamp(12px, 3.2vw, 15px); font-weight: 500; line-height: 1.25; }

.proof { display: grid; gap: 40px; padding-top: 72px; }
.proof h2, .contact h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 72px); line-height: .92; margin-bottom: 20px; }
.bubble { background: #141b19; border: 1px solid #2a332f; border-radius: 34px; padding: 30px 24px 22px; }
.slides { list-style: none; display: grid; touch-action: pan-y; }
.slides li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .3s, transform .3s, visibility .3s; }
.slides li.on { opacity: 1; visibility: visible; transform: none; }
.slides p { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8vw, 46px); line-height: 1.06; }
.ctrl { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #3a4540; background: transparent; color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ctrl button:hover { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.ctrl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.count { margin-left: auto; color: var(--mute); font-size: 15px; font-variant-numeric: tabular-nums; }
.worked { margin-top: 18px; color: var(--mute); font-size: 15px; }
.worked b { color: var(--cream); font-weight: 600; }

.reel-wrap { display: grid; justify-items: center; position: relative; }
.reel-wrap::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; top: 45%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,182,30,.26), rgba(255,140,30,.08) 55%, transparent 75%); }
.reel { position: relative; width: min(100%, 330px); aspect-ratio: 9 / 16; border: 9px solid var(--bezel); border-radius: 40px; background: #000; overflow: hidden; box-shadow: 0 0 0 1px #2e3733, 0 30px 80px rgba(0,0,0,.6); }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-cap { position: relative; margin-top: 12px; color: var(--mute); font-size: 14px; }

.contact { padding-top: 96px; padding-bottom: 72px; }
.contact h2 { max-width: 14ch; }
.price { max-width: 46ch; margin-bottom: 8px; color: var(--mute); font-size: 17px; }
.alt { display: inline-block; margin-top: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.alt:hover { border-color: var(--amber); }
.clips-link { margin-top: 40px; color: var(--mute); font-size: 16px; }
.clips-link .pf { margin-top: 4px; color: var(--cream); }

footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: max(36px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--mute); font-size: 14px; }
footer nav { display: flex; gap: 24px; }
footer a:hover { color: var(--cream); }
.cone { width: 12px; height: 14px; vertical-align: -1px; margin-left: 2px; }

.sticky { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 56px;
  border-radius: 16px; background: var(--amber); color: var(--bg); font-weight: 600; font-size: 17px; box-shadow: 0 10px 30px rgba(0,0,0,.55); transform: translateY(160%); transition: transform .3s; }
.sticky.show { transform: none; }
@media (max-width: 899px) { footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) {
  .sticky { left: auto; right: 32px; width: 320px; }
  .stats { padding-top: 88px; }
  .proof { grid-template-columns: 1.2fr .8fr; align-items: center; column-gap: 72px; padding-top: 110px; }
  .contact { padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .cta:hover { transform: none; }
  .slides li, .sticky { transition: none; }
  .mouse::after { animation: none; }
}
