/* Fifth Castle Media — site stylesheet (November 2026 redesign).
   Design read: a film company's site for marketing managers and founders who buy
   considered B2B video. Black and white are the brand's two primaries, so the
   page moves between a dark "screen" (films, proof, calls to act) and a white
   "page" (reading, prices, questions). One accent: FCM Red. Square corners.
   One motion language: slow rise and settle on an ease-out curve.
   The older pages (Turnkey Studio, not-for-profit, /studio/) keep fcm.css. */

:root {
  --ink: #0b0b0d;
  --ink-2: #131316;
  --ink-3: #1c1c20;
  --paper: #f5f5f3;
  --paper-2: #e9e9e6;
  --white: #f3f2ef;
  --mute-d: #aeada8;
  --mute-l: #55545a;
  --line-d: rgba(255, 255, 255, 0.16);
  --line-l: rgba(11, 11, 13, 0.16);
  --red: #bd202d;
  --red-hi: #d32b39;

  --f-display: "Vidaloka", Georgia, "Times New Roman", serif;
  --f-label: "Khand", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-body: "Literata", Georgia, "Times New Roman", serif;

  --t-hero: clamp(2.9rem, 8.4vw, 7.6rem);
  --t-h2: clamp(2.05rem, 4.7vw, 4.1rem);
  --t-h3: clamp(1.3rem, 1.75vw, 1.6rem);
  --t-body: 1.0625rem;
  --t-label: 0.95rem;

  --gut: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --sp-section: clamp(88px, 13vw, 190px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--red); color: #fff; padding: 12px 18px; font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.08em; }
.skip-link:focus { left: 12px; top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, h1 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-hero); line-height: 0.96; letter-spacing: -0.02em; text-wrap: balance; }
h2, .h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; }
h3, .h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.005em; text-wrap: balance; }
p { text-wrap: pretty; }
.lede { font-size: var(--t-h3); line-height: 1.42; max-width: 34em; }
.label { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.2; }
.muted { color: var(--mute-d); }
.band--light .muted { color: var(--mute-l); }
.measure { max-width: 38em; }
.prose-gap > * + * { margin-top: 1.1em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: var(--sp-section); position: relative; }
.band--tight { padding-block: clamp(56px, 8vw, 110px); }
.band--flush-top { padding-top: 0; }
.band--light { background: var(--paper); color: var(--ink); }
.band--raise { background: var(--ink-2); }
.head { display: grid; gap: clamp(18px, 2.4vw, 30px); margin-bottom: clamp(40px, 6vw, 84px); max-width: 60rem; }
.head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px); } }
.grid-2 { display: grid; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .grid-2--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .grid-2--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); } }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.7em; min-height: 54px; padding: 0 1.7em; font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; line-height: 1; border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate; transition: color 0.45s var(--ease), border-color 0.45s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary::before { background: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--ink); }
.btn--ghost { border-color: currentColor; }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--white); }
.band--light .btn--ghost::before { background: var(--ink); }
.band--light .btn--ghost:hover, .band--light .btn--ghost:focus-visible { color: var(--paper); border-color: var(--ink); }
.band--light .btn--primary::before { background: var(--ink); }
.band--light .btn--primary:hover, .band--light .btn--primary:focus-visible { color: #fff; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0 1.25em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.arrow-link { display: inline-flex; align-items: baseline; gap: 0.55em; font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s; }
.arrow-link::after { content: "\2192"; font-family: var(--f-body); transition: transform 0.5s var(--ease); }
.arrow-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.arrow-link:hover::after { transform: translateX(6px); }
.text-a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--red); transition: text-decoration-color 0.3s; }
.text-a:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color 0.4s; }
.site-header.is-stuck { border-bottom-color: var(--line-d); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--f-label); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand-name b { font-weight: 600; color: var(--mute-d); }
.nav-list { display: none; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-list > li { position: static; }
.nav-link { font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45em; height: var(--header-h); position: relative; color: var(--white); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-caret { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.4s var(--ease); }
.nav-link[aria-expanded="true"] .nav-caret { transform: rotate(225deg) translateY(-2px); }
.mega { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--ink-2); border-bottom: 1px solid var(--line-d); padding-block: clamp(32px, 4vw, 56px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.35s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); }
.mega h3 { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 14px; }
.mega a { display: block; font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.2; text-decoration: none; padding: 7px 0; transition: color 0.3s, transform 0.45s var(--ease); }
.mega a:hover { color: #fff; transform: translateX(8px); }
.mega a small { display: block; font-family: var(--f-body); font-size: 0.92rem; color: var(--mute-d); margin-top: 2px; }
.nav-toggle { width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; margin-right: -10px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: transform 0.45s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (min-width: 1080px) { .nav-list { display: flex; } .nav-toggle { display: none; } }

.m-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--ink); overflow-y: auto; padding: 28px var(--gut) 120px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.35s; }
.menu-open .m-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.m-menu .m-main a { display: block; font-family: var(--f-display); font-size: 2.1rem; line-height: 1.15; text-decoration: none; padding: 9px 0; }
.m-menu h3 { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); margin: 30px 0 8px; }
.m-menu .m-sub a { display: block; font-size: 1.1rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-d); }
.m-menu .btn { width: 100%; margin-top: 34px; }
@media (min-width: 1080px) { .m-menu { display: none; } }

