/* HereToday Project — 5,000 Humans
   Design language: bold documentary. Black and white throughout,
   heavy condensed uppercase display type, squared techno labels (Goldman),
   and ONE accent: signal red (--red). Use red only for live/now states,
   rules, active tabs and a single emphasised word. */
:root {
  --ink: #0b0b0a;          /* page ground */
  --ink-2: #151514;        /* raised dark surface */
  --paper: #eeece6;        /* light, used for inverted bands */
  --paper-2: #151514;
  --fg: #f2f1ed;
  --fg-2: #c4c3bd;
  --mute: #8b8a84;
  --line: rgba(242, 241, 237, 0.14);
  --red: #f01e2c;          /* the ONE accent: pure red, no orange. 4.6:1 on black (AA for small text) */
  --display: "Archivo", "Arial Narrow", sans-serif;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Goldman", "Archivo", sans-serif;   /* label face: squared techno caps (was IBM Plex Mono) */
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
/* Browser surfaces themed from the palette */
html { scrollbar-color: #3a3936 var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3936; border: 2px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #55534f; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
input, select, textarea { caret-color: var(--red); accent-color: var(--red); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; } /* fields use their red underline instead */

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.eyebrow .dot { color: var(--red); }
.display, .page-head h1, .hero h1, .v-hero h1, .pull, .g-head h1,
.roles-list h2, .timeline h3, .foot-top .big, .stop h2 {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.86;
  margin: 0;
}
.display em, .page-head h1 em, .v-hero h1 em, .foot-top .big em {
  font-style: normal; color: var(--mute);
}
h2.display { font-size: clamp(56px, 8.4vw, 136px); }
h3.display, h2.display.sm { font-size: clamp(40px, 4.6vw, 72px); line-height: 0.9; }
.lede {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  margin: 0;
}
.body p { margin: 0 0 1.1em; color: var(--fg-2); max-width: 60ch; }
.body p:last-child { margin-bottom: 0; }
.num { font-feature-settings: "tnum" 1; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }

/* ---------- Live indicator ---------- */
.live { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(240, 30, 44, 0.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(240, 30, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 30, 44, 0); } }
.now-strip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 10px 16px; border: 1px solid var(--line); background: rgba(11, 11, 10, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none; transition: border-color 0.3s var(--ease);
}
.now-strip:hover { border-color: var(--red); }
.now-strip .sep { color: var(--mute); }
.now-strip .go { color: var(--red); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease);
}
/* Soft shade behind the bar at the top of the page, so white menu text stays readable over light photos */
.nav::before {
  content: ""; position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 10, 0.78) 0%, rgba(11, 11, 10, 0.45) 55%, transparent 100%);
  transition: opacity 0.5s var(--ease);
}
.nav.scrolled::before, .nav.open::before { opacity: 0; }
/* Pages whose top is light (Josh's page): dark menu text, no shade, until the bar turns solid on scroll */
body.light-top .nav:not(.scrolled):not(.open) { color: var(--ink); }
body.light-top .nav:not(.scrolled)::before { opacity: 0; }  /* photo no longer sits under the menu, so no fade needed */
.nav.scrolled {
  background: rgba(11, 11, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
/* Logo: stacked HERE / TODAY. with the red full stop */
.brand { display: inline-flex; text-decoration: none; color: inherit; }
.logo {
  display: inline-grid; justify-items: start;
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: 29px; line-height: 0.82; letter-spacing: 0.01em; white-space: nowrap;
}
.logo b { font-weight: 800; }
.logo .dot { color: var(--red); }
@media (max-width: 520px) { .logo { font-size: 24px; } }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); margin: 0; padding: 0; }
.nav ul a {
  text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; position: relative; padding: 4px 0;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul .live { gap: 8px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; padding: 14px 0 14px 16px; min-height: 44px; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav ul {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 4px; padding: var(--pad); background: var(--ink);
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .nav ul a { font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: 60px; letter-spacing: 0; line-height: 1.02; }
  .nav ul .live i { width: 12px; height: 12px; }
  .nav.open ul { opacity: 1; pointer-events: auto; }
  .nav.open { background: transparent; box-shadow: none; }
  .nav .brand, .nav .menu-btn { position: relative; z-index: 2; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 12.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: inherit;
  padding: 17px 24px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--fg); border-color: var(--fg); color: var(--ink); }
/* Drawn arrow icons (one stroke weight everywhere) instead of text glyphs */
.arr {
  display: inline-block; width: 1.15em; height: 0.8em; flex: none; vertical-align: -0.04em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.arr.ext {
  width: 0.72em; height: 0.72em;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 10.5l9-9M3.5 1.5h7v7' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 10.5l9-9M3.5 1.5h7v7' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
}
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover .arr.ext { transform: translate(2px, -2px); }
.link {
  font: 500 12.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 4px;
  display: inline-block; padding-top: 12px;  /* taller tap target, underline unchanged */
}

/* ---------- Hero (landing): full-screen photo wall + HERE / TODAY ---------- */
.hero { height: 100svh; min-height: 360px; position: relative; overflow: hidden; background: #000; }
.hero-strip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.hero-strip figure { margin: 0; position: relative; overflow: hidden; animation: colIn 1.5s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
.hero-strip img { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.6); animation: drift 16s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -3s); }
.hero-strip figure:nth-child(even) img { animation-direction: alternate-reverse; }
@keyframes colIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: translateY(-2.5%); } to { transform: translateY(2.5%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.15), rgba(0,0,0,0.55) 80%), linear-gradient(0deg, rgba(11,11,10,0.85), transparent 30%); }
.hero-title { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.hero h1 { font-size: clamp(64px, min(24vw, 34svh), 440px); line-height: 0.78; margin: 0; }
.hero h1 > span { display: block; overflow: hidden; padding: 0.04em 0.06em 0.1em; margin: -0.04em -0.06em -0.1em; }
.hero h1 > span > span { display: block; transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; }
.hero h1 .w1 > span { animation-delay: 0.85s; }
.hero h1 .w2 { text-align: right; }
.hero h1 .w2 > span { animation-delay: 1.55s; }
.hero h1 .red { color: var(--red); }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: 0 var(--pad) 28px; opacity: 0; animation: fadeUp 1.1s var(--ease) 2.3s forwards; }
.hero-bar .tag { font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }
.hero-bar .tag b { color: var(--fg); font-weight: 500; }
.scroll-cue { font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.scroll-cue::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--fg), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@keyframes settle { to { transform: scale(1); } }
@media (max-height: 520px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .logo { font-size: 20px; }
  .hero-bar { padding-bottom: 14px; }
  .hero-bar .tag, .scroll-cue { display: none; }
  .now-strip { padding: 8px 12px; }
}
@media (max-width: 900px) {
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-strip figure:first-child, .hero-strip figure:last-child { display: none; }  /* phones show the middle three, centre stays centre */
  .hero h1 { font-size: clamp(64px, min(33vw, 32svh), 300px); }
  .scroll-cue { display: none; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 15vw, 210px) 0; }
.statement .lede { font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; color: var(--fg); font-size: clamp(44px, 6.4vw, 104px); line-height: 0.9; letter-spacing: 0; max-width: 16ch; }
.statement .lede .soft { color: var(--mute); }
.split { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Counter ---------- */
.counter { padding: 0 0 clamp(90px, 12vw, 170px); }
.counter-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--red); }
.counter-row > div { padding: 30px 28px 0 0; }
.counter-row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.counter-row strong { display: block; font-family: "Unbounded", var(--sans); font-weight: 300; font-size: clamp(48px, 5.6vw, 94px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }  /* client-picked counter face (wide, light) */
.counter-row span { display: block; margin-top: 14px; font: 500 12px/1.6 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); max-width: 26ch; }
@media (max-width: 700px) {
  .counter-row { grid-template-columns: 1fr; }
  .counter-row > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 30px; }
}

