/* ============================================================================
   UTAH PIG BUS — SCRAPBOOK DESIGN SYSTEM
   ----------------------------------------------------------------------------
   Direction: 1990s sports yearbook meets a modern, slightly rowdy tailgate
   scrapbook. Crimson, near-black, warm cream paper, gold accents. Taped
   polaroids, torn edges, marker handwriting, halftone print texture.

   Section map
     1. Tokens
     2. Base + utilities
     3. Layout shell + sidebar navigation
     4. Scrapbook components (Polaroid, Tape, Ticket, Card, Cutout, Timeline)
     5. Page furniture (hero, headers, sections, slabs, strips)
     6. Page-specific blocks (schedule, build, gallery, media, forms)
     7. Lightbox
     8. Footer
     9. Responsive
    10. Motion + print
   ========================================================================== */

/* ---------- 1. TOKENS ----------------------------------------------------- */
:root {
  /* Palette — every pairing used for text passes WCAG AA on its background. */
  --red: #cb0028;          /* Utah-style crimson                              */
  --red-deep: #a3001f;     /* hover / small text on cream (7.5:1)             */
  --red-dark: #7d0018;     /* deep shadow red                                 */
  --ink: #141211;          /* near-black body text                            */
  --black: #161516;        /* panel black                                     */
  --black-soft: #26221f;
  --paper: #f7f5ef;        /* warm off-white page                             */
  --paper-2: #efe8db;      /* aged paper                                      */
  --white: #fffdf8;
  --gold: #ffcf20;         /* highlighter / primary CTA                       */
  --muted: #5d544e;        /* secondary text on cream (6.8:1)                 */
  --rule: #d8d0c2;

  /* Type */
  --display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --condensed: 'Oswald', 'Arial Narrow', sans-serif;
  --hand: 'Permanent Marker', 'Comic Sans MS', cursive;
  --type: 'Special Elite', 'Courier New', monospace;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Space + shape */
  --sidebar: 170px;
  --pad: clamp(1.1rem, 3.5vw, 3rem);
  --wrap: 1180px;
  --radius: 2px;
  --tape: rgba(222, 205, 160, 0.82);
  --shadow-photo: 0 10px 22px -10px rgba(20, 12, 8, 0.55);
  --shadow-lift: 0 22px 44px -22px rgba(20, 12, 8, 0.7);

  /* Torn-paper and brush-stroke outlines, used by the collage and the doors.
     Three tears so neighbouring photos never share an edge. */
  --tear-a: polygon(0.0% 0.8%, 11.1% 1.6%, 22.2% 2.6%, 33.3% 1.3%, 44.4% 1.4%, 55.6% 1.6%, 66.7% 0.5%, 77.8% 1.4%, 88.9% 1.8%, 100.0% 1.3%, 99.7% 11.1%, 99.2% 22.2%, 99.7% 33.3%, 97.7% 44.4%, 98.1% 55.6%, 99.9% 66.7%, 97.2% 77.8%, 97.3% 88.9%, 98.9% 100.0%, 88.9% 98.3%, 77.8% 99.6%, 66.7% 100.0%, 55.6% 98.5%, 44.4% 99.8%, 33.3% 99.5%, 22.2% 99.3%, 11.1% 99.9%, 0.0% 99.2%, 1.2% 88.9%, 2.4% 77.8%, 1.5% 66.7%, 1.8% 55.6%, 1.4% 44.4%, 1.9% 33.3%, 1.3% 22.2%, 0.8% 11.1%);
  --tear-b: polygon(0.0% 1.6%, 11.1% 2.7%, 22.2% 2.5%, 33.3% 0.2%, 44.4% 1.7%, 55.6% 1.2%, 66.7% 1.5%, 77.8% 0.4%, 88.9% 0.5%, 100.0% 0.7%, 99.4% 11.1%, 98.7% 22.2%, 99.9% 33.3%, 99.8% 44.4%, 98.0% 55.6%, 98.8% 66.7%, 98.6% 77.8%, 97.9% 88.9%, 99.4% 100.0%, 88.9% 99.8%, 77.8% 97.8%, 66.7% 98.4%, 55.6% 98.2%, 44.4% 98.3%, 33.3% 97.3%, 22.2% 99.0%, 11.1% 97.9%, 0.0% 99.4%, 1.6% 88.9%, 1.8% 77.8%, 0.9% 66.7%, 0.2% 55.6%, 1.3% 44.4%, 2.0% 33.3%, 1.7% 22.2%, 1.3% 11.1%);
  --tear-c: polygon(0.0% 1.1%, 11.1% 0.3%, 22.2% 1.7%, 33.3% 2.4%, 44.4% 2.3%, 55.6% 1.4%, 66.7% 1.8%, 77.8% 1.0%, 88.9% 1.5%, 100.0% 0.2%, 98.1% 11.1%, 98.3% 22.2%, 99.2% 33.3%, 98.9% 44.4%, 97.9% 55.6%, 98.8% 66.7%, 97.3% 77.8%, 97.3% 88.9%, 98.6% 100.0%, 88.9% 99.7%, 77.8% 99.8%, 66.7% 99.2%, 55.6% 99.0%, 44.4% 98.0%, 33.3% 97.7%, 22.2% 98.4%, 11.1% 98.2%, 0.0% 99.0%, 0.1% 88.9%, 1.5% 77.8%, 0.6% 66.7%, 1.2% 55.6%, 0.0% 44.4%, 1.8% 33.3%, 2.5% 22.2%, 0.2% 11.1%);
  --brush: polygon(1% 12%, 6% 4%, 14% 9%, 24% 3%, 36% 8%, 47% 2%, 58% 7%, 69% 1%, 80% 7%, 91% 3%, 99% 9%, 100% 42%, 97% 58%, 100% 90%, 93% 97%, 82% 92%, 71% 99%, 60% 93%, 49% 98%, 38% 92%, 27% 99%, 16% 94%, 7% 98%, 0% 90%, 3% 60%, 0% 40%);
  --brush-2: polygon(0% 9%, 10% 3%, 20% 1%, 30% 8%, 40% 0%, 50% 5%, 60% 8%, 70% 1%, 80% 5%, 90% 6%, 100% 4%, 98% 50%, 100% 92%, 90% 97%, 80% 94%, 70% 96%, 60% 93%, 50% 99%, 40% 98%, 30% 99%, 20% 95%, 10% 92%, 0% 90%, 2% 48%);

  /* This design deliberately commits to one look — a cream paper scrapbook —
     so it does not flip with the viewer's theme. Pin the scheme so native
     form controls and scrollbars match the page instead of the OS. */
  color-scheme: light;
}

/* ---------- 2. BASE + UTILITIES ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Halftone print grain over the whole page. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(#f6e7d4 0.55px, transparent 0.7px),
    radial-gradient(#101010 0.45px, transparent 0.7px);
  background-size: 7px 7px, 13px 13px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; text-wrap: balance; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .sidebar :focus-visible, .lightbox :focus-visible {
  outline-color: var(--gold);
}

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

.skip-link {
  position: absolute;
  left: 0.5rem; top: -5rem;
  z-index: 1000;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--condensed);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

/* ---------- 3. LAYOUT SHELL + SIDEBAR ------------------------------------ */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
  max-width: 1800px;
  margin-inline: auto;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.85);
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0 1rem;
  background:
    radial-gradient(circle at 12% 16%, #44141d, transparent 52%),
    var(--black);
  color: var(--white);
  overflow-y: auto;
  z-index: 40;
}
/* Faint photocopier banding. */
.sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(250, 250, 250, 0.04) 7px);
}
/* The right edge is a ragged stroke of red paint, not a ruled border. */
.sidebar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 14px;
  background: var(--red);
  pointer-events: none;
  clip-path: polygon(
    100% 0, 100% 100%, 45% 100%, 15% 95%, 55% 89%, 20% 82%, 50% 74%, 10% 67%, 45% 59%,
    20% 51%, 55% 44%, 15% 36%, 50% 29%, 10% 22%, 45% 15%, 20% 8%, 50% 0
  );
}

/* The crew's emblem, cut out of its white backdrop and slapped onto a splash
   of red paint — as in the approved concept. */
.brand {
  position: relative;
  display: block;
  width: 112px;
  margin: 0.2rem auto 0.9rem;
  padding: 0.5rem 0.2rem 0.2rem;
  transform: rotate(-2deg);
}
.brand::before {
  content: '';
  position: absolute;
  inset: -4% -6% -2%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 46% at 52% 50%, rgba(203, 0, 40, 0.92), rgba(203, 0, 40, 0) 72%),
    radial-gradient(circle at 10% 24%, var(--red) 0 7px, transparent 8px),
    radial-gradient(circle at 92% 30%, var(--red) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 86%, var(--red) 0 9px, transparent 10px),
    radial-gradient(circle at 16% 84%, var(--red) 0 4px, transparent 5px),
    radial-gradient(circle at 60% 8%, #0a0909 0 12px, transparent 13px),
    radial-gradient(circle at 30% 92%, #0a0909 0 15px, transparent 16px);
}
.brand img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.65)); }

.nav { display: flex; flex-direction: column; }
.nav a {
  position: relative;
  padding: 0.62rem 0.6rem 0.62rem 1rem;
  font-family: var(--condensed);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  color: #efe6dd;
  border-left: 5px solid transparent;
}
.nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.nav a[aria-current='page'] {
  background: var(--red);
  border-left-color: var(--red);
  color: var(--white);
  font-weight: 700;
}

