/* ==========================================================================
   Bhanu Pratap Singh Jhilwara — Core Stylesheet
   Sections: 1 Tokens · 2 Reset/Base · 3 Typography · 4 Layout · 5 Buttons
             6 Navbar · 7 Hero · 8 Cards/Sections · 9 Timeline · 10 Gallery
             11 Events · 12 News · 13 Contact · 14 Footer · 15 Utilities
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Surfaces (light theme only) */
  --ivory: #fdfbf7;
  --warm-white: #faf6ef;
  --off-white: #fffdf9;
  --beige: #f3eadb;
  --beige-deep: #ebdfc9;
  --gray-100: #f5f4f2;
  --gray-200: #e8e5e0;

  /* Royal accents */
  --maroon: #6e1023;
  --maroon-deep: #4e0a18;
  --maroon-soft: #8f2338;
  --saffron: #e8801a;
  --saffron-soft: #f4a545;
  --gold: #c9a227;
  --gold-light: #e3c766;
  --gold-pale: #f0e3bd;
  --navy: #1b2a4a;

  /* Ink */
  --ink: #2a2118;
  --ink-soft: #574c40;
  --muted: #7a6f63;

  /* Gradients */
  --grad-gold: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 45%, var(--gold) 100%);
  --grad-royal: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  --grad-warm: linear-gradient(180deg, var(--ivory) 0%, var(--beige) 100%);

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(42, 33, 24, .05);
  --sh-sm: 0 4px 14px rgba(42, 33, 24, .06);
  --sh-md: 0 12px 32px rgba(42, 33, 24, .09);
  --sh-lg: 0 24px 60px rgba(42, 33, 24, .13);
  --sh-gold: 0 14px 40px rgba(201, 162, 39, .22);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Type */
  --f-display: "Cinzel", Georgia, serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Poppins", -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --shell: 1240px;
  --gutter: 24px;
  --sec-y: 110px;
  --nav-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .22s;
  --t-mid: .4s;
  --t-slow: .7s;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* Clip horizontal overflow at the root so position:fixed elements (e.g. the
     off-canvas mobile menu parked off the right edge) can never create a
     horizontal scroll — body's overflow-x alone doesn't clip fixed children.
     `clip` (unlike `hidden`) does NOT make the root a scroll container, so it
     leaves vertical scrolling completely untouched. */
  overflow-x: clip;
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle heritage jaali wash behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(201, 162, 39, .07), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(110, 16, 35, .05), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c9a227' stroke-opacity='.14' stroke-width='1'%3E%3Cpath d='M36 4c9 9 9 23 0 32-9-9-9-23 0-32zM36 36c9 9 9 23 0 32-9-9-9-23 0-32z'/%3E%3Ccircle cx='36' cy='36' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, 72px 72px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--saffron); }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--gold-pale); color: var(--maroon-deep); }

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 2000;
  padding: 12px 22px;
  background: var(--maroon);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--maroon));
  border-radius: var(--r-pill);
  border: 2px solid var(--beige);
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--maroon-deep);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.68;
  color: var(--ink);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad-gold);
}
.eyebrow.solo::after { display: none; }

/* Gold divider ornament */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 0;
  max-width: 220px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider span {
  width: 9px; height: 9px;
  background: var(--grad-gold);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .14);
}

/* ---------- 4. Layout ---------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section { padding: var(--sec-y) 0; position: relative; }
.section--tint { background: var(--grad-warm); }
.section--beige { background: var(--warm-white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head p { color: var(--muted); margin-top: 16px; }
.section-head--left { text-align: left; margin-inline: 0; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* A lone card in a multi-column grid sits centred rather than stranded left */
@media (min-width: 993px) {
  .grid--3 > :only-child { grid-column: 2; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease),
              color var(--t-mid) var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--grad-royal);
  color: #fff;
  box-shadow: 0 12px 30px rgba(110, 16, 35, .26);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 44px rgba(110, 16, 35, .34); }

.btn--gold {
  background: var(--grad-gold);
  color: var(--maroon-deep);
  box-shadow: var(--sh-gold);
}
.btn--gold:hover { color: var(--maroon-deep); }

