/* =========================================================
   Leo's Local Media: styles
   Colors and fonts live in the :root block right below.
   ========================================================= */

:root {
  --navy: #1E3A5F;
  --navy-deep: #152B47;
  --navy-ink: #13243B;
  --gold: #D4A017;
  --gold-light: #E8BE4A;
  --gold-dark: #B98A10;      /* hover state for gold buttons */
  --gold-soft: #F8F0DC;
  --gold-text: #A97C0F;      /* gold for small text on white/cream */
  --gold-heading: #D4A017;   /* gold for headings and prices */
  --cream: #FAF6EC;
  --tint: #FAFBFC;           /* very light section background */
  --body-gray: rgba(55, 65, 81, .8);
  --card-paper: #EFE9E1;
  --white: #FFFFFF;
  --ink: #1A2433;
  --muted: #4A5568;
  --line: #E4DCCB;
  --error: #B42318;
  --success: #1E6B3A;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(19, 36, 59, .08);
  --shadow-md: 0 10px 30px rgba(19, 36, 59, .12);
  --shadow-lg: 0 24px 60px rgba(19, 36, 59, .22);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  --nav-h: 68px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide-xs { display: none; }
@media (min-width: 420px) { .hide-xs { display: inline; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--navy-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .75rem;
}
.eyebrow--light { color: var(--gold); }

/* Live-indicator dot: solid gold dot with a soft halo that keeps expanding and fading.
   Use <span class="pulse-dot" aria-hidden="true"></span> anywhere a gold dot is needed. */
.pulse-dot {
  position: relative; display: inline-block; flex: none;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold);
  opacity: 0; pointer-events: none;
  animation: pulse-ring 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes pulse-ring {
  from { transform: scale(1); opacity: .4; }
  to   { transform: scale(2.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none !important; }
}
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons (gold pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: .95em 1.9em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.1;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast);
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { background: var(--gold); color: var(--white); box-shadow: 0 6px 18px rgba(212, 161, 30, .35); }
.btn--gold:hover { background: var(--gold-dark); box-shadow: 0 10px 24px rgba(212, 161, 30, .45); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--sm { min-height: 46px; padding: .6em 1.25em; font-size: .95rem; }
.btn--lg { padding: 1em 2em; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color var(--t-med), box-shadow var(--t-med);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.nav__logo img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); }
.nav__links { display: none; }
.nav__cta { gap: 0; }
.nav__toggle {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: transparent; border: 0; color: var(--white); border-radius: 10px;
}
.nav__toggle .icon { width: 26px; height: 26px; }

.nav.is-solid, .nav.is-open { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); backdrop-filter: saturate(1.4) blur(8px); }
/* over the hero photo: outlined white Reserve button (turns solid gold once you scroll) */
.nav:not(.is-solid):not(.is-open) .nav__cta { background: transparent; border-color: rgba(255, 255, 255, .7); box-shadow: none; }
.nav:not(.is-solid):not(.is-open) .nav__cta:hover { background: rgba(255, 255, 255, .12); }
.nav.is-solid .nav__logo, .nav.is-open .nav__logo,
.nav.is-solid .nav__toggle, .nav.is-open .nav__toggle { color: var(--navy); }

/* mobile dropdown */
.nav.is-open .nav__links {
  display: flex; flex-direction: column;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); padding: 8px var(--gutter) 20px; box-shadow: var(--shadow-md);
}
.nav.is-open .nav__links a {
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--navy); font-weight: 600; font-size: 1.1rem; text-decoration: none;
}

/* phones: keep logo, Reserve button and menu on one line */
@media (max-width: 480px) {
  .nav__inner { gap: 8px; }
  .nav__logo { gap: 8px; }
  .nav__logo span { font-size: .9rem; }
  .nav__logo img { width: 32px; height: 32px; }
  .nav__cta { min-height: 42px; padding: .5em 1em; font-size: .85rem; }
  h2 { font-size: 1.9rem; }
  .lineup__title, .map-title { font-size: 2.2rem; }
}

