/* ============================================================
   365 Holiday — shared site styles
   Family: cream ground · serif display type · gold accents
   (the Holiday Marks family, carried across the whole site)
   ============================================================ */

:root {
  --cream: #faf4e6;
  --cream-light: #fffdf7;
  --cream-deep: #f3e8cf;
  --ink: #2e2a26;
  --ink-soft: #5a5348;
  --gold: #b8860b;
  --gold-deep: #96690a;
  --gold-soft: #d9b45b;
  --green: #1f4d3a;
  --green-deep: #173b2d;
  --wine: #8e2f32;
  --navy: #27436b;
  --line: #e3d5b8;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .serif { font-family: var(--serif); }

a { color: var(--green); }
a:hover { color: var(--gold-deep); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.section { padding: 64px 0; }
.section--light { background: var(--cream-light); }
.section--deep { background: var(--cream-deep); }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 10px;
}

.section h2 {
  font-size: 2.1rem;
  font-weight: normal;
  margin: 0 0 12px;
  color: var(--ink);
}

.section .lede { max-width: 46em; color: var(--ink-soft); margin: 0 0 30px; }

.gold-rule {
  border: 0;
  border-top: 3px double var(--gold);
  width: 120px;
  margin: 18px 0 26px;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid var(--green);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold-deep); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }

/* ============================================================
   HEADER (shared — see index.html, block marked BEGIN/END)
   ============================================================ */

.utility-strip {
  background: var(--green-deep);
  color: #f3e8cf;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.utility-strip .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 7px; padding-bottom: 7px;
}
.utility-strip a { color: var(--gold-soft); text-decoration: none; }
.utility-strip a:hover { color: #fff; }

.site-header {
  background: var(--cream-light);
  border-bottom: 3px double var(--gold);
  position: relative;
  z-index: 50;
}
.header-bar {
  display: flex; align-items: center; gap: 26px;
  padding-top: 16px; padding-bottom: 16px;
}
.wordmark { text-decoration: none; line-height: 1; flex: none; }
.wordmark .wm-top {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.wordmark .wm-top em { color: var(--gold-deep); font-style: normal; }
.wordmark .wm-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 5px;
}

.main-nav { flex: 1; }
.main-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; align-items: center; flex-wrap: wrap;
}
.main-nav > ul > li { position: relative; }
.nav-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 3px;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link:focus { color: var(--gold-deep); background: var(--cream); }
.nav-link .caret { font-size: 0.7em; color: var(--gold-deep); margin-left: 4px; }

.mega {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 640px;
  max-width: 92vw;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(46, 42, 38, 0.18);
  padding: 24px 28px;
}
.main-nav li.has-mega:hover .mega,
.main-nav li.has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; }
.mega h4 {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 10px;
}
.mega ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mega ul li { margin: 0 0 6px; }
.mega ul a {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
}
.mega ul a:hover { color: var(--gold-deep); text-decoration: underline; }
.mega ul a .mega-mark {
  height: 24px; width: auto;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 4px;
}

.header-actions { display: flex; gap: 4px; flex: none; }
.header-actions a {
  font-family: var(--sans);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  text-transform: uppercase;
}
.header-actions a:hover { color: var(--gold-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--serif); font-size: 1rem; color: var(--ink);
  padding: 8px 14px; cursor: pointer;
}

/* ============================================================
   HERO — the storefront window
   ============================================================ */

.hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(217, 180, 91, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 8% 100%, rgba(142, 47, 50, 0.14), transparent 60%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 70%, var(--cream-deep) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 84px 0 70px;
}
.hero .season-line {
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: normal;
  line-height: 1.08;
  margin: 0 auto 16px;
  max-width: 14em;
}
.hero h1 em { color: var(--gold-deep); }
.hero .promise {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin: 0 auto 8px;
  max-width: 40em;
}
.hero .subline { color: var(--ink-soft); max-width: 44em; margin: 0 auto 30px; }

.countdown {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin: 0 0 34px;
}
.countdown .cd-box {
  background: var(--cream-light);
  border: 1px solid var(--gold-soft);
  border-top: 3px solid var(--gold);
  min-width: 86px;
  padding: 12px 8px 9px;
}
.countdown .cd-num {
  font-family: var(--serif);
  font-size: 2rem; line-height: 1;
  color: var(--ink);
  display: block;
}
.countdown .cd-lab {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
}
.hero .doors { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   MARKS CAROUSEL — the storefront band
   ============================================================ */

.marks-band {
  background: var(--cream-light);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 34px;
  overflow: hidden;
}
.marks-band .band-head { text-align: center; margin-bottom: 22px; }
.marks-band .band-head h2 { font-size: 1.5rem; font-weight: normal; margin: 0 0 4px; }
.marks-band .band-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

.carousel-wrap { position: relative; }
.carousel {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; }
.carousel:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.carousel-track {
  display: flex; gap: 18px;
  width: max-content;
}
/* Carousel arrows (Owner, 2026-11-22): house colors, mirroring the
   back-to-top button — cream ground, gold border, deep-green glyph. */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-light);
  border: 1.5px solid var(--gold);
  color: var(--green);
  font-family: var(--serif); font-size: 1.6rem; line-height: 1;
  padding: 0 0 3px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 42, 38, 0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.carousel-btn:hover { background: var(--gold); border-color: var(--gold-deep); color: var(--cream-light); }
