/* ==========================================================================
   MIDWAY & MAIN — an independent guide to The Great Frederick Fair
   Design system: 19th-century letterpress broadside / county fair poster
   --------------------------------------------------------------------------
   Sections
     01. Tokens
     02. Reset & base
     03. Typography
     04. Ornaments (rules, stars, rosettes, texture)
     05. Layout primitives
     06. Header, nav, footer
     07. Hero broadside
     08. Components (tickets, bill, cards, tables, callouts)
     09. Page-specific
     10. Utilities
     11. Responsive
   ========================================================================== */

/* 01. TOKENS ------------------------------------------------------------- */
:root {
  /* Paper & ink */
  --paper:        #f3e9d6;
  --paper-warm:   #ece0c7;
  --paper-deep:   #e2d3b4;
  --ink:          #241b13;
  --ink-soft:     #4a3a2c;
  --ink-faint:    #7a6552;

  /* Poster inks */
  --red:          #a32a25;
  --red-deep:     #78191a;
  --navy:         #1c2b45;
  --navy-deep:    #121d30;
  --gold:         #c28a2a;
  --gold-bright:  #e0b34e;
  --moss:         #47613f;

  /* Roles */
  --bg:           var(--paper);
  --fg:           var(--ink);
  --rule:         var(--ink);

  /* Type */
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --wood:    "Rye", "Alfa Slab One", Georgia, serif;
  --serif:   "Crimson Pro", "Iowan Old Style", Georgia, serif;
  --label:   "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;

  /* Metrics */
  --measure: 68ch;
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --pad-block: clamp(3.5rem, 9vw, 7rem);
  --radius: 2px;

  color-scheme: light;
}

/* 02. RESET & BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain — a fixed, very low-opacity fibre layer over the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; }

a { color: var(--red-deep); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--gold-bright); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1.25rem;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* 03. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
}
h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 400;
  text-transform: uppercase;
}
h3 {
  font-family: var(--label);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.25;
}
h4 {
  font-family: var(--label);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--red);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold-bright); }

.script {
  font-family: var(--wood);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

strong, b { font-weight: 700; }

ul, ol { max-width: var(--measure); padding-left: 1.15em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--red); }

blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 4px solid var(--gold);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* 04. ORNAMENTS ----------------------------------------------------------- */

/* Double rule, letterpress style */
.rule {
  border-top: 3px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  height: 4px;
  margin: 0;
}
.rule--thin { border-top-width: 1px; border-bottom: 0; height: 1px; }

/* Ornamental divider with a centred star */
.divider {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  color: var(--ink);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 4px;
  border-top: 3px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: .85;
}
.divider__mark {
  font-size: 1rem;
  letter-spacing: .5em;
  padding-left: .5em;
  color: var(--red);
}
.divider--light { color: var(--paper-deep); }
.divider--light .divider__mark { color: var(--gold-bright); }

/* Award rosette badge */
.rosette {
  display: inline-grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  flex: none;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, var(--red) 0deg 9deg, var(--red-deep) 9deg 18deg);
  color: var(--paper);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--red-deep);
  text-align: center;
}
.rosette span {
  font-family: var(--label);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.2;
  max-width: 4rem;
}
.rosette em {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 1.35rem;
  letter-spacing: 0;
}

/* 05. LAYOUT PRIMITIVES --------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }

.section { padding-block: var(--pad-block); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

.section--ink   { background: var(--navy); color: var(--paper-warm); }
.section--red   { background: var(--red-deep); color: var(--paper-warm); }
.section--warm  { background: var(--paper-warm); }
.section--deep  { background: var(--paper-deep); }

.section--ink h2, .section--red h2 { color: var(--paper); }
.section--ink h3, .section--red h3 { color: var(--gold-bright); }
.section--ink .lede, .section--red .lede { color: color-mix(in srgb, var(--paper-warm) 82%, transparent); }
.section--ink a:not(.btn), .section--red a:not(.btn) { color: var(--gold-bright); }
.section--ink a:not(.btn):hover, .section--red a:not(.btn):hover { color: var(--paper); }

/* Cards, tickets and lots keep a light background even inside a dark section,
   so they must opt out of the dark-section colour overrides above. */