@media (min-width: 900px) {
  :root { --nav-h: 78px; }
  .nav__toggle { display: none; }
  .nav__logo { margin-right: 0; }
  .nav__links { display: flex; gap: 6px; margin: 0 auto; }
  .nav__links a {
    color: var(--white); text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px;
    transition: background-color var(--t-fast), color var(--t-fast);
  }
  .nav__links a:hover { background: rgba(255, 255, 255, .14); }
  .nav.is-solid .nav__links a { color: var(--navy); }
  .nav.is-solid .nav__links a:hover { background: var(--gold-soft); }
  .nav__links a.is-current { color: var(--gold); }
  .nav.is-solid .nav__links a.is-current { color: var(--gold-text); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  color: var(--white);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 58% 30%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 36, 59, .55) 0%, rgba(19, 36, 59, 0) 22%),
    linear-gradient(0deg, rgba(19, 36, 59, .92) 0%, rgba(19, 36, 59, .65) 40%, rgba(19, 36, 59, 0) 72%);
}
.hero__title {
  font-size: clamp(2.9rem, 1.6rem + 6vw, 5.4rem); font-weight: 800; max-width: 7em; line-height: 1.02;
  color: var(--white); letter-spacing: -.03em; margin-bottom: .3em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero__sub { font-weight: 300; font-size: clamp(1.15rem, 1rem + .8vw, 1.45rem); color: rgba(255, 255, 255, .85); margin-bottom: 2rem; }
/* hero text fades in once content.json has been applied (main.js adds .content-ready) */
.js .hero__content { opacity: 0; transition: opacity 450ms var(--ease-out); }
.js.content-ready .hero__content { opacity: 1; }
.hero__content::before {    /* small gold line above the title */
  content: ""; display: block; width: 3px; height: 48px; margin-bottom: 24px; background: var(--gold); border-radius: 3px;
}

@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(19, 36, 59, .55) 0%, rgba(19, 36, 59, 0) 20%),
      linear-gradient(90deg, rgba(19, 36, 59, .9) 0%, rgba(19, 36, 59, .65) 38%, rgba(19, 36, 59, 0) 68%);
  }
  .hero__bg img { object-position: 70% 35%; }
}
/* wide screens: make the hero the same shape as the photo (16:9), so it isn't cropped or zoomed in */
@media (min-width: 1024px) {
  .hero { min-height: max(100vh, 56.25vw); min-height: max(100svh, 56.25vw); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .9); }
.section--navy h2 { color: var(--white); }
.section--navy .lead { color: rgba(255, 255, 255, .8); }
.section-head { text-align: center; margin: 0 auto 40px; }
.section-head .lead { margin-inline: auto; }
@media (min-width: 900px) { .section { padding: 140px 0; } }

.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.05fr; gap: 72px; } }

/* What We Do: photos get the wider column so the sample ads show their detail */
@media (min-width: 900px) { .split--wwd { grid-template-columns: .85fr 1.4fr; gap: 56px; } }
.wwd-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.wwd-text { font-size: 1.05rem; line-height: 1.7; color: var(--body-gray); max-width: 46ch; margin: 0; }

.checks { display: grid; gap: 12px; margin: 1.5rem 0 2rem; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); stroke-width: 2.6; }
.checks--light li { color: var(--white); }
.checks--light .icon { background: var(--gold); color: var(--white); }

/* photo grid */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 30px rgba(19, 36, 59, .10); }
.photo-grid__main { grid-column: 1 / -1; aspect-ratio: 16 / 8.5; }
/* the two sample ads: each box takes its photo's own shape (wide Double slot or tall Single slot), same height, nothing cropped */
.photo-grid__row { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; }
.photo-grid__row img { flex: var(--ar, 1.5) 1 0; width: 0; min-width: 0; height: auto; aspect-ratio: var(--ar, 1.5); object-fit: contain; background: #fff; }

/* ---------- Stats (slanted navy band) ---------- */
.stats {
  background: var(--navy);
  padding: 84px 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin: -1px 0;
}
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 16px; text-align: center; }
.stat__num {
  font-family: var(--font-body); font-weight: 700; color: var(--gold);
  font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.4rem); line-height: 1; margin: 0 0 .5rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__num--text { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.3; }
.stat__label { margin: 0; color: rgba(212, 160, 23, .75); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@media (min-width: 900px) {
  .stats { padding: 110px 0; clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); align-items: end; }
  .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .15); }
}

