/* ══════════════════════════════════════════════════════════════
   v2.css — styles for index-v2.html.

   Inherits every token, primitive and shared component from app.css
   (hero, nav, cards, index rows, band, invite, about, detail overlay,
   footer, grain, preloader) and adds only what the expanded page
   needs. app.css is not modified.

   Animation hooks worth knowing about, all defined in app.css:
     .rv / .rv.in     opacity + translate reveal
     .split .ln-i     per-line rise
     [data-para]      reads --para, set by motion.js
   Everything new below respects prefers-reduced-motion through the
   same blanket rule app.css already carries.
   ══════════════════════════════════════════════════════════════ */

@import url('./app.css');

/* ── skip link ─────────────────────────────────────────────── */
.skip {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 9500;
  padding: .9rem 1.6rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: transform .4s var(--ease-out);
}
.skip:focus { transform: translate(-50%, 0); }

/* ── hero addition ─────────────────────────────────────────── */
.hero-blurb {
  max-width: 56ch;
  margin: clamp(1.6rem, 4vw, 2.4rem) auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--paper-38);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease-out) .5s, transform 1.1s var(--ease-out) .5s;
}
.ready .hero-blurb { opacity: 1; transform: none; }

/* ── section ledes ─────────────────────────────────────────── */
.sec-lede {
  max-width: 62ch;
  margin: 1.6rem 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--paper-38);
}

/* ══════════════════════════════════════════════════════════════
   Figures band
   ══════════════════════════════════════════════════════════════ */
.figures {
  padding: clamp(3rem, 8vh, 6rem) var(--gutter);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(185,151,91,.05), transparent 62%),
    var(--ink-1);
}
.fig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 3vw, 2.6rem);
}
@media (max-width: 1100px) { .fig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .fig-grid { grid-template-columns: repeat(2, 1fr); } }

.fig {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}
.fig-n {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: .9;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.fig-l {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
}
.fig-s {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-22);
}

/* ══════════════════════════════════════════════════════════════
   Era legend + card peak line
   ══════════════════════════════════════════════════════════════ */
.era-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.era-chip {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 1px;
  position: relative;
  transition: border-color .45s var(--ease), background .45s var(--ease);
}
.era-chip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: .7;
}
.era-chip:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: rgba(240,236,228,.02); }
.era-chip b { font-size: 11px; font-weight: 400; letter-spacing: .1em; color: var(--paper-80); }
.era-chip i { font-style: normal; font-size: 10.5px; color: var(--paper-22); font-variant-numeric: tabular-nums; }
.era-chip u {
  text-decoration: none;
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 20px;
  padding: 0 .42rem;
}

.card-peak {
  display: block;
  margin-top: .5rem;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.card-peak--none { color: var(--paper-22); }

/* ══════════════════════════════════════════════════════════════
   03 · Anatomy of the single
   ══════════════════════════════════════════════════════════════ */
.anatomy { background: linear-gradient(180deg, var(--ink), var(--ink-1) 40%, var(--ink)); }

.anat {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  margin-bottom: clamp(3.5rem, 9vw, 7rem);
}
@media (max-width: 900px) { .anat { grid-template-columns: 1fr; } }

.anat-art {
  margin: 0;
  position: relative;
}
.anat-art img {
  width: 100%;
  height: auto;          /* or the height="1200" attribute wins over aspect-ratio */
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  filter: blur(14px) saturate(.9);
  transition: filter 1.2s var(--ease);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
}
.anat-art img.loaded { filter: none; }
.anat-art figcaption {
  margin-top: .9rem;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-22);
}

.pull {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--paper-80);
  margin: 0 0 1.8rem;
}
.anat-body > p:not(.pull) {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.92;
  color: var(--paper-55);
  margin: 0 0 1.3rem;
}

.anat-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 720px) { .anat-stats { grid-template-columns: repeat(2, 1fr); } }
.astat {
  background: var(--ink);
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}
.astat b {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.astat span { font-size: 11px; line-height: 1.55; color: var(--paper-22); }

/* ── singles list ─────────────────────────────────────────── */
.singles-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.singles-head h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin: 0 0 .7rem;
}
.singles-head p {
  max-width: 60ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--paper-22);
}

.singles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 1000px) { .singles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .singles { grid-template-columns: 1fr; } }

