/* ============================================================
   MEHRAN HAGHIRIAN — "Cinematic editorial" system (11x-inspired)
   Monochrome · monumental Playfair display serif · Newsreader body
   Deep-teal narrative bands · pastel cards · pill buttons · no shadows
   ============================================================ */

:root {
  /* Colors */
  --obsidian: #000000;
  --paper: #ffffff;
  --deep-teal: #0b252a;
  --bone: #f6f5f5;
  --sandstone: #f5ece5;
  --ash-blush: #ede2d7;
  --stone: #d7cecc;
  --iron: #e1dad9;
  --pewter: #afaeae;
  --charcoal: #222222;
  --ink-soft: #3a3a3a;
  --ash: #6b6b6b;
  --dusty-sky: #c5d5e8;
  --mist-mint: #d4e6eb;
  --wisteria: #efe5f9;
  --desert-clay: #e7d3bf;
  --slate-teal: #406e7a;
  --saddle-brown: #4c312b;

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;

  --page-max: 1200px;

  /* compatibility aliases so old inline styles/classes keep working */
  --parchment: var(--paper);
  --graphite: var(--charcoal);
  --mist: var(--iron);
  --signal-blue: var(--obsidian);
  --linen: var(--bone);
  --fog: var(--pewter);
  --twilight: var(--obsidian);
  --serif: var(--display);
  --sans: var(--body);
}

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

html { height: 100%; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--deep-teal); color: var(--paper); }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- type ---------- */
h1, h2, h3, .display, .heading, .heading-lg, .heading-sm {
  font-family: var(--display);
  font-weight: 700;
  color: var(--obsidian);
  letter-spacing: -0.045em;
  line-height: 1;
}
.display     { font-size: clamp(46px, 9vw, 118px); letter-spacing: -0.05em; line-height: 0.92; }
.heading-lg  { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.heading     { font-size: clamp(34px, 4.6vw, 46px); letter-spacing: -0.03em; line-height: 1.05; }
.heading-sm  { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.subheading  { font-family: var(--display); font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: var(--obsidian); }
.body-lg     { font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.caption     { font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ash); }
.muted       { color: var(--ash); }

/* small-caps section label */
.kicker {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--obsidian);
  flex: none;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }

/* alternating narrative rhythm: warm cream spreads between white sections */
.band-paper {
  background: var(--bone);
  color: var(--charcoal);
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   NAVIGATION — white bar, hairline underline, pill CTA
   ============================================================ */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 8px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.nav.solid {
  background: rgba(255,255,255,0.9);
  border-color: var(--iron);
}
.nav-glyph { display: flex; align-items: center; margin-right: 6px; }
.nav-logo-img { height: 24px; width: auto; border-radius: 4px; display: block; filter: brightness(0) invert(1); transition: filter 0.4s ease; }
.nav.solid .nav-logo-img { filter: none; }
.nav a.nav-link {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--paper);
  transition: color 0.3s ease, background 0.3s ease;
}
.nav.solid a.nav-link { color: var(--obsidian); }
.nav a.nav-link:hover { background: rgba(255,255,255,0.16); }
.nav.solid a.nav-link:hover { background: var(--bone); }
.nav .nav-cta {
  margin-left: 6px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--paper);
  color: var(--obsidian);
  background: var(--paper);
  transition: opacity 0.3s ease;
}
.nav.solid .nav-cta { background: var(--obsidian); color: var(--paper); border-color: var(--obsidian); }
.nav .nav-cta:hover { opacity: 0.82; }

/* ============================================================
   HERO — deep-teal narrative band, monumental name + portrait card
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep-teal);
  color: var(--paper);
}
/* the illustrated SVG is retired in this system */
.hero-art { display: none; }

