/* akruchten.com — v3 — house visual system at full scale
   Source of truth: 3.Work/2.Advisory/brand/kruchten-brand-guidelines.md
   Light editorial + dark cinematic, monumental type, structure you can feel.
   Every flourish carries meaning or it was cut. */

:root {
  --ink: #161616;
  --graphite: #3A3A3A;
  --slate: #6B6B6B;
  --mist: #A6A6A6;
  --fog: #D8D6D1;
  --cloud: #ECECEA;
  --paper: #F6F6F4;
  --white: #FFFFFF;
  --obsidian: #0C0C0C;
  --coal: #181818;
  --oxblood: #8C1D2C;
  --oxblood-lift: #A8283A;

  --font-display: 'Newsreader', Georgia, serif;
  --font-text: 'Hanken Grotesk', system-ui, sans-serif;
  --measure: 66ch;
  --page-w: 1200px;
  --wide-w: 1400px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.leaving { opacity: 0; transition: opacity 220ms ease; }
body.arriving { animation: arrive 420ms ease both; }
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

::selection { background: var(--oxblood); color: var(--white); }

img { max-width: 100%; display: block; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--oxblood); outline-offset: 3px;
}

.wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 36px; }
.wrap-wide { max-width: var(--wide-w); margin: 0 auto; padding: 0 36px; }

/* ============================================================
   PRELOADER — the mark draws itself. Once per session.
   ============================================================ */

.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--obsidian);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 480ms ease, visibility 480ms ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader svg { width: 72px; height: 72px; overflow: visible; }
.loader path {
  fill: none; stroke: #fff; stroke-width: 3.5;
  stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200);
  animation: draw 700ms var(--ease-slow) forwards;
}
.loader path:nth-child(2) { animation-delay: 180ms; }
.loader path:nth-child(3) { animation-delay: 360ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
body.no-loader .loader { display: none; }

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--fog);
  transition: background 320ms var(--ease), border-color 320ms var(--ease), transform 320ms var(--ease);
}
.site-nav .nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-mark { display: flex; align-items: center; }
.nav-mark img { height: 30px; width: 30px; display: block; }
.nav-mark .m-rev { display: none; }

.nav-right { display: flex; align-items: center; gap: 32px; }

.nav-links { display: flex; gap: 38px; align-items: center; }

/* variant switcher — A / B / C */
.vswitch { display: flex; border: 1px solid var(--fog); }
.vswitch a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em;
  text-decoration: none; color: var(--slate);
  border-left: 1px solid var(--fog);
  transition: color 140ms ease, background 140ms ease;
}
.vswitch a:first-child { border-left: none; }
.vswitch a:hover { color: var(--ink); }
.vswitch a.active { background: var(--ink); color: var(--paper); }
.site-nav.nav--overlay .vswitch { border-color: rgba(255,255,255,0.3); }
.site-nav.nav--overlay .vswitch a { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.3); }
.site-nav.nav--overlay .vswitch a:hover { color: #fff; }
.site-nav.nav--overlay .vswitch a.active { background: #fff; color: var(--ink); }
.nav-links a {
  font-weight: 600; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: var(--slate); transition: color 140ms ease; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--oxblood);
}

.site-nav.nav--overlay { background: transparent; border-color: transparent; }
.site-nav.nav--overlay .nav-links a { color: rgba(255,255,255,0.72); }
.site-nav.nav--overlay .nav-links a:hover,
.site-nav.nav--overlay .nav-links a.active { color: #fff; }
.site-nav.nav--overlay .nav-mark .m-pos { display: none; }
.site-nav.nav--overlay .nav-mark .m-rev { display: block; }

/* reading progress (about) */
.progress {
  position: fixed; top: var(--nav-h); left: 0; z-index: 99;
  height: 2px; width: 0; background: var(--ink);
  transition: width 80ms linear;
}

.page-inner { padding-top: var(--nav-h); }

/* ============================================================
   TYPE ROLES
   ============================================================ */

.kicker-rule {
  display: block; width: 44px; height: 3px;
  background: var(--oxblood); margin-bottom: 26px;
}
.kicker-rule.ink { background: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 11px; letter-spacing: 0.30em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--oxblood); }
.eyebrow.on-dark { color: var(--mist); }

.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.03em; line-height: 0.98; color: var(--ink);
}

.heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.022em; line-height: 1.04; color: var(--ink);
}

.lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(21px, 2.6vw, 29px);
  letter-spacing: -0.012em; line-height: 1.3; color: var(--graphite);
}

.standfirst { font-size: 17.5px; line-height: 1.6; color: var(--graphite); }
.caption {
  font-weight: 600; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate);
}
.data { font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--mist); }

/* masked line reveal — spans inside overflow-hidden lines */
.mask-line { display: block; overflow: hidden; }
.mask-line > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 900ms var(--ease-slow);
}
.mask-line.in > span { transform: translateY(0); }
.mask-line.dl1 > span { transition-delay: 90ms; }
.mask-line.dl2 > span { transition-delay: 180ms; }

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--oxblood); color: var(--white);
  font-weight: 600; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; padding: 16px 32px;
  transition: background 160ms ease;
  will-change: transform;
}
.btn:hover { background: var(--oxblood-lift); }
.btn .arr, .btn-ghost .arr, .textlink .arr { transition: transform 220ms var(--ease); }
.btn:hover .arr, .btn-ghost:hover .arr, .textlink:hover .arr { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.35); color: #fff;
  font-weight: 600; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; padding: 15px 30px;
  transition: border-color 160ms ease, background 160ms ease;
  will-change: transform;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-ghost.on-light { border-color: var(--fog); color: var(--ink); }
.btn-ghost.on-light:hover { border-color: var(--ink); background: rgba(22,22,22,0.03); }

a.quiet {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--fog); transition: border-color 140ms ease;
}
a.quiet:hover { border-color: var(--oxblood); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.textlink.on-dark { color: #fff; }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section-head { margin-bottom: 56px; }
.section-head .heading { max-width: 16ch; }
.section-head .sub { margin-top: 18px; max-width: 52ch; color: var(--slate); }

.band-dark { background: var(--obsidian); color: #fff; }
.band-dark .heading { color: #fff; }
.band-dark .section-head .sub { color: rgba(255,255,255,0.55); }

/* faint structural grid on dark bands — structure you can feel */
.gridlines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.035) 0, rgba(255,255,255,0.035) 1px,
      transparent 1px, transparent calc(100% / 6));
}

/* ============================================================
   HERO — monumental
   ============================================================ */

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--obsidian);
}
.hero-bg {
  position: absolute; inset: -6% 0;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.06) brightness(0.58);
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.10) 34%, rgba(8,8,8,0.82) 100%),
    linear-gradient(90deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0) 65%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: 150px; padding-bottom: 0;
}
.hero-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(64px, 11.5vw, 172px);
  letter-spacing: -0.035em; line-height: 0.94; color: #fff;
}
.hero .positioning {
  max-width: 560px; margin-top: 34px;
  font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.85);
}
.hero-actions { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }

/* live local-time strip — the five cities, ticking */
.clockstrip {
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.clock {
  padding: 20px 4px 26px; border-left: 1px solid rgba(255,255,255,0.10);
}
.clock:first-child { border-left: none; padding-left: 0; }
.clock .c-city {
  font-weight: 700; font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.clock .c-time {
  margin-top: 6px; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 2.2vw, 27px); color: #fff;
  font-variant-numeric: tabular-nums;
}
.clock .c-time .tick-sep { animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.clock .c-note {
  margin-top: 2px; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}

.scroll-cue {
  position: absolute; z-index: 2; bottom: 26px; right: 40px;
  font-weight: 600; font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue .bar {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================================
   CURRENTLY — three live tracks
   ============================================================ */

.now-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.now-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--fog);
  padding: 40px 34px 44px; min-height: 280px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms ease;
}
.now-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -34px rgba(22,22,22,0.45); border-color: var(--mist); }
.now-card .nc-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(1); opacity: 0; transform: scale(1.05);
  transition: opacity 420ms ease, transform 900ms var(--ease);
}
.now-card:hover .nc-img { opacity: 0.09; transform: scale(1.0); }
.now-card .nc-top {
  position: relative; display: flex; justify-content: space-between; align-items: baseline;
}
.now-card .idx {
  font-family: var(--font-display); font-size: 16px; color: var(--oxblood);
  font-variant-numeric: tabular-nums;
}
.now-card .now-tag {
  font-weight: 600; font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mist);
  border: 1px solid var(--fog); padding: 5px 10px; border-radius: 2px;
}
.now-card .now-org {
  position: relative; margin-top: auto;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.015em; color: var(--ink); line-height: 1.08;
}
.now-card .now-meta { position: relative; margin-top: 12px; font-size: 14px; color: var(--slate); }
.now-card .nc-go {
  position: relative; margin-top: 18px;
  font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms var(--ease);
}
.now-card:hover .nc-go { opacity: 1; transform: translateY(0); }
.now-card.static:hover { transform: none; box-shadow: none; border-color: var(--fog); cursor: default; }

