/* Layout: StoryBrand order. Promise, stakes, the turn, guide, plan, offer, proof, success, self-check, call to action.
   Signature: a brass porthole bezel that turns as you scroll. Motion is quiet everywhere else. */
:root {
  --paper: #F2F4F3;      /* harbor fog */
  --ink: #14212B;        /* deep water */
  --muted: #56636C;
  --line: #CDD4D6;
  --brass: #C4441C;      /* brand orange, deepened for small text on light */
  --accent-band: #F15A2D; /* brand orange on dark bands */
  --band: #14212B;
  --band-ink: #E9ECE8;
  --ph: #E3E8E8;
  --ph-stripe: #D8DFE0;
  --glint: rgba(255,255,255,.55);
  --tint: rgba(20,33,43,.04);
  --display: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --label: "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --wrap: 1120px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F171D; --ink: #E5E9E6; --muted: #9AA7AE; --line: #26343D;
    --brass: #F15A2D; --band: #0A1116; --band-ink: #E5E9E6;
    --ph: #17232B; --ph-stripe: #1C2A33; --glint: rgba(255,255,255,.08); --tint: rgba(229,233,230,.04);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F171D; --ink: #E5E9E6; --muted: #9AA7AE; --line: #26343D;
  --brass: #F15A2D; --band: #0A1116; --band-ink: #E5E9E6;
  --ph: #17232B; --ph-stripe: #1C2A33; --glint: rgba(255,255,255,.08); --tint: rgba(229,233,230,.04);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section .wrap { padding-block: clamp(64px, 9vw, 112px); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.label { font-family: var(--label); font-weight: 400; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); margin: 0; }
.label.brass { color: var(--brass); }
p { margin: 0; max-width: 64ch; }
.lede { font-size: 1.3rem; line-height: 1.55; }
.for { font-family: var(--label); font-size: 0.95rem; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 22px; }

/* Links with a travelling arrow */
.more { font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); text-decoration: none; font-weight: 500; display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; }
.more::after { content: "\2192"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(6px); }