/* ---------- Plates (landing) ---------- */
.plates { padding-bottom: clamp(100px, 14vw, 200px); }
/* Looping portrait reel: one straight row that scrolls on its own.
   Two identical tracks sit side by side and both move by exactly their own width, so the loop is seamless. */
.reel { display: flex; overflow: hidden; }
.reel-track { display: flex; flex: none; list-style: none; margin: 0; padding: 0; animation: reel 70s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-100%); } }
.reel li { flex: none; width: clamp(220px, 21vw, 340px); margin-right: clamp(10px, 1.2vw, 18px); }
.reel a { display: block; text-decoration: none; color: inherit; }
.reel figure { margin: 0; }
.reel .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.reel img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1.2s var(--ease); }
.reel a:hover img, .reel a:focus-visible img { transform: scale(1.04); }
.reel figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font: 500 11.5px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.reel figcaption b { font-weight: 500; color: var(--fg); }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reel-track { animation: none; }
  .reel-track[aria-hidden="true"] { display: none; }
  .reel li { scroll-snap-align: start; }
}
.plates-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(50px, 7vw, 100px); flex-wrap: wrap; }

/* ---------- Inverted band (light) ---------- */
.band { background: var(--paper); color: var(--ink); padding: clamp(100px, 13vw, 180px) 0; overflow: hidden; }
.band .eyebrow { color: #6f6e68; }
.band .body p, .band .lede { color: #3b3a36; }
.band .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.band-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.band img { filter: grayscale(1); }
.band-grid .frame { max-width: 420px; }
.band-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }  /* keeps Josh's portrait a supporting size beside the quote */
.band blockquote { margin: 0; font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(52px, 6.4vw, 108px); line-height: 0.88; }
.band blockquote em { font-style: normal; color: var(--red); }
.band cite { display: block; margin-top: 28px; font: 500 12px var(--mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: #6f6e68; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* Dark panel (forms) */
.panel { background: var(--ink-2); padding: clamp(100px, 13vw, 180px) 0; border-top: 1px solid var(--line); }

/* ---------- CTA ---------- */
.cta { padding: clamp(110px, 15vw, 210px) 0; text-align: center; }
.cta h2 { margin: 26px auto 40px; max-width: 13ch; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--fg-2); padding: 90px 0 32px; font-size: 14px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 80px; }
.foot-top .big { font-size: clamp(48px, 5.4vw, 84px); color: var(--fg); }
footer .foot-h { margin: 0 0 16px; font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
footer ul a { display: inline-block; padding: 6px 0; }  /* comfortable tap target */
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(150px, 19vw, 230px) 0 clamp(60px, 8vw, 110px); }
.page-head h1 { margin-top: 24px; font-size: clamp(84px, 13vw, 220px); line-height: 0.82; }
.page-head .lede { margin-top: 36px; max-width: 32ch; }

/* ---------- About: chapters ---------- */
.chapter { padding: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.chapter-grid { display: grid; grid-template-columns: 180px 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.chapter-grid .idx { font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); padding-top: 6px; }
@media (max-width: 900px) { .chapter-grid { grid-template-columns: 1fr; } }
.wide-img { margin: 0; }
.wide-img img { width: 100%; height: clamp(420px, 78vh, 860px); object-fit: cover; filter: grayscale(1); }
.wide-img figcaption { margin-top: 12px; font: 500 11.5px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, decimal-leading-zero); font: 500 12px var(--mono); color: var(--red); padding-top: 6px; }
.principles strong { display: block; font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 0.95; margin-bottom: 8px; }
.principles span { color: var(--fg-2); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--red); }
.timeline > div { padding: 26px 26px 0 0; }
.timeline > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.timeline .when { font: 500 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin: 0; }
.timeline .when.now { color: var(--red); }
.timeline h3 { font-size: 44px; margin: 14px 0 12px; }
.timeline p { margin: 0; color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline > div + div { border-left: 0; padding-left: 0; margin-top: 26px; border-top: 1px solid var(--line); }
}

/* ---------- Journey ---------- */
.stops { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--red); }
.stop { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 340px); gap: clamp(20px, 3vw, 48px); padding: clamp(34px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.stop .status { font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); padding-top: 10px; }
.stop.current .status { color: var(--red); }
.stop h2 { font-size: clamp(56px, 9vw, 170px); line-height: 0.82; overflow-wrap: anywhere; }
.stop.upcoming h2 { color: transparent; -webkit-text-stroke: 1.5px rgba(242, 241, 237, 0.4); }
.stop .country { display: block; margin-top: 14px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }
.stop dl { margin: 0; display: grid; gap: 14px; padding-top: 10px; }
.stop dt { font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.stop dd { margin: 2px 0 0; color: var(--fg-2); }
.stop p { margin: 0; color: var(--fg-2); }
@media (max-width: 1100px) { .stop { grid-template-columns: 1fr minmax(0, 1fr); } .stop .status { grid-column: 1 / -1; padding-top: 0; } .stop .status br { display: none; } }
@media (max-width: 700px) { .stop { grid-template-columns: 1fr; gap: 14px; } }
.progress { margin-top: 26px; }
.progress-bar { height: 4px; background: var(--line); position: relative; overflow: hidden; }
.progress-bar span { position: absolute; inset: 0 auto 0 0; background: var(--red); width: 0; transition: width 1.8s var(--ease); }
.progress.in .progress-bar span { width: var(--w); }
.progress-meta { display: flex; justify-content: space-between; margin-top: 12px; font: 500 11.5px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--mute); }