.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 32px 88px;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--paper);
}
.hero-id {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-portrait {
  width: 200px;
  height: 240px;
  object-fit: cover;
  object-position: top;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.25);
  flex: none;
  background: var(--bone);
}
.hero-id h1 {
  font-size: clamp(52px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--paper);
  margin: 0;
}
.hero-kicker {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.hero-card > p {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  margin: 24px 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll { display: none; }

.hero.hero-sub { min-height: 52vh; }

/* stars/shimmer no longer used */
.tw, .shimmer, .drift { animation: none; }

/* subtle entrance */
.hero-card { opacity: 0; transform: translateY(20px); animation: heroin 1s 0.2s cubic-bezier(0.2,0.65,0.25,1) forwards; }
.nav { opacity: 0; animation: navin 0.8s 0.1s cubic-bezier(0.2,0.65,0.25,1) forwards; }
@keyframes heroin { to { opacity: 1; transform: none; } }
@keyframes navin { from { opacity: 0; transform: translate(-50%,-12px); } to { opacity: 1; transform: translate(-50%,0); } }

/* simple sub-page header on white */
.page-head {
  padding: 148px 0 40px;
  border-bottom: 1px solid var(--iron);
}
.page-head h1 { letter-spacing: -0.05em; }

/* ============================================================
   BUTTONS — pill, 999px, black/white
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--obsidian);
  color: var(--paper);
  background: var(--obsidian);
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn:hover { opacity: 0.82; }
.btn .arr {
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: transform 0.35s cubic-bezier(0.2,0.65,0.25,1);
}
.btn:hover .arr { transform: translateX(3px); }
/* outlined variant on white */
.btn-blue { background: transparent; color: var(--obsidian); border-color: var(--obsidian); }
.btn-blue:hover { background: var(--obsidian); color: var(--paper); opacity: 1; }
/* on dark bands */
.btn-light, .btn-blue-light { background: var(--paper); color: var(--obsidian); border-color: var(--paper); }
.btn-light:hover, .btn-blue-light:hover { opacity: 0.85; background: var(--paper); }
.btn-fill { background: var(--obsidian); border-color: var(--obsidian); color: var(--paper); }

.link-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 16px; font-weight: 500; color: var(--obsidian);
  border-bottom: 1px solid var(--obsidian);
  padding-bottom: 2px;
}
.link-ghost .arr-inline { transition: transform 0.3s ease; }
.link-ghost:hover .arr-inline { transform: translateX(4px); }

/* ============================================================
   MARQUEE — outlets, serif
   ============================================================ */
.marquee-band { padding: 40px 0; border-top: 1px solid var(--iron); border-bottom: 1px solid var(--iron); background: var(--paper); overflow: hidden; }
.marquee-label { text-align: center; margin-bottom: 22px; }
.marquee { display: flex; overflow: hidden; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 56px;
  padding-right: 56px;
  flex: none;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-track span {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--obsidian);
  white-space: nowrap;
}

/* ============================================================
   CARDS — hairline, no shadow, 16px radius
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--iron);
  border-radius: 16px;
  box-shadow: none;
  padding: 24px;
}
.card h3 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; color: var(--obsidian); margin-bottom: 12px; }
.card p { font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.card .card-tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-teal);
  margin-bottom: 16px;
}
.card.lift { transition: transform 0.5s cubic-bezier(0.2,0.65,0.25,1); }
.card.lift:hover { transform: translateY(-4px); }

/* card with image header */
.card.has-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--iron);
  background: var(--bone);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2,0.65,0.25,1); }
.card.has-media:hover .card-media img { transform: scale(1.04); }
.card.has-media .card-body { padding: 24px; }

/* pastel feature tints — cycle across the three initiative cards */
.grid-3 > .card.has-media:nth-child(1) { background: var(--dusty-sky); border-color: transparent; }
.grid-3 > .card.has-media:nth-child(2) { background: var(--mist-mint); border-color: transparent; }
.grid-3 > .card.has-media:nth-child(3) { background: var(--desert-clay); border-color: transparent; }
.grid-3 > .card.has-media .card-media { border-bottom-color: rgba(0,0,0,0.08); }

/* atmospheric image band */
.band {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--iron);
}
.band img { width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; }
.band figcaption { padding: 12px 4px 0; }

/* facts card */
.facts {
  background: var(--bone);
  border: 1px solid var(--iron);
  border-radius: 16px;
  padding: 8px 16px;
}
.facts li { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--iron); font-size: 16px; }
.facts li:last-child { border-bottom: none; }
.facts .k { color: var(--ash); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; flex: none; }
.facts .v { color: var(--obsidian); font-weight: 500; text-align: right; }

/* ============================================================
   CERULEAN MOMENT → repurposed as a pastel/teal feature block
   ============================================================ */
.cerulean-card {
  background: var(--wisteria);
  border-radius: 16px;
  padding: clamp(40px, 6vw, 80px);
  color: var(--obsidian);
  position: relative;
  overflow: hidden;
}
.cerulean-card .kicker { color: var(--saddle-brown); }
.cerulean-card .kicker::before { background: var(--saddle-brown); }
.cerulean-card h2 { color: var(--obsidian); max-width: 22ch; }
.cerulean-card p { color: var(--ink-soft); max-width: 62ch; margin-top: 20px; font-size: 18px; line-height: 1.55; }
.cerulean-card .pub-meta { margin-top: 28px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }

/* ============================================================
   EDITORIAL LIST
   ============================================================ */