.m-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-d); transform: translateY(110%); transition: transform 0.5s var(--ease); }
.m-cta.is-on { transform: none; }
.m-cta .btn { width: 100%; min-height: 50px; }
.menu-open .m-cta { transform: translateY(110%); }
@media (min-width: 800px) { .m-cta { display: none; } }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(40px, 7vh, 96px); }
.hero-copy { display: grid; gap: clamp(22px, 3vh, 34px); padding-bottom: clamp(36px, 6vh, 68px); }
.hero-sub { font-size: var(--t-h3); line-height: 1.42; max-width: 31em; color: var(--white); }
.hero-proof { font-size: 0.98rem; color: var(--mute-d); max-width: 44em; }
.hero-proof a { color: var(--white); }
.screen { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 92svh; overflow: hidden; background: var(--ink-2); clip-path: inset(0 var(--gut)); }
.screen img, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen video { opacity: 0; transition: opacity 0.9s var(--ease); }
.screen video.is-on { opacity: 1; }
.screen-bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: clamp(14px, 2vw, 28px); z-index: 2; }
.screen::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(to top, rgba(11, 11, 13, 0.72), rgba(11, 11, 13, 0)); pointer-events: none; z-index: 1; }
.sound-btn { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; text-decoration: none; }
.sound-btn .ring { width: 58px; height: 58px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; transition: background 0.4s var(--ease), transform 0.5s var(--ease); flex: none; }
.sound-btn .ring::after { content: ""; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; transition: border-left-color 0.3s; }
.sound-btn:hover .ring { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.screen-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); text-align: right; display: none; }
@media (min-width: 700px) { .screen-note { display: block; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .screen { animation: screen-open linear both; animation-timeline: view(); animation-range: entry 20% cover 46%; }
    .screen > img, .screen > video { animation: screen-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .screen-bar { animation: bar-out linear both; animation-timeline: view(); animation-range: entry 20% cover 46%; }
  }
}
@keyframes screen-open { from { clip-path: inset(0 var(--gut)); } to { clip-path: inset(0 0); } }
@keyframes screen-settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes bar-out { from { left: var(--gut); right: var(--gut); } to { left: 0; right: 0; } }

.clients { padding-block: clamp(26px, 4vw, 44px); border-bottom: 1px solid var(--line-d); }
.clients p { font-size: 1rem; color: var(--mute-d); max-width: none; }
.clients b { font-weight: 400; color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(48px, 8vh, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.page-hero .display { font-size: clamp(2.6rem, 6.6vw, 6rem); max-width: 14em; }
.page-hero-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: end; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); } .page-hero-grid--solo { grid-template-columns: minmax(0, 1fr); } }
.page-hero-copy { display: grid; gap: clamp(20px, 2.6vw, 30px); }
.price-line { font-family: var(--f-label); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.price-line::before { content: ""; width: 44px; height: 1px; background: var(--red); }
.crumb { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--white); }

