/* Lil' Naitch — editorial / documentary archive treatment
   POLISH_PASS_2026-08-24 — presentation only */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --ink: #121214;
  --charcoal: #1a1a1e;
  --panel: #222228;
  --panel-warm: #2a2622;
  --ivory: #f3efe6;
  --ivory-dim: rgba(243, 239, 230, 0.72);
  --silver: #9a9690;
  --accent: #b8a078;
  --accent-soft: rgba(184, 160, 120, 0.14);
  --accent-line: rgba(184, 160, 120, 0.35);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #d4c4a8; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 28px); }

/* subtle top rule — archival, not wrestling stripes */
.rule-top {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-line) 20%, var(--accent-line) 80%, transparent);
  opacity: 0.6;
}

.rule-thin {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 160, 120, 0.22) 15%, rgba(184, 160, 120, 0.22) 85%, transparent);
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(18, 18, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgba(18, 18, 20, 0.96);
  border-bottom-color: var(--accent-line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 4px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--accent-line);
  color: var(--ivory);
  width: 42px;
  height: 38px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-dim);
  padding: 8px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ivory);
  background: var(--accent-soft);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(18, 18, 20, 0.98);
    border-bottom: 1px solid var(--accent-line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px clamp(18px, 4vw, 28px) 20px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 14px; font-size: 0.75rem; }
}

/* ========== HERO — cinematic documentary open ========== */
.hero-cinema {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.04) saturate(0.92);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    var(--grain),
    linear-gradient(180deg,
      rgba(18, 18, 20, 0.55) 0%,
      rgba(18, 18, 20, 0.15) 35%,
      rgba(18, 18, 20, 0.72) 72%,
      var(--ink) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(48px, 10vw, 88px) 0 clamp(36px, 6vw, 56px);
  animation: heroIn 1.1s var(--ease) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(16px, 3vw, 24px);
}

.hero-cinema h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ivory);
  max-width: 12ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero-sub {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ivory);
  margin-top: clamp(12px, 2vw, 18px);
  opacity: 0.95;
}

.hero-byline {
  margin-top: clamp(20px, 3vw, 28px);
  max-width: 42ch;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.55;
  color: var(--ivory-dim);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

.hero-cap {
  margin-top: clamp(24px, 4vw, 36px);
  max-width: 52ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--silver);
  font-style: italic;
}

/* ========== CREDO ========== */
.credo {
  background: var(--charcoal);
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  padding: clamp(28px, 5vw, 40px) 0;
  text-align: center;
}

.credo p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  max-width: 52ch;
  margin: 0 auto;
  color: var(--ivory);
}

/* ========== SECTIONS ========== */
section {
  padding: clamp(56px, 9vw, 88px) 0;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

section.alt { background: var(--charcoal); }

.kicker {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.lede {
  color: var(--ivory-dim);
  font-size: 1.05rem;
  max-width: 58ch;
  line-height: 1.6;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ERA / CAREER ARCHIVE ========== */
.era-timeline { margin-top: clamp(36px, 6vw, 52px); }

.era {
  position: relative;
  margin-top: clamp(48px, 7vw, 72px);
  padding-top: clamp(32px, 5vw, 48px);
  padding-left: clamp(0px, 2vw, 24px);
  border-top: 1px solid var(--accent-line);
}

.era::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: clamp(48px, 8vw, 80px);
  height: 3px;
  background: var(--accent);
}

.era-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-bottom: clamp(16px, 3vw, 22px);
}

.era-ch {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent-soft);
  color: rgba(184, 160, 120, 0.22);
  letter-spacing: -0.04em;
}

.era-years {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.era h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 18px;
  width: 100%;
}

.era p {
  color: var(--ivory-dim);
  font-size: 1.02rem;
  margin-bottom: 16px;
  max-width: 68ch;
}

.era p strong { color: var(--ivory); font-weight: 600; }

.era-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 36px);
  margin: clamp(20px, 3vw, 28px) 0;
}

@media (min-width: 768px) {
  .era-split.has-media {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    align-items: start;
  }
  .era-split.reverse.has-media { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); }
  .era-split.reverse .era-media { order: -1; }
}