.sidebar-socials { display: flex; gap: 0.2rem; margin: 1rem 0 0 0.6rem; }
.sidebar-social {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 0;
  color: var(--white);
}
.sidebar-social:hover { color: var(--gold); }
.sidebar-social svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.sidebar-social--solid svg { fill: currentColor; stroke: none; width: 26px; height: 26px; }

.sidebar-foot {
  margin-top: auto;
  padding: 1.1rem 1.15rem 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #b4a99f;
}
.sidebar-foot .go {
  font-family: var(--hand);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
/* Standalone links in lists need a comfortable tap target (WCAG 2.5.8). */
.sidebar-foot a,
.footer ul a,
.media-item .body a,
.contact-list dd a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-block: 0.3rem;
}
.sidebar-foot a { color: #efe6dd; }
@media (min-width: 961px) { .sidebar-foot { display: none; } }

/* Mobile menu button lives in a top bar that only exists on narrow screens. */
.topbar { display: none; }

.main { min-width: 0; background: var(--paper); }

/* Pages are swapped by the router; only one is in the DOM at a time. */
.page { animation: fade 0.22s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }

/* ---------- 4. SCRAPBOOK COMPONENTS -------------------------------------- */

/* --- TapeAccent: a strip of masking tape, used by Polaroid and cards ----- */
.tape {
  position: absolute;
  width: 94px;
  height: 27px;
  background: var(--tape);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 0.93;
}
.tape::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 3px, rgba(255, 255, 255, 0.28) 3px 4px);
}
.tape--top { top: -13px; left: 50%; transform: translateX(-50%) rotate(-2.2deg); }
.tape--tl { top: -11px; left: 8%; transform: rotate(-7deg); }
.tape--tr { top: -11px; right: 8%; transform: rotate(6deg); }

/* --- Polaroid ------------------------------------------------------------ */
.polaroid {
  position: relative;
  margin: 0;
  padding: 11px 11px 0;
  background: var(--white);
  box-shadow: var(--shadow-photo);
  transform: rotate(var(--tilt, -1.2deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.polaroid > img {
  width: 100%;
  height: var(--h, 230px);
  object-fit: var(--fit, cover);
  object-position: var(--focal, 50% 50%);
  background: var(--paper-2);
}
.polaroid figcaption {
  padding: 0.55rem 0.2rem 0.75rem;
  font-family: var(--hand);
  font-size: 1.02rem;
  line-height: 1.25;
  color: #2b2320;
}
button.polaroid { display: block; width: 100%; border: 0; text-align: left; cursor: zoom-in; }
button.polaroid:hover, button.polaroid:focus-visible {
  transform: rotate(0deg) scale(1.015);
  box-shadow: var(--shadow-lift);
}
/* --- ScrapbookCard: a torn-edge panel on the paper ----------------------- */
.card {
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 1.9rem);
  background: var(--white);
  box-shadow: var(--shadow-photo);
  border: 1px solid var(--rule);
}
.card--dark { background: var(--black); color: var(--paper); border-color: #000; }
.card--red { background: var(--red); color: var(--white); border-color: var(--red-dark); }
.card--dark p, .card--red p { color: inherit; }
.card-title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* --- NewspaperCutout ----------------------------------------------------- */
.cutout {
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  background: var(--paper-2);
  border: 1px solid #cdc2ad;
  box-shadow: var(--shadow-photo);
  font-family: var(--type);
  /* Torn top and bottom edge. */
  clip-path: polygon(
    0% 3%, 4% 0%, 11% 3%, 19% 0.5%, 27% 3%, 36% 0%, 45% 2.5%, 54% 0%, 63% 3%,
    72% 0.5%, 81% 3%, 90% 0%, 97% 2.5%, 100% 1%, 100% 97%, 95% 100%, 87% 97.5%,
    78% 100%, 69% 97%, 60% 100%, 51% 97.5%, 42% 100%, 33% 97%, 24% 100%,
    15% 97.5%, 7% 100%, 2% 97%, 0% 99%
  );
}
.cutout .kicker {
  font-family: var(--condensed);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.cutout h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  margin: 0.4rem 0 0.5rem;
}

/* --- VintageTicket ------------------------------------------------------- */
.ticket {
  position: relative;
  padding: 1.4rem 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(203, 0, 40, 0.045) 0 10px, transparent 10px 20px),
    #fdf6e3;
  border: 2px dashed var(--red);
  color: var(--ink);
}
.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px; height: 24px;
  background: var(--paper);
  border: 2px dashed var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -14px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -14px; clip-path: inset(0 50% 0 0); }
.ticket h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ticket .stub {
  font-family: var(--condensed);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-deep);
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--condensed);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--red { background: var(--red); color: var(--white); }
.btn--white { background: var(--white); }
.btn--ghost { background: transparent; box-shadow: none; border-color: currentColor; }
.btn--ghost:hover { transform: none; background: var(--ink); color: var(--paper); }
.on-dark .btn--ghost:hover { background: var(--white); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

/* --- Type helpers -------------------------------------------------------- */
.overline {
  font-family: var(--condensed);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 0.5rem;
}
.on-dark .overline { color: var(--gold); }

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-title mark {
  background: var(--gold);
  color: var(--ink);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lede {
  max-width: 60ch;
  margin-top: 0.9rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.on-dark .lede { color: #d7cec6; }

.hand { font-family: var(--hand); }
.scribble {
  font-family: var(--hand);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--gold);
  transform: rotate(-1.5deg);
}
.quote {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
}
.fineprint {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.on-dark .fineprint { color: #b7ada4; }

/* ---------- 5. PAGE FURNITURE -------------------------------------------- */

/* --- GameDayHero / home hero -------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(430px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 62% 46%;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 6, 6, 0.93) 6%, rgba(10, 6, 6, 0.35) 48%, rgba(10, 6, 6, 0.6)),
    linear-gradient(to right, rgba(140, 0, 25, 0.5), transparent 62%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad) clamp(1.8rem, 4vw, 2.8rem);
}
.hero-kicker {
  font-family: var(--condensed);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 10.5vw, 7rem);
  line-height: 0.84;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.7rem;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.6);
}
.hero-title em { display: block; font-style: normal; color: var(--red); -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92); }
.hero-tag {
  display: inline-block;
  padding: 0.18em 0.5em;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.7vw, 1.5rem);
  text-transform: uppercase;
  transform: rotate(-0.8deg);
}
.hero-lede { max-width: 38ch; margin-top: 1rem; color: #ece3db; }

/* A pinned sticky note in the hero corner. */
.sticky-note {
  position: absolute;
  top: 6%; right: 4%;
  z-index: 3;
  width: 148px;
  padding: 0.9rem 0.8rem;
  background: #fff9c4;
  color: #2b2320;
  font-family: var(--hand);
  font-size: 0.95rem;
  line-height: 1.25;
  text-align: center;
  box-shadow: var(--shadow-photo);
  transform: rotate(4deg);
}

/* --- CollageHero: the approved home concept ------------------------------
   Laid out from Welby's mockup: a 24 x 12 grid. The crew's emblem hangs off
   the sidebar into the top-left; the bus photo runs across the top centre;
   the crew selfie and GameDay set stack down the right; friends, the roast
   and the old crew run along the bottom; the giant UTAH / PIG BUS title and
   the yellow tagline sit over the left. Below 960px it reflows (see §9).
   ------------------------------------------------------------------------ */
/* The page is lifted above the sticky sidebar so the emblem can hang over it. */
@media (min-width: 961px) { .page:has(> .home-emblem) { position: relative; z-index: 41; } }
.home-emblem {
  position: absolute;
  z-index: 45;
  top: 0.5rem;
  left: calc(-1 * var(--sidebar) + 0.6rem);
  width: clamp(230px, 18.5vw, 320px);
  transform: rotate(-3deg);
}
.home-emblem::before {
  content: '';
  position: absolute;
  inset: -8% -8% -6%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 48% at 50% 50%, rgba(203, 0, 40, 0.95), rgba(203, 0, 40, 0) 72%),
    radial-gradient(circle at 8% 30%, var(--red) 0 9px, transparent 10px),
    radial-gradient(circle at 95% 24%, var(--red) 0 7px, transparent 8px),
    radial-gradient(circle at 98% 62%, var(--red) 0 12px, transparent 13px),
    radial-gradient(circle at 6% 74%, var(--red) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 6%, #0a0909 0 16px, transparent 17px),
    radial-gradient(circle at 30% 3%, #0a0909 0 20px, transparent 21px);
}
.home-emblem img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.7)); }
/* While the big emblem is on screen it replaces the small sidebar logo. */
@media (min-width: 961px) {
  body[data-emblem='on'] .sidebar .brand { visibility: hidden; }
  body[data-route='home'] .sidebar .brand { margin-bottom: clamp(3rem, 7.4vw, 8.8rem); }
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(0, 1fr));
  height: clamp(540px, 42vw, 760px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 18% 26% at 4% 60%, rgba(203, 0, 40, 0.75), transparent 70%),
    radial-gradient(ellipse 14% 22% at 62% 52%, rgba(203, 0, 40, 0.55), transparent 70%),
    radial-gradient(ellipse 12% 18% at 97% 40%, rgba(203, 0, 40, 0.6), transparent 70%),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 34%, rgba(255, 255, 255, 0.45) 0 3px, transparent 4px),
    radial-gradient(circle at 46% 12%, var(--red) 0 5px, transparent 6px),
    radial-gradient(ellipse 40% 20% at 55% 102%, rgba(255, 255, 255, 0.07), transparent 70%),
    #0e0c0c;
}
.collage :focus-visible, .doors :focus-visible, .follow :focus-visible { outline-color: var(--gold); }

/* The title block. */
.collage-title {
  position: relative;
  z-index: 10;
  grid-area: 3 / 1 / 9 / 11;
  align-self: end;
  padding: 0 0 0 clamp(0.8rem, 1.4vw, 1.4rem);
  /* The block overlaps the photographs; only its buttons should take clicks. */
  pointer-events: none;
}
.collage-title a { pointer-events: auto; }
/* Paint splash behind the lettering: a black pool with red flicks. */
.collage-title::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -10% -6% -8% -20%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 56% at 42% 50%, rgba(12, 10, 10, 0.95) 0%, rgba(12, 10, 10, 0.85) 48%, rgba(12, 10, 10, 0) 74%),
    radial-gradient(ellipse 18px 13px at 3% 40%, var(--red) 0 90%, transparent 100%),
    radial-gradient(ellipse 26px 19px at 2% 78%, var(--red) 0 92%, transparent 100%);
}
.big-title {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}
.big-title span { display: block; white-space: nowrap; filter: url(#distress); }
.big-title-top {
  font-size: clamp(4rem, 8vw, 9rem);
  color: #fff;
  -webkit-text-stroke: 3px #111;
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 #111, 9px 9px 0 rgba(0, 0, 0, 0.45);
}
.big-title-bottom {
  margin: -0.04em 0 0 0.04em;
  font-family: 'Anton', var(--display);
  font-size: clamp(3.6rem, 7.6vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--red);
  -webkit-text-stroke: 3px #fff;
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 #111, 9px 9px 0 rgba(0, 0, 0, 0.45);
}
/* The tagline on a stroke of yellow paint. */
.brush-tag { display: inline-block; margin: -0.3rem 0 0 0.2rem; transform: rotate(-5deg); }
.brush-tag span {
  display: inline-block;
  padding: 0.5em 1.1em 0.55em;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--hand);
  font-size: clamp(1rem, 1.75vw, 1.9rem);
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: var(--brush-2);
}
.collage .btn-row { margin-top: 1.1rem; }

/* TornPhoto: a photograph on a scrap of white paper. The paper and the photo
   use different tears so the white edge is uneven, like a real rip. */
.snap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  transform: rotate(var(--tilt, 0deg));
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.snap-paper { position: absolute; inset: -8px; background: #fff; }
.snap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
  background: var(--paper-2);
}
.snap--edge-a .snap-paper { clip-path: var(--tear-b); }
.snap--edge-a > img    { clip-path: var(--tear-a); }
.snap--edge-b .snap-paper { clip-path: var(--tear-c); }
.snap--edge-b > img    { clip-path: var(--tear-b); }
.snap--edge-c .snap-paper { clip-path: var(--tear-a); }
.snap--edge-c > img    { clip-path: var(--tear-c); }
/* A hovered photo rises above the other photos but stays under the title and notes. */
.snap:hover, .snap:focus-visible { transform: rotate(0deg) scale(1.03); z-index: 9; }

/* Where each photograph is pasted (row / column start / row / column end). */
.snap--bus     { grid-area: 1 / 6  / 9  / 18; z-index: 1; }
.snap--crew    { grid-area: 1 / 18 / 5  / 25; z-index: 2; }
.snap--gameday { grid-area: 5 / 17 / 10 / 25; z-index: 3; }
.snap--friends { grid-area: 9 / 1  / 13 / 11; z-index: 2; }
.snap--roast   { grid-area: 8 / 11 / 13 / 18; z-index: 3; }
.snap--people  { grid-area: 10 / 17 / 13 / 25; z-index: 4; }

/* Album prints: the same photographs, mounted as different kinds of print.
   Each print sets --in, the border around the picture. */
.snap--print .snap-paper { inset: 0; clip-path: none; }
.snap--print > img { inset: 0; box-sizing: border-box; padding: var(--in, 10px); background: transparent; clip-path: none; }
.snap--print::before {
  content: '';
  position: absolute;
  inset: var(--in, 10px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 46%);
}
.snap-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--cap, 40px);
  font-family: var(--hand);
  font-size: clamp(0.85rem, 1.25vw, 1.3rem);
  line-height: 1;
  color: #1d2a55;
  transform: rotate(-2deg);
  pointer-events: none;
}

