/* ============================================================
   PRESTIGE EVENTS — Site Styles
   Single-page editorial site. Uses tokens.css.
   ============================================================ */

/* ---------- Direction wrappers ----------
   JS mirrors the user's system color scheme onto data-dir so the
   whole canvas follows iOS, macOS, Windows, and browser preferences. */
[data-dir="dark"]  { color-scheme: dark only; }
[data-dir="light"] { color-scheme: light only; }

/* Keep native form fields aligned with the resolved system direction. */
[data-dir="dark"] input,
[data-dir="dark"] select,
[data-dir="dark"] textarea {
  background-color: transparent;
  color: var(--color-warm-ivory);
}
[data-dir="dark"] select option { background: #131211; color: #F4EFE6; }

[data-dir="light"] input,
[data-dir="light"] select,
[data-dir="light"] textarea {
  background-color: transparent;
  color: var(--color-prestige-black);
}
[data-dir="light"] select option { background: #FBF8F2; color: #0B0B0A; }

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { transition: background var(--dur-cinematic) var(--ease-cinematic), color var(--dur-cinematic) var(--ease-cinematic); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--bg); }

.shell { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   BUTTONS (site)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-weight: 500; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: all 200ms var(--ease-soft);
  background: transparent; color: var(--fg);
  border-radius: 0;
}
.btn--primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--secondary { color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent); color: var(--bg); }
.btn--ghost { color: var(--fg); border-color: var(--rule); }
.btn--ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn__arrow { width: 14px; height: 1px; background: currentColor; position: relative; }
.btn__arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid; place-items: center;
  text-align: center;
  padding: clamp(64px, 9vh, 96px) var(--gutter) 80px;
  position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 50% 50%, rgba(215,181,109,0.18), transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(215,181,109,0.08), transparent 70%);
  pointer-events: none;
}
[data-dir="light"] .hero__bg {
  background:
    radial-gradient(60% 40% at 50% 70%, rgba(184,145,75,0.10), transparent 70%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: 1100px; }
.hero__eyebrow { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 16px; }
.hero__eyebrow span { width: 24px; height: 1px; background: var(--accent); }
.hero__monogram { width: clamp(120px, 14vw, 200px); opacity: 0.95; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 156px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub { color: var(--fg-muted); max-width: 56ch; font-size: 17px; line-height: 1.65; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.hero__meta {
  position: absolute; bottom: 40px; left: 0; right: 0;
  display: flex; justify-content: space-between; padding: 0 var(--gutter);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-muted);
}
.hero__meta-item { display: flex; align-items: center; gap: 10px; }
.hero__meta-item::before { content: ""; width: 4px; height: 4px; background: var(--accent); transform: rotate(45deg); }
.hero__scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-muted);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollPulse 2.6s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 700px) { .hero__meta { display: none; } }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section { padding: 160px 0; position: relative; }
.section--tight { padding: 100px 0; }
.section--alt {
  background: var(--bg-alt);
  color: var(--fg-alt);
}
.section--alt { --bg: var(--bg-alt); --fg: var(--fg-alt); --fg-muted: var(--fg-alt-muted); }

.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 96px; align-items: end;
  margin-bottom: 80px;
}
.section-head__num {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-head__num::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.section-head__title {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.05; letter-spacing: -0.01em;
}
.section-head__title em { font-style: italic; color: var(--accent); }
.section-head__lede { color: var(--fg-muted); font-size: 18px; line-height: 1.65; max-width: 56ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  text-align: center;
  padding: 200px var(--gutter);
  border-top: 1px solid var(--rule-faint);
  border-bottom: 1px solid var(--rule-faint);
}
.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  max-width: 22ch;
  margin: 0 auto;
}
.manifesto__quote em { font-style: italic; color: var(--accent); }
.manifesto__byline {
  margin-top: 64px;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-muted);
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.manifesto__byline span { width: 24px; height: 1px; background: var(--accent); }

/* ============================================================
   FEATURED EVENT
   ============================================================ */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1000px) { .featured { grid-template-columns: 1fr; gap: 48px; } }