.era-media img {
  border-radius: 4px;
  border: 1px solid var(--accent-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.era-media .v-cap {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--silver);
  font-style: italic;
  line-height: 1.45;
}

/* story beats */
.beat {
  margin: clamp(22px, 4vw, 32px) 0;
  padding: clamp(18px, 3vw, 24px) clamp(20px, 3vw, 28px);
  background: var(--panel);
  border-left: 3px solid var(--accent);
  max-width: 68ch;
}

.beat .b-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.beat p {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.beat p:last-child { margin-bottom: 0; }

/* pull quote */
.quote {
  margin: clamp(28px, 4vw, 36px) 0;
  padding: clamp(22px, 3vw, 28px) clamp(24px, 4vw, 32px);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  max-width: 62ch;
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: var(--ivory);
  margin-bottom: 10px;
}

.quote .who {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}

/* video embed */
.vid { margin: clamp(24px, 4vw, 32px) 0; max-width: 760px; }

.vid .frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background: #000;
}

.vid iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vid .v-cap {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.5;
}

/* ========== FLAIR THREAD ========== */
.flair-thread {
  position: relative;
  padding-left: clamp(20px, 4vw, 36px);
  margin-top: clamp(24px, 4vw, 32px);
}

.flair-thread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(184, 160, 120, 0.15));
}

.thread-node {
  position: relative;
}

.thread-node::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(20px, 4vw, 36px) - 5px);
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.flair-thread .era { border-top: none; padding-top: clamp(28px, 4vw, 40px); margin-top: 0; }
.flair-thread .era::before { display: none; }

/* ========== FILM ROOM ========== */
.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(28px, 5vw, 40px);
}

.film-card {
  background: var(--panel);
  border: 1px solid rgba(243, 239, 230, 0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.film-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.film-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}

.film-card:hover .film-thumb img {
  opacity: 1;
  transform: scale(1.03);
}

.film-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 20, 0.35);
  transition: background 0.25s;
}

.film-card:hover .film-play { background: rgba(18, 18, 20, 0.2); }

.film-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(243, 239, 230, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.film-play-icon::after {
  content: '';
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--ink);
}

.film-meta {
  padding: clamp(16px, 2.5vw, 20px);
}

.film-meta h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.film-meta p {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  line-height: 1.5;
  margin-bottom: 10px;
}

.film-src {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.film-card.is-playing .film-thumb { display: none; }
.film-card .film-embed { display: none; aspect-ratio: 16/9; }
.film-card.is-playing .film-embed {
  display: block;
  position: relative;
  padding-top: 56.25%;
}
.film-card.is-playing .film-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== BUILDERS ========== */
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 3vw, 22px);
  margin-top: clamp(28px, 5vw, 40px);
}

.mentor {
  background: var(--panel);
  border: 1px solid rgba(243, 239, 230, 0.07);
  padding: clamp(22px, 3vw, 28px);
  position: relative;
  overflow: hidden;
}

.mentor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.mentor h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.mentor .role {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.mentor p {
  font-size: 0.92rem;
  color: var(--ivory-dim);
  line-height: 1.55;
}

/* ========== FRIEND'S CHAPTER — personal archive ========== */
.friend-chapter {
  background:
    linear-gradient(165deg, #2a2420 0%, #1e1c1a 45%, var(--ink) 100%);
  border-top: 1px solid rgba(184, 160, 120, 0.25);
  border-bottom: 1px solid rgba(184, 160, 120, 0.25);
}

.friend-chapter .kicker { color: #c9b896; }

.friend-chapter h2 { color: #faf6ef; }

.friend-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9b896;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 184, 150, 0.35);
}

.friend-chapter .era p {
  color: rgba(250, 246, 239, 0.82);
  font-size: 1.05rem;
}

.friend-chapter .era p strong { color: #faf6ef; }

.fam-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 40px);
  margin-top: clamp(32px, 5vw, 48px);
  align-items: center;
}

@media (min-width: 768px) {
  .fam-flex { grid-template-columns: minmax(280px, 420px) 1fr; }
}

.fam-img img {
  border-radius: 4px;
  border: 1px solid rgba(201, 184, 150, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.fam-closer {
  margin: clamp(24px, 4vw, 32px) 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(201, 184, 150, 0.2);
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: #faf6ef;
}

/* ========== GALLERY ========== */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 2vw, 16px);
  margin-top: clamp(28px, 5vw, 40px);
}

.gal-item {
  margin: 0;
}

.gal-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.gal-trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(243, 239, 230, 0.08);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.gal-trigger:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}

