/* ==========================================================
   Hues of Wonders — palette sampled from the logo
   ivory paper · bronze-gold monogram & lettering
   + the watercolour feather hues: crimson, violet, blue, teal
   ========================================================== */

/* Registered so the accent can animate as you scroll between hues */
@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #B91A33;
}

:root {
  --ivory: #FBF7EF;
  --paper: #FFFDF8;
  --cream: #F4ECDD;
  --navy: #22253F;
  --navy-soft: #555872;
  --gold: #AD6F2C;
  --gold-light: #DDA862;
  --gold-shine: #F3D79A;
  --gold-deep: #7E4F1E;
  --crimson: #B91A33;
  --violet: #62307F;
  --blue: #175798;
  --teal: #0C8996;
  --line: rgba(173, 111, 44, 0.3);

  --accent: var(--crimson);
  transition: --accent .9s ease;

  --hue-gradient: linear-gradient(120deg, var(--crimson), var(--violet) 38%, var(--blue) 68%, var(--teal));
  --gold-gradient: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep));
  --gold-foil: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 28%, var(--gold-shine) 44%, var(--gold) 58%, var(--gold-deep) 80%, var(--gold) 100%);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-caps: "Cinzel", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(34, 37, 63, 0.35);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain over everything, so the ivory reads as printed stock */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: .28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .3  0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
em, .italic { font-style: italic; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
/* Feathers and ghost letters bleed off the edges; clip them without breaking sticky */
.section, .hero, .page-hero { overflow-x: clip; }
.section--cream { background: var(--cream); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-caps);
  letter-spacing: .3em;
  font-size: .76rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: 1.2rem; color: var(--navy-soft); max-width: 60ch; }
.center .lede { margin-inline: auto; }
.script { font-style: italic; color: var(--gold-deep); }

/* ---------- Gold foil ---------- */
.foil {
  background: var(--gold-foil); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 7s linear infinite;
}
@keyframes foil { from { background-position: 100% 0; } to { background-position: -160% 0; } }

/* Watercolour brush-stroke divider */
.divider {
  height: 22px; max-width: 360px; margin: 1.4rem 0 2.2rem;
  background: url("../assets/art/brush.svg") center / 100% 100% no-repeat;
  position: relative;
}
.center .divider, .divider.center { margin-inline: auto; }
.divider span { display: none; }

/* HUES acrostic tagline */
.hues-tagline { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; }
.hues-tagline b { font-weight: 700; color: var(--crimson); }

/* Drop cap */
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 700;
  font-size: 4.6em; line-height: .8; padding: .08em .12em 0 0;
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 2em;
  border-radius: 999px;
  font-family: var(--font-caps);
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 245, 220, .65), transparent);
  transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-foil); background-size: 220% 100%; color: #fff; box-shadow: 0 12px 26px -12px var(--gold-deep); text-shadow: 0 1px 1px rgba(80, 45, 10, .35); }
.btn--ghost { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn--ghost:hover { background: rgba(173, 111, 44, .08); }
.link-arrow {
  font-family: var(--font-caps); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--accent); display: inline-flex; gap: .6em; align-items: center;
}
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--hue-gradient); transform-origin: 0 50%; transform: scaleX(0);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-name { font-family: var(--font-caps); font-size: 1.05rem; letter-spacing: .08em; color: var(--gold-deep); line-height: 1.1; }
.brand-name small { display: block; font-size: .58rem; letter-spacing: .5em; color: var(--navy-soft); }

.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav a {
  text-decoration: none; padding: .5em .95em; position: relative;
  font-size: .95rem; color: var(--navy); transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .95em; right: .95em; bottom: .25em; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { padding: .65em 1.4em; color: #fff; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 420px; }
  .nav ul { flex-direction: column; padding: 16px; gap: 4px; }
  .nav a { display: block; width: 100%; text-align: center; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Floating feathers ---------- */
.feather {
  position: absolute; pointer-events: none; z-index: 0;
  width: var(--w, 200px); aspect-ratio: 240 / 100;
  background: center / contain no-repeat;
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg));
  opacity: var(--o, .9);
}
.feather > i {
  display: block; width: 100%; height: 100%; background: inherit;
  animation: sway var(--dur, 9s) ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotate(-4deg) translateY(-4px); } to { transform: rotate(5deg) translateY(6px); } }
