@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeretmono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --light: #f3f3f1;
  --light-2: #e7e7e3;
  --white: #fcfcfa;
  --ink: #111111;
  --ink-2: #3d3d3a;
  --muted: #64645e;
  --hud: #8a8a84;
  --base: #0d0d0d;
  --base-2: #1a1a19;
  --base-line: #34342f;
  --on-base: #f2f2ef;
  --on-base-2: #b5b5af;
  --red: #e0261b;
  --error: #b3261e;

  --pitch: clamp(18px, 2.1vw, 30px);
  --inset: clamp(12px, 2vw, 32px);
  --gutter: calc(var(--inset) + clamp(22px, 4.6vw, 76px));
  --section: calc(var(--pitch) * 6);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --print: "Azeret Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--base-line) var(--light); }
body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(16px, 1.05vw + 0.55rem, 18px);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--red);
}
::selection { background: var(--ink); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sr, .hide { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--gutter); top: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--light); transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }

/* ---------- Viewfinder overlay ---------- */
.vf {
  position: fixed;
  inset: var(--inset);
  z-index: 45;
  pointer-events: none;
  color: var(--ink);
}
.vf__c { position: absolute; width: clamp(18px, 2.4vw, 38px); height: clamp(18px, 2.4vw, 38px); border: 0 solid currentColor; transition: color 0.35s; }
.vf__c--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf__c--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf__c--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf__c--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf__rec {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -1px);
  display: flex;
  align-items: center;
  gap: 0.55em;
  font: 700 clamp(11px, 0.95vw, 14px) / 1 var(--print);
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.35s;
}
.vf__dot { width: 0.72em; height: 0.72em; border-radius: 50%; background: var(--red); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.25; } }
html.vf-top-dark .vf__rec, html.vf-top-dark .vf__c--tl, html.vf-top-dark .vf__c--tr { color: var(--on-base); }
html.vf-bot-dark .vf__c--bl, html.vf-bot-dark .vf__c--br { color: var(--on-base); }
@media (max-width: 700px) { .vf__rec { font-size: 11px; } }