.edit-list { border-top: 1px solid var(--iron); }
.edit-item {
  display: grid;
  grid-template-columns: 116px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 24px 8px;
  border-bottom: 1px solid var(--iron);
  position: relative;
  transition: background 0.35s ease, padding 0.35s ease;
}
a.edit-item:hover { background: rgba(0,0,0,0.03); }
.edit-item .when { font-size: 14px; letter-spacing: 0.02em; color: var(--ash); font-family: var(--body); }
.edit-item .what { min-width: 0; }
.edit-item .what .t {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--obsidian);
  transition: opacity 0.3s ease;
}
a.edit-item:hover .what .t { opacity: 0.62; }
.edit-item .what .m { font-family: var(--body); font-size: 15px; color: var(--ash); margin-top: 6px; }
.edit-item .what .m em { font-style: italic; color: var(--slate-teal); }
.edit-item .go { font-size: 16px; color: var(--pewter); transition: transform 0.35s cubic-bezier(0.2,0.65,0.25,1), color 0.3s ease; }
a.edit-item:hover .go { transform: translateX(5px); color: var(--obsidian); }

/* thumbnails */
.edit-list.thumbed .edit-item { grid-template-columns: 116px 96px 1fr auto; align-items: center; }
.thumb { width: 96px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--iron); background: var(--bone); flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2,0.65,0.25,1); }
a.edit-item:hover .thumb img { transform: scale(1.06); }

/* playable-video thumbnail: play triangle over a dimmed cover */
.thumb.thumb-video { position: relative; }
.thumb.thumb-video::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(11, 37, 42, 0.42);
  z-index: 1;
  transition: background 0.3s ease;
}
.thumb.thumb-video::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-40%, -50%);
  z-index: 2;
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #ffffff;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
}
a.edit-item:hover .thumb.thumb-video::before { background: rgba(11, 37, 42, 0.25); }

/* year divider */
.year-mark {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--obsidian);
  padding: 44px 8px 14px;
  border-bottom: 1px solid var(--iron);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--iron); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -36px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--obsidian); }
.tl-item .tl-when { font-family: var(--body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }
.tl-item h3 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.12; letter-spacing: -0.03em; color: var(--obsidian); }
.tl-item .tl-org { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--ink-soft); margin-top: 6px; }
.tl-item .tl-body { font-size: 16px; line-height: 1.55; color: var(--ash); margin-top: 10px; max-width: 62ch; }
.tl-item .tl-body strong { color: var(--charcoal); font-weight: 600; }
.tl-item .tl-note { display: inline-block; margin-top: 12px; font-family: var(--body); font-size: 13px; color: var(--saddle-brown); border: 1px solid var(--saddle-brown); border-radius: 8px; padding: 4px 10px; }

/* ============================================================
   VIDEOS
   ============================================================ */
.video-card { padding: 0; overflow: hidden; border-radius: 16px; }
.video-card .vf { aspect-ratio: 16 / 9; width: 100%; border: none; background: var(--deep-teal); display: block; }
.video-poster { aspect-ratio: 16 / 9; width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--deep-teal); }
.video-poster .vp-brand { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: var(--paper); }
.video-poster .vp-play { width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,0.8); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--paper); font-size: 14px; padding-left: 3px; transition: transform 0.35s cubic-bezier(0.2,0.65,0.25,1); }
a.video-card:hover .vp-play { transform: scale(1.1); }
.video-card { background: var(--paper); }
.video-card .vc-cap { padding: 16px 20px; }
.video-card .vc-cap .t { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; color: var(--obsidian); line-height: 1.15; }
.video-card .vc-cap .m { font-family: var(--body); font-size: 14px; color: var(--ash); margin-top: 6px; }

/* ============================================================
   ARTICLE PAGES
   ============================================================ */
body.article-page { background: var(--paper); }
.article { padding: 156px 0 96px; }
.article-title { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 32px; }
.article-cover { border-radius: 16px; overflow: hidden; border: 1px solid var(--iron); margin-bottom: 44px; }
.article-cover img { width: 100%; height: auto; }
.article-body { font-family: var(--body); font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.article-body p { margin-bottom: 22px; }
.article-body h2, .article-body h3, .article-body h4 { font-family: var(--display); font-weight: 700; color: var(--obsidian); letter-spacing: -0.03em; margin: 40px 0 14px; }
.article-body h2 { font-size: 34px; line-height: 1.1; }
.article-body h3 { font-size: 27px; line-height: 1.15; }
.article-body h4 { font-size: 21px; line-height: 1.2; }
.article-body a { color: var(--obsidian); border-bottom: 1px solid var(--obsidian); }
.article-body a:hover { opacity: 0.7; }
.article-body blockquote { border-left: 2px solid var(--obsidian); padding-left: 22px; margin: 26px 0; color: var(--ash); font-style: italic; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }

/* ============================================================
   X (TWITTER) EMBED
   ============================================================ */
.x-embed { border: 1px solid var(--iron); border-radius: 16px; background: var(--paper); min-height: 200px; max-height: 520px; overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 8px; }
.x-embed .x-fallback { display: block; padding: 32px 24px; font-size: 16px; color: var(--ink-soft); }
.x-embed a.twitter-timeline { display: block; }

/* ============================================================
   CONNECT + FOOTER
   ============================================================ */
.profiles { display: flex; flex-wrap: wrap; gap: 10px; }
.profiles a {
  font-family: var(--body);
  font-size: 15px; font-weight: 500;
  padding: 10px 16px;
  border: 1px solid var(--iron);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--paper);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.profiles a:hover { border-color: var(--obsidian); background: var(--obsidian); color: var(--paper); }

.email-big {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--obsidian);
  display: inline-block;
  position: relative;
}
.email-big::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--obsidian); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2,0.65,0.25,1); }
.email-big:hover::after { transform: scaleX(1); }