/* ---------- Map ---------- */
.map-split { display: grid; gap: 36px; align-items: center; }
.map-title {
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 3.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em;
  margin-bottom: .45em;
}
.map-title span { display: block; color: var(--gold-heading); }
.map-sub { color: #6B7280; font-size: 1.2rem; line-height: 1.65; max-width: 40ch; margin-bottom: 24px; }
.zip-tag {
  display: flex; width: fit-content; align-items: center; gap: 6px; margin: 0 0 28px;
  background: var(--gold-soft); border: 1px solid #EBD9A6; color: var(--gold-text);
  font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px;
}
.zip-tag { gap: 9px; }
.btn--rect { border-radius: 10px; padding: 1em 1.9em; box-shadow: 0 8px 20px rgba(212, 161, 30, .35); }
.btn--rect .icon { width: 1em; height: 1em; }
@media (min-width: 900px) {
  .map-split { grid-template-columns: 1.45fr 1fr; gap: 56px; }
  .map-card { order: -1; }           /* map on the left, text on the right */
}

.map-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream); border: 1.5px solid var(--gold);
  box-shadow: 0 18px 50px rgba(19, 36, 59, .10), 0 2px 8px rgba(19, 36, 59, .05);
}
.map { height: 360px; background: var(--cream); z-index: 0; }
@media (min-width: 900px) { .map { height: 500px; } }
.leaflet-container { font-family: var(--font-body); background: var(--cream); }
.tiles-muted { filter: grayscale(1) opacity(.6); }
.leaflet-control-attribution { background: rgba(250, 246, 236, .8) !important; font-size: 10px; color: var(--muted); }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow-sm) !important; }
.leaflet-bar a { color: var(--navy) !important; width: 32px !important; height: 32px !important; line-height: 32px !important; }

/* the ZIP outline: drawn by main.js as you scroll */
.zip-outline { stroke-linecap: round; stroke-linejoin: round; }