/* Classic instant print: cream frame, deep bottom lip, marker caption. */
.snap--print-polaroid {
  --cap: clamp(34px, 4.2vw, 58px);
  --in: clamp(9px, 1.1vw, 15px) clamp(9px, 1.1vw, 15px) var(--cap);
}
.snap--print-polaroid .snap-paper {
  background: linear-gradient(160deg, #fdfbf5, #f1ece0);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Mini instant film: bright white, narrow frame, small and glossy. */
.snap--print-instant {
  --cap: clamp(24px, 2.8vw, 38px);
  --in: clamp(6px, 0.75vw, 10px) clamp(6px, 0.75vw, 10px) var(--cap);
}
.snap--print-instant .snap-paper { background: #fff; border-radius: 3px; }
.snap--print-instant .snap-cap { font-size: clamp(0.72rem, 1vw, 1.05rem); color: var(--red); }

/* Vintage drugstore print: scalloped deckle edge on warm matte stock. */
.snap--print-deckle { --in: clamp(13px, 1.5vw, 19px); }
.snap--print-deckle .snap-paper {
  padding: 5px;
  background: #efe5cf;
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(farthest-side, #000 96%, transparent) 0 0 / 10px 10px round;
          mask: linear-gradient(#000 0 0) content-box, radial-gradient(farthest-side, #000 96%, transparent) 0 0 / 10px 10px round;
}
.snap--print-deckle::before { background: rgba(120, 80, 20, 0.07); mix-blend-mode: multiply; }

/* Mounted print: thin white border held by black album photo corners. */
.snap--print-corners { --in: clamp(6px, 0.7vw, 9px); }
.snap--print-corners .snap-paper { background: #fbfaf7; }
.snap-corners {
  position: absolute;
  inset: -5px;
  z-index: 3;
  pointer-events: none;
  --k: clamp(26px, 3vw, 40px);
  --c: #161312;
  background:
    linear-gradient(135deg, var(--c) 50%, transparent 51%) top left / var(--k) var(--k) no-repeat,
    linear-gradient(225deg, var(--c) 50%, transparent 51%) top right / var(--k) var(--k) no-repeat,
    linear-gradient(45deg,  var(--c) 50%, transparent 51%) bottom left / var(--k) var(--k) no-repeat,
    linear-gradient(315deg, var(--c) 50%, transparent 51%) bottom right / var(--k) var(--k) no-repeat;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18));
}

/* Glossy lab print taped in with two strips of washi tape. */
.snap--print-tape { --in: clamp(8px, 1vw, 12px); }
.collage .snap--crew.snap--print-tape { margin-top: 20px; height: calc(100% - 20px); }
.snap--print-tape .snap-paper { background: #fff; }
.snap-tape::before, .snap-tape::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: clamp(80px, 30%, 150px);
  height: clamp(22px, 2.4vw, 32px);
  top: clamp(-14px, -1.2vw, -10px);
  opacity: 0.88;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.snap-tape::before {
  left: -4%;
  transform: rotate(-11deg);
  background: repeating-linear-gradient(45deg, #ffcf20 0 8px, #ffe476 8px 16px);
  clip-path: polygon(2% 0, 98% 6%, 100% 50%, 97% 100%, 1% 94%, 3% 50%);
}
.snap-tape::after {
  right: -4%;
  transform: rotate(9deg);
  background: repeating-linear-gradient(-45deg, #cc0028 0 7px, #f4efe6 7px 14px);
  clip-path: polygon(0 5%, 99% 0, 97% 50%, 100% 96%, 2% 100%, 0 50%);
}

/* Desktop follows the mockup: every collage photo is a torn scrap of white
   paper. The album-print frames, captions, tape and corners are phone-only. */
@media (min-width: 961px) {
  .collage .snap--print .snap-paper { inset: -8px; padding: 0; background: #fff; border-radius: 0; box-shadow: none; -webkit-mask: none; mask: none; }
  .collage .snap--print > img { padding: 0; }
  .collage .snap--print.snap--edge-a .snap-paper { clip-path: var(--tear-b); }
  .collage .snap--print.snap--edge-a > img       { clip-path: var(--tear-a); }
  .collage .snap--print.snap--edge-b .snap-paper { clip-path: var(--tear-c); }
  .collage .snap--print.snap--edge-b > img       { clip-path: var(--tear-b); }
  .collage .snap--print.snap--edge-c .snap-paper { clip-path: var(--tear-a); }
  .collage .snap--print.snap--edge-c > img       { clip-path: var(--tear-c); }
  .collage .snap--print::before, .collage .snap-cap, .collage .snap-tape, .collage .snap-corners { display: none; }
  .collage .snap--crew.snap--print-tape { margin-top: 0; height: 100%; }
}

/* Scrawl: marker pen on a scrap of paper, with an optional red arrow. */
.scrawl {
  position: relative;
  z-index: 11;
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(0.9rem, 1.45vw, 1.6rem);
  line-height: 1.08;
  color: #141211;
  text-transform: uppercase;
  transform: rotate(var(--tilt, -3deg));
  pointer-events: none;
}
.scrawl-paper {
  display: inline-block;
  max-width: 11em;
  padding: 0.45em 0.7em 0.5em;
  background: #fff;
  clip-path: var(--tear-c);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.1em;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5));
}
.scrawl .arrow {
  position: absolute;
  width: 84px;
  height: 55px;
  fill: none;
  stroke: var(--red);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}
/* The SVG points south-east as drawn; flip it for the other directions. */
.scrawl--arrow-se .arrow { right: -66px; bottom: -46px; }
.scrawl--arrow-ne .arrow { right: -70px; top: -44px; transform: scaleY(-1) rotate(8deg); }
.scrawl--arrow-nw .arrow { left: -76px; top: -40px; transform: scale(-1, -1) rotate(-8deg); }
.scrawl--arrow-sw .arrow { left: -70px; bottom: -46px; transform: scaleX(-1); }
.scrawl--arrow-w .arrow  { left: -88px; top: 46%; transform: translateY(-50%) rotate(154deg); }

.scrawl--crew     { grid-area: 3 / 15 / 5 / 19;  align-self: center; justify-self: center; }
.scrawl--national { grid-area: 6 / 21 / 10 / 25; align-self: end; justify-self: end; margin: 0 0.4rem 0.6rem 0; }
.scrawl--roast    { grid-area: 9 / 10 / 11 / 15; align-self: center; justify-self: start; margin-left: 0.6rem; }
.scrawl--gameday  { grid-area: 11 / 8 / 13 / 12; align-self: end; justify-self: start; margin-bottom: 0.4rem; }
.scrawl--people   { grid-area: 11 / 21 / 13 / 25; align-self: end; justify-self: end; margin: 0 0.4rem 0.6rem 0; }

/* A strip of checkered flag, purely decorative. */
.checker {
  display: block;
  height: 14px;
  background: repeating-conic-gradient(#f3efe6 0 25%, #151313 0 50%) 0 0 / 14px 14px;
}
.checker--hero {
  grid-area: 4 / 15 / 9 / 19;
  z-index: 0;
  align-self: center;
  justify-self: center;
  width: 150%;
  height: 16px;
  transform: rotate(-56deg);
  opacity: 0.9;
}

/* --- Doors: the eight cards under the collage, on white paper ----------- */
.doors {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(0.4rem, 0.7vw, 0.7rem);
  padding: clamp(0.8rem, 1.4vw, 1.2rem) clamp(0.6rem, 1vw, 1rem) clamp(0.9rem, 1.4vw, 1.3rem);
  background:
    radial-gradient(ellipse 10% 70% at 0% 50%, rgba(203, 0, 40, 0.55), transparent 70%),
    radial-gradient(ellipse 30% 40% at 50% 120%, rgba(0, 0, 0, 0.08), transparent 70%),
    #f4f1ea;
  color: var(--ink);
}
.door {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.door-head {
  display: block;
  position: relative;
  z-index: 1;
  padding: 0.45em 0.3em 0.5em;
  background: var(--red);
  color: var(--white);
  clip-path: var(--brush);
  font-family: var(--hand);
  font-size: clamp(0.85rem, 1.35vw, 1.5rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.15s ease;
}
.door-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;           /* a flex item would otherwise grow to the photo */
  margin: -4px 2px 0;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}
.door-photo img {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
}
.door-go {
  position: absolute;
  right: 8px; bottom: 8px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding-bottom: 3px;
  background: var(--gold);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-family: var(--condensed);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}
.door-lines {
  display: block;
  padding: 0.55rem 0.1rem 0;
  font-family: var(--condensed);
  font-size: clamp(0.68rem, 0.82vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}
.door-lines span { display: block; }
/* Desktop: wide, short door photos so collage, doors and follow strip share the first screen. */
@media (min-width: 1101px) {
  .door-photo { aspect-ratio: 16 / 10; }
  .door-lines { padding-top: 0.45rem; font-size: clamp(0.62rem, 0.7vw, 0.78rem); letter-spacing: 0.02em; }
}
.door:hover .door-go, .door:focus-visible .door-go { transform: scale(1.12); }
.door:hover .door-head { background: #e4002f; }
.door:hover img { filter: saturate(1.08) brightness(1.05); }

/* --- Follow strip: FOLLOW @UTAHPIGBUS · photo reel · GO UTES! ----------- */
.follow {
  display: flex;
  align-items: center;
  gap: 0.6rem 1.2rem;
  padding: 0.55rem var(--pad);
  background:
    radial-gradient(ellipse 30% 120% at 0% 50%, rgba(203, 0, 40, 0.85), transparent 70%),
    #0d0b0b;
  border-top: 3px solid var(--red);
  color: var(--white);
}
.follow-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.follow-link:hover { color: var(--gold); }
.follow-link svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.follow-photos { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; height: 58px; overflow: hidden; }
.follow-photos img { flex: none; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid #fff; transform: rotate(-1.5deg); }
.follow-photos img:nth-child(even) { transform: rotate(1.5deg); }
.follow .checker { flex: 0 1 90px; height: 12px; transform: skewX(-24deg); opacity: 0.85; }
.follow-go { flex: none; transform: rotate(-3deg); }
.follow-go span {
  display: inline-block;
  padding: 0.25em 0.8em 0.3em;
  background: var(--gold);
  color: var(--ink);
  clip-path: var(--brush-2);
  font-family: var(--hand);
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
}

/* --- PageHeader: photo + red slab, used on every interior page ---------- */
.page-header { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--red); color: var(--white); }
.page-header > img { width: 100%; height: clamp(280px, 30vw, 440px); object-fit: cover; }
.page-header-copy { padding: clamp(1.5rem, 3.4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.page-header .overline { color: var(--gold); }

/* --- Marquee strip ------------------------------------------------------- */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.1rem;
  padding: 0.7rem var(--pad);
  background: var(--black);
  color: var(--white);
  font-family: var(--condensed);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.strip b { color: var(--gold); }

/* --- Dark slab ----------------------------------------------------------- */
.slab { background: var(--black); color: var(--paper); }
.slab--red { background: var(--red); color: var(--white); }
.slab--paper { background: var(--paper-2); color: var(--ink); }

/* --- Generic grids ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3.5vw, 3rem); align-items: center; }
.split--wide { grid-template-columns: 1.35fr 1fr; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.photo-row--2 { grid-template-columns: repeat(2, 1fr); }

/* --- Feature cards ------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-photo);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card img { width: 100%; height: 150px; object-fit: cover; }
.feature-card .body { padding: 0.85rem 0.95rem 1.1rem; }
.feature-card h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.feature-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.feature-card:hover, .feature-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-card:hover h3 { color: var(--red-deep); }

/* ---------- 6. PAGE-SPECIFIC BLOCKS -------------------------------------- */

/* --- Next game / countdown ---------------------------------------------- */
.nextgame { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; }
.nextgame .label {
  font-family: var(--condensed);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.nextgame h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  text-transform: uppercase;
  margin: 0.2rem 0 0.3rem;
}
.nextgame .menu-line { font-family: var(--hand); font-size: clamp(1.1rem, 2.6vw, 1.5rem); color: var(--gold); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 1.1rem; max-width: 420px; }
.countdown div { padding: 0.55rem 0.3rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); text-align: center; }
.countdown b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.4vw, 2.1rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span { font-family: var(--condensed); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }

/* --- Schedule list ------------------------------------------------------- */
.schedule { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.game {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.3rem 1.2rem;
  padding: 1rem 0.2rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.game--next { background: linear-gradient(90deg, rgba(255, 207, 32, 0.3), transparent 70%); }
.game .when {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--red-deep);
}
.game .when small { display: block; font-family: var(--condensed); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.game .who { font-family: var(--condensed); font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 600; text-transform: uppercase; }
.game .tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.05rem 0.45rem;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--condensed);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}
.game .tag--next { background: var(--red); color: var(--white); }
.game .detail { grid-column: 2; font-size: 0.92rem; color: var(--muted); }
.game .detail .menu { color: var(--red-deep); font-weight: 600; }
.game .score {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 1.05rem;
  white-space: nowrap;
  padding: 0.15rem 0.55rem;
  border: 2px solid var(--ink);
}
.game .score--w { background: var(--red); color: var(--white); border-color: var(--red); }
.game--away { opacity: 0.86; }

/* --- Hours strip --------------------------------------------------------- */
.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hours b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1;
  color: var(--red-deep);
}
.on-dark .hours b, .slab .hours b { color: var(--gold); }
.hours span { display: block; margin-top: 0.3rem; font-size: 0.92rem; color: var(--muted); }
.on-dark .hours span { color: #cdc4bc; }

/* --- Build steps --------------------------------------------------------- */
.build { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); }
.build-step { position: relative; background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow-photo); }
.build-step img { width: 100%; height: 260px; object-fit: cover; }
.build-step .body { padding: 1rem 1.15rem 1.25rem; }
.build-step .num {
  position: absolute;
  top: -14px; left: -10px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
  box-shadow: var(--shadow-photo);
  transform: rotate(-6deg);
}
.build-step .label {
  font-family: var(--condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.build-step h3 { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; margin: 0.25rem 0 0.4rem; }
.build-step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* --- EraTimeline --------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0.6rem; bottom: 2rem;
  left: 118px;
  width: 4px;
  background: repeating-linear-gradient(180deg, var(--red) 0 12px, transparent 12px 20px);
}
.era { display: grid; grid-template-columns: 118px 1fr; gap: 0 2.2rem; padding-bottom: clamp(1.8rem, 4vw, 3rem); }
.era .year {
  font-family: var(--display);
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
  color: var(--red-deep);
  padding-top: 0.3rem;
  padding-right: 0.5rem;
}
.era-body { position: relative; }
.era-body::before {
  content: '';
  position: absolute;
  left: -2.2rem; top: 0.45rem;
  width: 17px; height: 17px;
  margin-left: -6.5px;
  background: var(--paper);
  border: 4px solid var(--red);
  border-radius: 50%;
}
.era h3 { font-family: var(--display); font-size: clamp(1.25rem, 3vw, 1.75rem); text-transform: uppercase; margin-bottom: 0.5rem; }
.era-grid { display: grid; grid-template-columns: 1fr 260px; gap: 1.6rem; align-items: start; }
.era .pull {
  margin-top: 0.8rem;
  padding: 0.6rem 0.9rem;
  border-left: 5px solid var(--gold);
  background: var(--paper-2);
  font-family: var(--type);
  font-size: 0.95rem;
}

/* --- Gallery ------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.filter {
  min-height: 42px;
  padding: 0.4rem 0.95rem;
  background: var(--white);
  border: 2px solid var(--ink);
  font-family: var(--condensed);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter[aria-pressed='true'] { background: var(--ink); color: var(--gold); }
.gallery-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 2vw, 1.5rem); }
.gallery-wall > li { list-style: none; content-visibility: auto; contain-intrinsic-size: auto 320px; }
#gallery-sentinel { height: 1px; }
.gallery-count { margin-top: 1.4rem; }

/* --- Media cards --------------------------------------------------------- */
.media-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.media-item { background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow-photo); }
.media-item img { width: 100%; height: 230px; object-fit: cover; object-position: var(--focal, 50% 30%); }
.media-item .body { padding: 1rem 1.2rem 1.3rem; }
.media-item .kind {
  font-family: var(--condensed);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.media-item h3 { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; margin: 0.25rem 0 0.5rem; }
.media-item p { font-size: 0.95rem; color: var(--muted); }
.media-item a { font-family: var(--condensed); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red-deep); }

/* --- Status note: used wherever a service is not wired up yet ------------ */
.status {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--paper-2);
  border-left: 6px solid var(--gold);
}
.status .dot {
  flex: none;
  width: 11px; height: 11px;
  margin-top: 0.45rem;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.status.is-live { border-left-color: var(--red); }
.status.is-live .dot { background: var(--red); }
.status p { font-size: 0.92rem; margin: 0; }
.status strong { font-family: var(--condensed); letter-spacing: 0.05em; text-transform: uppercase; }

/* --- Enquiry form ------------------------------------------------------- */
.inquiry .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.inquiry .field { margin: 0; min-width: 0; }
.inquiry .field--wide { grid-column: 1 / -1; }
.inquiry label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--condensed);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.inquiry input, .inquiry textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  background: #fffef9;
  border: 2px solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.inquiry textarea { resize: vertical; }
.inquiry input:focus-visible, .inquiry textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.inquiry button[disabled] { opacity: 0.6; cursor: progress; }
.inquiry .hp, .order-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin-top: 0.8rem; font-weight: 600; }
.form-status[data-kind='ok'] { color: #1d6b2f; }
.form-status[data-kind='error'] { color: var(--red-deep); }
@media (max-width: 680px) { .inquiry .fields { grid-template-columns: 1fr; } }

/* --- Definition list used for "how to reach us" blocks ------------------- */
.contact-list { margin: 0; }
.contact-list dt {
  font-family: var(--condensed);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-top: 0.9rem;
}
.contact-list dd { margin: 0.1rem 0 0; }

/* --- Checklist bullets --------------------------------------------------- */
.bullets { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.bullets li { position: relative; padding-left: 1.6rem; }
.bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--red);
}
.on-dark .bullets li::before { color: var(--gold); }

/* ---------- 7. LIGHTBOX --------------------------------------------------- */
.lightbox {
  width: min(96vw, 1100px);
  max-height: 94dvh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 5, 5, 0.93); }
.lightbox-inner { background: var(--black); border: 10px solid var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.lightbox img, .lightbox video { display: block; width: 100%; max-height: 72dvh; object-fit: contain; background: #0b0808; }
.lightbox-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: var(--white); color: var(--ink); }
.lightbox-cap { max-width: 62ch; }
.lightbox-cap b { font-family: var(--hand); font-size: 1.1rem; font-weight: 400; }
.lightbox-cap span { display: block; font-size: 0.8rem; color: var(--muted); }
.lightbox-nav { display: flex; gap: 0.4rem; }
.lightbox-nav button {
  min-width: 46px; min-height: 44px;
  padding: 0.4rem 0.8rem;
  background: var(--white);
  border: 2px solid var(--ink);
  font-family: var(--condensed);
  font-weight: 600;
  text-transform: uppercase;
}
.lightbox-nav button:hover { background: var(--ink); color: var(--gold); }

/* ---------- 8. FOOTER ----------------------------------------------------- */
.footer { background: var(--black); color: #cdc4bc; padding: clamp(2.2rem, 5vw, 3.5rem) 0 2.5rem; }
.footer .motto {
  font-family: var(--hand);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  color: var(--gold);
  transform: rotate(-1deg);
  margin-bottom: 0.8rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-bottom: 1.8rem; }
.footer h2 {
  font-family: var(--condensed);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.92rem; }
.footer a { color: #efe6dd; }
.footer-legal { padding-top: 1.3rem; border-top: 1px solid #2f2a27; font-size: 0.8rem; line-height: 1.55; }

/* ---------- 9. RESPONSIVE ------------------------------------------------- */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wall { grid-template-columns: repeat(3, 1fr); }
  .era-grid { grid-template-columns: 1fr; }
  .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem 0.8rem; }
  .door-head { font-size: 1.05rem; }
  .door-lines { font-size: 0.78rem; }
}

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }

  /* Sidebar becomes a slide-down drawer behind a top bar. */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem var(--pad);
    background: var(--black);
    border-bottom: 5px solid var(--red);
    color: var(--white);
  }
  .topbar .mark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; }
  .topbar .mark img { width: 56px; }
  .topbar .mark span { font-family: var(--condensed); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.4rem 0.9rem;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--condensed);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .sidebar {
    position: fixed;
    inset: 61px 0 auto 0;
    height: auto;
    max-height: calc(100dvh - 61px);
    padding: 0.6rem 0 1.2rem;
    border-right: 0;
    border-bottom: 6px solid var(--red);
    transform: translateY(-115%);
    transition: transform 0.26s ease;
  }
  .sidebar[data-open='true'] { transform: translateY(0); }
  .sidebar::after { display: none; }
  .brand { width: 150px; margin-top: 0; }
  .home-emblem { display: none; }
  .sidebar-socials { margin-left: 0.9rem; }
  .nav a { font-size: 1.12rem; padding-block: 0.7rem; }
  .topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 40px;
    margin-left: auto;
    padding: 0.3rem 0.7rem;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--condensed);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }

  /* The collage reflows: title first, then photos two-up with the marker
     notes as rows between them. Arrows and the flag strip go away. */
  .collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    height: auto;
    gap: 1.3rem 1rem;
    padding: 1.4rem var(--pad) 2rem;
  }
  .collage-title { grid-area: auto; grid-column: 1 / -1; order: -2; padding: 0.4rem 0 0.4rem; align-self: auto; }
  .collage-title::before { inset: -14% -30% -14% -30%; }
  .big-title-top { font-size: clamp(3.6rem, 26vw, 11rem); }
  .big-title-bottom { font-size: clamp(2.6rem, 15.5vw, 6.6rem); }
  .brush-tag span { white-space: normal; }
  .collage { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.7rem 0.4rem; }
  .snap, .scrawl { grid-area: auto; }
  .snap { height: auto; grid-column: span 6; aspect-ratio: 4 / 3; }
  /* Album page on phones: mixed print sizes, tilted and overlapping a little. */
  .snap--crew     { grid-column: 1 / -1; width: 94%; justify-self: center; aspect-ratio: 16 / 11.5; order: -1; --tilt: -1.6deg; }
  .collage .snap--crew.snap--print-tape { height: auto; margin-top: 6px; }
  .scrawl--gameday { order: 0; }
  .snap--friends  { grid-column: 1 / -1; width: 96%; justify-self: start; aspect-ratio: 2.3; order: 1; --tilt: -2deg; z-index: 2; }
  .snap--roast    { grid-column: 1 / -1; width: 90%; justify-self: end; aspect-ratio: 1.15; order: 2; margin-top: -0.6rem; --tilt: 2.4deg; z-index: 1; }
  .scrawl--roast   { order: 3; }
  .snap--gameday  { grid-column: 1 / -1; width: 96%; justify-self: end; aspect-ratio: 16 / 10.5; order: 4; --tilt: 1.2deg; }
  .scrawl--national { order: 6; }
  /* Shown whole at their real shapes: the old crew above Porky and the cheerleaders. */
  .snap--people   { grid-column: 1 / -1; width: 94%; justify-self: center; aspect-ratio: 4 / 3; order: 7; --tilt: 1.4deg; }
  .snap--bus      { grid-column: 1 / -1; width: 94%; justify-self: center; aspect-ratio: 1.12; order: 8; --tilt: -2.2deg; }
  .snap--people > img, .snap--bus > img { object-fit: contain; }
  .scrawl--people  { order: 9; }
  /* The Media TV, moved into the collage on phones, right after the GameDay photo. */
  .collage > .tv-section.in-collage { grid-column: 1 / -1; order: 5; padding: 0.6rem 0 0.4rem; background: none; color: #fff; }
  .in-collage .wrap { padding: 0; }
  .in-collage .overline { color: var(--gold); }
  .in-collage .lede { color: #d7cec6; }
  .in-collage .tv figcaption { color: #efe7df; }
  .scrawl--crew    { display: none; }
  .scrawl { grid-column: 1 / -1; align-self: auto; justify-self: start; margin: -0.5rem 0 -0.3rem 0.4rem; font-size: 1.05rem; }
  .scrawl .arrow, .checker--hero { display: none; }

  .page-header { grid-template-columns: 1fr; }
  .page-header > img { min-height: 210px; max-height: 300px; }
  .split, .split--wide, .nextgame { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: repeat(2, 1fr); }
  .build { grid-template-columns: 1fr; }
  .media-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-note { display: none; }
}

@media (max-width: 680px) {
  .gallery-wall { grid-template-columns: repeat(2, 1fr); }
  .photo-row, .photo-row--2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hours { grid-template-columns: 1fr; gap: 0.7rem; }
  .hours b { display: inline; font-size: 1.5rem; margin-right: 0.5rem; }
  .hours span { display: inline; }
  .countdown { grid-template-columns: repeat(4, 1fr); }
  .timeline::before { left: 10px; }
  .era { grid-template-columns: 1fr; gap: 0; padding-left: 2.6rem; }
  .era .year { text-align: left; font-size: 1.5rem; margin-bottom: 0.3rem; }
  .era-body::before { left: -2.6rem; margin-left: 2px; }
  .game { grid-template-columns: 4.6rem 1fr; }
  .game .score { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 0.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .polaroid { --tilt: 0deg; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door-head { font-size: 1rem; }
  .follow { flex-wrap: wrap; justify-content: center; text-align: center; }
  .follow-photos { order: 3; flex-basis: 100%; height: 50px; }
  .follow .checker { display: none; }
}

@media (max-width: 420px) {
  .topbar .mark span { display: none; }
}

/* ---------- 10. MOTION + PRINT ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .polaroid { transform: none; }
}

@media print {
  .sidebar, .topbar, .lightbox, .btn-row { display: none !important; }
  body::before { display: none; }
  .layout { grid-template-columns: 1fr; box-shadow: none; }
  .hero { min-height: 0; }
  .polaroid { transform: none; box-shadow: none; }
}


/* ---------- 11. PHOTO HOVER EFFECTS (V2) -----------------------------------
   Mouse only. effects.js feeds --px/--py (cursor position) and --rx/--ry
   (tilt). Lift ≤10px, zoom ≤8%, transitions under 0.55s, glow in gold or
   crimson. Touch screens and reduced-motion visitors get none of it.
   ------------------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .snap, .door, .polaroid, .build-step, .media-item {
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), filter 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
  }
  .snap > img, .door-photo img, .polaroid > img, .build-step img, .media-item img {
    transition: transform 0.45s ease, filter 0.35s ease;
  }

  /* Cursor spotlight: a soft gold light that sits where the pointer is. */
  .snap::after, .door-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(255, 220, 90, 0.42), rgba(255, 207, 32, 0.12) 28%, transparent 55%);
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
  }
  .snap--edge-a::after { clip-path: var(--tear-a); }
  .snap--edge-b::after { clip-path: var(--tear-b); }
  .snap--edge-c::after { clip-path: var(--tear-c); }
  .snap:hover::after, .snap:focus-visible::after,
  .door:hover .door-photo::after, .door:focus-visible .door-photo::after { opacity: 1; }

  /* Collage photographs: lift, tilt toward the cursor, gold glow on the torn edge. */
  .snap:hover, .snap:focus-visible {
    transform: perspective(900px) translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02);
    filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 16px rgba(255, 207, 32, 0.8)) drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55));
  }
  .snap:hover > img, .snap:focus-visible > img { transform: scale(1.06); filter: brightness(1.1) saturate(1.12); }
  .snap.snap--print:hover > img, .snap.snap--print:focus-visible > img { transform: none; }
  .snap--print::after { inset: var(--in, 10px); }

  /* Door cards: bigger lift, crimson glow. */
  .door:hover, .door:focus-visible { transform: perspective(900px) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.03); }
  .door:hover .door-photo, .door:focus-visible .door-photo { box-shadow: 0 0 0 3px #fff, 0 0 22px 7px rgba(230, 0, 53, 0.7), 3px 10px 18px rgba(0, 0, 0, 0.5); }
  .door-photo { overflow: hidden; transition: box-shadow 0.35s ease; }
  .door:hover .door-photo img, .door:focus-visible .door-photo img { transform: scale(1.08); filter: saturate(1.2) brightness(1.08); }

  /* Polaroids and paper cards on the inside pages. */
  button.polaroid:hover, button.polaroid:focus-visible {
    transform: translateY(-9px) rotate(1deg) scale(1.03);
    box-shadow: 0 0 0 3px #fff, 0 0 22px 4px rgba(219, 0, 45, 0.6), 0 14px 25px rgba(0, 0, 0, 0.4);
  }
  button.polaroid:hover > img { filter: contrast(1.06) saturate(1.15); }
  .build-step:hover, .media-item:hover {
    transform: translateY(-8px) rotate(0.4deg);
    box-shadow: 0 0 0 3px #fff, 0 0 24px 5px rgba(237, 201, 62, 0.45), 0 12px 19px rgba(0, 0, 0, 0.35);
  }

  /* Follow-strip thumbnails pop when you run the mouse along them. */
  .follow-photos img { transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .follow-photos img:hover { transform: translateY(-6px) scale(1.1) rotate(1deg); box-shadow: 0 0 16px 4px rgba(255, 236, 100, 0.8); position: relative; z-index: 2; }
}


/* --- Intro card: the crew's own words, right after the home collage ----- */
.intro-card-wrap { background: var(--paper); }
.intro-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.5vw, 3rem);
  align-items: start;
  padding: clamp(1.3rem, 3.4vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-photo);
  clip-path: polygon(0 1.2%, 6% 0, 18% 1%, 31% 0, 45% 1.1%, 58% 0.2%, 72% 1%, 86% 0, 100% 0.9%, 100% 99%, 91% 100%, 77% 99.2%, 63% 100%, 49% 99%, 35% 100%, 21% 99.3%, 8% 100%, 0 99%);
}
.intro-copy .section-title { margin-bottom: 1rem; }
.intro-copy p:not(.overline) { max-width: 62ch; font-size: 1.05rem; line-height: 1.65; color: #2a2421; }
.intro-photo { margin: 0.6rem 0 0; display: grid; gap: 1.1rem; }
.intro-note {
  font-family: var(--type);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  background: var(--paper-2);
  border-left: 5px solid var(--red);
}
@media (max-width: 960px) { .intro-card { grid-template-columns: 1fr; } .intro-photo { max-width: 420px; } }

/* --- Building Porky: the frame-by-frame wall is denser than the Yearbook -- */
.build-wall .gallery-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem; }
.build-wall .polaroid figcaption { font-size: 0.85rem; padding-block: 0.35rem 0.5rem; }
@media (max-width: 1100px) { .build-wall .gallery-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .build-wall .gallery-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; } .build-wall .polaroid { --h: 90px !important; } }

