/* =========================================================
   Odyssey of Sound Alumni Association — site styles
   Colours live in :root below. Green + gold, dark "stage" theme.
   ========================================================= */
:root {
  --bg: #04100a;
  --bg-2: #071a10;
  --bg-3: #0b2417;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0c2217;
  --line: rgba(233, 190, 88, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --ink: #eef4ee;
  --ink-muted: #a7b9ad;
  --ink-faint: #6e8676;
  --gold: #e6b84f;
  --gold-bright: #f7d684;
  --gold-deep: #b88520;
  --green: #1d8a4b;
  --green-bright: #43c27a;
  --green-deep: #0f4d2a;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --glow-gold: 0 0 0 1px rgba(230, 184, 79, 0.35), 0 18px 50px -18px rgba(230, 184, 79, 0.45);
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* faint film grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
::selection { background: var(--gold); color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
  color: #fff;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
h1 em, h2 em, h3 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-muted); max-width: 62ch; }
.muted { color: var(--ink-muted); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 32px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--bg); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(4, 16, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: #fff; background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--gold-bright); background: rgba(230, 184, 79, 0.1); }
.site-nav .nav-cta a {
  margin-left: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1b1405;
  font-weight: 700;
  padding: 9px 18px;
}
.site-nav .nav-cta a:hover { color: #1b1405; box-shadow: var(--glow-gold); }
.site-nav .nav-cta a[aria-current="page"] { color: #1b1405; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--gold-bright);
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: rotate(45deg); background: var(--gold-bright); }
.menu-open .nav-toggle span::after { transform: rotate(-45deg); background: var(--gold-bright); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    height: calc(100dvh - 76px);
    background: rgba(4, 16, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 16px 16px 40px; gap: 4px; }
  .site-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 14px;
  }
  .site-nav .nav-cta a { margin: 16px 0 0; text-align: center; font-family: var(--font-body); font-size: 1.05rem; padding: 14px; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); color: #1b1405; }
.btn-gold:hover { color: #1b1405; box-shadow: var(--glow-gold); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { color: #fff; border-color: var(--gold); background: rgba(230, 184, 79, 0.08); }
.btn-green { background: linear-gradient(135deg, var(--green-bright), var(--green)); color: #03140a; }
.btn-green:hover { color: #03140a; transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(67, 194, 122, 0.7); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(29, 138, 75, 0.45), transparent 70%),
    radial-gradient(40% 40% at 90% 85%, rgba(230, 184, 79, 0.22), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(15, 77, 42, 0.7), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero::after {
  /* stage-light beams */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: conic-gradient(from 160deg at 72% -10%, transparent 0deg, rgba(247, 214, 132, 0.07) 10deg, transparent 22deg, transparent 34deg, rgba(247, 214, 132, 0.05) 44deg, transparent 56deg);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 2em; }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 10px var(--green-bright); }

@media (max-width: 900px) {
  .hero { min-height: 0; padding: 120px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; max-width: 260px; justify-self: start; margin-bottom: -8px; }
}

/* equalizer + rings animation in hero art */
.eq-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: eq 1.6s var(--ease) infinite alternate; }
.eq-bar:nth-child(2) { animation-delay: -0.4s; animation-duration: 1.3s; }
.eq-bar:nth-child(3) { animation-delay: -0.9s; animation-duration: 1.8s; }
.eq-bar:nth-child(4) { animation-delay: -0.2s; animation-duration: 1.2s; }
.eq-bar:nth-child(5) { animation-delay: -1.1s; animation-duration: 1.5s; }
.eq-bar:nth-child(6) { animation-delay: -0.6s; animation-duration: 1.7s; }
.eq-bar:nth-child(7) { animation-delay: -1.3s; animation-duration: 1.4s; }
@keyframes eq { 0% { transform: scaleY(0.35); } 100% { transform: scaleY(1); } }
.ring { transform-box: fill-box; transform-origin: center; animation: ring 6s linear infinite; opacity: 0; }
.ring:nth-of-type(2) { animation-delay: -2s; }
.ring:nth-of-type(3) { animation-delay: -4s; }
@keyframes ring { 0% { transform: scale(0.55); opacity: 0; } 15% { opacity: 0.7; } 100% { transform: scale(1.15); opacity: 0; } }
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Inner page hero ---------------- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(29, 138, 75, 0.4), transparent 70%),
    radial-gradient(30% 50% at 100% 100%, rgba(230, 184, 79, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-hero .wave-lines {
  position: absolute; right: -40px; bottom: -40px; width: min(680px, 60%); opacity: 0.5; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
@media (max-width: 700px) { .page-hero .wave-lines { width: 90%; opacity: 0.3; bottom: -70px; } }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
@media (max-width: 700px) { .page-hero { padding: 124px 0 56px; } }

/* ---------------- Sections ---------------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.section-head.split > div { max-width: 640px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------------- Cards ---------------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card.hover:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 0.9em; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(247, 214, 132, 0.3), rgba(230, 184, 79, 0.06));
  border: 1px solid var(--line);
  color: var(--gold-bright);
  margin-bottom: 20px;
}
.icon-badge svg { width: 24px; height: 24px; }

.num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(67, 194, 122, 0.35);
  color: var(--green-bright);
  background: rgba(67, 194, 122, 0.08);
}
.chip-gold { border-color: rgba(230, 184, 79, 0.4); color: var(--gold-bright); background: rgba(230, 184, 79, 0.08); }

/* ---------------- Placeholders ---------------- */
.ph {
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  background: rgba(230, 184, 79, 0.1);
  border: 1px dashed rgba(230, 184, 79, 0.55);
  border-radius: 6px;
  padding: 0.05em 0.45em;
  -webkit-text-fill-color: var(--gold-bright);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ph-note {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px dashed rgba(230, 184, 79, 0.5);
  background: rgba(230, 184, 79, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.ph-note strong { color: var(--gold-bright); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.ph-note svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.ph-note p { margin: 0; }
.ph-note code { color: var(--gold-bright); }

/* ---------------- Marquee ---------------- */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--ink-muted);
  padding: 0 22px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 44px;
}
.marquee-track span::after { content: "\2726"; color: var(--gold); font-size: 0.6em; }
.marquee-track span:nth-child(odd) { font-style: italic; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Statement + pillars ---------------- */
.statement { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.22; color: #fff; margin-bottom: 0.8em; }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.pillar .num { margin: 6px 0 0; }
.pillar h3 { margin-bottom: 0.2em; }
.pillar p { margin: 0; color: var(--ink-muted); }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--gold-bright); margin-bottom: 10px; }
.stat-label { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); } .stat:last-child { border-bottom: 0; } }

/* ---------------- Director spotlight ---------------- */
.spotlight { position: relative; }
.portrait {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-width: 460px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 16, 10, 0.85)); }
.portrait-tag {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.portrait-tag .name { font-family: var(--font-display); font-size: 1.45rem; color: #fff; line-height: 1.1; }
.portrait-tag .role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.portrait-year {
  font-family: var(--font-mono); font-size: 0.75rem; color: #1b1405;
  background: var(--gold); padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.portrait-wrap { position: relative; }
.portrait-wrap::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 60%; height: 60%;
  border: 1px solid var(--line); border-radius: 28px; z-index: -1;
}
blockquote.pull {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-style: italic;
  line-height: 1.35;
  color: #fff;
}
blockquote.pull cite { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------------- Events ---------------- */
.event-card { display: flex; flex-direction: column; height: 100%; }
.event-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.date-block {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 74px; padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(230, 184, 79, 0.07);
  text-align: center;
}
.date-block .m { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.date-block .ph, .big-date .ph { border: 0; background: none; padding: 0; font-size: inherit; color: inherit; -webkit-text-fill-color: currentColor; }
.date-block .d .ph { font-size: 0.8em; color: var(--gold-bright); }
.big-date .d .ph { font-size: 0.5em; color: var(--gold-bright); }
.date-block .d { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; color: #fff; }
.details { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 0.93rem; color: var(--ink-muted); }
.details li { display: flex; gap: 10px; align-items: center; }
.details svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 16px; }
.event-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.feature-event {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(230, 184, 79, 0.22), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(29, 138, 75, 0.35), transparent 70%),
    var(--surface-solid);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
  margin-bottom: 48px;
}
.feature-event .big-date { text-align: center; border-left: 1px solid var(--line); padding-left: 32px; }
.feature-event .big-date .d { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 7rem); line-height: 0.9; color: var(--gold-bright); }
.feature-event .big-date .m { font-family: var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 760px) {
  .feature-event { grid-template-columns: 1fr; }
  .feature-event .big-date { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; text-align: left; }
}

.list-rows { border-top: 1px solid var(--line-soft); }
.list-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line-soft); }
.list-row .when { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold); }
.list-row h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin: 0; }
@media (max-width: 640px) { .list-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------------- Timeline ---------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--gold), rgba(230, 184, 79, 0.1)); }
.timeline li { position: relative; padding: 0 0 34px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(230, 184, 79, 0.12);
}
.timeline li.key::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(230, 184, 79, 0.18), 0 0 22px rgba(230, 184, 79, 0.6); }
.timeline .year { font-family: var(--font-display); font-size: 1.7rem; color: #fff; line-height: 1.1; display: block; margin-bottom: 4px; }
.timeline p { color: var(--ink-muted); margin: 0; }

/* ---------------- People ---------------- */
.person { text-align: left; }
.person .avatar {
  width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin-bottom: 18px;
  border: 1px solid var(--line-soft);
}
.person .avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.person:hover .avatar img { transform: scale(1.04); }
.person .role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.person h3 { font-size: 1.3rem; }

/* ---------------- Tiers ---------------- */
.tier { display: flex; flex-direction: column; }
.tier .price { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: #fff; margin: 10px 0 18px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; color: var(--ink-muted); font-size: 0.95rem; }
.tier li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green-bright); margin-top: 3px; }
.tier.featured {
  border-color: rgba(230, 184, 79, 0.5);
  background: radial-gradient(90% 60% at 50% 0%, rgba(230, 184, 79, 0.16), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--glow-gold);
}
.tier .chip { align-self: flex-start; margin-bottom: 14px; }