/* ============================================================
   STATEMENT — his own words, verbatim, at scale
   ============================================================ */

.statement { position: relative; overflow: hidden; }
.statement .st-bg {
  position: absolute; inset: -8% 0; background-size: cover; background-position: center 30%;
  filter: grayscale(1) brightness(0.32); opacity: 0.55; will-change: transform;
}
.statement .st-inner { position: relative; z-index: 2; }
.statement .st-quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: -0.018em; line-height: 1.22; color: #fff;
  max-width: 26ch;
}
.statement .st-src { margin-top: 34px; }

/* ============================================================
   GEOGRAPHY — draggable cinematic band
   ============================================================ */

.geo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.geo-nav { display: flex; gap: 10px; margin-bottom: 10px; }
.geo-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.geo-btn:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.geo-btn:disabled { opacity: 0.25; cursor: default; }

.geo-track {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab; padding-bottom: 6px;
  margin: 0 calc((100vw - min(var(--wide-w), 100vw)) / -2);
  padding-left: max(36px, calc((100vw - var(--wide-w)) / 2 + 36px));
  padding-right: max(36px, calc((100vw - var(--wide-w)) / 2 + 36px));
}
.geo-track::-webkit-scrollbar { display: none; }
.geo-track.dragging { cursor: grabbing; scroll-snap-type: none; }

.geo-panel {
  position: relative; flex: 0 0 min(560px, 78vw); aspect-ratio: 4 / 5;
  max-height: 66vh; overflow: hidden; scroll-snap-align: start;
  background: var(--coal); text-decoration: none; display: block;
}
.geo-panel-bg {
  position: absolute; inset: -6% 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.05) brightness(0.62);
  transition: filter 500ms ease; will-change: transform;
}
.geo-panel:hover .geo-panel-bg { filter: grayscale(1) contrast(1.06) brightness(0.78); }
.geo-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.25) 0%, rgba(8,8,8,0) 35%, rgba(8,8,8,0.85) 100%);
}
.geo-coord {
  position: absolute; z-index: 2; top: 22px; left: 24px;
  font-weight: 600; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
}
.geo-num {
  position: absolute; z-index: 2; top: 18px; right: 24px;
  font-family: var(--font-display); font-size: 17px; color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}
.geo-label { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; }
.geo-label .city {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.02em; color: #fff; line-height: 1;
}
.geo-label .note {
  margin-top: 8px; font-weight: 600; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.geo-hint {
  margin-top: 26px; font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 12px;
}
.geo-hint .line { width: 48px; height: 1px; background: rgba(255,255,255,0.25); }

/* ============================================================
   ESSAYS — editorial index
   ============================================================ */

.essay-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 30px;
  align-items: baseline; padding: 34px 0;
  border-top: 1px solid var(--fog); text-decoration: none;
  transition: padding-left 260ms var(--ease), background 260ms ease;
}
.essay-row:hover { padding-left: 14px; }
.essay-row:last-of-type { border-bottom: 1px solid var(--fog); }
.essay-row .e-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3vw, 40px); color: var(--fog);
  font-variant-numeric: tabular-nums; line-height: 1;
  transition: color 260ms ease;
}
.essay-row:hover .e-num { color: var(--oxblood); }
.essay-row .title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink); line-height: 1.16; letter-spacing: -0.014em;
}
.essay-row .dek { margin-top: 10px; font-size: 15px; color: var(--slate); max-width: 58ch; }
.essay-row .meta {
  font-weight: 500; font-size: 12.5px; color: var(--mist);
  font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
  white-space: nowrap; text-align: right;
}

/* ============================================================
   WORK — chapters, sticky spy rail, ghost numerals
   ============================================================ */

.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: calc(var(--nav-h) + 120px) 0 100px;
  background: var(--obsidian);
}
.page-hero-bg {
  position: absolute; inset: -8% 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.05) brightness(0.45); will-change: transform;
}
.page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.55), rgba(8,8,8,0.30) 45%, rgba(8,8,8,0.88));
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .display { color: #fff; }
.page-hero .standfirst { color: rgba(255,255,255,0.78); margin-top: 22px; max-width: 56ch; }

.work-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }

.chapter-rail { position: sticky; top: calc(var(--nav-h) + 40px); }
.chapter-rail ol { list-style: none; }
.chapter-rail a {
  display: flex; gap: 14px; align-items: baseline;
  padding: 9px 0; text-decoration: none;
  color: var(--mist); transition: color 180ms ease;
}
.chapter-rail a .cr-num {
  font-family: var(--font-display); font-size: 13px;
  font-variant-numeric: tabular-nums; min-width: 22px;
}
.chapter-rail a .cr-name {
  font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.chapter-rail a:hover { color: var(--graphite); }
.chapter-rail a.active { color: var(--ink); }
.chapter-rail a.active .cr-num { color: var(--oxblood); }

.work-entry {
  position: relative; padding: 72px 0;
  border-top: 1px solid var(--fog);
}
.work-entry:first-of-type { border-top: none; padding-top: 24px; }
.ghost-num {
  position: absolute; top: 28px; right: -10px; z-index: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(120px, 16vw, 220px); line-height: 0.8;
  color: var(--cloud); pointer-events: none; user-select: none;
  font-variant-numeric: tabular-nums;
}
.we-body { position: relative; z-index: 1; }
.we-org {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.05;
}
.we-meta { margin-top: 12px; font-size: 14.5px; color: var(--slate); }
.we-body > p, .we-case { margin-top: 26px; max-width: var(--measure); }
.we-case-title { font-weight: 600; font-size: 15.5px; color: var(--ink); margin-bottom: 8px; }

.result-list { list-style: none; margin-top: 28px; max-width: var(--measure); }
.result-list li {
  padding: 15px 0; border-bottom: 1px solid var(--cloud);
  display: flex; gap: 20px; align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.result-list li:last-child { border-bottom: none; }
.result-list .place {
  font-family: var(--font-display); font-weight: 500; font-size: 21px;
  color: var(--oxblood); min-width: 84px;
}
.result-list .comp { font-size: 15.5px; color: var(--graphite); }
.result-list .field { font-size: 13px; color: var(--mist); margin-left: auto; }

.oneline-list { list-style: none; max-width: var(--measure); margin-top: 22px; }
.oneline-list li {
  padding: 12px 0; font-size: 16px; color: var(--graphite);
  border-bottom: 1px solid var(--cloud); display: flex; gap: 14px;
}
.oneline-list li:last-child { border-bottom: none; }
.oneline-list li::before { content: "—"; color: var(--oxblood); }

/* ============================================================
   CONTENT — offset rhythm grid
   ============================================================ */

.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; align-items: start;
}
.video-card { text-decoration: none; display: block; }
.video-card:nth-child(3n+2) { transform: translateY(44px); }
.video-card .thumb {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--coal); margin-bottom: 16px;
}
.video-card:nth-child(3n) .thumb { aspect-ratio: 16/11; }
.video-card:nth-child(3n+1) .thumb { aspect-ratio: 16/11; }
.video-card .thumb-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.04) brightness(0.68);
  transition: transform 700ms var(--ease), filter 400ms ease;
}
.video-card:hover .thumb-bg { transform: scale(1.06); filter: grayscale(1) contrast(1.04) brightness(0.8); }
.video-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.05), rgba(8,8,8,0.45));
}
.play {
  position: absolute; z-index: 2; left: 18px; bottom: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}