/* ---------- Film cards ---------- */
.film { display: grid; gap: 16px; text-decoration: none; color: inherit; position: relative; }
.film-frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.band--light .film-frame { background: var(--paper-2); }
.film-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.film-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--red); opacity: 0; transform: rotate(-2.5deg) scale(0.97); transition: opacity 0.45s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.film:hover .film-frame::after, .film:focus-visible .film-frame::after { opacity: 1; transform: none; }
.film:hover .film-frame img, .film:focus-visible .film-frame img { transform: scale(1.045); }
.film-play { position: absolute; left: 18px; bottom: 18px; width: 54px; height: 54px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 11, 13, 0.28); transition: background 0.4s var(--ease), border-color 0.4s, transform 0.5s var(--ease); z-index: 1; }
.film-play::after { content: ""; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
.film:hover .film-play, .film:focus-visible .film-play { background: var(--red); border-color: var(--red); transform: scale(1.08); }
.film-cap { display: grid; gap: 5px; }
.film-title { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.2; }
.film-note { color: var(--mute-d); font-size: 1rem; line-height: 1.5; max-width: 34em; }
.band--light .film-note { color: var(--mute-l); }
.film--big .film-play { width: 84px; height: 84px; left: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 36px); }
.film--big .film-play::after { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 6px; }
.films { display: grid; gap: clamp(36px, 4.4vw, 64px) clamp(20px, 2.6vw, 40px); }
@media (min-width: 720px) { .films { grid-template-columns: repeat(2, minmax(0, 1fr)); } .films--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .films .film--wide { grid-column: 1 / -1; } }
@media (min-width: 720px) and (max-width: 1040px) { .films--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.films--offset > :nth-child(even) { margin-top: 0; }
@media (min-width: 720px) { .films--offset > :nth-child(even) { margin-top: clamp(40px, 7vw, 110px); } }

/* ---------- Job picker (home) ---------- */
.jobs { display: grid; gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (min-width: 980px) { .jobs { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); } }
.job-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; scroll-snap-type: x proximity; }
.job-tabs::-webkit-scrollbar { display: none; }
.job-tab { flex: none; scroll-snap-align: start; font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 16px; border: 1px solid var(--line-d); color: var(--mute-d); transition: color 0.3s, border-color 0.3s, background 0.3s; white-space: nowrap; text-align: left; }
.job-tab[aria-selected="true"] { color: #fff; border-color: var(--red); background: var(--red); }
@media (min-width: 980px) {
  .job-tabs { display: grid; gap: 0; overflow: visible; margin: 0; padding: 0; }
  .job-tab { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.7vw, 2.55rem); letter-spacing: -0.012em; text-transform: none; line-height: 1.1; padding: 15px 0 15px 0; border: 0; border-bottom: 1px solid var(--line-d); background: none !important; white-space: normal; position: relative; transition: color 0.45s var(--ease), padding-left 0.55s var(--ease); }
  .job-tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
  .job-tab:hover { color: var(--white); }
  .job-tab[aria-selected="true"] { color: #fff; padding-left: 42px; border-color: var(--line-d); }
  .job-tab[aria-selected="true"]::before { transform: scaleX(1); }
}
.job-panel { display: grid; gap: 22px; }
.js .job-panel[hidden] { display: none; }
.job-panel + .job-panel { margin-top: 48px; }
.js .job-panel + .job-panel { margin-top: 0; }
.job-panel.is-in .film-frame img { animation: frame-in 1.1s var(--ease) both; }
.job-panel.is-in .job-meta > * { animation: rise 0.9s var(--ease) both; }
.job-panel.is-in .job-meta > :nth-child(2) { animation-delay: 0.08s; }
.job-meta { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .job-meta { grid-template-columns: 1fr auto; column-gap: 32px; } }
.job-meta p { max-width: 30em; }
@keyframes frame-in { from { transform: scale(1.1); opacity: 0.2; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Quotes and proof ---------- */
.quote { display: grid; gap: 18px; }
.quote p { font-family: var(--f-display); font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.quote p::before { content: "\201C"; color: var(--red); margin-left: -0.45em; position: absolute; }
.quote p { position: relative; }
.quote cite { font-style: normal; font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); }
.band--light .quote cite { color: var(--mute-l); }
.proof-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 980px) { .proof-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.proof-side { display: grid; gap: clamp(32px, 4vw, 56px); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; }
.steps > li { counter-increment: step; display: grid; gap: 8px 40px; padding-block: clamp(26px, 3.4vw, 44px); border-top: 1px solid var(--line-d); grid-template-columns: 1fr; }
.band--light .steps > li { border-top-color: var(--line-l); }
.steps > li:last-child { border-bottom: 1px solid var(--line-d); }
.band--light .steps > li:last-child { border-bottom-color: var(--line-l); }
@media (min-width: 860px) { .steps > li { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; } }
.steps > li::before { content: counter(step); font-family: var(--f-label); font-weight: 600; font-size: 1.15rem; color: var(--red); letter-spacing: 0.06em; }
.band:not(.band--light) .steps > li::before { color: var(--red-hi); }
.steps h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; }
.steps p { color: var(--mute-d); max-width: 36em; }
.band--light .steps p { color: var(--mute-l); }

/* ---------- Lists of things we make ---------- */
.rows { display: grid; }
.rows > li { display: grid; gap: 4px 40px; padding-block: 20px; border-top: 1px solid var(--line-l); }
.rows > li:last-child { border-bottom: 1px solid var(--line-l); }
.band:not(.band--light) .rows > li { border-color: var(--line-d); }
@media (min-width: 860px) { .rows > li { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: baseline; } }
.rows h3 { font-size: var(--t-h3); }
.rows p { color: var(--mute-l); }
.band:not(.band--light) .rows p { color: var(--mute-d); }
.rows a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- Prices ---------- */
.figures { display: grid; gap: 0; }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } .figures--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.figure { padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line-d); display: grid; gap: 10px; align-content: start; }
.band--light .figure { border-top-color: var(--line-l); }
@media (min-width: 900px) { .figure { padding-right: clamp(20px, 3vw, 48px); } .figure + .figure { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line-d); } .band--light .figure + .figure { border-left-color: var(--line-l); } }
.figure-num, .figure p.figure-num, .cost p.figure-num { font-family: var(--f-label); font-weight: 600; font-size: clamp(2.2rem, 3.5vw, 3.3rem); line-height: 1; letter-spacing: 0.005em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figure-num small { display: block; font-size: 0.36em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); margin-top: 8px; }
.band--light .figure-num small { color: var(--mute-l); }
.figure h3 { font-size: var(--t-h3); }
.figure p, .figure li { color: var(--mute-d); font-size: 1rem; }
.band--light .figure p, .band--light .figure li { color: var(--mute-l); }
.figure p.figure-num { color: var(--white); }
.band--light .figure p.figure-num { color: var(--ink); }
.figure ul { display: grid; gap: 6px; margin-top: 6px; }
.figure li { padding-left: 20px; position: relative; }
.figure li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 1px; background: var(--red); }
.figure .arrow-link, .figure .btn { justify-self: start; margin-top: 10px; }
.flag { justify-self: start; font-family: var(--f-label); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 4px 10px; }
.cost { border-left: 2px solid var(--red); padding: 4px 0 4px clamp(20px, 3vw, 36px); display: grid; gap: 14px; max-width: 46em; }
.cost p.figure-num { font-size: clamp(2rem, 3.4vw, 3rem); white-space: normal; color: inherit; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 18px 0; border-top: 1px solid var(--line-l); font-weight: 400; vertical-align: baseline; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 1px solid var(--line-l); }
.ptable th { font-family: var(--f-display); font-size: var(--t-h3); padding-right: 20px; }
.ptable td { font-family: var(--f-label); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.04em; text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .ptable td { white-space: normal; font-size: 1.15rem; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-l); }
.band:not(.band--light) .faq { border-top-color: var(--line-d); }
.faq-item { border-bottom: 1px solid var(--line-l); }
.band:not(.band--light) .faq-item { border-bottom-color: var(--line-d); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-label); font-weight: 500; font-size: 1.7rem; line-height: 0.8; color: var(--red); transition: transform 0.45s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 26px; max-width: 44em; color: var(--mute-l); }
.band:not(.band--light) .faq-a { color: var(--mute-d); }
.faq-a a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.faq-item[open] .faq-a { animation: rise 0.6s var(--ease) both; }