/* ---------------- Forms ---------------- */
.panel {
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: clamp(22px, 4vw, 44px);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label, .legend { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 8px; letter-spacing: 0.01em; }
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230, 184, 79, 0.15); background: rgba(0, 0, 0, 0.35); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6b84f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
select option { background: var(--surface-solid); color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.checks { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }
.check {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.2);
  font-size: 0.95rem; font-weight: 500; color: var(--ink); cursor: pointer; margin: 0;
  transition: border-color 0.2s, background 0.2s;
}
.check:hover { border-color: var(--line); }
.check input { width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 18px; padding: 0; }
.check:has(input:checked) { border-color: var(--gold); background: rgba(230, 184, 79, 0.08); }
.form-status { margin: 14px 0 0; color: var(--green-bright); font-size: 0.95rem; min-height: 1.2em; }
.form-note { font-size: 0.88rem; color: var(--ink-faint); }

.perk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.perk-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.perk-list .icon-badge { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.perk-list .icon-badge svg { width: 20px; height: 20px; }
.perk-list h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 2px; }
.perk-list p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* ---------------- Gallery ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-size: 0.9rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-soft); background: var(--surface); color: var(--ink-muted);
  transition: all 0.2s;
}
.filters button:hover { color: #fff; border-color: var(--line); }
.filters button.active { background: var(--gold); border-color: var(--gold); color: #1b1405; }
.masonry { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; }
.masonry figure {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line-soft); background: var(--surface-solid);
}
.masonry figure.tall { grid-row: span 2; }
.masonry figure.wide { grid-column: span 2; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.4s; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 10, 0.92));
  font-size: 0.9rem; color: #fff;
  transform: translateY(8px); opacity: 0.92; transition: transform 0.3s var(--ease), opacity 0.3s;
}
.masonry figure:hover figcaption { transform: none; opacity: 1; }
.masonry figure.hide { display: none; }
@media (max-width: 1000px) { .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px;
  background: rgba(2, 8, 5, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); }