/* ---------- Visionary ---------- */
/* Light hero: matches the white studio background of Josh's portrait so the photo melts into the page */
.v-hero {
  --vbg: #eaeae8; --navh: 110px;
  min-height: 100svh; background: var(--vbg); color: var(--ink);
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(24px, 4vw, 72px);
  padding: 0 var(--pad) 0 0; overflow: hidden;
}
.v-hero .eyebrow { color: #5f5e59; }
.v-hero .roles span { color: var(--ink); border-color: rgba(11, 11, 10, 0.22); }
/* Cut-out portrait (desktop): runs from the top of the screen to the bottom of the section,
   so there is no visible cut line; any trimming happens at the left screen edge */
.v-hero-img { margin: 0; align-self: stretch; height: 100svh; min-height: 560px; width: min(56vw, calc(100svh * 1400 / 1558)); }
.v-hero-img picture { display: block; width: 100%; height: 100%; }
.v-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; filter: grayscale(1); }
.v-hero .v-copy { max-width: none; margin: 0; padding: var(--navh) 0 clamp(36px, 5vw, 64px); }
.v-hero h1 { font-size: clamp(80px, min(12vw, 26svh), 280px); line-height: 0.8; margin-top: 22px; }
.v-hero h1 .red { color: var(--red); }
.v-side { margin: 0; }
.v-side .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.v-side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1); }
@media (max-width: 900px) {
  /* Phones keep the earlier layout the client approved: full-width photo on top, name below */
  .v-hero { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; overflow: hidden; }
  .v-hero-img { order: 0; position: relative; width: 100%; max-width: none; height: 70svh; min-height: 0; aspect-ratio: auto; align-self: stretch; }
  .v-hero-img img { object-position: 50% 30%; }
  .v-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--vbg) 3%, rgba(234,234,232,0) 40%); }
  .v-hero .v-copy { margin-top: -24vw; padding: 0 var(--pad) clamp(40px, 6vw, 80px); position: relative; z-index: 2; }
  body.light-top .nav:not(.scrolled)::before { opacity: 1; background: linear-gradient(180deg, rgba(234,234,232,0.94) 0%, rgba(234,234,232,0.7) 60%, rgba(234,234,232,0) 100%); }
  }