.gal-item figcaption {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--silver);
  line-height: 1.4;
}

.gal-note {
  margin-top: clamp(20px, 3vw, 28px);
  font-size: 0.88rem;
  color: var(--silver);
  font-style: italic;
  max-width: 58ch;
}

/* ========== PASS 3 — visual documentary ========== */

/* full-width chapter transitions */
.chapter-moment {
  position: relative;
  margin: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.chapter-moment img {
  display: block;
  width: 100%;
  max-height: min(78vh, 900px);
  object-fit: cover;
  object-position: center 35%;
}

.chapter-moment-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 32px);
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.55) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chapter-moment-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.chapter-moment-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ivory);
  max-width: 18ch;
}

.chapter-moment-note {
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--silver);
  font-style: italic;
}

.chapter-moment--compact img {
  max-height: min(52vh, 560px);
}

.chapter-moment--compact .chapter-moment-title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  max-width: 24ch;
}

/* era visual anchors */
.era-anchor {
  margin: clamp(20px, 3vw, 28px) 0 clamp(24px, 4vw, 32px);
  max-width: min(100%, 920px);
}

.era-anchor img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--accent-line);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
}

.era-anchor .v-cap {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--silver);
  font-style: italic;
}

.era-anchor--quote {
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
  background: var(--panel);
  border-left: 4px solid var(--accent);
  max-width: 62ch;
}

.era-anchor-quote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: var(--ivory);
  margin: 0 0 10px;
}

.era-anchor-cite {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* flair thread scrapbook */
.flair-scrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  margin-bottom: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(24px, 4vw, 32px);
  border-bottom: 1px solid rgba(184, 160, 120, 0.15);
}

.flair-scrap-item {
  margin: 0;
  background: var(--panel);
  border: 1px solid rgba(243, 239, 230, 0.07);
  overflow: hidden;
}

.flair-scrap-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.flair-scrap-item figcaption {
  padding: 10px 12px;
  font-size: 0.75rem;
  color: var(--silver);
  line-height: 1.4;
}

.flair-scrap-item--quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 24px);
  min-height: 140px;
  border-left: 3px solid var(--accent);
}

.flair-scrap-quote {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--ivory);
  margin: 0 0 8px;
  line-height: 1.35;
}

.flair-scrap-note {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
  line-height: 1.45;
}

.flair-thread .flair-scrap + .thread-node::before {
  top: 0.35em;
}

/* film room — cinematic destination */
#film {
  padding-bottom: clamp(48px, 8vw, 72px);
}

.film-card--hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--panel) 0%, rgba(18, 18, 20, 0.95) 100%);
}

@media (min-width: 900px) {
  .film-card--hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
  .film-card--hero .film-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 36px);
  }
}

.film-card--hero .film-thumb {
  aspect-ratio: 16 / 9;
  min-height: clamp(220px, 40vw, 420px);
}

.film-card--hero .film-meta h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.film-watch {
  position: absolute;
  top: clamp(14px, 2vw, 20px);
  left: clamp(14px, 2vw, 20px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ivory);
  padding: 6px 12px;
  border-radius: 2px;
  z-index: 2;
}

.film-card--hero .film-play-icon {
  width: 72px;
  height: 72px;
}

/* friend's chapter — personal weight */
.friend-visual {
  margin: clamp(36px, 6vw, 56px) 0 clamp(28px, 4vw, 40px);
  max-width: min(100%, 960px);
}

.friend-visual-trigger {
  cursor: zoom-in;
}

