/* ============================================================
   enhance.css — Heritage-Editorial art direction layer
   Loaded LAST. Adds atmosphere (grain, light), breaks the
   uniform "white card" rhythm, and elevates motion.
   Nothing here is required for function — purely the look.
   ============================================================ */

:root {
  --gold-bright: #D4A93A;
  --amber: #E9B949;
  --green-deep: #16301F;
  --paper-line: rgba(140, 110, 60, 0.10);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-lift: 0 28px 60px -32px rgba(22, 48, 31, 0.55), 0 6px 18px -12px rgba(22, 48, 31, 0.25);
  --shadow-deep: 0 40px 90px -40px rgba(22, 48, 31, 0.7);
}

/* ---------------------------------------------------------- *
   1. ATMOSPHERE — film grain + warm vignette over everything.
   This single layer is what removes the flat, "AI-flat" feel.
 * ---------------------------------------------------------- */
body::before {
  /* warm corner vignette + faint top light */
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(212, 169, 58, 0.10), transparent 55%),
    radial-gradient(100% 100% at 50% 120%, rgba(22, 48, 31, 0.14), transparent 60%);
  mix-blend-mode: multiply;
}
body::after {
  /* fine paper grain */
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
/* Keep interactive layers above the atmosphere */
.site-header, .floating-register, .modal, .scroll-progress,
.credit-bar, .marquee { z-index: 60; }
.modal { z-index: 100; }

/* ---------------------------------------------------------- *
   2. TYPE & SELECTION — sharper, more deliberate.
 * ---------------------------------------------------------- */
::selection { background: rgba(212, 169, 58, 0.32); color: var(--green-deep); }

/* All-serif system: Fraunces (display) + Newsreader (text). Let optical sizing shine. */
html { font-optical-sizing: auto; }
body { font-weight: 400; letter-spacing: 0; font-size: 1.02rem; }
/* Newsreader reads best with a touch more leading for body copy */
p, li, .invitation-body, .field input, .field textarea { font-optical-sizing: auto; }
h1, h2, h3, h4 {
  text-wrap: balance;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;       /* Fraunces sets tighter than Cinzel did */
  font-variation-settings: "opsz" 96;
}
.section-head p, .invitation-body p { text-wrap: pretty; }

/* Hero brand title — Fraunces black caps, optically large, tight */
.hero__title {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
  text-transform: uppercase;
}
.hero__pre, .hero__tag, .pull-quote { font-style: italic; }
.pull-quote { font-weight: 400; }

/* Eyebrows / labels read better in the grotesk at slightly tighter tracking */
.eyebrow { font-family: var(--font-body); letter-spacing: .3em; }

/* Hide the small category labels above section / page-hero titles —
   the headings carry the meaning; the kickers read as clutter. */
.section-head .eyebrow,
.page-hero .eyebrow { display: none; }

/* Refined gold scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--gold-bright));
  border-radius: 99px; border: 2px solid var(--ivory);
}

/* Eyebrow: small gem instead of plain dash, tighter */
.eyebrow { letter-spacing: .34em; font-size: .68rem; }

/* ---------------------------------------------------------- *
   3. SECTION RHYTHM — giant ghosted watermark numerals/words
   give each section editorial identity & break the sameness.
 * ---------------------------------------------------------- */
.section { isolation: isolate; }
.section-head { position: relative; }
.section-head .eyebrow { position: relative; z-index: 1; }

/* Decorative oversized index, set per-section via data attr */
.section[data-index] .container::before {
  content: attr(data-index);
  position: absolute;
  top: -2.2rem; right: 2%;
  font-family: var(--font-title);
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(31, 61, 46, 0.045);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.02em;
}
.charter[data-index] .container::before,
.contact[data-index] .container::before { color: rgba(216, 192, 138, 0.07); }

/* ---------------------------------------------------------- *
   4. HERO — depth, light bloom, gold title accent, parallax.
 * ---------------------------------------------------------- */
.hero {
  background:
    radial-gradient(900px 520px at 50% 8%, rgba(233, 185, 73, 0.18), transparent 60%),
    radial-gradient(700px 600px at 88% 80%, rgba(47, 93, 58, 0.10), transparent 60%),
    repeating-linear-gradient(90deg, var(--paper-line) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, var(--paper-line) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
}
/* soft golden ground glow behind the title */
.hero__inner::before {
  content: '';
  position: absolute;
  top: 34%; left: 50%;
  width: min(720px, 90vw); height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(233, 185, 73, 0.22), transparent 72%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}
.hero__arch { color: rgba(197, 162, 83, 0.45); }
.hero__crest { filter: drop-shadow(0 14px 30px rgba(140, 110, 40, 0.32)); }

.edition-chip {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--gold);
  box-shadow: 0 2px 10px -4px rgba(140, 110, 40, .3), inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}

/* Title: tighter, richer, with a drawn gold underline */
.hero__title {
  letter-spacing: .02em;
  background: linear-gradient(180deg, var(--green-2) 0%, var(--green-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Glassy info chips with gold corner ticks */
.chip {
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
  border-color: rgba(197, 162, 83, 0.55);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(8px) saturate(120%);
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Countdown tiles — premium "minted" look */
.cd-unit {
  background: linear-gradient(180deg, var(--green-2), var(--green-deep));
  border-color: rgba(212, 169, 58, 0.45);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255,255,255,.08);
}
.cd-num { color: var(--ivory); }
.cd-label { color: var(--gold-soft); }

/* ---------------------------------------------------------- *
   5. UNIFIED "SPOTLIGHT CARD" — replaces the flat white cards.
   Gold gradient hairline border + pointer-follow glow + ticks.
 * ---------------------------------------------------------- */
.org-card, .day-col, .venue-card, .leader, .sponsor-card,
.contact-form, .delegate-card {
  position: relative;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(212,169,58,.7), rgba(197,162,83,.15) 45%, rgba(212,169,58,.6)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
/* pointer-follow spotlight */
.org-card::after, .day-col::after, .venue-card::after,
.leader::after, .sponsor-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(280px 200px at var(--mx, 50%) var(--my, -20%),
              rgba(233, 185, 73, 0.16), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.org-card:hover::after, .day-col:hover::after, .venue-card:hover::after,
.leader:hover::after, .sponsor-card:hover::after { opacity: 1; }

.org-card:hover, .leader:hover, .sponsor-card:hover, .venue-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

/* corner tick marks — quiet luxury detail */
.org-card, .leader--lead, .delegate-card, .day-col {
  --tick: 11px;
}
.org-card::before, .day-col::before,
.delegate-card .delegate-card__tag { z-index: 2; }

/* ---------------------------------------------------------- *
   6. CHARTER — giant numerals, lacquered cards.
 * ---------------------------------------------------------- */
.charter {
  background:
    radial-gradient(800px 360px at 100% -5%, rgba(212,169,58,.18), transparent 60%),
    radial-gradient(700px 420px at -5% 105%, rgba(47,93,58,.7), transparent 60%),
    linear-gradient(180deg, var(--green-2), var(--green-deep));
}
.charter-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(216,192,138,.22);
  backdrop-filter: blur(2px);
}
.charter-card__no {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.charter-card__no::after {
  content: '';
  display: block; width: 30px; height: 2px; margin-top: 10px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.charter-card:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }

/* ---------------------------------------------------------- *
   7. PROGRAMME — drawn gold spine with node dots.
 * ---------------------------------------------------------- */
.day-col__title { letter-spacing: .01em; }
.timeline { position: relative; padding-left: 4px; }
.timeline li { position: relative; align-items: baseline; }
.timeline__time { color: var(--sienna); position: relative; }
.timeline li::before {
  content: '';
  position: absolute; left: 84px; top: 1.05em;
  width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg);
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(212,169,58,.18);
}
@media (max-width: 560px) { .timeline li::before { display: none; } }

/* ---------------------------------------------------------- *
   8. TARIFF / DELEGATE — make it the clear hero card.
 * ---------------------------------------------------------- */
.delegate-card {
  background:
    linear-gradient(180deg, #fff, #fffdf6) padding-box,
    linear-gradient(135deg, var(--gold-bright), rgba(212,169,58,.25) 50%, var(--gold-bright)) border-box;
  box-shadow: var(--shadow-deep);
}
.delegate-row__price {
  background: linear-gradient(135deg, var(--sienna), #a9743f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sponsor-card__tier { letter-spacing: .01em; }

/* ---------------------------------------------------------- *
   9. BUTTONS — layered gold, inset highlight, crisper hover.
 * ---------------------------------------------------------- */
.btn-primary {
  background: linear-gradient(180deg, var(--amber), var(--mustard));
  color: #3a2c05;
  box-shadow: 0 12px 28px -12px rgba(230,180,34,.8), inset 0 1px 0 rgba(255,255,255,.55);
  border: 1px solid rgba(180,130,10,.35);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f3c84a, var(--amber));
  box-shadow: 0 18px 40px -12px rgba(230,180,34,.95), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn { transition: transform .25s var(--ease-spring), box-shadow .25s ease, background .2s ease; }

/* ---------------------------------------------------------- *
   10. FOOTER & CTA — botanical hairline accents.
 * ---------------------------------------------------------- */
.final-cta {
  background:
    radial-gradient(700px 300px at 50% -10%, rgba(212,169,58,.26), transparent 60%),
    linear-gradient(180deg, var(--green-2), var(--green-deep));
  border: 1px solid rgba(212,169,58,.3);
  box-shadow: var(--shadow-deep);
}
.site-footer {
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(47,93,58,.7), transparent 60%),
    linear-gradient(180deg, var(--green-deep), #11271a);
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------------------------------------------------------- *
   11. MOTION — blur-fade reveals + drawn dividers.
 * ---------------------------------------------------------- */
.reveal {
  filter: blur(10px);
  transform: translateY(34px) scale(.985);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out),
    filter .9s var(--ease-out);
}
.reveal.is-visible { filter: blur(0); transform: none; }

/* Floating pill: refine the glow, add gentle bob */
.floating-register {
  background: linear-gradient(180deg, var(--amber), var(--mustard));
  animation: pillBob 3.4s var(--ease-out) infinite;
}
@keyframes pillBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.floating-register:hover { animation-play-state: paused; transform: translateY(-3px) scale(1.03); }

/* Scroll cue (added to hero via JS/HTML) */
.hero__scroll { color: var(--gold); border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  body::after { opacity: .35; }
  .reveal { filter: none; transform: none; }
  .floating-register { animation: none; }
  .hero__stalks .stalk { animation: none; }
}

/* ---------------------------------------------------------- *
   13. CHARTER PILLAR ICONS (custom line-art SVG)
 * ---------------------------------------------------------- */
.charter-card { padding-top: 28px; }
.charter-card__icon {
  position: absolute;
  top: 24px; right: 22px;
  width: 30px; height: 30px;
  color: var(--gold-soft);
  opacity: .85;
  transition: transform .5s var(--ease-spring), color .3s ease;
}
.charter-card__icon svg { width: 100%; height: 100%; }
/* draw-in: dash the strokes, then resolve when the card reveals */
.charter-card__icon svg * {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.1s var(--ease-out);
}
.charter-card.is-visible .charter-card__icon svg * { stroke-dashoffset: 0; }
.charter-card:hover .charter-card__icon { color: var(--gold-bright); transform: scale(1.12) rotate(-4deg); }

/* ---------------------------------------------------------- *
   14a. OPTIONAL HERO VIDEO (auto-plays only once it loads)
 * ---------------------------------------------------------- */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
/* CINEMATIC photo/video hero — vivid media + dark veil + light type */
/* The field image is the always-present backdrop (fallback when the video
   can't autoplay — e.g. iOS Low Power Mode / slow networks). The <video> stays
   invisible until it is truly playing, so no "tap to play" overlay ever shows. */
.hero--photo {
  background-image: url('/img/hero-field.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--photo .hero__video { opacity: 0; }
.hero--photo .hero__video.is-playing { opacity: 1; }
/* dark green veil: strong at top & bottom (behind nav/title/countdown),
   lighter in the middle so the field stays vivid — gives real contrast */
.hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,26,17,.74) 0%, rgba(11,26,17,.30) 30%, rgba(11,26,17,.34) 60%, rgba(11,26,17,.84) 100%),
    radial-gradient(120% 78% at 50% 44%, rgba(11,26,17,.05), rgba(11,26,17,.42));
}
.hero--photo .hero__field { display: none; }
.hero--photo .hero__arch { color: rgba(216,192,138,.5); }

/* light, high-contrast type over the media */
.hero--photo .hero__title {
  background: none; color: var(--ivory); -webkit-text-fill-color: var(--ivory);
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.hero--photo .hero__pre,
.hero--photo .hero__tag,
.hero--photo .countdown__lead { color: var(--gold-soft); }
.hero--photo .edition-chip {
  background: rgba(255,255,255,.12); color: var(--ivory);
  border-color: rgba(216,192,138,.6); backdrop-filter: blur(6px);
}
.hero--photo .theme-chip { background: rgba(11,26,17,.55); color: var(--ivory); border-color: var(--gold); }
.hero--photo .chip {
  background: rgba(255,255,255,.13); border-color: rgba(216,192,138,.5); backdrop-filter: blur(10px);
}
.hero--photo .chip__value { color: var(--ivory); }
.hero--photo .chip__label { color: var(--gold-soft); }
.hero--photo .chip__sub { color: rgba(251,246,234,.82); }
.hero--photo .countdown__note:not(:empty) { background: rgba(11,26,17,.5); color: var(--gold-soft); border-color: rgba(212,169,58,.5); }
.hero--photo .btn-ghost { color: var(--ivory); border-color: rgba(216,192,138,.65); }
.hero--photo .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--gold); }
.hero--photo .hero__inner::before { opacity: .5; }

/* ---------------------------------------------------------- *
   14. HERO MUSTARD-FIELD MOTION GRAPHIC
 * ---------------------------------------------------------- */
.hero__field {
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%);
  mask-image: linear-gradient(180deg, transparent, #000 38%);
}
.hero__field svg { width: 100%; height: 100%; display: block; }
.hero__stalks .stalk {
  fill: var(--gold);
  stroke: var(--green-2);
  stroke-width: 1.4;
  transform-box: view-box;
  transform-origin: bottom;
  transform: translateX(var(--x)) rotate(0deg);
  animation: sway 5.5s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: .7;
}
.hero__stalks .stalk circle { stroke: none; }
@keyframes sway {
  0%, 100% { transform: translateX(var(--x)) rotate(-3.5deg); }
  50%      { transform: translateX(var(--x)) rotate(3.5deg); }
}

/* ---------------------------------------------------------- *
   15. SECTION ILLUSTRATIONS — shown when no real photo exists.
   (Drop a real .jpg into /img and it takes over automatically.)
 * ---------------------------------------------------------- */
#invitation .photo--empty,
#venue .photo--empty {
  border: 1px solid rgba(197,162,83,.45);
  box-shadow: var(--shadow-lift);
  background-color: var(--ivory-2);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* Kachi-ghani oil — bottle, drop & mustard sprig (portrait) */
#invitation .photo--empty {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cdefs%3E%3ClinearGradient id='oil' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23E9B949'/%3E%3Cstop offset='1' stop-color='%23C5860F'/%3E%3C/linearGradient%3E%3CradialGradient id='bg' cx='50%25' cy='35%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23F7EFD8'/%3E%3Cstop offset='1' stop-color='%23EBDDB8'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='400' height='500' fill='url(%23bg)'/%3E%3Cg stroke='%231F3D2E' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M236 150 q60 -34 96 -14 q22 14 -2 30 q-40 22 -86 6' fill='%231F3D2E' fill-opacity='.06'/%3E%3Cpath d='M250 150 q40 -50 86 -54' /%3E%3Ccircle cx='318' cy='110' r='9' fill='%23E6B422' stroke='none'/%3E%3Ccircle cx='300' cy='128' r='7' fill='%23E6B422' stroke='none'/%3E%3Ccircle cx='332' cy='128' r='7' fill='%23E6B422' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(150 200)'%3E%3Cpath d='M30 0 h40 v18 q24 8 24 40 v150 q0 26 -26 26 h-60 q-26 0 -26 -26 v-150 q0 -32 24 -40 z' fill='%23FBF6EA' stroke='%231F3D2E' stroke-width='3'/%3E%3Cpath d='M12 120 q0 -26 22 -34 h28 q22 8 22 34 v82 q0 18 -18 18 h-58 q-18 0 -18 -18 z' fill='url(%23oil)'/%3E%3Crect x='28' y='-12' width='44' height='16' rx='4' fill='%238B5E3C'/%3E%3Crect x='10' y='120' width='80' height='40' fill='%23FBF6EA' fill-opacity='.18'/%3E%3C/g%3E%3Cpath d='M200 430 q-16 22 0 36 q16 -14 0 -36z' fill='url(%23oil)'/%3E%3C/svg%3E");
}
/* Mayfair resort landscape (wide) */
#venue .photo--empty {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 450'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F7EFD8'/%3E%3Cstop offset='1' stop-color='%23F1E4C2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='450' fill='url(%23sky)'/%3E%3Ccircle cx='930' cy='130' r='62' fill='%23E9B949' fill-opacity='.5'/%3E%3Ccircle cx='930' cy='130' r='40' fill='%23E6B422' fill-opacity='.7'/%3E%3Cpath d='M0 270 q200 -70 420 -34 q260 42 480 -10 q160 -36 300 6 V450 H0Z' fill='%232F5D3A' fill-opacity='.28'/%3E%3Cpath d='M0 320 q260 -50 520 -16 q300 38 680 -8 V450 H0Z' fill='%231F3D2E' fill-opacity='.45'/%3E%3Cg fill='%231F3D2E' fill-opacity='.8'%3E%3Crect x='520' y='250' width='160' height='90'/%3E%3Cpath d='M512 250 L600 214 L688 250Z'/%3E%3Crect x='690' y='270' width='90' height='70'/%3E%3Cpath d='M684 270 L735 244 L786 270Z'/%3E%3Crect x='430' y='280' width='80' height='60'/%3E%3Cpath d='M424 280 L470 256 L516 280Z'/%3E%3C/g%3E%3Cg stroke='%231F3D2E' stroke-width='5' fill='none' stroke-linecap='round'%3E%3Cpath d='M180 340 V250'/%3E%3Cpath d='M180 252 q-34 -20 -58 -10 M180 252 q34 -20 58 -10 M180 256 q-30 6 -52 26 M180 256 q30 6 52 26'/%3E%3Cpath d='M1030 350 V268'/%3E%3Cpath d='M1030 270 q-28 -16 -48 -8 M1030 270 q28 -16 48 -8 M1030 274 q-24 6 -42 22 M1030 274 q24 6 42 22'/%3E%3C/g%3E%3C/svg%3E");
}
#invitation .photo--empty::after,
#venue .photo--empty::after {
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(31,61,46,.78));
  color: var(--ivory);
  padding: 40px 24px 18px;
  font-size: .92rem;
}

/* ---------------------------------------------------------- *
   17. HERO CONDENSE — fit the whole hero in one desktop glance
   and close the empty band above the marquee.
 * ---------------------------------------------------------- */
.hero {
  min-height: 100vh; min-height: 100svh;   /* one viewport on every device */
  padding: calc(var(--header-h) + 18px) 0 16px;
  justify-content: center;
}
.hero__crest { width: 82px; height: 82px; margin-bottom: 6px; }
.hero__pre { margin: 0 0 2px; }
.hero__title {
  font-size: clamp(2rem, 5.2vw, 4.1rem);
  margin: 0 0 4px;
  line-height: 1.02;
}
.hero__ornament { margin: 0 auto 6px; }
.hero__tag { margin-bottom: 10px; }
.hero__cta { margin-bottom: 0; }
.hero__countdown { margin-top: 8px; gap: 6px; }
.cd-unit { min-width: 62px; padding: 8px 6px 5px; }
.cd-num { font-size: 1.6rem; }
.cd-sep { font-size: 1.3rem; }
.hero__field { height: 140px; }
.hero__scroll { display: none; }

/* compact info chips with icons (icon · label · value) */
.hero__chips { display: flex; flex-wrap: nowrap; gap: 10px; justify-content: center; margin-bottom: 16px; }
.chip {
  flex: 1 1 0; min-width: 0; max-width: 188px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 11px 9px; text-align: center;
}
.chip::before { display: none; }   /* drop the old top hairline on the compact chip */
.chip__ic { width: 22px; height: 22px; color: var(--gold-bright); margin-bottom: 3px; }
.chip__label { font-size: .56rem; letter-spacing: .2em; margin-bottom: 0; }
.chip__value { font-size: .92rem; line-height: 1.15; }

/* phones: keep the whole hero on one screen */
@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 12px) 0 12px; }
  .hero__crest { width: 58px; height: 58px; }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero__tag { font-size: 1rem; margin-bottom: 12px; }
  .hero__chips { gap: 7px; margin-bottom: 14px; }
  .chip { padding: 9px 5px; }
  .chip__ic { width: 18px; height: 18px; margin-bottom: 2px; }
  .chip__label { font-size: .48rem; letter-spacing: .12em; }
  .chip__value { font-size: .74rem; }
  .hero__cta { flex-direction: row; gap: 8px; flex-wrap: nowrap; }
  .hero__cta .btn { padding: 11px 14px; font-size: .8rem; }
  .hero__countdown { margin-top: 10px; }
  .cd-unit { min-width: 0; flex: 1; padding: 6px 2px 4px; }
  .cd-num { font-size: 1.25rem; }
  .countdown__units { gap: 5px; width: 100%; max-width: 320px; }
  .countdown__lead, .countdown__note { font-size: .58rem; }
}