.roles { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px; }
.roles span { font: 500 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 12px; color: var(--fg-2); }
.pull { font-size: clamp(64px, 9vw, 150px); line-height: 0.86; max-width: 13ch; }
.pull em { font-style: normal; color: var(--red); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
/* Pinned columns only when they sit beside their text; on stacked (mobile) layouts they would slide over it */
@media (min-width: 861px) { .sticky { position: sticky; top: 110px; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); margin: 50px 0 0; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dt { font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin: 6px 0 0; font-size: 19px; line-height: 1.3; }
.facts dd a { display: inline-block; padding: 4px 0; }
.journal { display: grid; grid-template-columns: 4fr 3fr 4fr; gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.journal figure { margin: 0; }
.journal .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.journal img { width: 100%; height: 100%; object-fit: cover; }
.journal .bw img { filter: grayscale(1); }
@media (max-width: 760px) { .journal { grid-template-columns: 1fr; } }

/* ---------- Gallery (full screen) ---------- */
.g-page { min-height: 100svh; padding-top: 96px; display: flex; flex-direction: column; }  /* clears the menu bar (logo is 48px tall) */
@media (max-height: 520px) { .g-page { padding-top: 72px; } }
.g-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding: 20px var(--pad) 18px; }
.g-head h1 { font-size: clamp(52px, 6vw, 96px); line-height: 0.82; }
.g-head h1 small { font: 500 12px var(--mono); letter-spacing: 0.06em; color: var(--mute); vertical-align: top; margin-left: 10px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  background: transparent; color: var(--fg-2); border: 1px solid var(--line);
  padding: 10px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tab sup { font-size: 10px; color: var(--mute); }
.tab:hover { border-color: var(--fg-2); color: var(--fg); }
.tab[aria-selected="true"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.tab[aria-selected="true"] sup { color: var(--ink); }  /* red at 10px on white fails AA; keep the single red for larger marks */

.grid {
  --cols: 4; --rows: 2;
  flex: 1; display: grid; gap: 4px; padding: 0 4px 4px;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: max(260px, calc((100svh - var(--g-top, 190px) - 8px) / var(--rows)));
}
.tile { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); cursor: zoom-in; outline: none; }
.tile[hidden] { display: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.92); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); filter: grayscale(1) brightness(0.55); }
.tile .no { position: absolute; top: 14px; left: 16px; z-index: 2; font: 500 11px var(--mono); letter-spacing: 0.06em; color: rgba(242,241,237,0.85); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 70px 18px 18px;
  background: linear-gradient(0deg, rgba(11,11,10,0.9), transparent);
  transform: translateY(100%); transition: transform 0.6s var(--ease);
}
.tile figcaption strong { display: block; font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.4vw, 42px); line-height: 0.9; }
.tile figcaption span { display: flex; gap: 8px; align-items: center; margin-top: 10px; font: 500 11px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg); }
.tile figcaption span::before { content: ""; width: 14px; height: 2px; background: var(--red); flex: none; }
.tile figcaption em { display: block; margin-top: 4px; font: 500 11px var(--mono); font-style: normal; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mute); }
.tile:hover figcaption, .tile:focus-visible figcaption { transform: none; }
.tile:focus-visible { box-shadow: inset 0 0 0 2px var(--red); }