.video-card:hover .play { background: var(--oxblood); border-color: var(--oxblood); transform: scale(1.08); }
.play svg { width: 13px; height: 13px; }
.video-card .v-title { font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.4; }
.video-card .v-meta {
  margin-top: 6px; font-weight: 600; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mist); font-variant-numeric: tabular-nums;
}

/* ============================================================
   ABOUT — the story, with a timeline rail
   ============================================================ */

.about-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 88px;
  padding: 84px 0 110px;
}
.monologue { max-width: var(--measure); }
.monologue p { margin-bottom: 28px; font-size: 17.5px; }
.monologue p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 500;
  font-size: 78px; line-height: 0.76; float: left;
  padding: 8px 14px 0 0; color: var(--oxblood);
}
.monologue .turn {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 31px);
  color: var(--ink); line-height: 1.3; letter-spacing: -0.014em;
  margin: 44px 0; padding: 30px 0 30px 34px;
  border-left: 3px solid var(--oxblood);
}
.about-cta { margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap; }

.rail { position: relative; }
.rail-inner {
  position: sticky; top: calc(var(--nav-h) + 28px);
  padding-left: 28px; border-left: 1px solid var(--fog);
}
.rail-card { position: relative; margin-bottom: 38px; opacity: 0; transform: translateY(20px);
  transition: opacity 680ms var(--ease-slow), transform 680ms var(--ease-slow);
}
.rail-card.visible { opacity: 1; transform: translateY(0); }
.rail-card::before {
  content: ""; position: absolute; left: -32.5px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--mist);
  transition: border-color 300ms ease, background 300ms ease;
}
.rail-card:hover::before { border-color: var(--oxblood); background: var(--oxblood); }
.rail-card .rc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--coal); }
.rail-card .rc-img .bg {
  position: absolute; inset: -8% 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.04) brightness(0.8); will-change: transform;
}
.rail-card .r-caption {
  margin-top: 10px; font-weight: 600; font-size: 11px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--slate); font-variant-numeric: tabular-nums;
}

/* ============================================================
   FOOTER — the drawn line arrives
   ============================================================ */

.site-footer {
  background: var(--obsidian); color: #fff;
  padding: 100px 0 46px; position: relative; overflow: hidden;
}
.footer-cta { text-align: center; padding-bottom: 64px; }
.footer-cta .eyebrow { justify-content: center; }
.footer-cta .heading { color: #fff; margin: 0 auto; max-width: 17ch; }
.footer-cta .actions { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.foot-motif { display: flex; justify-content: center; padding: 10px 0 44px; }
.foot-motif svg { width: min(820px, 92%); height: auto; overflow: visible; }
.foot-motif path {
  fill: none; stroke: rgba(255,255,255,0.34); stroke-width: 2.6;
  stroke-linejoin: miter; stroke-miterlimit: 8; stroke-linecap: butt;
}
.foot-motif.animate path {
  stroke-dasharray: var(--mlen, 4000); stroke-dashoffset: var(--mlen, 4000);
  transition: stroke-dashoffset 2600ms var(--ease-slow);
}
.foot-motif.animate.drawn path { stroke-dashoffset: 0; }

.foot-inner {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 28px; }
.foot-links a {
  font-weight: 600; font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,0.6); transition: color 140ms ease;
}
.foot-links a:hover { color: #fff; }
.foot-fine { font-size: 11.5px; color: rgba(255,255,255,0.4); font-variant-numeric: tabular-nums; }

/* ============================================================
   REVEAL / PARALLAX UTILITIES
   ============================================================ */

[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 800ms var(--ease-slow), transform 800ms var(--ease-slow);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal].d1 { transition-delay: 90ms; }
[data-reveal].d2 { transition-delay: 180ms; }
[data-reveal].d3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .mask-line > span, .rail-card { opacity: 1 !important; transform: none !important; transition: none !important; }
  .loader { display: none; }
  .scroll-cue .bar, .clock .c-time .tick-sep { animation: none; }
  .foot-motif.animate path { stroke-dashoffset: 0 !important; transition: none; }
  [data-parallax] { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .work-layout { grid-template-columns: 1fr; gap: 0; }
  .chapter-rail { display: none; }
  .ghost-num { right: 0; font-size: 120px; }
}

@media (max-width: 940px) {
  .now-grid { grid-template-columns: 1fr; }
  .now-card { min-height: 0; padding: 30px 26px 34px; }
  .now-card .now-org { margin-top: 18px; }
  .about-layout { grid-template-columns: 1fr; gap: 16px; }
  .rail { display: none; }
  .section { padding: 76px 0; }
  .clockstrip { grid-template-columns: repeat(3, 1fr); }
  .clock:nth-child(4), .clock:nth-child(5) { border-top: 1px solid rgba(255,255,255,0.10); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card:nth-child(3n+2) { transform: none; }
  .video-card:nth-child(2n) { transform: translateY(36px); }
}

@media (max-width: 600px) {
  .wrap, .wrap-wide { padding: 0 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card:nth-child(2n) { transform: none; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.10em; }
  .nav-right { gap: 14px; }
  .vswitch a { width: 24px; height: 24px; }
  .clockstrip { grid-template-columns: 1fr 1fr; }
  .clock { padding-left: 12px; }
  .hero .positioning { font-size: 17px; }
  .essay-row { grid-template-columns: 1fr; gap: 8px; }
  .essay-row .e-num { font-size: 22px; }
  .essay-row .meta { text-align: left; }
  .scroll-cue { display: none; }
  .geo-track { padding-left: 22px; padding-right: 22px; }
}

/* ============================================================
   v4 layer — real imagery + Foundation
   ============================================================ */

/* work entries: one photo per chapter, held in a disciplined frame */
.we-media {
  margin: 26px 0 30px;
  border: 1px solid var(--fog);
  background: var(--cloud);
}
.we-media img {
  width: 100%; height: 340px; object-fit: cover;
  filter: contrast(1.02);
}
.we-media figcaption {
  font-family: var(--font-text);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate);
  padding: 10px 14px;
  border-top: 1px solid var(--fog);
}
.we-more { margin-top: 18px; font-size: 14px; color: var(--slate); }
.we-more .quiet { color: var(--graphite); }

/* home: foundation band — quiet, light, one line */
.found-band {
  background: var(--cloud);
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}
.found-line {
  max-width: var(--measure);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.5;
  color: var(--ink);
}

/* foundation page */
.found-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 72px;
  align-items: start;
}
.found-act { position: relative; padding-top: 8px; }
.found-act .ghost-num {
  position: absolute; top: -30px; left: -14px;
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 200px);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--fog);
  pointer-events: none; z-index: 0;
}
.fa-body { position: relative; z-index: 1; }
.fa-body .we-org { margin-top: 10px; }
.fa-body p { max-width: var(--measure); margin-top: 18px; }
.fa-status {
  font-family: var(--font-text);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate);
}
.fa-direction {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--ink);
  border-left: 2px solid var(--oxblood);
  padding-left: 18px;
}
.found-why { padding-top: 46px; }
.found-quote p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6; color: var(--graphite);
}
.found-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; }
.found-cta-band {
  background: var(--cloud);
  border-top: 1px solid var(--fog);
}
@media (max-width: 900px) {
  .found-layout { grid-template-columns: 1fr; gap: 40px; }
  .we-media img { height: 240px; }
}

/* ============================================================
   v4 DARK REGISTER — whole site in the dark palette (Alex, 2026-08-02).
   Token remap: the design reads its colors from these variables,
   so the inversion happens here, not per-component.
   Scoped 2026-08-08: applies only when html[data-theme="dark"];
   without the attribute the base (light) tokens govern.
   ============================================================ */

:root[data-theme="dark"] {
  --paper: #0C0C0C;        /* page ground */
  --white: #151513;        /* raised surfaces (cards) */
  --cloud: #121211;        /* quiet bands */
  --fog: #262624;          /* hairlines and borders */
  --ink: #F2F1EE;          /* strongest text */
  --graphite: #C7C5C0;     /* body text */
  --slate: #93918B;        /* secondary text */
  --obsidian: #060606;     /* cinematic bands sit slightly deeper than the page */
  --coal: #111110;
}

