/* XXXI.party — HELLE, Issue XI
   Ported from design-handoff/HELLE.dc.html; tokens per design-handoff/README.md */

:root {
  /* colour */
  --ink: #0b0a0a;
  --ink-deep: #17161a;
  --ink-panel: #0e0d10;
  --ink-host: #100e0c;
  --rule: #221f24;
  --rule2: #2f2b33;
  --bone: #ede7dd;
  --bone-bright: #f7f5f3;
  --bone-flat: #f2f0ee;
  --body: #b6b1bb;
  --muted: #8b8892;
  --label: #6b6570;
  --faint: #55505a;
  --ghost: #38343c;
  --gold: #b99457;
  --blood: #6e1220;

  /* responsive structure (single 900px breakpoint) */
  --shell: 430px; --shellShadow: 0 0 90px rgba(0, 0, 0, 0.7);
  --col: 100%; --wide: 100%;
  /* the cover is the first fold: viewport height minus the sticky nav */
  --coverH: max(540px, calc(100svh - 48px)); --coverPad: 18px; --coverRow: 100%; --coverBig: 44px; --coverItal: 15px;
  --copyL: var(--coverPad); --copyR: auto; --copyAlign: left; --copyItems: flex-start;
  --listL: auto; --listR: var(--coverPad); --listAlign: right;
  --mast: 196px; --mastPad: 13px; --mastTop: 28px;
  --subjX: 50%; --subjH: calc(var(--coverH) * 0.82); --subjWrap: calc(var(--coverH) * 0.84);
  --teaserMast: 132px; --subMast: 34px; --subMastW: 150px; --subHead: 42px; --stripH: 420px; --nomCols: 2; --invCols: 2;
  --ctaDir: row; --ctaFlex: 1; --ctaPadX: 0px;
  /* cover furniture, fluid on desktop */
  --railFs: 8.5px; --coverKick: 130px; --coverListFs: 9px; --copyGap: 22px;
  --ctaFs: 10.5px; --ctaPadY: 17px; --dateFs: 30px; --dateSubFs: 11px;
}
@media (min-width: 900px) {
  :root {
    --shell: 100%; --shellShadow: none;
    --col: 680px; --wide: 1360px;
    --coverH: max(700px, 92vh); --coverPad: 4vw; --coverRow: clamp(460px, 36vw, 700px);
    --coverBig: clamp(56px, 4.3vw, 94px); --coverItal: clamp(20px, 1.5vw, 30px);
    --copyL: auto; --copyR: var(--coverPad); --copyAlign: right; --copyItems: flex-end;
    --listL: var(--coverPad); --listR: auto; --listAlign: left;
    --mast: min(28vw, calc(var(--coverH) * 0.28)); --mastPad: 4vw; --mastTop: 5vh;
    --subjX: 50%; --subjH: calc(var(--coverH) * 0.87); --subjWrap: calc(var(--coverH) * 0.89);
    --teaserMast: 250px; --subMast: 42px; --subMastW: 190px; --subHead: 60px; --stripH: 560px; --nomCols: 3; --invCols: 4;
    --ctaDir: row-reverse; --ctaFlex: 0 0 auto; --ctaPadX: clamp(42px, 3.3vw, 60px);
    --railFs: clamp(8.5px, 0.66vw, 12px); --coverKick: clamp(130px, 10vw, 200px);
    --coverListFs: clamp(9px, 0.72vw, 13px); --copyGap: clamp(22px, 1.8vw, 34px);
    --ctaFs: clamp(10.5px, 0.82vw, 14px); --ctaPadY: clamp(17px, 1.35vw, 25px);
    --dateFs: clamp(30px, 2.6vw, 46px); --dateSubFs: clamp(11px, 0.85vw, 15px);
  }
}

* { box-sizing: border-box; }
/* author display rules (e.g. flex) must never resurrect [hidden] elements */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-deep);
  font-family: Archivo, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--bone); }
::selection { background: var(--blood); color: var(--bone); }
button { font-family: inherit; border: none; background: none; padding: 0; margin: 0; color: inherit; }
input { font-family: inherit; }

@keyframes helleRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes helleFade { from { opacity: 0; } to { opacity: 1; } }

/* Bodoni hairlines vanish at phone pixel densities: on small screens, render
   display serifs at weight 500 and at the font's sturdier default optical size */
@media (max-width: 899px) {
  .cover-big, .invitation-head, .rsvp-head, .confirm-head,
  .looks-head, .details-head, .night-head, .aw-head, .letter-head,
  .sub-head, .sub-done-head {
    font-weight: 500;
    font-optical-sizing: none;
  }
}

/* ---------- line breaking ----------
   No stranded last words. `balance` evens the lines of short display text
   (quotes, subheads, captions); `pretty` keeps longer prose from ending on a
   lone word. Headlines with authored <br> are left alone — those breaks are
   deliberate. */

