:root {
  --black: #0a0506;
  --ink: #120809;
  --burgundy-deep: #2a0610;
  --burgundy: #6d0f24;
  --burgundy-bright: #8f1731;
  --gold-dark: #8a6a1c;
  --gold: #d4af37;
  --gold-light: #f6e27a;
  --gold-pale: #fff6cf;
  --cream: #e9d9a6;
  --line: rgba(212, 175, 55, .35);
  --foil: linear-gradient(100deg,
    #8a6a1c 0%, #d4af37 18%, #fff6cf 32%, #d4af37 46%,
    #8a6a1c 60%, #f6e27a 76%, #d4af37 88%, #8a6a1c 100%);
  --display: "Cinzel Decorative", "Cinzel", serif;
  --caps: "Cinzel", serif;
  --body: "Cormorant Garamond", Georgia, serif;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

[hidden] { display: none !important; }
.sprite { position: absolute; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px; background: var(--gold); color: var(--black);
  font-family: var(--caps); font-size: .8rem; letter-spacing: .1em;
}
.skip-link:focus { top: 12px; }

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

.foil {
  background: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

/* ================= Header ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgba(10, 5, 6, .92);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--caps); font-size: .95rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold);
}
.brand svg { width: 34px; height: auto; }
.brand b { color: var(--gold-light); }

.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); }
.site-nav a {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  font-family: var(--caps); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream);
  transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--gold-light); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.nav-cta {
  padding: 8px 18px; border: 1px solid var(--gold); color: var(--gold-light);
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle i { display: block; width: 20px; height: 2px; background: var(--gold); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 5, 6, .97);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility .35s;
  }
  .site-nav.is-open { max-height: 80vh; visibility: visible; overflow-y: auto; }
  .site-nav a { width: 100%; padding: 16px 24px; text-align: center; font-size: .85rem; border-top: 1px solid rgba(212, 175, 55, .12); }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { border: 0; border-top: 1px solid rgba(212, 175, 55, .12); padding: 16px 24px; }
}

/* ================= Hero ================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 56px) 24px 72px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(143, 23, 49, .55) 0%, rgba(109, 15, 36, .35) 35%, transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 110%, rgba(109, 15, 36, .5) 0%, transparent 60%),
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(42, 6, 16, .9) 0%, transparent 60%),
    var(--black);
}
.hero-bg::before, .section-burgundy::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='160' viewBox='0 0 120 160'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.2'%3E%3Cpath d='M60 10c18 22 30 38 30 58s-12 34-30 52c-18-18-30-32-30-52s12-36 30-58z'/%3E%3Cpath d='M60 38c9 11 14 20 14 30s-5 18-14 27c-9-9-14-17-14-27s5-19 14-30z'/%3E%3Cpath d='M0 90c9 11 15 19 15 29s-6 17-15 26M120 90c-9 11-15 19-15 29s6 17 15 26'/%3E%3Ccircle cx='60' cy='140' r='4'/%3E%3Ccircle cx='0' cy='60' r='4'/%3E%3Ccircle cx='120' cy='60' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 160px;
}
.hero-bg::before {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .85) 100%);
}
.rays {
  position: absolute; left: 50%; top: 46%;
  width: 160vmax; height: 160vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(212, 175, 55, .085) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 42%);
          mask-image: radial-gradient(circle, #000 0%, transparent 42%);
  animation: spin 140s linear infinite;
  pointer-events: none;
}
#sparkles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.frame {
  position: absolute; inset: clamp(10px, 2.2vw, 28px);
  top: calc(var(--header-h) + 6px);
  border: 1px solid rgba(212, 175, 55, .55);
  pointer-events: none;
}
.frame::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212, 175, 55, .22); }
.corner {
  position: absolute;
  width: clamp(34px, 6vw, 72px); height: clamp(34px, 6vw, 72px);
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, .5));
}
.corner.tl { top: -1px; left: -1px; }
.corner.tr { top: -1px; right: -1px; transform: scaleX(-1); }
.corner.bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.corner.br { bottom: -1px; right: -1px; transform: scale(-1); }

.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  width: 100%; max-width: 1200px;
}
.hero-text { display: flex; flex-direction: column; align-items: center; }

.portrait {
  flex: 0 0 auto;
  width: clamp(220px, 30vw, 380px);
  aspect-ratio: 3 / 4;
  padding: 10px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(10, 5, 6, .9), 0 0 0 7px var(--line), 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(212, 175, 55, .2);
  background: linear-gradient(160deg, var(--burgundy), var(--burgundy-deep));
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.crown {
  width: clamp(64px, 10vw, 104px); height: auto;
  filter: drop-shadow(0 0 14px rgba(246, 226, 122, .55)) drop-shadow(0 6px 10px rgba(0, 0, 0, .6));
  animation: float 6s ease-in-out infinite;
}
.eyebrow, .kicker {
  font-family: var(--caps);
  font-size: clamp(.62rem, 1.4vw, .82rem);
  letter-spacing: .5em; padding-left: .5em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow { margin-top: clamp(12px, 2vw, 20px); }

h1 { margin-top: clamp(8px, 1.6vw, 16px); font-family: var(--display); font-weight: 900; line-height: .95; }
h1 .line {
  display: block;
  font-size: clamp(1.9rem, 7.4vw, 4.8rem);
  letter-spacing: .1em; padding-left: .1em;
  filter: drop-shadow(0 3px 0 rgba(42, 6, 16, .9)) drop-shadow(0 0 22px rgba(212, 175, 55, .35));
}
h1 .fifty {
  display: block; position: relative;
  margin-top: .04em;
  font-size: clamp(6.5rem, 27vw, 15rem);
  line-height: .86; letter-spacing: .02em;
  filter: drop-shadow(0 6px 0 rgba(42, 6, 16, .95)) drop-shadow(0 0 46px rgba(246, 226, 122, .45));
  animation: glow 4.5s ease-in-out infinite;
}
.has-portrait h1 .line { font-size: clamp(1.9rem, 5vw, 3.8rem); }
.has-portrait h1 .fifty { font-size: clamp(6.5rem, 18vw, 12rem); }

.glint {
  position: absolute;
  width: clamp(22px, 4.4vw, 50px); height: clamp(22px, 4.4vw, 50px);
  background: radial-gradient(circle, #fff 0%, rgba(255, 246, 207, .9) 12%, transparent 60%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0c3 32 15 47 50 50-35 3-47 18-50 50-3-32-15-47-50-50 35-3 47-18 50-50z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0c3 32 15 47 50 50-35 3-47 18-50 50-3-32-15-47-50-50 35-3 47-18 50-50z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
  pointer-events: none;
}
.glint.g1 { top: 6%; left: 14%; animation-delay: .4s; }
.glint.g2 { top: 22%; right: 8%; animation-delay: 1.9s; }
.glint.g3 { bottom: 14%; left: 44%; animation-delay: 3.1s; }

.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: min(420px, 78vw);
  margin: clamp(16px, 2.6vw, 28px) auto 0;
}
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 60%, var(--gold-light)); }
.divider span:last-child { transform: scaleX(-1); }
.divider svg { width: 20px; height: 20px; color: var(--gold-light); filter: drop-shadow(0 0 6px rgba(246, 226, 122, .7)); }

.tagline {
  margin-top: clamp(14px, 2.4vw, 22px);
  max-width: 32ch;
  font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.4;
}
.hero-date {
  margin-top: 14px;
  font-family: var(--caps); font-size: clamp(.78rem, 1.8vw, 1rem);
  letter-spacing: .3em; padding-left: .3em; text-transform: uppercase;
  color: var(--gold-light);
}
.hero-access {
  margin-top: 12px; padding: 7px 16px;
  font-family: var(--caps); font-size: clamp(.62rem, 1.4vw, .76rem);
  letter-spacing: .22em; text-indent: .22em; text-transform: uppercase;
  color: var(--gold-pale);
  border: 1px solid var(--line); background: rgba(10, 5, 6, .55);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(20px, 3vw, 32px); }

/* ================= Buttons ================= */
.btn {
  position: relative; display: inline-block; overflow: hidden;
  padding: 14px 34px;
  font-family: var(--caps); font-weight: 600; font-size: .85rem;
  letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-gold {
  color: var(--black);
  background: linear-gradient(135deg, #f6e27a, #d4af37 45%, #8a6a1c);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 246, 207, .6);
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  animation: sweep 5s ease-in-out infinite;
}
.btn-ghost { color: var(--gold-light); background: rgba(42, 6, 16, .6); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .6), 0 0 24px rgba(212, 175, 55, .35); }
.btn-ghost:hover { background: var(--burgundy); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ================= Sections ================= */
.section { position: relative; padding: clamp(64px, 10vw, 120px) 20px; }
.section-burgundy {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(143, 23, 49, .45), transparent 70%),
    linear-gradient(180deg, var(--burgundy-deep), #1a0409);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wrap { position: relative; max-width: 1120px; margin: 0 auto; }
.wrap.narrow { max-width: 680px; }

.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
  margin-top: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 5.4vw, 3.4rem); line-height: 1.1;
}
.lede { margin-top: 18px; font-style: italic; font-size: 1.3rem; }
.host-name {
  margin-top: 8px;
  font-family: var(--caps); font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.8rem); line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-pale);
}
.note { text-align: center; font-style: italic; margin-top: 24px; }
.text-link { color: var(--gold-light); text-underline-offset: 4px; }
.text-link:hover { color: var(--gold-pale); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 20px);
  max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px);
}
.countdown div {
  padding: clamp(14px, 3vw, 28px) 6px;
  text-align: center;
  background: linear-gradient(180deg, rgba(143, 23, 49, .6), rgba(42, 6, 16, .8));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 246, 207, .15), 0 14px 30px rgba(0, 0, 0, .5);
}
.countdown b {
  display: block;
  font-family: var(--caps); font-weight: 800;
  font-size: clamp(1.8rem, 7vw, 3.6rem); line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(246, 226, 122, .4);
}
.countdown span {
  display: block; margin-top: 8px;
  font-family: var(--caps); font-size: clamp(.55rem, 1.4vw, .72rem);
  letter-spacing: .25em; text-transform: uppercase; color: var(--gold);
}
.countdown-pending, .countdown-done {
  text-align: center; font-style: italic; font-size: 1.3rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* Cards */
.cards { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card, .panel {
  position: relative;
  padding: clamp(24px, 3.4vw, 38px);
  background: linear-gradient(180deg, rgba(42, 6, 16, .75), rgba(18, 8, 9, .9));
  border: 1px solid var(--line);
  box-shadow: 0 0 0 5px rgba(10, 5, 6, .6), 0 0 0 6px rgba(212, 175, 55, .14), 0 20px 50px rgba(0, 0, 0, .5);
}
.section-burgundy .card, .section-burgundy .panel {
  background: linear-gradient(180deg, rgba(10, 5, 6, .72), rgba(10, 5, 6, .9));
}
.card { text-align: center; }
.card h3, .programme h3, .course h3, .chapter-card h3 {
  font-family: var(--caps); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light);
}
.card h3 { font-size: .9rem; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-lead { font-size: 1.45rem; font-weight: 500; color: var(--gold-pale); line-height: 1.3; }
.card p + p { margin-top: 6px; }
.plain-list li + li { margin-top: 14px; }
.plain-list span { display: block; font-size: 1.05rem; font-style: italic; }

/* Entry notice */
.access-notice {
  max-width: 640px; margin: clamp(32px, 5vw, 48px) auto;
  padding: clamp(22px, 3.4vw, 34px) clamp(20px, 4vw, 40px);
  text-align: center;
  background: linear-gradient(180deg, rgba(143, 23, 49, .55), rgba(42, 6, 16, .85));
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(10, 5, 6, .7), 0 0 0 6px var(--line), 0 0 40px rgba(212, 175, 55, .18);
}
.access-notice svg { width: 20px; height: 20px; color: var(--gold-light); }
.access-notice h3 {
  margin: 6px 0 12px;
  font-family: var(--caps); font-weight: 800; font-size: clamp(1rem, 2.6vw, 1.3rem);
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
}
.access-notice p { font-size: 1.25rem; color: var(--gold-pale); }
.access-notice p:last-child { margin-top: 6px; font-family: var(--caps); font-weight: 600; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }

/* Programme */
.programme { max-width: 640px; margin: clamp(40px, 6vw, 64px) auto 0; }
.programme h3 { text-align: center; font-size: 1rem; margin-bottom: 22px; }
.programme li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; }
.programme .time { flex: 0 0 5.5em; font-family: var(--caps); font-size: .85rem; letter-spacing: .12em; color: var(--gold); }
.programme .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.programme .what { font-size: 1.3rem; color: var(--gold-pale); text-align: right; }

/* Timeline */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
}
.chapter { position: relative; width: 50%; padding: 0 clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px) 0; }
.chapter:nth-child(even) { margin-left: 50%; padding: 0 0 clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px); }
.medal {
  position: absolute; top: 0; right: -27px; z-index: 1;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-family: var(--caps); font-weight: 800; font-size: 1rem; color: var(--black);
  background: radial-gradient(circle at 30% 30%, #fff6cf, #d4af37 45%, #8a6a1c);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--burgundy-deep), 0 0 0 5px var(--gold), 0 0 24px rgba(246, 226, 122, .45);
}
.chapter:nth-child(even) .medal { right: auto; left: -27px; }
.chapter-card {
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(180deg, rgba(10, 5, 6, .72), rgba(10, 5, 6, .9));
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.chapter-card img, .photo-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; border: 1px solid var(--line); }
.photo-placeholder, .tile.is-empty {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(212, 175, 55, .05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--burgundy), var(--burgundy-deep));
}
.photo-placeholder svg, .tile.is-empty svg { width: 30%; max-width: 90px; opacity: .55; }
.chapter-card .kicker { font-size: .68rem; letter-spacing: .3em; padding-left: 0; }
.chapter-card h3 { font-size: 1.1rem; margin: 6px 0 10px; }