/* the dark mark is invisible now — reversed mark everywhere, overlay or not */
[data-theme="dark"] .site-nav .nav-mark .m-pos { display: none; }
[data-theme="dark"] .site-nav .nav-mark .m-rev { display: block; }

/* ghost hover states tuned for dark ground */
[data-theme="dark"] .btn-ghost.on-light:hover { border-color: var(--ink); background: rgba(255,255,255,0.05); }
[data-theme="dark"] .now-card:hover { box-shadow: 0 26px 60px -30px rgba(0,0,0,0.8); }

/* photos hold their own on dark — ease the frame down */
[data-theme="dark"] .we-media { background: var(--coal); }
[data-theme="dark"] .we-media img { filter: contrast(1.02) brightness(0.96); }

/* work ghost numerals: stroke was tuned for paper; keep it whisper-quiet on dark */
[data-theme="dark"] .ghost-num, [data-theme="dark"] .found-act .ghost-num { -webkit-text-stroke-color: #1F1F1D; }


/* ============================================================
   v4 HERO (locked 2026-08-02) — full bleed, Hi opening, red sweep
   ============================================================ */
    /* ---- HERO D: full bleed, text left ---- */
    .heroD { position: relative; min-height: 100vh; display: flex; flex-direction: column;
      justify-content: flex-end; overflow: hidden; }
    .heroD .d-bg { position: absolute; inset: 0;
      background: url('img/hero-stage.jpg') 70% 26%/cover no-repeat;
      animation: dEase 2600ms var(--ease-slow) both; }
    @keyframes dEase { from { transform: scale(1.07); } to { transform: scale(1); } }
    .heroD .d-shade { position: absolute; inset: 0; background:
      linear-gradient(90deg, rgba(6,6,6,0.90) 0%, rgba(6,6,6,0.72) 38%, rgba(6,6,6,0.28) 68%, rgba(6,6,6,0.10) 100%),
      linear-gradient(180deg, rgba(6,6,6,0.25) 0%, rgba(6,6,6,0.05) 40%, rgba(6,6,6,0.78) 100%); }
    .heroD .d-inner { width: 100%; position: relative; z-index: 2;
      padding: calc(var(--nav-h) + 40px) 36px 60px; }

    /* ---- opening beat: Hi 👋 ---- */
    .d-stage { position: relative; }
    .d-hi { position: absolute; top: 0; left: 0;
      font-family: var(--font-display); font-weight: 500; color: #fff;
      font-size: clamp(64px, 9.5vw, 148px); line-height: 1; letter-spacing: -0.03em;
      display: flex; align-items: center; gap: 0.28em;
      opacity: 0; transform: translateY(26px);
      animation: hiIn 700ms var(--ease) 350ms both, hiOut 500ms var(--ease) 2150ms both; }
    @keyframes hiIn { to { opacity: 1; transform: translateY(0); } }
    @keyframes hiOut { to { opacity: 0; transform: translateY(-22px); visibility: hidden; } }
    .d-hi .wave { display: inline-block; font-size: 0.82em;
      filter: grayscale(1) brightness(1.9);
      transform-origin: 72% 78%; animation: wave 1150ms ease-in-out 750ms 1 both; }
    @keyframes wave {
      0% { transform: rotate(0deg); } 15% { transform: rotate(16deg); }
      30% { transform: rotate(-9deg); } 45% { transform: rotate(16deg); }
      60% { transform: rotate(-5deg); } 75% { transform: rotate(11deg); }
      100% { transform: rotate(0deg); } }

    /* ---- main beat: I'm Alex Kruchten ---- */
    .d-name { font-family: var(--font-display); font-weight: 500; color: #fff;
      font-size: clamp(58px, 8.6vw, 132px); line-height: 0.96; letter-spacing: -0.038em; }
    .d-name .ml { display: block; overflow: hidden; }
    .d-name .ml > span { display: block; transform: translateY(112%);
      animation: nameUp 900ms var(--ease-slow) 2650ms both; }
    .d-name .ml + .ml > span { animation-delay: 2760ms; }
    @keyframes nameUp { to { transform: translateY(0); } }
    .d-name .im { color: rgba(255,255,255,0.55); }
    .heroD .kicker-rule { transform-origin: left; animation: dRule 900ms var(--ease) 2500ms both; }
    @keyframes dRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .d-pron { margin-top: 14px;
      font: 500 12px/1 var(--font-text); letter-spacing: .22em; text-transform: lowercase;
      color: rgba(255,255,255,0.42);
      opacity: 0; animation: dUp 700ms var(--ease) 3050ms both; }
    .heroD .positioning { margin-top: 26px; color: rgba(255,255,255,0.85); max-width: 44ch;
      opacity: 0; transform: translateY(14px); animation: dUp 800ms var(--ease) 3250ms both; }
    .heroD .hero-actions { margin-top: 38px; opacity: 0; transform: translateY(14px);
      animation: dUp 800ms var(--ease) 3450ms both; }
    @keyframes dUp { to { opacity: 1; transform: translateY(0); } }

    /* ---- bottom moment: grey hairline, a red accent sweeps it on loop ---- */
    .d-bottom { position: relative; z-index: 2; min-height: 44px; overflow: hidden; }
    .d-bottom::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: rgba(255,255,255,0.22); transform: scaleX(0); transform-origin: left;
      animation: dDraw 1400ms var(--ease-slow) 3650ms both; }
    @keyframes dDraw { to { transform: scaleX(1); } }
    /* wrap-around sweep, three phases in one element:
       hidden off-left through the opening -> entry pass slides the first pulse in ->
       infinite loop whose start state matches the entry's end state exactly (seamless) */
    .d-bottom .sw { position: absolute; top: -1px; left: 0; width: 200%; height: 3px;
      background-image: linear-gradient(90deg, rgba(168,40,58,0) 70%, var(--oxblood-lift) 85%, rgba(168,40,58,0) 100%);
      background-size: 50% 100%; background-repeat: repeat-x;
      animation: swEntry 5200ms linear 5100ms both,
                 sweep 5200ms linear 10300ms infinite; }
    @keyframes swEntry {
      from { transform: translateX(-100%); }
      to { transform: translateX(-50%); } }
    @keyframes sweep {
      from { transform: translateX(-50%); }
      to { transform: translateX(0); } }


    @media (prefers-reduced-motion: reduce) {
      .heroD *, .d-bottom::before { animation: none !important; }
      .d-hi { display: none; }
      .d-name .ml > span { transform: none; }
      .heroD .positioning, .heroD .hero-actions { opacity: 1; transform: none; }
    }

/* ---- v4 home: locked structure additions ---- */
.st-facts { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 44px;
  font: 600 11px/1.6 var(--font-text); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); }
.going .going-line { max-width: var(--measure);
  font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.5; color: var(--ink); }
.going .going-line + .going-line { margin-top: 18px; }

/* ---- v4 home: WHO I AM split (content left, Alex right) ---- */
.who-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.who-heading { max-width: 12ch; }
.who-para {
  max-width: var(--measure);
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.65;
}
.who-facts { list-style: none; margin: 34px 0 0; padding: 0; }
.who-facts li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--fog);
  font-size: 15px;
  line-height: 1.5;
}
.who-facts li:last-child { border-bottom: 1px solid var(--fog); }
.who-facts .wf-key {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 3px;
}
.who-cta { margin-top: 30px; }
.who-photo { position: relative; margin: 0; }
.who-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--coal);
  filter: contrast(1.02);
}
[data-theme="dark"] .who-photo img { filter: contrast(1.02) brightness(0.96); }
@media (max-width: 900px) {
  .who-layout { grid-template-columns: 1fr; gap: 40px; }
  .who-photo { order: -1; max-width: 480px; }
  .who-photo img { aspect-ratio: 4 / 4.4; }
}

/* ---- v4 home: section hierarchy — section NAME is the header, sentence is the subhead ---- */
.subhead {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--slate);
  margin-top: 14px;
  max-width: var(--measure);
}
.subhead.on-dark { color: rgba(255,255,255,0.6); margin-left: auto; margin-right: auto; }
.footer-cta .subhead { max-width: 44ch; }