.friend-visual-trigger img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(201, 184, 150, 0.35);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.friend-visual figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(201, 184, 150, 0.85);
  font-style: italic;
}

.friend-visual--moment {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.fam-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

@media (min-width: 720px) {
  .fam-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fam-grid .gal-item--wide {
    grid-column: span 2;
  }
}

.friend-chapter .fam-closer {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  padding: clamp(24px, 4vw, 32px) 0;
}

/* photo archive — museum grid */
.gal-archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(32px, 5vw, 48px);
}

@media (min-width: 720px) {
  .gal-archive {
    grid-template-columns: repeat(4, 1fr);
  }
  .gal-archive .gal-item--feature {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gal-archive .gal-item--feature .gal-trigger img {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gal-archive .gal-item--tall .gal-trigger img {
    aspect-ratio: 3 / 5;
  }
}

.gal-archive .gal-item figcaption {
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 10px;
}

.gal-era {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.gal-archive .gal-trigger img {
  aspect-ratio: 4 / 3;
}

.ln-sources {
  margin-top: clamp(48px, 8vw, 72px);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--accent-line);
  max-width: 62ch;
}

.ln-sources-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.ln-sources p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--silver);
  margin: 0;
}

.ln-sources a {
  color: var(--ivory-dim);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(184, 160, 120, 0.45);
  text-underline-offset: 3px;
}

.ln-sources a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  background: none;
  border: 1px solid var(--accent-line);
  color: var(--ivory);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ========== QUOTE WALL — oral history ========== */
.qwall {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.5vw, 20px);
  margin-top: clamp(28px, 5vw, 40px);
}

@media (min-width: 640px) {
  .qwall { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .qwall { grid-template-columns: repeat(3, 1fr); }
}

.qcard {
  background: var(--panel);
  border: 1px solid rgba(243, 239, 230, 0.06);
  padding: clamp(20px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qcard.is-featured {
  grid-column: 1 / -1;
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

@media (min-width: 640px) {
  .qcard.is-featured { grid-column: span 2; }
}

.qcard .q-text {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: var(--ivory);
}

.qcard.is-featured .q-text {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.qcard .q-who {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
}

/* ========== APPEARANCES ========== */
.appear-card {
  margin-top: clamp(24px, 4vw, 32px);
  padding: clamp(24px, 4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--accent-line);
  max-width: 640px;
}

.appear-card p {
  color: var(--ivory-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.appear-card .soc {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.appear-card .soc a {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--accent);
}

.appear-card .soc a:hover { color: var(--ivory); }

/* ========== FOOTER ========== */
.site-footer {
  padding: clamp(40px, 6vw, 56px) 0 clamp(28px, 4vw, 36px);
  background: var(--charcoal);
  border-top: 1px solid var(--accent-line);
}

.site-footer .footer-brand {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--ivory);
}

.site-footer .links {
  margin: 0 0 20px;
  font-size: 0.88rem;
}

.site-footer .links a {
  margin-right: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.site-footer .fine {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--silver);
  max-width: 62ch;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 239, 230, 0.08);
}

/* twitter embed spacing */
.twitter-wrap { margin-top: clamp(24px, 4vw, 32px); max-width: 560px; }

/* mobile typography guardrails */
@media (max-width: 430px) {
  body { font-size: 16px; }
  .hero-cinema { min-height: 85vh; }
  .hero-cinema h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-content { animation: none; opacity: 1; transform: none; }
  .film-card:hover, .gal-trigger:hover img { transform: none; }
}

/* ========== PASS 2 — content pages, CMS, search ========== */
.nav-group-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 8px 10px 2px;
  display: block;
  width: 100%;
}
@media (min-width: 900px) {
  .nav-group-label { display: none; }
}
.nav-search { opacity: 0.85; }
.nav-ask { font-weight: 600; letter-spacing: 0.04em; }

.ln-page { padding: clamp(48px, 8vw, 88px) 0; }
.ln-breadcrumbs { font-size: 0.88rem; color: var(--silver); margin-bottom: 1.5rem; }
.ln-breadcrumbs a { color: var(--ivory-dim); }

.ln-list { display: grid; gap: 1.75rem; margin-top: 2rem; }
.ln-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
}
.ln-card h2, .ln-card h3 { font-family: var(--display); font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0.35rem 0; }
.ln-card h2 a, .ln-card h3 a { color: var(--ivory); text-decoration: none; }
.ln-card h2 a:hover, .ln-card h3 a:hover { color: var(--accent); }

.ln-author { font-size: 0.88rem; color: var(--silver); margin-bottom: 0.5rem; }
.ln-more { margin-top: 1rem; font-size: 0.95rem; }
.ln-empty { color: var(--silver); margin-top: 2rem; max-width: 48ch; }

.ln-latest { padding: clamp(40px, 6vw, 64px) 0; }
.ln-latest-journal { margin-top: 1.5rem; }

.ln-prose { max-width: 68ch; margin-top: 2rem; }
.ln-prose p { margin-bottom: 1rem; }

.ln-tags { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 8px; }
.ln-tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--ivory-dim);
}

.ln-related { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(243, 239, 230, 0.08); }
.ln-related h2 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 0.75rem; }
.ln-related ul { list-style: none; }
.ln-related li { margin: 0.35rem 0; }