/* very short viewports (small laptops, landscape) — squeeze to fit */
@media (max-height: 700px) {
  .hero { padding: calc(var(--header-h) + 8px) 0 8px; }
  .hero__crest { width: 48px; height: 48px; margin-bottom: 2px; }
  .hero__pre { font-size: 1rem; }
  .hero__title { font-size: clamp(1.4rem, 4vw, 2.4rem); margin-bottom: 4px; }
  .hero__ornament { margin-bottom: 6px; }
  .hero__tag { font-size: .95rem; margin-bottom: 8px; }
  .hero__chips { margin-bottom: 8px; }
  .chip { padding: 7px 8px; }
  .hero__cta .btn { padding: 10px 18px; }
  .hero__countdown { margin-top: 6px; gap: 3px; }
  .cd-unit { min-width: 52px; padding: 5px 5px 3px; }
  .cd-num { font-size: 1.25rem; }
  .cd-sep { font-size: 1.1rem; }
  .countdown__lead { font-size: .56rem; }
}

/* ==========================================================
   19. BROCHURE ALIGNMENT — new identity, pages & components
   ========================================================== */

/* Active nav link */
.nav a.is-active { opacity: 1; }
.nav a.is-active::after { width: 100%; }

/* Hero theme line + Sampark kicker (Devanagari sits well in Hanken) */
.theme-chip {
  display: inline-block;
  margin: 0 auto 22px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); background: rgba(212,169,58,.16);
  border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px;
}
.hero__pre { letter-spacing: .12em; }