.carousel-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.carousel-btn--prev { left: 10px; }
.carousel-btn--next { right: 10px; }
@media (max-width: 600px) {
  .carousel-btn { width: 38px; height: 38px; font-size: 1.35rem; }
  .carousel-btn--prev { left: 6px; }
  .carousel-btn--next { right: 6px; }
}
.mark-tile {
  flex: none;
  width: 240px; height: 150px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 14px 12px;
}
.mark-tile:hover { border-color: var(--gold); }
.mark-tile .mt-name {
  font-family: var(--serif);
  font-size: 1.42rem; line-height: 1.15;
  color: var(--ink);
}
.mark-tile .mt-tag {
  font-family: var(--sans);
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 8px;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */

.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  padding: 26px 24px;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.card:hover { border-color: var(--gold); }
.card h3 { font-weight: normal; font-size: 1.35rem; margin: 0 0 6px; }
.card p { color: var(--ink-soft); margin: 0 0 12px; font-size: 0.96rem; }
.card .card-date {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--wine);
}
.card .days-chip {
  display: inline-block;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  background: var(--cream-deep); color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  padding: 3px 10px; border-radius: 20px;
}
.card .go { font-family: var(--serif); color: var(--green); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tile {
  background: var(--cream-light);
  border: 1px solid var(--line);
  padding: 20px 16px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  text-align: center;
}
.tile:hover { border-color: var(--gold); background: var(--cream); }
.tile .t-name { font-family: var(--serif); font-size: 1.14rem; display: block; }
.tile .t-when {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  display: block; margin-top: 6px;
}

/* Schools & Community strip */
.community-strip {
  background: var(--green);
  color: #f7efdb;
}
.community-strip h2 { color: #fff; }
.community-strip .kicker { color: var(--gold-soft); }
.community-strip .lede { color: #e8dfc8; }
.community-strip .btn--ghost { border-color: var(--gold-soft); color: #fff; }
.community-strip .btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.audience-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; }
.audience-row span {
  border: 1px solid rgba(217, 180, 91, 0.55);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.88rem;
  font-family: var(--serif);
}

/* Newsletter */
.newsletter-box {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 34px 30px;
  max-width: 680px;
  margin: 0 auto;
}
.newsletter-box iframe { width: 100%; border: 0; min-height: 340px; background: transparent; }

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: #e8dfc8;
  padding: 56px 0 30px;
}
.site-footer a { color: #e8dfc8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 38px; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 7px; font-size: 0.94rem; }
.footer-brand .wm-top { font-family: var(--serif); font-size: 1.7rem; color: #fff; }
.footer-brand p { font-size: 0.94rem; color: #cfc4a4; max-width: 24em; }
.footer-bottom {
  border-top: 1px solid rgba(217, 180, 91, 0.35);
  padding-top: 20px;
  font-size: 0.84rem;
  color: #bdb08c;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* Responsive */

/* Header collapses before it can wrap or clip (Pack 2 inspector fix) */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; flex-basis: 100%; order: 3; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; display: none; }
  .main-nav li.has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .header-actions { display: none; }
  .header-bar { flex-wrap: wrap; }
  .hero h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); }
}

@media (max-width: 900px) {
  .card-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 46px 0; }
}

/* Mark artwork inside carousel tiles (Pack 2, image route) */
.mark-tile { padding: 0; overflow: hidden; }
.mark-tile img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   PACK 3 — INDEX MASTER + SPREAD TEMPLATE
   Same family, new rooms: the wall of marks, browse
   accordions, A–Z directories, and the magazine spread
   layout every holiday will pour into.
   ============================================================ */

/* "What you'll find" issue cards */
.issue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 20px; }
.issue-grid .card { cursor: default; }
.issue-grid .card h3 { font-size: 1.18rem; }

/* The wall of marks — the master page's navigation.
   A real responsive grid: tiles flow in columns at every width,
   the mark sits contained inside its tile, and the name/state
   captions stack inside the tile under the artwork. */
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; align-items: stretch; }
.wall-tile {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 16px 12px 13px;
  min-height: 168px;
  min-width: 0;
}
.wall-tile:hover { border-color: var(--gold); }
.wall-tile img { display: block; width: 100%; max-width: 100%; height: 104px; object-fit: contain; margin: 0 auto; }
.wall-tile .wt-name { display: block; width: 100%; font-family: var(--serif); font-size: 1.08rem; margin-top: 10px; line-height: 1.2; }
.wall-tile .wt-state {
  display: block; width: 100%;
  font-family: var(--sans);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 5px;
}
.wall-tile--open .wt-state { color: var(--green); }
.wall-tile--name .mt-name { font-family: var(--serif); font-size: 1.38rem; line-height: 1.15; color: var(--ink); }
.wall-tile--name .mt-tag {
  font-family: var(--sans);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 8px;
}

/* Browse tiles that are not links yet (spread coming soon) */
.tile--soon { cursor: default; opacity: 0.82; }
.tile--soon:hover { border-color: var(--line); background: var(--cream-light); }
.tile .t-soon {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--wine);
  display: block; margin-top: 5px;
}

/* Holidays by Month — native accordions in the site style */
.month-list { max-width: 860px; }
.month {
  background: var(--cream-light);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.month summary {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
}
.month summary::-webkit-details-marker { display: none; }
.month summary::after { content: "+"; float: right; color: var(--gold-deep); font-family: var(--sans); font-weight: 700; }
.month[open ] summary::after { content: "–"; }
.month summary:hover { color: var(--gold-deep); }
.month .month-body { padding: 2px 20px 16px; }
.month .month-body ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.month .month-body li { margin-bottom: 4px; }

/* A–Z directories (by group + life events) */
.az-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px; }
.az-group { margin-bottom: 26px; }
.az-group h3 { font-weight: normal; font-size: 1.32rem; margin: 0 0 10px; color: var(--ink); }
.az-group ul { list-style: none; margin: 0; padding: 0; }
.az-group li { padding: 5px 0; border-bottom: 1px dotted var(--line); color: var(--ink-soft); font-size: 0.97rem; }
.az-group li strong { color: var(--ink); font-weight: 600; }
.az-group li a { font-family: var(--serif); }

/* ============================================================
   SPREAD TEMPLATE — one magazine layout, every holiday.
   Sections: Cover · The Story · Symbols & Meanings ·
   How It's Celebrated · The Table · Good to Know ·
   Do It Together · Spotlight · Celebrate With Respect ·
   Downloads & Printables · Shop the Holiday
   ============================================================ */

.crumb {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
}
.crumb a { color: var(--gold-deep); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.spread-cover { text-align: center; }
.spread-cover .seal { width: 300px; max-width: 72vw; height: auto; margin: 0 auto 8px; display: block; }
.spread-cover h1 { margin-top: 4px; }

.fact-strip {
  display: flex; gap: 0; flex-wrap: wrap; justify-content: center;
  max-width: 980px; margin: 30px auto 0;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  text-align: left;
}
.fact { flex: 1 1 200px; padding: 14px 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.fact:first-child { border-left: 0; }
.fact .f-lab {
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
  display: block; margin: 0;
}
.fact .f-val { font-family: var(--serif); font-size: 0.98rem; color: var(--ink); }

.spread-nav {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px; margin: 42px auto 0; max-width: 1020px;
  counter-reset: spread-stop;
}
.spread-nav a {
  display: block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
  border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); border-radius: 6px;
  padding: 12px 16px 11px; background: var(--cream-light);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.spread-nav a::before {
  counter-increment: spread-stop;
  content: counter(spread-stop, decimal-leading-zero);
  display: block;
  font-family: var(--serif); font-size: 1.05rem; font-weight: normal;
  letter-spacing: 0.06em; color: var(--gold-deep);
  margin-bottom: 3px;
}
.spread-nav a:hover {
  border-color: var(--gold); border-top-color: var(--gold-deep);
  background: var(--cream-deep); color: var(--gold-deep);
  transform: translateY(-2px);
}

.spread-section h2 { display: block; }
.spread-section h2 .sec-no {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--wine);
}
.prose { max-width: 46em; }
.prose p { color: var(--ink-soft); margin: 0 0 16px; }
.prose p strong, .prose li strong { color: var(--ink); }

.symbol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.symbol {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  padding: 22px 22px 8px;
}
.symbol h3 { font-weight: normal; font-size: 1.22rem; margin: 0 0 6px; }
.symbol p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 14px; }

.dish-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.dish-group h3 { font-weight: normal; font-size: 1.28rem; margin: 0 0 10px; }
.dish-group ul { list-style: none; margin: 0; padding: 0; }
.dish-group li { padding: 8px 0; border-bottom: 1px dotted var(--line); color: var(--ink-soft); font-size: 0.96rem; }
.dish-group li strong { color: var(--ink); font-family: var(--serif); font-weight: normal; font-size: 1.02rem; }
.dish-group .src { display: block; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--gold-deep); margin-top: 2px; }

.rules-box {
  background: var(--cream-deep);
  border: 1px solid var(--gold-soft);
  padding: 28px 30px 12px;
  max-width: 52em;
}
.rules-box h3 { font-weight: normal; font-size: 1.3rem; margin: 0 0 6px; }
.rules-box p { color: var(--ink-soft); margin: 0 0 12px; }
.rules-box ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); }
.rules-box li { margin-bottom: 7px; }
.rules-box li strong { color: var(--ink); }

.spot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.spot-group h3 { font-weight: normal; font-size: 1.28rem; margin: 0 0 8px; }
.spot-group h4 {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); margin: 16px 0 6px;
}
.spot-group ul { list-style: none; margin: 0; padding: 0; }
.spot-group li { padding: 5px 0; border-bottom: 1px dotted var(--line); color: var(--ink-soft); font-size: 0.96rem; }
.spot-group li em { color: var(--ink); }

.download-list { list-style: none; margin: 0 0 18px; padding: 0; max-width: 46em; }
.download-list li {
  padding: 9px 0 9px 26px; position: relative;
  border-bottom: 1px dotted var(--line); color: var(--ink-soft);
}
.download-list li::before {
  content: "↓"; position: absolute; left: 2px; top: 9px;
  color: var(--gold-deep); font-weight: 700;
}
.download-list li strong { color: var(--ink); font-family: var(--serif); font-weight: normal; }

.shop-door {
  background: var(--green);
  color: #f7efdb;
  padding: 44px 40px;
  text-align: center;
}
.shop-door h2 { color: #fff; }
.shop-door p { color: #e8dfc8; max-width: 42em; margin: 0 auto 24px; }
.shop-door .btn--ghost { border-color: var(--gold-soft); color: #fff; margin-left: 10px; }
.shop-door .btn--ghost:hover { background: var(--gold); border-color: var(--gold); }

@media (max-width: 900px) {
  .az-grid { grid-template-columns: 1fr; }
  .fact { flex-basis: 140px; }
  .shop-door { padding: 34px 22px; }
}

/* ============================================================
   Pack 3 polish (Owner review, 2026-11-22): back-to-top button,
   stronger chapter definition on the spread, and the same
   header language scoped to the Index master. Home is untouched
   by these rules except the back-to-top button.
   ============================================================ */

/* --- Back to top (button injected by site.js on every page) --- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream-light);
  border: 1.5px solid var(--gold);
  color: var(--green);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 42, 38, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s,
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); border-color: var(--gold-deep); color: var(--cream-light); }
.to-top:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

/* --- Spread chapters: more air, a pronounced header treatment --- */
.spread-section { padding: 88px 0; scroll-margin-top: 84px; }
.spread-section h2 { font-size: 2.35rem; }
.spread-section .kicker::before {
  content: ""; display: block;
  width: 44px; height: 3px; background: var(--gold);
  margin-bottom: 14px;
}
.spread-section .gold-rule { width: 180px; margin: 20px 0 30px; }

/* --- Index master: the same language, scoped to this page only --- */
.index-master .section { padding: 80px 0; }
.index-master section[id] { scroll-margin-top: 84px; }
.index-master .section h2 { font-size: 2.25rem; }
.index-master .section .kicker::before {
  content: ""; display: block;
  width: 44px; height: 3px; background: var(--gold);
  margin-bottom: 14px;
}
.index-master .section .gold-rule { width: 180px; }

/* ============================================================
   PACK 4 — SHOP FLOOR (2026-11-23)
   The coded /shop/ landing rides the same system: the hero
   becomes the floor head at a working height, departments
   are the existing tile grids, and the all-products door is
   the spread's green shop-door band.
   ============================================================ */

.hero--floor { padding: 58px 0 48px; }
.hero--floor h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* ============================================================
   PACK 5 — THANKSGIVING SPREAD (2026-11-23)
   The template's optional Lead slot, section source lines,
   and the autumn cover tint for a holiday with no mark —
   type and palette carry its cover.
   ============================================================ */

.hero.spread-cover--autumn {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(217, 180, 91, 0.42), transparent 60%),
    radial-gradient(ellipse 55% 50% at 8% 100%, rgba(142, 47, 50, 0.24), transparent 62%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 70%, var(--cream-deep) 100%);
}
.spread-lead .lede { font-size: 1.14rem; }
.src-line { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--gold-deep); max-width: 46em; margin: 18px 0 0; }

/* ============================================================
   PACK 6 — LOGO HEADER PLACEMENT (2026-11-23)
   The approved v8 master (Christmas refined state) replaces
   the serif text wordmark in the shared header. The lockup's
   tree rises above the cap line and its ground sweep dips
   below the baseline by design, so the 56px box carries the
   wordmark itself at ~23px cap height — the outgoing text
   wordmark's register. The plain refined master is the
   year-round default asset (assets/logo-wordmark-refined.svg).
   ============================================================ */

.wordmark img.site-logo { display: block; height: 56px; width: auto; }
@media (max-width: 600px) {
  .wordmark img.site-logo { height: 44px; }
}

/* ============================================================
   PACK 8 — CALENDAR SHELL (2026-11-23)
   Month grids (drawn by assets/js/calendar.js from the data
   file), holiday door cards, and the honest stub boxes. The
   door cards, the year-at-a-glance, and the season strip are
   static HTML — the calendar walks with scripts off.
   ============================================================ */

.cal-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.cal-nav h3 { font-weight: normal; font-size: 1.5rem; margin: 0; min-width: 215px; }
.cal-btn {
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem;
  background: var(--cream-light); color: var(--green);
  border: 1px solid var(--gold-soft); border-radius: 20px;
  padding: 6px 16px; cursor: pointer;
}
.cal-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: #fff; }
.cal-btn:disabled { opacity: 0.4; cursor: default; }
.cal-observance {
  background: var(--cream-deep); border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold); padding: 10px 16px; margin: 0 0 14px;
  font-size: 0.95rem;
}
.cal-observance a { font-weight: 700; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal-week--head span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep); text-align: center; padding: 2px 0;
}
.cal-day { background: var(--cream-light); border: 1px solid var(--line); min-height: 104px; padding: 6px 7px; }
.cal-day--pad { background: transparent; border-color: transparent; }
.cal-day--today { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day--holiday { background: #fff8e7; }
.cal-num { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); display: block; margin-bottom: 3px; }
.cal-day--today .cal-num { color: var(--gold-deep); }
.cal-hit { display: block; text-decoration: none; margin-bottom: 4px; }
.cal-hit img { display: block; width: 100%; max-width: 74px; height: 26px; object-fit: contain; background: var(--cream); border: 1px solid var(--line); margin-bottom: 2px; }
.cal-hit span { font-size: 0.68rem; line-height: 1.25; font-weight: 700; color: var(--green); display: block; }
.cal-hit:hover span { color: var(--gold-deep); }
.cal-hit--mid span, .cal-hit--end span { color: var(--gold-deep); }
.cal-legend { font-size: 0.85rem; color: var(--ink-soft); margin: 12px 0 0; }

.door-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.door-card { scroll-margin-top: 110px; }
.door-mark { display: block; width: 100%; max-width: 190px; height: 74px; object-fit: contain; background: var(--cream); border: 1px solid var(--line); padding: 6px; margin-bottom: 14px; }
.door-tile {
  font-family: var(--serif); font-size: 1.5rem; color: var(--green);
  background: var(--cream-deep); border: 1px solid var(--line);
  padding: 16px 14px; margin: 0 0 14px; text-align: center;
}
.door-rule { font-size: 0.9rem; font-style: italic; }
.door-when { font-size: 0.92rem; }
.door-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine);
  border: 1px solid var(--wine); border-radius: 20px; padding: 2px 10px;
}
.door-note { font-size: 0.8rem; color: var(--ink-soft); }
.door-links { margin-bottom: 0; }

.stub-box { background: var(--cream-light); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 30px 28px; max-width: 760px; }
.stub-box p { color: var(--ink-soft); }
.stub-box p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .cal-day { min-height: 74px; padding: 4px 5px; }
  .cal-hit img { display: none; }
  .cal-hit span { font-size: 0.6rem; }
  .cal-nav h3 { min-width: 0; font-size: 1.25rem; }
}

/* ============================================================
   PACK 13 — INDEX + CALENDAR POLISH (2026-11-23)
   The Day Detail side panel beside the month grids (the
   prototype's panel, ported to live data), the hover expansion
   that shows everything a day holds, the Wall's non-link
   "soon" tiles now that the Wall IS the browse, and scroll
   room for the back-to-top button's new targets.
   ============================================================ */

