/* =============================================================================
   Ghost Gum Rhythm & Blues
   Palette: desert night - charcoal sky, red-centre ochre, stage amber,
            ghost gum bone, eucalypt sage.
   ============================================================================= */

:root {
  /* Darks are warm rather than neutral: they're pulled from the red earth and
     the shadow side of the ranges, not from black. Keeps the whole page feeling
     like dusk in the desert instead of a generic dark theme. */
  --night-900: #100b07;
  --night-800: #1a130d;
  --night-700: #241b13;
  --night-600: #31251a;
  --night-500: #423323;

  --bone:      #f4efe6;
  --bone-dim:  #cec3b2;
  --bone-mute: #978a76;

  --ochre:     #c1552b;
  --ochre-lit: #dd6a3c;
  --amber:     #e8a33d;
  --sage:      #93a583;

  --bg:    var(--night-800);
  --bg-alt: var(--night-700);
  --line:  rgba(244, 239, 230, 0.11);
  --line-strong: rgba(244, 239, 230, 0.2);

  --serif: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --sans:  'Karla', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* Author `display` rules below (e.g. .modal{display:flex}) would otherwise beat
   the UA stylesheet's [hidden]{display:none}. Keep this ahead of them. */
[hidden] { display: none !important; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: var(--night-900);
  padding: 0.7rem 1.2rem; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -- Layout ------------------------------------------------------------ */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: 0.6rem; }
.section-intro { color: var(--bone-dim); max-width: 62ch; font-size: 1.06rem; margin-bottom: 2.4rem; }

.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--ochre-lit); font-weight: 700; margin: 0 0 0.7rem;
}

/* -- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: 100px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ochre); color: #fff; box-shadow: 0 8px 24px rgba(193, 85, 43, 0.35); }
.btn-primary:hover { background: var(--ochre-lit); box-shadow: 0 12px 30px rgba(193, 85, 43, 0.45); }
.btn-ghost { border-color: var(--line-strong); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone-dim); background: rgba(244, 239, 230, 0.05); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* -- Header ------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(11, 10, 9, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 74px; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--bone); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
/* White line art on transparency - see scripts note in the README. */
.brand-logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.06rem; letter-spacing: -0.01em; }
.brand-text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bone-mute); }

.site-nav { display: flex; gap: 1.55rem; margin-left: auto; }
.site-nav a {
  color: var(--bone-dim); font-size: 0.9rem; font-weight: 500;
  position: relative; padding: 0.3rem 0;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--bone); text-decoration: none; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--ochre-lit); transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--bone); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* -- Hero ------------------------------------------------------------ */
/* Everything in here is sized against viewport height so the carousel at the
   bottom stays above the fold on laptop screens as well as tall monitors. */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(74px + clamp(0.75rem, 3vh, 2.5rem)) 0 clamp(1.25rem, 4vh, 3rem);
  overflow: hidden;
  background: linear-gradient(180deg, #07070a 0%, #16110f 48%, #241611 78%, var(--night-800) 100%);
}
/* A real photograph of the ranges at the festival site, not a drawn silhouette.
   It's shot in daylight, so it gets pushed down towards dusk here: darkened,
   warmed, and slightly desaturated. The blue sky lands somewhere near deep
   indigo, which is what lets the starfield still sit convincingly on top. */
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('../assets/images/gg-hero-bg-sm.jpg');
  background-size: cover;
  background-position: 50% 58%;
  filter: brightness(0.42) saturate(0.72) contrast(1.06) sepia(0.16);
  transform: scale(1.02);   /* hides the edge softening from the filter */
}
@media (min-width: 800px) {
  .hero-photo { background-image: url('../assets/images/gg-hero-bg.jpg'); }
}

/* Stars sit above the scrim so they stay crisp, but only across the open sky
   at the top. The mask fades them out before they reach the ridge line. */
.hero-sky {
  position: absolute; inset: 0 0 auto 0; height: 58%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  opacity: 0.75;
}
.hero-sky canvas { width: 100%; height: 100%; display: block; }