/* Buttons: brass fills in from the left */
.btn {
  display: inline-block; font-family: var(--label); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 15px 24px; border: 2px solid var(--ink);
  background-color: var(--ink); color: var(--paper);
  background-image: linear-gradient(var(--brass), var(--brass)); background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size .45s var(--ease), border-color .3s, color .3s;
}
.btn:hover { background-size: 100% 100%; border-color: var(--brass); color: var(--paper); }
.btn.ghost { background-color: transparent; color: var(--ink); }
.btn.ghost:hover { color: var(--paper); }
.btn.small { padding: 10px 16px; font-size: 0.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header styles live in header.css, shared with every page */
.mark { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.mark .port { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--brass); flex: none; transition: transform .6s var(--ease); }
.mark:hover .port { transform: rotate(180deg) scale(.86); }
.mark img { height: 40px; width: auto; display: block; transition: transform .5s var(--ease); }
.mark:hover img { transform: rotate(-4deg) scale(1.04); }
.foot-mark { align-self: flex-start; margin-bottom: 10px; color: var(--ink); }
.mark .wm { display: flex; flex-direction: column; line-height: 1; }
.mark .wm b { font-weight: 500; font-size: 1.12rem; letter-spacing: 0.06em; }
.mark .wm small { font-family: var(--label); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.62em; color: var(--muted); margin-top: 6px; }

/* Image placeholders */
.ph {
  background: repeating-linear-gradient(135deg, var(--ph) 0 14px, var(--ph-stripe) 14px 15px);
  color: var(--muted); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 22px; max-width: 100%; border: 1px solid var(--line);
}
.ph .label { font-size: 0.7rem; }
.ph p, .ph .cap { display: block; font-style: italic; font-size: 0.98rem; line-height: 1.45; transition: opacity .35s; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.tall { aspect-ratio: 4 / 5; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero .copy { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 .w, .ab-hero h1 .w { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
.hero h1 .hl, .ab-hero h1 .hl { color: var(--brass); position: relative; }
.hero h1 .u, .ab-hero h1 .u { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.22em; overflow: visible; }
.hero h1 .u path, .ab-hero h1 .u path { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 0; animation: draw 1s var(--ease) .9s both; }
.hero .fade, .ab-hero .fade { animation: rise .9s var(--ease) both; animation-delay: .6s; }
@keyframes rise { from { opacity: .15; transform: translateY(.4em); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }

.porthole { position: relative; aspect-ratio: 1; width: 100%; max-width: 100%; }
.porthole .bezel { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.porthole .bezel circle { fill: none; stroke: var(--brass); }
.porthole .bezel line { stroke: var(--brass); }
.porthole .bezel text { fill: var(--muted); font-family: var(--label); font-size: 9px; letter-spacing: 1.5px; text-anchor: middle; dominant-baseline: middle; }
.porthole .glass { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; border: 6px solid var(--ink); }
.porthole .glass .ph { position: absolute; inset: -6%; border: none; border-radius: 50%; justify-content: center; align-items: center; text-align: center; padding: 22%; transition: transform .6s var(--ease); }
.porthole .glass .ph p { max-width: 24ch; }
.porthole .glass .photo { position: absolute; inset: -6%; display: block; transition: transform .6s var(--ease); }
.porthole .glass .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }

/* Stakes */
.stakes .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.stakes .head { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.figures { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.fig { padding: 26px 26px 0 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fig + .fig { padding-left: 26px; border-left: 1px solid var(--line); }
.num { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.fig p { font-size: 1rem; }
.src { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dots { display: inline-flex; gap: 0.09em; height: 0.72em; margin-left: 0.32em; vertical-align: baseline; }
.dots i { width: 0.14em; border-radius: 0.07em; background: var(--muted); opacity: .55; transition: background .7s var(--ease), opacity .7s var(--ease); }
.dots i:first-child { background: var(--brass); opacity: 1; }
.dots.go i:first-child { background: var(--line); opacity: .55; }
.figures .fig { padding-bottom: 6px; }
.figures .fig p { flex: 1; }

/* The turn */
.turn { background: var(--band); color: var(--band-ink); }
.turn .wrap { display: flex; flex-direction: column; gap: 26px; }
.turn h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 17ch; }
.turn .lede .wd { opacity: .5; transition: opacity .4s; }
.turn .lede .wd.lit { opacity: 1; }
/* The real fix: full-bleed photo under a navy gradient, darkest behind the copy */
.turn { position: relative; overflow: hidden; isolation: isolate; }
.turn .bg { position: absolute; inset: 0; z-index: -2; background: var(--band); }
.turn .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 35%; display: block; transform: scale(calc(1.12 - var(--p, 0) * .12)); transform-origin: 70% 40%; will-change: transform; }
.turn .bg img { filter: grayscale(.85) contrast(1.06); }
.turn .bg::after { content: ""; position: absolute; inset: 0; background: #2C5478; mix-blend-mode: color; opacity: .9; }
.turn .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--band) 95%, transparent) 0%, color-mix(in srgb, var(--band) 86%, transparent) 40%, color-mix(in srgb, var(--band) 40%, transparent) 72%, color-mix(in srgb, var(--band) 18%, transparent) 100%); }
.turn .lede { max-width: 46ch; }
@media (max-width: 820px) {
  .turn .bg img { object-position: 74% 30%; }
  .turn .shade { background: linear-gradient(180deg, color-mix(in srgb, var(--band) 45%, transparent) 0%, color-mix(in srgb, var(--band) 84%, transparent) 50%, color-mix(in srgb, var(--band) 96%, transparent) 100%); }
}

/* Guide */
.guide .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.guide .copy { min-width: 0; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.creds div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.creds strong { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.creds span { font-size: 0.95rem; color: var(--muted); }

/* Guide photo: framed as the camera sees it */
.viewfinder { position: relative; margin: 0; aspect-ratio: 5 / 6; overflow: hidden; background: var(--band); min-width: 0; }
.viewfinder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: calc(37% + var(--pan, .5) * 28%) 50%; display: block; filter: saturate(.82) contrast(1.04); transition: transform 1.4s var(--ease), filter 1.6s var(--ease); }
.viewfinder.armed-r:not(.in) img { filter: blur(10px) saturate(.5); transform: scale(1.07); }
.viewfinder:hover img { transform: scale(1.025); }
.vf { position: absolute; inset: 0; color: #fff; font-family: var(--label); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.vf::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,17,22,.5), rgba(10,17,22,0) 20%, rgba(10,17,22,0) 72%, rgba(10,17,22,.6)); }
.vf .c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.9); }
.vf .tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.vf .tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.vf .bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.vf .br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.vf .rec { position: absolute; top: 22px; left: 52px; display: flex; align-items: center; gap: 8px; }
.vf .rec b { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-band); box-shadow: 0 0 8px var(--accent-band); animation: rec 1.6s steps(2, jump-none) infinite; }
.vf .tc { position: absolute; top: 22px; right: 52px; font-variant-numeric: tabular-nums; letter-spacing: 0.12em; }
.vf .cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: .55; }
.vf .cross::before, .vf .cross::after { content: ""; position: absolute; background: #fff; }
.vf .cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.vf .cross::after { top: 50%; left: 0; right: 0; height: 1px; }
@keyframes rec { 0% { opacity: 1; } 100% { opacity: .15; } }

/* Plan */
.plan { background: var(--band); color: var(--band-ink); }
.plan .label, .turn .label.brass { color: var(--accent-band); }
.plan .intro { display: flex; flex-direction: column; gap: 22px; margin-bottom: 52px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; position: relative; min-width: 0; }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-band); transform-origin: left; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 180ms); }
.steps.armed li::after { transform: scaleX(0); }
.steps.armed.in li::after { transform: scaleX(1); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent-band); }
.steps p { font-size: 1rem; color: color-mix(in srgb, var(--band-ink) 82%, transparent); }
.plan .btn, .turn .btn { background-color: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.plan .btn:hover { color: var(--band); border-color: var(--brass); }
.plan .btn { margin-top: 52px; }

/* Offer with a "where does it hurt" selector */
.offer .intro { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.hurt { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; align-items: center; }
.hurt .label { margin-right: 6px; }
.hurt button {
  font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.04em; padding: 9px 16px;
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s;
}
.hurt button:hover { border-color: var(--brass); }
.hurt button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.level-list { display: grid; border-top: 2px solid var(--ink); }
.level {
  display: grid; grid-template-columns: 200px 1fr 250px; gap: 32px; padding: 34px 16px; margin-inline: -16px;
  border-bottom: 1px solid var(--line); align-items: start; position: relative; cursor: pointer;
  transition: opacity .45s var(--ease), background .35s;
}
.level::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.level:hover { background: var(--tint); }
.level.on::before { transform: scaleY(1); }
.level-list.focused .level:not(.on) { opacity: .38; }
.level .when { font-family: var(--label); font-size: 0.95rem; font-weight: 500; line-height: 1.4; }
.level .body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.signs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.signs > div { overflow: hidden; min-height: 0; }
.level.on .signs { grid-template-rows: 1fr; }
.signs p { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); padding-top: 4px; margin-bottom: 8px; }
.signs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.signs li { font-size: 1rem; padding-left: 20px; position: relative; }
.signs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border: 2px solid var(--brass); border-radius: 50%; }
.facts { display: flex; flex-direction: column; font-family: var(--label); font-size: 0.9rem; margin: 0; }
.facts dt { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 12px; font-weight: 500; }

/* Construction */
.build .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 80px); }
.build .copy { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.build .btn { align-self: flex-start; }
.build .figs { display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.build .fig { padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.build .fig + .fig { padding-left: 0; border-left: none; }

/* Industries */
.industries .wrap { display: flex; flex-direction: column; gap: 28px; }
.ind-tabs { position: relative; display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tabs button { flex: none; border: 0; background: transparent; padding: 12px 16px 16px; font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.ind-tabs button:hover { color: var(--ink); }
.ind-tabs button[aria-selected="true"] { color: var(--ink); }
.ind-bar { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--brass); transition: transform .45s var(--ease), width .45s var(--ease); }
.ind-panel { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 80px); padding-top: 12px; }
.ind-panel[hidden] { display: none; }
.ind-panel.show { animation: rise .6s var(--ease) both; }
.ind-panel .copy { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ind-panel .btn { align-self: flex-start; }
.ind-panel .figs { display: flex; flex-direction: column; gap: 26px; justify-content: center; min-width: 0; }
.ind-panel .fig { padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.ind-panel .fig + .fig { padding-left: 0; border-left: none; }
.signs-static { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--tint); border-left: 3px solid var(--brass); }
.signs-static ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.signs-static li { font-size: 1rem; padding-left: 20px; position: relative; }
.signs-static li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border: 2px solid var(--brass); border-radius: 50%; }
.signs-static .big { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.25; }
@media (max-width: 900px) { .ind-panel { grid-template-columns: 1fr; } }

/* Work: one feature, five companions */
:root { --scrim: rgba(10,17,22,.86); --on-image: #F2F4F3; }
.work .intro { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.films { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.film { position: relative; grid-column: span 2; aspect-ratio: 16 / 9; overflow: hidden; display: block; text-decoration: none; color: var(--on-image); background: var(--ph); isolation: isolate; }
.film.feature { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.film .ph { position: absolute; inset: 0; border: none; padding: 18px; justify-content: flex-start; transition: transform 1s var(--ease); }
.film .ph .cap { font-size: 0.85rem; max-width: 34ch; }
.film.feature .ph .cap { font-size: 0.95rem; }
.film .scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim) 0%, rgba(10,17,22,.55) 45%, rgba(10,17,22,0) 75%); transition: opacity .5s var(--ease); z-index: 1; }
.film .info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.film.feature .info { padding: 32px; gap: 12px; }
.film .tag { font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-band); text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.6); }
.film h3, .film .body, .film .watch { text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.film h3 { font-size: 1.15rem; line-height: 1.22; color: var(--on-image); }
.film.feature h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; max-width: 22ch; }
.film .body { font-family: var(--body); font-size: 1.02rem; line-height: 1.5; max-width: 52ch; color: rgba(242,244,243,.86); }
.film .watch { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,244,243,.75); display: inline-flex; gap: 8px; align-items: center; }
a.film .watch::after { content: "\2192"; transition: transform .3s var(--ease); }
.film .play { position: absolute; top: 18px; right: 18px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--accent-band); background: rgba(10,17,22,.45); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s; }
.film.feature .play { width: 72px; height: 72px; top: auto; bottom: 32px; right: 32px; }
.film .play::after { content: ""; border-left: 14px solid var(--accent-band); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
a.film:hover .ph { transform: scale(1.06); }
.film .thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
a.film:hover .thumb { transform: scale(1.06); }
a.film:hover .play { transform: scale(1.1); background: var(--accent-band); }
a.film:hover .play::after { border-left-color: var(--on-image); }
a.film:hover .watch::after { transform: translateX(5px); }
a.film:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.film.pending { cursor: default; }

.player { border: 0; padding: 0; background: transparent; max-width: min(1100px, 92vw); width: 100%; color: var(--on-image); }
.player::backdrop { background: rgba(6,10,13,.88); }
.player[open] { animation: rise .5s var(--ease) both; }
.player-box { display: flex; flex-direction: column; gap: 14px; }
.player-close { align-self: flex-end; border: 1px solid rgba(242,244,243,.4); background: transparent; color: var(--on-image); padding: 8px 14px; font-family: var(--label); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 999px; }
.player-close:hover { border-color: var(--accent-band); }
.player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-link { color: var(--accent-band); align-self: flex-start; }

@media (max-width: 900px) {
  .films { grid-template-columns: 1fr 1fr; }
  .film, .film.feature { grid-column: span 1; grid-row: auto; aspect-ratio: 16 / 9; }
  .film.feature { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .films { grid-template-columns: 1fr; }
  .film.feature { aspect-ratio: 4 / 5; }
  .film.feature .info { padding: 22px; }
  .film.feature .play { width: 56px; height: 56px; top: 18px; right: 18px; bottom: auto; }
}

/* Success */
.success .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; border-top: 1px solid var(--line); }
.success .copy { min-width: 0; }

/* What changes: an editorial photo that runs to the edge of the screen */
.success { position: relative; overflow: hidden; }
.success .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.success .copy { grid-column: 1; }
.success .still { position: absolute; top: clamp(28px, 3.5vw, 52px); bottom: clamp(28px, 3.5vw, 52px); right: 0; left: calc(55% + clamp(16px, 2.5vw, 40px)); margin: 0; overflow: hidden; background: var(--ph); }
.success .still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; display: block; transform: scale(calc(1 + var(--push, 0) * .05)); transform-origin: 78% 86%; will-change: transform; }
@media (max-width: 900px) {
  .success { display: flex; flex-direction: column; }
  .success .wrap { grid-template-columns: 1fr; width: 100%; }
  .success .still { position: relative; left: auto; order: 2; aspect-ratio: 1 / 1; }
}