.section--ink .card,    .section--red .card,
.section--ink .ticket,  .section--red .ticket,
.section--ink .lot,     .section--red .lot,
.section--ink .callout, .section--red .callout { color: var(--ink); }
.section--ink .callout p, .section--red .callout p { color: var(--ink-soft); }
.section--ink .callout h4, .section--red .callout h4 { color: var(--red); }
.section--ink .callout a:not(.btn), .section--red .callout a:not(.btn) { color: var(--red-deep); }
.section--ink .card h3,   .section--red .card h3,
.section--ink .ticket h3, .section--red .ticket h3 { color: var(--ink); }
.section--ink .card p,   .section--red .card p,
.section--ink .ticket p, .section--red .ticket p { color: var(--ink-soft); }
.section--ink .card .tag,   .section--red .card .tag,
.section--ink .ticket .tag, .section--red .ticket .tag { color: var(--moss); }
.section--ink .card a:not(.btn),   .section--red .card a:not(.btn),
.section--ink .ticket a:not(.btn), .section--red .ticket a:not(.btn) { color: var(--red-deep); }
.section--ink .ticket__title, .section--red .ticket__title { color: var(--ink-soft); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { text-align: center; }
.section__head--center .lede,
.section__head--center p { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.grid--pair { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }

.stack > * + * { margin-top: 1rem; }

/* 06. HEADER / NAV / FOOTER ---------------------------------------------- */

/* Top strip — the "banner date line" of a poster */
.topstrip {
  background: var(--navy-deep);
  color: var(--paper-warm);
  font-family: var(--label);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  padding: .55rem 0;
}
.topstrip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.topstrip strong { color: var(--gold-bright); font-weight: 500; }
.topstrip__note { opacity: .72; letter-spacing: .1em; text-transform: none; font-family: var(--serif); font-size: .82rem; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 1px 0 var(--ink), 0 6px 18px rgb(36 27 19 / .07);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand__mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand__name {
  font-family: var(--display);
  font-size: 1.28rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand__sub {
  display: block;
  font-family: var(--label);
  font-size: .56rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-faint);
  margin-top: .28rem;
}

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.65rem); }
.nav a {
  font-family: var(--label);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--red); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: .55rem .8rem;
  font-family: var(--label);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
  align-items: center;
  gap: .5rem;
}
.nav-toggle:hover { background: var(--red-deep); }

.site-footer {
  background: var(--navy-deep);
  color: color-mix(in srgb, var(--paper-warm) 80%, transparent);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .95rem;
}
.site-footer h4 { color: var(--gold-bright); margin-bottom: .9rem; }
.site-footer a { color: var(--paper-warm); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.6fr repeat(auto-fit, minmax(150px, 1fr));
}
.footer__brand .brand__name { color: var(--paper); font-size: 1.4rem; }
.footer__brand .brand__sub { color: var(--gold-bright); }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(243 233 214 / .18);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .82rem;
  opacity: .78;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
.footer__legal li { margin: 0; max-width: none; }
.footer__legal a { text-decoration: underline; text-underline-offset: .2em; }

/* Independence notice — repeated, deliberately plain */
.disclaimer {
  background: var(--gold-bright);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  margin: 0;
  max-width: none;
  padding: .85rem 1.25rem;
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
}
.disclaimer a { color: var(--ink); }

/* 07. HERO BROADSIDE ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--paper);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}
.hero::after {
  /* faint concentric "spotlight" behind the poster */
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 140%;
  background: radial-gradient(ellipse at 50% 30%, rgb(224 179 78 / .16), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.broadside {
  border: 3px solid var(--gold-bright);
  outline: 1px solid var(--gold-bright);
  outline-offset: 5px;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .04), transparent 40%);
}