/* Warm glow low down where the stage would be, and a wash top and bottom so
   the type stays readable over the hill. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    /* pool of shade behind the wordmark so it doesn't fight the scrub */
    radial-gradient(ellipse 46% 34% at 50% 40%, rgba(14, 10, 6, 0.62), transparent 72%),
    radial-gradient(ellipse 75% 45% at 50% 88%, rgba(193, 85, 43, 0.34), transparent 72%),
    linear-gradient(180deg,
      rgba(16, 11, 7, 0.82) 0%,
      rgba(16, 11, 7, 0.38) 26%,
      rgba(16, 11, 7, 0.42) 55%,
      rgba(26, 19, 13, 0.88) 88%,
      var(--night-800) 100%);
}
/* -- Hero carousel ------------------------------------------------------------
   A strip of frames under the hero text. Each frame crossfades to a new photo
   on its own timer, so the row keeps shifting rather than sliding as one. */
.hero-carousel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: clamp(1rem, 3vh, 2.1rem) auto 0;
  width: min(100%, 980px);
}
.cr-track {
  flex: 1; min-width: 0;
  display: grid;
  grid-template-columns: repeat(var(--cr-cols, 4), 1fr);
  gap: 0.7rem;
  /* height is tied to viewport height so the strip always fits above the fold */
  height: clamp(82px, 16vh, 176px);
}
.cr-frame {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--night-600);
  border: 1px solid rgba(244, 239, 230, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.cr-nav {
  flex-shrink: 0;
  width: 38px; height: 38px; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(244, 239, 230, 0.07);
  border: 1px solid var(--line-strong);
  color: var(--bone);
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.cr-nav svg { width: 19px; height: 19px; }
.cr-nav:hover { background: rgba(244, 239, 230, 0.16); border-color: var(--bone-dim); transform: scale(1.06); }
.cr-nav:active { transform: scale(0.96); }
.cr-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.3s var(--ease), transform 6s var(--ease);
}
.cr-img.is-on { opacity: 1; transform: scale(1); }
/* keeps them sitting with the night palette rather than glaring out of it */
.cr-frame::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 10, 9, 0.12), rgba(11, 10, 9, 0.34));
}

/* Short laptop screens: give the strip a bit more headroom. */
@media (max-height: 780px) {
  .hero-logo { max-height: 21vh; width: min(66vw, 360px); }
  .cr-track { height: clamp(74px, 13.5vh, 128px); }
}

.hero-inner { position: relative; z-index: 2; text-align: center; }

.hero-eyebrow {
  font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: clamp(0.6rem, 2vh, 1.4rem);
}
.hero-title {
  font-size: clamp(2.9rem, 10vw, 6.4rem); line-height: 0.95;
  margin: 0 0 1.1rem; letter-spacing: -0.035em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}
.hero-title-text span {
  display: block; font-size: 0.42em; font-weight: 400; font-style: italic;
  letter-spacing: 0.02em; color: var(--amber); margin-top: 0.35em;
}
/* When the real artwork is available it replaces the typeset title. */
.hero-title.has-logo .hero-title-text { display: none; }
/* block, so the oversized font-size on .hero-title doesn't add leading round it.
   max-height keeps it from eating the viewport on short screens. */
.hero-logo {
  display: block;
  width: min(72vw, 430px);
  max-height: 27vh;
  height: auto; object-fit: contain; margin: 0 auto;
  filter: drop-shadow(0 6px 34px rgba(0, 0, 0, 0.65));
}
.hero-title.has-logo { margin-bottom: clamp(0.6rem, 2vh, 1.3rem); line-height: 1; }
.hero-tagline {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: var(--bone-dim);
  max-width: 44ch; margin: 0 auto clamp(0.9rem, 2.6vh, 1.9rem);
}