/* Assamese "gamosa" woven accent — red/ivory/gold repeating rule */
.gamosa-rule, .page-hero::after, .site-footer::after {
  content: '';
  display: block; height: 6px;
  background:
    repeating-linear-gradient(90deg, #B23A2E 0 10px, transparent 10px 13px),
    linear-gradient(90deg, transparent, rgba(197,162,83,.5), transparent);
  opacity: .55;
}
.site-footer { position: relative; }
.site-footer::after { position: absolute; inset: 0 0 auto 0; opacity: .5; }

/* ---- Sub-page hero ---- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 52px;
  text-align: center;
  background:
    radial-gradient(800px 360px at 50% -10%, rgba(233,185,73,.22), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--ivory-2));
  border-bottom: 1px solid rgba(197,162,83,.25);
}
.page-hero::after { position: absolute; inset: auto 0 0 0; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 6px 0 12px;
}
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto 22px; font-size: 1.05rem; }

/* Cinematic page-hero with a photographic backdrop (image set via --ph-img) */
.page-hero--photo {
  background:
    linear-gradient(180deg, rgba(11,26,17,.74) 0%, rgba(11,26,17,.52) 45%, rgba(11,26,17,.86) 100%),
    var(--ph-img) center / cover no-repeat;
  border-bottom: 1px solid rgba(212,169,58,.4);
}
.page-hero--photo .container { position: relative; z-index: 2; }
.page-hero--photo h1 { color: var(--ivory); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.page-hero--photo p { color: rgba(251,246,234,.86); }
.page-hero--photo .eyebrow { color: var(--gold-soft); }

/* ---- WHY ATTEND ---- */
.why-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 40px;
}
.why-card {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, #fffdf6) padding-box,
    linear-gradient(160deg, rgba(212,169,58,.7), rgba(197,162,83,.15) 50%, rgba(212,169,58,.6)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-lift);
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.why-card__icon {
  width: 46px; height: 46px; margin: 0 auto 14px;
  display: grid; place-items: center;
  color: var(--gold-bright);
  border: 1px solid rgba(212,169,58,.5); border-radius: 50%;
  background: rgba(212,169,58,.08);
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.25rem; margin: 0 0 6px; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---- PROGRAMME teaser + note ---- */
.prog-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px;
}
.prog-teaser__day {
  padding: 28px 26px; border-radius: var(--radius);
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, rgba(212,169,58,.6), rgba(197,162,83,.12) 50%, rgba(212,169,58,.5)) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow-lift);
}
.prog-teaser__day .day-col__title { margin: 6px 0 8px; }
.prog-teaser__day p { color: var(--muted); margin: 0; }
.day-col__note {
  margin: 18px 0 0; padding: 14px 16px;
  background: rgba(31,61,46,.05); border-left: 3px solid var(--gold);
  border-radius: 8px; font-size: .88rem; font-style: italic; color: var(--green-2);
}