.broadside__kicker {
  font-family: var(--label);
  font-size: clamp(.68rem, 1.4vw, .82rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .34em;
  color: var(--gold-bright);
  margin: 0 0 1.35rem;
}

/* Poster type stack — alternating scale is what makes it read as letterpress */
.poster-stack { margin: 0 0 1.5rem; }
.poster-stack__sm {
  display: block;
  font-family: var(--wood);
  font-size: clamp(1.05rem, 3vw, 1.9rem);
  letter-spacing: .04em;
  color: var(--paper-warm);
  line-height: 1.1;
}
.poster-stack__lg {
  display: block;
  font-family: var(--display);
  font-size: clamp(3rem, 12.5vw, 8.5rem);
  line-height: .82;
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: -.02em;
  margin: .12em 0;
  text-shadow: 3px 3px 0 var(--red-deep), 6px 6px 0 rgb(0 0 0 / .25);
}
.poster-stack__md {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 5.5vw, 3.4rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--gold-bright);
  letter-spacing: .01em;
}

.broadside__dates {
  font-family: var(--label);
  font-size: clamp(.85rem, 2vw, 1.15rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--paper-warm);
  margin: 1.5rem 0 0;
}
.broadside__where {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  letter-spacing: 0;
  text-transform: none;
  color: color-mix(in srgb, var(--paper-warm) 72%, transparent);
  margin-top: .5rem;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(.6rem, 2vw, 1.5rem);
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 1.75rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgb(224 179 78 / .35);
}
.countdown__unit { min-width: 4.25rem; }
.countdown__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  display: block;
  font-family: var(--label);
  font-size: .62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: color-mix(in srgb, var(--paper-warm) 70%, transparent);
  margin-top: .45rem;
}

/* 08. COMPONENTS ---------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--label);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
  cursor: pointer;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--red-deep);
  color: var(--paper);
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--gold { background: var(--gold-bright); color: var(--ink); }
.btn--gold:hover { background: var(--gold); color: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn--ghost, .hero .btn--ghost {
  color: var(--paper);
  border-color: var(--gold-bright);
  box-shadow: 4px 4px 0 var(--gold-bright);
}
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--gold-bright); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* Ticket-stub card — perforated left edge with punched notches */
.ticket {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.6rem 1.6rem 1.6rem 2.6rem;
  box-shadow: 5px 5px 0 rgb(36 27 19 / .16);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ticket::before {
  /* perforation line */
  content: "";
  position: absolute;
  left: 1.5rem;
  top: .6rem;
  bottom: .6rem;
  width: 0;
  border-left: 2px dashed color-mix(in srgb, var(--ink) 35%, transparent);
}
.ticket::after {
  /* punched notches top & bottom */
  content: "";
  position: absolute;
  left: 1.5rem;
  top: -9px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 0 transparent;
}
.section--warm .ticket::after { background: var(--paper-warm); }
.section--deep .ticket::after { background: var(--paper-deep); }
.section--ink .ticket::after  { background: var(--navy); }
.section--red .ticket::after  { background: var(--red-deep); }

.ticket__price {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--red);
  margin: .35rem 0 .1rem;
}
.ticket__price small {
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-faint);
  display: block;
  margin-top: .5rem;
}
.ticket__title {
  font-family: var(--label);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-soft);
  margin: 0;
}
.ticket p { font-size: .98rem; color: var(--ink-soft); margin-top: .8rem; }
.ticket--feature { background: var(--gold-bright); }
.ticket--feature .ticket__price { color: var(--red-deep); }
.ticket--feature p, .ticket--feature .ticket__title { color: var(--ink); }

/* Concert / grandstand bill */
.bill { border-top: 3px solid var(--ink); }
.section--ink .bill, .section--red .bill { border-top-color: var(--gold-bright); }

.bill__row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 1.25rem 1.75rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}
.section--ink .bill__row, .section--red .bill__row {
  border-bottom-color: rgb(224 179 78 / .28);
}
.bill__date {
  font-family: var(--label);
  font-size: .74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--red);
}
.section--ink .bill__date, .section--red .bill__date { color: var(--gold-bright); }
.bill__date b {
  display: block;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  margin-top: .3rem;
}
.section--ink .bill__date b, .section--red .bill__date b { color: var(--paper); }
.bill__act {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 .35rem;
}
.bill__act em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: .45rem;
}
.section--ink .bill__act em, .section--red .bill__act em {
  color: color-mix(in srgb, var(--paper-warm) 72%, transparent);
}
.bill__meta {
  font-family: var(--label);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: right;
  color: var(--ink-soft);
  white-space: nowrap;
}
.section--ink .bill__meta, .section--red .bill__meta { color: var(--gold-bright); }
.bill__meta b { display: block; font-weight: 600; font-size: .95rem; color: inherit; }