/* Self-check */
.check .wrap { border-top: 1px solid var(--line); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.check .copy { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.check h3 { font-size: 1.9rem; }
.quiz { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.quiz li { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.quiz p { font-size: 1.05rem; }
.yn { display: flex; gap: 8px; }
.yn button { min-width: 64px; padding: 8px 14px; border: 1px solid var(--line); background: transparent; border-radius: 999px; font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.yn button:hover { border-color: var(--brass); }
.yn button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.verdict { margin-top: 24px; padding: 22px 24px; background: var(--tint); border-left: 3px solid var(--brass); display: flex; flex-direction: column; gap: 14px; }
.verdict p { font-size: 1.1rem; }
.verdict .btn { align-self: flex-start; }
.verdict .btn[hidden] { display: none; }

/* Questions */
.faq .wrap { border-top: 1px solid var(--line); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq .intro { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.faq-list { border-top: 2px solid var(--ink); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--brass); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding-bottom: 24px; font-size: 1.05rem; color: var(--muted); }
.faq details[open] p { animation: rise .5s var(--ease) both; }
@media (max-width: 900px) { .faq .wrap { grid-template-columns: 1fr; } }

/* Close */
.close .wrap { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; border-top: 2px solid var(--ink); }
.close h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }

footer .wrap { padding-block: 40px 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font-family: var(--label); font-size: 0.85rem; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .motto { font-family: var(--body); font-style: italic; font-size: 1rem; color: var(--ink); }

/* Gentle reveal, only for things that start below the fold */
.armed-r { opacity: .25; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.armed-r.in { opacity: 1; transform: none; }

/* Hero porthole: as tall as the copy beside it, using the empty right margin when it needs room */
@media (min-width: 901px) {
  .hero .wrap { gap: clamp(28px, 3.5vw, 48px); }
  .porthole { --bleed: max(0px, calc((100vw - var(--wrap)) / 2 - 8px)); width: min(var(--copy-h, 600px), calc(100% + var(--bleed))); max-width: none; justify-self: start; }
}
@media (max-width: 900px) {
  .hero .wrap, .stakes .wrap, .guide .wrap, .build .wrap, .success .wrap, .check .wrap { grid-template-columns: 1fr; }
  .porthole { max-width: 420px; margin: 0 auto; }
  .steps, .films { grid-template-columns: 1fr; }
  .level { grid-template-columns: 1fr; gap: 14px; margin-inline: 0; padding-inline: 16px; }
  .guide .ph, .guide .viewfinder { order: 2; }
}
@media (max-width: 640px) {
  .figures, .creds { grid-template-columns: 1fr; }
  .fig, .fig + .fig { padding: 22px 0; border-left: none; border-bottom: 1px solid var(--line); }
  .quiz li { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .armed-r { opacity: 1; transform: none; }
}

/* About page */
.ab-hero .wrap { display: flex; flex-direction: column; gap: 26px; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.ab-hero h1 { max-width: 14ch; }
.ab-hero .ph { margin-top: 18px; }
.ab-hero .hero-still { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 18px; background: var(--ph); }
.story .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); border-top: 1px solid var(--line); }
.story .head { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--brass); }
.timeline li { padding: 0 0 18px 20px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brass); }
.timeline b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.timeline span { font-size: 0.95rem; color: var(--muted); }
.beliefs .intro { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.belief-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--band-ink); }
.belief-grid div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid color-mix(in srgb, var(--band-ink) 18%, transparent); min-width: 0; }
.belief-grid div:nth-child(even) { padding-left: 28px; border-left: 1px solid color-mix(in srgb, var(--band-ink) 18%, transparent); }
.belief-grid h3 { font-size: 1.35rem; }
.belief-grid p { font-size: 1rem; color: color-mix(in srgb, var(--band-ink) 82%, transparent); }
.beliefs { background: var(--band); color: var(--band-ink); }
.beliefs .label { color: var(--accent-band); }
.team .intro { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.person .ph { aspect-ratio: 4 / 5; }
.person .portrait { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--ph); }
.person .role { font-family: var(--label); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.person h3 { font-size: 1.6rem; }
.person p { font-size: 1rem; }
.extended { margin-top: 48px; padding: 26px 28px; background: var(--tint); border-left: 3px solid var(--brass); display: flex; flex-direction: column; gap: 10px; }
.extended p { font-size: 1.05rem; }
.extended .label { color: color-mix(in srgb, var(--brass) 82%, var(--ink)); }
@media (max-width: 900px) {
  .story .wrap { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .belief-grid { grid-template-columns: 1fr; }
  .belief-grid div, .belief-grid div:nth-child(even) { padding: 24px 0; border-left: none; }
}

/* Process: a dark band with a rail that draws in and four ports that light in turn */
.method { background: var(--band); color: var(--band-ink); }
.method .label { color: var(--accent-band); }
.method .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 22px clamp(32px, 6vw, 80px); align-items: end; margin-bottom: 64px; }
.method .intro h2 { max-width: 16ch; }
.method .intro .lede { color: color-mix(in srgb, var(--band-ink) 86%, transparent); font-size: 1.15rem; }
.method-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 1fr auto; gap: 0 32px; position: relative; }
.method-steps::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: color-mix(in srgb, var(--band-ink) 22%, transparent); }
.method-steps::after { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: var(--accent-band); transform-origin: left; transition: transform 1.6s var(--ease); }
.method-steps.armed::after { transform: scaleX(0); }
.method-steps.armed.in::after { transform: scaleX(1); }
.method-steps li { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px; align-content: start; min-width: 0; padding-top: 58px; }
.method-steps .port { position: absolute; top: 0; left: 0; width: 31px; height: 31px; border-radius: 50%; border: 2px solid var(--accent-band); background: var(--band); transition: background .5s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i) * 380ms + 200ms); }
.method-steps .port::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent-band); transform: scale(0); transition: transform .5s var(--ease); transition-delay: inherit; }
.method-steps.in .port::after, .method-steps:not(.armed) .port::after { transform: scale(1); }
.method-steps .num { position: absolute; top: 15px; left: 40px; transform: translateY(-50%); padding: 0 10px; background: var(--band); font-family: var(--label); font-weight: 500; font-size: 0.8rem; line-height: 1; letter-spacing: 0.16em; color: var(--band-ink); }
.method-steps h3 { font-size: 1.35rem; }
.method-steps .what { font-size: 1rem; color: color-mix(in srgb, var(--band-ink) 82%, transparent); }
.method-steps .yours { margin-top: 10px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 18%, transparent); display: flex; flex-direction: column; gap: 6px; }
.method-steps .yours span { font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-band); }
.method-steps .yours p { font-size: 0.95rem; color: var(--band-ink); }
.method-steps.armed li > :not(.port):not(.num) { opacity: .2; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 380ms + 250ms); }
.method-steps.armed.in li > :not(.port):not(.num) { opacity: 1; transform: none; }
.method .coda { margin-top: 64px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 18%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.method .coda p { font-family: var(--body); font-style: italic; font-size: 1.2rem; max-width: 46ch; }
.method .btn { background-color: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.method .btn:hover { color: var(--band); border-color: var(--accent-band); }
@media (max-width: 900px) {
  .method .intro { grid-template-columns: 1fr; margin-bottom: 44px; }
  .method-steps { grid-template-columns: 1fr; gap: 44px; padding-left: 52px; }
  .method-steps::before, .method-steps::after { top: 0; bottom: 0; left: 15px; right: auto; width: 1px; height: auto; }
  .method-steps::after { transform-origin: top; }
  .method-steps.armed::after { transform: scaleY(0); }
  .method-steps.armed.in::after { transform: scaleY(1); }
  .method-steps { grid-template-rows: none; }
  .method-steps li { display: flex; flex-direction: column; grid-row: auto; padding-top: 0; }
  .method-steps .port { left: -52px; }
  .method-steps .num { position: static; order: -1; transform: none; padding: 0; background: none; align-self: flex-start; }
}