.subscribe { display: flex; gap: 12px; max-width: 460px; }
.subscribe input {
  flex: 1;
  font-family: var(--body);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--bone);
  border: 1px solid var(--iron);
  border-radius: 999px;
  padding: 12px 18px;
  outline: none;
}
.subscribe input::placeholder { color: var(--pewter); }
.subscribe input:focus { border-color: var(--obsidian); }

footer.site-footer { background: var(--stone); border-top: 1px solid var(--iron); padding: 56px 0; }
.footer-cols { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.footer-cols nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-cols nav a { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--charcoal); transition: opacity 0.3s ease; }
.footer-cols nav a:hover { opacity: 0.6; }
.footer-cols .copy { font-family: var(--body); font-size: 14px; color: var(--ash); }

/* About bio */
.bio { max-width: 74ch; }
.bio p { font-size: 20px; line-height: 1.6; color: var(--ink-soft); }
.bio p + p { margin-top: 22px; }

/* about portrait (legacy, if present) */
.portrait { margin-top: 40px; max-width: 420px; }
.portrait img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--iron); background: var(--bone); }
.portrait figcaption { margin-top: 12px; }

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.2,0.65,0.25,1), transform 0.9s cubic-bezier(0.2,0.65,0.25,1); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

html.js [data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity 0.8s cubic-bezier(0.2,0.65,0.25,1), transform 0.8s cubic-bezier(0.2,0.65,0.25,1); }
html.js [data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1)  { transition-delay: 0.05s; }
[data-stagger].in > *:nth-child(2)  { transition-delay: 0.12s; }
[data-stagger].in > *:nth-child(3)  { transition-delay: 0.19s; }
[data-stagger].in > *:nth-child(4)  { transition-delay: 0.26s; }
[data-stagger].in > *:nth-child(5)  { transition-delay: 0.33s; }
[data-stagger].in > *:nth-child(6)  { transition-delay: 0.4s; }
[data-stagger].in > *:nth-child(7)  { transition-delay: 0.47s; }
[data-stagger].in > *:nth-child(8)  { transition-delay: 0.54s; }
[data-stagger].in > *:nth-child(9)  { transition-delay: 0.61s; }
[data-stagger].in > *:nth-child(10) { transition-delay: 0.68s; }
[data-stagger].in > *:nth-child(n+11) { transition-delay: 0.75s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-card, .nav { animation: none !important; opacity: 1 !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   OLDER SAFARI FALLBACKS
   ============================================================ */
@supports not (aspect-ratio: 16 / 9) {
  .video-card .vf { height: 220px; }
  .video-poster { height: 220px; }
  .card-media { height: 200px; }
  .card-media img { height: 200px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .edit-item, .edit-list.thumbed .edit-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
  .edit-item .go { display: none; }
  .edit-list.thumbed .edit-item {
    grid-template-columns: 84px 1fr;
    gap: 4px 14px;
    align-items: start;
  }
  .edit-list.thumbed .thumb { width: 84px; height: 56px; grid-column: 1; grid-row: 1 / span 2; display: block; }
  .edit-list.thumbed .when { grid-column: 2; }
  .edit-list.thumbed .what { grid-column: 2; }
}
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .nav { top: 12px; padding: 6px 6px 6px 10px; max-width: calc(100vw - 20px); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a.nav-link { font-size: 14px; padding: 8px 9px; }
  .nav .nav-cta { font-size: 14px; padding: 8px 12px; }
  .hero-card { padding: 0 20px 64px; }
  .hero-id { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-portrait { width: 132px; height: 158px; }
  .hero-id h1 { font-size: clamp(44px, 15vw, 72px); }
  .footer-cols { align-items: flex-start; flex-direction: column; gap: 20px; }
}
