/* =====================================================================
   The Vintage Mansion | public site styles
   Used by index.html, vendors.html, gallery.html and 404.html.
   css/style.css is frozen for admin.html; do not merge the two.
   ===================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #16263a;
  --navy-deep: #0f1c2b;
  --teal: #28455a;
  --cream: #f3ead9;
  --paper: #f8f2e7;
  --text-light: #f1e8d6;
  --muted: #c9bda7;
  --muted-ink: #5b5146;
  --ink: #1c2a38;
  --gold: #d9a23b;
  --gold-soft: rgba(217, 162, 59, 0.35);
  --bronze: #8c5a2e;

  --font-display: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.95rem, 1.5rem + 2.1vw, 3.1rem);
  --step-4: clamp(2.45rem, 1.7rem + 3.9vw, 4.9rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 74rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius: 4px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* section-aware colours (flipped on cream surfaces) */
  --fg: var(--text-light);
  --fg-muted: var(--muted);
  --accent: var(--gold);
  --focus: var(--gold);
  --line: rgba(217, 162, 59, 0.28);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  min-height: 100vh;
  background: var(--navy);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

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

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

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Launch flag: vendors + gallery stay out of navigation until
   SHOW_VENDORS_AND_GALLERY is true in js/site-config.js */
html:not(.show-vg) [data-vg] { display: none !important; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }

.surface-cream {
  --fg: var(--ink);
  --fg-muted: var(--muted-ink);
  --accent: var(--bronze);
  --focus: var(--navy);
  --line: rgba(140, 90, 46, 0.3);
  background: var(--cream);
  color: var(--fg);
  color-scheme: light;
}
.surface-deep { background: var(--navy-deep); }
.surface-teal { background: linear-gradient(180deg, var(--navy) 0%, #1b3247 100%); }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h1 em, h2 em, h3 em, .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
p { text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--fg); }
.muted { color: var(--fg-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

/* Thin gold rule with a small diamond in the middle */
.ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  max-width: 14rem;
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.ornament span {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}
.ornament--center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-border: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); --btn-border: var(--gold); }
.btn--gold:hover { --btn-bg: #e7b552; --btn-border: #e7b552; }
.btn--ghost { --btn-fg: var(--text-light); --btn-border: rgba(241, 232, 214, 0.55); }
.btn--ghost:hover { --btn-border: var(--gold); --btn-fg: var(--gold); }
.btn--ink { --btn-bg: var(--navy); --btn-fg: var(--cream); --btn-border: var(--navy); }
.btn--ink:hover { --btn-bg: var(--navy-deep); }
.btn--small { min-height: 2.5rem; padding: 0.55rem 1rem; font-size: 0.74rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: currentColor; }

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

/* ---------- Announcement banner ---------- */
.banner {
  /* Overlays the top of the page (no layout shift when it appears) */
  position: absolute;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 8px 24px -12px rgba(8, 15, 24, 0.6);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}
.banner__inner {
  position: relative;
  z-index: 1;
  padding-block: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}
.banner__mark { width: 0.95rem; height: 0.95rem; flex: none; display: none; }

/* ---------- Header + nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 28, 43, 0.94);
  border-bottom: 1px solid rgba(217, 162, 59, 0.22);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-light);
  min-width: 0;
}
.brand img { width: 2.6rem; height: 2.6rem; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0 0.25rem 0 0.75rem;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__burger { position: relative; width: 22px; height: 14px; }
.nav__burger span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 6px; }
.nav__burger span:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(217, 162, 59, 0.25);
  padding: 1.5rem var(--gutter) 2rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav__menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__list { list-style: none; padding: 0; }
.nav__list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(241, 232, 214, 0.1);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-light);
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--gold); }
.nav__cta { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.nav__meta { margin-top: 1.5rem; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

@media (min-width: 64em) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: none;
  }
  .nav__list { display: flex; gap: 1.75rem; }
  .nav__list a {
    padding: 0.4rem 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    position: relative;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav__list a:hover::after,
  .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__list a:hover { color: var(--text-light); }
  .nav__cta { margin: 0; display: flex; }
  .nav__cta .btn--apply { display: none; }
  .nav__meta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(calc(100svh - var(--header-h)), 54rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__media img { object-position: 50% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-drift 22s var(--ease) both; }
}
@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 28, 43, 0.35) 0%, rgba(15, 28, 43, 0.25) 30%, rgba(15, 28, 43, 0.82) 68%, var(--navy-deep) 100%),
    radial-gradient(120% 70% at 20% 100%, rgba(15, 28, 43, 0.6), transparent 70%);
}
@media (min-width: 48em) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(15, 28, 43, 0.88) 0%, rgba(15, 28, 43, 0.6) 42%, rgba(15, 28, 43, 0.1) 75%),
      linear-gradient(180deg, rgba(15, 28, 43, 0.2) 0%, rgba(15, 28, 43, 0) 40%, rgba(15, 28, 43, 0.7) 85%, var(--navy-deep) 100%);
  }
  .hero h1 { max-width: 17ch; }
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(4.75rem, 12vh, 7rem);
  padding-bottom: 1.5rem;
}
.hero__kicker {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 { max-width: 15ch; color: var(--text-light); }
.hero__content { text-shadow: 0 1px 18px rgba(15, 28, 43, 0.55); }
.hero__content .btn { text-shadow: none; }
.hero h1 em { color: var(--gold); }
.hero__lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(241, 232, 214, 0.9);
}
.hero__actions { margin-top: 1.75rem; }
@media (max-width: 29.99em) {
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 5vw, 2.6rem); }
  .hero__lead { font-size: 1.05rem; margin-top: 1rem; }
  .hero__actions .btn { flex: 1 1 auto; padding-inline: 1rem; }
  .hero__kicker { margin-bottom: 0.8rem; font-size: 0.72rem; }
  .hero-facts { margin-top: 1.75rem; }
}

.hero-facts {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(217, 162, 59, 0.35);
  display: grid;
  gap: 0.85rem;
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
}
.hero-facts li { display: flex; align-items: flex-start; gap: 0.7rem; }
.hero-facts .icon { color: var(--gold); margin-top: 0.2em; }
.hero-facts a { text-decoration: none; }
.hero-facts a:hover { color: var(--gold); }
.hero-facts strong { font-weight: 600; color: var(--text-light); }
@media (min-width: 48em) {
  .hero-facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2.75rem; }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}
.status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--muted);
}
.status.is-open::before { background: #6fcf97; box-shadow: 0 0 0 3px rgba(111, 207, 151, 0.2); }
.status.is-closed::before { background: #e08b6d; }
.surface-cream .status.is-open::before { background: #2f8a57; box-shadow: 0 0 0 3px rgba(47, 138, 87, 0.18); }
.surface-cream .status.is-closed::before { background: #b5532f; }

/* ---------- Story ---------- */
.story__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.story__intro h2 { margin-top: 1rem; }
.story__intro .lead { margin-top: 1.5rem; }
.chapters { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; gap: 1.75rem; }
.chapter {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.chapter__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}
.chapter h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.chapter p { color: var(--fg-muted); }

.story__figure { position: relative; margin: 0; max-width: 30rem; justify-self: center; width: 100%; }
.story__figure::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--bronze);
  border-radius: var(--radius);
  z-index: 0;
}
.story__img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}
.story__seal {
  position: absolute;
  z-index: 2;
  width: 6.5rem;
  height: 6.5rem;
  left: -0.5rem;
  bottom: -1.75rem;
  filter: drop-shadow(0 8px 18px rgba(15, 28, 43, 0.35));
}
.story__figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  padding-left: 6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted-ink);
}
@media (min-width: 56em) {
  .story__seal { left: -1.75rem; }
  .story__grid { grid-template-columns: 1.1fr 0.9fr; }
  .story__figure { justify-self: end; }
}

/* ---------- Finds + mosaic ---------- */
.section-head { max-width: 40rem; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; color: var(--fg-muted); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.finds__head {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
@media (min-width: 56em) {
  .finds__head { grid-template-columns: 1fr auto; }
}

.mosaic {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}
.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal);
  aspect-ratio: 1;
}
.mosaic__item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.mosaic[data-count="3"] .mosaic__item:nth-child(n+2) { aspect-ratio: 4 / 5; }
.mosaic__item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.2s var(--ease);
}
.mosaic__item:hover img { transform: scale(1.04); }
@media (min-width: 48em) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 2 / 1;
    gap: 1rem;
  }
  .mosaic__item,
  .mosaic__item:first-child,
  .mosaic[data-count="3"] .mosaic__item:nth-child(n+2) { aspect-ratio: auto; }
  .mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic[data-count="3"] .mosaic__item:nth-child(n+2) { grid-column: span 2; }
}

