:root {
  --green: #002600;
  --green-deep: #001600;
  --green-soft: #063a0a;
  --gold: #c1943e;
  --gold-soft: #ecd49f;
  --paper: #f4ecd9;
  --paper-deep: #e1cfaa;
  --ink: #17140d;
  --ember: #7b2e19;
  --line: rgba(193, 148, 62, 0.38);
  --shadow: rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* clip (not hidden) prevents horizontal overflow without creating a
     scroll container, so the sticky header keeps sticking to the viewport */
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--gold-soft);
  background:
    linear-gradient(90deg, rgba(193, 148, 62, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, var(--green), var(--green-deep));
  background-size: 120px 120px, auto;
  font-family: Avenir, "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  font-weight: 700;
}

h1 {
  max-width: 9ch;
  color: var(--gold-soft);
  font-size: 7.25rem;
  line-height: 1;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 1.65rem;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--green-deep);
  background: var(--gold-soft);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(193, 148, 62, 0.22);
  background: rgba(0, 24, 0, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 12px;
  border-bottom: 1px solid transparent;
  color: rgba(236, 212, 159, 0.82);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* current section — persistent gold underline set by the scroll-spy */
.site-nav a.is-active {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 18, 0, 0.35);
  color: var(--gold-soft);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

/* Default (no-JS / reduced-motion): a calm static hero — text beside the cask. */
.cask-track {
  position: relative;
}

.cask-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 44px;
  min-height: 84svh;
  padding: 72px max(28px, calc((100vw - var(--max)) / 2)) 88px;
  overflow: hidden;
}

.cask-stage__glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(46% 42% at 72% 42%, rgba(214, 168, 74, 0.2), rgba(193, 148, 62, 0.05) 46%, transparent 66%),
    repeating-radial-gradient(circle at 72% 42%, rgba(214, 168, 74, 0.045) 0 1.5px, transparent 1.5px 60px),
    radial-gradient(60% 58% at 12% 8%, rgba(20, 96, 50, 0.5), transparent 60%),
    radial-gradient(55% 52% at 96% 96%, rgba(4, 68, 42, 0.42), transparent 62%),
    radial-gradient(122% 108% at 70% 38%, rgba(8, 66, 14, 0.82), rgba(0, 22, 4, 0.3) 52%, transparent 76%),
    radial-gradient(72% 30% at 68% 90%, rgba(120, 72, 22, 0.24), transparent 72%),
    radial-gradient(150% 122% at 50% 48%, transparent 50%, rgba(0, 6, 0, 0.68));
}

@media (prefers-reduced-motion: no-preference) {
  .cask-stage__glow {
    animation: glowBreath 16s ease-in-out infinite alternate;
  }
}

@keyframes glowBreath {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(1.05); opacity: 1; }
}

@keyframes glowDrift {
  from { transform: translate3d(-5%, -3%, 0) scale(1); }
  to   { transform: translate3d(6%, 4%, 0) scale(1.14); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  grid-column: 1;
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__lead {
  max-width: min(650px, 100%);
  margin-top: 28px;
  color: rgba(244, 236, 217, 0.9);
  font-size: 1.22rem;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--green-deep);
  background: var(--gold);
}

.button--ghost {
  color: var(--gold-soft);
  background: rgba(0, 18, 0, 0.35);
}

.cask {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  width: min(46vw, 440px);
  margin: 0;
}

.cask__img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 44px 62px rgba(0, 0, 0, 0.55));
}

.cask__portal {
  display: none;
}

.cask-hint {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cask__img {
    animation: caskFloat 6.5s ease-in-out infinite;
  }
}

@keyframes caskFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* thin gold reading-progress line across the very top */
.scroll-progress {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 12px rgba(193, 148, 62, 0.65);
}