/* Bill rows that link through to a schedule day */
a.bill__row {
  text-decoration: none;
  color: inherit;
  padding-inline: 1rem;
  margin-inline: -1rem;
  transition: background-color .16s ease;
}
a.bill__row:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.section--ink a.bill__row:hover,
.section--red a.bill__row:hover { background: rgb(224 179 78 / .1); }
a.bill__row:hover .bill__act { color: var(--red); }
.section--ink a.bill__row:hover .bill__act,
.section--red a.bill__row:hover .bill__act { color: var(--gold-bright); }
a.bill__row:focus-visible { outline-offset: -3px; }

.bill__go {
  display: inline-block;
  margin-left: .2em;
  color: var(--red);
  opacity: 0;
  transform: translateX(-.35em);
  transition: opacity .18s ease, transform .18s ease;
}
.section--ink .bill__go, .section--red .bill__go { color: var(--gold-bright); }
a.bill__row:hover .bill__go,
a.bill__row:focus-visible .bill__go { opacity: 1; transform: none; }

/* Touch devices never hover — show the affordance permanently. */
@media (hover: none) {
  .bill__go { opacity: .6; transform: none; }
}

.tag {
  display: inline-block;
  font-family: var(--label);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  padding: .28rem .6rem;
  border: 1.5px solid currentColor;
  color: var(--moss);
  margin-bottom: .6rem;
}
.tag--red { color: var(--red); }
.tag--navy { color: var(--navy); }
.tag--gold { color: var(--gold); }
.section--ink .tag, .section--red .tag { color: var(--gold-bright); }

/* Plain content card */
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.6rem;
  box-shadow: 5px 5px 0 rgb(36 27 19 / .14);
  height: 100%;
}
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .99rem; color: var(--ink-soft); }
.card__num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: .6rem;
}

/* Numbered "insider tip" list */
.tips { list-style: none; padding: 0; margin: 0; max-width: none; counter-reset: tip; }
.tips li {
  counter-increment: tip;
  position: relative;
  padding: 1.35rem 0 1.35rem 4.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  max-width: none;
  margin: 0;
}
.tips li::before {
  content: counter(tip, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--red);
}
.tips strong { display: block; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; margin-bottom: .3rem; }
.tips p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Same list on a dark ground */
.section--ink .tips li,
.section--red .tips li { border-bottom-color: rgb(224 179 78 / .28); }
.section--ink .tips li::before,
.section--red .tips li::before { color: var(--gold-bright); }
.section--ink .tips strong,
.section--red .tips strong { color: var(--paper); }
.section--ink .tips p,
.section--red .tips p { color: color-mix(in srgb, var(--paper-warm) 82%, transparent); }

/* Data table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem; }
table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .98rem;
}
caption {
  text-align: left;
  font-family: var(--label);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-soft);
  padding-bottom: .8rem;
}
th, td { padding: .85rem 1rem; text-align: left; vertical-align: top; }
thead th {
  font-family: var(--label);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: var(--ink);
  color: var(--paper);
}
tbody tr { border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.section--ink caption, .section--red caption {
  color: color-mix(in srgb, var(--paper-warm) 75%, transparent);
}
td b { font-family: var(--label); letter-spacing: .04em; }

/* Callout */
.callout {
  border: 2px solid var(--ink);
  border-left-width: 10px;
  background: var(--paper);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
}
.callout h4 { margin-bottom: .45rem; color: var(--red); }
.callout p { font-size: 1rem; }
.callout--gold { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold-bright) 22%, var(--paper)); }
.callout--red { border-left-color: var(--red); }