.finds-list {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.6rem;
  list-style: none;
  padding: 0;
}
.finds-list li {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-light);
}
.finds-list li em { color: var(--gold); font-weight: 500; }

.pull-quote {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.3;
}
.pull-quote em { font-style: italic; font-weight: 500; color: var(--gold); }

/* ---------- Visit ---------- */
.visit__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: stretch; }
@media (min-width: 56em) {
  .visit__grid { grid-template-columns: 0.95fr 1.05fr; }
}
.visit__card h2 { margin-top: 1rem; }
.visit__list { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0; }
.visit__list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.visit__list li:last-child { border-bottom: 1px solid var(--line); }
.visit__list .icon { width: 1.3rem; height: 1.3rem; color: var(--accent); margin-top: 0.15rem; }
.visit__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.15rem;
}
.visit__value { font-size: 1.08rem; color: var(--fg); }
.visit__value a { text-decoration: none; }
.visit__value a:hover { color: var(--accent); text-decoration: underline; }
.visit__card .btn-row { margin-top: 2rem; }

.map-frame {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6dcc8;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(15, 28, 43, 0.45);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.18) saturate(0.85);
}

/* ---------- Two ways to work with us ---------- */
.ways__grid { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1.25rem; }
@media (min-width: 52em) {
  .ways__grid { grid-template-columns: 1fr 1fr; }
}
.way {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(217, 162, 59, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(40, 69, 90, 0.55), rgba(15, 28, 43, 0.4));
}
.way__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 162, 59, 0.5);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.way__icon .icon { width: 1.4rem; height: 1.4rem; }
.way__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.way h3 { margin-top: 0.5rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.way p { margin-top: 0.9rem; color: var(--muted); }
.way .btn-row { margin-top: auto; padding-top: 1.75rem; align-items: center; }
.way__note { font-size: 0.9rem; color: var(--muted); }
.way__note a { color: var(--text-light); }

/* Vendor application (revealed from the "space in the house" card) */
.apply {
  margin-top: 1.25rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  color-scheme: light;
  --fg: var(--ink);
  --fg-muted: var(--muted-ink);
  --accent: var(--bronze);
  --focus: var(--navy);
}
.apply__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.apply__head h3 { font-size: var(--step-2); }
.apply__head p { margin-top: 0.5rem; color: var(--muted-ink); }
.apply__close {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(28, 42, 56, 0.2);
  color: var(--ink);
}
.apply__close:hover { border-color: var(--ink); }
.form {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48em) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .form .field--full,
  .form .form__status,
  .form .form__actions { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted-ink); }
.field input,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(28, 42, 56, 0.28);
  border-radius: var(--radius);
  background: #fffaf1;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 38, 58, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #a63c1c; }