.lightbox img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { text-align: center; color: var(--ink-muted); margin-top: 14px; }
.lightbox button {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2); color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* ---------------- News ---------------- */
.post-feature {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; overflow: hidden; padding: 0;
  border-radius: 24px; margin-bottom: 40px;
}
.post-feature .cover { min-height: 300px; }
.post-feature .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 800px) { .post-feature { grid-template-columns: 1fr; } .post-feature .cover { min-height: 220px; } }
.post .meta, .post-feature .meta { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-faint); margin: 14px 0 12px; }
.post h3 { margin-top: 14px; }
.post-feature h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 14px; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(230, 184, 79, 0.28), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(29, 138, 75, 0.45), transparent 60%),
    var(--surface-solid);
  text-align: center;
}
.cta h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta p { max-width: 56ch; margin-left: auto; margin-right: auto; color: var(--ink-muted); margin-bottom: 2em; }
.cta .btn-row { justify-content: center; }
.cta .cta-eq { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; height: 110px; opacity: 0.22; z-index: -1; }

/* ---------------- Contact ---------------- */
.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); }
.contact-item .icon-badge { width: 48px; height: 48px; margin: 0; }
.contact-item .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.contact-item .v { color: var(--ink); overflow-wrap: anywhere; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); padding: 72px 0 28px; background: linear-gradient(180deg, var(--bg), #020804); }
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, calc((100vw - 64px) / 7.6), 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(230, 184, 79, 0.28);
  margin: 0 0 48px;
  white-space: nowrap;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:not(.btn) { color: var(--ink-muted); text-decoration: none; }
.footer-grid a:not(.btn):hover { color: #fff; }
.footer-grid p { color: var(--ink-muted); font-size: 0.95rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--ink-faint); }

/* ---------------- Reveal on scroll ---------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

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

.section-cta { padding-top: clamp(24px, 4vw, 48px); }
@media (max-width: 700px) { .portrait { max-width: 360px; } }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }
