/* ============================================================
   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; }

/* --- 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; }