/* reveal comes from .rv in app.css; this only adds the surface */
.single {
  background: var(--ink);
  padding: 1.5rem 1.4rem;
  position: relative;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background .45s var(--ease);
}
.single:hover { background: rgba(240,236,228,.022); }
.single::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.single:hover::before { transform: scaleY(1); transform-origin: top; }
.single--star { background: linear-gradient(180deg, rgba(255,180,61,.055), transparent 60%), var(--ink); }
.single--star::before { transform: scaleY(1); }

.s-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.s-t {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0;
  color: var(--paper);
  line-height: 1.15;
}
.single--star .s-t { color: var(--accent); }
.s-y { font-size: 11px; letter-spacing: .14em; color: var(--paper-22); font-variant-numeric: tabular-nums; }
.s-from { margin: .35rem 0 .9rem; font-size: 11px; color: var(--paper-22); }
.s-link {
  font: inherit;
  color: var(--paper-38);
  border-bottom: 1px solid var(--line);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.s-link:hover { color: var(--accent); border-color: var(--accent); }

.s-peaks { display: flex; flex-wrap: wrap; gap: .34rem; }
.pk {
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-38);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: .2rem .45rem;
  font-variant-numeric: tabular-nums;
}
.pk b { font-weight: 500; color: var(--paper-80); }
.pk--one { border-color: color-mix(in srgb, var(--accent) 42%, transparent); color: var(--accent); }
.pk--one b { color: var(--accent); }
.pk--none { border-style: dashed; color: var(--paper-22); }

.s-cert { margin: .8rem 0 0; font-size: 10px; letter-spacing: .1em; color: var(--brass); }
.s-note { margin: .8rem 0 0; font-size: 12px; line-height: 1.7; color: var(--paper-38); }

/* ══════════════════════════════════════════════════════════════
   04 · Songs
   ══════════════════════════════════════════════════════════════ */
.songs { background: var(--ink); }
.song-list { display: flex; flex-direction: column; }
.song-text { min-width: 0; }

.song {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.song:last-child { border-bottom: 1px solid var(--line-soft); }
@media (max-width: 800px) { .song { grid-template-columns: 1fr; } }

.song-art { position: relative; }
.song-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  filter: blur(12px) saturate(.75) brightness(.8);
  transition: filter 1.1s var(--ease), transform .8s var(--ease-out);
}
.song-art img.loaded { filter: saturate(.8) brightness(.86); }
.song:hover .song-art img.loaded { filter: saturate(1) brightness(1); transform: scale(1.02); }
.song-art::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(240,236,228,.06);
  background: radial-gradient(90% 90% at 50% 110%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.song:hover .song-art::after { opacity: 1; }
.song-i {
  position: absolute;
  top: -.4rem; left: -.4rem;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--accent);
  background: var(--ink);
  padding: 0 .45rem;
  line-height: 1.1;
}

.song-sub {
  margin: 0 0 .6rem;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-22);
}
.song-t {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  margin: 0 0 1.2rem;
  color: var(--paper);
  transition: color .5s var(--ease);
}
.song:hover .song-t { color: var(--accent); }
.song-body {
  max-width: 68ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.92;
  color: var(--paper-55);
}
.song-body em { font-style: italic; color: var(--paper-80); }

.song-facts {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.song-facts li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--paper-38);
}
.song-facts li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 1px;
  background: var(--accent);
}

.song-go {
  margin-top: 1.6rem;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--paper-38);
  border-bottom: 1px solid var(--line);
  padding-bottom: .3rem;
  display: inline-flex;
  gap: .7rem;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.song-go:hover { color: var(--accent); border-color: var(--accent); }
.song-go .arw { transition: transform .45s var(--ease-out); }
.song-go:hover .arw { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════
   05 · Tours (inside the live band section)
   ══════════════════════════════════════════════════════════════ */
.tours { margin-top: clamp(2rem, 4vw, 3rem); }
.tours h3 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--paper-22);
  margin: 0 0 1rem;
}
.tours ol { list-style: none; margin: 0; padding: 0; }
.tours li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .58rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left .4s var(--ease), color .4s var(--ease);
}
.tours li:hover { padding-left: .5rem; }
.tours .t-n { font-size: 13px; color: var(--paper-55); }
.tours li:hover .t-n { color: var(--paper); }
.tours .t-y { font-size: 11px; color: var(--paper-22); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════
   06 · People
   ══════════════════════════════════════════════════════════════ */
.people { background: linear-gradient(180deg, var(--ink), var(--ink-1) 55%, var(--ink)); }
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 1000px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .people-grid { grid-template-columns: 1fr; } }