.field__error { font-size: 0.86rem; color: #a63c1c; min-height: 0; }
.field__error:empty { display: none; }
.form__status:empty { display: none; }
.form__status {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 500;
}
[data-fs-success].form__status { background: #e3efe2; color: #1f5130; border: 1px solid #b7d4b8; }
[data-fs-error].form__status { background: #f7e1d8; color: #7a2a12; border: 1px solid #e4b6a3; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form__fine { font-size: 0.85rem; color: var(--muted-ink); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Page heads (vendors, gallery, 404) ---------- */
.page-head {
  position: relative;
  padding-block: clamp(5.25rem, 9vw, 7rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}
.page-head h1 { font-size: var(--step-4); margin-top: 1rem; }
.page-head p { margin: 1.25rem auto 0; max-width: 38rem; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.page-head .eyebrow::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

/* ---------- Vendors grid ---------- */
.vendor-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
}
@media (min-width: 48em) { .vendor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75em) { .vendor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.vcard {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--text-light);
  border-radius: var(--radius);
  background: rgba(40, 69, 90, 0.35);
  border: 1px solid rgba(217, 162, 59, 0.16);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s;
}
.vcard:hover { border-color: rgba(217, 162, 59, 0.6); transform: translateY(-3px); background: rgba(40, 69, 90, 0.55); }
.vcard__media { position: relative; aspect-ratio: 4 / 5; background: var(--teal); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(217, 162, 59, 0.6);
  background: radial-gradient(circle at 50% 40%, rgba(217, 162, 59, 0.12), transparent 60%), var(--teal);
}
.badge-new {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vcard__body { padding: 0.9rem 1rem 1.1rem; display: grid; gap: 0.3rem; }
.vcard__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.25; }
.vcard__headline { font-size: 0.88rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.skeleton { pointer-events: none; }
.skeleton .vcard__media,
.skeleton .sk-line {
  background: linear-gradient(100deg, rgba(40, 69, 90, 0.6) 30%, rgba(60, 92, 115, 0.6) 50%, rgba(40, 69, 90, 0.6) 70%);
  background-size: 300% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .skeleton .vcard__media,
  .skeleton .sk-line { animation: shimmer 1.6s linear infinite; }
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-line { height: 0.8rem; border-radius: 2px; }
.sk-line--short { width: 60%; }

.state {
  max-width: 34rem;
  margin: 1rem auto 0;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  border: 1px solid rgba(217, 162, 59, 0.3);
  border-radius: var(--radius);
  background: rgba(40, 69, 90, 0.3);
}
.state img { width: 5rem; height: 5rem; margin: 0 auto 1.25rem; }
.state h2 { font-size: var(--step-2); }
.state p { margin-top: 0.75rem; color: var(--muted); }
.state .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- Dialogs (shared) ---------- */
dialog {
  padding: 0;
  border: 0;
  color: var(--text-light);
  background: transparent;
  max-width: none;
  max-height: none;
}
dialog::backdrop {
  background: rgba(8, 15, 24, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: dialog-in 0.35s var(--ease); }
  dialog[open]::backdrop { animation: fade-in 0.35s var(--ease); }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
html.has-dialog { overflow: hidden; }

.close-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 28, 43, 0.8);
  color: var(--text-light);
  border: 1px solid rgba(241, 232, 214, 0.25);
  transition: border-color 0.2s, color 0.2s;
}
.close-btn:hover { border-color: var(--gold); color: var(--gold); }
.close-btn .icon { width: 1.2rem; height: 1.2rem; }

/* Sell to Us */
.sell-dialog {
  width: min(32rem, calc(100% - 2rem));
  margin: auto;
}
.sell-dialog__panel {
  position: relative;
  padding: clamp(2rem, 6vw, 3rem);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  text-align: center;
  --accent: var(--bronze);
  --focus: var(--navy);
}
.sell-dialog__panel .close-btn { position: absolute; top: 0.75rem; right: 0.75rem; background: transparent; color: var(--ink); border-color: rgba(28, 42, 56, 0.25); }
.sell-dialog__panel .close-btn:hover { color: var(--bronze); border-color: var(--bronze); }
.sell-dialog__panel img { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; }
.sell-dialog__panel h2 { font-size: var(--step-3); }
.sell-dialog__panel p { margin-top: 0.9rem; color: var(--muted-ink); }
.sell-dialog__email {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.3rem);
  font-weight: 600;
  color: var(--bronze);
  word-break: break-word;
}
.sell-dialog__panel .btn-row { justify-content: center; margin-top: 1.5rem; }
.sell-tips { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.4rem; font-size: 0.92rem; color: var(--muted-ink); }
.sell-tips li::before { content: "\25C6"; color: var(--bronze); font-size: 0.6rem; margin-right: 0.6rem; vertical-align: 0.15em; }

/* Vendor dialog */
.vendor-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
}
.vd {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}
.vd__panel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--navy);
  display: flex;
  flex-direction: column;
}
.vd__panel.is-swapping { opacity: 0; transform: translateX(var(--swap-x, 0)); }
@media (prefers-reduced-motion: no-preference) {
  .vd__panel { transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
}
.vd__close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 5; }

.carousel { position: relative; background: var(--navy-deep); flex: none; }
.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  aspect-ratio: 4 / 5;
  max-height: 62svh;
  width: 100%;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 28, 43, 0.75);
  color: var(--text-light);
  border: 1px solid rgba(241, 232, 214, 0.25);
}
.carousel__btn:hover { color: var(--gold); border-color: var(--gold); }
.carousel__btn--prev { left: 0.75rem; }
.carousel__btn--next { right: 0.75rem; }
.carousel__dots {
  position: absolute;
  left: 0; right: 0; bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.15rem;
}
.carousel__dot {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
}
.carousel__dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(241, 232, 214, 0.55);
  transition: background-color 0.2s, transform 0.2s;
}
.carousel__dot[aria-current="true"]::before { background: var(--gold); transform: scale(1.25); }