/* --- Building Porky: step photos open the lightbox; step 08 is the finale -- */
.build-step-photo { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.build-step--finale { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.build-step--finale .build-step-photo, .build-step--finale .build-step-photo img { height: 100%; min-height: 360px; }
.build-step--finale .build-step-photo img { object-fit: cover; }
.build-step--finale h3 { font-size: 1.5rem; }
.finale-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.finale-grid button { display: block; width: 100%; padding: 0; border: 3px solid #fff; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); cursor: zoom-in; transition: transform .2s ease; }
.finale-grid button:hover, .finale-grid button:focus-visible { transform: translateY(-3px) rotate(-1deg); }
.build-step .finale-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 960px) { .build-step--finale { grid-template-columns: 1fr; } .build-step--finale .build-step-photo, .build-step--finale .build-step-photo img { min-height: 0; height: 260px; } .finale-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* --- Media TV: a red 1970s set on the home page, playing the clip ------- */
.tv-section { background: var(--paper); }
.tv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
.tv-copy { min-width: 0; }
.tv { margin: 0; width: 100%; max-width: 680px; justify-self: center; }
.tv-cabinet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17%;
  gap: 3.5%;
  padding: 4.5% 4%;
  border-radius: 22px / 26px;
  background: linear-gradient(180deg, #e8403a 0%, #cf2522 45%, #ab1b19 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.35),
    inset 0 -7px 0 rgba(0, 0, 0, 0.2),
    0 20px 34px rgba(40, 10, 10, 0.28);
}
.tv-cabinet::before {
  content: '';
  position: absolute;
  inset: 2.4% 1.8%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px / 20px;
  pointer-events: none;
}
.tv-bezel {
  min-width: 0;
  padding: 3.6%;
  border-radius: 28px / 32px;
  background: linear-gradient(145deg, #fafafa 0%, #a7a7a7 40%, #ececec 66%, #818181 100%);
  box-shadow: inset 0 0 0 2px #5c5c5c, inset 0 0 0 5px rgba(255, 255, 255, 0.5), 0 2px 3px rgba(0, 0, 0, 0.3);
}
.tv-screen {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14% / 18%;
  background: #111;
  box-shadow: inset 0 0 0 3px #2a2a2a;
}
.tv-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }
/* Curved glass: a soft glare and faint scanlines over the picture. Clicks pass through. */
.tv-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 45% at 28% 18%, rgba(255, 255, 255, 0.22), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.65);
}
.tv-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9%;
  padding: 14% 10%;
  border-radius: 6px;
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 7px),
    linear-gradient(90deg, #7b4e2b, #a8703f 50%, #7a4c29);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}
.tv-knob {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #3a3a3a 0 28%, transparent 29%),
    repeating-conic-gradient(#d9d9d9 0 4deg, #9a9a9a 4deg 12deg),
    #bbb;
  box-shadow: 0 0 0 3px #2b2b2b, 0 0 0 5px #c9c9c9, 0 3px 4px rgba(0, 0, 0, 0.45);
}
.tv-knob:nth-child(2) { transform: rotate(40deg); }
.tv-grille {
  flex: 1;
  width: 86%;
  min-height: 30px;
  margin-top: 6%;
  border-radius: 3px;
  background: repeating-linear-gradient(180deg, #d4d4d4 0 2px, #4b4b4b 2px 4px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
/* Plinth and splayed wooden legs. */
.tv-base {
  position: relative;
  height: clamp(26px, 5vw, 44px);
  margin: 0 3%;
  border-top: clamp(7px, 1.2vw, 11px) solid #b11d1b;
  border-radius: 0 0 6px 6px;
}
.tv-base span {
  position: absolute;
  top: 0;
  width: clamp(9px, 1.8vw, 14px);
  height: 100%;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #4a2f1b, #8a5a34 55%, #4a2f1b);
}
.tv-base span:first-child { left: 13%; transform: skewX(10deg); }
.tv-base span:last-child  { right: 13%; transform: skewX(-10deg); }
.tv figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--condensed);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 860px) {
  .tv-layout { grid-template-columns: 1fr; }
}

/* The intro card follows the TV directly: no doubled gap between them. */
.tv-section + .intro-card-wrap { padding-top: clamp(0.5rem, 2vw, 1.5rem); }


/* --- The Pig Crew page -------------------------------------------------- */
.crew-hand { margin-top: 1.2rem; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--red-deep); transform: rotate(-2deg); transform-origin: left; }
.crew-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.crew-pair > :last-child { margin-top: 2.4rem; }
.crew-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 1.4rem 0 0;
  border-top: 3px solid var(--ink);
}
.crew-stats div { min-width: 0; }
.crew-stats dt { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.crew-stats dd { margin: 0.4rem 0 0; font-family: var(--condensed); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.crew-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); margin-top: 1.8rem; }
@media (max-width: 860px) {
  .crew-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; }
  .crew-cards { grid-template-columns: 1fr; }
}