.btn--ghost {
  background: rgba(255, 255, 255, .6);
  border-color: var(--gold);
  color: var(--maroon);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.btn--sm { padding: 11px 24px; font-size: .78rem; }

/* Ripple (spawned by script.js) */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .45);
  pointer-events: none;
  animation: ripple .6s var(--ease-out) forwards;
  z-index: -1;
}
.btn--gold .ripple, .btn--ghost .ripple { background: rgba(110, 16, 35, .18); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--maroon);
}
.link-arrow svg { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--solid {
  height: 70px;
  background: rgba(253, 251, 247, .82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--sh-sm);
  border-bottom-color: rgba(201, 162, 39, .28);
}

.nav__inner {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Crest / wordmark */
.brand { display: flex; align-items: center; gap: 13px; }
.brand__crest {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-royal);
  border: 1.5px solid var(--gold);
  box-shadow: var(--sh-sm);
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .02em;
}
.brand__crest--flag {
  overflow: hidden;
  padding: 0;
  background: #fff;
}
.brand__crest--flag svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
.loader__mark--flag { font-size: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--maroon-deep);
}
.brand__sub {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__menu { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--ease);
}
.nav__link:hover { color: var(--maroon); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--maroon); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Dark-hero pages (e.g. event details): the banner is dark right under the
   navbar, so the transparent top bar needs light text to stay legible. Once the
   user scrolls and .nav--solid (light bar) kicks in, the normal colours return. */
body.has-dark-hero .nav:not(.nav--solid) .nav__link { color: rgba(255, 255, 255, .88); }
body.has-dark-hero .nav:not(.nav--solid) .nav__link:hover,
body.has-dark-hero .nav:not(.nav--solid) .nav__link[aria-current="page"] { color: var(--gold-light); }
body.has-dark-hero .nav:not(.nav--solid) .brand__name { color: #fff; }
body.has-dark-hero .nav:not(.nav--solid) .burger { border-color: rgba(255, 255, 255, .5); }
body.has-dark-hero .nav:not(.nav--solid) .burger span { background: #fff; }

/* Dropdown */
.nav__item { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 208px;
  padding: 10px;
  transform: translate(-50%, 10px);
  background: rgba(255, 253, 249, .96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid);
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__panel a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  color: var(--ink-soft);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__panel a:hover { background: var(--beige); color: var(--maroon); }
.nav__caret { transition: transform var(--t-fast) var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__cta { margin-left: 10px; }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, .45);
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -7px); }
.burger span:nth-child(2) { transform: translate(-50%, -50%); }
.burger span:nth-child(3) { transform: translate(-50%, 5px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 78% 30%, rgba(201, 162, 39, .16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(110, 16, 35, .07), transparent 60%),
    linear-gradient(160deg, var(--off-white) 0%, var(--beige) 100%);
}

/* Heritage arch motif behind portrait */
.hero__motif {
  position: absolute;
  top: 50%; right: -6%;
  width: min(780px, 66vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .5;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(201, 162, 39, .1) 0deg 2deg, transparent 2deg 12deg);
  mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 72%);
  animation: spin-slow 120s linear infinite;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(201, 162, 39, .4);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--maroon);
  box-shadow: var(--sh-xs);
  margin-bottom: 26px;
}
.hero__badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(232, 128, 26, .2);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero__title { margin-bottom: 18px; }
.hero__title .line { display: block; }
.hero__title .accent {
  background: linear-gradient(100deg, var(--maroon) 0%, var(--saffron) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
  font-family: var(--f-display);
  font-size: clamp(.76rem, 1.25vw, .92rem);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__tagline i {
  width: 6px; height: 6px;
  background: var(--saffron);
  transform: rotate(45deg);
  flex: none;
}

.hero__text {
  max-width: 55ch;
  margin-bottom: 34px;
  color: var(--ink-soft);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 162, 39, .3);
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.stat__num .suffix { color: var(--saffron); }
.stat__label {
  margin-top: 7px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Portrait */
.hero__figure { position: relative; justify-self: center; }
.hero__frame {
  position: relative;
  width: min(430px, 82vw);
  aspect-ratio: 3 / 4;
  border-radius: 260px 260px var(--r-lg) var(--r-lg); /* jharokha arch */
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, .5);
  box-shadow: var(--sh-lg), 0 0 0 10px rgba(255, 255, 255, .58);
  background: var(--beige);
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 1.4s var(--ease-out);
}
.hero__frame:hover img { transform: scale(1.05); }
.hero__frame::after { /* gold inner rim */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 250px 250px 16px 16px;
  pointer-events: none;
}

/* Floating glass plaque */
.hero__plaque {
  position: absolute;
  left: -34px; bottom: 46px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--sh-md);
  animation: float 6s var(--ease) infinite;
}
.hero__plaque .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--maroon-deep);
  flex: none;
}
.hero__plaque strong {
  display: block;
  font-family: var(--f-display);
  font-size: .92rem;
  color: var(--maroon-deep);
}
.hero__plaque span { font-size: .72rem; color: var(--muted); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i {
  width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 14px;
  background: var(--maroon);
  animation: scroll-dot 2.2s var(--ease) infinite;
}

/* Page banner (inner pages) */
.banner {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 66px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 162, 39, .16), transparent 65%),
    linear-gradient(180deg, var(--off-white), var(--beige));
  border-bottom: 1px solid rgba(201, 162, 39, .26);
  overflow: hidden;
}
.banner h1 { margin-bottom: 10px; }
.crumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: .78rem;
  color: var(--muted);
}
.crumbs a { color: var(--maroon); }
.crumbs span { color: var(--gold); }

/* ---------- 8. Cards & Sections ---------- */
.card {
  position: relative;
  padding: 34px 30px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.card::before { /* gold sweep on hover */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--gold-pale), rgba(255, 255, 255, .7));
  border: 1px solid rgba(201, 162, 39, .4);
  color: var(--maroon);
  transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.card:hover .card__icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--grad-royal);
  color: var(--gold-light);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--muted); }

/* About preview split */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 66px;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(201, 162, 39, .3);
}
.split__media::after { /* offset gold outline */
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  z-index: -1;
}

.tick {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: .93rem;
}
.tick svg { flex: none; margin-top: 4px; color: var(--gold); }

/* Quote / philosophy */
.quote {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding: 54px 44px;
  text-align: center;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 162, 39, .32);
  box-shadow: var(--sh-md);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: .32;
}
.quote blockquote {
  font-family: var(--f-serif);
  font-size: clamp(1.28rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
}
.quote cite {
  font-family: var(--f-body);
  font-style: normal;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maroon);
}

/* Testimonials */
.tcard { display: flex; flex-direction: column; height: 100%; }
.tcard__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.tcard p {
  font-family: var(--f-serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ink);
  flex: 1;
}
.tcard__by {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 162, 39, .26);
}
.tcard__by img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-pale);
}
.tcard__by strong { display: block; font-size: .9rem; color: var(--maroon-deep); }
.tcard__by span { font-size: .76rem; color: var(--muted); }

/* Counters strip */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 46px 40px;
  border-radius: var(--r-lg);
  background: var(--grad-royal);
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.counters::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23e3c766' stroke-width='1'%3E%3Cpath d='M30 3c8 8 8 19 0 27-8-8-8-19 0-27zM30 30c8 8 8 19 0 27-8-8-8-19 0-27z'/%3E%3C/g%3E%3C/svg%3E");
}
.counters > * { position: relative; text-align: center; }
.counters .stat__num { color: var(--gold-light); }
.counters .stat__num .suffix { color: var(--saffron-soft); }
.counters .stat__label { color: rgba(255, 255, 255, .72); }

/* ---------- 9. Timeline ---------- */
.tl { position: relative; max-width: 980px; margin-inline: auto; }
.tl::before { /* spine */
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(201, 162, 39, .45) 8%, rgba(201, 162, 39, .45) 92%, transparent);
}
.tl__fill { /* progress line drawn by JS */
  position: absolute;
  left: 50%; top: 0;
  width: 2px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--saffron), var(--maroon));
  transition: height .18s linear;
  z-index: 1;
}

.tl__item {
  position: relative;
  width: 50%;
  padding-right: 58px;
  margin-bottom: 46px;
}
.tl__item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 58px;
  text-align: left;
}
.tl__item:nth-child(odd) { text-align: right; }

.tl__dot {
  position: absolute;
  top: 26px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--gold);
  z-index: 2;
  transition: background var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.tl__item:nth-child(odd) .tl__dot { right: -8.5px; }
.tl__item:nth-child(even) .tl__dot { left: -8.5px; }
.tl__item.is-in .tl__dot {
  background: var(--grad-gold);
  transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(201, 162, 39, .18);
}

.tl__card {
  padding: 26px 28px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tl__card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.tl__year {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 15px;
  border-radius: var(--r-pill);
  background: var(--gold-pale);
  border: 1px solid rgba(201, 162, 39, .45);
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--maroon-deep);
}
.tl__card h3 { margin-bottom: 8px; font-size: 1.22rem; }
.tl__card p { font-size: .9rem; color: var(--muted); }

/* ---------- 10. Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 42px;
}
.filter {
  padding: 9px 22px;
  border: 1px solid rgba(201, 162, 39, .45);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .6);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.filter:hover { border-color: var(--maroon); color: var(--maroon); }
.filter.is-on {
  background: var(--grad-royal);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(110, 16, 35, .24);
}

/* Masonry via CSS columns */
.masonry { columns: 3; column-gap: 22px; }
.masonry .tile { break-inside: avoid; margin-bottom: 22px; }

.tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--beige);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tile img { width: 100%; transition: transform var(--t-slow) var(--ease-out); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.tile:hover img { transform: scale(1.08); }
.tile__veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  text-align: left;
  background: linear-gradient(0deg, rgba(78, 10, 24, .82), rgba(78, 10, 24, .1) 55%, transparent);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.tile:hover .tile__veil, .tile:focus-visible .tile__veil { opacity: 1; }
.tile__veil strong {
  font-family: var(--f-display);
  color: #fff;
  font-size: 1rem;
  transform: translateY(10px);
  transition: transform var(--t-mid) var(--ease-out) .05s;
}
.tile__veil span { font-size: .74rem; color: var(--gold-light); transform: translateY(10px); transition: transform var(--t-mid) var(--ease-out) .1s; }
.tile:hover .tile__veil strong, .tile:hover .tile__veil span { transform: translateY(0); }

.tile.is-hidden { display: none; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(42, 33, 24, .9);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid);
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__img {
  max-width: min(1080px, 92vw);
  max-height: 82vh;
  border-radius: var(--r-md);
  border: 1px solid rgba(201, 162, 39, .5);
  box-shadow: var(--sh-lg);
  transform: scale(.94);
  transition: transform var(--t-mid) var(--ease-out);
}
.lb.is-open .lb__img { transform: scale(1); }
.lb__cap {
  margin-top: 16px;
  text-align: center;
  color: var(--gold-light);
  font-family: var(--f-serif);
  font-size: 1.05rem;
}
.lb__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .5);
  background: rgba(255, 255, 255, .12);
  color: var(--gold-light);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.lb__btn:hover { background: var(--maroon); transform: scale(1.08); }
.lb__close { top: 26px; right: 26px; }
.lb__prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb__prev:hover, .lb__next:hover { transform: translateY(-50%) scale(1.08); }
.lb__count {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}

/* ---------- 11. Events ---------- */
.ecard {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.ecard:hover { transform: translateY(-9px); box-shadow: var(--sh-md); }

.ecard__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--beige); }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.ecard:hover .ecard__media img { transform: scale(1.07); }

.ecard__date {
  position: absolute;
  top: 16px; left: 16px;
  display: grid;
  place-items: center;
  width: 62px; padding: 9px 0;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 39, .45);
  box-shadow: var(--sh-sm);
  line-height: 1.1;
}
.ecard__date strong { font-family: var(--f-display); font-size: 1.32rem; color: var(--maroon); }
.ecard__date span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.ecard__tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-royal);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.ecard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.ecard__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  font-size: .76rem;
  color: var(--muted);
}
.ecard__meta svg { color: var(--saffron); flex: none; }
.ecard__body h3 { margin-bottom: 10px; font-size: 1.18rem; }
.ecard__body p { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 20px; }

/* Event detail */
.ebanner {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 56px;
  overflow: hidden;
}
.ebanner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.ebanner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(78, 10, 24, .88), rgba(78, 10, 24, .42) 55%, rgba(78, 10, 24, .3));
}
.ebanner h1 { color: #fff; max-width: 18ch; }
.ebanner .crumbs { justify-content: flex-start; color: rgba(255, 255, 255, .7); }
.ebanner .crumbs a { color: var(--gold-light); }

.efacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .3);
}
.efact span {
  display: block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 5px;
}
.efact strong { font-family: var(--f-display); color: #fff; font-size: 1rem; }

.prose h2 { margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 18px; }
.prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--grad-gold);
  transform: rotate(45deg);
  border-radius: 2px;
}

.aside {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 162, 39, .32);
  box-shadow: var(--sh-sm);
}
.aside h3 { margin-bottom: 18px; font-size: 1.1rem; }
.aside__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(201, 162, 39, .35);
  font-size: .88rem;
}
.aside__row:last-of-type { border-bottom: 0; }
.aside__row span { color: var(--muted); }
.aside__row strong { color: var(--maroon-deep); text-align: right; }

/* ---------- 12. News & Media ---------- */
.ncard { display: flex; flex-direction: column; height: 100%; }
.ncard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.ncard:hover .ncard__media img { transform: scale(1.07); }

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(78, 10, 24, .3);
  transition: background var(--t-mid) var(--ease);
}
.play i {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--maroon);
  box-shadow: var(--sh-md);
  transition: transform var(--t-mid) var(--ease);
}
.play i::after { /* pulse ring */
  content: "";
  position: absolute;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7);
  animation: ring 2.4s var(--ease) infinite;
}
.ncard:hover .play { background: rgba(78, 10, 24, .16); }
.ncard:hover .play i { transform: scale(1.1); }