.featured__media {
  aspect-ratio: 4/5;
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(215,181,109,0.35), transparent 60%),
    radial-gradient(60% 40% at 80% 90%, rgba(184,145,75,0.18), transparent 70%),
    linear-gradient(160deg, #1a1916 0%, #0B0B0A 100%);
  border: 1px solid rgba(215,181,109,0.3);
}
.featured__media::after {
  content: ""; position: absolute; inset: 24px;
  border: 1px solid rgba(215,181,109,0.2);
  pointer-events: none;
}
.featured__media-mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 220px; color: rgba(215,181,109,0.6);
  letter-spacing: -0.04em;
}
.featured__date-stamp {
  position: absolute; top: 40px; left: 40px; right: 40px;
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-warm-ivory);
}
.featured__body { display: flex; flex-direction: column; gap: 28px; }
.featured__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: start;
  padding: 6px 14px; border: 1px solid var(--rule);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
}
.featured__tag::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.featured__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 6vw, 96px); line-height: 0.98;
  letter-spacing: -0.015em;
}
.featured__title em { font-style: italic; color: var(--accent); }
.featured__sub { color: var(--fg-muted); font-size: 18px; line-height: 1.65; max-width: 50ch; }
.featured__details {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-faint);
  border-bottom: 1px solid var(--rule-faint);
}
.featured__detail-label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 6px; }
.featured__detail-value { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--accent); }
.featured__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   SERIES CHAIN
   ============================================================ */
.series {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
}
@media (max-width: 1100px) { .series { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .series { grid-template-columns: 1fr; } }

.series-card {
  position: relative;
  padding: 48px 28px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: center; align-items: center; gap: 32px;
  min-height: 520px;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--dur-cinematic) var(--ease-cinematic);
}
.series-card[data-active="true"] { z-index: 2; }
.series-card__top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.series-card__monogram { width: 40px; opacity: 0.7; transition: opacity var(--dur-cinematic); }
.series-card[data-active="true"] .series-card__monogram { opacity: 1; }
.series-card__parent { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.6; }
.series-card__name {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 4vw, 64px); line-height: 0.95;
  transition: transform var(--dur-cinematic) var(--ease-cinematic);
}
.series-card[data-active="true"] .series-card__name { transform: translateY(-4px); }
.series-card__role { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.75; }
.series-card__count {
  font-family: var(--font-display); font-style: italic; font-size: 14px;
  opacity: 0.65;
}
.series-card__chips { display: flex; gap: 4px; }
.series-card__chips > div { width: 22px; height: 4px; }

.series-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  display: flex; align-items: end; justify-content: center; padding: 24px;
  transition: opacity var(--dur-cinematic);
}
.series-card:hover .series-card__overlay { opacity: 1; }
.series-card__cta {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--color-champagne-gold);
  display: flex; align-items: center; gap: 8px;
}