/* --- Our Story: four-up traditions row and the people cluster ---------- */
.photo-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.story-cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.story-cluster > :first-child { grid-column: 1 / -1; }
.story-cluster > :last-child { margin-top: 1.6rem; }
@media (max-width: 860px) { .photo-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Video tiles in the yearbook: poster frame with a round play badge. */
.polaroid .play-badge {
  position: absolute;
  left: 50%;
  top: calc(var(--h, 230px) / 2 + 10px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-left: 4px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: rgba(204, 0, 40, 0.88);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* A supporter's logo on a door card: shown whole on white, not cropped. */
.door--logo .door-photo { background: #fff; }
.door--logo .door-photo img { object-fit: contain; padding: 8% 22% 20% 8%; background: #fff; }

/* ==========================================================================
   12. LEGAL, SAFETY & GUEST INFORMATION
   Footer groups, the Legal hub, policy pages, safety notices, printable signs.
   ========================================================================== */

/* --- Footer ------------------------------------------------------------- */
.footer-brand { display: grid; gap: 0.25rem; max-width: 72ch; margin-bottom: 1.8rem; }
.footer-tag { margin: 0; font-family: var(--hand); font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--gold); }
.footer-tag--alt { color: #efe6dd; }
.footer-indep {
  margin: 0.7rem 0 0;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.04);
  color: #e6ddd4;
  font-size: 0.86rem;
  line-height: 1.5;
}
.footer-grid--4 { grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); }
.footer-grid--4 > div { min-width: 0; }
.footer-grid--4 ul a { overflow-wrap: anywhere; }
.footer-quick { margin: 1rem 0 0; }
.footer-quick .btn { font-size: 0.78rem; padding: 0.55rem 0.9rem; }
.footer-safety { color: #f4ece4; font-size: 0.86rem; }
.footer-safety strong { font-weight: 600; }
.footer-wink { font-family: var(--hand); font-size: 1rem; color: var(--gold); }
@media (max-width: 1100px) { .footer-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid--4 { grid-template-columns: 1fr; } }

/* --- Legal page header -------------------------------------------------- */
.legal-head {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.8rem, 4vw, 2.6rem);
  background:
    radial-gradient(ellipse 30% 60% at 92% 0%, rgba(203, 0, 40, 0.55), transparent 70%),
    var(--black);
  color: var(--white);
}
.legal-head h1 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}
.legal-head .lede { color: #e2d8cf; max-width: 62ch; }
.legal-headline { margin: 0.2rem 0 0; font-family: var(--hand); font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--gold); }
.legal-dates { margin: 0.9rem 0 0; font-family: var(--condensed); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #bfb5ab; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-family: var(--condensed); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.crumbs li + li::before { content: '›'; margin-right: 0.5rem; color: var(--gold); }
.crumbs a { color: #e6ddd4; }
.crumbs [aria-current] { color: var(--gold); }

/* --- Safety banners and notes ------------------------------------------ */
.safety-banner {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  border: 3px solid var(--ink);
  border-left-width: 10px;
  border-left-color: var(--red);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  max-width: 78ch;
}
.safety-banner p { margin: 0; }
.safety-banner-label { font-family: var(--condensed); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-deep); }
.safety-banner--urgent { border-left-color: var(--gold); background: var(--paper); }
.safety-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--red);
  background: rgba(203, 0, 40, 0.06);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 78ch;
}
.on-dark .safety-note, .card--dark .safety-note { background: rgba(255, 255, 255, 0.07); color: #efe6dd; }
.on-dark .safety-note a, .card--dark .safety-note a { color: var(--gold); }
.safety-note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.8rem;
}
.ticket-safety { margin: 0.6rem 0 0; font-family: var(--condensed); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* --- Legal hub cards ---------------------------------------------------- */
.legal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.legal-card {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.1rem 1.15rem 1rem;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.legal-card-title { font-family: var(--display); font-size: 1.15rem; line-height: 1.05; text-transform: uppercase; }
.legal-card-text { color: var(--muted); font-size: 0.92rem; }
.legal-card-go { align-self: end; margin-top: 0.4rem; font-family: var(--condensed); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); }
.legal-card:hover, .legal-card:focus-visible { box-shadow: 7px 7px 0 var(--red), 0 0 18px 2px rgba(203, 0, 40, 0.25); }
@media (prefers-reduced-motion: no-preference) {
  .legal-card:hover, .legal-card:focus-visible { transform: translateY(-4px); }
}

/* Mini-policies accordion. */
.mini-title { margin: 0 0 0.6rem; font-family: var(--condensed); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-deep); }
.minis { display: grid; gap: 0.5rem; }
.mini { border: 2px solid var(--ink); background: var(--white); }
.mini summary { cursor: pointer; padding: 0.7rem 0.9rem; font-family: var(--condensed); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; list-style-position: inside; }
.mini summary:hover { background: var(--paper-2); }
.mini[open] summary { border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.mini p { margin: 0; padding: 0.8rem 0.9rem 0.9rem; font-size: 0.94rem; line-height: 1.55; }

/* Contact form select. */
.inquiry select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

/* --- Policy pages ------------------------------------------------------- */
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.policy { max-width: 70ch; min-width: 0; }
.policy-intro { margin: 0 0 1.6rem; font-size: 1.12rem; line-height: 1.6; }
.policy-sec { padding: 1.2rem 0; border-top: 2px solid var(--paper-2); }
.policy-sec h2 { margin: 0 0 0.6rem; font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.policy-sec p { margin: 0 0 0.75rem; line-height: 1.65; }
.policy-list { margin: 0 0 0.75rem; padding-left: 1.3rem; display: grid; gap: 0.4rem; line-height: 1.55; }
.policy-list li::marker { color: var(--red); font-weight: 700; }
.policy-see { font-size: 0.9rem; font-weight: 600; }
.policy-see a { color: var(--red-deep); }
.policy-tagline { margin: 1.6rem 0 0; padding: 1rem 1.2rem; background: var(--red); color: var(--white); font-family: var(--hand); font-size: clamp(1.1rem, 2vw, 1.35rem); transform: rotate(-1deg); }
.policy-indep { margin-top: 1.6rem; }
.policy-aside { position: sticky; top: 1.2rem; padding: 1.1rem; border: 3px solid var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.policy-aside ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.92rem; }
.policy-aside a { color: var(--ink); }
.policy-aside a:hover { color: var(--red-deep); }
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-aside { position: static; }
}

/* --- Printable signs ---------------------------------------------------- */
.signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.sign {
  display: flex;
  flex-direction: column;
  aspect-ratio: 8.5 / 11;
  max-width: 100%;
  padding: 1.4rem 1.3rem 1.1rem;
  border: 10px solid var(--red);
  outline: 3px solid var(--ink);
  outline-offset: -16px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}
.sign-brand { margin: 0; font-family: var(--condensed); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-deep); }
.sign-title { margin: auto 0 0.6rem; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 0.95; text-transform: uppercase; }
.sign-sub { margin: 0 0 0.6rem; font-family: var(--display); font-size: 1.05rem; color: var(--red); text-transform: uppercase; }
.sign-body { margin: 0 0 auto; font-size: 1.02rem; line-height: 1.45; font-weight: 600; }
.sign-foot { margin: 0.8rem 0 0; font-family: var(--condensed); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

@media print {
  @page { size: letter portrait; margin: 0.4in; }
  .sidebar, #menu-btn, .footer, .no-print, .skip-link { display: none !important; }
  body, .page, main { background: #fff !important; }
  .signs-wrap { padding: 0 !important; }
  .signs { display: block; }
  .sign {
    width: 100%;
    height: 10.1in;
    aspect-ratio: auto;
    margin: 0;
    break-after: page;
    page-break-after: always;
    border-width: 0.25in;
    outline-width: 4px;
    outline-offset: -0.38in;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .sign-brand { font-size: 16pt; }
  .sign-title { font-size: 64pt; }
  .sign-sub { font-size: 26pt; }
  .sign-body { font-size: 26pt; }
  .sign-foot { font-size: 13pt; }
}

/* Tilted polaroids can poke a few pixels past the edge on narrow phones; clip
   them so the page never scrolls sideways. clip (not hidden) keeps sticky asides working. */
.page { overflow-x: clip; }
/* Headings receive focus programmatically after navigation for screen readers;
   no visible ring is needed on them. */
h1[tabindex="-1"]:focus { outline: none; }
.policy-aside .btn { width: 100%; justify-content: center; font-size: 0.78rem; white-space: nowrap; }

/* --- Phi Delta Theta page ---------------------------------------------- */
.pdt-sub { margin: 2.4rem 0 0; font-family: var(--condensed); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-deep); }
.pdt-composite { margin: 2rem auto 0; max-width: 1100px; padding: 14px 14px 0; background: var(--white); box-shadow: var(--shadow-photo); transform: rotate(-0.6deg); }
.pdt-composite button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdt-composite img { display: block; width: 100%; height: auto; }
.pdt-composite figcaption { padding: 0.7rem 0 0.8rem; font-family: var(--hand); font-size: clamp(1rem, 1.8vw, 1.25rem); text-align: center; }
.pdt-signoff { margin-top: 1.2rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--gold); }

/* --- Intro card as a scrapbook spread ---------------------------------- */
.intro-copy > * + * { margin-top: 1.4rem; }
.intro-copy .intro-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--ink); }
.intro-lead strong { background: linear-gradient(transparent 58%, rgba(255, 207, 32, 0.75) 58%); font-weight: 700; }