/* ---- TARIFF split (delegate + sponsor teaser) ---- */
.tariff-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch;
  max-width: 940px; margin: 0 auto;
}
.tariff-split .delegate-card { max-width: none; width: auto; }
.delegate-row__price em {
  font-style: normal; font-size: .72rem; color: var(--muted);
  font-family: var(--font-body); margin-left: 3px; letter-spacing: .04em;
}
.price-gst-note { font-size: .76rem; color: var(--muted); text-align: center; margin: 10px 0 0; }

.sponsor-teaser {
  display: flex; flex-direction: column;
  padding: 30px 28px; border-radius: var(--radius);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(233,185,73,.18), transparent 60%),
    linear-gradient(180deg, var(--green-2), var(--green-deep));
  color: var(--ivory);
  border: 1px solid rgba(212,169,58,.4);
  box-shadow: var(--shadow-deep);
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.sponsor-teaser:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep), 0 0 0 1px var(--gold); }
.sponsor-teaser .eyebrow { color: var(--gold-soft); }
.sponsor-teaser h3 { color: var(--ivory); font-size: 1.6rem; margin: 0 0 8px; }
.sponsor-teaser p { color: rgba(251,246,234,.85); font-size: .95rem; }
.sponsor-teaser p strong { color: var(--gold-soft); }
.sponsor-teaser__list { list-style: none; padding: 0; margin: 6px 0 18px; display: grid; gap: 8px; }
.sponsor-teaser__list li { font-size: .86rem; color: rgba(251,246,234,.82); padding-left: 18px; position: relative; }
.sponsor-teaser__list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.sponsor-teaser__cta { margin-top: auto; font-weight: 700; color: var(--gold-soft); letter-spacing: .02em; }