/* labels placed on the map */
.map-label { background: none; border: 0; }
.zip-pill, .map-place { position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none; }
.zip-pill {
  padding: 6px 16px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--gold); box-shadow: 0 6px 16px rgba(19, 36, 59, .15);
  font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--navy);
  transform: translate(-50%, -50%) scale(.5); opacity: 0;
  transition: transform 420ms cubic-bezier(.34, 1.56, .64, 1), opacity 220ms ease-out;
}
.zip-pill.is-shown { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.map-place {
  transform: translate(-50%, -50%);
  font-family: var(--font-head); font-style: italic; font-size: 15px; color: var(--navy); letter-spacing: .04em; opacity: .75;
}

/* ---------- Card preview: "pick your spot" (clean, light) ---------- */
.lineup { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lineup { grid-template-columns: 1fr 1.65fr; gap: 56px; } }

.lineup__text { text-align: center; }
@media (min-width: 960px) { .lineup__text { text-align: left; } }
.lineup__title { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; margin-bottom: .4em; }
.lineup__title span { color: var(--gold-heading); }
.lineup__sub { color: #6B7280; font-size: 1.2rem; margin-bottom: 22px; }

.counters { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 0 0 30px; }
@media (min-width: 960px) { .counters { justify-content: flex-start; } }
.counter { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.counter + .counter { padding-left: 18px; border-left: 1px solid var(--line); }
.counter__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; align-self: center; }
.counter strong { font-family: var(--font-head); font-size: 1.7rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.counter small { font-size: 1rem; color: #6B7280; }
.counter--avail strong { color: var(--gold-heading); }
.counter--sold strong { color: var(--navy); }
.counter--sold .counter__dot { background: #C4C9D1; }

.lineup__help { color: #6B7280; font-size: 1rem; margin-bottom: 14px; }

/* label + Front/Back switch above the card */
.lineup__card-col { min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 700px; margin: 0 auto 14px; }
.live-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6B7280; }
.live-label .pulse-dot { width: 7px; height: 7px; }
.side-toggle { display: flex; gap: 2px; padding: 3px; background: #F1F2F5; border-radius: 999px; flex: none; }
.side-toggle__btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: #6B7280; font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.side-toggle__btn:hover { color: var(--navy); }
.side-toggle__btn.is-active { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(19, 36, 59, .12); }
.side-toggle__count { font-size: .78rem; font-weight: 700; color: var(--gold-heading); font-variant-numeric: tabular-nums; }

.postcard-stage { perspective: 2200px; container-type: inline-size; max-width: 700px; margin: 0 auto; }
.postcard {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
  transition: transform 900ms var(--ease-out);
}
.postcard.is-flipped { transform: rotateY(180deg); }
.postcard__face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #FCFBF8; border: 1px solid #E8E4DA; border-radius: clamp(8px, 1.6cqi, 14px);
  box-shadow: 0 24px 50px rgba(19, 36, 59, .10), 0 2px 6px rgba(19, 36, 59, .04);
  padding: 1.8cqi;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr auto 1fr; gap: 1.4cqi;
}
.postcard__face--back { transform: rotateY(180deg); }

/* spots */
.slot {
  position: relative; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqi;
  border-radius: clamp(5px, 1.1cqi, 10px); text-align: center; text-decoration: none; padding: 1.4cqi;
}
.slot--double { grid-column: span 2; }
.slot__id { display: none; }
.slot--available {
  background: var(--white); border: 1px solid #EAD9A8; color: var(--navy); cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast);
}
.slot--available:hover, .slot--available:focus-visible { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(19, 36, 59, .10); }
.slot--available:active { transform: scale(.98); }
.slot__name { font-size: clamp(9px, 2.4cqi, 17px); color: #6B7280; font-weight: 600; line-height: 1.15; }
.slot__was { font-size: clamp(9px, 2cqi, 14px); color: #A3A9B3; line-height: 1; }
.slot__price {
  font-family: var(--font-head); font-weight: 700; color: var(--gold-heading); line-height: 1;
  font-size: clamp(18px, 5.2cqi, 38px); font-variant-numeric: lining-nums tabular-nums;
}
.slot__status { color: var(--gold-text); font-size: clamp(8px, 1.9cqi, 13px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.slot--sold { background: #F2F3F5; border: 1px solid #E8EAEE; color: #6B7280; }
.slot__sold { font-weight: 700; font-size: clamp(10px, 2.4cqi, 17px); letter-spacing: .14em; text-transform: uppercase; color: #8A919C; }
.slot__biz { font-family: var(--font-head); font-style: italic; font-size: clamp(9px, 2cqi, 15px); color: var(--navy); font-weight: 600; overflow-wrap: anywhere; line-height: 1.2; }

/* middle strip: name between two thin lines */
.band { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4cqi; min-width: 0; }
.band__title {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 1.6cqi; padding: .4cqi 0;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  font-size: clamp(9px, 2.4cqi, 17px); color: var(--navy); white-space: nowrap; overflow: hidden;
}
.band__title::before, .band__title::after { content: ""; flex: 1; height: 1px; background: #D9D4C7; }
.band__postal { display: flex; gap: .8cqi; flex: none; }
.band__postal > div {
  border: 1px solid #E5E1D6; background: var(--white); border-radius: .6cqi; padding: .5cqi .9cqi;
  font-size: clamp(5px, 1cqi, 9px); line-height: 1.2; color: #8A919C;
}
.band__postal > div:last-child { text-align: center; text-transform: uppercase; }

/* small screens: tighten the tiles so everything still fits */
@container (max-width: 480px) {
  .slot { gap: 1cqi; padding: 1cqi; }
  .slot__name { font-size: 9px; }
  .slot__was { font-size: 8.5px; }
  .slot__status { font-size: 7.5px; }
  .band__postal > div:last-child { display: none; }
}
@media (max-width: 599px) {
  .postcard-stage { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .live-label { font-size: .68rem; letter-spacing: .06em; }
  .side-toggle__btn { min-height: 38px; padding: 0 12px; font-size: .9rem; }
}

.error-msg { text-align: center; color: var(--error); font-weight: 600; }

/* ---------- Benefits ---------- */
.benefits-title { font-weight: 400; letter-spacing: -.03em; }
.benefits-title span { color: var(--gold); }
.benefits { display: grid; gap: 40px; max-width: 1040px; margin: clamp(36px, 4vw, 64px) auto 0; }
.benefit { display: flex; gap: 22px; align-items: flex-start; }
.benefit p { margin: 0; color: var(--body-gray); line-height: 1.7; }
.benefit h3 { font-size: 1.3rem; margin: 2px 0 .4em; }
.benefit__icon {
  flex: none; width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: #F6EEDB; color: var(--gold);
}
.benefit__icon .icon { width: 26px; height: 26px; stroke-width: 2; }
@media (min-width: 800px) {
  .benefits { gap: 56px; }
  .benefit { width: 52%; gap: 28px; }
  .benefit:nth-child(even) { margin-left: auto; flex-direction: row-reverse; text-align: right; }
  .benefit__icon { width: 68px; height: 68px; }
}

/* ---------- FAQ ---------- */
.faq-split { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-split { grid-template-columns: 1fr 1.65fr; gap: 64px; align-items: start; } }
.gold-bar { display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 24px; }
.faq-head h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .45em; }
.faq-head p { color: rgba(55, 65, 81, .6); font-size: 1.05rem; margin: 0; }

.faq details { border-bottom: 1px solid #EEF0F2; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; min-height: 56px;
  font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-text); }
.faq__chev {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  color: var(--gold); transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] .faq__chev { transform: rotate(45deg); }
.faq__answer { padding: 0 0 22px; color: var(--body-gray); max-width: 64ch; }
.faq__answer p { margin: 0; }
.faq details[open] .faq__answer { animation: faqIn var(--t-med) var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.section--contact { background: linear-gradient(180deg, #FFFFFF 0%, rgba(212, 160, 23, .05) 100%); }
.split--contact { align-items: start; }
.gold, .contact-title span { color: var(--gold); }
.contact-sub { color: rgba(55, 65, 81, .6); font-size: 1.05rem; margin-bottom: 0; }
.checks--plain li { font-weight: 400; color: rgba(55, 65, 81, .85); }
.checks--plain .icon { width: 20px; height: 20px; padding: 0; background: none; color: var(--gold); stroke-width: 2.4; }

.form {
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 26px 20px;
  border: 1px solid rgba(55, 65, 81, .05); box-shadow: 0 12px 40px rgba(19, 36, 59, .08);
}
@media (min-width: 600px) { .form { padding: 34px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; margin-bottom: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(55, 65, 81, .55);
}
.req { color: inherit; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #FBFBFC; border: 1px solid rgba(55, 65, 81, .09); border-radius: 12px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(55, 65, 81, .45); }
.btn--send {
  border-radius: 12px; min-height: 60px; font-weight: 600; color: var(--white);
  background: linear-gradient(135deg, #D4A017, rgba(212, 160, 23, .87));
  box-shadow: 0 4px 15px -3px rgba(212, 160, 23, .35);
}
.btn--send:hover { background: linear-gradient(135deg, #C49412, #D4A017); }
.btn--send .icon { width: 1.05em; height: 1.05em; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(212, 161, 30, .35); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background: #FFF6F5; }
.field__error { color: var(--error); font-size: .9rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.form__status { margin: 14px 0 0; font-weight: 600; text-align: center; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.form__note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 64px 0 28px; }
.footer__contact .icon { width: 1em; height: 1em; margin-right: 10px; vertical-align: -2px; opacity: .8; }
.footer__contact li { display: flex; align-items: center; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.nav__logo--footer { color: var(--white); font-size: 1.35rem; }
.nav__logo--footer img { width: 48px; height: 48px; }
.footer__tagline { margin: 14px 0 0; font-family: var(--font-head); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.footer__h { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.footer ul { display: grid; gap: 4px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding: 6px 0; overflow-wrap: anywhere; }
.footer a:hover { color: var(--gold); }
.footer li:not(:has(a)) { padding: 6px 0; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: rgba(255, 255, 255, .6); }
.footer__bottom p { margin: 0; }

/* ---------- Scroll fade-in ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .slot--available:hover { transform: none; }
}

/* "Open spots right now" and the Front/Back switch, centered above the card */
.card-head { justify-content: center; }
.lineup__card-col > .live-label { display: flex; justify-content: center; margin: 0 0 12px; }

/* the strip always sits in the middle row, so spots placed in the Card Builder land in the top or bottom row */
.postcard__face .band { grid-row: 2; }

/* a sold spot that has the advertiser's ad: the ad fills the tile */
.slot--ad { padding: 0; background: #fff; border-color: #E5E1D6; }
.slot--ad img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slot--ad { cursor: zoom-in; }
.adbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,23,42,.88); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.adbox img { max-width: min(96vw, 1200px); max-height: 90vh; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.adbox button { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #1B3A5C; font-size: 26px; line-height: 1; cursor: pointer; }

/* wide screens: the card gets its own full-width row under the heading, so the ads are big enough to read */
@media (min-width: 960px) {
  .lineup { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .lineup__text { display: contents; }
  .lineup__title { order: 1; text-align: center; margin-bottom: .3em; }
  .lineup__sub { order: 2; text-align: center; margin-bottom: 18px; }
  .counters { order: 3; justify-content: center; margin-bottom: 34px; }
  .lineup__card-col { order: 4; width: 100%; }
  .lineup__help { order: 5; text-align: center; margin: 40px 0 14px; }
  .lineup > .lineup__text > .btn { order: 6; }
  .card-head { max-width: 1080px; }
  .postcard-stage { max-width: 1080px; }
}