.person {
  background: var(--ink);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  transition: background .5s var(--ease);
}
.person:hover { background: rgba(240,236,228,.024); }
.p-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.p-n {
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  margin: 0;
  color: var(--paper);
  line-height: 1.1;
  transition: color .45s var(--ease);
}
.person:hover .p-n { color: var(--brass); }
.p-span { font-size: 10px; letter-spacing: .12em; color: var(--paper-22); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-r {
  margin: 0 0 1rem;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1.6;
}
.p-d { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--paper-55); }
.p-d em { font-style: italic; color: var(--paper-80); }

/* ══════════════════════════════════════════════════════════════
   07 · Timeline
   ══════════════════════════════════════════════════════════════ */
.timeline-sec { background: linear-gradient(180deg, var(--ink), var(--ink-1) 50%, var(--ink)); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: clamp(3.4rem, 7vw, 6.2rem);
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
@media (max-width: 720px) { .timeline::before { display: none; } }

.tl {
  display: grid;
  grid-template-columns: clamp(3.4rem, 7vw, 6.2rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.5vw, 3rem);
  padding: clamp(1.1rem, 2.4vw, 1.8rem) 0;
  position: relative;
}
@media (max-width: 720px) { .tl { grid-template-columns: 1fr; gap: .4rem; border-top: 1px solid var(--line-soft); } }

.tl-y {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--paper-38);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  transition: color .5s var(--ease);
}
.tl:hover .tl-y { color: var(--brass); }
.tl-b { position: relative; }
.tl-b::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(1.4rem, 3.5vw, 3rem) - 3px);
  top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.tl:hover .tl-b::before { background: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 0 14px rgba(185,151,91,.5); }
@media (max-width: 720px) { .tl-b::before { display: none; } }

.tl-t {
  margin: 0 0 .35rem;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--paper);
}
.tl-d { margin: 0; max-width: 72ch; font-size: 13.5px; line-height: 1.82; color: var(--paper-38); }
.tl-d em { font-style: italic; color: var(--paper-55); }

/* ══════════════════════════════════════════════════════════════
   About additions
   ══════════════════════════════════════════════════════════════ */
.about-second { margin-top: 2rem !important; height: auto;
  /* portrait photograph, portrait box — a 16/11 crop cut the top of his head off */
  aspect-ratio: 4 / 5 !important; }
.about-body > p { max-width: 68ch; }

/* ══════════════════════════════════════════════════════════════
   10 · Awards
   ══════════════════════════════════════════════════════════════ */
.awards-sec { padding-bottom: clamp(5rem, 12vh, 9rem); }
.awards { border-top: 1px solid var(--line-soft); }
.award {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 6rem;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}
.award:hover { background: rgba(240,236,228,.022); padding-left: .8rem; }
@media (max-width: 860px) {
  .award { grid-template-columns: 4rem 1fr 5.5rem; }
  .award .a-c { grid-column: 2 / -1; }
  .award .a-w { grid-column: 2 / -1; }
}
.a-y { font-size: 11px; color: var(--paper-22); font-variant-numeric: tabular-nums; }
.a-a { font-size: 13px; color: var(--paper); }
.a-c { font-size: 12px; color: var(--paper-55); }
.a-w { font-size: 12px; color: var(--paper-38); font-style: italic; }
.a-r {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper-22);
  text-align: right;
}
.award--won .a-r { color: var(--brass); }
.award--won .a-a { color: var(--brass); }

/* ══════════════════════════════════════════════════════════════
   Detail overlay additions
   ══════════════════════════════════════════════════════════════ */
.d-cert {
  margin: .9rem 0 0;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  text-align: center;
}
.t-orig {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--paper-22);
  margin-top: .16rem;
}

/* ── footer note ───────────────────────────────────────────── */
.fcheck { color: var(--paper-22) !important; }
.fcheck code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  color: var(--paper-38);
}

/* ══════════════════════════════════════════════════════════════
   Reduced motion — nothing new is allowed to move either
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .single, .hero-blurb {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .song-art img, .anat-art img { transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   Layout + motion refinements
   ══════════════════════════════════════════════════════════════ */

/* ── hero: give the wordmark room and let it settle on scroll ── */
.hero { min-height: 100svh; }
.hero h1 { font-size: clamp(3.2rem, 14vw, 15rem); }
.hero-blurb {
  max-width: 46ch;
  margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
  font-size: 14.5px; line-height: 1.85; color: var(--paper-38);
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--ease) .78s, transform 1s var(--ease-out) .78s;
}
.ready .hero-blurb { opacity: 1; transform: none; }
.hero-bg img.on { animation-duration: 16s; }

/* ── figures: a full-bleed band, ruled top and bottom ───────── */
.figures {
  padding: clamp(3rem, 7vh, 5.5rem) var(--gutter);
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.012), transparent);
}
.fig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
}
.fig {
  padding: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.8rem);
  border-left: 1px solid var(--line-soft);
  transition: background .5s var(--ease);
}
.fig:first-child { border-left: 0; }
.fig:hover { background: rgba(240,236,228,.022); }
.fig-n {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1;
  letter-spacing: -.02em; color: var(--paper);
  transition: color .5s var(--ease);
}
.fig:hover .fig-n { color: var(--brass); }
.fig-l {
  display: block; margin-top: .55rem;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-38);
}
.fig-s { display: block; margin-top: .3rem; font-size: 11px; line-height: 1.55; color: var(--paper-22); }
@media (max-width: 620px) {
  .fig { border-left: 0; border-top: 1px solid var(--line-soft); }
  .fig:first-child { border-top: 0; }
}

/* ── cards lean toward the cursor ───────────────────────────── */
.card {
  transform-style: preserve-3d;
  perspective: 900px;
}
.card-art {
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.card:hover .card-art {
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}

/* ── section heads get a little more air and a rule that draws ── */
.sec-head { position: relative; border-bottom-color: transparent; }
.sec-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.3s var(--ease-out) .1s;
}
.sec-head.in::after { transform: scaleX(1); }
.sec-lede { max-width: 62ch; margin: 1.1rem 0 0; font-size: 14px; line-height: 1.8; color: var(--paper-38); }

/* ── the sleeve pulses with the preview ─────────────────────── */
.d-art img { transform: scale(var(--pulse, 1)); transition: transform .09s linear; }
.d-art-glow { transition: opacity .12s linear; }

/* ── quieten the page behind an active preview ──────────────── */
body.is-playing .grain { opacity: .022; }

/* ── nicer index rows ───────────────────────────────────────── */
.row { border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hero-blurb { opacity: 1 !important; transform: none !important; }
  .sec-head::after { transform: scaleX(1); }
  .d-art img { transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   Plates — three live photographs, full bleed
   ══════════════════════════════════════════════════════════════ */
.plates {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
  grid-template-areas: "tall wide crowd" "note note note";
  gap: clamp(.6rem, 1.4vw, 1.1rem);
  padding: clamp(2rem, 6vh, 5rem) var(--gutter) clamp(3rem, 8vh, 6rem);
  max-width: var(--maxw);
  margin: 0 auto;
  align-items: stretch;      /* the two landscape plates fill the tall one's row */
}
.plate {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
}
.plate:nth-of-type(1) { grid-area: tall; aspect-ratio: 3 / 4; }   /* sets the row height */
.plate:nth-of-type(2) { grid-area: wide; height: 100%; }
.plate:nth-of-type(3) { grid-area: crowd; height: 100%; }
.plate img {
  width: 100%; height: 116%;
  position: relative; top: -8.0%;   /* centre the parallax headroom */
  object-fit: cover;
  filter: saturate(.72) brightness(.8) blur(14px);
  transition: filter 1.2s var(--ease), transform 1.1s var(--ease-out);
}
.plate img.loaded { filter: saturate(.72) brightness(.8); }
.plate:hover img.loaded { filter: saturate(.95) brightness(.95); transform: scale(1.03); }
.plate::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,11,.5), transparent 42%);
  pointer-events: none;
}
.plates-note {
  grid-area: note;
  margin: 0;
  padding: clamp(1.1rem, 2.4vw, 1.8rem) 0 0;
  text-align: right;
  margin-left: auto;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.45;
  color: var(--paper-38);
  max-width: 34ch;
}
@media (max-width: 900px) {
  .plates {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "tall wide" "tall crowd" "note note";
  }
  .plate:nth-of-type(1) { aspect-ratio: 3 / 5; }
  .plates-note { text-align: left; margin-left: 0; }
}
@media (max-width: 560px) {
  .plates { grid-template-columns: 1fr; grid-template-areas: "tall" "wide" "crowd" "note"; }
  .plate:nth-of-type(1) { aspect-ratio: 4 / 5; }
}

/* ── the silhouette behind the invitation ─────────────────── */
.invite-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  
  opacity: .34;
  filter: saturate(.5) contrast(1.1);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="day"] .invite-photo { opacity: .20; filter: saturate(.6) brightness(1.15); }