/* Stagger the two columns so the timeline reads as one flowing line */
@media (min-width: 761px) {
  .chapter + .chapter { margin-top: -150px; }
}
@media (max-width: 760px) {
  .timeline::before { left: 27px; }
  .chapter, .chapter:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 72px; }
  .medal, .chapter:nth-child(even) .medal { left: 0; right: auto; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.tile {
  position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden;
  background: var(--burgundy-deep);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.tile.is-empty { cursor: default; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s ease, filter .6s ease; }
.tile:hover img { transform: scale(1.07); filter: brightness(1.1); }
.tile::after {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212, 175, 55, .0);
  transition: border-color .3s; pointer-events: none;
}
.tile:hover::after { border-color: rgba(246, 226, 122, .8); }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 56px 16px;
  background: rgba(5, 2, 3, .95);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(100%, 1200px); max-height: 100%; object-fit: contain;
  border: 1px solid var(--gold);
  box-shadow: 0 0 60px rgba(212, 175, 55, .25);
}
.lightbox button {
  position: absolute; width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(42, 6, 16, .8); border: 1px solid var(--gold); color: var(--gold-light);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--burgundy); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

.sub-head {
  margin: clamp(28px, 4vw, 44px) 0 18px; text-align: center;
  font-family: var(--caps); font-weight: 600; font-size: 1rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light);
}
.sub-head:first-of-type { margin-top: 0; }
.shot-by {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  font-family: var(--body); font-style: italic; font-size: 1rem; text-align: left; color: var(--gold-pale);
  background: linear-gradient(180deg, transparent, rgba(5, 2, 3, .88));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  pointer-events: none;
}
.clip { position: relative; margin: 0; background: #000; border: 1px solid var(--line); }
.clip video { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.clip .shot-by { position: static; background: none; padding: 6px 10px; }
#guest-photos:empty { display: none; }
.form-title {
  text-align: center; font-family: var(--caps); font-weight: 600; font-size: 1rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light);
}
.field input[type="file"] {
  width: 100%; padding: 12px; font-family: var(--body); font-size: 1.05rem; color: var(--cream);
  background: rgba(10, 5, 6, .7); border: 1px dashed var(--gold);
}
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; cursor: pointer;
  font-family: var(--caps); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--black); background: var(--gold); border: 0;
}