.feather--crimson { background-image: url("../assets/art/feather-crimson.svg"); }
.feather--violet  { background-image: url("../assets/art/feather-violet.svg"); }
.feather--blue    { background-image: url("../assets/art/feather-blue.svg"); }
.feather--teal    { background-image: url("../assets/art/feather-teal.svg"); }
.feather--mixed   { background-image: url("../assets/art/feather-mixed.svg"); }
.section > .container, .hero > .container, .page-hero > .container { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 8vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line2 { display: block; font-style: italic; font-weight: 500; }
.hero .lede { margin-bottom: 2rem; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Arch frame with an offset gold hairline */
.arch {
  position: relative; border-radius: 999px 999px 18px 18px;
  background: var(--paper); box-shadow: var(--shadow);
}
.arch::after {
  content: ""; position: absolute; inset: -12px 12px 12px -12px;
  border: 1px solid var(--gold); border-radius: inherit; pointer-events: none;
}
.hero-arch { padding: clamp(40px, 6vw, 70px) clamp(22px, 3vw, 36px) clamp(28px, 4vw, 40px); }
.hero-arch img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin: 12px auto 0; }
}

/* ---------- HUES index strip ---------- */
.hues-index { border-block: 1px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.hues-index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hues-index a {
  display: flex; align-items: baseline; gap: 14px; padding: 26px 22px; text-decoration: none;
  border-left: 1px solid var(--line); transition: background .3s;
}
.hues-index li:first-child a { border-left: 0; }
.hues-index a:hover { background: color-mix(in srgb, var(--c) 7%, transparent); }
.hues-index .l { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--c); }
.hues-index .w { font-family: var(--font-display); font-size: 1.35rem; }
.hues-index small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--navy-soft); letter-spacing: .04em; }
@media (max-width: 760px) {
  .hues-index ol { grid-template-columns: repeat(2, 1fr); }
  .hues-index li:nth-child(3) a { border-left: 0; }
  .hues-index li:nth-child(n+3) a { border-top: 1px solid var(--line); }
  .hues-index a { padding: 18px 16px; }
  .hues-index .l { font-size: 2.3rem; }
}

/* ---------- HUES chapter heading ---------- */
.chapter { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.big-letter {
  font-family: var(--font-display); font-weight: 700; line-height: .78;
  font-size: clamp(7rem, 17vw, 14rem);
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 55%, #fff) 0, transparent 55%),
    radial-gradient(circle at 70% 80%, color-mix(in srgb, var(--c2, var(--c)) 85%, #000) 0, transparent 60%),
    var(--c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--c) 25%, transparent));
}
.chapter .eyebrow { color: var(--c); }
.chapter h2 { margin: 0; }
.ch-crimson { --c: var(--crimson); --c2: var(--violet); }
.ch-violet  { --c: var(--violet);  --c2: var(--blue); }
.ch-blue    { --c: var(--blue);    --c2: var(--teal); }
.ch-teal    { --c: var(--teal);    --c2: var(--blue); }
@media (max-width: 560px) { .chapter { grid-template-columns: 1fr; gap: 0; } }

/* Ghost letter behind a section */
.ghost {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 700; line-height: .8;
  font-size: clamp(16rem, 40vw, 34rem);
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c, var(--gold)) 30%, transparent);
  right: -2vw; top: 4%;
}

/* ---------- Editorial split ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.pullquote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.2; margin: 0;
  padding-left: 28px; border-left: 2px solid var(--accent);
}
.editorial .body { padding-top: clamp(0px, 6vw, 80px); }
@media (max-width: 820px) { .editorial { grid-template-columns: 1fr; } .editorial .body { padding-top: 0; } }

/* ---------- Staggered numbered list ---------- */
.staggered { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.staggered li {
  counter-increment: s;
  display: grid; grid-template-columns: 110px 1fr 1.1fr; gap: 28px; align-items: baseline;
  padding: 30px 0; border-top: 1px solid var(--line); position: relative;
  transition: padding-left .35s ease;
}
.staggered li:last-child { border-bottom: 1px solid var(--line); }
.staggered li:nth-child(even) { margin-left: clamp(0px, 8vw, 110px); }
.staggered li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; font-size: 3.2rem; line-height: 1;
  color: var(--h, var(--accent));
}
.staggered li::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--h, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.staggered li:hover { padding-left: 14px; }
.staggered li:hover::after { transform: scaleX(1); }
.staggered h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.staggered p { margin: 0; color: var(--navy-soft); }
@media (max-width: 760px) {
  .staggered li { grid-template-columns: 64px 1fr; gap: 6px 16px; }
  .staggered li::before { font-size: 2.2rem; grid-row: span 2; }
  .staggered li:nth-child(even) { margin-left: 0; }
}