.invite-frames { z-index: 0; }

/* ── the second portrait in About ─────────────────────────── */
.about-second {
  position: relative;
  margin: 0 0 1.6rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
}
.about-second img {
  width: 100%; height: 100%;
  object-fit: cover;
 
  filter: saturate(.78) brightness(.88) blur(12px);
  transition: filter 1.1s var(--ease);
}
.about-second img.loaded { filter: saturate(.78) brightness(.88); }
:root[data-theme="day"] .about-second img.loaded,
:root[data-theme="day"] .plate img.loaded { filter: saturate(.92) brightness(1); }

/* ══════════════════════════════════════════════════════════════
   06 · Contact sheet

   Rendered from PHOTOS by v2.js — no fixed slots. Rank drives the
   size, so adding a strong frame to data/photos.json promotes itself
   and a weak one sits quietly in one column.
   ══════════════════════════════════════════════════════════════ */
.sheet-sec { background: linear-gradient(180deg, var(--ink), var(--ink-1) 45%, var(--ink)); }

.sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13.5rem;
  gap: clamp(.6rem, 1.4vw, 1.1rem);
}
@media (max-width: 1100px) { .sheet { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 12rem; } }
@media (max-width: 760px)  { .sheet { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 10.5rem; } }

.sh {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
  cursor: pointer;
  grid-column: span 1;
  grid-row: span 1;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
/* the good ones get the room */
.sh--r1 { grid-column: span 2; grid-row: span 2; }
.sh--r2 { grid-row: span 2; }
.sh--r1.sh--tall { grid-column: span 1; grid-row: span 3; }
@media (max-width: 760px) {
  .sh--r1 { grid-column: span 2; grid-row: span 2; }
  .sh--r1.sh--tall, .sh--r2 { grid-column: span 1; grid-row: span 2; }
}

.sh img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.62) brightness(.72) blur(10px);
  transition: filter 1.1s var(--ease), transform 1s var(--ease-out);
}
.sh img.loaded { filter: saturate(.72) brightness(.8); }
.sh:hover img.loaded,
.sh:focus-visible img.loaded { filter: saturate(1) brightness(1); transform: scale(1.045); }

.sh::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.82));
  opacity: .72;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.sh:hover::after { opacity: .95; }

.sh figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: .8rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .16rem;
  transform: translateY(28%);
  opacity: 0;
  transition: transform .55s var(--ease-out), opacity .45s var(--ease);
  pointer-events: none;
}
.sh:hover figcaption, .sh:focus-visible figcaption { transform: none; opacity: 1; }
.sh-y { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.sh-s { font-size: 12px; line-height: 1.4; color: #f0ece4; }
.sh-c { font-size: 9.5px; color: rgba(240,236,228,.5); }

.sheet-note {
  max-width: 66ch;
  margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--paper-22);
}

/* ── lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9300;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-scrim { position: absolute; inset: 0; background: rgba(4,4,6,.94); backdrop-filter: blur(6px); }
.lb-fig {
  position: relative;
  margin: 0;
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  display: flex; flex-direction: column; gap: .9rem;
  transform: scale(.97);
  transition: transform .55s var(--ease-out);
}
.lightbox.open .lb-fig { transform: none; }
.lb-fig img {
  max-width: 100%;
  max-height: 74vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 50px 120px -40px #000;
}
/* The lightbox is a dark surface in both themes, so its type cannot follow the
   theme tokens — in daylight that put dark text on a near-black scrim. */
.lb-fig figcaption { display: flex; flex-direction: column; gap: .22rem; }
.lb-fig figcaption b {
  font-family: var(--display); font-weight: 300; font-size: 1.25rem;
  color: #f0ece4;
}
.lb-fig figcaption span { font-size: 11px; color: rgba(240,236,228,.52); }
.lb-fig figcaption a { color: #d8b471; border-bottom: 1px solid transparent; }
.lb-fig figcaption a:hover { border-bottom-color: #d8b471; }
.lb-close {
  position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem);
  z-index: 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(240,236,228,.18);
  border-radius: 50%;
  color: rgba(240,236,228,.6);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.lb-close:hover { color: #f0ece4; border-color: rgba(240,236,228,.42); }

@media (prefers-reduced-motion: reduce) {
  .sh img, .sh figcaption, .lb-fig { transition: none; }
  .sh figcaption { transform: none; opacity: 1; }
}