/* ---- v4 home: WHAT I DO — feature + rail (locked layout) ---- */
.wid3 { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: 56px; align-items: stretch; }
.wid3 a { text-decoration: none; color: inherit; }
.w3-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.w3-idx { font-family: var(--font-text); font-size: 12px; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.w3-tag { font-family: var(--font-text); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); border: 1px solid var(--fog); padding: 4px 9px; }
.w3-org { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--ink); }
.w3-meta { font-family: var(--font-text); font-size: 13.5px; color: var(--slate); margin-top: 6px; line-height: 1.5; }
.w3-feature { position: relative; display: block; min-height: 480px; overflow: hidden; background: var(--coal); }
.w3-feature .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: contrast(1.02) brightness(0.72); transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.w3-feature:hover .bg { transform: scale(1.035); }
.w3-feature .ov { position: absolute; inset: auto 0 0 0; padding: 34px; background: linear-gradient(transparent, rgba(0,0,0,0.78)); }
.w3-feature .w3-org { font-size: clamp(28px, 3vw, 38px); }
.w3-feature .w3-org { color: #fff; }
.w3-feature .w3-meta { color: rgba(255,255,255,0.75); }
.w3-go { margin-top: 16px; font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(4px); transition: opacity 250ms ease, transform 250ms ease; }
.w3-feature:hover .w3-go { opacity: 1; transform: none; }
.w3-rail { display: flex; flex-direction: column; justify-content: center; }
.w3-row { display: grid; grid-template-columns: clamp(150px, 14vw, 210px) 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--fog); align-items: center; flex: 1; }
.w3-row:last-child { border-bottom: 1px solid var(--fog); }
.w3-thumb { aspect-ratio: 4/3; background-size: cover; background-position: center; filter: contrast(1.02) brightness(0.85); transition: filter 300ms ease; }
.w3-row:hover .w3-thumb { filter: contrast(1.05) brightness(1); }
.w3-row .w3-top { margin-bottom: 8px; }
@media (max-width: 900px) {
  .wid3 { grid-template-columns: 1fr; }
  .w3-feature { min-height: 400px; }
  .w3-row { grid-template-columns: 110px 1fr; gap: 16px; }
}


/* ============================================================
   THEME TOGGLE — sun/moon, fixed bottom right, all pages.
   Icon shows the register you would switch TO.
   ============================================================ */
body { transition: background-color 320ms ease, color 320ms ease; }
.theme-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--fog); background: var(--paper);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  color: var(--slate);
  transition: color 200ms ease, border-color 200ms ease, background-color 320ms ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--slate); }
.theme-toggle svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* ghost buttons follow the register on page ground; stay white over the hero photo and the dark footer */
.btn-ghost { border-color: var(--fog); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(128,128,128,0.08); }
.heroD .btn-ghost, .site-footer .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.heroD .btn-ghost:hover, .site-footer .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ---- v4 home: WHAT I STAND FOR — three-word hover panels (locked layout) ---- */
.sf5 { display: flex; gap: 10px; margin-top: 56px; height: min(68vh, 620px); }
.sf5-panel { position: relative; flex: 1; overflow: hidden; text-decoration: none; transition: flex 550ms cubic-bezier(0.3, 0.7, 0.2, 1); background: var(--coal); }
.sf5-panel:hover { flex: 2.4; }
.sf5-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: contrast(1.02) brightness(0.6) grayscale(0.1); transition: filter 500ms ease, transform 700ms ease; }
.sf5-panel:hover .sf5-bg { filter: contrast(1.04) brightness(0.75); transform: scale(1.03); }
.sf5-scrim { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,0.72)); }
.sf5-txt { position: absolute; left: 26px; right: 26px; bottom: 24px; }
.sf5-idx { font-family: var(--font-text); font-size: 11px; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.sf5-word { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); color: #fff; margin-top: 8px; white-space: nowrap; }
.sf5-detail { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.75); margin-top: 0; max-width: 34ch;
  max-height: 0; overflow: hidden; opacity: 0; transform: translateY(8px);
  transition: max-height 550ms cubic-bezier(0.3, 0.7, 0.2, 1), margin-top 550ms cubic-bezier(0.3, 0.7, 0.2, 1),
    opacity 400ms ease 120ms, transform 400ms ease 120ms; }
.sf5-panel:hover .sf5-detail { max-height: 260px; margin-top: 12px; opacity: 1; transform: none; }
@media (max-width: 800px) {
  .sf5 { flex-direction: column; height: auto; }
  .sf5-panel { min-height: 220px; flex: none; }
  .sf5-panel:hover { flex: none; }
  .sf5-detail { opacity: 1; transform: none; max-height: none; margin-top: 10px; }
}

/* ---- v4 home: WHERE I'M GOING — animated horizon line (locked layout) ---- */
.going-sec { overflow: hidden; }
.g4b-lead { margin-top: 40px; font-size: 16px; line-height: 1.7; color: var(--graphite); max-width: var(--measure); }
.g4b { position: relative; margin-top: 64px; }
.g4b-line { position: absolute; top: 4px; left: 0; right: calc(-1 * ((100vw - 100%) / 2)); height: 2px;
  background: linear-gradient(90deg, var(--oxblood) 0%, var(--oxblood) 55%, transparent 100%);
  transform: scaleX(0); transform-origin: left center; }
.g4b.in .g4b-line { animation: g4bdraw 1400ms cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes g4bdraw { to { transform: scaleX(1); } }
.g4b-line::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 160px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0; }
.g4b.in .g4b-line::after { animation: g4bpulse 4200ms linear 1800ms infinite; }
@keyframes g4bpulse {
  0% { transform: translateX(-160px); opacity: 0; }
  8% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateX(90vw); opacity: 0; }
}
.g4b-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4b-st { position: relative; padding-top: 34px; opacity: 0; transform: translateY(14px); }
.g4b.in .g4b-st { animation: g4bst 600ms var(--ease, ease) forwards; }
.g4b.in .g4b-st:nth-child(1) { animation-delay: 250ms; }
.g4b.in .g4b-st:nth-child(2) { animation-delay: 650ms; }
.g4b.in .g4b-st:nth-child(3) { animation-delay: 1050ms; }
@keyframes g4bst { to { opacity: 1; transform: none; } }
.g4b-dot { position: absolute; top: -3px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--oxblood); transform: scale(0); }
.g4b.in .g4b-st:nth-child(1) .g4b-dot { animation: g4bdot 350ms ease 350ms forwards; }
.g4b.in .g4b-st:nth-child(2) .g4b-dot { animation: g4bdot 350ms ease 750ms forwards; }
.g4b.in .g4b-st:nth-child(3) .g4b-dot { animation: g4bdot 350ms ease 1150ms forwards; }
@keyframes g4bdot { 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.g4b-w { font-family: var(--font-display); font-weight: 500; font-size: 32px; color: var(--ink); }
.g4b-d { font-size: 14px; color: var(--slate); margin-top: 6px; max-width: 26ch; }
.g4b-cap { margin-top: 44px; font-size: 14.5px; line-height: 1.65; color: var(--slate); max-width: var(--measure); }
.g4b-close { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.g4b-close p { font-family: var(--font-display); font-size: 21px; color: var(--ink); max-width: 40ch; }
@media (max-width: 800px) {
  .g4b-row { grid-template-columns: 1fr; gap: 8px; }
  .g4b-line { display: none; }
  .g4b-st { padding-top: 18px; padding-left: 24px; }
  .g4b-dot { top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .g4b-line, .g4b-st, .g4b-dot { transform: none; opacity: 1; animation: none !important; }
}

/* ---- v4 BODY OF WORK — broadsheet chapters + slim chapter bar (locked template) ---- */
.bw-nav { position: sticky; top: var(--nav-h); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--fog); }
.bw-nav-inner { display: flex; gap: 26px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.bw-nav-inner::-webkit-scrollbar { display: none; }
.bw-nav a { flex: none; font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; color: var(--slate); transition: color 160ms ease; }
.bw-nav a .n { color: var(--oxblood); margin-right: 7px; font-variant-numeric: tabular-nums; }
.bw-nav a:hover, .bw-nav a.on { color: var(--ink); }
.bw-ch { position: relative; padding: 72px 0 64px; border-top: 1px solid var(--fog); }
.bw-ch:first-of-type { border-top: 0; padding-top: 56px; }
.bw-head { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 20px; min-height: 90px; }
.bw-ghost { position: absolute; left: -14px; top: 50%; transform: translateY(-52%); z-index: 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(110px, 12vw, 170px); line-height: 1;
  color: var(--cloud); pointer-events: none; user-select: none; font-variant-numeric: tabular-nums; }
.bw-org { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 52px); color: var(--ink); padding-left: 84px; }
.bw-meta { position: relative; z-index: 1; font-family: var(--font-text); font-size: 12px; letter-spacing: 0.06em; color: var(--slate); }
.bw-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: clamp(32px, 5vw, 72px); margin-top: 34px; }
.bw-txt { padding-left: 84px; }
.bw-txt > p { font-size: 15.5px; line-height: 1.7; color: var(--graphite); max-width: 58ch; }
.bw-txt > p + p, .bw-txt > .we-case, .bw-txt > ul { margin-top: 18px; }
.bw-ph { border: 1px dashed var(--fog); padding: 14px 18px; font-family: var(--font-text); font-size: 13px; color: var(--slate); margin-top: 18px; }
.bw-ph-photo { aspect-ratio: 4/3; display: grid; place-items: center; margin-top: 0; }
.bw-big { margin: 0; }
.bw-big img { width: 100%; display: block; background: var(--coal); filter: contrast(1.02) brightness(0.96); }
.bw-big figcaption { font-family: var(--font-text); font-size: 11.5px; color: var(--slate); padding-top: 8px; }
.bw-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.bw-thumbs figure { margin: 0; }
.bw-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--coal); filter: contrast(1.02) brightness(0.96); }
.bw-thumbs figcaption { font-family: var(--font-text); font-size: 11px; color: var(--slate); padding-top: 6px; }
@media (max-width: 860px) {
  .bw-grid { grid-template-columns: 1fr; }
  .bw-txt { padding-left: 0; }
  .bw-org { padding-left: 0; }
  .bw-ghost { left: auto; right: -8px; opacity: 0.6; }
  .bw-head { grid-template-columns: 1fr; gap: 6px; }
}