.vd__body { padding: 1.75rem var(--gutter) 1.5rem; display: grid; gap: 0.75rem; align-content: start; flex: 1; }
.vd__body .badge-new { position: static; justify-self: start; }
.vd__name { font-size: var(--step-3); }
.vd__headline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--step-1); color: var(--gold); line-height: 1.4; }
.vd__desc { color: var(--muted); white-space: pre-line; }
.vd__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.vd__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(241, 232, 214, 0.3);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
}
.vd__social a:hover { border-color: var(--gold); color: var(--gold); }
.vd__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(217, 162, 59, 0.2);
  position: sticky;
  bottom: 0;
  background: var(--navy);
}
.vd__nav button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.vd__nav button:hover { color: var(--gold); }
.vd__count { align-self: center; font-size: 0.85rem; color: var(--muted); }

.vd__peek { display: none; }

@media (min-width: 48em) {
  .vendor-dialog { width: 100%; height: 100%; }
  .vd { padding: 2rem; }
  .vd__panel {
    max-width: 62rem;
    height: auto;
    max-height: min(42rem, calc(100svh - 4rem));
    border-radius: var(--radius);
    border: 1px solid rgba(217, 162, 59, 0.25);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: 1fr auto;
    overflow: hidden;
  }
  .carousel { grid-row: 1 / span 2; height: 100%; }
  .vd__panel.no-photos { grid-template-columns: 1fr; max-width: 40rem; }
  .carousel__track { aspect-ratio: auto; height: 100%; max-height: none; }
  .vd__body { overflow-y: auto; padding: 3rem 2.25rem 1.5rem; }
  .vd__nav { padding: 1rem 2.25rem; position: static; }
}
@media (min-width: 75em) {
  .vd { grid-template-columns: 8rem minmax(0, 62rem) 8rem; gap: 2.5rem; justify-content: center; }
  .vd__peek {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    width: 8rem;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.7;
    filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s, transform 0.3s var(--ease);
  }
  .vd__peek:hover { opacity: 1; filter: none; transform: scale(1.04); }
  .vd__peek img { width: 8rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--teal); }
  .vd__peek span { line-height: 1.35; }
}

/* ---------- Gallery ---------- */
.masonry {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: clamp(0.6rem, 1.5vw, 1rem);
}
@media (min-width: 48em) { .masonry { columns: 3; } }
@media (min-width: 75em) { .masonry { columns: 4; } }
.masonry li { break-inside: avoid; margin-bottom: clamp(0.6rem, 1.5vw, 1rem); }
.masonry.is-few {
  columns: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.masonry.is-few li { margin: 0; flex: 1 1 16rem; max-width: 26rem; }
.gtile {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal);
  position: relative;
}
.gtile img { width: 100%; height: auto; transition: transform 0.9s var(--ease), opacity 0.4s; }
.gtile:hover img { transform: scale(1.03); }
.gtile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(217, 162, 59, 0);
  border-radius: inherit;
  transition: border-color 0.3s;
}
.gtile:hover::after { border-color: rgba(217, 162, 59, 0.7); }
.gallery-more { display: flex; justify-content: center; margin-top: 2.5rem; }

.lightbox { width: 100%; height: 100%; margin: 0; }
.lightbox__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0.75rem;
}
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox__count { font-size: 0.9rem; color: var(--muted); padding-left: 0.5rem; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding-block: 0.75rem; }
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox__controls { display: flex; justify-content: center; gap: 1rem; padding-bottom: env(safe-area-inset-bottom); }
.lightbox .carousel__btn { position: static; transform: none; }
@media (min-width: 64em) {
  .lightbox__inner { padding: 1.5rem 2rem; }
  .lightbox__controls { position: absolute; inset: 50% 1.5rem auto; transform: translateY(-50%); justify-content: space-between; pointer-events: none; }
  .lightbox__controls button { pointer-events: auto; width: 3.25rem; height: 3.25rem; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100svh - var(--header-h) - 20rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(5.5rem, 10vw, 7rem) clamp(4rem, 10vw, 7rem);
}
.notfound img { width: 7rem; height: 7rem; margin: 0 auto 2rem; }
.notfound h1 { font-size: var(--step-4); }
.notfound p { margin: 1.25rem auto 0; max-width: 32rem; color: var(--muted); }
.notfound .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: var(--muted);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  border-top: 1px solid rgba(217, 162, 59, 0.25);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(217, 162, 59, 0.035) 0 28px, transparent 28px 56px),
    repeating-linear-gradient(90deg, rgba(217, 162, 59, 0.035) 0 28px, transparent 28px 56px);
}
.footer__grid { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__brand img { width: 6rem; height: 6rem; }
.footer__brand p { margin-top: 1.25rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--text-light); max-width: 18rem; line-height: 1.5; }
.footer__heading {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__list { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer__list a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; padding-block: 0.15rem; }
.footer__list a:hover { color: var(--gold); }
.footer__bottom {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(241, 232, 214, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
}
.footer__bottom a { text-decoration: none; color: var(--muted); }
.footer__bottom a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* =====================================================================
   Seasonal layer. Turned on by SEASON: "winter" in js/site-config.js,
   which sets <html data-season="winter">. Remove the value to switch off.
   ===================================================================== */
html[data-season="winter"] .banner {
  background-color: var(--navy-deep);
  color: var(--text-light);
  border-bottom: 1px solid rgba(217, 162, 59, 0.35);
  background-image:
    repeating-linear-gradient(0deg, rgba(217, 162, 59, 0.07) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, rgba(160, 40, 40, 0.16) 0 12px, transparent 12px 24px);
}
html[data-season="winter"] .banner__mark { display: block; color: var(--gold); }
html[data-season="winter"] .hero::after,
html[data-season="winter"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}
/* Sparse flakes: tile the flake images on a large, mostly empty grid */
html[data-season="winter"] .hero::after,
html[data-season="winter"] .page-head::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%23d9a23b' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath transform='translate(30 40)' d='M9 0v18M1.2 4.5l15.6 9M1.2 13.5l15.6-9'/%3E%3Cpath transform='translate(170 120) scale(.7)' d='M9 0v18M1.2 4.5l15.6 9M1.2 13.5l15.6-9'/%3E%3Cpath transform='translate(90 200) scale(.85)' d='M9 0v18M1.2 4.5l15.6 9M1.2 13.5l15.6-9'/%3E%3C/g%3E%3Cg fill='%23f1e8d6' opacity='.7'%3E%3Ccircle cx='120' cy='30' r='1.6'/%3E%3Ccircle cx='220' cy='60' r='1.2'/%3E%3Ccircle cx='60' cy='140' r='1.4'/%3E%3Ccircle cx='230' cy='220' r='1.6'/%3E%3Ccircle cx='150' cy='250' r='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 420px 420px repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg fill='none' stroke='%23d9a23b' stroke-width='1' stroke-linecap='round' opacity='.6'%3E%3Cpath transform='translate(250 30) scale(.55)' d='M9 0v18M1.2 4.5l15.6 9M1.2 13.5l15.6-9'/%3E%3Cpath transform='translate(40 260) scale(.6)' d='M9 0v18M1.2 4.5l15.6 9M1.2 13.5l15.6-9'/%3E%3C/g%3E%3Cg fill='%23f1e8d6' opacity='.55'%3E%3Ccircle cx='180' cy='180' r='1.2'/%3E%3Ccircle cx='310' cy='300' r='1.4'/%3E%3Ccircle cx='20' cy='90' r='1'/%3E%3C/g%3E%3C/svg%3E") 130px 70px / 560px 560px repeat;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-season="winter"] .hero::after,
  html[data-season="winter"] .page-head::after { animation: snowfall 38s linear infinite; }
}
@keyframes snowfall {
  from { background-position: 0 0, 130px 70px; }
  to { background-position: 60px 420px, 190px 630px; }
}
.page-head > * { position: relative; z-index: 1; }