/* Everything here is a short block (2–5 lines), where `balance` evens the
   measure and leaves no stranded tail. `pretty` alone only rescues a lone
   last word — it happily leaves runts like "in it." */
.invitation-quote-text, .looks-quote-text, .rsvp-sub, .confirm-body, .looks-desc,
.self-title, .ballot-summary, .letter-sign, .award-note, .aw-note, .night-note,
.invitation-body, .letter-body, .rule-text, .details-note, .details-value,
.fact-note, .opt-text, .self-note, .ballot-privacy, .host-note,
.look-title, .look-credit, .award-credit, .stepper-note {
  text-wrap: balance;
}

/* Unbounded or incidental text: keep the cheaper guarantee. */
.guest-others, .rsvp-error, .plate-hint, .contents-item-desc {
  text-wrap: pretty;
}

/* ---------- shared primitives ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  background: var(--ink);
  color: var(--bone);
  position: relative;
  min-height: 100vh;
  box-shadow: var(--shellShadow);
}
.col { max-width: var(--col); margin-left: auto; margin-right: auto; }
.wide { max-width: var(--wide); margin-left: auto; margin-right: auto; }

.serif { font-family: "Bodoni Moda", serif; }
.mast-font { font-family: Imbue, "Bodoni Moda", serif; font-weight: 500; }

.dept-label {
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.micro { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--label); }

/* distributed masthead letters */
.mast-letters { display: flex; justify-content: space-between; line-height: 1; }

/* the signature red bleed hover */
.bleed {
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(var(--blood), var(--blood)) no-repeat center bottom / 100% 0%, var(--bleed-base, transparent);
  transition: background-size 420ms cubic-bezier(0.2, 0.75, 0.2, 1), color 260ms ease, border-color 260ms ease;
}
.bleed:hover { background-size: 100% 100%; color: var(--bone-bright); }
.bleed-gold { --bleed-base: var(--gold); color: var(--ink); }
.bleed-bone { --bleed-base: var(--bone-flat); color: #211d1a; }
.bleed-outline { --bleed-base: transparent; border: 1px solid var(--gold); color: var(--gold); }
.bleed-outline:hover { border-color: var(--blood); }

/* bottom-ruled inputs */
.field-label {
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--label); margin-bottom: 8px;
}
.line-input {
  display: block; width: 100%;
  background: transparent; border: none;
  border-bottom: 1px solid rgba(237, 231, 221, 0.28);
  border-radius: 0;
  padding: 10px 2px; font-size: 16px; color: var(--bone);
}
.line-input::placeholder { color: rgba(237, 231, 221, 0.32); }
.line-input:focus { outline: none; border-bottom-color: var(--gold); }
.line-input.invalid { border-bottom-color: var(--blood); }

