/* ==========================================================================
   Loomwater Festival — styles
   ========================================================================== */

:root {
  --bg: #0f1c2e;
  --bg-alt: #17283d;
  --surface: #1c3149;
  --surface-2: #24405c;
  --line: #34506e;
  --text: #f3ede0;
  --muted: #bcc8d8;
  --amber: #f2b544;
  --amber-deep: #e0801f;
  --teal: #6fc7c0;
  --coral: #e0664f;
  --ink: #1a1408;
  --error: #ffb4a8;
  --ok: #9fe3c9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", "Trebuchet MS", "Gill Sans", Futura, sans-serif;
  --header-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--amber); }
a:hover { color: #ffd27a; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2rem, 820px); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--amber);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: #ffd27a; color: var(--ink); }
.btn-ghost {
  background: rgba(15, 28, 46, 0.5);
  color: var(--text);
  border-color: rgba(243, 237, 224, 0.6);
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); background: rgba(15, 28, 46, 0.7); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 28, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { background: var(--surface); color: var(--text); }
.site-nav a.nav-cta {
  background: var(--amber);
  color: var(--ink);
  margin-left: 0.5rem;
}
.site-nav a.nav-cta:hover { background: #ffd27a; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
}
.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.menu-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 719.98px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .site-nav a { display: block; padding: 0.8rem 1rem; border-radius: 10px; }
  .site-nav a.nav-cta { margin: 0.5rem 0 0; text-align: center; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-scene .poster {
  width: 100%;
  height: 100%;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(15, 28, 46, 0.95) 0%, rgba(15, 28, 46, 0.55) 45%, rgba(15, 28, 46, 0.05) 100%);
}
.hero-content {
  padding: 6rem 0 4rem;
  max-width: 760px;
  margin-left: max(1rem, (100% - 1180px) / 2);
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 800;
  margin: 0 0 0.25em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero-dates {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.hero-promise {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 34ch;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Lantern drift */
.lantern { animation: drift 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lantern.l2 { animation-duration: 8.5s; animation-delay: -2s; }
.lantern.l3 { animation-duration: 6.5s; animation-delay: -4s; }
.lantern.l4 { animation-duration: 9s; animation-delay: -1s; }
.lantern.l5 { animation-duration: 10s; animation-delay: -5s; }
.lantern.l6 { animation-duration: 7.5s; animation-delay: -3s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -18px); }
}
.stars circle { animation: twinkle 4s ease-in-out infinite; }
.stars circle:nth-child(odd) { animation-delay: -2s; }
.stars circle:nth-child(3n) { animation-delay: -1s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.lede { color: var(--muted); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Line-up
   -------------------------------------------------------------------------- */
.lineup-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.act {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.act:hover { transform: translateY(-3px); border-color: var(--surface-2); box-shadow: var(--shadow); }
.act.is-open { border-color: var(--amber); }
.act-art { display: block; width: 100%; aspect-ratio: 4 / 3; }
.act-art svg { width: 100%; height: 100%; display: block; }
.act-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.act-genre {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--teal);
  margin: 0;
}
.act-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--text);
}
.act-toggle:hover { color: var(--amber); }
.act-toggle .chev {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  display: inline-grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
}
.act-toggle .chev svg { width: 14px; height: 14px; }
.act-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--amber); color: var(--ink); }
.act-desc { color: var(--muted); font-size: 0.97rem; margin: 0.15rem 0 0; }
.act-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}
.act-details[hidden] { display: none; }
.act-details dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.9rem;
  margin: 0 0 0.75rem;
  font-size: 0.97rem;
}
.act-details dt { color: var(--muted); }
.act-details dd { margin: 0; font-weight: 600; }
.act-details .stage-pill { margin-right: 0.25rem; }
.act-link { font-weight: 700; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Schedule
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1rem;
}
.filter-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-group legend {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--muted);
  padding: 0;
  margin-bottom: 0.5rem;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--amber); }
.chip[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.filter-status { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; min-height: 1.5em; }

.schedule { display: grid; gap: 1.5rem; }
.sched-day {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sched-day h3 {
  margin: 0;
  padding: 0.9rem 1.2rem;
  background: var(--surface-2);
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.sched-day h3 span { color: var(--muted); font-family: var(--font); font-weight: 500; font-size: 0.9rem; }
.sched-list { list-style: none; margin: 0; padding: 0.5rem; display: grid; gap: 0.35rem; }
.set {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.set:hover, .set:focus-within { background: var(--bg-alt); }
.set.is-highlighted {
  background: rgba(242, 181, 68, 0.14);
  border-color: var(--amber);
}
.set-time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber); white-space: nowrap; }
.set-act { font-weight: 700; font-size: 1.05rem; }
.set-act a { color: var(--text); text-decoration: none; border-bottom: 2px solid var(--amber); }
.set-act a:hover { color: var(--amber); }
.set-genre { display: block; color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.stage-pill {
  display: inline-block;
  border: 0;
  font: inherit;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink);
}
button.stage-pill { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
button.stage-pill:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.stage-pill.main { background: var(--coral); }
.stage-pill.tent { background: var(--teal); }
.stage-pill.field { background: var(--amber); }
.sched-empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
.sched-empty strong { color: var(--text); display: block; font-size: 1.15rem; margin-bottom: 0.35rem; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--amber);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 560px) {
  .set { grid-template-columns: 4.6rem 1fr; }
  .set .stage-pill { grid-column: 2; justify-self: start; }
}

/* --------------------------------------------------------------------------
   Tickets
   -------------------------------------------------------------------------- */
.ticket-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.ticket-lines { display: grid; gap: 0.85rem; }
.ticket-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.ticket-info label { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: block; }
.ticket-desc { color: var(--muted); font-size: 0.92rem; margin: 0.15rem 0 0; }
.ticket-price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}
.stepper .step {
  width: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  transition: background 0.15s;
}
.stepper .step:hover { background: var(--surface-2); }
.stepper .step:focus-visible { outline-offset: -3px; }
.stepper input {
  width: 3.2rem;
  text-align: center;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -3px; }

.ticket-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 1rem;
}
.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.15rem 0 0;
  accent-color: var(--amber);
  flex: none;
  cursor: pointer;
}
.summary-lines {
  margin: 0 0 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}
.summary-lines .row { display: flex; justify-content: space-between; gap: 1rem; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.summary-lines .discount dd { color: var(--ok); }
.summary-lines .empty { color: var(--muted); font-style: italic; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid var(--amber);
  padding-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.summary-total output { font-size: 1.9rem; color: var(--amber); font-variant-numeric: tabular-nums; }
.ticket-message {
  min-height: 1.5em;
  margin: 0 0 1rem;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
}
.ticket-message.is-error {
  color: var(--error);
  background: rgba(224, 102, 79, 0.15);
  border: 1px solid rgba(255, 180, 168, 0.4);
  padding: 0.7rem 0.9rem;
}
.ticket-message.is-ok {
  color: var(--ok);
}
.ticket-note { color: var(--muted); font-size: 0.85rem; margin: 0.9rem 0 0; text-align: center; }

@media (max-width: 860px) {
  .ticket-calc { grid-template-columns: 1fr; }
  .ticket-summary { position: static; }
}
@media (max-width: 480px) {
  .ticket-line { grid-template-columns: 1fr auto; }
  .ticket-line .stepper { grid-column: 1 / -1; justify-self: start; }
}

/* --------------------------------------------------------------------------
   Site map
   -------------------------------------------------------------------------- */
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.map-figure { margin: 0; }
.site-plan {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-figure figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.75rem; }
.map-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-anchor: middle;
  pointer-events: none;
}
.map-label-sm { font-size: 14px; }
.map-label-dark { fill: var(--ink); }
.map-label-light { fill: #fff8f0; }
.map-water-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  fill: #cfe6f5;
  text-anchor: middle;
}
.map-stage { cursor: pointer; }
.map-stage .stage-shape {
  transition: filter 0.15s, stroke-width 0.15s;
  stroke: #fff8f0;
  stroke-width: 0;
}
.map-stage:hover .stage-shape,
.map-stage:focus .stage-shape,
.map-stage.is-highlighted .stage-shape {
  stroke-width: 5;
  filter: drop-shadow(0 0 10px rgba(255, 241, 200, 0.8));
}
.map-stage:focus { outline: none; }
.map-stage:focus-visible .stage-shape { stroke: var(--amber); stroke-width: 6; }

.map-key {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.map-key h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; }
.map-key ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.45rem; }
.map-key li { display: flex; align-items: center; gap: 0.6rem; }
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.map-tip { color: var(--muted); font-size: 0.92rem; margin: 0; border-top: 1px solid var(--line); padding-top: 0.75rem; }

@media (max-width: 760px) {
  .map-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 0.6rem; }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc-item h3 { margin: 0; font-size: 1.1rem; }
.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.acc-trigger:hover { background: var(--surface-2); }
.acc-trigger:focus-visible { outline-offset: -4px; }
.acc-trigger::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-right: 4px;
}
.acc-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.acc-panel { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.acc-panel p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a1426;
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.site-footer address { font-style: normal; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--amber); text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .lantern, .stars circle { animation: none; }
  .btn:hover, .act:hover { transform: none; }
}