/* --- Cinematic cask intro (JS present + motion allowed) --- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .cask-track {
    height: 320vh;
  }

  .js .hero .cask-stage {
    position: sticky;
    top: 0;
    display: block;
    min-height: 0;
    /* dvh (not svh): follows the visual viewport as mobile browser chrome
       retracts, so the bottom-anchored hint stays pinned to the screen edge
       after scrolling down and back up */
    height: 100svh;
    height: 100dvh;
    padding: 0;
  }

  .js .hero .cask-stage__glow {
    background:
      /* warm spotlight behind the cask */
      radial-gradient(50% 40% at 50% 38%, rgba(214, 168, 74, 0.22), rgba(193, 148, 62, 0.05) 45%, transparent 66%),
      /* faint concentric cask rings */
      repeating-radial-gradient(circle at 50% 40%, rgba(214, 168, 74, 0.045) 0 1.5px, transparent 1.5px 58px),
      /* cool emerald light drifting from the upper-left */
      radial-gradient(58% 55% at 16% 10%, rgba(20, 100, 52, 0.5), transparent 60%),
      /* deep teal counter-light lower-right */
      radial-gradient(52% 50% at 90% 94%, rgba(4, 70, 44, 0.44), transparent 62%),
      /* main green body */
      radial-gradient(125% 104% at 50% 36%, rgba(8, 66, 14, 0.86), rgba(0, 22, 4, 0.34) 50%, transparent 74%),
      /* warm floor pool under the barrel */
      radial-gradient(70% 30% at 50% 90%, rgba(120, 72, 22, 0.26), transparent 72%),
      /* vignette */
      radial-gradient(150% 128% at 50% 46%, transparent 48%, rgba(0, 6, 0, 0.72));
  }

  /* a slow-drifting emerald light gives the green real depth and motion */
  .js .hero .cask-stage__glow::after {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(36% 30% at 50% 42%, rgba(26, 128, 66, 0.3), transparent 60%);
    mix-blend-mode: screen;
    animation: glowDrift 24s ease-in-out infinite alternate;
    will-change: transform;
  }

  .js .hero .cask {
    position: absolute;
    top: 47%;
    left: 50%;
    /* size by width via vmin so the barrel fits both dimensions and the
       portrait aspect ratio always follows from the image itself */
    width: min(78vmin, 460px);
    transform: translate(-50%, -50%) scale(var(--cask-scale, 1));
    transform-origin: 50% 38%;
    opacity: var(--cask-opacity, 1);
    will-change: transform, opacity;
  }

  .js .hero .cask__portal {
    display: block;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #000 0%, rgba(0, 0, 0, 0.82) 26%, transparent 60%);
    opacity: var(--cask-portal, 0);
  }

  .js .hero .hero__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    grid-column: auto;
    width: min(760px, 88vw);
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translate(-50%, -50%) scale(var(--content-scale, 0.62));
    opacity: var(--content-opacity, 0);
    pointer-events: var(--content-pe, none);
    will-change: transform, opacity;
  }

  .js .hero .hero__inner .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .js .hero .hero__actions {
    justify-content: center;
  }

  .js .hero .cask-hint {
    display: flex;
    /* fixed to the viewport (not the sticky stage, whose top shifts between
       the initial below-header position and the pinned top:0 state) so the
       hint stays bottom-aligned on load and after scrolling down and back up */
    position: fixed;
    z-index: 4;
    bottom: max(22px, 4.5dvh);
    left: 50%;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
    color: rgba(236, 212, 159, 0.8);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: var(--hint-opacity, 1);
  }

  .js .hero .cask-hint__arrow {
    font-size: 1.15rem;
    letter-spacing: 0;
    animation: caskBob 2s ease-in-out infinite;
  }
}

@keyframes caskBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

.newsbar {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(193, 148, 62, 0.16), transparent 46%),
    rgba(0, 20, 0, 0.9);
}

.newsbar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 15px max(28px, calc((100vw - var(--max)) / 2));
}

.newsbar__tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsbar__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .newsbar__tag::before {
    animation: newsPulse 1.8s ease-in-out infinite;
  }
}

@keyframes newsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

.newsbar__text {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(236, 212, 159, 0.9);
  font-weight: 700;
}

.newsbar__text strong {
  color: var(--gold-soft);
  font-weight: 800;
}

.newsbar__sep {
  margin: 0 6px;
  color: var(--gold);
}