.ln-photo-hero { margin: 2rem 0; }
.ln-photo-hero figcaption { margin-top: 0.75rem; font-size: 0.92rem; color: var(--silver); }
.ln-meta { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; max-width: 48ch; font-size: 0.95rem; }
.ln-meta dt { color: var(--silver); }

.ln-search-form { display: flex; gap: 10px; margin: 2rem 0; flex-wrap: wrap; }
.ln-search-form input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--accent-line);
  background: var(--panel);
  color: var(--ivory);
  font: inherit;
  border-radius: 4px;
}
.ln-search-form button {
  padding: 12px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--ivory);
  font: inherit;
  cursor: pointer;
  border-radius: 4px;
}
.ln-search-type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.ln-search-results { list-style: none; margin-top: 1.5rem; }
.ln-search-hit { padding: 1rem 0; border-bottom: 1px solid rgba(243, 239, 230, 0.08); }
.ln-search-hit mark { background: var(--accent-soft); color: var(--ivory); }

.ln-contact-form { display: grid; gap: 1rem; max-width: 32rem; margin-top: 2rem; }
.ln-contact-form label { display: grid; gap: 6px; font-size: 0.92rem; }
.ln-contact-form input, .ln-contact-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--accent-line);
  background: var(--panel);
  color: var(--ivory);
  font: inherit;
  border-radius: 4px;
}
.ln-contact-form button {
  justify-self: start;
  padding: 12px 22px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--ivory);
  cursor: pointer;
  border-radius: 4px;
}
.ln-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ln-msg { margin: 1.5rem 0; padding: 12px 16px; border-radius: 4px; }
.ln-msg--ok { background: rgba(120, 160, 120, 0.15); border: 1px solid rgba(120, 160, 120, 0.35); }
.ln-msg--err { background: rgba(180, 90, 90, 0.15); border: 1px solid rgba(180, 90, 90, 0.35); }

.ln-admin details { margin: 1.5rem 0; border: 1px solid var(--accent-line); padding: 1rem; border-radius: 4px; }
.ln-admin summary { cursor: pointer; font-weight: 600; }
.ln-admin-form { display: grid; gap: 0.75rem; margin-top: 1rem; max-width: 40rem; }
.ln-admin-form label { display: grid; gap: 4px; font-size: 0.9rem; }
.ln-admin-form input, .ln-admin-form textarea, .ln-admin-form select {
  padding: 8px 10px;
  border: 1px solid var(--accent-line);
  background: var(--panel);
  color: var(--ivory);
  font: inherit;
}
.ln-admin-form .hint { font-weight: 400; color: var(--silver); font-size: 0.8rem; }
.ln-admin-lists { margin-top: 2.5rem; font-size: 0.92rem; }
.ln-admin-lists ul { margin: 0.5rem 0 1.5rem; padding-left: 1.2rem; }
.ln-admin-q { padding: 1rem 0; border-bottom: 1px solid rgba(243,239,230,0.08); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