/* ---------- Ticket ---------- */
.ticket {
  display: grid; grid-template-columns: 1.6fr auto 1fr; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); overflow: hidden;
}
.ticket-main { padding: clamp(28px, 4vw, 48px); position: relative; }
.ticket-main::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--hue-gradient);
}
.ticket-main h3 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: .1em 0 .1em; }
.ticket-main .sub { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-deep); margin-bottom: 1.2rem; }
.perforation {
  width: 28px; position: relative;
  background: radial-gradient(circle, var(--ivory) 6px, transparent 6.5px) center / 28px 22px repeat-y;
}
.perforation::before, .perforation::after {
  content: ""; position: absolute; left: 50%; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line); transform: translateX(-50%);
}
.perforation::before { top: -19px; }
.perforation::after { bottom: -19px; }
.ticket-stub {
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--event, var(--blue)) 8%, var(--paper)), var(--paper));
  text-align: center;
}
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.countdown div { display: flex; flex-direction: column; }
.countdown b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--event, var(--blue)); font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--font-caps); font-size: .62rem; letter-spacing: .22em; color: var(--navy-soft); text-transform: uppercase; }
.countdown-label { font-family: var(--font-caps); font-size: .7rem; letter-spacing: .25em; color: var(--gold); text-transform: uppercase; }
.facts { list-style: none; padding: 0; margin: 1rem 0 1.8rem; display: grid; gap: 10px; }
.facts li { display: flex; gap: 14px; align-items: baseline; }
.facts strong { font-family: var(--font-caps); font-size: .7rem; letter-spacing: .2em; color: var(--gold); min-width: 64px; font-weight: 400; }
@media (max-width: 820px) {
  .ticket { grid-template-columns: 1fr; }
  .perforation { width: auto; height: 28px; background: radial-gradient(circle, var(--ivory) 6px, transparent 6.5px) center / 22px 28px repeat-x; }
  .perforation::before { top: 50%; left: -19px; transform: translateY(-50%); }
  .perforation::after { top: 50%; bottom: auto; left: auto; right: -19px; transform: translateY(-50%); }
}

/* ---------- Event lists (rendered from js/events.js) ---------- */
.ticket-stack { display: grid; gap: 40px; }
.event-list { list-style: none; margin: 0; padding: 0; }
.event-row {
  display: grid; grid-template-columns: 170px 1fr 220px; gap: 32px; align-items: start;
  padding: 34px 0; border-top: 1px solid var(--line); position: relative;
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--h); transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.event-row:hover::before { transform: scaleX(1); }
.event-date b { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--h); font-weight: 600; }
.event-date span { font-family: var(--font-caps); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--navy-soft); }
.event-info h3 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.event-info h3 a { text-decoration: none; }
.event-info h3 a:hover { color: var(--h); }
.event-info .sub { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-deep); margin: .1em 0 .6em; }
.event-info p:last-child { color: var(--navy-soft); margin: 0; }
.event-meta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.event-meta span { font-size: .95rem; color: var(--navy-soft); }
.event-row.is-past { opacity: .72; }
.event-row.is-past .event-date b { color: var(--navy-soft); }
@media (max-width: 860px) {
  .event-row { grid-template-columns: 1fr; gap: 14px; }
  .event-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
}
.events-empty { padding: 20px 0; display: grid; gap: 28px; justify-items: start; }

/* ---------- Arched gallery ---------- */
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.arches .arch:nth-child(2) { transform: translateY(-40px); }
.arch-photo { overflow: visible; margin: 0; }
.arch-photo .ph, .arch-photo img {
  aspect-ratio: 3 / 4; width: 100%; object-fit: cover;
  border-radius: inherit; display: grid; place-items: center; color: rgba(255, 255, 255, .85);
}
.arch-photo .ph svg { width: 40px; height: 40px; }
.arch-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff;
  font-family: var(--font-display); font-size: 1.2rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