/* hatch placeholder plates */
.plate-dark { background-image: repeating-linear-gradient(115deg, #1c1a1c 0 7px, #131113 7px 14px); }
.plate-light { background-image: repeating-linear-gradient(115deg, #d8d0c4 0 7px, #cfc6b8 7px 14px); }
.plate-hint {
  font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.14em;
  color: var(--faint); text-transform: uppercase; text-align: center;
  line-height: 1.9; white-space: pre-line;
}

/* ---------- departments nav (reveal) ---------- */

.dept-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 10, 10, 0.95);
  border-bottom: 1px solid var(--rule);
  padding: 11px 14px;
}
.dept-nav-row { display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.dept-nav-mark { font-size: 26px; line-height: 1; letter-spacing: 0.04em; margin-right: auto; padding-right: 10px; color: var(--bone); }
.nav-item {
  padding: 7px 9px 6px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: color 220ms ease;
  color: var(--label); border-bottom: 1px solid transparent;
}
.nav-item.active { color: var(--bone); border-bottom-color: var(--gold); }
@media (max-width: 899px) {
  .nav-item { padding: 7px 6px 6px; font-size: 9px; letter-spacing: 0.13em; }
}

/* ---------- cover ---------- */

.cover {
  position: relative; height: var(--coverH); overflow: hidden;
  background: #dbd9d6; animation: helleFade 600ms ease both;
}

/* The paper runs edge to edge; the composition does not. Plate and vignette
   stay full-bleed on .cover, while the masthead, subject and cover type ride a
   centred stage — so the cover reads as a page, never as a cropped image. */
.cover-stage { position: absolute; inset: 0; }

/* Desktop: cap the stage and size the furniture against it (cqw), so the type
   keeps its proportions at any screen width. */
@media (min-width: 900px) {
  .cover-stage {
    container-type: inline-size;
    max-width: 1040px;
    margin-inline: auto;

    --coverPad: 4cqw;
    --mastPad: 4cqw;
    --mast: min(27cqw, calc(var(--coverH) * 0.28));
    --coverRow: 52cqw;
    --coverBig: clamp(40px, 5.2cqw, 66px);
    --coverItal: clamp(15px, 1.9cqw, 24px);
    --railFs: clamp(8.5px, 0.9cqw, 12px);
    --coverListFs: clamp(9px, 0.95cqw, 13px);
    --copyGap: clamp(18px, 2.2cqw, 30px);
    --ctaFs: clamp(10px, 1.05cqw, 13px);
    --ctaPadY: clamp(15px, 1.7cqw, 22px);
    --ctaPadX: clamp(30px, 4cqw, 54px);
    --dateFs: clamp(28px, 3.2cqw, 44px);
    --dateSubFs: clamp(10px, 1.1cqw, 14px);
  }
}
.cover-bg { position: absolute; inset: 0; }
.cover-bg-fill { width: 100%; height: 100%; background: linear-gradient(180deg, #eeeae5 0%, #e4dfd9 46%, #cdc7c0 100%); }
.cover-mast { position: absolute; top: var(--mastTop); left: 0; right: 0; display: flex; justify-content: center; }
.cover-mast-letters { flex: 1; padding: 0 var(--mastPad); font-size: var(--mast); color: #b0a291; }
.cover-subject {
  position: absolute; left: 0; right: 0; top: auto; bottom: -26px;
  height: var(--subjWrap);
  /* parallax layer, depth 1.5: translate ±33px / ±21px, scale 1.045 */
  will-change: transform;
  transition: transform 140ms ease-out;
  transform: translate3d(calc(var(--px, 0) * -33px), calc(var(--py, 0) * -21px), 0) scale(1.045);
}
.cover-subject img {
  position: absolute; left: var(--subjX); bottom: -6px;
  transform: translateX(-50%); height: var(--subjH); width: auto;
}
.cover-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 16, 15, 0) 46%, rgba(18, 16, 15, 0.14) 64%, rgba(16, 14, 14, 0.44) 82%, rgba(13, 11, 11, 0.76) 93%, rgba(11, 10, 10, 0.96) 100%);
}
.cover-rail {
  position: absolute; top: 16px; left: var(--coverPad); right: var(--coverPad);
  display: flex; justify-content: space-between;
  font-size: var(--railFs); letter-spacing: 0.26em; text-transform: uppercase; color: #6d6862;
}
.cover-copy {
  position: absolute; bottom: 152px; left: var(--copyL); right: var(--copyR);
  max-width: var(--coverRow);
  display: flex; flex-direction: column; align-items: var(--copyItems);
  text-align: var(--copyAlign); gap: var(--copyGap);
  animation: helleRise 900ms ease both;
}
.cover-big {
  font-size: var(--coverBig); line-height: 0.94; color: var(--bone-bright);
  text-shadow: 0 2px 22px rgba(18, 16, 15, 0.5);
}
.cover-big.italic { font-style: italic; line-height: 1; }
/* cover lines: three distinct headlines, mixed type so they read separately */
.cover-lines {
  position: absolute; bottom: 96px; left: var(--listL); right: var(--listR);
  width: max-content; max-width: 46%;
  text-align: var(--listAlign);
}
.cover-line-kicker {
  font-style: italic; font-size: var(--coverItal); line-height: 1.3;
  color: var(--bone-bright); text-shadow: 0 2px 18px rgba(18, 16, 15, 0.6);
}
.cover-line {
  margin-top: 14px;
  font-size: var(--coverListFs); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247, 245, 243, 0.82); line-height: 1.45;
  text-shadow: 0 2px 14px rgba(18, 16, 15, 0.5);
}
.cover-cta-row {
  position: absolute; bottom: 26px; left: var(--copyL); right: var(--copyR);
  max-width: var(--coverRow); width: calc(100% - var(--coverPad) * 2);
  display: flex; flex-direction: var(--ctaDir); align-items: center; gap: 18px;
}
.cover-cta {
  flex: var(--ctaFlex); padding: var(--ctaPadY) var(--ctaPadX);
  font-size: var(--ctaFs); letter-spacing: 0.24em;
}
.cover-date { font-family: "Bodoni Moda", serif; font-size: var(--dateFs); color: var(--bone-bright); line-height: 1; white-space: nowrap; }
.cover-date span { font-family: Archivo, sans-serif; font-size: var(--dateSubFs); letter-spacing: 0.1em; }
.cover-tilt {
  position: absolute; bottom: 7px; right: var(--coverPad);
  font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247, 245, 243, 0.5); cursor: pointer; min-height: 14px;
}

/* ---------- invitation ---------- */

.invitation { padding: 34px 20px 4px; border-top: 1px solid var(--rule); }
.invitation-head { font-size: 34px; line-height: 1.06; letter-spacing: -0.01em; }
.invitation-body { font-size: 13.5px; line-height: 1.75; color: var(--body); margin-top: 14px; }
.fact-grid {
  display: grid; grid-template-columns: repeat(var(--invCols), 1fr);
  gap: 1px; margin-top: 26px; background: var(--rule); border: 1px solid var(--rule);
}
.fact { background: var(--ink); padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.fact-label { font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); }
.fact-value { font-family: "Bodoni Moda", serif; font-size: 19px; line-height: 1.2; }
.fact-value.gold-italic { font-style: italic; color: var(--gold); }

/* ---------- contents ---------- */

.contents { padding: 32px 20px 44px; }
.contents-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.contents-title { font-size: 30px; }
.contents-row {
  display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule);
  cursor: pointer; width: 100%; text-align: left;
}
.contents-row:last-child { border-bottom: 1px solid var(--rule); }
.contents-row:hover { background: #121014; }
.contents-folio { font-family: "Bodoni Moda", serif; font-size: 13px; color: var(--gold); width: 26px; flex: none; }
.contents-item-title { font-family: "Bodoni Moda", serif; font-size: 21px; margin-bottom: 5px; }
.contents-item-desc { font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* ---------- guest list / RSVP ---------- */

.section-rule { border-top: 1px solid var(--rule); }
.rsvp { padding: 34px 20px 44px; }
.rsvp-head { font-size: 44px; line-height: 1.04; letter-spacing: -0.01em; }
.rsvp-sub { font-style: italic; font-size: 15px; color: var(--muted); margin-top: 14px; line-height: 1.55; }

.attend-row { display: flex; gap: 10px; margin-top: 32px; }
.attend-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 17px 10px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; line-height: 1.4;
  border: 1px solid rgba(237, 231, 221, 0.28); color: var(--muted); background: transparent;
}
.attend-btn.on { border-color: var(--bone); color: var(--ink); background: var(--bone); }

.rsvp-fields { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }

.stepper-row { display: flex; align-items: center; gap: 18px; }
.stepper-btn {
  width: 48px; height: 48px; border: 1px solid rgba(237, 231, 221, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--bone); cursor: pointer; flex: none;
  transition: border-color 160ms ease, color 160ms ease;
}
.stepper-btn:hover { border-color: var(--gold); color: var(--gold); }
.stepper-value { font-family: "Bodoni Moda", serif; font-size: 34px; min-width: 34px; text-align: center; }
.stepper-note { font-family: "Bodoni Moda", serif; font-style: italic; font-size: 13px; color: var(--label); }

.opt-rows { margin-top: 34px; display: flex; flex-direction: column; }
.opt-row {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 0;
  border-top: 1px solid var(--rule); cursor: pointer; width: 100%; text-align: left;
}
.opt-row:last-child { border-bottom: 1px solid var(--rule); }
.opt-box {
  width: 22px; height: 22px; flex: none;
  border: 1px solid rgba(237, 231, 221, 0.3); background: transparent; color: transparent;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.opt-row[aria-checked="true"] .opt-box { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.opt-text { flex: 1; font-size: 12.5px; line-height: 1.55; color: var(--body); }

.turnstile-slot { margin-top: 30px; min-height: 65px; }
.rsvp-submit { display: block; width: 100%; margin-top: 22px; padding: 19px 0; font-size: 11px; letter-spacing: 0.24em; }
.rsvp-close-note {
  font-family: "Bodoni Moda", serif; font-style: italic; font-size: 12px;
  color: var(--faint); margin-top: 14px; text-align: center;
}
.rsvp-error {
  font-size: 11px; letter-spacing: 0.1em; color: var(--blood);
  background: rgba(110, 18, 32, 0.12); border: 1px solid rgba(110, 18, 32, 0.5);
  padding: 12px 14px; margin-top: 18px; text-transform: uppercase; letter-spacing: 0.14em;
}

/* confirmation state */
.rsvp-confirm { padding: 60px 22px 44px; text-align: center; animation: helleRise 600ms ease both; }
.confirm-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.confirm-head { font-size: 46px; line-height: 1; margin-top: 20px; }
.confirm-divider { height: 1px; background: rgba(237, 231, 221, 0.2); margin: 30px auto; width: 56px; }
.confirm-body { font-size: 13.5px; line-height: 1.75; color: var(--body); padding: 0 8px; }
.confirm-body em { font-family: "Bodoni Moda", serif; font-style: italic; color: var(--bone); }
.confirm-card {
  margin-top: 34px; border: 1px solid var(--rule); padding: 22px 18px;
  text-align: left; display: flex; flex-direction: column; gap: 14px;
}
.confirm-card-row { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.confirm-card-row span:first-child { color: var(--label); }
.confirm-cta { display: block; width: 100%; margin-top: 26px; padding: 17px 0; font-size: 11px; letter-spacing: 0.22em; }
.confirm-amend {
  display: block; margin: 16px auto 0; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--faint); cursor: pointer;
}

/* public guest list */
.guest-list-band { border-top: 1px solid var(--rule); background: var(--ink-panel); }
.guest-list { padding: 34px 20px 54px; }
.guest-list-label { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); margin-bottom: 18px; }
/* Grid rather than CSS columns: a multi-column box spills sideways when its
   height is capped instead of growing, which makes the reveal impossible to
   animate. Grid gives an honest, transitionable height. */
.guest-names {
  display: grid; grid-template-columns: repeat(var(--invCols), minmax(0, 1fr));
  column-gap: 22px; font-family: "Bodoni Moda", serif; font-size: 17px; line-height: 2;
}
/* A long guest list buries The Looks; show a dozen and let the curious open it.
   The animation rides a plain wrapper: a multi-column box redistributes its
   content when you cap its height instead of growing, so its own height is not
   a thing you can meaningfully transition. */
.guest-names.clamped > div:nth-child(n + 13) { display: none; }
/* The height snaps; the newly revealed names arrive. Animating the height
   itself is not worth it here — the list is a grid of independent cells, and
   a fade reads as intentional where a height tween reads as a stutter. */
@keyframes guestFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.guest-names.revealing > div:nth-child(n + 13) { animation: guestFade 420ms ease both; }
.guest-toggle {
  display: block; margin-top: 18px; padding: 0;
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); cursor: pointer; text-align: left;
  border-bottom: 1px solid rgba(185, 148, 87, 0.35); padding-bottom: 4px;
}
.guest-toggle:hover { color: var(--bone); border-bottom-color: var(--bone); }
.guest-others { font-family: "Bodoni Moda", serif; font-style: italic; font-size: 14px; color: var(--muted); margin-top: 20px; }

/* ---------- looks ---------- */

.looks-intro { padding: 34px 20px 26px; }
.looks-head { font-size: 52px; line-height: 0.92; letter-spacing: -0.02em; }
.looks-desc { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 16px; max-width: 320px; }
/* the looks: infinite filmstrip of full portrait frames, no cropping */
.looks-strip {
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.looks-strip::-webkit-scrollbar { display: none; }
.looks-track { display: flex; gap: 2px; width: max-content; }
.look-card { flex: none; display: flex; flex-direction: column; background: var(--ink-panel); }
.look-card-plate { position: relative; height: var(--stripH); }
.look-card-plate img { display: block; height: 100%; width: auto; }
.look-no { position: absolute; top: 10px; left: 10px; font-family: "Bodoni Moda", serif; font-size: 13px; color: rgba(237, 231, 221, 0.75); text-shadow: 0 1px 8px rgba(11, 10, 10, 0.6); }
.look-card-caption { width: 0; min-width: 100%; padding: 12px 12px 16px; }
.look-title { font-family: "Bodoni Moda", serif; font-size: 16px; line-height: 1.25; color: var(--bone-flat); }
.look-credit { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; color: #9a95a0; margin-top: 6px; line-height: 1.8; }
.looks-quote {
  padding: 30px 20px 50px; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.looks-quote-text { font-family: "Bodoni Moda", serif; font-style: italic; font-size: 19px; line-height: 1.4; }
.looks-quote-attr { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); }

/* ---------- details ---------- */

.details { padding: 34px 20px 54px; }
.details-head { font-size: 48px; line-height: 0.96; letter-spacing: -0.01em; }
.details-list { margin-top: 34px; display: flex; flex-direction: column; }
.details-row { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--rule); }
.details-row:last-child { border-bottom: 1px solid var(--rule); }
.details-key {
  width: 88px; flex: none; font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--label); padding-top: 4px;
}
.details-value { flex: 1; font-family: "Bodoni Moda", serif; font-size: 19px; line-height: 1.5; }
.details-value .withheld { font-style: italic; color: var(--gold); }
.details-note { font-family: Archivo, sans-serif; font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.6; }

.rules-label { margin-top: 36px; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); }
.rules-list { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.rule-row { display: flex; gap: 14px; }
.rule-no { font-family: "Bodoni Moda", serif; font-size: 13px; color: var(--gold); width: 20px; flex: none; }
.rule-text { flex: 1; font-size: 13px; line-height: 1.65; color: var(--body); }

.footer { padding: 0 20px 54px; }
.colophon { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.colophon-mast { max-width: 260px; font-size: 68px; line-height: 0.9; color: var(--bone); }
.colophon-credits { font-size: 9.5px; line-height: 2; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.colophon-brand { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ghost); margin-top: 12px; }

/* ---------- invitation quote & fact notes ---------- */

.invitation-quote { margin: 24px 0 0; padding: 0; }
.invitation-quote-text { font-style: italic; font-size: 19px; line-height: 1.5; color: var(--bone); margin: 0; }
.invitation-quote-attr { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); margin-top: 10px; }
.invitation-body + .invitation-body { margin-top: 12px; }
.fact-note { font-size: 10.5px; line-height: 1.55; color: var(--muted); }

/* ---------- party night: the awards ---------- */

.night-bar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 10, 10, 0.96);
  border-bottom: 1px solid var(--rule);
  padding: 12px 16px;
}
.night-bar-row { display: flex; align-items: center; justify-content: space-between; }
.poll-status { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.night-intro { padding: 30px 20px 22px; }
.night-head { font-size: 45px; line-height: 1.04; letter-spacing: -0.01em; }
.night-note { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 14px; }

.night-ident { padding: 0 20px 20px; }
.ident-inner { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ident-row { display: flex; gap: 8px; align-items: flex-end; }
.ident-row .line-input { flex: 1; }

.ballot-step {
  padding: 0 20px 10px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.step-label { font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); }
.step-meta { font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }

.cat-chips { display: flex; gap: 6px; padding: 0 16px 18px; overflow-x: auto; }
.chip {
  padding: 9px 14px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  border: 1px solid var(--rule2); color: #7d7885; background: transparent;
}
.chip.on { border-color: var(--gold); color: var(--gold); }
@media (min-width: 900px) {
  /* three combined labels must sit on one line inside the 680px column */
  .chip { padding: 9px 10px; font-size: 9px; letter-spacing: 0.12em; }
}

.self-entry { padding: 0 20px 20px; }
.self-entry-card {
  border: 1px solid var(--rule); background: var(--ink-panel);
  padding: 16px; display: flex; align-items: center; gap: 16px;
}
.self-thumb {
  width: 64px; height: 80px; flex: none;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; padding: 6px;
  background-size: cover; background-position: center;
}
.self-thumb .plate-hint { font-size: 8px; letter-spacing: 0.12em; line-height: 1.7; }
.self-entry-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.self-title { font-size: 18px; line-height: 1.2; }
.self-note { font-size: 11px; line-height: 1.55; color: var(--label); }
.self-actions { display: flex; gap: 8px; margin-top: 2px; align-items: center; }
.self-btn {
  display: inline-block;
  border: 1px solid rgba(237, 231, 221, 0.28); color: var(--bone);
  padding: 9px 12px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; background: transparent;
}
.self-btn:hover { border-color: var(--gold); color: var(--gold); }
.self-remove {
  padding: 9px 12px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; color: var(--faint);
}

.nom-grid {
  display: grid; grid-template-columns: repeat(var(--nomCols), 1fr);
  gap: 2px; padding: 0 2px;
}
.nom { background: var(--ink-panel); cursor: pointer; text-align: left; outline-offset: -1px; }
.nom.mine { outline: 1px solid var(--gold); }
.nom.locked { cursor: default; }
.nom-plate {
  position: relative; height: 190px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.nom-plate.name-only { background: var(--ink-panel); border-bottom: 1px solid var(--rule); }
.nom-plate-name { font-size: 26px; color: var(--body); }
.nom.mine .nom-plate { box-shadow: inset 0 0 0 1px rgba(185, 148, 87, 0.5); }
.nom-badge {
  position: absolute; top: 0; right: 0; padding: 5px 8px;
  font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
}
.nom-meta { padding: 8px 10px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.nom-name { font-size: 15px; }
.nom-credit { font-size: 8.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--label); margin-top: 5px; }
.nom-tally { font-size: 12px; color: var(--gold); white-space: nowrap; }

.ballot-foot { padding: 26px 20px 46px; display: flex; flex-direction: column; gap: 14px; }
.ballot-card { border: 1px solid var(--rule); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.ballot-card-label { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--label); }
.ballot-summary { font-size: 17px; line-height: 1.5; }
.ballot-privacy { font-size: 10.5px; line-height: 1.6; color: var(--faint); margin-top: 4px; }

/* host panel */
.host-panel {
  border: 1px solid var(--gold); background: var(--ink-host);
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
}
.host-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.host-label { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.standings { display: flex; flex-direction: column; }
.standing-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); color: var(--muted); }
.standing-row.top { padding: 12px 0; }
.standing-row.first { border-top-color: rgba(185, 148, 87, 0.45); color: var(--bone); }
.standing-rank { font-size: 13px; color: var(--gold); width: 18px; flex: none; }
.standing-thumb {
  width: 44px; height: 55px; flex: none;
  border: 1px solid var(--rule);
  background-size: cover; background-position: center;
}
.standing-mid { flex: 1; }
.standing-name { font-size: 18px; }
.standing-votes { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.host-note { font-size: 11px; line-height: 1.6; color: var(--label); }
.host-note.faint { font-size: 10.5px; color: var(--faint); }
.host-btn-secondary {
  --bleed-base: transparent;
  border: 1px solid rgba(237, 231, 221, 0.28); color: var(--muted);
  padding: 15px 0; font-size: 10px; letter-spacing: 0.22em;
}
.host-btn-primary { padding: 15px 0; font-size: 10px; letter-spacing: 0.22em; }
.host-season-row { display: flex; align-items: center; gap: 8px; padding-top: 4px; border-top: 1px solid var(--rule); }
.host-season-btn {
  padding: 8px 10px; font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--rule2); color: #7d7885; cursor: pointer; background: transparent;
}
.host-season-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- aftermath ---------- */

.winners-spread { background: var(--bone); color: var(--ink); padding: 30px 20px 36px; }
.aw-rail {
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: #6b655d;
}
.aw-head { font-size: 60px; line-height: 0.9; letter-spacing: -0.03em; margin-top: 20px; }
.aw-note { font-size: 12.5px; line-height: 1.7; color: #4a453e; margin-top: 14px; }
.awards-list { display: flex; flex-direction: column; gap: 38px; margin-top: 30px; }
.award-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(11, 10, 10, 0.25); padding-top: 12px;
}
.award-cat { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: #6b655d; }
.award-votes { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b655d; white-space: nowrap; }
.award-plate {
  position: relative; margin-top: 14px; width: 100%; aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px;
}
.award-plate .plate-hint.light { color: #8a8275; max-width: 200px; font-size: 9.5px; }
.award-badge {
  position: absolute; top: -1px; right: -1px;
  background: var(--blood); color: var(--bone);
  padding: 8px 12px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
}
.award-times {
  display: flex; justify-content: space-between; margin-top: 9px;
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8275;
}
.award-name { font-size: 34px; line-height: 1.05; margin-top: 16px; }
.award-credit { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #6b655d; margin-top: 8px; line-height: 1.9; }
.award-note { font-style: italic; font-size: 15.5px; line-height: 1.6; margin-top: 14px; color: #2c2823; }
.aw-foot {
  margin-top: 32px; padding-top: 14px; border-top: 1px solid rgba(11, 10, 10, 0.25);
  font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8a8275; line-height: 1.9;
}

.editors-letter { padding: 38px 20px 52px; }
.letter-head { font-size: 38px; line-height: 1; margin-top: 16px; }
.letter-body { font-size: 13.5px; line-height: 1.8; color: var(--body); margin-top: 18px; }
.letter-sign { font-style: italic; font-size: 15px; color: var(--muted); margin-top: 16px; }
.album-cta {
  display: block; margin-top: 32px; padding: 20px 0;
  font-size: 11px; letter-spacing: 0.24em;
}
.album-cta, .album-cta:hover { text-decoration: none; }
.bleed-gold.album-cta { color: var(--ink); }
.bleed-gold.album-cta:hover { color: var(--bone-bright); }
.subscribe-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.subscribe-row { display: flex; gap: 8px; align-items: flex-end; }
.subscribe-row .line-input { flex: 1; }

/* ---------- /subscribe: the standing signup ---------- */

.sub-page {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 20px 30px;
  animation: helleFade 700ms ease both;
  position: relative; overflow: hidden;
}
/* the teaser's gold wash, so the page reads as part of the issue */
.sub-page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 55% at 50% 42%, rgba(185, 148, 87, 0.09), rgba(11, 10, 10, 0) 70%);
}
.sub-page > * { position: relative; }

.sub-rail {
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(237, 231, 221, 0.4);
}

.sub-middle { max-width: var(--col); margin: 0 auto; width: 100%; padding: 34px 0; }

/* the masthead is a publication mark here, not the message */
.sub-mast {
  font-size: var(--subMast); color: rgba(237, 231, 221, 0.55);
  line-height: 0.9; max-width: var(--subMastW); margin: 0 auto;
}

.sub-head {
  font-size: var(--subHead); line-height: 1.02; letter-spacing: -0.01em;
  color: var(--bone); text-align: center; margin: 30px 0 0;
}
.sub-line {
  font-size: 14px; line-height: 1.75; color: var(--body);
  margin: 20px auto 0; text-align: center; max-width: 40ch; text-wrap: balance;
}
.sub-fields { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.sub-submit { display: block; width: 100%; margin-top: 22px; padding: 19px 0; font-size: 11px; letter-spacing: 0.24em; }

.sub-done { text-align: center; animation: helleRise 600ms ease both; padding-top: 34px; }
.sub-done-head { font-size: 40px; line-height: 1.05; margin-top: 18px; }
.sub-done-body { font-size: 13.5px; line-height: 1.75; color: var(--body); text-wrap: balance; }

.sub-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
}
.sub-foot a { color: var(--label); }
.sub-foot a:hover { color: var(--bone); }
.sub-foot-brand { color: var(--ghost); }

/* ---------- /admin: back of house ----------
   Built for a phone held in one hand at 11pm: big targets, plain labels,
   destructive things asking first. */

.admin { padding: 28px 20px 60px; }
.admin-head { font-size: 40px; line-height: 1.05; margin: 14px 0 30px; }
.admin-login .line-input { margin-bottom: 20px; }

/* Helpers type a three-word passphrase on a phone; let them see what they typed. */
.pw-wrap { position: relative; }
.pw-wrap .line-input { padding-right: 42px; }
.pw-toggle {
  position: absolute; top: 4px; right: 0;
  width: 36px; height: 36px; padding: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--label); cursor: pointer;
  transition: color 180ms ease;
}
.pw-toggle:hover { color: var(--bone); }
.pw-toggle svg { width: 20px; height: 20px; display: block; }
/* the slash is drawn only when the password is visible */
.pw-toggle .pw-slash { opacity: 0; transition: opacity 180ms ease; }
.pw-toggle[aria-pressed="true"] { color: var(--gold); }
.pw-toggle[aria-pressed="true"] .pw-slash { opacity: 1; }
.admin-btn { display: block; width: 100%; padding: 18px 0; font-size: 11px; letter-spacing: 0.24em; }
.admin-btn-outline {
  --bleed-base: transparent; border: 1px solid rgba(237, 231, 221, 0.28); color: var(--body);
  display: block; width: 100%; padding: 17px 0; font-size: 11px; letter-spacing: 0.22em;
}

.admin-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 22px;
}
.admin-role { font-family: "Bodoni Moda", serif; font-size: 20px; color: var(--bone); margin-top: 6px; }
.admin-signout {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); cursor: pointer; padding: 6px 0;
}
.admin-signout:hover { color: var(--bone); }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.admin-stat { background: var(--ink); padding: 14px 8px; text-align: center; }
.admin-stat-n { font-family: "Bodoni Moda", serif; font-size: 26px; line-height: 1; color: var(--bone); }
.admin-stat-l { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); margin-top: 7px; }