/* ---- VENUE perk list / contact plain ---- */
.perk-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.perk-list li { position: relative; padding-left: 26px; color: #41463a; }
.perk-list li::before {
  content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold-bright); font-size: .9rem;
}
/* labels need room for "HELPLINE"/"CONTACT"; reduce tracking so they fit */
.contact-list span { width: 78px; letter-spacing: .12em; }
/* plain-text values must NOT inherit the gold uppercase label styling */
.contact-list .contact-list__plain {
  width: auto; flex: 1; text-transform: none; letter-spacing: normal;
  color: var(--green); font-weight: 600; font-size: .92rem;
}
.contact-info .contact-list .contact-list__plain { color: var(--ivory); }
/* on phones, stack each row (label above value) so nothing collides */
@media (max-width: 560px) {
  .contact-list li { flex-direction: column; gap: 2px; }
  .contact-list span { width: auto; }
}

/* ==========================================================
   20. SPONSORSHIP PAGE — tiers with amounts & inclusions
   ========================================================== */
.sponsor-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sponsor-card {
  text-align: left; padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
}
.sponsor-card__tier {
  display: block; padding: 16px 20px 12px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ivory);
  background: linear-gradient(135deg, var(--green-2), var(--green-deep));
}
.sponsor-card--diamond .sponsor-card__tier { background: linear-gradient(135deg, #2C5C6E, #16313b); }
.sponsor-card--platinum .sponsor-card__tier { background: linear-gradient(135deg, #5b6168, #2f3338); }
.sponsor-card--gold .sponsor-card__tier { background: linear-gradient(135deg, #C99A2E, #8a6512); }
.sponsor-card--silver .sponsor-card__tier { background: linear-gradient(135deg, #7d828a, #4a4e54); }
.sponsor-card--bronze .sponsor-card__tier { background: linear-gradient(135deg, #A66A38, #6e421f); }
.sponsor-card--kit .sponsor-card__tier { background: linear-gradient(135deg, #2F5D3A, #16301f); }
.sponsor-card__amount {
  display: block; padding: 14px 20px 6px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--sienna);
}
.sponsor-card__amount em { font-style: normal; font-size: .72rem; color: var(--muted); font-family: var(--font-body); }
.sponsor-card__incl { list-style: none; margin: 0; padding: 4px 20px 12px; display: grid; gap: 7px; flex: 1; }
.sponsor-card__incl li { font-size: .86rem; color: #41463a; padding-left: 18px; position: relative; }
.sponsor-card__incl li::before { content: ''; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.sponsor-card__btn { margin: 0 20px 18px; }

/* Other / category sponsorships */
.sponsor-other { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sponsor-mini {
  padding: 18px 18px; border-radius: var(--radius); text-align: center;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, rgba(212,169,58,.55), rgba(197,162,83,.12) 50%, rgba(212,169,58,.5)) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow-lift);
}
.sponsor-mini__tier { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--green); }
.sponsor-mini__amount { display: block; color: var(--sienna); font-weight: 700; margin-top: 4px; }
.sponsor-mini__amount em { font-style: normal; font-size: .7rem; color: var(--muted); font-weight: 500; }
.sponsor-mini__note { display: block; font-size: .76rem; color: var(--muted); margin-top: 6px; }

.delegate-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius);
  background:
    linear-gradient(#fff,#fffdf6) padding-box,
    linear-gradient(135deg, var(--gold-bright), rgba(212,169,58,.2) 50%, var(--gold-bright)) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow-lift);
}
.delegate-strip h3 { margin: 4px 0 6px; }
.delegate-strip p { margin: 0; color: var(--muted); font-size: .92rem; }
.delegate-strip p strong { color: var(--sienna); }

/* ==========================================================
   21. PEOPLE PAGE — council + committee
   ========================================================== */
.council-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.leader__org { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.committee-section { background: var(--ivory-2); }
.committee-item { display: flex; flex-direction: column; }
.committee-item__name { font-weight: 600; color: var(--green); }
.committee-item__meta { font-size: .78rem; color: var(--muted); }
.committee__list { gap: 16px 22px; }

/* ==========================================================
   23. HERITAGE PHOTO BANNER — real brochure artwork CTA
   ========================================================== */
.final-cta--photo {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
  border: 1px solid rgba(212,169,58,.4);
  background: var(--green-deep);
}
.final-cta__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.final-cta--photo:hover .final-cta__bg { transform: scale(1.08); }
/* legibility scrim at the bottom for the CTA block */
.final-cta--photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(13,32,22,.18) 58%, rgba(13,32,22,.86) 100%);
}
.final-cta--photo .final-cta__inner {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px 34px;
}
.final-cta--photo .final-cta__inner h2 { color: var(--ivory); margin: 0 0 6px; }
.final-cta--photo .final-cta__inner p { color: rgba(251,246,234,.9); margin: 0 0 18px; }
@media (max-width: 560px) { .final-cta--photo { min-height: 380px; } }

/* ==========================================================
   24. RESPONSIVE — new components
   ========================================================== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-other { grid-template-columns: repeat(2, 1fr); }
  .council-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tariff-split { grid-template-columns: 1fr; }
  .prog-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-other { grid-template-columns: 1fr 1fr; }
  .council-grid { grid-template-columns: 1fr; }
  .delegate-strip { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------------------------------------------------------- *
   18. RESPONSIVE TUNING for the new decoration.
 * ---------------------------------------------------------- */
@media (max-width: 700px) {
  .section[data-index] .container::before { font-size: 6rem; top: -1rem; opacity: .7; }
  body::after { opacity: .4; }
}

/* ==========================================================
   25. HEADER + NAV REWORK — bigger logo, Sampark lockup,
       creative nav, plus hero crest/chip/mobile polish
   ========================================================== */
:root { --header-h: 88px; }

/* Brand lockup: Sampark 2026 (display) over Edible Oil Conclave (label) */
.brand { gap: 14px; }
.brand__logo { width: 60px; height: 60px; }
.brand__text { gap: 1px; }
.brand__name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  text-transform: none; letter-spacing: .005em; line-height: 1; color: var(--green);
  white-space: nowrap;
}
.brand__yr { color: var(--gold-bright); }
.brand__sub {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

/* Nav links — uppercase with a sliding gold underline */
.nav { gap: 30px; }
.nav a {
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; opacity: .82;
  position: relative; padding: 4px 0;
}
.nav a:hover { opacity: 1; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; width: auto;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { opacity: 1; color: var(--green); }

/* Register CTA with animated arrow */
.nav__cta { display: inline-flex; align-items: center; gap: 7px; }
.nav__cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.nav__cta:hover svg { transform: translateX(3px); }

/* Animated hamburger (three bars → X) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 0 auto; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) { .nav-toggle { display: flex; } }

/* Bigger NEPA crest in the hero */
.hero__crest { width: 136px; height: 136px; margin-bottom: 4px; }

/* Hero info chips: dark glass so the text is clearly legible */
.hero--photo .chip {
  background: rgba(11, 26, 17, 0.5);
  border-color: rgba(212, 169, 58, 0.5);
  backdrop-filter: blur(8px);
}
.hero--photo .chip__value { color: var(--ivory); font-weight: 600; }
.hero--photo .chip__label { color: var(--gold-soft); }
.chip__ic { color: var(--gold-bright); }

/* Mobile: lift content toward the top + size down logo/crest */
@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .hero { justify-content: flex-start; }
  .hero__crest { width: 104px; height: 104px; }
  .brand { gap: 9px; }
  .brand__logo { width: 34px; height: 34px; }   /* ≈ height of the brand text lockup */
  .brand__name { font-size: 1.04rem; letter-spacing: 0; }
  .brand__sub { font-size: .44rem; letter-spacing: .16em; }
  /* declutter: drop the giant ghosted section numerals on phones */
  .section[data-index] .container::before { display: none; }
}
@media (max-height: 700px) {
  .hero__crest { width: 92px; height: 92px; }
}

/* ==========================================================
   26. HEADER — deep-green bar so the gold NEPA logo + type pop
   ========================================================== */
.site-header {
  background: linear-gradient(180deg, rgba(16,38,25,.94), rgba(16,38,25,.84));
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(212,169,58,.34);
}
.site-header.scrolled {
  background: rgba(12,30,20,.96);
  border-bottom-color: rgba(212,169,58,.55);
  box-shadow: 0 12px 34px -18px rgba(0,0,0,.65);
}
/* thin gold top accent line */
.site-header::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
  opacity: .8;
}

/* Big, plain NEPA logo (no badge) — a soft shadow lifts it off the green */
:root { --header-h: 106px; }
.brand__logo {
  width: 86px; height: 86px;
  object-fit: contain;
  background: none; padding: 0; border-radius: 0;
  filter: drop-shadow(0 3px 9px rgba(0,0,0,.5));
}

/* light brand + nav type on the green header */
.brand__name { color: var(--ivory); }
.brand__sub { color: var(--gold-soft); }
.brand__yr { color: var(--gold-bright); }
.nav a { color: rgba(251,246,234,.84); }
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav-toggle span { background: var(--ivory); }

/* mobile dropdown panel matches the green header */
@media (max-width: 860px) {
  .nav {
    background: rgba(12,30,20,.98);
    border-bottom-color: rgba(212,169,58,.4);
    backdrop-filter: blur(14px);
  }
  .nav a { color: rgba(251,246,234,.9); }
}

/* ==========================================================
   27. "A Conclave for the Soul Oil of Bharat" — editorial
   ========================================================== */
/* Full-section faint background image with the invitation text on top */
.about--hero { position: relative; overflow: hidden; }
.about__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .22; pointer-events: none;
}
/* soft ivory wash keeps the faint image readable under the text */
.about--hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(251,246,234,.62), rgba(251,246,234,.5) 50%, rgba(251,246,234,.66));
}
.about--hero .container { position: relative; z-index: 2; }

/* centered invitation copy, in a clearly visible serif */
.invitation-body--center {
  max-width: 768px; margin: 0 auto; text-align: center;
  font-size: 1.18rem; color: #2b3226;
}
.invitation-body--center p { color: #2b3226; }
.invitation-body--center strong { color: var(--green); }
.invitation-sign {
  display: inline-block; margin-top: 26px; padding-top: 18px;
  border-top: 1px solid rgba(197,162,83,.45);
  font-style: italic; color: var(--green-2); font-size: .98rem;
}
.invitation-sign strong { color: var(--green); font-style: normal; }

@media (max-width: 640px) {
  .invitation-body--center { font-size: 1.06rem; }
  .about__bg { opacity: .26; }
}

/* ==========================================================
   28. COUNCIL — member headshots (circular, gold ring)
   ========================================================== */
.leader { text-align: center; }
/* Rounded-rectangle photo boxes that match the brochure's framing,
   sized to the crop's aspect so the full headshot shows (no hard crop). */
.leader__photo {
  width: 134px; aspect-ratio: 240 / 222; height: auto;
  border-radius: 16px;
  object-fit: cover; object-position: center;
  margin: 0 auto 16px; display: block;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 26px -12px rgba(22,48,31,.55), inset 0 0 0 3px #fff;
  background: var(--ivory-2);
}
.leader--lead .leader__photo { width: 152px; border-width: 2.5px; }
.leader:hover .leader__photo { border-color: var(--gold-bright); }
@media (max-width: 560px) {
  .leader__photo, .leader--lead .leader__photo { width: 144px; }
}

/* ==========================================================
   29. MOBILE NAV — reliably hide the closed dropdown
   (was peeking a gold sliver at the top of the screen)
   ========================================================== */
@media (max-width: 860px) {
  #primaryNav {
    top: 0; bottom: auto;
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 18px;
    transform: translateY(-100%);
    transition: transform .32s var(--ease-out);
    will-change: transform;
  }
  #primaryNav.open { transform: translateY(0); }
  /* indent the dropdown links + restore their hover underline placement */
  #primaryNav a { padding: 13px 28px; }
  #primaryNav a::after { left: 28px; right: auto; width: 26px; }
}

/* ==========================================================
   30. MOBILE HEADER override (must come last to beat §26)
   ========================================================== */
@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .site-header .brand__logo { width: 34px; height: 34px; }  /* ≈ brand text height */
}

/* ==========================================================
   31. FLOATING REGISTER — bottom-center, only after the hero
   ========================================================== */
.floating-register {
  left: 50%; right: auto;                       /* centre it */
  transform: translateX(-50%) translateY(10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  animation: none;                              /* drop the bob (conflicts with centring) */
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.floating-register.is-shown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Stay put on hover — no shift/scale; just a subtle glow + brightening.
   (override the generic .floating-register:hover that drops the centring) */
.floating-register:hover,
.floating-register.is-shown:hover {
  transform: translateX(-50%) translateY(0) !important;
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(31, 61, 46, .3);
}
.floating-register::before { display: none; }   /* remove the pulse ring */
/* keep the label on mobile too */
.floating-register span { display: inline-block !important; }
@media (max-width: 560px) {
  .floating-register { padding: 13px 22px; }
}
/* Desktop: drop the floating Register button (header CTA is enough);
   keep it only on mobile, where the header CTA scrolls away. */
@media (min-width: 701px) {
  .floating-register { display: none !important; }
}

/* ==========================================================
   32. MOTION & POLISH
   scroll progress · heading underline draw · image zoom ·
   twinkling dividers · directional reveals · unified lift
   ========================================================== */

/* 32.1 — Scroll-progress bar (width driven by main.js initScrollProgress) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1200;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright, #E6B422), var(--gold));
  box-shadow: 0 0 12px rgba(197, 162, 83, .65);
  pointer-events: none; will-change: width;
  transition: width .12s linear;
}

/* 32.2 — Section heading: gold underline that draws in on reveal */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: -14px;
  width: 66px; height: 2px; transform: translateX(-50%) scaleX(0);
  transform-origin: 50% 50%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 1s var(--ease-out) .3s;
}
.section-head.is-visible h2::after { transform: translateX(-50%) scaleX(1); }

/* 32.3 — Image figures: cinematic slow zoom + warmth on hover */
.photo { overflow: hidden; }
.photo img {
  transition: transform 1.2s var(--ease-out), filter .7s var(--ease-out);
  will-change: transform;
}
.photo:hover img { transform: scale(1.06); filter: saturate(1.07) brightness(1.02); }

/* 32.4 — Council headshots: gentle lift + zoom on hover */
.leader__photo { transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.leader:hover .leader__photo { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 30px rgba(31, 61, 46, .22); }

/* 32.5 — Directional reveal variants (assigned in markup/JS for variety) */
.reveal--left  { transform: translateX(-36px) scale(.99); }
.reveal--right { transform: translateX(36px) scale(.99); }
.reveal--scale { transform: scale(.92); }
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible { transform: none; }

/* 32.6 — Unified soft lift across interactive cards */
.why-card, .leader, .day-col, .sponsor-card, .sponsor-mini, .venue-card, .org-card, .charter-card {
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out),
              border-color .5s var(--ease-out), background-color .5s var(--ease-out);
}
.why-card:hover, .day-col:hover, .venue-card:hover,
.org-card:hover, .sponsor-mini:hover { transform: translateY(-5px); }

/* 32.7 — Twinkling diamonds on the gold rules */
.gold-rule .diamond { animation: twinkle 3.8s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: .55; transform: rotate(45deg) scale(.9); }
  50%      { opacity: 1;   transform: rotate(45deg) scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .photo:hover img,
  .leader:hover .leader__photo,
  .why-card:hover, .day-col:hover, .venue-card:hover,
  .org-card:hover, .sponsor-mini:hover { transform: none; }
  .gold-rule .diamond { animation: none; }
  .section-head h2::after { transition: none; }
}