/* ---- FOOTER — ledger columns (locked, all pages) ---- */
.site-footer.ft2 { padding: 64px 0 28px; }
.ft2-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.ft2 h4 { font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 18px; }
.ft2-grid a { display: block; font-family: var(--font-text); font-size: 13.5px; color: rgba(255,255,255,0.75); text-decoration: none; padding: 5px 0; }
.ft2-grid a:hover { color: #fff; }
.ft2-mark img { height: 34px; }
.ft2-line { font-family: var(--font-display); font-size: 17px; color: rgba(255,255,255,0.85); max-width: 24ch; margin-top: 18px; line-height: 1.5; }
.ft2-fine { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-text); font-size: 11.5px; color: rgba(255,255,255,0.4); }
@media (max-width: 800px) { .ft2-grid { grid-template-columns: 1fr 1fr; } }

/* ---- CONTACT — full-bleed photo, right sheet (locked) ---- */
.ct { position: relative; min-height: 100vh; overflow: hidden; display: flex; justify-content: flex-end; padding-top: var(--nav-h); }
.ct-bg { position: absolute; inset: 0; background: url('img/la-ledge.jpg') 55% 64%/cover; filter: contrast(1.02) brightness(0.62); }
.ct-sheet { position: relative; z-index: 2; width: min(440px, 92vw); background: var(--paper); border-left: 1px solid var(--fog);
  display: flex; flex-direction: column; justify-content: center; padding: 10vh clamp(28px, 4vw, 56px); }
.ct-title { font-family: var(--font-display); font-weight: 500; font-size: 36px; color: var(--ink); }
.ct-sub { font-family: var(--font-display); font-size: 16px; color: var(--slate); margin-top: 12px; }
.ct-cta { margin-top: 30px; }
.ct-cta .btn { display: flex; justify-content: center; }
.ct-list { margin-top: 34px; border-top: 1px solid var(--fog); }
.ct-list a { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--fog);
  text-decoration: none; font-family: var(--font-text); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.ct-list a:hover { color: var(--ink); }
.ct-list .arr { color: var(--oxblood); }
/* Home — final CTA */
#cta { padding-top: 10px; } /* prev section's 110px bottom padding stacks above; 110+10+30 = 40+110 = 150px each side */
.cta-final { text-align: center; padding: 30px 0 40px; }
.cta-final .heading { margin-bottom: 30px; }
.cta-final .btn { display: inline-flex; }

/* Body of Work — dossier landing */
.bwd-slab { position: relative; display: grid; grid-template-columns: 380px 1fr; min-height: 190px; margin-bottom: 22px;
  border: 1px solid var(--fog); text-decoration: none; overflow: hidden; background: var(--paper); transition: border-color 250ms ease; }
.bwd-slab:hover { border-color: var(--oxblood); }
.bwd-slab:nth-child(even) { grid-template-columns: 1fr 380px; }
.bwd-slab:nth-child(even) .bwd-img { order: 2; }
.bwd-img { display: block; position: relative; overflow: hidden; background-size: cover; background-position: center; filter: contrast(1.02) brightness(0.9); transition: filter 300ms ease; }
.bwd-slab:hover .bwd-img { filter: contrast(1.05) brightness(1); }
.bwd-img.txt { background: var(--coal); }
.bwd-body { position: relative; padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; }
.bwd-ghost { position: absolute; right: 20px; top: -14px; font-family: var(--font-display); font-size: 110px; color: var(--fog); z-index: 0; }
.bwd-t { position: relative; font-family: var(--font-display); font-weight: 500; font-size: 32px; color: var(--ink); z-index: 1; }
.bwd-m { position: relative; font-family: var(--font-text); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oxblood); margin-top: 4px; z-index: 1; }
.bwd-d { position: relative; font-family: var(--font-text); font-size: 14px; color: var(--slate); margin-top: 10px; max-width: 60ch; z-index: 1; }
.bwd-go { position: relative; font-family: var(--font-text); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); margin-top: 14px; z-index: 1; transition: color 200ms ease; }
.bwd-slab:hover .bwd-go { color: var(--oxblood); }
@media (max-width: 860px) {
  .bwd-slab, .bwd-slab:nth-child(even) { grid-template-columns: 1fr; }
  .bwd-img, .bwd-slab:nth-child(even) .bwd-img { order: 0; height: 200px; }
}
/* Body of Work — chapter pages */
.bwp-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.bwp-collage > * { min-width: 0; }
.bwp-collage .cw { grid-column: 1 / -1; aspect-ratio: 16/10; }
.bwp-collage .cs { aspect-ratio: 4/5; }
.bwp-collage img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--coal); filter: contrast(1.02) brightness(0.96); }
.bwp-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--fog); padding-top: 26px; margin-top: 64px;
  font-family: var(--font-text); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.bwp-nav a { text-decoration: none; color: var(--graphite); transition: color 200ms ease; }
.bwp-nav a:hover { color: var(--oxblood); }
.ct-list .ct-row { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--fog);
  font-family: var(--font-text); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.ct-row .ct-val { text-transform: none; letter-spacing: 0.02em; color: var(--slate); }
@media (max-width: 700px) {
  .ct { flex-direction: column; justify-content: flex-end; }
  .ct-bg { position: absolute; }
  .ct-sheet { width: 100%; border-left: 0; border-top: 1px solid var(--fog); margin-top: 46vh; padding: 40px 24px 48px; }
}

/* ---- MY STORY — timeline: photos left, line + dots center, text right (v3, 2026-08-08) ---- */
.sy-hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--nav-h); }
.sy-hero-bg { position: absolute; inset: -8% 0; background-size: cover; background-position: center; filter: contrast(1.02) brightness(0.55); }
.sy-hero-scrim { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,0.7)); }
.sy-hero-inner { position: relative; z-index: 2; padding-bottom: 8vh; }
.sy-hero .display, .sy-hero .standfirst { color: #fff; }
.sy-scrollcue { margin-top: 34px; font-family: var(--font-text); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.55); animation: sycue 2.2s ease-in-out infinite; }
@keyframes sycue { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(6px); opacity: 1; } }