.admin-block { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule); }
.admin-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.admin-block-title { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.admin-now { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.admin-note { font-size: 11.5px; line-height: 1.65; color: var(--faint); margin: 12px 0 0; text-wrap: pretty; }

.admin-phases { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.admin-phase {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; padding: 15px 16px; cursor: pointer; text-align: left;
  border: 1px solid var(--rule2); background: transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.admin-phase span { font-family: "Bodoni Moda", serif; font-size: 19px; color: var(--bone); }
.admin-phase small { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.admin-phase:hover { border-color: rgba(185, 148, 87, 0.5); background: #121014; }
.admin-phase.live { border-color: var(--gold); background: rgba(185, 148, 87, 0.07); }
.admin-phase.live span::after {
  content: " · live"; font-family: Archivo, sans-serif; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}

.admin-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.admin-btn:disabled, .admin-phase:disabled { opacity: 0.45; cursor: default; }

.admin-standings { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.admin-cat-name { font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); margin-bottom: 6px; }
.admin-rank {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline;
  padding: 7px 0; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted);
}
.admin-rank.first { color: var(--bone); border-top-color: rgba(185, 148, 87, 0.45); }
.admin-rank span:first-child { font-family: "Bodoni Moda", serif; color: var(--gold); }
.admin-rank span:last-child { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 18px; }
.admin-photo { display: flex; flex-direction: column; gap: 6px; }
.admin-photo-plate {
  aspect-ratio: 4 / 5; background-size: cover; background-position: center;
  border: 1px solid var(--rule); background-color: var(--ink-panel);
}
.admin-photo-name { font-family: "Bodoni Moda", serif; font-size: 14px; color: var(--bone); }
.admin-photo-remove {
  font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); cursor: pointer; text-align: left; padding: 2px 0;
}
.admin-photo-remove:hover { color: var(--blood); }
.admin-empty { font-size: 11.5px; line-height: 1.7; color: var(--faint); margin: 14px 0 0; }

.admin-links { display: flex; flex-direction: column; margin-top: 8px; }
.admin-links a {
  display: flex; flex-direction: column; gap: 3px; padding: 14px 0;
  border-top: 1px solid var(--rule); color: var(--bone); font-size: 14px;
}
.admin-links a small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.admin-links a:hover { color: var(--gold); }

@media (min-width: 900px) {
  .admin { max-width: 680px; margin: 0 auto; }
  .admin-phases { flex-direction: row; }
  .admin-phase { flex: 1; }
  .admin-actions { flex-direction: row; }
  .admin-actions > * { flex: 1; }
}

/* ---------- season visibility ---------- */

.season { display: none; }
.season.active { display: block; }
.season.fade { animation: helleFade 600ms ease both; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .cover-subject { transition: none; transform: none; }
  .cover, .cover-copy, .rsvp-confirm, .season.fade { animation: none; }
}