/* --- Calendar layout: grid + sticky panel --- */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.cal-main { min-width: 0; }
.cal-panel {
  position: sticky; top: 14px;
  background: var(--cream-light);
  border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 20px 20px 16px;
}
.cal-panel-kicker {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 12px;
}
.cal-panel h3 { font-size: 1.45rem; margin: 0 0 8px; }
.cal-panel-date {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 4px;
}
.cal-panel-span { font-size: 0.92rem; margin: 0 0 10px; }
.cal-panel-badges { margin: 0 0 10px; }
.cal-panel-count {
  display: inline-block;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 700;
  background: var(--cream-deep); color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  padding: 3px 12px; border-radius: 20px; margin: 0 0 12px;
}
.cal-panel-text { color: var(--ink-soft); }
.cal-panel-also { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.cal-panel-also-lab {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 8px;
}
.cal-also-btn {
  display: block; width: 100%; text-align: left;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  background: transparent; color: var(--green);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; margin: 0 0 6px; cursor: pointer;
}
.cal-also-btn:hover { border-color: var(--gold); background: var(--cream); }

/* --- Day cells: selection + the hover expansion --- */
.cal-day { position: relative; }
.cal-day[data-iso] { cursor: pointer; }
.cal-day--selected { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
button.cal-num {
  background: none; border: 0; padding: 0; text-align: left;
  font: inherit; cursor: pointer;
}
.cal-pop {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 30;
  min-width: 220px; max-width: 260px;
  background: #fff;
  border: 1px solid var(--gold-soft); border-top: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(46, 42, 38, 0.22);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.cal-pop--r { left: auto; right: 0; }
@media (hover: hover) and (pointer: fine) {
  .cal-day:hover .cal-pop,
  .cal-day:focus-within .cal-pop { opacity: 1; visibility: visible; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cal-pop { transition: none; }
}
.cal-pop-row {
  display: flex; align-items: center; gap: 9px;
  padding: 6px; border-radius: 4px; cursor: pointer;
}
.cal-pop-row:hover { background: var(--cream); }
.cal-pop-row img {
  display: block; width: 54px; height: 24px; object-fit: contain;
  background: var(--cream); border: 1px solid var(--line);
}
.cal-pop-name { font-size: 0.85rem; font-weight: 700; line-height: 1.25; color: var(--green); display: block; }
.cal-pop-state {
  display: block; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
}

/* --- The panel stacks under the grid on narrow screens --- */
@media (max-width: 900px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-panel { position: static; }
}

/* --- Panel states (Owner amendment, 2026-11-23): docked is
   the default above; hidden gives the calendar the full width;
   expanded puts the panel on stage, calendar below it. --- */
.cal-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cal-panel-head .cal-panel-kicker { margin-bottom: 12px; }
.cal-panel-tools { display: flex; gap: 6px; flex: none; }
.cal-tool {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: var(--gold-deep);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 3px 10px; cursor: pointer;
}
.cal-tool:hover { border-color: var(--gold); background: var(--cream); }
.cal-tool[aria-pressed="true"] { background: var(--cream-deep); border-color: var(--gold); }
.cal-layout.cal-layout--hidden { grid-template-columns: 1fr; }
.cal-layout--hidden .cal-panel { display: none; }
.cal-layout.cal-layout--expanded { grid-template-columns: 1fr; }
.cal-layout--expanded .cal-panel { position: static; order: -1; }
.cal-layout--expanded .cal-panel h3 { font-size: 1.9rem; }
#cal-panel-show[hidden] { display: none; }

/* --- The video socket: styled only; it renders solely when an
   entry's data carries a video (none do yet). Native controls
   carry the fullscreen expand. --- */
.cal-panel-video { margin: 0 0 14px; }
.cal-panel-video video { display: block; width: 100%; height: auto; background: #000; }

/* --- The letters section: styled only; it renders solely when an
   entry's data carries a letters array (Hanukkah today). --- */
.cal-panel-letters { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.cal-panel-letters-lab {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 8px;
}
.cal-panel-letter { margin: 0 0 10px; }
.cal-panel-letter-date {
  display: block;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 2px;
}
.cal-panel-letter-title { display: block; font-family: var(--serif); font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.cal-panel-letter-preview { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 2px; }

/* --- Wall tiles: --soon marks have no Index page (Labor Day,
   Veterans Day — marks only, no Index holiday); --waiting tiles
   link to a holiday's waiting page (Pack 14) — a real page,
   so a real link's behavior. --- */
.wall-tile--soon { cursor: default; opacity: 0.82; }
.wall-tile--soon:hover { border-color: var(--line); }
.wall-tile--waiting { cursor: pointer; }

/* --- Back-to-top targets get landing room under the header --- */
.spread-nav, [data-to-top-anchor] { scroll-margin-top: 84px; }

/* ============================================================
   PHASE F — HOMEPAGE FRAME SYSTEM (2026-12-04)
   The ruled homepage order: Book #1 top shelf · the living
   card shop window (named scene frames) · the aisles · the
   family of days mark band · the standing door row.
   Frames are fixed slots with fixed aspects — Phase D
   contents drop in with zero re-layout. Empty slots wear
   the shop's dressing (deep green, gold, the season's wine),
   so an unstocked window reads as a window being dressed,
   never a hole. Buttons stay house colors throughout.
   ============================================================ */

/* --- 1 · Book #1 top shelf --- */
.top-shelf {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(217, 180, 91, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 8% 100%, rgba(142, 47, 50, 0.14), transparent 60%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 70%, var(--cream-deep) 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 54px;
}
.top-shelf-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}
.cover-seat {
  aspect-ratio: 1 / 1;
  background: linear-gradient(165deg, var(--green) 0%, var(--green-deep) 78%);
  border: 3px double var(--gold);
  box-shadow: 0 14px 34px rgba(46, 42, 38, 0.20);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 26px;
}
.cover-seat-title {
  font-family: var(--serif);
  font-size: 2.05rem; line-height: 1.16;
  color: var(--cream-light);
}
.cover-seat-tag {
  font-family: var(--sans);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 16px;
}
.top-shelf-copy h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: normal;
  line-height: 1.1;
  margin: 0 0 14px;
}
.top-shelf-standing {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.top-shelf .doors { display: flex; gap: 14px; flex-wrap: wrap; }

/* The Play Me exhibit seat — reserved, empty posture.
   The exhibit itself is a later build; tonight the seat stands. */
.exhibit-slot {
  margin-top: 44px;
  background: var(--cream-light);
  border: 1px solid var(--gold-soft);
  border-top: 3px solid var(--gold);
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px;
}
.exhibit-play {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  padding-left: 3px;
}
.exhibit-label { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); }
.exhibit-tag {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--wine);
}

/* The Play Me exhibit — built 2026-12-05: the seat becomes a
   working mini-player. The stage wears the cover seat's dress
   (deep green, double gold) so the exhibit sits in the shelf's
   own language.
   Visitor-controlled rebuild (2026-12-05 late evening): the
   visitor turns the pages — the forward control is the hero
   control after Play Me, the back arrow stays small and quiet.
   Page-clip rebuild (2026-12-06): the player runs on the split
   page clips and shows ONE page at a time, full-frame, in the
   open-book frame: a green-and-gold cover margin around the
   single page. The butted-pair stage and its center fold are
   retired.
   Both-modes build (2026-12-06, the Owner: the clips are
   fine, the spread comes back, "the reader should have both
   modes"): the butted pair RETURNS as the default view and the
   single page stands beside it — one player, two views, the
   visitor switches; both views run on the same page clips
   (the Reader room's lining: spread view is I Turn Pages, not
   Listen). A full-screen control, an in-stage exit chip, and
   a rotate-your-phone hint (spread view, portrait phones
   only — a hint, never a gate) ride along. */
.exhibit-player {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 22px 24px 20px;
}
.exhibit-head { display: flex; align-items: baseline; gap: 18px; }
.exhibit-stage {
  margin-top: 18px;
  position: relative;
  background: linear-gradient(165deg, var(--green) 0%, var(--green-deep) 78%);
  border: 3px double var(--gold);
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(184, 134, 11, 0.22), 0 14px 34px rgba(46, 42, 38, 0.20);
  padding: 14px;
}
/* Full screen: the stage takes the whole screen and the book
   sits centred in it, as wide as the screen honestly allows. */
.exhibit-stage:fullscreen,
.exhibit-stage:-webkit-full-screen {
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  overflow: auto;
  border: 0; border-radius: 0;
}
.exhibit-stage:fullscreen .exhibit-book,
.exhibit-stage:-webkit-full-screen .exhibit-book { width: 100%; max-width: 1150px; }
/* The open book: a cover in the shelf's green and gold, its
   margin showing a few millimetres beyond the page on every
   outer edge, gilt hairline inside the cover's edge. */
.exhibit-book {
  background: linear-gradient(168deg, #275c44 0%, var(--green) 45%, var(--green-deep) 88%);
  border: 1px solid var(--gold-deep);
  border-radius: 5px 11px 11px 5px;
  box-shadow: inset 0 0 0 3px rgba(217, 180, 91, 0.30), inset 0 0 0 4px rgba(23, 59, 45, 0.55), 0 10px 22px rgba(16, 26, 20, 0.35);
  padding: 13px 15px 15px;
}
.exhibit-page {
  margin: 0;
  display: flex;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 12px rgba(16, 26, 20, 0.38);
}
.exhibit-page[hidden] { display: none; }
.exhibit-page img {
  display: block;
  width: 100%;
  max-width: 600px; height: auto;
  background: var(--cream-light);
}
/* The spread view — the butted pair, restored 2026-12-06:
   two pages side by side, no gap, the pair standing in the
   same open-book cover. Both of a spread's clips sound under
   this one picture; the picture turns only at the spread
   boundary. */
.exhibit-spread {
  margin: 0;
  display: flex; gap: 0;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 12px rgba(16, 26, 20, 0.38);
}
.exhibit-spread[hidden] { display: none; }
.exhibit-spread img {
  display: block;
  width: 50%;
  max-width: 430px; height: auto;
  background: var(--cream-light);
}
/* The center fold: a soft valley of shade where the two butted
   pages meet, with the faintest shading at the outer page
   edges — book realism, drawn over the pair; it never moves
   anything and takes no clicks. */
.exhibit-spread::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(46, 42, 38, 0.10) 0%, rgba(46, 42, 38, 0) 3.5%,
    rgba(46, 42, 38, 0) calc(50% - 30px),
    rgba(46, 42, 38, 0.14) calc(50% - 10px),
    rgba(46, 42, 38, 0.38) 50%,
    rgba(46, 42, 38, 0.14) calc(50% + 10px),
    rgba(46, 42, 38, 0) calc(50% + 30px),
    rgba(46, 42, 38, 0) 96.5%, rgba(46, 42, 38, 0.10) 100%);
}
/* The view switch — a small segmented control in the
   exhibit's label manner, standing between the stage and the
   playback controls: Spread | Page. It reframes the picture
   only; it never touches the voice. */
.exhibit-viewbar {
  margin-top: 16px;
  display: flex; justify-content: center;
}
.exhibit-modes {
  display: inline-flex;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  overflow: hidden;
  background: var(--cream-light);
}
.exhibit-mode-btn {
  appearance: none;
  border: 0; background: transparent;
  padding: 9px 22px;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-deep);
  cursor: pointer;
}
.exhibit-mode-btn + .exhibit-mode-btn { border-left: 1px solid var(--gold-soft); }
.exhibit-mode-btn[aria-pressed="true"] { background: var(--green); color: #fff; }
/* The rotate hint — spread view on a portrait phone only:
   the spread is wide and landscape is its home, so the
   exhibit says so, once, quietly. A hint, never a gate: the
   book plays fully in portrait, and the hint vanishes in
   landscape, in page view, and on wide screens. */
.exhibit-rotate-hint {
  display: none;
  margin: 12px 0 0;
  align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.exhibit-rotate-hint svg { width: 18px; height: 18px; flex: none; }
@media (orientation: portrait) and (max-width: 680px) {
  .exhibit-player.pm-mode-spread .exhibit-rotate-hint { display: flex; }
}
/* The full-screen control — a quiet outlined pill in the
   controls row, in the same label manner as the replay and
   the indicator. */
.exhibit-fs {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: none;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-deep);
  cursor: pointer;
}
.exhibit-fs[hidden] { display: none; }
.exhibit-fs svg { width: 15px; height: 15px; flex: none; }
.exhibit-fs .fs-exit-icon { display: none; }
.exhibit-fs.is-active .fs-exit-icon { display: block; }
.exhibit-fs.is-active .fs-enter-icon { display: none; }
/* The in-stage exit chip — the way out while the book fills
   the screen (the controls row is outside the stage, so the
   stage carries its own door). It exists only in full
   screen; the browser's own exit works too. */
.exhibit-fs-exit {
  display: none;
  position: absolute; top: 10px; right: 10px; z-index: 3;
  align-items: center; gap: 7px;
  background: rgba(20, 38, 30, 0.82);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff;
  cursor: pointer;
}
.exhibit-fs-exit svg { width: 14px; height: 14px; flex: none; }
.exhibit-stage:fullscreen .exhibit-fs-exit,
.exhibit-stage:-webkit-full-screen .exhibit-fs-exit { display: inline-flex; }
.exhibit-controls {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
}
.exhibit-toggle {
  display: flex; align-items: center; gap: 14px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
}
.exhibit-player .exhibit-play {
  width: 64px; height: 64px;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(46, 42, 38, 0.22);
}
.exhibit-play-text {
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-deep);
}
.exhibit-arrow {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: var(--cream-light);
  color: var(--green-deep);
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
}
.exhibit-arrow:disabled { opacity: 0.35; cursor: default; }
/* The forward control — the hero control after Play Me: a
   labelled green pill, sized and worded so a visitor's next
   move is never in doubt. The back arrow keeps the small,
   quiet circle above. */
.exhibit-next {
  flex: none;
  display: flex; align-items: center; gap: 10px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(46, 42, 38, 0.20);
}
.exhibit-next-text {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.exhibit-next-arrow { font-size: 1.15rem; line-height: 1; }
.exhibit-next:disabled { opacity: 0.35; cursor: default; box-shadow: none; animation: none; }
/* The invitation at rest: once a clip ends, the forward
   control breathes a soft gold ring until the visitor acts.
   Pure decoration — it moves nothing by itself. */
.exhibit-next.is-inviting { animation: pm-invite 1.7s ease-in-out infinite; }
@keyframes pm-invite {
  0%, 100% { box-shadow: 0 6px 16px rgba(46, 42, 38, 0.20), 0 0 0 0 rgba(217, 180, 91, 0.55); }
  50% { box-shadow: 0 6px 16px rgba(46, 42, 38, 0.20), 0 0 0 9px rgba(217, 180, 91, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .exhibit-next.is-inviting { animation: none; }
}
.exhibit-replay {
  background: none; border: 0; padding: 6px 2px;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--wine);
  cursor: pointer;
}
/* The page indicator — small and quiet, in the controls'
   label manner: where the visitor stands in the teaser. */
.exhibit-page-ind {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft);
}
.exhibit-end {
  margin: 16px 0 0;
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.exhibit-end a { color: var(--green); }

/* --- 2 · The card shop window --- */
.shop-window h2 {
  font-size: 2.1rem; font-weight: normal;
  margin: 0 0 12px; color: var(--ink);
}
.shop-promise {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 46em;
  margin: 0 0 34px;
}
.scene-frame {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 80%);
  border: 3px double var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 22px;
}
.scene-frame-name {
  font-family: var(--serif);
  font-size: 1.45rem; line-height: 1.15;
  color: var(--cream-light);
}
.scene-frame-tag {
  font-family: var(--sans);
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 10px;
}
/* The featured window wears the season: Christmas dresses it
   in wine over the house green and gold. */
.scene-frame--hero {
  aspect-ratio: 16 / 8;
  border-top: 6px solid var(--wine);
  margin-bottom: 18px;
}
.scene-frame--hero .scene-frame-name { font-size: 2.5rem; }
.scene-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scene-rail .scene-frame { aspect-ratio: 4 / 3; }
.shop-window .countdown { margin: 40px 0 10px; }
.shop-window .subline { text-align: center; color: var(--ink-soft); margin: 0; }

/* --- 3 · The aisles --- */
.aisle { margin-bottom: 36px; }
.aisle-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
  border-bottom: 3px double var(--gold);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.aisle-head h3 { font-weight: normal; font-size: 1.5rem; margin: 0; }
.aisle-door {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
}
.post-frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-frame {
  aspect-ratio: 3 / 4;
  background: linear-gradient(170deg, var(--cream-light) 0%, var(--cream-deep) 100%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
}
.post-frame span {
  font-family: var(--sans);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft);
}
.tail-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.tail-slot {
  background: var(--cream-light);
  border: 1px dashed var(--gold-soft);
  padding: 18px 14px;
  text-align: center;
}
.tail-name { font-family: var(--serif); font-size: 1.1rem; display: block; color: var(--ink); }
.tail-tag {
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--wine);
  display: block; margin-top: 6px;
}

/* --- 5 · The door row --- */
.door-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.door-card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  text-align: center;
}
a.door-card:hover { border-color: var(--gold); }
.door-name { font-family: var(--serif); font-size: 1.25rem; display: block; }
.door-line { color: var(--ink-soft); font-size: 0.94rem; display: block; margin-top: 5px; }
.door-tag {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--wine);
  display: block; margin-top: 8px;
}
.door-card--seat { border-style: dashed; }

/* Phase F responsive */
@media (max-width: 900px) {
  .top-shelf-grid { grid-template-columns: 1fr; gap: 30px; }
  .cover-seat { max-width: 300px; margin: 0 auto; width: 100%; }
  .top-shelf-copy { text-align: center; }
  .top-shelf .doors { justify-content: center; }
  .scene-rail { grid-template-columns: repeat(2, 1fr); }
  .post-frames { grid-template-columns: repeat(2, 1fr); }
  .tail-slots { grid-template-columns: repeat(2, 1fr); }
  .door-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .scene-frame--hero { aspect-ratio: 4 / 3; }
  .scene-rail { grid-template-columns: 1fr; }
  .post-frames { grid-template-columns: 1fr; }
  .door-row { grid-template-columns: 1fr; }
  .exhibit-slot { flex-wrap: wrap; }
  .exhibit-tag { margin-left: 0; }
}

/* ============================================================
   GIFT IDEAS STAGE — the two-door reveal (built 2026-12-04).
   The stage is the "one mark, one holiday, TWO DOORS" doctrine
   as theater: pick a holiday, the doors part, the reveal is
   the experience. House dress until a holiday is picked; the
   picked holiday's mark carries its colors in the reveal.
   Doors are plain CSS panels — no machinery. Reduced-motion
   visitors get a fade instead of the parting doors.
   ============================================================ */
.stage { max-width: 880px; margin: 0 auto; }
.stage-controls {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-bottom: 22px;
}
.stage-controls label {
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.8rem; color: var(--gold-deep);
}
.stage-controls select {
  font-family: var(--serif); font-size: 1.05rem; color: var(--ink);
  background: var(--cream-light); border: 1px solid var(--gold);
  border-radius: 6px; padding: 9px 12px; min-width: 230px;
}
.stage-frame {
  position: relative; overflow: hidden; border-radius: 10px;
  border: 3px double var(--gold); background: var(--cream-light);
  box-shadow: 0 10px 30px rgba(23, 59, 45, 0.18);
}
.stage-reveal { padding: 38px 30px 34px; min-height: 340px; }
.stage-panel { text-align: center; }
.stage-panel[hidden] { display: none; }
.stage-mark { width: 132px; height: auto; margin: 0 auto 6px; display: block; }
.stage-panel h3 { font-size: 1.9rem; font-weight: normal; margin: 4px 0 2px; }
.stage-date {
  font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wine); margin: 0 0 14px;
}
.stage-lede { max-width: 42em; margin: 0 auto 22px; color: var(--ink-soft); }
.stage-panel .card { text-align: left; }
.stage-links { list-style: none; margin: 0; padding: 0; }
.stage-links li { margin: 0 0 7px; }
.stage-links a { font-family: var(--serif); }
.stage-door {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--green-deep); color: var(--gold-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; z-index: 3; transition: transform 0.9s ease;
}
.stage-door--left { left: 0; border-right: 2px solid var(--gold); }
.stage-door--right { right: 0; border-left: 2px solid var(--gold); }
.stage-door .door-word { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.6rem); }
.stage-door .door-sub {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream-deep);
}
.stage.is-open .stage-door--left { transform: translateX(-103%); }
.stage.is-open .stage-door--right { transform: translateX(103%); }
.stage.is-open .stage-door { pointer-events: none; }
.stage-note {
  text-align: center; color: var(--ink-soft); font-size: 0.92rem;
  margin: 16px auto 0; max-width: 44em;
}
@media (prefers-reduced-motion: reduce) {
  .stage-door { transition: opacity 0.3s ease, visibility 0.3s ease; }
  .stage.is-open .stage-door {
    transform: none; opacity: 0; visibility: hidden; pointer-events: none;
  }
}
@media (max-width: 640px) {
  .stage-reveal { padding: 28px 18px 26px; }
}