.tl { position: relative; max-width: 1180px; margin: 0 auto; padding: 56px 24px 72px; }
.tl-row[data-reveal] { opacity: 1; transform: none; }
.tl-row .tl-media, .tl-row .tl-body { opacity: 0; transform: translateY(22px);
  transition: opacity 700ms var(--ease-slow), transform 700ms var(--ease-slow); }
.tl-row.in .tl-body { opacity: 1; transform: none; }
.tl-row.in .tl-media { opacity: 1; transform: none; transition-delay: 150ms; }
@media (prefers-reduced-motion: reduce) {
  .tl-row .tl-media, .tl-row .tl-body { opacity: 1 !important; transform: none !important; }
  .tl-progress { display: none; }
  .tl-dot { background: var(--oxblood); border-color: var(--oxblood); }
}
.tl-row { display: grid; grid-template-columns: minmax(0, 0.85fr) 72px minmax(0, 1.15fr); }
.tl-body, .tl-media { padding-bottom: 76px; }
.tl-row.last .tl-body { padding-bottom: 0; }
.tl-media { display: flex; flex-direction: column; gap: 22px; align-items: flex-end; }
.tl-media figure { margin: 0; width: 100%; max-width: 400px; }
.tl-media img { width: 100%; display: block; background: var(--coal); filter: contrast(1.02) brightness(0.96); }
.tl-media figcaption { font-family: var(--font-text); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); padding-top: 9px; }
.tl-media .ph-note { color: var(--slate); opacity: 0.6; text-transform: none; letter-spacing: 0.04em; }

.tl-node { position: relative; }
.tl-node::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--fog); transform: translateX(-0.5px); }
.tl-row:first-child .tl-node::before { top: 6px; }
.tl-row.last .tl-node::before { bottom: auto; height: 14px; }
.tl-dot { position: absolute; left: 50%; top: 6px; width: 11px; height: 11px; border-radius: 50%; transform: translateX(-50%);
  background: var(--paper); border: 2px solid var(--fog); z-index: 2;
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease; }
.tl-dot.lit { background: var(--oxblood); border-color: var(--oxblood); box-shadow: 0 0 0 4px color-mix(in srgb, var(--oxblood) 18%, transparent); }
.tl-dot.hollow.lit { background: var(--paper); }
.tl-dot.end.lit { background: var(--ink); border-color: var(--ink); box-shadow: none; }
.tl-progress { position: absolute; top: 0; width: 2px; height: 0; background: var(--oxblood); z-index: 1; pointer-events: none; }

.tl-body { padding-top: 0; }
.tl-date { display: inline-block; font-family: var(--font-text); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate); border: 1px dashed var(--fog); padding: 4px 10px; }
.tl-ch { display: flex; align-items: baseline; gap: 14px; }
.tl-ch span { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--oxblood); }
.tl-ch em { font-style: normal; font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ink); letter-spacing: 0; text-transform: none; }
.tl-body p { font-family: var(--font-display); font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.75; color: var(--graphite); max-width: 58ch; }
.tl-ch + p, .tl-body p + p { margin-top: 20px; }
.tl-ch + p { margin-top: 22px; }
.tl-body .quiet { color: inherit; }
.tl-turn { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.42; color: var(--ink); max-width: 44ch; }
/* tighter rhythm around turn lines */
.tl-row:has(+ .tl-row.turn) .tl-body, .tl-row.turn .tl-body { padding-bottom: 40px; }
.tl-turn .ox { color: var(--oxblood); }
.sy-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
[data-theme="dark"] .tl-media img { filter: contrast(1.02) brightness(0.9); }
[data-theme="dark"] .tl-dot.hollow { background: var(--paper); }

/* Desktop: media column height is slaved to the text column — photos share the
   paragraph block's vertical space exactly, cropping via object-fit. */
@media (min-width: 821px) {
  .tl-row { position: relative; }
  .tl-node { grid-column: 2; }
  .tl-body { grid-column: 3; }
  .tl-media { position: absolute; top: 0; bottom: 76px; left: 0; padding-bottom: 0;
    width: calc((100% - 72px) * 0.425); }
  .tl-media figure { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .tl-media figure > img, .tl-media figure .clrwrap { flex: 1 1 0; min-height: 0; }
  .tl-media figure > img { height: 100%; object-fit: cover; object-position: center 40%; }
  .tl-media .clrwrap > img:first-child, .tl-media .clrwrap .clrtop { object-position: center 40%; }
  .tl-row:has(+ .tl-row.turn) .tl-media { bottom: 40px; }
  /* final section: media runs the full text height; the last figure crops to land flush */
  .tl-row.last .tl-media { bottom: 0; }
  /* whole-frame figure: natural height, no crop; sibling figures flex to fill the rest */
  .tl-media figure.whole { flex: 0 0 auto; }
  .tl-media figure.whole > img, .tl-media figure.whole .clrwrap { flex: none; height: auto; min-height: 0; }
}

/* ---- NAV, narrow screens: single row, smaller type, links swipe horizontally ---- */
@media (max-width: 1100px) {
  .nav-mark { flex: 0 0 auto; }
  .nav-right { flex: 1 1 auto; min-width: 0; margin-left: 20px; }
  .nav-links { flex: 1 1 auto; min-width: 0; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    gap: 22px; padding: 10px 2px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; font-size: 10.5px; letter-spacing: 0.1em; }
  .nav-links a.active::after { bottom: -6px; }
}

@media (max-width: 820px) {
  .tl-row { grid-template-columns: 40px minmax(0, 1fr); }
  .tl-media { grid-column: 2; order: 2; align-items: flex-start; margin-top: 22px; }
  .tl-node { grid-column: 1; grid-row: 1 / span 2; }
  .tl-body { grid-column: 2; grid-row: 1; }
}

/* ---- COLOR-ON-HOVER — every content photo reveals its color original (2026-08-08) ----
   Color twins live in assets/img/color/<name>.jpg; site.js attaches overlays only where a twin exists.
   Backgrounds (heros, page banners) are deliberately excluded. */
.clrwrap { position: relative; display: block; }
.clrwrap > img:first-child { width: 100%; height: 100%; display: block; object-fit: cover; }
.clrwrap .clrtop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 450ms ease; }
.clrwrap:hover .clrtop, .clrwrap.clr-on .clrtop { opacity: 1; }
.clrtop-bg { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 450ms ease; pointer-events: none; }
.w3-row:hover .clrtop-bg, .w3-feature:hover .clrtop-bg, .sf5-panel:hover .clrtop-bg, .bwd-slab:hover .clrtop-bg,
.video-card:hover .clrtop-bg { opacity: 1; }
@media (hover: none) { .clrwrap .clrtop, .clrtop-bg { display: none; } .clrwrap.clr-on .clrtop { display: block; } }