/* Day-tab schedule selector */
.daytabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2.5rem;
  scroll-margin-top: 7rem;
}
/* Brief highlight when a day is opened from a link elsewhere on the site. */
.daytabs[data-flash="true"] .daytab[aria-selected="true"] {
  animation: tabflash 1.1s ease-out 1;
}
@keyframes tabflash {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  25%      { box-shadow: 0 0 0 5px var(--gold-bright); }
}
.daytab {
  font-family: var(--label);
  font-size: .74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .6rem .95rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1.25;
  text-align: center;
}
.daytab b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 400; letter-spacing: 0; }
.daytab:hover { background: var(--gold-bright); }
.daytab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.daytab[aria-selected="true"] b { color: var(--gold-bright); }

.daypanel[hidden] { display: none; }
.dayhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 1.5rem;
}
.dayhead h3 { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }

.timeline { list-style: none; padding: 0; margin: 0; max-width: none; }
.timeline li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: .9rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  max-width: none;
  margin: 0;
}
.timeline time {
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  padding-top: .15rem;
}
.timeline span { color: var(--ink-soft); }
.timeline b { font-family: var(--label); letter-spacing: .03em; color: var(--ink); }

/* Menu / bill of fare */
.fare { max-width: none; }
.fare__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 45%, transparent);
}
.fare__name { font-family: var(--label); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.fare__name em { display: block; font-family: var(--serif); font-style: italic; font-size: .95rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); margin-top: .3rem; }
.fare__where { font-family: var(--label); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); text-align: right; white-space: nowrap; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; text-align: center; }
.stat__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--gold-bright);
}
.stat__label {
  display: block;
  font-family: var(--label);
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-top: .7rem;
  color: color-mix(in srgb, var(--paper-warm) 78%, transparent);
}

/* Page banner (interior pages) */
.pagehead {
  background: var(--navy);
  color: var(--paper);
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 28px, var(--gold-bright) 28px 56px);
}
.pagehead h1 { color: var(--paper); margin-bottom: .35em; }
.pagehead .lede { color: color-mix(in srgb, var(--paper-warm) 85%, transparent); }
.pagehead .eyebrow { color: var(--gold-bright); }

.crumbs {
  font-family: var(--label);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1.25rem;
  color: color-mix(in srgb, var(--paper-warm) 60%, transparent);
}
.crumbs a { color: var(--gold-bright); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Ferris-wheel line art */
.wheel { width: 100%; max-width: 420px; margin-inline: auto; }
.wheel .spin { transform-origin: 100px 92px; animation: turn 44s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* Marquee strip of fair words */
.marquee {
  background: var(--red-deep);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  padding: .8rem 0;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: slide 38s linear infinite;
  font-family: var(--wood);
  font-size: 1.05rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__track span::after { content: "✦"; color: var(--gold-bright); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .wheel .spin { animation: none; }
}

/* FAQ */
.faq { border-top: 3px solid var(--ink); }
.faq details {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--label);
  font-size: 1.02rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--red); }
.faq details > div { padding: 0 0 1.4rem; }
.faq details p { color: var(--ink-soft); }

/* CTA band */
.cta {
  background: var(--gold-bright);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta h2 { color: var(--ink); }
.cta p { margin-inline: auto; color: var(--ink-soft); }


/* Photographed dish entries (food page) ------------------------------------ */
.dish-photo {
  position: relative;
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: 10px 10px 42px;
  box-shadow: 6px 6px 0 rgb(36 27 19 / .16);
  max-width: 340px;
  margin-inline: auto;
}
.dish-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  display: block;
}
.dish-photo figcaption {
  position: absolute;
  left: 10px; right: 10px; bottom: 12px;
  font-family: var(--label);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-faint);
  text-align: center;
}
.dish-photo--sm { max-width: 220px; box-shadow: 4px 4px 0 rgb(36 27 19 / .14); padding-bottom: 36px; }
.dish-photo--sm figcaption { font-size: .6rem; }

/* Flexbox, not grid: with a fixed-track grid, giving an item `order` moves it
   into the OTHER column's track — the photo would inherit the wide 1fr track
   and the text would get squeezed into the narrow 300px one on every flipped
   row. Flex items keep their own sizing no matter what order they paint in,
   so the photo stays ~300px and the text stays flexible either way. */
.dish {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 3px solid var(--ink);
}
.dish:last-of-type { border-bottom: 0; }
.dish__figure { flex: 0 0 300px; }
.dish__body { flex: 1 1 0%; min-width: 0; }
.dish--flip .dish__figure { order: 2; }
.dish__name { font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.35rem); text-transform: uppercase; margin: .1em 0 .5em; letter-spacing: -.01em; }
.dish__what { font-size: 1.08rem; }

.dish__facts { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: none; border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.dish__facts li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: .35rem 1.25rem;
  padding: .8rem 0;
  margin: 0;
  max-width: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.dish__facts b {
  font-family: var(--label);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--red);
  padding-top: .28rem;
}
.dish__facts span { color: var(--ink-soft); font-size: 1rem; }

/* Inline expandable detail */
.more { margin-top: 1.5rem; border-top: 3px solid var(--ink); }
.more summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: .95rem 2.25rem .95rem 0;
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: "+";
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
}
.more[open] summary::after { content: "\2013"; }
.more summary:hover { color: var(--ink); }
.more__body { padding: 0 0 1.4rem; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); padding-top: 1.2rem; }
.more__body p { font-size: 1rem; color: var(--ink-soft); }

/* Category card, text only */
.bite h3 { margin: 0 0 .5rem; }
.bite p { font-size: .99rem; color: var(--ink-soft); }
.bite .more { text-align: left; margin-top: 1.1rem; }

@media (max-width: 760px) {
  .dish { flex-direction: column; }
  .dish__figure { flex-basis: auto; }
  .dish--flip .dish__figure { order: 0; }
  .dish__facts li { grid-template-columns: 1fr; }
  .dish__facts b { padding-top: 0; }
}
/* 09. PAGE-SPECIFIC ------------------------------------------------------- */
.mapbox {
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgb(36 27 19 / .16);
  overflow: hidden;
  background: var(--paper);
}
.mapbox iframe { display: block; width: 100%; height: 380px; border: 0; filter: sepia(.22) saturate(.9); }

.lot-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.lot {
  border: 2px solid var(--ink);
  padding: 1.1rem;
  background: var(--paper);
}
.lot b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--navy); line-height: 1; margin-bottom: .4rem; }
.lot span { font-family: var(--label); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red); }
.lot p { font-size: .92rem; margin: .5rem 0 0; color: var(--ink-soft); }

/* 10. UTILITIES ----------------------------------------------------------- */
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.narrow { max-width: 62ch; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 11. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 900px) {
  .grid--split { grid-template-columns: 1fr; }
  .bill__row { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .bill__meta { grid-column: 2; text-align: left; margin-top: -.25rem; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: 0 12px 24px rgb(36 27 19 / .16);
  }
  .nav[data-open="false"] { display: none; }
  .nav a {
    padding: .85rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
    font-size: .9rem;
  }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .masthead .wrap { position: relative; }
}

@media (max-width: 620px) {
  :root { --gap: 1.25rem; }
  .topstrip .wrap { justify-content: center; text-align: center; }
  .topstrip__note { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: .3rem; }
  .fare__item { grid-template-columns: 1fr; }
  .fare__where { text-align: left; }
  .ticket { padding-left: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .brand { gap: .5rem; }
  .brand__mark { width: 2.1rem; height: 2.1rem; }
  .brand__name { font-size: 1rem; letter-spacing: -.005em; }
  .brand__sub { font-size: .48rem; letter-spacing: .13em; margin-top: .2rem; }
}

@media (max-width: 400px) {
  .masthead .wrap { gap: .75rem; }
  .brand { gap: .4rem; }
  .brand__mark { width: 1.8rem; height: 1.8rem; }
  .brand__name { font-size: .8rem; }
  .brand__sub { display: none; }
  .nav-toggle { padding: .5rem .6rem; font-size: .7rem; gap: .35rem; }
}

@media print {
  body::before, .masthead, .topstrip, .marquee, .cta, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .pagehead, .section--ink, .section--red { background: #fff !important; color: #000 !important; }
  .poster-stack__lg { text-shadow: none; color: #000; }
  a { text-decoration: underline; }
}