/* ============================================================
   GIFT IDEAS SHOWROOM — the Deal or No Deal door wall
   (built 2026-12-05, Shape A: the free-pick wall). Twenty-two
   doors, one per holiday; a door's open state is DOM state set
   the instant it is tapped — the swing and the glow are CSS
   decoration over that state, never a gate on the reveal.
   Floors added 2026-12-06: the wall is a building and its rows
   are floors — see .door-floor below.
   ============================================================ */
.stage { max-width: 1020px; }
.stage-head { text-align: center; margin-bottom: 24px; }
.stage-title {
  font-family: var(--serif); font-weight: normal;
  font-size: clamp(2rem, 5.4vw, 3.1rem); margin: 0 0 8px; color: var(--green-deep);
}
.stage-title em { color: var(--gold-deep); }
.stage-sub { color: var(--ink-soft); max-width: 40em; margin: 0 auto; }
.door-wall {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 22px;
}
/* Floors (2026-12-06) — the wall is a building and its rows are
   floors: the 22 doors stand in four structural groups (6/6/5/5),
   each group on a slim plinth in the wall's own dress — deep
   green with a gold hairline — numbered like a building, so
   Floor 1 is the ground floor, nearest the stage below. A line
   and a number per floor; nothing else changes. */
.door-floor-doors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.door-floor-line {
  margin-top: 12px; padding: 5px 12px 6px; text-align: right;
  background: var(--green-deep);
  border-top: 2px solid var(--gold); border-bottom: 1px solid var(--gold);
  border-radius: 0 0 6px 6px;
}
.door-floor-num {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft);
}
.door {
  appearance: none; cursor: pointer; text-align: center;
  background: var(--green-deep); color: var(--gold-soft);
  border: 2px solid var(--gold); border-radius: 8px;
  padding: 16px 10px 13px; min-height: 104px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  font: inherit; transform-origin: left center;
  transition: transform 0.55s ease, box-shadow 0.55s ease, background 0.3s ease;
}
.door:hover, .door:focus-visible { background: #1d4a36; }
.door:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.door.is-open {
  transform: perspective(700px) rotateY(-32deg);
  box-shadow: 0 0 26px rgba(227, 168, 43, 0.55), inset 0 0 12px rgba(227, 168, 43, 0.35);
  background: #1d4a36;
}
.door-name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; color: var(--cream-light); }
.door-date {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-soft);
}
.door-badge {
  font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--gold); color: var(--green-deep);
  border-radius: 999px; padding: 3px 9px; margin-top: 3px;
}
.stage-wait { text-align: center; color: var(--ink-soft); margin: 26px auto; }
.stage-wait[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .door { transition: background 0.2s ease, box-shadow 0.2s ease; }
  .door.is-open { transform: none; }
}
@media (max-width: 820px) {
  .door-floor-doors { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .door-floor-doors { grid-template-columns: repeat(2, 1fr); }
  .door { min-height: 96px; padding: 13px 8px 11px; }
}