/* ---------- Pictures ---------- */
.pic { position: relative; overflow: hidden; background: var(--ink-3); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic--tall { aspect-ratio: 4 / 5; }
.pic--wide { aspect-ratio: 16 / 10; }
.pic--land { aspect-ratio: 3 / 2; }
.cap { font-size: 0.92rem; color: var(--mute-d); margin-top: 10px; }
.band--light .cap { color: var(--mute-l); }
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: end; }
.duo > :last-child { margin-bottom: clamp(24px, 5vw, 72px); }

.gallery { columns: 2; column-gap: clamp(10px, 1.4vw, 18px); }
@media (min-width: 760px) { .gallery { columns: 3; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }
.gallery figure { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 18px); overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 44px); }
.chip { font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line-l); color: var(--mute-l); text-decoration: none; transition: color 0.3s, background 0.3s, border-color 0.3s; }
.band:not(.band--light) .chip { border-color: var(--line-d); color: var(--mute-d); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.band:not(.band--light) .chip:hover { color: #fff; border-color: #fff; }
.chip[aria-pressed="true"], .chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line-d); }
.subnav .chips { margin: 0; padding-block: 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.subnav .chips::-webkit-scrollbar { display: none; }
.subnav .chip { flex: none; }

/* ---------- Founder and people ---------- */
.founder { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field textarea { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 10px 0 12px; border-radius: 0; width: 100%; transition: border-color 0.3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.hidden-field { position: absolute; left: -9999px; }
.fine { font-size: 0.9rem; color: var(--mute-d); }
.band--light .fine { color: var(--mute-l); }
.form-done { border-left: 2px solid var(--red); padding-left: 24px; display: grid; gap: 12px; }
.contact-list { display: grid; gap: 0; }
.contact-list > div { display: grid; gap: 4px; padding-block: 18px; border-top: 1px solid var(--line-d); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line-d); }
.contact-list dd a { font-family: var(--f-display); font-size: var(--t-h3); text-decoration: none; }
.contact-list dd a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.contact-list dt { color: var(--mute-d); }

/* ---------- Product panels, city links ---------- */
.panels { display: grid; gap: clamp(14px, 1.8vw, 24px); }
@media (min-width: 900px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--ink-2); padding: clamp(26px, 3.6vw, 52px); display: grid; gap: 16px; align-content: start; text-decoration: none; position: relative; overflow: hidden; transition: background 0.5s var(--ease); }
.band--raise .panel { background: var(--ink-3); }
.panel:hover { background: var(--ink-3); }
.panel p { color: var(--mute-d); max-width: 32em; }
.panel .arrow-link { justify-self: start; margin-top: 8px; }
.panel-pic { margin: clamp(-52px, -3.6vw, -26px); margin-bottom: 8px; aspect-ratio: 16 / 9; overflow: hidden; }
.panel-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover .panel-pic img { transform: scale(1.04); }
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
@media (min-width: 800px) { .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band--light .cities { border-top-color: var(--line-l); }
.cities a { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--line-d); display: flex; justify-content: space-between; align-items: baseline; padding-right: 18px; transition: padding-left 0.5s var(--ease), color 0.3s; }
.band--light .cities a { border-bottom-color: var(--line-l); }
.cities a::after { content: "\2192"; font-size: 0.7em; color: var(--red); opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.cities a:hover { padding-left: 10px; }
.cities a:hover::after { opacity: 1; transform: none; }
.linklist { display: grid; }
.linklist a { display: grid; gap: 4px 40px; padding-block: 22px; border-top: 1px solid var(--line-l); text-decoration: none; transition: padding-left 0.5s var(--ease); }
.linklist a:last-child { border-bottom: 1px solid var(--line-l); }
.band:not(.band--light) .linklist a { border-color: var(--line-d); }
@media (min-width: 860px) { .linklist a { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; align-items: baseline; } }
.linklist a::after { content: "\2192"; color: var(--red); transition: transform 0.5s var(--ease); }
.linklist a:hover { padding-left: 10px; }
.linklist a:hover::after { transform: translateX(6px); }
.linklist h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.1; }
.linklist p { color: var(--mute-l); }
.band:not(.band--light) .linklist p { color: var(--mute-d); }

/* ---------- Closing call to action ---------- */
.close { padding-block: clamp(96px, 14vw, 210px); position: relative; overflow: hidden; }
.close-inner { display: grid; gap: clamp(26px, 3.4vw, 44px); max-width: 62rem; }
.close h2 { font-size: var(--t-hero); line-height: 0.96; }
.close .lede { max-width: 32em; }
.tilt { position: absolute; right: clamp(-140px, -6vw, -40px); top: 50%; width: clamp(240px, 34vw, 520px); aspect-ratio: 4 / 5; border: 1px solid var(--red); transform: translateY(-50%) rotate(20deg); pointer-events: none; opacity: 0.9; }
@media (max-width: 899px) { .tilt { display: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tilt { animation: tilt-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes tilt-settle { from { transform: translateY(-50%) rotate(34deg); } to { transform: translateY(-50%) rotate(20deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-d); padding-top: clamp(64px, 9vw, 130px); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot-tag { font-family: var(--f-display); font-size: clamp(2.6rem, 9.4vw, 9rem); line-height: 0.95; letter-spacing: -0.025em; margin-bottom: clamp(48px, 7vw, 100px); }
.foot-tag span { display: inline-block; }
.foot-tag span + span { color: var(--mute-d); }
.foot-tag span:last-child { color: var(--red-hi); }
.foot-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); } }
.foot-grid h3 { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 12px; }
.foot-grid li a, .foot-grid li span { display: inline-block; padding: 4px 0; text-decoration: none; font-size: 1rem; }
.foot-grid li a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.foot-contact { grid-column: 1 / -1; display: grid; gap: 6px; align-content: start; }
@media (min-width: 900px) { .foot-contact { grid-column: auto; } }
.foot-contact a { font-family: var(--f-display); font-size: var(--t-h3); text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.foot-legal { margin-top: clamp(48px, 6vw, 84px); padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9rem; color: var(--mute-d); }
.foot-legal a { text-decoration: none; }
.foot-legal a:hover { color: var(--white); }
@media (max-width: 799px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Film player (dialog) ---------- */
.player { border: 0; padding: 0; background: #060608; color: var(--white); width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
.player::backdrop { background: rgba(6, 6, 8, 0.94); }
.player-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(14px, 2.4vw, 32px) var(--gut); gap: clamp(12px, 2vw, 24px); }
.player-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.player-title { font-family: var(--f-display); font-size: var(--t-h3); }
.player-close { font-family: var(--f-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.player-close::after { content: "\00D7"; font-family: var(--f-body); font-size: 1.7rem; line-height: 0.6; }
.player-stage { display: grid; place-items: center; min-height: 0; }
.player-box { width: min(100%, calc((100dvh - 230px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.player-box iframe { width: 100%; height: 100%; border: 0; }
.player-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.player-foot p { color: var(--mute-d); font-size: 1rem; }
.player[open] .player-box { animation: frame-in 0.9s var(--ease) both; }

/* ---------- Reveal on scroll ---------- */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].is-in { opacity: 1; transform: none; }
/* The wipe clips the child, never the observed element itself: an element
   fully clipped by its own clip-path never reports as in view. */
.js [data-r="wipe"] { opacity: 1; transform: none; }
.js [data-r="wipe"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r="wipe"] img { transform: scale(1.12); transition: transform 1.6s var(--ease), clip-path 1.25s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r="wipe"].is-in > * { clip-path: inset(0); }
.js [data-r="wipe"].is-in img { transform: scale(1); }
.js [data-enter] > * { opacity: 0; transform: translateY(22px); animation: rise 1.1s var(--ease) forwards; }
.js [data-enter] > :nth-child(1) { animation-delay: 0.05s; }
.js [data-enter] > :nth-child(2) { animation-delay: 0.16s; }
.js [data-enter] > :nth-child(3) { animation-delay: 0.27s; }
.js [data-enter] > :nth-child(4) { animation-delay: 0.38s; }
.js [data-enter] > :nth-child(5) { animation-delay: 0.49s; }

/* ---------- Article (insights) and legal ---------- */
.article { max-width: 44rem; }
.article > * + * { margin-top: 1.25em; }
.article h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.12; margin-top: 2em; }
.article h3 { margin-top: 1.7em; }
.article p, .article li { font-size: 1.14rem; line-height: 1.68; }
.article ul, .article ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.article ul { list-style: none; }
.article ul li { position: relative; }
.article ul li::before { content: ""; position: absolute; left: -1.3em; top: 0.82em; width: 0.7em; height: 1px; background: var(--red); }
.article ol { list-style: decimal; }
.article a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.article a:hover { text-decoration-color: currentColor; }
.article blockquote { border-left: 2px solid var(--red); padding-left: 22px; font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.35; }
.article table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.article th, .article td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.article img { margin-block: 1.6em; }
.article .testimonial-video { margin-block: 2em; }
.post-meta { color: var(--mute-d); font-family: var(--f-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--t-label); }
.post-list { display: grid; }
.post-list a { display: grid; gap: 6px 40px; padding-block: 18px; border-top: 1px solid var(--line-l); text-decoration: none; transition: padding-left 0.5s var(--ease); }
.post-list a:last-child { border-bottom: 1px solid var(--line-l); }
@media (min-width: 900px) { .post-list a { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; } .post-list { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); } }
.post-list a:hover { padding-left: 10px; }
.post-list .post-date { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-l); }
.post-list .post-title { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.2; }
.post-list .post-desc { color: var(--mute-l); font-size: 1rem; }

.note-bar { font-size: 0.95rem; color: var(--mute-l); margin-top: clamp(28px, 4vw, 48px); }
.band:not(.band--light) .note-bar { color: var(--mute-d); }
.map-fig img { mix-blend-mode: multiply; width: 100%; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-r], .js [data-r="wipe"] > *, .js [data-enter] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-r="wipe"] img { transform: none !important; }
}
@media print { .site-header, .m-cta, .m-menu, .player { display: none !important; } body { background: #fff; color: #000; } }

/* ---------- Additions ---------- */
.page-hero-media .film-note { display: none; }
.page-hero-media .film-title { font-family: var(--f-label); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); }
.page-hero-media > .pic { aspect-ratio: 16 / 10; }
.stat { display: grid; gap: 6px; }
.stat-num { font-family: var(--f-label); font-weight: 600; font-size: clamp(3.4rem, 8vw, 7rem); line-height: 0.9; letter-spacing: 0; color: var(--white); }
.band--light .stat-num { color: var(--ink); }
.stat p { max-width: 22em; }
.ticks { display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--red); }
.split-head { display: grid; gap: 20px; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 84px); }
.stack > * + * { margin-top: clamp(22px, 3vw, 36px); }
.lead-in { font-family: var(--f-display); font-size: clamp(1.6rem, 2.9vw, 2.6rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 24em; text-wrap: balance; }
.reviewed { font-size: 0.9rem; color: var(--mute-l); margin-top: 28px; }

.post-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1040px) { .post-grid { grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); } }
.post-aside { display: grid; gap: 16px; justify-items: start; border-left: 2px solid var(--red); padding: 6px 0 6px 24px; max-width: 24rem; }
.post-aside p { color: var(--mute-l); }
@media (min-width: 1040px) { .post-aside { position: sticky; top: calc(var(--header-h) + 40px); justify-self: end; } }