/* Series palettes */
.series-card--nocturne { background: #08131D; color: var(--color-warm-ivory); }
.series-card--nocturne .series-card__name { color: var(--color-champagne-gold); }
.series-card--table { background: #241915; color: var(--color-warm-ivory); }
.series-card--table .series-card__name { color: var(--color-champagne-gold); }
.series-card--salon { background: var(--color-warm-ivory); color: var(--color-prestige-black); }
.series-card--salon .series-card__name { color: var(--color-antique-gold); }
.series-card--gala { background: var(--color-prestige-black); color: var(--color-warm-ivory); }
.series-card--gala .series-card__name { color: var(--color-champagne-gold); }
.series-card--society { background: #0E2A22; color: var(--color-warm-ivory); }
.series-card--society .series-card__name { color: var(--color-champagne-gold); }

/* ============================================================
   GALLERY (Past Moments)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 8px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery__tile {
  position: relative; overflow: hidden;
  cursor: pointer;
}
.gallery__plate { position: absolute; inset: 0; transition: transform 1200ms var(--ease-cinematic); }
.gallery__tile:hover .gallery__plate { transform: scale(1.05); }
.gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
  display: flex; flex-direction: column; justify-content: end; gap: 4px; padding: 16px;
  color: var(--color-warm-ivory);
  opacity: 0; transition: opacity 400ms var(--ease-cinematic);
}
.gallery__tile:hover .gallery__overlay { opacity: 1; }
.gallery__tile-label { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-champagne-gold); }
.gallery__tile-name { font-family: var(--font-display); font-style: italic; font-size: 18px; }

/* gallery layout */
.gallery__t1 { grid-column: span 5; grid-row: span 4; }
.gallery__t2 { grid-column: span 4; grid-row: span 2; }
.gallery__t3 { grid-column: span 3; grid-row: span 3; }
.gallery__t4 { grid-column: span 4; grid-row: span 2; }
.gallery__t5 { grid-column: span 4; grid-row: span 3; }
.gallery__t6 { grid-column: span 3; grid-row: span 2; }
.gallery__t7 { grid-column: span 5; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery__t1 { grid-column: span 6; grid-row: span 3; }
  .gallery__t2,.gallery__t3,.gallery__t4,.gallery__t5,.gallery__t6,.gallery__t7 { grid-column: span 3; grid-row: span 2; }
}

/* placeholder plates */
.plate-a { background: radial-gradient(80% 60% at 30% 20%, rgba(215,181,109,0.4), transparent 60%), linear-gradient(160deg,#1a1612 0%,#0B0B0A 100%); }
.plate-b { background: radial-gradient(80% 60% at 70% 30%, rgba(215,181,109,0.3), transparent 60%), linear-gradient(180deg,#241915 0%,#0B0B0A 100%); }
.plate-c { background: radial-gradient(120% 80% at 50% 100%, rgba(184,145,75,0.3), transparent 60%), linear-gradient(180deg,#08131D 0%,#0B0B0A 100%); }
.plate-d { background: radial-gradient(80% 60% at 50% 50%, rgba(215,181,109,0.25), transparent 60%), linear-gradient(160deg,#0E2A22 0%,#0B0B0A 100%); }
.plate-e { background: radial-gradient(100% 80% at 30% 80%, rgba(75,17,30,0.5), transparent 60%), linear-gradient(120deg,#08131D 0%,#0B0B0A 100%); }
.plate-f { background: radial-gradient(80% 60% at 70% 70%, rgba(215,181,109,0.18), transparent 60%), linear-gradient(220deg,#241915 0%,#0B0B0A 100%); }
.plate-g { background: radial-gradient(120% 80% at 50% 0%, rgba(215,181,109,0.3), transparent 60%), linear-gradient(180deg,#1a1612 0%,#0B0B0A 100%); }

/* ============================================================
   PRESS / QUOTES
   ============================================================ */
.press {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
}
@media (max-width: 900px) { .press { grid-template-columns: 1fr; } }
.press__cell {
  background: var(--bg);
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 28px;
}
.press__mark { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 56px; line-height: 0.5; height: 24px; }
.press__quote { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.35; flex: 1; }
.press__source { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; border-top: 1px solid var(--rule-faint); }
.press__source-name { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.press__source-role { font-size: 11px; color: var(--fg-muted); }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.membership {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 1000px) { .membership { grid-template-columns: 1fr; gap: 48px; } }
.membership__card {
  aspect-ratio: 16/10; max-width: 520px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(215, 181, 109, 0.18), transparent 50%),
    linear-gradient(135deg, #131211 0%, #0B0B0A 60%);
  color: var(--color-warm-ivory);
  border: 1px solid rgba(215, 181, 109, 0.45);
  position: relative; overflow: hidden;
  transform: rotate(-3deg);
  transition: transform 600ms var(--ease-cinematic);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
}
.membership__card:hover { transform: rotate(0deg) translateY(-4px); }
.membership__card-top { display: flex; justify-content: space-between; align-items: start; }
.membership__card-mono { width: 64px; }
.membership__card-tier { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--color-champagne-gold); }
.membership__card-bot { display: flex; justify-content: space-between; align-items: end; }
.membership__card-name { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.01em; }
.membership__card-id { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-soft-stone); }
.membership__shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(215,181,109,0.18) 50%, transparent 70%);
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0% { transform: translateX(-30%); } 100% { transform: translateX(30%); } }

.membership__tiers {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
}
.membership__tier {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
  padding: 24px;
  background: var(--bg);
  cursor: pointer;
  transition: background 300ms;
}
.membership__tier:hover { background: var(--bg-elevated); }
.membership__tier-num { font-family: var(--font-display); font-style: italic; font-size: 32px; color: var(--accent); }
.membership__tier-meta { display: flex; flex-direction: column; gap: 4px; }
.membership__tier-name { font-family: var(--font-display); font-size: 22px; }
.membership__tier-desc { font-size: 13px; color: var(--fg-muted); }
.membership__tier-price { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   REQUEST FORM
   ============================================================ */
.request {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.request__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.request__title em { font-style: italic; color: var(--accent); }
.request__sub { color: var(--fg-muted); font-size: 17px; margin-bottom: 64px; }

.request__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  text-align: left;
}
@media (max-width: 700px) { .request__form { grid-template-columns: 1fr; } }
.request__field { display: flex; flex-direction: column; gap: 10px; }
.request__field--full { grid-column: 1 / -1; }
.request__field label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-muted); }
.request__field input,
.request__field select,
.request__field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 12px 0; color: var(--fg);
  font-family: var(--font-sans); font-size: 16px;
  outline: none;
  transition: border-color 200ms;
}
.request__field input:focus,
.request__field select:focus,
.request__field textarea:focus { border-bottom-color: var(--accent); }
.request__submit { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 32px; }

.request__success {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 48px;
  border: 1px solid var(--rule);
  text-align: center;
}
.request__success-mono { width: 64px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 120px var(--gutter) 60px;
  text-align: center;
  border-top: 1px solid var(--rule-faint);
}
.footer__monogram { width: 72px; margin: 0 auto 32px; display: block; opacity: 0.85; }
.footer__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.1; letter-spacing: -0.01em;
  max-width: 24ch; margin: 0 auto;
}
.footer__title em { font-style: italic; color: var(--accent); }
.footer__divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 48px 0; }
.footer__divider::before, .footer__divider::after { content: ""; flex: 1; max-width: 200px; height: 1px; background: var(--rule); }
.footer__divider span { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: left; margin-top: 32px;
  padding-top: 48px; border-top: 1px solid var(--rule-faint);
}
@media (max-width: 800px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__col h5 { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 500; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule-faint);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-muted);
}

/* ============================================================
   SECTION ALT VARS (for direction A vs B)
   ============================================================ */
[data-dir="dark"] {
  --bg: var(--color-prestige-black);
  --bg-elevated: #131211;
  --bg-alt: #08131D;
  --fg: var(--color-warm-ivory);
  --fg-alt: var(--color-warm-ivory);
  --fg-muted: var(--color-soft-stone);
  --fg-alt-muted: #9aa1a8;
  --accent: var(--color-champagne-gold);
  --accent-deep: var(--color-antique-gold);
  --rule: rgba(215,181,109,0.5);
  --rule-faint: rgba(215,181,109,0.16);
}
[data-dir="light"] {
  --bg: var(--color-warm-ivory);
  --bg-elevated: #FBF8F2;
  --bg-alt: var(--color-prestige-black);
  --fg: var(--color-prestige-black);
  --fg-alt: var(--color-warm-ivory);
  --fg-muted: #6b6359;
  --fg-alt-muted: var(--color-soft-stone);
  --accent: var(--color-antique-gold);
  --accent-deep: #8c6c34;
  --rule: rgba(184,145,75,0.45);
  --rule-faint: rgba(11,11,10,0.10);
}
[data-dir="light"] .section--alt {
  /* dark interlude inside an editorial light layout */
  --rule: rgba(215,181,109,0.5);
  --rule-faint: rgba(215,181,109,0.18);
  --accent: var(--color-champagne-gold);
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1100ms var(--ease-cinematic), transform 1100ms var(--ease-cinematic); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 120ms; }
.reveal--delay-2 { transition-delay: 240ms; }
.reveal--delay-3 { transition-delay: 360ms; }

/* PWA-install pill */
.pwa-pill {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: none; align-items: center; gap: 12px;
  padding: 12px 20px; background: var(--bg-elevated); border: 1px solid var(--accent);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); z-index: 90;
  cursor: pointer;
}
.pwa-pill.show { display: inline-flex; }