/* ---- KRUCHTEN FOUNDATION — mission hero + Act One zoom (locked 10b) ---- */
.fd-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--nav-h); }
.fd-hero-bg { position: absolute; inset: -8% 0; background: url('img/auburn-huddle.jpg') center 30%/cover; filter: contrast(1.02) brightness(0.5); }
.fd-hero-scrim { position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0,0,0,0.8)); }
.fd-hero-inner { position: relative; z-index: 2; padding-bottom: 8vh; }
.fd-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 72px); color: #fff; line-height: 1.05; }
.fd-mission { font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; color: rgba(255,255,255,0.85); margin-top: 22px; max-width: 46ch; }
.fd-arc { font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 26px; }
.fd-zoom { padding-top: 10vh; }
.fd-kicker { font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oxblood); }
.fd-zoom h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); color: var(--ink); margin-top: 12px; max-width: 18ch; line-height: 1.08; }
.fd-desc { font-family: var(--font-display); font-size: 18px; line-height: 1.68; color: var(--graphite); margin-top: 20px; max-width: 52ch; }
.fd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 64px; }
.fd-step .n { font-family: var(--font-text); font-size: 12px; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.fd-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--ink); margin-top: 10px; }
.fd-step p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin-top: 8px; max-width: 30ch; }
.fd-facts { margin-top: 64px; border-top: 1px solid var(--fog); max-width: 820px; }
.fd-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--fog); font-size: 14.5px; color: var(--graphite); }
.fd-facts span:first-child { font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
/* Foundation — essay layout */
.fde { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.fde-sec { padding: 56px 0 8px; border-top: 1px solid var(--fog); }
.fde-sec:first-child { border-top: 0; padding-top: 10vh; }
.fde-sec h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 46px); color: var(--ink); margin-top: 12px; line-height: 1.08; max-width: 20ch; }
.fde-sec > p { font-family: var(--font-text); font-size: 15.5px; line-height: 1.75; color: var(--graphite); margin-top: 18px; max-width: 62ch; }
.fde-fig { margin: 28px 0 8px; }
.fde-fig.half { width: 46%; margin: 6px 0 18px; float: left; margin-right: 28px; }
.fde-fig.half.right { float: right; margin-right: 0; margin-left: 28px; }
.fde-sec { overflow: auto; }
.fde-sec > p { max-width: none; }
.fde-fig img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; background: var(--coal); filter: contrast(1.02) brightness(0.94); }
.fde-fig figcaption { font-family: var(--font-text); font-size: 11.5px; color: var(--slate); padding-top: 8px; }
.fde-list { margin-top: 22px; padding: 0; list-style: none; counter-reset: fde; max-width: 62ch; }
.fde-list li { counter-increment: fde; position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--fog); font-family: var(--font-text); font-size: 14.5px; line-height: 1.65; color: var(--graphite); }
.fde-list li:last-child { border-bottom: 1px solid var(--fog); }
.fde-list li::before { content: "0" counter(fde); position: absolute; left: 0; top: 18px; font-family: var(--font-text); font-size: 12px; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.fde-list strong { color: var(--ink); font-weight: 600; }
.fde-essay { padding: 9vh 0 2vh; }
.fde-essay > p { font-family: var(--font-text); font-size: 16px; line-height: 1.8; color: var(--graphite); margin-top: 20px; }
.fde-essay > p strong, .fde-list strong { color: var(--ink); font-weight: 600; }
.fde-essay h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-top: 54px; }
.fde .fd-facts { margin-top: 34px; }
@media (max-width: 700px) { .fde-fig.half { width: 100%; } }

.fd-quoteband { position: relative; margin-top: 11vh; overflow: hidden; }
.fd-qb-bg { position: absolute; inset: -8% 0; background: url('img/captain-8.jpg') center 20%/cover; filter: contrast(1.02) brightness(0.42); }
.fd-quote { position: relative; z-index: 2; padding: 13vh 0; max-width: 900px; }
.fd-quote p { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.6; color: #fff; }
.fd-quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; }
.fd-quote .quiet { color: rgba(255,255,255,0.7); }
.fd-steps-5 { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.fd-steps-5 .fd-step p { max-width: none; }
@media (max-width: 1000px) { .fd-steps-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .fd-steps, .fd-steps-5 { grid-template-columns: 1fr; gap: 26px; } }

/* ---- CONTENT — one mixed-format stream, the unpolished room (locked 2026-08-08) ---- */
.cs-open { padding: calc(var(--nav-h) + 11vh) 0 6vh; }
.cs-filter { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cs-filter button { font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); background: none; border: 1px solid var(--fog); padding: 8px 14px; cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease; }
.cs-filter button:hover { color: var(--ink); }
.cs-filter button.on { color: var(--ink); border-color: var(--ink); }
.cs-stream { margin-top: 36px; border-top: 1px solid var(--fog); }
.cs-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 26px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--fog); text-decoration: none; }
.cs-row.hide { display: none; }
.cs-meta { display: flex; flex-direction: column; gap: 8px; }
.cs-date { font-family: var(--font-text); font-size: 12.5px; color: var(--slate); font-variant-numeric: tabular-nums; }
.cs-tag { font-family: var(--font-text); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--oxblood); }
.cs-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.2vw, 28px); color: var(--ink); transition: color 180ms ease; }
.cs-row:hover .cs-title { color: var(--oxblood); }
.cs-title.muted { color: var(--slate); }
.cs-dek { font-size: 14px; line-height: 1.55; color: var(--slate); margin-top: 6px; max-width: 60ch; }
.cs-end { display: flex; align-items: center; gap: 16px; }
.cs-thumb { width: 120px; aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--coal);
  filter: contrast(1.02) brightness(0.92); }
.cs-plat { font-family: var(--font-text); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.cs-follow { margin-top: 64px; display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.cs-follow-k { font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.cs-follow-links { display: flex; gap: 24px; }
.cs-follow-links a { font-family: var(--font-text); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--graphite); text-decoration: none; }
.cs-follow-links a:hover { color: var(--ink); }
.cs-follow-links .arr { color: var(--oxblood); }
@media (max-width: 720px) {
  .cs-row { grid-template-columns: 1fr; gap: 10px; }
  .cs-meta { flex-direction: row; align-items: center; }
  .cs-end { justify-content: space-between; }
}

/* ---- WHO I AM collage — 4-row mosaic, headshot center-dominant (v4, 2026-08-09) ---- */
.who-collage { position: relative; display: grid; grid-template-columns: 1fr 1.9fr 1fr;
  grid-template-rows: auto 1fr 1fr auto; gap: 12px; align-self: center; }
.who-collage .wc { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--coal);
  filter: contrast(1.02); min-height: 0; min-width: 0; }
.who-collage > * { min-width: 0; min-height: 0; }
.who-collage .t1 { grid-column: 1; grid-row: 1; }
.who-collage .t2 { grid-column: 2; grid-row: 1; }
.who-collage .t3 { grid-column: 3; grid-row: 1; }
.who-collage .s1 { grid-column: 1; grid-row: 2; }
.who-collage .s2 { grid-column: 3; grid-row: 2; }
.who-collage .s3 { grid-column: 1; grid-row: 3; }
.who-collage .s4 { grid-column: 3; grid-row: 3; }
.who-collage .main { grid-column: 2; grid-row: 2 / span 2; box-shadow: 0 22px 54px -22px rgba(0,0,0,0.55); }
.who-collage .b1 { grid-column: 1; grid-row: 4; }
.who-collage .b2 { grid-column: 2; grid-row: 4; }
.who-collage .b3 { grid-column: 3; grid-row: 4; }
.who-collage .t1, .who-collage .t2, .who-collage .t3,
.who-collage .b1, .who-collage .b2, .who-collage .b3 { aspect-ratio: 4/3; }
.who-collage .s1, .who-collage .s2, .who-collage .s3, .who-collage .s4 { aspect-ratio: 3/4; }
[data-theme="dark"] .who-collage .wc { filter: contrast(1.02) brightness(0.94); }
@media (max-width: 900px) {
  .who-collage { max-width: 520px; }
}

/* ---- v4 home: WHERE I'M GOING — three commitments, reactive split (locked 2026-08-10) ---- */
.g7 { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); margin-top: 56px; align-items: stretch; }
.g7-stage { position: relative; background: var(--coal); min-height: 480px; overflow: hidden; }
.g7-stage .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: contrast(1.02) brightness(0.8); opacity: 0; transition: opacity 450ms ease; }
.g7-stage .bg.on { opacity: 1; }
.g7-stage .bg.clr { opacity: 0; z-index: 2; }
.g7-stage:hover .bg.clr.on { opacity: 1; }
.g7-rows { display: flex; flex-direction: column; justify-content: center; }
.g7-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--fog); text-decoration: none; }
.g7-row:last-child { border-bottom: 1px solid var(--fog); }
.g7-n { font-family: var(--font-text); font-size: 12px; color: var(--oxblood); font-variant-numeric: tabular-nums; padding-top: 8px; }
.g7-t { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); color: var(--ink); transition: color 200ms ease, padding-left 250ms ease; }
.g7-row:hover .g7-t { color: var(--oxblood); padding-left: 10px; }
.g7-d { font-size: 14px; line-height: 1.6; color: var(--slate); margin-top: 8px; max-width: 50ch; }
@media (max-width: 860px) { .g7 { grid-template-columns: 1fr; } .g7-stage { min-height: 300px; order: -1; } }

/* ---- WIP placeholder pages (launch prep, 2026-08-10) ---- */
.wip-hold { min-height: calc(100vh - var(--nav-h) - 380px); display: flex; align-items: center; padding: calc(var(--nav-h) + 10vh) 0 10vh; }
.wip-line { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.4vw, 56px); color: var(--ink); margin-top: 22px; }