/* ---------- Header ---------- */
.top {
  position: fixed;
  z-index: 50;
  top: calc(var(--inset) + clamp(14px, 1.8vw, 26px));
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--ink);
  pointer-events: none;
  transition: color 0.35s;
}
html.vf-top-dark .top { color: var(--on-base); }
.top > * { pointer-events: auto; }
.mark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(24px, 3.2vw, 52px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.nav { display: flex; flex-direction: column; align-items: flex-end; gap: 0.08em; }
.nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(14px, 1.45vw, 22px);
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-btn { display: none; }

@media (max-width: 700px) {
  .menu-btn {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin: -6px -10px 0 0;
    padding: 12px 10px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .menu-btn i { display: block; width: 24px; height: 2.5px; background: currentColor; transition: transform 0.35s var(--ease-out); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed;
    top: calc(var(--inset) + 70px);
    right: var(--gutter);
    align-items: flex-end;
    gap: 6px;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }
  .nav a { font-size: 30px; line-height: 1.05; }
  .top.is-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 380vh; height: 380svh; }
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  touch-action: pan-y;
  background: radial-gradient(120% 92% at 50% 38%, var(--white) 0%, var(--light) 46%, var(--light-2) 100%);
}
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__subject {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  height: min(90svh, 104vw);
  aspect-ratio: 901 / 1045;
  transform: translate3d(-50%, 0, 0);
  transform-origin: 50% 100%;
}
.hero__matt, .hero__neg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__subject.is-live .hero__matt { opacity: 0; }
.hero__reel { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.hero__matt { user-select: none; -webkit-user-drag: none; }
.hero__neg { pointer-events: none; }
.hero__scan {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1.5px;
  background: var(--red);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__loupe {
  position: absolute;
  z-index: 8;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  will-change: transform;
}
.hero__loupe::before, .hero__loupe::after { content: ""; position: absolute; background: var(--ink); }
.hero__loupe::before { left: 50%; top: -8px; bottom: -8px; width: 1.5px; margin-left: -0.75px; }
.hero__loupe::after { top: 50%; left: -8px; right: -8px; height: 1.5px; margin-top: -0.75px; }
.hero__loupe-tag {
  position: absolute;
  left: 30px;
  top: 30px;
  font: 700 11px/1 var(--print);
  letter-spacing: 0.16em;
  color: var(--ink);
  white-space: nowrap;
}
.hero__loupe.is-on { opacity: 1; }
@media (hover: none) { .hero__loupe { display: none; } }

.hero__intro {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  bottom: calc(var(--inset) + clamp(48px, 4.6vw, 70px));
  /* The column ends 16px short of his elbow: the arm reaches 8.3% into the cutout's width. */
  width: clamp(250px, calc(50vw - min(90svh, 104vw) * 0.8622 * 0.417 - 16px - var(--gutter)), 360px);
  container-type: inline-size;
  opacity: var(--intro, 1);
  transform: translate3d(0, calc((1 - var(--intro, 1)) * -24px), 0);
  visibility: var(--intro-vis, visible);
}
.hero__lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
  margin-bottom: var(--pitch);
}
.hero__lead a { color: var(--ink); font-weight: 650; }

.hero__split {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  right: var(--gutter);
  top: 19%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  color: var(--ink);
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(40px, 5vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero__half { display: flex; flex-direction: column; opacity: var(--hv, 1); }
.hero__half--l { transform: translate3d(calc(var(--spread, 0) * -1 * clamp(16px, 3vw, 56px)), 0, 0); }
.hero__half--r { align-items: flex-end; text-align: right; transform: translate3d(calc(var(--spread, 0) * clamp(16px, 3vw, 56px)), 0, 0); }
.hero__half .ln { display: block; white-space: nowrap; }

.hud {
  position: absolute;
  z-index: 5;
  bottom: calc(var(--inset) + clamp(12px, 1.6vw, 22px));
  display: flex;
  align-items: center;
  gap: 1.4em;
  font: 700 clamp(10px, 0.82vw, 12px) / 1 var(--print);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.hud--l { left: var(--gutter); }
.hud--r { right: var(--gutter); }
.hud__coarse, .hud__hint { display: none; }
.hud__fine, .hud__coarse, .hud__hint { font: 600 12.5px/1 var(--display); letter-spacing: 0; text-transform: none; }
.meters { display: inline-flex; flex-direction: column; gap: 4px; }
.meters i { display: block; width: clamp(48px, 4.4vw, 68px); height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 5px) left / var(--lvl, 40%) 100% no-repeat, repeating-linear-gradient(90deg, var(--light-2) 0 3px, transparent 3px 5px); }
@media (hover: none) { .hud__fine { display: none; } .hud__coarse { display: inline; } }

@container (max-width: 329px) {
  .join__row { flex-direction: column; }
  .join__btn { justify-content: center; border-left: 1.5px solid var(--ink); border-top: 0; }
}
@media (max-width: 700px), (max-width: 1100px) and (orientation: portrait) {
  .hero { height: 330vh; height: 330svh; }
  .hero__subject { height: min(61svh, 150vw); }
  /* Phones: the lead sits under the thesis, the email row is a slim bar at the foot, his body stays in view. */
  .hero__intro { display: contents; }
  .hero__lead, .hero__intro .join { opacity: var(--intro, 1); visibility: var(--intro-vis, visible); }
  .hero__lead {
    position: absolute;
    z-index: 5;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--inset) + 104px + 3.6 * clamp(32px, 10vw, 46px) + 26px);
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
  }
  .hero__intro .join {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px var(--gutter) calc(var(--inset) + 10px);
    background: var(--light);
    box-shadow: 0 -1px 0 var(--light-2);
  }
  .hero__intro .join__note { margin-top: 8px; min-height: 0; font-size: 13px; }
  .join__more { display: none; }
  /* The camera line rides along the top of the bar: the touch cue left, live meters right. */
  .hud { z-index: 7; bottom: calc(var(--inset) + 10px + 13px * 1.45 + 8px + 54px + 13px); opacity: var(--intro, 1); }
  .hud--l span:not(.hud__hint) { display: none; }
  .hud--l .hud__hint { display: inline; }
  .hud--r .hud__coarse { display: none; }
  .hero__split { flex-direction: column; justify-content: flex-start; gap: 10px; top: calc(var(--inset) + 104px); font-size: clamp(32px, 10vw, 46px); }
  .hero__half--r { align-self: flex-end; }
  .hud { gap: 1em; }
}
@media (min-width: 701px) and (max-width: 1279px) and (orientation: landscape) {
  .hero__intro { display: contents; }
  .hero__lead, .hero__intro .join { opacity: var(--intro, 1); visibility: var(--intro-vis, visible); }
  .hero__lead {
    position: absolute;
    z-index: 5;
    left: var(--gutter);
    top: calc(19% + 1.8 * clamp(40px, 5vw, 5.25rem) + 26px);
    width: min(300px, 26vw);
    margin: 0;
    font-size: 15px;
  }
  .hero__intro .join {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px var(--gutter) calc(var(--inset) + 12px);
    background: var(--light);
    box-shadow: 0 -1px 0 var(--light-2);
  }
  .hero__intro .join__row { flex: 0 0 min(420px, 44vw); }
  .hero__intro .join__note { margin: 0; min-height: 0; }
  .join__more { display: none; }
  /* Exposure readout lives only on the open ground (1280 and wider); here the band carries the cue and meters. */
  .hud { z-index: 7; bottom: calc(var(--inset) + 12px + 21px); }
  .hud--l { display: none; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .hero__subject { height: 56svh; }
  .hero__lead { font-size: 14px; }
}

/* ---------- Forms ---------- */
.join__row { display: flex; width: 100%; }
.join__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 500 16px/1 var(--display);
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.join__input::placeholder { color: #6e6e68; }
.join__input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.16); }
.join__input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 39, 26, 0.18); }
.join__btn {
  flex: 0 0 auto;
  height: 54px;
  padding: 0 clamp(16px, 1.5vw, 24px);
  border: 1.5px solid var(--ink);
  border-left: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font: 750 16px/1 var(--display);
  font-stretch: 108%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s, transform 0.12s;
}
.join__btn::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.join__btn:hover { background: #2b2b29; }
.join__btn:active { transform: translateY(1px); }
.join__btn[disabled] { cursor: default; background: #55554f; }
.join__btn[aria-busy="true"] span::after { content: "…"; }
.join__note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  min-height: 1.45em;
}
.join__note.is-error { color: var(--error); }
.join__note.is-ok { color: var(--ink); font-weight: 600; }
@media (max-width: 420px) {
  .join__btn { padding: 0 14px; font-size: 15px; }
}

.join--dark .join__input { background: var(--base-2); color: var(--on-base); border-color: var(--on-base-2); }
.join--dark .join__input::placeholder { color: #8d8d86; }
.join--dark .join__btn { background: var(--on-base); color: var(--ink); border-color: var(--on-base); }
.join--dark .join__btn:hover { background: #ffffff; }
.join--dark .join__note { color: var(--on-base-2); }
.join--dark .join__note.is-ok { color: var(--on-base); }
.join--dark .join__note.is-error { color: #f0a08f; }
.join--dark a:focus-visible, .join--dark button:focus-visible, .join--dark input:focus-visible { outline-color: var(--on-base); }

/* ---------- Shared blocks ---------- */
h2 {
  font-weight: 900;
  font-stretch: 114%;
  font-size: clamp(40px, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.block { padding: var(--section) var(--gutter) calc(var(--pitch) * 3); max-width: calc(1400px + var(--gutter) * 2); margin: 0 auto; }
.block__lead { margin-top: calc(var(--pitch) * 1.2); max-width: 46ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.text-cta { display: inline-flex; gap: 0.4em; margin-top: calc(var(--pitch) * 1.4); font-weight: 750; font-stretch: 108%; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: currentColor; text-underline-offset: 0.26em; }
.text-cta:hover { text-underline-offset: 0.36em; }

/* ---------- Reel ---------- */
/* The tools slide up over the pinned hero like a curtain: no gap, no dead screen. */
.reel { position: relative; z-index: 3; margin-top: -100vh; margin-top: -100svh; background: var(--base); color: var(--on-base); box-shadow: 0 -30px 60px -10px rgba(17, 17, 17, 0.28); }
.reel__pin { position: relative; padding: calc(var(--band-h) + var(--pitch) * 2) 0 var(--section); overflow: hidden; }
.reel__head { padding: 0 var(--gutter); max-width: calc(980px + var(--gutter) * 2); }
.reel__head p { margin-top: calc(var(--pitch) * 1.1); max-width: 44ch; font-size: clamp(17px, 1.35vw, 21px); color: var(--on-base-2); text-wrap: pretty; }
.reel__track {
  display: flex;
  gap: calc(var(--pitch) * 1.2);
  padding: calc(var(--pitch) * 2.6) var(--gutter) 0;
  will-change: transform;
}
.frame { flex: 0 0 clamp(300px, 32vw, 520px); display: flex; flex-direction: column; }
.frame__edge {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0 2px 8px;
  font: 700 clamp(10px, 0.8vw, 12px) / 1 var(--print);
  letter-spacing: 0.18em;
  color: var(--on-base-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.frame__edge--b { padding: 9px 2px 0; align-items: center; }
.frame__rail { flex: 1; height: 2px; background: var(--on-base); }
.frame__status { font: 600 13px/1 var(--display); letter-spacing: 0; color: var(--on-base); }
.frame__slate { letter-spacing: 0.08em; }
.frame[data-status="studio"] .frame__rail { background: repeating-linear-gradient(90deg, var(--on-base-2) 0 10px, transparent 10px 18px); }
.frame__pic {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 0 0 1px var(--base-line), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}
.frame__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.frame__pic[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 10px;
  bottom: 9px;
  padding: 5px 8px;
  font: 600 12px/1 var(--display);
  color: var(--on-base);
  background: rgba(0, 0, 0, 0.66);
}
.frame__pic--icon { display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 45%, #262a3e 0%, #050505 100%); }
.frame__pic--icon img { width: 34%; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }

.frame__pic--grade .grade-flat {
  position: absolute;
  inset: 0;
  backdrop-filter: saturate(0.32) contrast(0.68) brightness(1.12) sepia(0.06);
  -webkit-backdrop-filter: saturate(0.32) contrast(0.68) brightness(1.12) sepia(0.06);
  clip-path: inset(0 calc(100% - var(--g, 50%)) 0 0);
}
.frame__pic--grade .grade-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--g, 50%);
  width: 0;
  border-left: 1.5px solid var(--white);
}
.frame__pic--grade .grade-line b {
  position: absolute;
  top: 10px;
  font: 700 11px/1 var(--print);
  letter-spacing: 0.14em;
  color: var(--on-base);
  background: rgba(0, 0, 0, 0.66);
  padding: 4px 6px;
}
.frame__pic--grade .grade-line b:first-child { right: 8px; }
.frame__pic--grade .grade-line b:last-child { left: 8px; }

.frame__pic--looks .looks {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.frame__pic--looks .looks b {
  display: block;
  text-align: center;
  padding-top: 10px;
  border-left: 1px solid rgba(253, 253, 251, 0.35);
  font: 700 11px/1 var(--print);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.frame__pic--looks .looks b::first-line { background: rgba(0, 0, 0, 0.55); }
.frame__pic--looks .looks b:first-child { border-left: 0; }
.frame__pic--looks .looks b:nth-child(2) { backdrop-filter: sepia(0.55) saturate(1.5) contrast(1.15) hue-rotate(-12deg); -webkit-backdrop-filter: sepia(0.55) saturate(1.5) contrast(1.15) hue-rotate(-12deg); }
.frame__pic--looks .looks b:nth-child(3) { backdrop-filter: sepia(0.25) saturate(0.85) contrast(1.05) brightness(1.04); -webkit-backdrop-filter: sepia(0.25) saturate(0.85) contrast(1.05) brightness(1.04); }
.frame__pic--looks .looks b:nth-child(4) { backdrop-filter: grayscale(1) contrast(1.18); -webkit-backdrop-filter: grayscale(1) contrast(1.18); }
.frame__pic--looks .looks b:nth-child(5) { backdrop-filter: saturate(1.6) contrast(0.9) hue-rotate(8deg) blur(0.6px); -webkit-backdrop-filter: saturate(1.6) contrast(0.9) hue-rotate(8deg) blur(0.6px); }

.frame__copy { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding-top: calc(var(--pitch) * 1.1); }
.frame__icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 11px; }
.frame__copy h3 { align-self: end; font-weight: 850; font-stretch: 112%; font-size: clamp(24px, 2vw, 32px); line-height: 1; letter-spacing: -0.015em; }
.frame__tag { align-self: start; margin-top: 3px; font-weight: 600; color: var(--on-base); line-height: 1.3; min-height: 2.6em; }
.frame__copy p:not(.frame__tag) { grid-column: 1 / -1; margin-top: 12px; max-width: 42ch; color: var(--on-base-2); font-size: 16px; line-height: 1.5; }
.frame__cta { grid-column: 1 / -1; justify-self: start; margin-top: 14px; display: inline-flex; gap: 0.4em; padding: 11px 16px; background: var(--on-base); color: var(--ink); text-decoration: none; font-weight: 750; font-stretch: 108%; font-size: 15px; transition: background-color 0.2s; }
.frame__cta:hover { background: #ffffff; }
.frame__cta--quiet { background: transparent; color: var(--on-base); padding: 10px 15px; box-shadow: inset 0 0 0 1.5px var(--base-line); }
.frame__cta--quiet:hover { background: var(--base-2); }
.reel a:focus-visible { outline-color: var(--on-base); }


.reel.is-pinned { height: var(--reel-h, auto); }
.reel.is-pinned .reel__pin { position: sticky; top: 0; height: 100vh; padding: calc(var(--band-h) + clamp(30px, 3.4vw, 56px)) 0 0; display: flex; flex-direction: column; }
.reel.is-pinned .reel__head { display: flex; align-items: flex-end; gap: calc(var(--pitch) * 2); max-width: none; }
.reel.is-pinned .reel__head h2 { flex: none; font-size: clamp(38px, 4.4vw, 4.25rem); }
.reel.is-pinned .reel__head p { margin: 0; max-width: 40ch; font-size: 16px; }
.reel.is-pinned .reel__track { padding-top: calc(var(--pitch) * 1.6); }
.reel.is-pinned .frame { flex-basis: clamp(260px, min(27vw, (100vh - 560px) * 1.5), 520px); }
.reel.is-pinned .frame__copy p:not(.frame__tag) { font-size: 15px; }

@media (max-width: 900px) {
  .reel__track { flex-direction: column; gap: calc(var(--pitch) * 3); padding-right: var(--gutter); }
  .frame { flex-basis: auto; }
}

/* ---------- Courses ---------- */
.courses { background: var(--light); }
.cans { padding: 0 var(--gutter) var(--section); max-width: calc(1400px + var(--gutter) * 2); margin: 0 auto; display: grid; gap: calc(var(--pitch) * 2.2); }
.can {
  display: grid;
  grid-template-columns: 1fr minmax(150px, auto);
  column-gap: calc(var(--pitch) * 1.4);
  align-items: baseline;
  padding-top: calc(var(--pitch) * 1.2);
  background: linear-gradient(var(--ink), var(--ink)) top left / 100% 2px no-repeat;
}
.can h3 { font-weight: 850; font-stretch: 110%; font-size: clamp(26px, 3.1vw, 48px); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.can p { grid-column: 1; margin-top: 14px; max-width: 54ch; color: var(--ink-2); }
.can__state { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--display); color: var(--ink-2); }
.can__state::before { content: ""; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
@media (max-width: 760px) {
  .can { grid-template-columns: 1fr auto; row-gap: 10px; }
  .can { grid-template-columns: 1fr; }
  .can__state { grid-column: 1; grid-row: auto; justify-self: start; order: 3; }
  .can p { margin-top: 0; }
}

/* ---------- Looks ---------- */
.looks-sec { background: var(--white); }
.block--split { display: grid; grid-template-columns: 1fr 1.25fr; gap: calc(var(--pitch) * 3); align-items: center; padding-bottom: var(--section); }
.lut-list { margin-top: calc(var(--pitch) * 1.6); display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--pitch) * 0.9) calc(var(--pitch) * 1.2); max-width: 460px; }
.lut-list li { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; background: linear-gradient(var(--ink), var(--ink)) top left / 28px 2px no-repeat; }
.lut-list b { font-weight: 850; font-stretch: 112%; font-size: 22px; line-height: 1; }
.lut-list span { font-size: 15px; color: var(--muted); }
.compare { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 10px; background: #000; box-shadow: 0 24px 50px -20px rgba(17, 17, 17, 0.4); --pos: 50%; }
.compare__img { position: absolute; inset: 0; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__img--before img { filter: saturate(0.32) contrast(0.68) brightness(1.12) sepia(0.06); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; border-left: 1.5px solid var(--white); pointer-events: none; }
.compare__handle::after { content: ""; position: absolute; top: 50%; left: -19px; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size: 20px; background-position: center; background-repeat: no-repeat; }
.compare__range:focus-visible ~ .compare__handle::after { outline: 2px solid var(--white); outline-offset: 3px; }
.compare__tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.compare[data-label]::after { font: 600 12px/1 var(--display); color: var(--on-base); background: rgba(0, 0, 0, 0.66); padding: 5px 8px; }
.compare__tags b { font: 700 11px/1 var(--print); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-base); background: rgba(0, 0, 0, 0.66); padding: 5px 7px; }
.compare[data-label]::after { content: attr(data-label); position: absolute; left: 12px; bottom: 12px; pointer-events: none; }
@media (max-width: 900px) { .block--split { grid-template-columns: 1fr; } .compare { aspect-ratio: 4 / 4.2; } }

/* ---------- Mentoring ---------- */
.mentor { background: var(--light); padding: var(--section) var(--gutter); }
.mentor__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: calc(var(--pitch) * 3); align-items: center; }
.mentor__pic { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; }
.mentor__pic img { width: 100%; height: 100%; object-fit: cover; }
.ask { margin-top: calc(var(--pitch) * 1.6); display: grid; gap: 8px; max-width: 520px; }
.ask__label { margin-top: 10px; font-weight: 650; font-size: 15px; }
.ask__text { min-height: 112px; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); font: 500 16px/1.45 var(--display); color: var(--ink); resize: vertical; }
.ask__text:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.16); }
.ask__text[aria-invalid="true"] { border-color: var(--error); }
.ask .join__btn { justify-self: start; margin-top: 12px; border-left: 1.5px solid var(--ink); }
@media (max-width: 900px) { .mentor__grid { grid-template-columns: 1fr; } .mentor__pic { aspect-ratio: 3 / 2; } }

/* ---------- Who ---------- */
.who { background: var(--white); padding: var(--section) var(--gutter); }
.who__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: calc(var(--pitch) * 3); align-items: end; }
.who__copy p { margin-top: calc(var(--pitch) * 1.2); max-width: 44ch; font-size: clamp(17px, 1.35vw, 21px); color: var(--ink-2); text-wrap: pretty; }
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--pitch) * 0.6); padding: calc(var(--pitch) * 0.6); background: var(--base); border-radius: 4px; }
.contact li { display: flex; flex-direction: column; gap: 8px; }
.contact img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.contact span { font: 600 13px/1.2 var(--display); color: var(--on-base-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .who__grid { grid-template-columns: 1fr; } .contact { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Close ---------- */
.close { background: var(--base); color: var(--on-base); padding: var(--section) var(--gutter) calc(var(--pitch) * 2); overflow: hidden; }
.close h2 { font-size: clamp(52px, 9vw, 6rem); }
.close__lead { margin: calc(var(--pitch) * 1.1) 0 calc(var(--pitch) * 1.6); max-width: 44ch; font-size: clamp(17px, 1.35vw, 21px); color: var(--on-base-2); }
.close .join { max-width: 560px; }
.foot { margin-top: calc(var(--section) * 0.8); padding-top: var(--pitch); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--on-base-2); background: linear-gradient(var(--base-line), var(--base-line)) top left / 100% 1px no-repeat; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-base); text-decoration: underline; }
.close a:focus-visible { outline-color: var(--on-base); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; height: 100svh; }
  .reel { margin-top: 0; box-shadow: none; }
  .hero__half--l, .hero__half--r { opacity: 1; transform: none; }
  .vf__dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Authored chevron ---------- */
.chev { width: 0.72em; height: 0.72em; flex: none; align-self: center; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease-out); }
a:hover .chev { transform: translateX(2px); }

/* ---------- Condensed header after the hero ---------- */
:root { --band-h: calc(var(--inset) + clamp(46px, 3.6vw, 54px)); }
.band {
  position: fixed;
  z-index: 44;
  top: 0;
  left: 0;
  right: 0;
  height: var(--band-h);
  background: var(--light);
  transform: translateY(-101%);
  transition: transform 0.45s var(--ease-out), background-color 0.35s;
  pointer-events: none;
}
html.is-condensed .band { transform: none; }
html.band-dark .band { background: var(--base); }
html.is-condensed .top { top: calc(var(--inset) + 14px); align-items: center; }
html.is-condensed .mark { flex-direction: row; gap: 0.32em; font-size: clamp(17px, 1.4vw, 21px); line-height: 1; }
@media (min-width: 701px) {
  html.is-condensed .nav { flex-direction: row; gap: clamp(16px, 2vw, 30px); }
  html.is-condensed .nav a { font-size: clamp(12px, 0.95vw, 14px); }
}
@media (max-width: 700px) {
  html.is-condensed .menu-btn { margin-top: -12px; }
  .nav { padding: 18px 22px; background: var(--light); box-shadow: 0 20px 44px -22px rgba(17, 17, 17, 0.45); border-radius: 12px; }
  html.vf-top-dark .nav { background: var(--base-2); }
}

/* ---------- Phones: email field above a full width button ---------- */
@media (max-width: 359px) {
  .join__row { flex-direction: column; }
  .join__btn { justify-content: center; border-left: 1.5px solid var(--ink); border-top: 0; }
  .join--dark .join__btn { border-color: var(--on-base); }
}

/* ---------- Reduced motion: one still composition ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__loupe { display: none; }
}
/* Phones without motion: stack thesis, portrait and sign-up in flow instead of layering them. */
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .hero, .hero__stage { height: auto; }
  .hero__stage { position: relative; min-height: 100svh; padding-bottom: calc(var(--inset) + 44px); display: flex; flex-direction: column; }
  .hero__split { order: 1; }
  .hero__subject { order: 2; align-self: flex-start; }
  .hero__split { position: relative; top: auto; left: auto; right: auto; margin: calc(var(--inset) + 92px) var(--gutter) 0; }
  .hero__subject { position: relative; left: 50%; bottom: auto; height: min(56svh, 130vw); margin-top: 18px; }
  .hero__lead { position: relative; top: auto; left: auto; right: auto; order: 3; margin: 18px var(--gutter) 0; }
  .hero__intro .join { position: relative; order: 4; box-shadow: none; padding: 14px var(--gutter) 8px; }
}

/* ---------- Looks: a live luma scope, as on the camera ---------- */
.compare__scope {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 8px 8px 6px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  pointer-events: none;
}
.compare__scope canvas { display: block; width: 168px; height: 56px; }
.compare__scope b { font: 700 10.5px/1 var(--print); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-base-2); }
@media (max-width: 480px) { .compare__scope canvas { width: 120px; height: 40px; } }