.newsbar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.newsbar__inner:hover .newsbar__cta,
.newsbar__inner:focus-visible .newsbar__cta {
  border-color: currentColor;
}

.band {
  padding: 108px max(28px, calc((100vw - var(--max)) / 2));
}

.band--cream {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(123, 46, 25, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 92px 92px;
}

.band--dark {
  color: var(--gold-soft);
  background:
    linear-gradient(135deg, rgba(193, 148, 62, 0.07) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(180deg, #011d02, #001600);
}

.band--green {
  color: var(--gold-soft);
  background:
    linear-gradient(90deg, rgba(193, 148, 62, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, var(--green-soft), var(--green));
  background-size: 110px 110px, auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 70px;
  align-items: start;
}

.section-heading {
  max-width: 620px;
}

.section-heading h2,
.statutes__intro h2,
.closing h2,
.events h2 {
  color: currentColor;
}

.events h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

.event__link {
  display: inline-block;
  margin-top: 26px;
  color: var(--gold);
  font-weight: 800;
  border-bottom: 1px solid transparent;
}

.event--past .event__link {
  color: var(--ember);
}

.event__link:hover,
.event__link:focus-visible {
  border-color: currentColor;
}

.intro__text {
  display: grid;
  gap: 22px;
  color: rgba(23, 20, 13, 0.82);
  font-size: 1.14rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.principles article {
  min-height: 320px;
  padding: 70px 42px;
  background:
    linear-gradient(180deg, rgba(3, 54, 7, 0.92), rgba(0, 22, 0, 0.96)),
    var(--green-deep);
}

.principles span {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 700;
}

.principles p {
  margin-top: 18px;
  color: rgba(236, 212, 159, 0.78);
}

.events {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.event {
  min-width: 0;
  min-height: 440px;
  padding: 84px 58px;
  background: linear-gradient(145deg, rgba(0, 38, 0, 0.98), rgba(0, 20, 0, 0.98));
}

.event--next {
  border-top: 6px solid var(--gold);
}

.event--past {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244, 236, 217, 0.94), rgba(225, 207, 170, 0.95)),
    var(--paper);
}

.event p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 24px;
  font-size: 1.12rem;
}

.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.event__meta span {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold-soft);
  background: rgba(0, 18, 0, 0.35);
  font-weight: 800;
}

.places {
  display: grid;
  gap: 54px;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.place-grid article {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(123, 46, 25, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 320ms ease, border-color 320ms ease, background-color 320ms ease;
}

.place-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 46, 25, 0.42);
  background: rgba(255, 255, 255, 0.44);
}

.place-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid rgba(123, 46, 25, 0.24);
  background: rgba(123, 46, 25, 0.07);
  color: var(--ember);
}

.place-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.place-grid h3 {
  color: var(--ember);
}

.place-grid p {
  margin-top: auto;
  padding-top: 16px;
  color: rgba(23, 20, 13, 0.74);
}

.statutes {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
  gap: 64px;
}

.statutes__intro {
  position: sticky;
  top: 116px;
  align-self: start;
}

.statutes__intro p:not(.eyebrow) {
  margin-top: 24px;
  color: rgba(236, 212, 159, 0.78);
}

.statutes__intro .button {
  margin-top: 34px;
}

.statute-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 18, 0, 0.48);
}