.hero-when {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.6rem 1.3rem; padding: 0.75rem 1.5rem; margin-bottom: clamp(0.8rem, 2.4vh, 1.6rem);
  border: 1px solid var(--line-strong); border-radius: 100px;
  background: rgba(11, 10, 9, 0.4); backdrop-filter: blur(8px);
  font-size: 0.95rem;
}
.hero-when .hw-date { font-weight: 700; font-family: var(--serif); font-size: 1.08rem; }
.hero-when .hw-sep { color: var(--bone-mute); }
.hero-when .hw-sub { color: var(--bone-dim); }
.hero-when .hw-badge {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  background: var(--ochre); color: #fff; padding: 0.25rem 0.65rem; border-radius: 100px;
}

.countdown { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: clamp(0.9rem, 2.6vh, 1.9rem); flex-wrap: wrap; }
.cd-unit {
  min-width: 78px; padding: 0.8rem 0.6rem;
  background: rgba(244, 239, 230, 0.05); border: 1px solid var(--line);
  border-radius: var(--radius); backdrop-filter: blur(6px);
}
.cd-num { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lab { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-mute); margin-top: 0.4rem; }

.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(0.8rem, 2.2vh, 1.5rem); }
.hero-since { font-size: 0.85rem; color: var(--bone-mute); letter-spacing: 0.06em; margin: 0; }

.scroll-hint { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-hint span {
  display: block; width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px; position: relative;
}
.scroll-hint span::after {
  content: ''; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 2px;
  background: var(--amber); transform: translateX(-50%); animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot { 0%, 100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 75% { opacity: 0; transform: translate(-50%, 12px); } }

/* -- Edition cards (next / last) ------------------------------------------------------------ */
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.5rem; }

.edition-card {
  position: relative; padding: 2rem 1.9rem 1.9rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(244, 239, 230, 0.045), rgba(244, 239, 230, 0.012));
  display: flex; flex-direction: column;
}
.edition-card.is-next {
  border-color: rgba(193, 85, 43, 0.5);
  background: linear-gradient(160deg, rgba(193, 85, 43, 0.14), rgba(193, 85, 43, 0.03));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
}
.edition-tag {
  align-self: flex-start; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 100px; margin-bottom: 1.1rem;
  border: 1px solid var(--line-strong); color: var(--bone-dim);
}
.edition-card.is-next .edition-tag { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.edition-year { font-family: var(--serif); font-size: 3.1rem; font-weight: 700; line-height: 1; margin: 0 0 0.3rem; letter-spacing: -0.03em; }
.edition-date { font-size: 1.12rem; font-weight: 600; margin: 0 0 0.2rem; }
.edition-time { color: var(--bone-dim); font-size: 0.94rem; margin: 0 0 1.1rem; }
.edition-note { color: var(--bone-dim); font-size: 0.95rem; margin: 0 0 1.4rem; }
.edition-facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.edition-facts li { display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.94rem; }
.edition-facts .ef-key { color: var(--bone-mute); min-width: 78px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.edition-actions { margin-top: auto; display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* -- About ------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 3.5rem; align-items: start; }
.about-copy .lead { font-size: 1.18rem; color: var(--bone); }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--bone-dim); }

.about-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--amber); }
.stat-lab { display: block; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--bone-mute); margin-top: 0.4rem; }

.acknowledgement {
  padding: 1.9rem; border-radius: var(--radius-lg);
  border: 1px solid var(--line); border-left: 3px solid var(--ochre);
  background: rgba(244, 239, 230, 0.03);
}
.acknowledgement h3 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.acknowledgement p { color: var(--bone-dim); font-size: 0.95rem; margin: 0; }

/* -- Lineup ------------------------------------------------------------ */
.lineup-tabs { display: flex; gap: 0.5rem; margin: 0 0 2.2rem; flex-wrap: wrap; }
.lineup-tab {
  padding: 0.55rem 1.25rem; border-radius: 100px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--bone-dim);
  font-size: 0.9rem; font-weight: 600; transition: all 0.18s var(--ease);
}
.lineup-tab:hover { border-color: var(--bone-dim); color: var(--bone); }
.lineup-tab[aria-selected="true"] { background: var(--bone); border-color: var(--bone); color: var(--night-900); }