.menu-board {
  max-width: 62ch;
  padding: 1.2rem 1.3rem 1.1rem;
  background: radial-gradient(ellipse at 30% 0%, #2c2826, #161312 70%);
  color: #f3ede6;
  border: 8px solid #6b4a2b;
  box-shadow: inset 0 0 0 2px #3b2a1a, 6px 7px 0 rgba(0, 0, 0, 0.18);
  transform: rotate(-0.6deg);
}
.menu-board-head { margin: 0 0 0.7rem; font-family: var(--hand); font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gold); }
.menu-board ul { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.menu-board li {
  padding: 0.38rem 0.75rem 0.32rem;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  font-family: var(--display);
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.menu-board li:nth-child(odd) { transform: rotate(-1.2deg); }
.menu-board li:nth-child(3n) { border-color: var(--gold); color: var(--gold); }
.menu-board li span { display: block; font-family: var(--hand); font-size: 0.78rem; text-transform: none; letter-spacing: 0; color: #e6ddd4; }
.menu-board-foot { margin: 0.9rem 0 0 !important; font-size: 0.95rem !important; color: #d9cfc6 !important; }

.trophy-note {
  position: relative;
  max-width: 62ch;
  padding: 1.1rem 1.2rem 1.1rem 4.2rem;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--red);
}
.trophy-note::before {
  content: '🏆';
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 2rem;
  line-height: 1;
  filter: grayscale(0.2);
}
.intro-copy .trophy-quote { margin: 0; font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.intro-copy .trophy-answer { margin: 0.5rem 0 0; }
.trophy-answer strong { color: var(--red-deep); }

.pinned-note {
  position: relative;
  max-width: 54ch;
  margin-left: clamp(0rem, 3vw, 2rem);
  padding: 1.4rem 1.2rem 1rem;
  background: #fff6b8;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
  transform: rotate(1.1deg);
}
.pinned-note::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff6b7d, var(--red) 55%, #7d0018);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
}
.pinned-head { margin: 0 0 0.4rem !important; font-family: var(--hand); font-size: clamp(1.1rem, 2vw, 1.35rem) !important; color: var(--red-deep) !important; }
.intro-copy .pinned-note p:not(.pinned-head) { margin: 0; color: #2a2421; }
.intro-close .hand { display: block; margin-top: 0.4rem; font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--red-deep); }
@media (prefers-reduced-motion: reduce) { .menu-board, .menu-board li, .pinned-note { transform: none; } }

/* An odd last dish card spans the row instead of leaving a gap. */
@media (min-width: 900px) { .build > :last-child:nth-child(odd) { grid-column: 1 / -1; } .build > :last-child:nth-child(odd) img { height: 300px; } }

/* ==========================================================================
   13. MERCH STORE
   ========================================================================== */
.merch-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin: 1.8rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.merch-steps li { display: flex; gap: 0.7rem; align-items: center; padding: 0.8rem 0.9rem; border: 2px solid var(--ink); background: var(--white); font-size: 0.92rem; line-height: 1.35; }
.merch-steps b { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--display); }

.merch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; margin-top: 2rem; }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.merch-card { display: flex; flex-direction: column; border: 3px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--ink); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.merch-art-wrap { display: grid; place-items: center; aspect-ratio: 1; background:
    radial-gradient(circle at 50% 40%, #fff 0 45%, transparent 70%),
    repeating-linear-gradient(45deg, var(--paper-2) 0 10px, var(--paper) 10px 20px);
  border-bottom: 3px solid var(--ink); }
.merch-art { width: 86%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.18)); }
.merch-body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem 1rem 1.1rem; flex: 1; }
.merch-title { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.merch-title h3 { margin: 0; font-family: var(--display); font-size: 1.1rem; line-height: 1.05; text-transform: uppercase; }
.merch-price { margin: 0; font-family: var(--display); font-size: 1.25rem; color: var(--red); white-space: nowrap; }
.merch-blurb { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; border: 0; }
.swatches legend, .merch-field > span, .merch-fixed { width: 100%; margin-bottom: 0.3rem; font-family: var(--condensed); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.merch-fixed { margin: 0; color: var(--muted); }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch span:first-of-type { display: block; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--sw) 50%, var(--sw2) 50%); border: 2px solid rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 2px #fff; }
.swatch input:checked + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.merch-row { display: flex; gap: 0.7rem; }
.merch-field { display: flex; flex-direction: column; flex: 1; margin: 0; }
.merch-qty { flex: 0 0 5.5rem; }
.merch-field select, .merch-field input { width: 100%; padding: 0.5rem 0.55rem; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: inherit; }
.merch-note { margin: 0; font-size: 0.8rem; color: var(--muted); }
.merch-add { margin-top: auto; width: 100%; justify-content: center; }
.merch-add.is-added { background: #1d6b2f; border-color: #1d6b2f; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .merch-card:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 8px 10px 0 var(--red); }
}

.order-panel { position: sticky; top: 1rem; padding: 1.1rem 1.1rem 1.2rem; border: 3px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--red); }
.order-panel h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.6rem; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; }
.order-count { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 0.4rem; border-radius: 999px; background: var(--red); color: var(--white); font-size: 0.9rem; }
.order-empty { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.92rem; }
.order-lines { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.order-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 0.5rem; align-items: center; padding-bottom: 0.55rem; border-bottom: 1px dashed #d6cec4; font-size: 0.9rem; }
.ol-name { display: flex; flex-direction: column; min-width: 0; }
.ol-name span { color: var(--muted); font-size: 0.8rem; }
.ol-qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); }
.ol-qty button { width: 1.7rem; height: 1.7rem; border: 0; background: var(--paper); font-weight: 700; cursor: pointer; }
.ol-qty output { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.ol-price { font-variant-numeric: tabular-nums; font-weight: 700; }
.ol-remove { width: 1.6rem; height: 1.6rem; border: 0; background: none; font-size: 1.2rem; color: var(--red-deep); cursor: pointer; }
.order-total { display: flex; justify-content: space-between; margin: 0.9rem 0 0.2rem; font-family: var(--condensed); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.order-total b { font-family: var(--display); font-size: 1.3rem; color: var(--red); font-variant-numeric: tabular-nums; }
.order-form { display: grid; gap: 0.2rem; margin-top: 1rem; padding-top: 1rem; border-top: 3px solid var(--ink); }
.order-form .field { margin: 0 0 0.5rem; }
.order-form label { display: block; margin-bottom: 0.25rem; font-family: var(--condensed); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.order-form input, .order-form textarea { width: 100%; padding: 0.55rem 0.6rem; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: inherit; }
.order-submit { width: 100%; justify-content: center; margin-top: 0.3rem; }
.order-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.merch-terms li { margin-bottom: 0.6rem; }
@media (max-width: 1100px) { .merch-layout { grid-template-columns: 1fr; } .order-panel { position: static; } .merch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .merch-steps { grid-template-columns: 1fr; } }

/* The home emblem deliberately overhangs the sidebar on desktop; do not clip it. */
@media (min-width: 961px) { .page:has(> .home-emblem) { overflow-x: visible; } }

/* --- Contact us ---------------------------------------------------------- */
.sidebar-contact { margin: 1rem 0.9rem 0; justify-content: center; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--red); }
.sidebar-contact[aria-current='page'] { background: var(--white); }
.contact-cards { display: grid; gap: 0.7rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.contact-cards li { padding: 0.8rem 1rem; border: 2px solid var(--ink); border-left: 8px solid var(--red); background: var(--white); }
.contact-label { display: block; margin-bottom: 0.2rem; font-family: var(--condensed); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-deep); }