summary {
  min-height: 64px;
  padding: 20px 22px;
  color: var(--gold-soft);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

details p {
  padding: 0 22px 22px;
  color: rgba(236, 212, 159, 0.76);
}

.closing {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.closing img {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 22px 52px var(--shadow);
}

.closing p:not(.eyebrow) {
  max-width: 790px;
  margin-top: 22px;
  color: rgba(236, 212, 159, 0.82);
  font-size: 1.12rem;
  overflow-wrap: break-word;
}

.gallery {
  display: grid;
  gap: 54px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 18, 0, 0.35);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-open:hover,
.gallery-open:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 18px 38px var(--shadow);
}

.gallery-open img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-item figcaption {
  color: rgba(236, 212, 159, 0.82);
  font-weight: 700;
  font-size: 0.95rem;
}

.partners {
  display: grid;
  gap: 54px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(123, 46, 25, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.28);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ember);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  padding: 22px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(123, 46, 25, 0.16);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.partner-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.partner-role {
  color: rgba(23, 20, 13, 0.7);
  font-weight: 700;
  font-size: 0.92rem;
}

.closing__actions {
  margin-top: 26px;
}

.legal {
  display: grid;
  gap: 40px;
}

.legal .section-heading {
  max-width: 760px;
}

.legal .section-heading h1 {
  max-width: none;
  color: var(--ember);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  text-shadow: none;
}

.legal__text {
  max-width: 760px;
  display: grid;
  gap: 16px;
  color: rgba(23, 20, 13, 0.82);
  font-size: 1.05rem;
}

.legal__text h2 {
  margin-top: 20px;
  color: var(--ember);
  font-size: 1.5rem;
}

.legal__text a {
  color: var(--ember);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.legal__hint {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(123, 46, 25, 0.3);
  border-radius: 8px;
  background: rgba(123, 46, 25, 0.06);
  font-size: 0.95rem;
}

.legal .event__link {
  margin-top: 8px;
  color: var(--ember);
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 12, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  padding: 0 24px;
  color: var(--gold-soft);
  text-align: center;
  font-weight: 700;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 18, 0, 0.6);
  color: var(--gold-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  border-color: var(--gold);
  color: #fff;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 28px max(28px, calc((100vw - var(--max)) / 2));
  color: rgba(236, 212, 159, 0.7);
  background: #001300;
  border-top: 1px solid var(--line);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.site-footer__note {
  color: rgba(236, 212, 159, 0.5);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--gold-soft);
  font-weight: 800;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-ig svg {
  display: block;
}

/* --- Scroll-reveal system ---------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 820ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

/* directional / stylistic variants */
.js [data-reveal="left"] {
  transform: translateX(-42px);
}

.js [data-reveal="right"] {
  transform: translateX(42px);
}

.js [data-reveal="scale"] {
  transform: scale(0.93);
}

.js [data-reveal="blur"] {
  filter: blur(12px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* staggered children: each direct child cascades in (delay set in JS) */
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.js [data-stagger] > *.is-visible {
  opacity: 1;
  transform: none;
}

/* lightweight scroll parallax (offset written by the scroll loop) */
.js [data-parallax] {
  transform: translate3d(0, var(--parallax, 0), 0);
  will-change: transform;
}

@media (max-width: 1000px) {
  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .cask-stage {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 96px;
  }

  .hero__inner,
  .cask {
    grid-column: auto;
  }

  .cask {
    justify-self: center;
    width: min(60vw, 340px);
  }

  .intro,
  .events,
  .statutes {
    grid-template-columns: 1fr;
  }

  .principles,
  .place-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statutes__intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(0, 20, 0, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 40px var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(193, 148, 62, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .cask-stage {
    justify-items: center;
    gap: 20px;
    min-height: auto;
    padding: 40px 20px 52px;
  }

  .hero__lead,
  .intro__text,
  .event p:not(.eyebrow),
  .closing p:not(.eyebrow) {
    font-size: 1rem;
  }

  .cask {
    width: min(74vw, 300px);
  }

  .newsbar__inner {
    padding: 14px 20px;
  }

  .band {
    padding: 72px 20px;
  }

  .principles,
  .place-grid,
  .gallery-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .principles article,
  .event {
    min-height: auto;
    padding: 46px 24px;
  }

  .place-grid article {
    min-height: 0;
  }

  .closing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .brand span {
    white-space: normal;
  }

  .hero__inner {
    max-width: 350px;
  }

  .section-heading,
  .intro__text,
  .statutes__intro,
  .closing > div {
    max-width: 350px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

/* Shorten the cinematic scroll distance on phones so the intro isn't tedious. */
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .js .hero .cask-track {
    height: 250vh;
  }

  /* sit the barrel higher on phones so it isn't floating in dead space */
  .js .hero .cask {
    top: 43%;
  }

  .js .hero .cask-hint {
    bottom: max(18px, 4dvh);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