.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.4rem; }
.artist {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(244, 239, 230, 0.025); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.artist:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.artist-img { aspect-ratio: 1; background: var(--night-600); position: relative; overflow: hidden; }
.artist-img img { width: 100%; height: 100%; object-fit: cover; }
.artist-body { padding: 1rem 1.1rem 1.2rem; }
.artist-name { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; margin: 0 0 0.2rem; }
.artist-meta { font-size: 0.84rem; color: var(--bone-mute); margin: 0; }

/* Placeholder art - a ghost gum silhouette, no image file needed */
.ph {
  background:
    radial-gradient(circle at 50% 120%, rgba(193, 85, 43, 0.28), transparent 62%),
    linear-gradient(170deg, var(--night-500), var(--night-700));
  display: flex; align-items: flex-end; justify-content: center;
}
.ph::after {
  content: ''; width: 100%; height: 62%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMax meet'%3E%3Cg stroke='%23f4efe6' stroke-opacity='.16' fill='none' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M50 100V44'/%3E%3Cpath d='M50 60 36 44M50 52 63 38M50 70 39 60M50 44 58 30'/%3E%3C/g%3E%3C/svg%3E") center bottom / contain no-repeat;
}
.ph-label {
  position: absolute; inset: auto 0 0 0; padding: 0.6rem;
  text-align: center; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-mute);
}

.empty-state {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center; color: var(--bone-dim);
}
.empty-state strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--bone); margin-bottom: 0.4rem; }
.empty-state p { margin: 0; font-size: 0.95rem; }

/* -- Details / map ------------------------------------------------------------ */
.details-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; }
.details-cards { display: grid; gap: 1rem; }
.detail-card {
  display: flex; gap: 1.1rem; padding: 1.4rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.028);
}
.detail-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--amber); }
.detail-icon svg { width: 100%; height: 100%; }
.detail-card h3 { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bone-mute); font-family: var(--sans); font-weight: 700; margin-bottom: 0.35rem; }
.detail-card p { margin: 0; font-size: 1rem; }
.detail-card p + p { color: var(--bone-dim); font-size: 0.9rem; margin-top: 0.2rem; }

.map-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--night-600); }
.map-frame { aspect-ratio: 4 / 3; background: var(--night-600); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.35) contrast(1.05) brightness(0.86); }
.map-card .btn { border-radius: 0; border: 0; border-top: 1px solid var(--line); }

/* -- Tickets ------------------------------------------------------------ */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-bottom: 2.4rem; }
.ticket-card {
  padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(244, 239, 230, 0.03); text-align: center;
}
.ticket-card.is-free { border-color: rgba(147, 165, 131, 0.4); background: rgba(147, 165, 131, 0.07); }
.ticket-name { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-mute); font-weight: 700; margin-bottom: 0.7rem; }
.ticket-price { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.ticket-detail { font-size: 0.88rem; color: var(--bone-dim); margin: 0; }
.ticket-cta { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.ticket-note { text-align: center; font-size: 0.85rem; color: var(--bone-mute); margin: 0; }

/* -- Gallery ------------------------------------------------------------ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.9rem; }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer; padding: 0; background: var(--night-600);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.8rem; text-align: left; color: var(--bone-dim);
}
.gallery-item.is-tall { grid-row: span 2; aspect-ratio: 4 / 6; }

/* -- Sponsors / volunteers ------------------------------------------------------------ */
.support-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.sponsor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.sponsor {
  display: flex; align-items: center; justify-content: center; min-height: 88px; padding: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.03); color: var(--bone-dim);
  font-weight: 600; font-size: 0.92rem; text-align: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.sponsor:hover { border-color: var(--line-strong); color: var(--bone); text-decoration: none; }
.sponsor img { max-height: 46px; width: auto; object-fit: contain; }

.volunteer-card {
  padding: 2rem 1.9rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 163, 61, 0.32);
  background: linear-gradient(160deg, rgba(232, 163, 61, 0.11), rgba(232, 163, 61, 0.02));
}
.volunteer-card p { color: var(--bone-dim); font-size: 0.96rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.6rem; }
.tick-list li { position: relative; padding-left: 1.7rem; font-size: 0.95rem; }
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 0.52em; width: 9px; height: 5px;
  border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

/* -- FAQ ------------------------------------------------------------ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--bone);
}
.faq-q:hover { color: var(--amber); }
.faq-icon { flex-shrink: 0; width: 18px; height: 18px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.28s var(--ease); }
.faq-a > div { padding: 0 0 1.4rem; color: var(--bone-dim); max-width: 70ch; }

/* -- Mailing list ------------------------------------------------------------ */
.section-signup {
  background:
    radial-gradient(ellipse 70% 130% at 50% 0%, rgba(193, 85, 43, 0.16), transparent 70%),
    var(--night-800);
  border-top: 1px solid var(--line);
}
.signup-inner { text-align: center; }
.signup-inner .section-intro { margin-inline: auto; }

.signup-form { max-width: 420px; margin-inline: auto; text-align: left; }
.signup-form .field { margin-bottom: 1rem; }
/* Scoped to .field on purpose. A bare `.signup-form label` also matches the
   tick-box labels below, and being more specific than `.check` it flattened
   them into inline uppercase text with a 3px checkbox. */
.signup-form .field label {
  display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone-mute); font-weight: 700; margin-bottom: 0.45rem;
}
.signup-form .field label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%; padding: 0.85rem 1rem; font: inherit; font-size: 1rem;
  color: var(--bone); background: rgba(244, 239, 230, 0.05);
  border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.signup-form input::placeholder { color: var(--bone-mute); }