/* animate in */
.tile.anim { animation: tileIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms); }
.tile.anim img { animation: tileImg 1.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 85ms); }
@keyframes tileIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tileImg { from { transform: scale(1.3); } to { transform: scale(1); } }
.grid.out .tile { opacity: 0; transition: opacity 0.25s ease; }

@media (hover: none) { .tile figcaption { transform: none; } }
@media (max-width: 760px) {
  .grid { --cols: 2 !important; grid-auto-rows: 78vw !important; }
  .tile figcaption { padding: 40px 12px 12px; }
  .tile figcaption strong { font-size: 24px; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-width: min(92vw, 1200px); max-height: 78vh; width: auto; object-fit: contain; }
.lb .lb-cap { position: absolute; left: var(--pad); bottom: 26px; color: var(--fg-2); font: 500 12px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.lb .lb-cap strong { display: block; font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: 40px; line-height: 0.9; color: var(--fg); margin-bottom: 8px; }
.lb .lb-cap em { font-style: normal; color: var(--mute); margin-left: 10px; }
.lb button { position: absolute; background: none; border: 0; color: var(--fg); font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; padding: 14px; }
.lb .lb-close { top: 18px; right: calc(var(--pad) - 14px); }
.lb .lb-prev { left: calc(var(--pad) - 14px); top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: calc(var(--pad) - 14px); top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; right: var(--pad); bottom: 28px; color: var(--mute); font: 500 12px var(--mono); }

/* ---------- Volunteer ---------- */
.roles-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--red); }
.roles-list li { display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.roles-list .n { font: 500 12px var(--mono); color: var(--red); }
.roles-list h2 { font-size: clamp(44px, 5vw, 80px); }
.roles-list p { margin: 0; color: var(--fg-2); }
@media (max-width: 760px) { .roles-list li { grid-template-columns: 1fr; gap: 10px; } }
.req { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.req div { font: 500 12px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--line); padding: 10px 14px; color: var(--fg-2); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(242,241,237,0.28);
  color: var(--fg); font: 400 19px var(--sans); padding: 8px 0 12px; border-radius: 0; outline: none;
  transition: border-color 0.3s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: var(--paper); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: #66655f; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--mute); max-width: 52ch; margin: 0; }
.form-done { display: none; font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 54px; line-height: 0.9; }
.form-done em { font-style: normal; color: var(--red); }
.form-wrap.sent .form { display: none; }
.form-wrap.sent .form-done { display: block; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img .frame, .reveal-img.frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.reveal-img.in .frame, .reveal-img.in.frame { clip-path: inset(0 0 0 0); }
/* line masks: padded so descenders and overhangs are never clipped */
.line-in > span { display: block; overflow: hidden; padding: 0.06em 0.1em 0.12em 0.02em; margin: -0.06em -0.1em -0.12em -0.02em; }
.line-in > span > span { display: block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.line-in > span:nth-child(2) > span { animation-delay: 0.1s; }
.line-in > span:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes rise { to { transform: none; } }
.fade-up { opacity: 0; animation: fadeUp 1.2s var(--ease) 0.45s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .reveal-img .frame, .reveal-img.frame { clip-path: none; }
  .line-in > span > span { transform: none; }
  .progress-bar span { width: var(--w); }
}

/* The one colour photograph in the archive: the red gown carries the accent */
.tile.color img { filter: contrast(1.02) brightness(0.95); }
.tile.color:hover img, .tile.color:focus-visible img { filter: brightness(0.6); }