.ncard__chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--gold-pale);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--maroon);
}

.press {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(201, 162, 39, .26);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.press:hover { transform: translateX(6px); border-color: var(--gold); box-shadow: var(--sh-sm); }
.press__logo {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--grad-warm);
  border: 1px solid rgba(201, 162, 39, .3);
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--maroon);
}
.press__body { flex: 1; }
.press__body strong { display: block; font-family: var(--f-display); color: var(--maroon-deep); margin-bottom: 3px; }
.press__body span { font-size: .78rem; color: var(--muted); }

/* ---------- 13. Contact ---------- */
.ccard {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.ccard:hover { transform: translateY(-5px); box-shadow: var(--sh-sm); }
.ccard__icon {
  width: 50px; height: 50px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--grad-gold);
  color: var(--maroon-deep);
}
.ccard h4 { margin-bottom: 5px; font-family: var(--f-display); }
.ccard p, .ccard a { font-size: .9rem; color: var(--muted); }
.ccard a:hover { color: var(--maroon); }

.map {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, .35);
  box-shadow: var(--sh-md);
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 162, 39, .16), transparent 45%),
    repeating-linear-gradient(45deg, var(--beige) 0 22px, var(--warm-white) 22px 44px);
  display: grid;
  place-items: center;
  text-align: center;
}
.map__pin {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad-royal);
  color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(110, 16, 35, .3);
  animation: float 3.6s var(--ease) infinite;
}
.map strong { display: block; font-family: var(--f-display); color: var(--maroon-deep); }
.map span { font-size: .82rem; color: var(--muted); }

.socials { display: flex; gap: 12px; }
.socials a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(201, 162, 39, .4);
  color: var(--maroon);
  transition: all var(--t-fast) var(--ease);
}
.socials a:hover {
  background: var(--grad-royal);
  border-color: transparent;
  color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(110, 16, 35, .28);
}

/* ---------- 14. Footer ---------- */
.footer {
  position: relative;
  padding: 76px 0 0;
  background: var(--grad-royal);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23e3c766' stroke-width='1'%3E%3Cpath d='M40 6c10 10 10 24 0 34-10-10-10-24 0-34zM40 40c10 10 10 24 0 34-10-10-10-24 0-34z'/%3E%3Ccircle cx='40' cy='40' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}
.footer > * { position: relative; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--gold-light); }
.footer .brand__crest { background: rgba(255, 255, 255, .1); }

.footer__tag {
  margin: 20px 0 22px;
  font-family: var(--f-display);
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--gold-light);
}
.footer p { font-size: .9rem; }
.footer h4 {
  margin-bottom: 20px;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: .9rem; color: rgba(255, 255, 255, .74); }
.footer__links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer__links a { transition: padding-left var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }

.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: .89rem;
}
.footer__contact svg { flex: none; margin-top: 4px; color: var(--gold); }
.footer__contact a { color: rgba(255, 255, 255, .74); }
.footer__contact a:hover { color: var(--gold-light); }

.footer .socials a {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(201, 162, 39, .4);
  color: var(--gold-light);
}
.footer .socials a:hover { background: var(--grad-gold); color: var(--maroon-deep); }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid rgba(201, 162, 39, .28);
  font-size: .82rem;
}
.footer__bar a { color: var(--gold-light); }

/* ---------- 15. Floating UI ---------- */
.wa {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .42);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.wa::before { /* halo */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: ring 2.6s var(--ease) infinite;
}
.wa:hover { color: #fff; transform: scale(1.1) rotate(6deg); box-shadow: 0 18px 40px rgba(37, 211, 102, .55); }
.wa__tip {
  position: absolute;
  right: calc(100% + 14px);
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  box-shadow: var(--sh-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.wa:hover .wa__tip { opacity: 1; transform: translateX(0); }

.totop {
  position: fixed;
  right: 24px; bottom: 94px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(201, 162, 39, .5);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  color: var(--maroon);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--t-mid) var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--grad-royal); color: var(--gold-light); border-color: transparent; }

/* Page loader — only ever shown when JS is present to dismiss it */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--ivory);
  transition: opacity .5s var(--ease), visibility .5s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark {
  display: grid;
  place-items: center;
  width: 82px; height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .4);
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
  position: relative;
}
.loader__mark::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--saffron);
  animation: spin 1s linear infinite;
}
.loader__tag {
  position: absolute;
  bottom: 34%;
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