.signup-form input:focus {
  outline: none; border-color: var(--amber); background: rgba(244, 239, 230, 0.08);
}
.signup-form .btn { margin-top: 0.4rem; }

/* honeypot - off-screen rather than display:none so bots still fill it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.signup-consent { font-size: 0.82rem; color: var(--bone-mute); margin: 0.9rem 0 0; text-align: center; }
.signup-status { font-size: 0.9rem; margin: 0.8rem 0 0; text-align: center; color: var(--bone-dim); }
.signup-status.is-error { color: #f0a58c; }
.signup-done {
  text-align: center; padding: 1.6rem 1rem; margin: 0;
  border: 1px solid rgba(147, 165, 131, 0.45); border-radius: var(--radius);
  background: rgba(147, 165, 131, 0.1); color: var(--bone);
}
.signup-done strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 0.3rem; }

.signup-form textarea {
  width: 100%; padding: 0.85rem 1rem; font: inherit; font-size: 0.97rem; line-height: 1.55;
  color: var(--bone); background: rgba(244, 239, 230, 0.05);
  border: 1px solid var(--line-strong); border-radius: 10px;
  resize: vertical; min-height: 130px;
}
.signup-form textarea:focus {
  outline: none; border-color: var(--amber); background: rgba(244, 239, 230, 0.08);
}

/* -- Tickable options ------------------------------------------------------------ */
.check-group { border: 0; padding: 0; margin: 0 0 1.5rem; }
.check-group legend {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone-mute); font-weight: 700; margin-bottom: 0.7rem; padding: 0;
}
.check {
  display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer;
  padding: 0.7rem 0.85rem; border-radius: 10px; margin-bottom: 0.45rem;
  border: 1px solid var(--line); background: rgba(244, 239, 230, 0.025);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.check:hover { border-color: var(--line-strong); background: rgba(244, 239, 230, 0.05); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--line-strong); position: relative;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}
.check-box::after {
  content: ''; position: absolute; left: 5px; top: 4px; width: 7px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0.5); opacity: 0;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}
.check input:checked ~ .check-box { background: var(--ochre); border-color: var(--ochre); }
.check input:checked ~ .check-box::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.check input:focus-visible ~ .check-box { outline: 2px solid var(--amber); outline-offset: 2px; }
.check-text { display: flex; flex-direction: column; gap: 0.1rem; }
.check-text strong { font-weight: 600; font-size: 0.97rem; }
.check-text em { font-style: normal; font-size: 0.83rem; color: var(--bone-mute); }

/* text-button that reads as a link */
.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; font: inherit; text-align: left;
  border-bottom: 1px dashed var(--line-strong);
}
.linkish:hover { color: var(--amber); border-bottom-color: var(--amber); }