/* The older album, tucked away until opened */
.memories {
  max-width: 860px; margin: clamp(40px, 6vw, 64px) auto 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 6, 16, .55), rgba(18, 8, 9, .8));
}
.memories summary {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px;
  padding: 16px 20px; cursor: pointer; list-style: none;
}
.memories summary::-webkit-details-marker { display: none; }
.memories summary::after {
  content: "+"; margin-left: auto; font-family: var(--caps); font-size: 1.3rem; line-height: 1; color: var(--gold-light);
}
.memories[open] summary::after { content: "\2212"; }
.memories-title { font-family: var(--caps); font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.memories-count { font-style: italic; font-size: 1.05rem; }
.gallery-small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; padding: 0 20px 20px; }
.lb-caption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-style: italic; font-size: 1.15rem; color: var(--gold-pale);
}

/* Menu */
.menu-card {
  position: relative;
  max-width: 720px; margin: 0 auto;
  padding: clamp(40px, 7vw, 76px) clamp(22px, 6vw, 64px);
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 5, 6, .8), rgba(10, 5, 6, .94));
  border: 1px solid var(--gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}
.course + .course { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.course h3 { font-size: 1.05rem; margin-bottom: 14px; }
.course li + li { margin-top: 12px; }
.dish { display: block; font-size: 1.4rem; color: var(--gold-pale); }
.dish-note { display: block; font-style: italic; font-size: 1.08rem; }

/* Forms */
.form { display: grid; gap: 20px; }
.narrow-form { max-width: 680px; margin: clamp(32px, 5vw, 48px) auto 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { border: 0; min-width: 0; }
.field label, .field legend {
  display: block; margin-bottom: 8px;
  font-family: var(--caps); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.field small { letter-spacing: .1em; opacity: .7; text-transform: none; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font-family: var(--body); font-size: 1.2rem; color: var(--gold-pale);
  background: rgba(10, 5, 6, .7);
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(212, 175, 55, .2);
}
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.choice legend { grid-column: 1 / -1; }
.choice label { margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 14px 10px; text-align: center;
  border: 1px solid var(--line); background: rgba(10, 5, 6, .7);
  transition: background .2s, color .2s, border-color .2s;
}
.choice input:checked + span { background: linear-gradient(135deg, #f6e27a, #d4af37 45%, #8a6a1c); color: var(--black); border-color: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: center; }
.form-hint { text-align: center; font-style: italic; font-size: 1.05rem; opacity: .8; }
.form-status { padding: 14px 16px; text-align: center; border: 1px solid var(--line); }
.form-status[hidden] { display: none; }
.form-status.is-ok { border-color: var(--gold); color: var(--gold-pale); background: rgba(212, 175, 55, .12); }
.form-status.is-error { border-color: #d98a8a; color: #ffd9d9; background: rgba(143, 23, 49, .45); }

/* Wishes */
.wishes { columns: 3 280px; column-gap: clamp(16px, 2.4vw, 28px); }
.wish {
  break-inside: avoid; margin-bottom: clamp(16px, 2.4vw, 28px);
  padding: 26px 26px 22px;
  background: linear-gradient(180deg, rgba(42, 6, 16, .75), rgba(18, 8, 9, .9));
  border: 1px solid var(--line);
}
.wish blockquote { font-style: italic; font-size: 1.25rem; color: var(--gold-pale); overflow-wrap: anywhere; }
.wish blockquote::before { content: "\201C"; display: block; height: .5em; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--gold); }
.wish figcaption {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--caps); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  overflow-wrap: anywhere;
}

/* Gifts */
.gifts { text-align: center; }
.gifts .lede { margin-top: 0; }
.gifts dl { margin-top: 24px; display: grid; gap: 16px; }
.gifts dt { font-family: var(--caps); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.gifts dd { font-size: 1.3rem; color: var(--gold-pale); overflow-wrap: anywhere; }

/* Footer */
.site-footer { padding: 56px 20px 64px; text-align: center; border-top: 1px solid var(--line); }
.site-footer svg { width: 54px; margin: 0 auto 12px; }
.site-footer .foil { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.site-footer .small { margin-top: 8px; font-family: var(--caps); font-size: .68rem; letter-spacing: .35em; text-transform: uppercase; color: rgba(212, 175, 55, .6); }

@media (max-width: 860px) {
  .hero-inner { flex-direction: column; }
  .portrait { width: min(62vw, 280px); }
}

@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes spin    { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float   { 50% { transform: translateY(-7px); } }
@keyframes sweep   { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes twinkle {
  0%, 70%, 100% { opacity: 0; scale: .2; rotate: 0deg; }
  82%           { opacity: 1; scale: 1;  rotate: 45deg; }
}
@keyframes glow {
  50% { filter: drop-shadow(0 6px 0 rgba(42, 6, 16, .95)) drop-shadow(0 0 70px rgba(246, 226, 122, .75)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .glint { opacity: .9; }
}