@media (max-width: 700px) {
  .arches { grid-template-columns: 1fr 1fr; }
  .arches .arch:nth-child(2) { transform: none; }
  .arches .arch:nth-child(3) { display: none; }
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px;
  gap: 26px; grid-auto-flow: dense;
}
.tile {
  position: relative; cursor: zoom-in; border-radius: 16px; grid-row: span 2;
  box-shadow: var(--shadow); margin: 0;
}
.tile::after {
  content: ""; position: absolute; inset: -9px 9px 9px -9px;
  border: 1px solid var(--gold); border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .35s, inset .35s;
}
.tile:hover::after { opacity: 1; }
.tile--arch { border-radius: 999px 999px 16px 16px; grid-row: span 3; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 3; }
.tile .ph, .tile img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.tile .ph svg { width: 38px; height: 38px; }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 16px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(34, 37, 63, .7));
  border-radius: 0 0 16px 16px;
  font-family: var(--font-display); font-size: 1.2rem;
}
.tile[hidden] { display: none; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 20px; } }
@media (max-width: 480px) { .tile--wide { grid-column: span 2; } }

.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; margin-bottom: 44px; }
.filters button {
  font-family: var(--font-display); font-size: 1.25rem;
  padding: .2em 0; border: 0; background: none; color: var(--navy-soft); cursor: pointer; position: relative;
}
.filters button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform .3s;
}
.filters button.active { color: var(--accent); font-style: italic; }
.filters button.active::after, .filters button:hover::after { transform: scaleX(1); }

.lightbox {
  position: fixed; inset: 0; background: rgba(20, 22, 40, .92); z-index: 300;
  display: none; place-items: center; padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox .frame { width: min(900px, 100%); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin: 0; cursor: default; }
.lightbox .frame::after { display: none; }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }
.note {
  background: var(--paper); border: 1px dashed var(--gold); border-radius: 12px;
  padding: 14px 18px; color: var(--navy-soft); font-size: .95rem; max-width: 640px; margin: 0 auto 32px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 10vw, 130px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lede { margin-left: 0; }

/* ---------- Quote band ---------- */
.band { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.band blockquote { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3rem); font-style: italic; margin: 0; max-width: 22ch; line-height: 1.15; }
.band .gold { color: var(--gold-light); }
.band .eyebrow { color: var(--gold-light); }
.band-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.acrostic { list-style: none; padding: 0; margin: 0; }
.acrostic li { display: flex; align-items: baseline; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acrostic .letter {
  font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 700; line-height: .9;
  width: 1.1em; color: var(--hue, var(--gold));
}
.acrostic .word { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; }

/* ---------- MerryVille ---------- */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.day { padding: 8px 0 0 28px; border-left: 2px solid var(--h, var(--gold)); }
.day h3 { margin-bottom: .2em; font-size: 2.2rem; }
.day .when { font-family: var(--font-caps); letter-spacing: .25em; font-size: .72rem; color: var(--h, var(--gold)); }
.day ul { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 12px; }
.day small { color: var(--navy-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.chip {
  padding: .45em 1.1em; border-radius: 999px; font-size: .98rem;
  background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, color .25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Form ---------- */
.signup-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; } }
.form-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow);
  position: relative;
}
.form-wrap::after {
  content: ""; position: absolute; inset: -12px 12px 12px -12px;
  border: 1px solid var(--gold); border-radius: inherit; pointer-events: none; z-index: -1;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-caps); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; color: var(--navy-soft); }
label .req { color: var(--crimson); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--navy);
  padding: .7em 0; border: 0; border-bottom: 1px solid rgba(34, 37, 63, .25); border-radius: 0;
  background: transparent; transition: border-color .2s;
}
select { cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
textarea { min-height: 110px; resize: vertical; }
.field-error { color: var(--crimson); font-size: .85rem; margin-top: 4px; min-height: 1em; }
.form-actions { margin-top: 30px; }
.success { padding: 20px 0; }
.success h2 { background: var(--hue-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(251, 247, 239, .82); padding: 72px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hue-gradient); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-caps); letter-spacing: .2em; font-size: .78rem; color: var(--gold-light); margin: 0 0 14px; font-weight: 400; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand-name { color: var(--gold-light); }
.site-footer .brand-name small { color: rgba(251, 247, 239, .6); }
.footer-bottom { border-top: 1px solid rgba(221, 168, 98, .2); margin-top: 44px; padding-top: 20px; font-size: .88rem; text-align: center; position: relative; z-index: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.arches .arch.reveal.in:nth-child(2) { transform: translateY(-40px); }
@media (max-width: 700px) { .arches .arch.reveal.in:nth-child(2) { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .foil, .feather > i { animation: none; }
  html { scroll-behavior: auto; }
}

.link-arrow.back { margin-bottom: 1.6rem; }
.link-arrow.back::after { content: none; }
.link-arrow.back::before { content: "←"; transition: transform .25s; }
.link-arrow.back:hover::before { transform: translateX(-6px); }