.modal-sm .modal-panel { height: auto; max-height: 92vh; width: min(100%, 480px); }
.modal-md .modal-panel { height: auto; max-height: 92vh; width: min(100%, 560px); }
/* Two classes deep so it beats `.modal-body { background: #fff }` further down,
   which exists for the TryBooking iframe and would otherwise turn these forms
   into pale text on white. */
.modal-body.signup-body {
  background: var(--night-700);
  padding: 1.6rem 1.5rem 1.8rem;
  overflow-y: auto;
}
.signup-modal-blurb { color: var(--bone-dim); font-size: 0.95rem; margin-bottom: 1.4rem; text-align: center; }

/* -- Contact ------------------------------------------------------------ */
.contact-inner { text-align: center; }
.contact-inner .section-intro { margin-inline: auto; }
.contact-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* -- Footer ------------------------------------------------------------ */
.site-footer { background: var(--night-900); border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.6rem; }
.footer-brand strong { font-family: var(--serif); font-size: 1.25rem; }
.footer-brand span { color: var(--bone-mute); font-size: 0.9rem; }
.footer-ack { color: var(--bone-mute); font-size: 0.86rem; max-width: 76ch; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.85rem; color: var(--bone-mute); }
.footer-socials { display: flex; gap: 1.3rem; }

/* -- Ticket modal ------------------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.82); backdrop-filter: blur(6px); animation: fade 0.22s var(--ease); }
.modal-panel {
  position: relative; width: min(100%, 940px); height: min(92vh, 880px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--night-700); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  animation: rise 0.28s var(--ease);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 1.2rem; }
.modal-close { background: none; border: 0; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--bone-mute); padding: 0 0.3rem; }
.modal-close:hover { color: var(--bone); }
.modal-body { flex: 1; min-height: 0; background: #fff; position: relative; }
.modal-body iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 0.92rem; background: #fff; gap: 0.7rem;
}
.spinner { width: 18px; height: 18px; border: 2px solid #ddd; border-top-color: var(--ochre); border-radius: 50%; animation: spin 0.8s linear infinite; }
.modal-fallback { padding: 2.5rem; text-align: center; color: var(--night-800); background: #fff; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.modal-fallback h3 { color: var(--night-800); }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.5rem; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--bone-mute); }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* -- Lightbox ------------------------------------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(5, 5, 6, 0.94); display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem; animation: fade 0.2s var(--ease); }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.lb-figure img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lb-figure figcaption { color: var(--bone-dim); font-size: 0.88rem; text-align: center; }
.lb-close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0; font-size: 2.4rem; line-height: 1; color: var(--bone-mute); cursor: pointer; }
.lb-close:hover { color: var(--bone); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(244, 239, 230, 0.08); border: 1px solid var(--line); color: var(--bone); width: 46px; height: 46px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(244, 239, 230, 0.16); }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }

body.is-locked { overflow: hidden; }

/* -- Reveal on scroll ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* -- Responsive ------------------------------------------------------------ */
@media (max-width: 940px) {
  .about-grid, .details-grid, .support-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(11, 10, 9, 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.5rem; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a::after { display: none; }

  .cr-nav { width: 32px; height: 32px; }
  .cr-nav svg { width: 16px; height: 16px; }
  .cr-track { gap: 0.5rem; }
  .cd-unit { min-width: 66px; padding: 0.65rem 0.4rem; }
  .cd-num { font-size: 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .gallery-item.is-tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .modal { padding: 0; }
  .modal-panel { height: 100%; width: 100%; border-radius: 0; border: 0; }
  /* the form boxes are short - keep them centred cards rather than fullscreen */
  .modal-sm, .modal-md { padding: 1rem; align-items: center; }
  .modal-sm .modal-panel,
  .modal-md .modal-panel {
    height: auto; width: 100%; max-height: 88vh;
    border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 0.4rem; }
  .lb-next { right: 0.4rem; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .scroll-hint, .modal, .lightbox, .hero-sky, .hero-ridge { display: none !important; }
  body { background: #fff; color: #000; }
}
