/* =========================================================================
   Shree Samast Khadayata Yuva Samaj – site styles
   ========================================================================= */
@view-transition { navigation: auto; }

:root {
  --maroon-900: #3f0710;
  --maroon-800: #560b17;
  --maroon-700: #6d0f1c;
  --maroon-600: #861526;
  --maroon-500: #a11d31;
  --gold-600: #b07d1e;
  --gold-500: #c9962e;
  --gold-400: #ddb25a;
  --gold-300: #ecd08f;
  --gold-100: #f8ecd0;
  --cream: #fbf5ea;
  --cream-2: #f6ecdb;
  --paper: #fffdf9;
  --ink: #2b1a14;
  --ink-2: #5a463d;
  --muted: #86736a;
  --line: #eadcc4;
  --green: #25a244;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(63, 7, 16, .06);
  --shadow: 0 10px 30px -10px rgba(63, 7, 16, .22);
  --shadow-lg: 0 30px 60px -20px rgba(63, 7, 16, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-head: 'Baloo Bhai 2', 'Noto Sans Gujarati', system-ui, sans-serif;
  --font-body: 'Hind Vadodara', 'Noto Sans Gujarati', system-ui, sans-serif;
  --wrap: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; color: var(--maroon-700); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 2; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--maroon-700); color: #fff; padding: 8px 14px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-300); color: var(--maroon-900); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow, .narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--ink-2); line-height: 1.85; }
.spacer { height: 56px; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; color: var(--gold-600); letter-spacing: .04em; margin-bottom: 8px; }
.title-lg { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.title-md { font-size: 1.5rem; margin-bottom: 8px; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---- scroll progress ---- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--gold-500), var(--maroon-500)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --bg: var(--maroon-700); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.4em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(109, 15, 28, .55); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon:last-child { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--primary { --bg: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); background: var(--bg); }
.btn--cream { --bg: var(--gold-100); --fg: var(--maroon-700); background: linear-gradient(135deg, #fff7e6, var(--gold-100)); box-shadow: inset 0 0 0 1.5px rgba(201, 150, 46, .4); }
.btn--ghost { --bg: transparent; --fg: var(--maroon-700); --bd: var(--gold-400); }
.btn--ghost:hover { --bg: var(--gold-100); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, .12); }
.btn--whatsapp { --bg: var(--green); background: var(--green); }
.btn--sm { font-size: .9rem; padding: .55em 1.1em; }
.btn--lg { font-size: 1.08rem; padding: .85em 1.7em; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }

/* =========================================================================
   Top bar + header
   ========================================================================= */
.topbar { background: linear-gradient(90deg, var(--maroon-900), var(--maroon-700)); color: #f3dcc0; font-size: .85rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__info, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__info > * { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.topbar__info a:hover, .topbar__social:hover { color: #fff; }
.topbar__info .icon { color: var(--gold-400); width: 14px; height: 14px; }
.topbar__social { display: inline-grid; place-items: center; width: 26px; height: 26px; transition: transform .3s var(--ease-spring), color .2s; }
.topbar__social .icon { width: 15px; height: 15px; }
.topbar__social:hover { transform: translateY(-2px) scale(1.12); }
.lang { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.lang a { display: inline-flex; align-items: center; gap: 5px; padding: 2px 11px; border-radius: 999px; transition: background .25s, color .25s; }
.lang a .icon { width: 13px; height: 13px; }
.lang a.is-on { background: var(--gold-400); color: var(--maroon-900); font-weight: 600; }
@media (max-width: 760px) {
  .topbar__info > :not(:first-child) { display: none; }
  .topbar__social { display: none; }
}

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 249, .97); border-bottom: 1px solid transparent; transition: box-shadow .35s, border-color .35s; }
.header.is-stuck { box-shadow: 0 8px 30px -12px rgba(63, 7, 16, .25); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 22px; height: var(--header-h); transition: height .35s var(--ease); max-width: 1440px; }
.nav__link { white-space: nowrap; }
.header.is-stuck .header__in { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo { width: 62px; height: 62px; object-fit: contain; border-radius: 50%; flex: none; transition: transform .6s var(--ease), width .35s var(--ease), height .35s var(--ease); filter: drop-shadow(0 4px 8px rgba(109, 15, 28, .2)); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.header.is-stuck .brand__logo { width: 50px; height: 50px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font-family: var(--font-head); font-weight: 800; color: var(--maroon-700); font-size: 1.12rem; }
.brand__place { font-family: var(--font-head); font-weight: 700; color: var(--maroon-600); font-size: .98rem; }
.brand__text small { color: var(--gold-600); font-size: .78rem; font-weight: 600; margin-top: 2px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: var(--gold-300); }

.nav { margin-left: auto; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  white-space: nowrap;
  position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; background: none; border: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); border-radius: 10px; transition: color .25s;
}
.nav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--maroon-600), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--maroon-700); }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__chev { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 250px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.nav__sub::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s, transform .25s var(--ease); }
.nav__sub a .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--cream); color: var(--maroon-600); transition: background .25s, color .25s; }
.nav__sub a:hover { background: var(--cream); color: var(--maroon-700); transform: translateX(3px); }
.nav__sub a:hover .icon { background: var(--maroon-700); color: #fff; }
@media (hover: hover) and (min-width: 1361px) {
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
  .has-sub:hover .nav__chev { transform: rotate(180deg); }
}
.has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.header__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; flex: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--maroon-700); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; right: 18px; }
.burger span:nth-child(3) { top: 29px; }
.nav-scrim { display: none; }

/* Wide screens keep the full menu; when space runs short the motto and the
   Donate label go first, then the menu folds into the ☰ panel. */
/* Full menu (wide screens): the name never shrinks or wraps; the motto
   lives in the footer, the Donate label shows only when there is room. */
@media (min-width: 1361px) {
  .brand { flex: none; }
  .brand__text { white-space: nowrap; }
  .header__in { gap: 16px; }
  .brand__text small { display: none; }
}
@media (min-width: 1361px) and (max-width: 1599px) {
  .nav__link { padding: 10px 9px; font-size: .95rem; }
}
@media (max-width: 1360px) {
  :root { --header-h: 74px; }
  .burger { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .brand__logo { width: 52px; height: 52px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 130; margin: 0;
    background: var(--paper); display: flex; flex-direction: column;
    transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--maroon-700); font-size: 1.15rem; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .nav__item { opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(var(--i) * 40ms + .1s); }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 14px; font-size: 1.08rem; border-radius: 12px; }
  .nav__link::after { display: none; }
  .nav__item.is-active > .nav__link { background: var(--cream); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; background: none; overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
  .nav__sub::before { display: none; }
  .has-sub.is-open > .nav__sub { max-height: 600px; transform: none; }
  .has-sub.is-open .nav__chev { transform: rotate(180deg); }
  .nav__foot { display: grid; gap: 14px; padding: 16px 20px 28px; margin-top: auto; border-top: 1px solid var(--line); }
  .lang--nav { background: var(--cream); justify-self: center; }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 125; background: rgba(40, 6, 12, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: none; }
  body.nav-open .nav__item { opacity: 1; transform: none; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) {
  .brand__text strong { font-size: .92rem; }
  .brand__place { font-size: .88rem; }
  .brand__text small { font-size: .74rem; }
  .brand__logo { width: 46px; height: 46px; }
  .wrap { padding: 0 16px; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--maroon-900); color: #fff; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 9s linear; will-change: opacity, transform; }
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(40, 5, 10, .92) 0%, rgba(63, 7, 16, .78) 38%, rgba(63, 7, 16, .25) 70%, rgba(40, 5, 10, .45) 100%),
  linear-gradient(0deg, rgba(40, 5, 10, .7), transparent 40%); }
.hero__glow { position: absolute; z-index: -1; width: 620px; height: 620px; left: -160px; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 178, 90, .28), transparent 65%); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translateY(-46%) scale(1.15); opacity: .7; } }
.hero__in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-top: 70px; padding-bottom: 90px; }
.hero__copy { max-width: 640px; }
.hero__heading { margin: 0; }
.hero__eyebrow { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff3df; line-height: 1.1; }
.hero__title { color: #fff; font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.hero__place { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff3df; }
.hero__tagline { margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.45rem);
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.hero__desc { margin-top: 12px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .9); max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__btns .btn--primary { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
[data-hero-in] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready [data-hero-in] { opacity: 1; transform: none; }
.hero__badge { width: 230px; aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.hero__badge::before { content: ''; position: absolute; inset: 0; border-radius: 34px; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); transform: rotate(45deg); box-shadow: var(--shadow-lg); animation: spin-slow 30s linear infinite; }
.hero__badge-in { position: relative; width: 82%; aspect-ratio: 1; border-radius: 26px; background: #fff8ea; display: grid; place-items: center; padding: 22px; text-align: center; box-shadow: inset 0 0 0 2px var(--gold-400), inset 0 0 0 7px #fff8ea, inset 0 0 0 8px rgba(201, 150, 46, .5); animation: float 6s ease-in-out infinite; }
.hero__badge-in p { font-family: var(--font-head); font-weight: 700; color: var(--maroon-700); font-size: 1.12rem; line-height: 1.35; }
@keyframes spin-slow { to { transform: rotate(405deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); padding: 0; transition: width .5s var(--ease), background .3s; }
.hero__dots button.is-on { width: 30px; background: var(--gold-400); }
.hero__scroll { position: absolute; right: 30px; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-400); animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__in { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 80px; gap: 26px; }
  .hero__badge { width: 170px; justify-self: end; margin-top: -10px; }
  .hero__badge-in p { font-size: .95rem; }
  .hero__shade { background: linear-gradient(180deg, rgba(40, 5, 10, .55), rgba(63, 7, 16, .85) 55%, rgba(40, 5, 10, .95)); }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .hero__badge { display: none; }
  .hero__btns .btn { flex: 1 1 100%; }
}

/* =========================================================================
   Stats
   ========================================================================= */
.stats { position: relative; background: linear-gradient(180deg, var(--cream), #fff9ef); border-bottom: 1px solid var(--line); overflow: hidden; }
.stats::before { content: ''; position: absolute; top: -26px; left: 0; right: 0; height: 52px; background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 34px; padding-bottom: 34px; }
.stat { display: flex; align-items: center; gap: 16px; justify-content: center; padding: 8px 16px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: linear-gradient(transparent, var(--gold-400), transparent); }
.stat__icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--maroon-700); flex: none; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-spring), background .3s, color .3s; }
.stat__icon .icon { width: 28px; height: 28px; }
.stat:hover .stat__icon { transform: rotate(-8deg) scale(1.08); background: var(--maroon-700); color: #fff; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; color: var(--maroon-700); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; }
.stat__label { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.stats__lotus { position: absolute; top: 50%; width: 150px; height: 150px; transform: translateY(-50%); opacity: .18; background: radial-gradient(circle at 50% 100%, var(--gold-500) 0 8%, transparent 9%), conic-gradient(from 200deg at 50% 100%, transparent 0 10deg, var(--gold-500) 10deg 22deg, transparent 22deg 34deg, var(--gold-500) 34deg 46deg, transparent 46deg 58deg, var(--gold-500) 58deg 70deg, transparent 70deg 82deg, var(--gold-500) 82deg 94deg, transparent 94deg 106deg, var(--gold-500) 106deg 118deg, transparent 118deg); -webkit-mask: radial-gradient(circle at 50% 100%, #000 60%, transparent 61%); mask: radial-gradient(circle at 50% 100%, #000 60%, transparent 61%); }
.stats__lotus--l { left: -20px; }
.stats__lotus--r { right: -20px; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .stat:nth-child(3)::before { display: none; }
  .stat { justify-content: flex-start; }
  .stats__lotus { display: none; }
}
@media (max-width: 420px) {
  .stat { flex-direction: column; text-align: center; gap: 8px; }
  .stat__label { font-size: .85rem; }
}

/* =========================================================================
   Sections + headings
   ========================================================================= */
.section { padding: 84px 0; position: relative; }
.section--tight { padding-top: 40px; }
.section--cream { background: var(--cream); }
.section--pattern::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(176, 125, 30, .18) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.section--maroon { background: radial-gradient(1200px 400px at 90% 0%, rgba(201, 150, 46, .25), transparent), linear-gradient(135deg, var(--maroon-800), var(--maroon-600)); color: #fff; }
.section--maroon h2, .section--maroon .title-lg { color: #fff; }
.section--maroon .lead { color: rgba(255, 255, 255, .85); }
@media (max-width: 700px) { .section { padding: 60px 0; } .spacer { height: 36px; } }

.section__head { display: flex; align-items: flex-end; justify-content: center; position: relative; margin-bottom: 40px; }
.section__head .heading { margin-bottom: 0; }
.section__head > .btn { position: absolute; right: 0; bottom: 6px; }
@media (max-width: 900px) {
  .section__head { flex-direction: column; align-items: center; gap: 14px; }
  .section__head > .btn { position: static; }
}
.heading { text-align: center; margin-bottom: 40px; }
.heading__title { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.heading__orn { width: 44px; height: 16px; flex: none; opacity: .9; background:
  radial-gradient(circle at 50% 50%, var(--gold-500) 0 3px, transparent 3.5px),
  radial-gradient(ellipse 9px 5px at 30% 50%, transparent 55%, var(--gold-500) 60% 75%, transparent 80%),
  linear-gradient(90deg, transparent, var(--gold-500)) left center / 55% 1.5px no-repeat; }
.heading__orn--r { transform: scaleX(-1); }
.heading__sub { color: var(--muted); margin-top: 4px; }
@media (max-width: 480px) { .heading__orn { width: 26px; } .heading__title { gap: 8px; } }

/* =========================================================================
   Cards
   ========================================================================= */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cards--4 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; margin: 0 -16px; scrollbar-width: none; }
  .cards--4::-webkit-scrollbar { display: none; }
  .cards--4 > * { scroll-snap-align: center; }
}

.event-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.event-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); display: block; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.08); }
.event-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40, 5, 10, .35), transparent 50%); }
.date-badge { position: absolute; left: 14px; bottom: -1px; z-index: 1; display: grid; justify-items: center; min-width: 64px; padding: 8px 10px 6px; line-height: 1; border-radius: 12px 12px 0 0; background: #fff; color: var(--maroon-700); box-shadow: 0 -4px 14px rgba(0, 0, 0, .12); }
.date-badge b { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; }
.date-badge span { font-weight: 600; font-size: .85rem; margin-top: 4px; }
.date-badge small { font-size: .72rem; color: var(--muted); margin-top: 3px; }
.date-badge--lg { position: static; border-radius: 18px; min-width: 110px; padding: 16px; margin: 0 auto 20px; box-shadow: var(--shadow); border: 2px solid var(--gold-300); }
.date-badge--lg b { font-size: 2.6rem; }
.event-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card__title { font-size: 1.15rem; color: var(--ink); }
.event-card__title a { background: linear-gradient(var(--maroon-600), var(--maroon-600)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.event-card__title a:hover { background-size: 100% 2px; color: var(--maroon-700); }
.event-card__body .btn { margin-top: auto; }
.event-card.is-past { filter: saturate(.7); }
.meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.meta .icon { color: var(--maroon-600); }

/* ---- activities tiles + promo ---- */
.activities { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: stretch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .3s; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); clip-path: circle(0% at 50% 30%); transition: clip-path .6s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: #fff; }
.tile:hover::before { clip-path: circle(150% at 50% 30%); }
.tile__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--maroon-600); transition: transform .6s var(--ease-spring), background .3s, color .3s; }
.tile__icon .icon { width: 30px; height: 30px; }
.tile:hover .tile__icon { transform: scale(1.1) rotate(-10deg); background: rgba(255, 255, 255, .15); color: var(--gold-300); }
.tile__title { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.promo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.5s var(--ease); }
.promo:hover img { transform: scale(1.07); }
.promo__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(40, 5, 10, .1), rgba(40, 5, 10, .85)), linear-gradient(0deg, rgba(40, 5, 10, .5), transparent); }
.promo__body { margin-left: auto; padding: 28px; text-align: right; display: grid; gap: 16px; justify-items: end; }
.promo__title { font-family: var(--font-head); color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.15; display: grid; }
@media (max-width: 1000px) { .activities { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; } .tile { padding: 18px 8px; } .tile__icon { width: 54px; height: 54px; } }

/* ---- sneh sambandh banner ---- */
.sneh { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 15% 20%, rgba(201, 150, 46, .22), transparent 60%), linear-gradient(120deg, var(--maroon-900), var(--maroon-700) 55%, var(--maroon-600)); isolation: isolate; }
.sneh__art { position: absolute; z-index: -1; width: 560px; height: 560px; left: -180px; top: 50%; margin-top: -280px; opacity: .1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--gold-300) 0 6deg, transparent 6deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 24%, #000 25% 30%, transparent 31% 40%, #000 41% 60%, transparent 61%);
  mask: radial-gradient(circle, transparent 24%, #000 25% 30%, transparent 31% 40%, #000 41% 60%, transparent 61%);
  animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sneh__in { display: grid; grid-template-columns: 1.2fr .9fr .85fr; gap: 36px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.sneh__title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.3rem); font-weight: 800; padding-left: 18px; border-left: 4px solid var(--gold-400); }
.sneh__subtitle { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--gold-300); margin: 6px 0 12px; }
.sneh__desc { color: rgba(255, 255, 255, .88); max-width: 520px; }
.sneh__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sneh__photo { position: relative; }
.sneh__frame { border-radius: 200px 200px 24px 24px; overflow: hidden; border: 5px solid rgba(236, 208, 143, .6); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .3s ease-out; }
.sneh__frame img { width: 100%; height: 100%; object-fit: cover; }
.sneh__heart { position: absolute; right: -10px; bottom: 24px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #d6334a; box-shadow: var(--shadow-lg); animation: beat 1.6s ease-in-out infinite; }
.sneh__heart .icon { fill: currentColor; width: 26px; height: 26px; }
.sneh__heart--static { position: absolute; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.sneh__card { background: rgba(255, 248, 234, .97); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--gold-300); }
.sneh__card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.sneh__card li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--line); }
.sneh__card li:last-child { border: 0; }
.sneh__card li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--maroon-600); box-shadow: 0 0 0 4px rgba(161, 29, 49, .15); }
@media (max-width: 1100px) { .sneh__in { grid-template-columns: 1fr 1fr; } .sneh__copy { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sneh__in { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; } .sneh__photo { max-width: 320px; margin: 0 auto; width: 100%; } }

/* ---- stories ---- */
.story { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.story:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.story__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.story__media { cursor: zoom-in; }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--ease); }
.story:hover .story__media img { transform: scale(1.07); }
.story__body { padding: 16px 18px 20px; }
.story__names { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--maroon-600); }
.story__heart { color: #d6334a; fill: currentColor; animation: beat 2s ease-in-out infinite; }
.story__quote { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }

/* ---- activity tiles (recent activities row) ---- */
.shot { display: block; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shot__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream-2); }
.shot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .shot__media img { transform: scale(1.08); }
.shot__title { display: block; text-align: center; padding: 12px 10px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.shot__count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: rgba(40, 5, 10, .6); color: #fff; font-size: .8rem; backdrop-filter: blur(4px); }

/* ---- president + contact ---- */
.duo { display: grid; grid-template-columns: 1fr 360px; gap: 26px; position: relative; }
.president { display: grid; grid-template-columns: 200px 1fr; gap: 26px; background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.president__photo { border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--gold-100), var(--cream-2)); align-self: start; aspect-ratio: 4 / 5; position: relative; }
.president__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.president__title { font-size: 1.55rem; margin-bottom: 10px; }
.president__excerpt { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.president__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.president__foot strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.president__foot span { color: var(--muted); font-size: .92rem; }
.contact-card { background: linear-gradient(160deg, #fff, #fff8ea); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card ul { display: grid; gap: 12px; }
.contact-card li { display: flex; align-items: center; gap: 12px; word-break: break-word; }
.contact-card__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--cream); color: var(--maroon-600); }
.contact-card a:hover { color: var(--maroon-700); }
.contact-card .btn { margin-top: auto; }
@media (max-width: 1000px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .president { grid-template-columns: 1fr; } .president__photo { max-width: 200px; } }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--maroon-800), var(--maroon-900)); color: rgba(255, 255, 255, .78); padding-top: 70px; isolation: isolate; }
.footer__mandala { position: absolute; z-index: -1; right: -200px; top: -200px; width: 600px; height: 600px; opacity: .06; border-radius: 50%; background: repeating-conic-gradient(var(--gold-300) 0 5deg, transparent 5deg 12deg); -webkit-mask: radial-gradient(circle, transparent 20%, #000 21% 45%, transparent 46% 50%, #000 51% 68%, transparent 69%); mask: radial-gradient(circle, transparent 20%, #000 21% 45%, transparent 46% 50%, #000 51% 68%, transparent 69%); animation: spin 120s linear infinite; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 36px; padding-bottom: 50px; }
.footer__brand p { margin-top: 16px; font-size: .95rem; }
.footer__title { color: #fff; font-size: 1.12rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold-400); border-radius: 2px; }
.footer__title--sm { margin-top: 22px; font-size: 1rem; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.footer__links a { position: relative; transition: color .25s, padding .3s var(--ease); }
.footer__links a:hover { color: var(--gold-300); padding-left: 6px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer__contact .icon { color: var(--gold-400); margin-top: 5px; }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); transition: transform .4s var(--ease-spring), background .3s; }
.social .icon { width: 18px; height: 18px; }
.social:hover { transform: translateY(-4px) rotate(8deg); }
.social--facebook:hover { background: #1877f2; }
.social--instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--youtube:hover { background: #ff0000; }
.social--whatsapp:hover { background: var(--green); }
.subscribe { display: flex; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.subscribe input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 14px; font: inherit; color: var(--ink); outline: 0; }
.subscribe button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--maroon-700); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease-spring), background .3s; }
.subscribe button:hover { transform: rotate(-20deg) scale(1.05); background: var(--maroon-500); }
.subscribe__ok { margin-top: 10px; display: flex; align-items: center; gap: 8px; color: var(--gold-300); animation: pop .5s var(--ease-spring); }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer__bar-in { display: flex; justify-content: space-between; gap: 10px 20px; padding: 18px 20px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer__legal a:hover { color: #fff; }
.footer__love { display: inline-flex; align-items: center; gap: 5px; }
.heart-beat { color: #ff5a6e; fill: currentColor; animation: beat 1.6s ease-in-out infinite; width: 14px; height: 14px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } .footer { padding-top: 50px; } .footer__bar-in { flex-direction: column; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 10px 25px -5px rgba(37, 162, 68, .6); transition: transform .4s var(--ease-spring); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--maroon-700); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--maroon-700); color: #fff; }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } .to-top { right: 18px; bottom: 76px; } }

/* =========================================================================
   Inner pages
   ========================================================================= */
.page-hero { position: relative; overflow: hidden; background: var(--maroon-800); color: #fff; padding: 90px 0 80px; isolation: isolate; text-align: center; }
.page-hero__bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { to { scale: 1.1; } }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 50% 100%, rgba(201, 150, 46, .25), transparent), linear-gradient(180deg, rgba(63, 7, 16, .78), rgba(40, 5, 10, .9)); }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--paper); clip-path: ellipse(60% 100% at 50% 100%); }
.page-hero__title { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.page-hero__sub { color: var(--gold-300); font-family: var(--font-head); font-size: clamp(1rem, 2vw, 1.25rem); margin-top: 6px; }
.crumbs { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .88rem; color: rgba(255, 255, 255, .75); margin-bottom: 14px; padding: 5px 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.crumbs .icon { width: 13px; height: 13px; opacity: .6; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--gold-300); }
.ornament { display: block; width: 120px; height: 16px; margin: 18px auto 0; background: radial-gradient(circle, var(--gold-400) 0 4px, transparent 4.5px) center / 16px 16px no-repeat, linear-gradient(90deg, transparent, var(--gold-400) 40%, transparent 40% 60%, var(--gold-400) 60%, transparent) center / 100% 1.5px no-repeat; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.split__media { position: relative; }
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; outline: 1.5px solid var(--gold-300); outline-offset: 8px; transition: transform .3s ease-out; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame--arch { border-radius: 220px 220px 24px 24px; }
.frame--arch img { aspect-ratio: 4 / 5; object-position: center 25%; }
.frame__badge { position: absolute; left: -18px; bottom: -18px; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); color: #fff; padding: 16px 20px; border-radius: 18px; box-shadow: var(--shadow-lg); display: grid; line-height: 1.1; animation: float 5s ease-in-out infinite; }
.frame__badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold-300); }
.frame__badge span { font-size: .85rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } .split__media { max-width: 520px; margin: 0 auto; width: 100%; } .frame__badge { left: 8px; } }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.pillar { background: #fff; border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.pillar__icon { width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); color: var(--gold-300); transform: rotate(45deg); transition: transform .6s var(--ease-spring); }
.pillar__icon .icon { transform: rotate(-45deg); width: 30px; height: 30px; }
.pillar:hover .pillar__icon { transform: rotate(135deg); }
.pillar:hover .pillar__icon .icon { transform: rotate(-135deg); }
.pillar__icon .icon { transition: transform .6s var(--ease-spring); }
.pillar h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pillar p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

.prose { color: var(--ink-2); font-size: 1.05rem; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--maroon-700); margin-top: 1.6em; }
.prose a { color: var(--maroon-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose blockquote { border-left: 4px solid var(--gold-400); padding: 6px 18px; background: var(--cream); border-radius: 0 12px 12px 0; }
.prose img { border-radius: 14px; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose--dropcap > p:first-child::first-letter { float: left; font-family: var(--font-head); font-size: 3.6em; line-height: .9; font-weight: 800; color: var(--maroon-600); margin: 6px 10px 0 0; }
.prose--timeline > p { position: relative; padding-left: 34px; }
.prose--timeline > p::before { content: ''; position: absolute; left: 6px; top: .7em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--gold-500); z-index: 1; }
.prose--timeline > p::after { content: ''; position: absolute; left: 11px; top: 1.4em; bottom: -1.6em; width: 2px; background: linear-gradient(var(--gold-300), transparent); }
.prose--timeline > p:last-child::after { display: none; }

.founded { display: flex; align-items: center; gap: 20px; max-width: 720px; margin: 0 auto 36px; padding: 22px 28px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: #fff; box-shadow: var(--shadow-lg); }
.founded__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: rgba(236, 208, 143, .15); color: var(--gold-300); flex: none; }
.founded__icon .icon { width: 28px; height: 28px; }
.founded__label { display: block; color: var(--gold-300); font-size: .9rem; }
.founded__date { font-family: var(--font-head); font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto 50px; }
.fact { text-align: center; padding: 20px 10px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--maroon-700); line-height: 1.1; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } .founded { flex-direction: column; text-align: center; } }

.letter-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; position: relative; }
.letter__side { position: sticky; top: calc(var(--header-h) + 30px); text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.letter__photo { border-radius: 16px; overflow: hidden; margin-bottom: 14px; background: var(--cream-2); }
.letter__photo img { width: 100%; }
.letter__side strong { display: block; font-family: var(--font-head); color: var(--maroon-700); font-size: 1.15rem; }
.letter__side span { color: var(--muted); }
.letter { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 50px); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.letter::before { content: '“'; position: absolute; right: 30px; top: -10px; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: var(--gold-100); pointer-events: none; }
.letter__invocation { text-align: center; font-family: var(--font-head); color: var(--maroon-600); font-weight: 600; margin-bottom: 26px; }
.letter__sign { margin-top: 30px; text-align: right; }
.letter__sign strong { display: block; font-family: var(--font-head); color: var(--maroon-700); font-size: 1.2rem; }
.letter__sign span { color: var(--muted); }
.letter__closing { margin-top: 24px; text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--gold-600); }
@media (max-width: 860px) { .letter-wrap { grid-template-columns: 1fr; } .letter__side { position: static; max-width: 300px; margin: 0 auto; } }

.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px; margin-bottom: 60px; }
.members--compact { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 22px; }
.member { text-align: center; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--gold-100), var(--cream-2)); box-shadow: var(--shadow); margin-bottom: 12px; isolation: isolate; }
.member__photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6); pointer-events: none; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease), filter .5s; }
.member:hover .member__photo img { transform: scale(1.06); }
.member__photo::before { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1; background: linear-gradient(0deg, rgba(109, 15, 28, .6), transparent); opacity: 0; transition: opacity .5s; }
.member:hover .member__photo::before { opacity: 1; }
.member__ph { display: grid; place-items: center; height: 100%; color: var(--gold-500); }
.member__ph .icon { width: 50%; height: 50%; }
.member__years { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; background: #fff; color: var(--maroon-700); font-weight: 600; font-size: .82rem; padding: 2px 12px; border-radius: 99px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.member__name { font-size: 1.08rem; color: var(--ink); }
.member__role { color: var(--maroon-600); font-weight: 500; font-size: .92rem; }
.member__phone { display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.members--lead .member:nth-child(-n+2) .member__photo { outline: 2px solid var(--gold-400); outline-offset: 4px; }
@media (max-width: 520px) { .members, .members--compact { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.founder { display: flex; align-items: center; gap: 30px; max-width: 760px; margin: 0 auto 60px; padding: 24px; border-radius: 28px; background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.founder::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(236, 208, 143, .08); }
.founder img { width: 170px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 20px; border: 4px solid var(--gold-300); flex: none; }
.founder h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.founder .eyebrow { color: var(--gold-300); }
.founder__years { color: var(--gold-300); font-family: var(--font-head); font-size: 1.2rem; }
@media (max-width: 560px) { .founder { flex-direction: column; text-align: center; } }

.detail { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.detail__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 26px; width: 100%; cursor: zoom-in; }
.detail__side { position: sticky; top: calc(var(--header-h) + 30px); background: var(--cream); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--line); display: grid; gap: 12px; }
.facts-list { display: grid; gap: 10px; margin-bottom: 8px; }
.facts-list li { display: flex; gap: 10px; align-items: center; }
.facts-list .icon { color: var(--maroon-600); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail__side { position: static; } }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 28px; }
.album { position: relative; display: block; padding-top: 14px; }
.album__stack img { position: absolute; top: 0; left: 8%; right: 8%; width: 84%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease); }
.album__stack img:nth-child(1) { transform: rotate(-4deg) translateY(4px); opacity: .7; }
.album__stack img:nth-child(2) { transform: rotate(3deg) translateY(2px); opacity: .85; }
.album:hover .album__stack img:nth-child(1) { transform: rotate(-9deg) translate(-14px, -6px); }
.album:hover .album__stack img:nth-child(2) { transform: rotate(8deg) translate(14px, -4px); }
.album__cover { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); }
.album__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.album:hover .album__cover img { transform: scale(1.06); }
.album__body { display: grid; gap: 2px; padding: 14px 50px 0 4px; }
.album__body strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.album__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.album__go { position: absolute; right: 4px; bottom: 6px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--maroon-700); transition: transform .5s var(--ease-spring), background .3s, color .3s; }
.album:hover .album__go { transform: rotate(45deg); background: var(--maroon-700); color: #fff; }

.masonry { columns: 4 240px; column-gap: 16px; }
.masonry__item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; break-inside: avoid; background: var(--cream-2); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.masonry__item img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.masonry__item:hover img { transform: scale(1.06); }
.masonry__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(63, 7, 16, .35); color: #fff; opacity: 0; transition: opacity .4s; }
.masonry__zoom .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); transform: scale(.6); transition: transform .5s var(--ease-spring); }
.masonry__item:hover .masonry__zoom { opacity: 1; }
.masonry__item:hover .masonry__zoom .icon { transform: scale(1); }
.masonry__cap { position: absolute; left: 10px; bottom: 10px; right: 10px; text-align: left; color: #fff; font-size: .85rem; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.masonry__item:hover .masonry__cap { opacity: 1; transform: none; }
.masonry__item.is-hidden { display: none; }
@media (max-width: 520px) { .masonry { columns: 2; column-gap: 10px; } .masonry__item { margin-bottom: 10px; border-radius: 12px; } }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; transition: all .3s var(--ease); }
.chip small { background: var(--cream); color: var(--muted); border-radius: 99px; padding: 0 8px; font-size: .75rem; }
.chip:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.chip.is-on { background: var(--maroon-700); border-color: var(--maroon-700); color: #fff; }
.chip.is-on small { background: rgba(255, 255, 255, .2); color: #fff; }

.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--maroon-700); color: #fff; flex: none; margin-top: 2px; }
.register { display: grid; grid-template-columns: 1.3fr .8fr; gap: 50px; align-items: center; }
.steps { display: grid; gap: 14px; margin-top: 26px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.steps li span { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-400); color: var(--maroon-900); font-weight: 800; font-family: var(--font-head); }
.register__card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 208, 143, .35); border-radius: 26px; padding: 30px; display: grid; gap: 12px; text-align: center; backdrop-filter: blur(6px); }
.register__icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: var(--gold-100); color: var(--maroon-700); animation: float 5s ease-in-out infinite; }
.register__icon .icon { width: 36px; height: 36px; }
.register__card strong { font-family: var(--font-head); font-size: 1.3rem; }
.register__card small { color: var(--gold-300); margin-top: -8px; }
@media (max-width: 860px) { .register { grid-template-columns: 1fr; } }

.downloads { display: grid; gap: 16px; }
.download { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.download:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.download__icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); color: #fff; }
.download__icon .icon { width: 26px; height: 26px; }
.download__body { flex: 1; min-width: 0; }
.download__body strong { font-family: var(--font-head); font-size: 1.1rem; display: block; }
.download__body p { color: var(--ink-2); font-size: .95rem; }
.download__body small { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.download__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 520px) { .download { padding: 14px; gap: 12px; } .download__icon { width: 44px; height: 44px; } }

.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.poster { margin: 0; }
.poster__img { display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.poster__img:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.poster figcaption { margin-top: 10px; text-align: center; color: var(--ink-2); font-size: .92rem; }
.bank { display: flex; gap: 20px; align-items: flex-start; max-width: 760px; margin: 0 auto; padding: 26px; border-radius: var(--radius-lg); background: var(--cream); border: 1.5px dashed var(--gold-400); }
.bank__icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--maroon-700); color: var(--gold-300); }
.cta-band { margin-top: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 34px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--maroon-800), var(--maroon-600)); box-shadow: var(--shadow-lg); }
.cta-band p { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }

.form-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; position: relative; }
.form-split--contact { grid-template-columns: 1.1fr .9fr; margin-top: 50px; }
.form-split__logo { width: 180px; margin: 36px auto 0; opacity: .95; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 20px rgba(109, 15, 28, .25)); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 150, 46, .18); background: #fff; }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; font-weight: 500; animation: pop .5s var(--ease-spring); }
.alert--ok { background: #e8f7ec; color: #1c6b33; }
.alert--error { background: #fdecee; color: #a11d31; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; min-height: 420px; height: 100%; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-tile { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); word-break: break-word; }
.contact-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-tile > span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--cream); color: var(--maroon-700); transition: transform .6s var(--ease-spring), background .3s, color .3s; }
.contact-tile:hover > span { transform: rotateY(360deg); background: var(--maroon-700); color: #fff; }
.contact-tile > span .icon { width: 26px; height: 26px; }
.contact-tile small { color: var(--muted); }
.contact-tile strong { font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.contact-tile--wa:hover > span { background: var(--green); }
@media (max-width: 860px) { .form-split, .form-split--contact { grid-template-columns: 1fr; } .form-split__logo { display: none; } }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

.empty { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: var(--muted); background: var(--cream); border-radius: var(--radius-lg); }
.notfound { padding: 100px 0; text-align: center; }
.notfound__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 20vw, 11rem); line-height: 1; background: linear-gradient(135deg, var(--maroon-600), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .btn { margin-top: 24px; }

/* =========================================================================
   Lightbox
   ========================================================================= */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 3, 6, .94); display: grid; place-items: center; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; max-width: 92vw; max-height: 86vh; display: grid; gap: 10px; justify-items: center; }
.lightbox__stage img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.94); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.lightbox__stage img.is-in { transform: none; opacity: 1; }
.lightbox__stage figcaption { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.lightbox__close, .lightbox__nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease-spring); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--maroon-600); transform: scale(1.08); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; margin-top: -25px; }
.lightbox__nav--next { right: 18px; top: 50%; margin-top: -25px; }
.lightbox__count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .9rem; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 20px; margin: 0; } .lightbox__nav--prev { left: calc(50% - 60px); } .lightbox__nav--next { right: calc(50% - 60px); } }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
/* Only opacity/transform are animated (GPU-composited) so motion stays
   smooth on phones. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --reveal-dist: 44px; }
@media (max-width: 700px) { :root { --reveal-dist: 26px; } }
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal=""], .js [data-reveal="up"] { transform: translate3d(0, var(--reveal-dist), 0); }
.js [data-reveal="left"] { transform: translate3d(var(--reveal-dist), 0, 0); }
.js [data-reveal="right"] { transform: translate3d(calc(var(--reveal-dist) * -1), 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Heading ornaments draw in from the centre */
.js [data-reveal] .heading__orn { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-out) .35s; }
.js [data-reveal].is-in .heading__orn { clip-path: inset(0 0 0 0); }

/* Photos: curtain reveal + gentle zoom-out when they scroll into view */
.js .reveal-img img { clip-path: inset(0 0 100% 0); scale: 1.14; transition: clip-path 1.25s var(--ease-out), scale 1.8s var(--ease-out), transform 1.2s var(--ease); }
.js .reveal-img.is-shown img { clip-path: inset(0 0 0 0); scale: 1; }

/* Hero: lines slide up from behind a mask */
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; transform: translate3d(0, 105%, 0); transition: transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .mask > span { transform: none; }
.hero__copy [data-hero-in].mask-host { opacity: 1; transform: none; }

/* Soft cross-fade between pages (browsers with view transitions) */
::view-transition-old(root) { animation: vt-out .32s ease both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.header { view-transition-name: site-header; }

/* Magnetic buttons (desktop): uses the independent `translate` property */
.btn { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, translate .45s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-hero-in], .mask > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .reveal-img img { clip-path: none !important; scale: 1 !important; }
  .hero__slide { transform: none !important; }
}

/* =========================================================================
   Marquee rows (upcoming events, success stories): slow continuous scroll
   ========================================================================= */
.marquee { --gap: 24px; --cols: 4; position: relative; container-type: inline-size; margin: 0 -10px; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 44px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee__track { display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 10px 10px 26px; -webkit-overflow-scrolling: touch; }
.marquee__track::-webkit-scrollbar { display: none; }
.marquee__track > * { flex: 0 0 calc((100cqi - 20px - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.marquee.is-static .marquee__track { justify-content: center; }
@media (max-width: 1100px) { .marquee { --cols: 2.4; } }
@media (max-width: 700px) { .marquee { --cols: 1.6; --gap: 16px; } }
@media (max-width: 460px) { .marquee { --cols: 1.22; --gap: 14px; } .marquee::before, .marquee::after { width: 20px; } }
.marquee.is-live { overflow: hidden; }
.marquee.is-live .marquee__track { overflow: visible; will-change: transform; user-select: none; -webkit-user-select: none; }
.marquee.is-live .marquee__track img { -webkit-user-drag: none; pointer-events: none; }
.marquee.is-dragging .marquee__track { cursor: grabbing; }
.marquee.is-dragging .marquee__track > * { pointer-events: none; }

/* =========================================================================
   Instagram
   ========================================================================= */
.btn--ig { --bg: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4); background: var(--bg); color: #fff; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-sm); isolation: isolate; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile__badge { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.ig-tile__badge .icon { width: 17px; height: 17px; }
.ig-tile__shade { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; color: #fff;
  background: linear-gradient(0deg, rgba(40, 5, 10, .85), rgba(40, 5, 10, .1) 60%, transparent); opacity: 0; transition: opacity .5s var(--ease); }
.ig-tile:hover .ig-tile__shade, .ig-tile:focus-visible .ig-tile__shade { opacity: 1; }
.ig-tile__cap { font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transform: translateY(10px); transition: transform .5s var(--ease); }
.ig-tile:hover .ig-tile__cap { transform: none; }
.ig-tile__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .85rem; }
.ig-embed { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ig-embed iframe { display: block; width: 100%; height: 480px; border: 0; }
.ig-embed__link { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; font-weight: 600; font-size: .9rem; color: var(--maroon-700); border-top: 1px solid var(--line); }
@media (hover: none) { .ig-tile__shade { opacity: 1; background: linear-gradient(0deg, rgba(40, 5, 10, .75), transparent 55%); } .ig-tile__cap { transform: none; -webkit-line-clamp: 2; } }
@media (max-width: 1000px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ig-embed { grid-column: span 2; } .ig-tile { border-radius: 14px; } .ig-embed iframe { height: 420px; } .ig-tile__cta { display: none; } }
.footer__credit a { color: var(--gold-300); font-weight: 600; background: linear-gradient(var(--gold-300), var(--gold-300)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.footer__credit a:hover { color: #fff; background-size: 100% 1px; }

/* =========================================================================
   Mobile touch comfort
   ========================================================================= */
.hero__dots button { position: relative; }
.hero__dots button::before { content: ''; position: absolute; inset: -12px -5px; }
.footer__contact a { display: inline-block; padding: 7px 0; margin: -7px 0; }
@media (max-width: 700px) {
  .btn--sm { padding-left: 1.15em; padding-right: 1.15em; }
  .footer__links a { display: inline-block; padding: 5px 0; }
  .crumbs a { padding: 4px 2px; }
  .lang a { padding: 5px 12px; }
  .topbar__in { min-height: 42px; }
  .date-badge small { font-size: .78rem; }
  .brand__text small { font-size: .76rem; }
}
@media (max-width: 600px) {
  .to-top { display: none; }
  .footer__bar-in { padding-right: 84px; }
}
.notfound__img { width: min(320px, 70vw); margin: 0 auto 10px; border-radius: 24px; box-shadow: var(--shadow); }
@media (hover: none) { .btn--sm { min-height: 42px; } }
.btn--gold { --bg: linear-gradient(135deg, #e7bf63, #c9962e); background: var(--bg); color: var(--maroon-900); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--gold:hover { box-shadow: 0 12px 24px -10px rgba(201, 150, 46, .7); }
.header__cta + .header__cta { margin-left: -12px; }
@media (max-width: 1699px) { .header__donate span { display: none; } .header__donate { padding-left: .85em; padding-right: .85em; } }
@media (min-width: 1700px) { .header__in { max-width: 1640px; } }

/* =========================================================================
   Sneh Sambandh registration, status pages, donations
   ========================================================================= */
.reg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.reg__main, .reg__side { min-width: 0; }
.reg__intro { margin-bottom: 24px; }
.reg__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .reg__grid { grid-template-columns: minmax(0, 1fr); } .reg__side { position: static; order: -1; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.side-card--event { background: linear-gradient(150deg, var(--maroon-700), var(--maroon-900)); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.side-card--event h3 { color: #fff; }
.side-card--event .eyebrow { color: var(--gold-300); margin-bottom: 2px; }
.side-card--event .facts-list .icon { color: var(--gold-300); }
.side-card--links { display: grid; gap: 4px; padding: 10px; }
.side-card--links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 500; transition: background .2s; }
.side-card--links a:hover { background: var(--cream); color: var(--maroon-700); }
.side-card--links .icon { color: var(--maroon-600); }
.fee-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.fee-list li:last-child { border: 0; }
.fee-list b { font-family: var(--font-head); color: var(--maroon-700); font-size: 1.1rem; }

.wizard { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(18px, 3.5vw, 34px); scroll-margin-top: calc(var(--header-h) + 16px); }
.wizard__steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-bottom: 12px; }
.wizard__steps button { width: 100%; display: grid; justify-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; text-align: center; }
.wizard__steps button:disabled { cursor: default; }
.wizard__num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--muted); border: 2px solid var(--line); transition: all .4s var(--ease); }
.wizard__num b { display: none; }
.wizard__num .icon { width: 20px; height: 20px; }
.wizard__label { font-size: .78rem; font-weight: 600; color: var(--muted); line-height: 1.25; }
.wizard__steps li.is-on .wizard__num { background: var(--maroon-700); border-color: var(--maroon-700); color: #fff; transform: scale(1.08); box-shadow: 0 8px 18px -6px rgba(109, 15, 28, .6); }
.wizard__steps li.is-on .wizard__label { color: var(--maroon-700); }
.wizard__steps li.is-done .wizard__num { background: var(--gold-100); border-color: var(--gold-400); color: var(--maroon-700); }
.wizard__bar { height: 4px; background: var(--cream-2); border-radius: 4px; overflow: hidden; margin-bottom: 26px; }
.wizard__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--maroon-600)); border-radius: 4px; transition: width .6s var(--ease); }
@media (max-width: 640px) {
  .wizard__label { display: none; }
  .wizard__num { width: 36px; height: 36px; }
  .wizard__steps li.is-on .wizard__label { display: block; position: absolute; left: 0; right: 0; }
}
.wstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.wstep__title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--maroon-700); }
.wstep__title small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.wstep__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-100), #fff); color: var(--maroon-600); box-shadow: inset 0 0 0 1px var(--gold-300); flex: none; }

.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
.rgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rf { display: grid; gap: 6px; align-content: start; min-width: 0; }
.rf--wide { grid-column: 1 / -1; }
.rf[hidden] { display: none; }
@media (max-width: 900px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rgrid, .rgrid--2 { grid-template-columns: 1fr; } }
.rf__label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.rf__label b { color: var(--maroon-500); }
.rf input, .rf select, .rf textarea, .field select { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; min-height: 48px; }
.rf select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23861526' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.rf input[type=file] { padding: 10px; background: #fff; }
.rf input:focus, .rf select:focus, .rf textarea:focus { outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 150, 46, .18); background: #fff; }
.rf__hint { color: var(--muted); font-size: .82rem; }
.rf__err { display: none; color: var(--maroon-500); font-size: .82rem; font-weight: 600; }
.rf.is-invalid .rf__err, .rf__err.is-on { display: block; }
.rf.is-invalid input, .rf.is-invalid select, .rf.is-invalid textarea { border-color: var(--maroon-500); background: #fff6f7; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; transition: all .3s var(--ease); min-height: 46px; }
.choice span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold-400); transition: all .3s var(--ease); }
.choice input:checked + span { border-color: var(--maroon-700); background: var(--maroon-700); color: #fff; box-shadow: 0 8px 18px -8px rgba(109, 15, 28, .6); }
.choice input:checked + span::before { border-color: #fff; background: radial-gradient(circle, #fff 35%, transparent 40%); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.rf.is-invalid .choice span { border-color: var(--maroon-500); }

.photo-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.photo-pick { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; border: 2px dashed var(--gold-400); background: var(--cream); cursor: pointer; transition: all .3s var(--ease); flex: 1 1 260px; }
.photo-pick:hover { border-color: var(--maroon-600); background: #fff; }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-pick__img { width: 78px; height: 96px; border-radius: 12px; background: #fff center / cover no-repeat; display: grid; place-items: center; color: var(--gold-500); box-shadow: var(--shadow-sm); flex: none; }
.photo-pick__img .icon { width: 34px; height: 34px; }
.photo-pick__txt { display: grid; }
.photo-pick__txt b { color: var(--maroon-500); }
.photo-pick__txt small { color: var(--maroon-600); font-weight: 600; }
.photo-pick.has-photo { border-style: solid; border-color: var(--green); background: #f3fbf5; }
.photo-pick.is-invalid { border-color: var(--maroon-500); background: #fff6f7; }
.rf__err--photo { flex-basis: 100%; }

.siblings { display: grid; gap: 8px; }
.sib { display: grid; grid-template-columns: 1.2fr 1fr 150px 40px; gap: 8px; }
.sib input, .sib select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); min-height: 44px; min-width: 0; }
.sib__rm { border: 0; border-radius: 10px; background: var(--cream); color: var(--maroon-600); font-size: 1.3rem; }
.sib__rm:hover { background: var(--maroon-700); color: #fff; }
@media (max-width: 560px) { .sib { grid-template-columns: 1fr 1fr; } .sib select { grid-column: 1; } }
.rf .btn--sm { justify-self: start; }

.attend { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--cream); margin-bottom: 16px; }
.attend small { display: block; }
.stepper { display: flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--maroon-700); display: grid; place-items: center; }
.stepper button:hover { background: var(--gold-100); }
.stepper input { width: 44px; text-align: center; border: 0; font: 700 1.2rem var(--font-head); color: var(--maroon-700); background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fee-card { border-radius: 18px; padding: 18px 20px; background: linear-gradient(150deg, var(--maroon-700), var(--maroon-900)); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-lg); }
.fee-card__row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: rgba(255, 255, 255, .85); }
.fee-card__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px dashed rgba(236, 208, 143, .5); margin-top: 8px; padding-top: 10px; }
.fee-card__total strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold-300); display: inline-block; }
.paymethods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.paymethod { position: relative; display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .3s var(--ease); }
.paymethod input { position: absolute; opacity: 0; }
.paymethod__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--maroon-600); flex: none; transition: all .3s; }
.paymethod small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.paymethod:has(input:checked) { border-color: var(--maroon-700); box-shadow: 0 0 0 3px rgba(109, 15, 28, .12); }
.paymethod:has(input:checked) .paymethod__ic { background: var(--maroon-700); color: #fff; }
.paymethod:has(input:focus-visible) { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.offline-box { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 18px; border-radius: 18px; border: 1.5px dashed var(--gold-400); background: #fffdf8; margin-bottom: 16px; }
.offline-box[hidden] { display: none; }
.offline-box__qr { display: grid; justify-items: center; gap: 8px; align-content: start; text-align: center; }
.offline-box__qr img { width: 200px; height: 200px; border-radius: 14px; background: #fff; padding: 8px; box-shadow: var(--shadow); }
.offline-box__qr small { font-weight: 600; color: var(--maroon-600); }
.offline-box__info { display: grid; gap: 10px; align-content: start; }
.offline-box__amt strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--maroon-700); }
.upi-id { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.upi-id span { font-weight: 600; font-size: .85rem; color: var(--muted); }
.upi-id code, .qr-card code { background: var(--cream); padding: 4px 10px; border-radius: 8px; font-size: .88rem; word-break: break-all; }
.upi-link { display: none; }
@media (hover: none) and (pointer: coarse) { .upi-link { display: inline-flex; } }
@media (max-width: 640px) { .offline-box { grid-template-columns: 1fr; } }
.prose--sm { font-size: .95rem; line-height: 1.75; }
.rules-box { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.rules-box summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 700; color: var(--maroon-700); list-style: none; }
.rules-box summary::-webkit-details-marker { display: none; }
.rules-box__chev { margin-left: auto; transition: transform .3s var(--ease); }
.rules-box[open] .rules-box__chev { transform: rotate(180deg); }
.rules-box > .prose, .rules-box > .offline-box { padding: 0 18px 16px; margin: 0; border: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--cream); cursor: pointer; font-weight: 500; }
.consent input { width: 22px; height: 22px; accent-color: var(--maroon-700); flex: none; margin-top: 3px; }
.consent.is-invalid { box-shadow: 0 0 0 2px var(--maroon-500); }
.rf__err--consent { margin-top: 6px; }
.wizard__nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard__spacer { flex: 1; }
.wizard .alert { margin-top: 16px; }
@media (max-width: 560px) {
  .wizard__nav { position: sticky; bottom: 0; background: #fff; margin: 20px -18px -18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0 0 26px 26px; box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .2); z-index: 5; }
  .wizard__nav .btn--lg { flex: 1; font-size: 1rem; padding: .8em 1em; }
}
.reg-closed { text-align: center; padding: 50px 24px; background: #fff; border-radius: 26px; box-shadow: var(--shadow); display: grid; justify-items: center; gap: 10px; }
.reg-closed__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--maroon-600); }
.reg-closed__icon .icon { width: 34px; height: 34px; }

/* ---- status pages ---- */
.status-page { background: radial-gradient(800px 360px at 50% 0, var(--cream), transparent); }
.status-hero { position: relative; text-align: center; display: grid; justify-items: center; gap: 8px; margin-bottom: 28px; }
.status-hero__icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--amber, #b7791f); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .35); margin-bottom: 8px; }
.status-hero__icon .icon { width: 44px; height: 44px; stroke-width: 2.6; }
.status-hero--paid .status-hero__icon { background: linear-gradient(135deg, #2fb35a, #1e8a44); animation: pop-in .8s var(--ease-spring) both; }
.status-hero--pending_verification .status-hero__icon, .status-hero--awaiting_payment .status-hero__icon { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.status-hero--cancelled .status-hero__icon { background: #c0283d; }
@keyframes pop-in { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: none; } }
.status-hero--paid .status-hero__icon::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(47, 179, 90, .4); animation: ping 1.8s ease-out 2; }
.status-hero__icon { position: relative; }
.confetti { position: absolute; inset: -20px 0 auto; height: 0; pointer-events: none; }
.confetti i { position: absolute; left: calc(50% + (var(--i) - 12) * 16px); top: 40px; width: 8px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 37), 80%, 55%); opacity: 0; animation: confetti 1.6s calc(var(--i) * 25ms) cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc((var(--i) - 12) * 9px), 260px) rotate(calc(var(--i) * 70deg)); } }
.ticket { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 20px; }
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 24px; background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: #fff; }
.ticket__top small { color: var(--gold-300); letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; }
.ticket__id { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 5vw, 2.1rem); letter-spacing: .03em; line-height: 1.1; }
.status-pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: #fff; color: var(--ink); }
.status-pill--paid { background: #2fb35a; color: #fff; }
.status-pill--pending_verification, .status-pill--awaiting_payment { background: var(--gold-400); color: var(--maroon-900); }
.status-pill--cancelled { background: #c0283d; color: #fff; }
.ticket__body { display: flex; gap: 20px; padding: 20px 24px; align-items: flex-start; }
.ticket__photo { width: 96px; height: 120px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); flex: none; }
.ticket__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 20px; margin: 0; flex: 1; }
.ticket__list dt { font-size: .8rem; color: var(--muted); }
.ticket__list dd { margin: 0; font-weight: 700; color: var(--ink); word-break: break-word; }
.ticket--donation .ticket__list { padding: 0 24px 22px; }
.ticket__amount { padding: 20px 24px 10px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--maroon-700); line-height: 1.1; }
.ticket__amount small { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--gold-600); }
.ticket__cut { height: 20px; position: relative; background: radial-gradient(circle at 0 50%, var(--paper) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--paper) 10px, transparent 11px); }
.ticket__cut::before { content: ''; position: absolute; left: 20px; right: 20px; top: 50%; border-top: 2px dashed var(--line); }
.ticket__event { display: grid; gap: 4px; padding: 6px 24px 22px; }
.ticket__event strong { font-family: var(--font-head); color: var(--maroon-700); }
.ticket__event span { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.ticket__event .icon { color: var(--gold-600); }
@media (max-width: 520px) { .ticket__body { flex-direction: column; } .ticket__top, .ticket__body { padding: 18px; } }
.pay-later { display: grid; gap: 14px; margin-bottom: 20px; }
.doc-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.doc-btn { display: grid; justify-items: center; gap: 4px; padding: 18px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.doc-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-btn > span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--maroon-700); margin-bottom: 4px; }
.doc-btn small { color: var(--muted); }
.doc-btn--wa > span { background: #e8f8ee; color: var(--green); }
.status-page__note { margin-top: 22px; font-size: .9rem; }
.lookup { max-width: 460px; margin: 0 auto; }
.lookup__icon { width: 64px; height: 64px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--maroon-600); }
.lookup__alt { text-align: center; color: var(--maroon-600); font-weight: 600; }

/* ---- donate ---- */
.donate { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 36px; align-items: start; position: relative; }
@media (max-width: 960px) { .donate { grid-template-columns: 1fr; } .donate__side { order: -1; } }
.donate__form .title-md { display: flex; align-items: center; gap: 10px; }
.amount-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.amount-chip { position: relative; cursor: pointer; }
.amount-chip input { position: absolute; opacity: 0; }
.amount-chip span { display: grid; place-items: center; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 700 1.05rem var(--font-head); color: var(--ink); transition: all .3s var(--ease); }
.amount-chip input:checked + span { border-color: var(--maroon-700); background: var(--maroon-700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(109, 15, 28, .7); }
.amount-chip input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.amount-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); margin-top: 10px; padding-left: 16px; transition: border-color .25s, box-shadow .25s; }
.amount-input:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 150, 46, .18); }
.amount-input span { font: 700 1.3rem var(--font-head); color: var(--maroon-700); }
.amount-input input { flex: 1; border: 0; background: none; font: 700 1.3rem var(--font-head); padding: 12px; color: var(--ink); outline: 0; min-width: 0; }
.rf.is-invalid .amount-input { border-color: var(--maroon-500); }
.donate__submit b { font-family: var(--font-head); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.secure-note .icon { color: var(--green); }
.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.impact__item { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 10px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.impact__item:hover { transform: translateY(-4px); }
.impact__item > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); color: var(--gold-300); }
.impact__item small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
@media (max-width: 460px) { .impact { grid-template-columns: 1fr; } .impact__item { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; } .impact__item > span { grid-row: span 2; } }
.qr-card { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 20px; background: #fff; border: 1.5px dashed var(--gold-400); }
.qr-card img { width: 140px; height: 140px; border-radius: 12px; flex: none; }
.qr-card div { display: grid; gap: 4px; min-width: 0; }
.qr-card strong { font-family: var(--font-head); color: var(--maroon-700); font-size: 1.1rem; }
.qr-card small { color: var(--muted); }
@media (max-width: 420px) { .qr-card { flex-direction: column; text-align: center; } }

/* =========================================================================
   Member accounts (email code sign-in) and online membership
   ========================================================================= */
.topbar__account { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .2s; }
.topbar__account:hover { background: rgba(255, 255, 255, .22); }
.topbar__account .icon { width: 15px; height: 15px; }

.auth .wrap--narrow { max-width: 520px; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 14px; text-align: center; position: relative; overflow: hidden; }
.auth-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--maroon-700), var(--gold-500), var(--maroon-700)); }
.auth-card__icon { width: 76px; height: 76px; margin: 0 auto 4px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-900)); box-shadow: 0 16px 34px -14px rgba(109, 15, 28, .7); animation: pop-in .8s var(--ease-spring) both; }
.auth-card__icon .icon { width: 36px; height: 36px; }
.auth-card__icon--ok { background: linear-gradient(135deg, #2fb35a, #1e8a44); }
.auth-card .title-md { margin: 0; }
.auth-form { display: grid; gap: 14px; text-align: left; margin-top: 4px; }
.auth-email { color: var(--maroon-700); word-break: break-all; }
.auth-note { color: var(--muted); font-size: .9rem; display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; }
.auth-note .icon { width: 16px; height: 16px; }
.auth-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.auth-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: .85rem; font-weight: 600; color: var(--maroon-700); }
.auth-perks .icon { width: 15px; height: 15px; color: var(--gold-600); }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 6px 0; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn--google { --bg: #fff; --fg: #3c4043; --bd: #dadce0; gap: 10px; font-weight: 600; box-shadow: 0 1px 2px rgba(60,64,67,.12); }
.btn--google:hover { --bg: #f8faff; --bd: #c6d2ea; }
.btn--google .g-ic { flex: none; }
.auth-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 4px; font: inherit; font-weight: 600; color: var(--maroon-700); cursor: pointer; }
.link-btn:hover { color: var(--gold-600); }
.link-btn .icon { width: 16px; height: 16px; }
.auth-inline { text-align: center; }
.auth-inline .auth-form { text-align: left; }

/* six boxes over one real input (works with SMS/email autofill) */
.otp { position: relative; margin: 6px auto 2px; width: min(100%, 360px); }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; letter-spacing: 1em; caret-color: transparent; z-index: 1; }
.otp__boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp__boxes span { aspect-ratio: 5 / 6; display: grid; place-items: center; border-radius: 14px; border: 2px solid var(--line); background: var(--cream); font-family: var(--font-head); font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 700; color: var(--maroon-700); transition: border-color .2s, transform .3s var(--ease-spring), background .2s; }
.otp__boxes span.is-full { background: #fff; border-color: var(--gold-400); transform: translateY(-2px); }
.otp__boxes span.is-on { border-color: var(--maroon-600); box-shadow: 0 0 0 4px rgba(201, 150, 46, .2); }
.otp__boxes span.is-on:empty::after { content: ''; width: 2px; height: 40%; background: var(--maroon-600); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* account page */
.account-hero { background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: #fff; padding: 36px 0 70px; position: relative; overflow: hidden; }
.account-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.account-hero__in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.account-hero__avatar { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--maroon-900); box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); flex: none; }
.account-hero small { color: var(--gold-300); letter-spacing: 1px; text-transform: uppercase; font-size: .75rem; font-weight: 700; }
.account-hero h1 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0; }
.account-hero p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: #f3dcc0; margin: 2px 0 0; word-break: break-all; }
.account-hero p .icon { width: 16px; height: 16px; }
.account-hero__out { margin-left: auto; }
.account-hero__out .btn { color: #fff; border-color: rgba(255, 255, 255, .4); }
.badge-active { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #2fb35a; color: #fff; font-size: .8rem; font-weight: 700; word-break: normal; }
.account { margin-top: -50px; padding-top: 0; position: relative; z-index: 2; }
.account__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.account__main, .account__side { display: grid; gap: 20px; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.acard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.acard__head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0; }
.acard__head h2 .icon { width: 22px; height: 22px; color: var(--gold-600); }
.acard__head a { font-weight: 600; font-size: .9rem; color: var(--maroon-600); }
.acard__none { margin: 0; }
.acard__empty { display: grid; justify-items: start; gap: 10px; padding: 16px; border-radius: 16px; background: var(--cream); border: 1.5px dashed var(--gold-400); }
.acard__empty p { margin: 0; }
.acard__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.arow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--cream); transition: background .2s, transform .3s var(--ease); flex-wrap: wrap; }
a.arow:hover { background: var(--gold-100); transform: translateX(3px); }
.arow__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--maroon-600); flex: none; overflow: hidden; }
.arow__ic img { width: 100%; height: 100%; object-fit: cover; }
.arow__main { display: grid; flex: 1 1 180px; min-width: 0; }
.arow__main strong { overflow-wrap: anywhere; }
.arow__main small { color: var(--muted); }
.arow .status-pill { font-size: .78rem; padding: 4px 11px; }

/* membership card (web) */
.member-card { display: grid; gap: 10px; padding: 20px 22px 0; border-radius: 20px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .12), transparent 45%), linear-gradient(135deg, var(--maroon-600), var(--maroon-900)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; max-width: 440px; transition: transform .5s var(--ease); }
a.member-card:hover { transform: translateY(-3px) rotate(-.4deg); }
.member-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%); transform: translateX(-100%); animation: card-shine 5s var(--ease) 1s infinite; pointer-events: none; }
@keyframes card-shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.member-card__top { display: flex; align-items: center; gap: 10px; }
.member-card__top img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; }
.member-card__top strong { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.25; }
.member-card__top small { color: var(--gold-300); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.member-card__body { display: flex; gap: 16px; align-items: center; }
.member-card__photo { width: 78px; height: 96px; border-radius: 12px; object-fit: cover; border: 3px solid #fff; flex: none; }
.member-card__name { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.member-card__no { display: block; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: 1px; color: #f3dcc0; }
.member-card__meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.member-card__meta small { display: block; font-size: .72rem; color: #e8c9a8; }
.member-card__meta b { font-size: .95rem; }
.member-card__foot { display: flex; justify-content: space-between; gap: 10px; margin: 8px -22px 0; padding: 10px 22px; background: rgba(0, 0, 0, .22); border-top: 2px solid var(--gold-500); font-size: .8rem; color: #f3dcc0; }
.member-card--big { margin: 0 auto 22px; max-width: 520px; padding: 24px 26px 0; }
.member-card--big .member-card__foot { margin: 10px -26px 0; padding: 12px 26px; }
.member-card.is-pending { filter: saturate(.55); }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 3px rgba(221, 178, 90, .3); }
.status-dot--paid { color: #9be3b0; }
.status-dot--paid::before { background: #2fb35a; box-shadow: 0 0 0 3px rgba(47, 179, 90, .3); }
.status-dot--cancelled::before { background: #e05a6d; }
.ticket__list--plain { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 20px; }

/* membership page */
.form-split--member { align-items: start; }
.plan-list { display: grid; gap: 10px; margin-top: 22px; }
.plan { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.plan__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--maroon-700); flex: none; }
.plan > span:nth-child(2) { display: grid; flex: 1; }
.plan small { color: var(--muted); }
.plan > b { font-family: var(--font-head); font-size: 1.35rem; color: var(--maroon-700); }
.steps-mini { display: grid; gap: 10px; margin-top: 22px; counter-reset: none; }
.steps-mini li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); }
.steps-mini span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon-700); color: #fff; font-weight: 700; flex: none; }
.member-form__head { display: grid; gap: 4px; }
.member-form__head .title-md { display: flex; align-items: center; gap: 10px; margin: 0; }
.signed-in { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin: 0; }
.signed-in .icon { width: 16px; height: 16px; color: var(--green); }
.signed-in strong { color: var(--ink); word-break: break-all; }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.plan-pick__opt { position: relative; cursor: pointer; }
.plan-pick__opt input { position: absolute; opacity: 0; }
.plan-pick__opt > span { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; transition: all .3s var(--ease); height: 100%; }
.plan-pick__opt small { color: var(--muted); }
.plan-pick__opt b { font-family: var(--font-head); font-size: 1.4rem; color: var(--maroon-700); }
.plan-pick__opt input:checked + span { border-color: var(--maroon-700); background: linear-gradient(135deg, #fff, var(--gold-100)); box-shadow: 0 10px 24px -14px rgba(109, 15, 28, .6); }
.plan-pick__opt input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.photo-row--single { margin-bottom: 4px; }
.photo-pick__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.alert--info { background: var(--gold-100); color: var(--maroon-800); flex-wrap: wrap; }
.alert--info a { font-weight: 700; text-decoration: underline; }
.member-done { text-align: center; justify-items: center; }

@media (max-width: 900px) {
  .account__grid { grid-template-columns: 1fr; }
  .account-hero { padding: 26px 0 64px; }
}
@media (max-width: 600px) {
  .account-hero__out { margin-left: 0; width: 100%; }
  .account-hero__avatar { width: 58px; height: 58px; font-size: 1.3rem; }
  .topbar__account span { display: none; }
  .member-card__photo { width: 64px; height: 80px; }
  .member-card__name { font-size: 1.15rem; }
  .arow .status-pill { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .member-card::after { animation: none; }
}

/* "under development" scrolling notice (Site settings can hide it) */
.devbar { position: relative; z-index: 60; overflow: hidden; background: repeating-linear-gradient(135deg, #f6c343 0 18px, #f0b429 18px 36px); color: #3f0710; font: 700 13px/1 var(--font-body, system-ui), sans-serif; border-bottom: 2px solid #3f0710; }
.devbar__track { display: flex; width: max-content; animation: devbar 38s linear infinite; }
.devbar__group { display: flex; flex: none; }
.devbar__item { padding: 8px 28px; white-space: nowrap; }
.devbar:hover .devbar__track { animation-play-state: paused; }
@keyframes devbar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .devbar__track { animation-duration: 120s; } }

/* ---- password login, account box on the registration form ---- */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--cream); margin-bottom: 4px; }
.auth-tabs a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 10px; font-weight: 700; color: var(--ink-2); transition: all .3s var(--ease); }
.auth-tabs a .icon { width: 16px; height: 16px; }
.auth-tabs a.is-on { background: #fff; color: var(--maroon-700); box-shadow: var(--shadow-sm); }
.pw-field { position: relative; }
.pw-field input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; border-radius: 10px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle.is-on { color: var(--maroon-700); }
.pw-toggle .icon { width: 18px; height: 18px; }
.account-box { margin-top: 22px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #fff, var(--gold-100)); border: 1.5px solid var(--gold-300); display: grid; gap: 14px; }
.account-box__head { display: flex; gap: 12px; align-items: flex-start; }
.account-box__head > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--maroon-700); color: #fff; flex: none; }
.account-box__head strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--maroon-700); }
.account-box__head small { color: var(--ink-2); }
.account-box__note { margin: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.account-box__note .icon { width: 15px; height: 15px; }
.account-box__note a { font-weight: 700; color: var(--maroon-700); }
.otp-box { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--gold-300); margin-bottom: 14px; }
.otp-box.is-invalid { border-color: #b4472a; box-shadow: 0 0 0 3px rgba(180,71,42,.12); }
.otp-box__head { display: flex; align-items: center; gap: 8px; color: var(--maroon-700); font-family: var(--font-head); }
.otp-box__head .icon { width: 18px; height: 18px; }
.otp-box__head b { color: #b4472a; }
.otp-box__sub { color: var(--muted); font-size: .85rem; }
.otp-box__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.otp-box__row .btn { padding: 9px 16px; }
.otp-box__row [data-otp-code] { width: 140px; letter-spacing: .4em; text-align: center; font-size: 1.1rem; font-weight: 700; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; }
.otp-box__done { color: #2e7d32; font-weight: 700; }
.otp-box__done .icon { width: 20px; height: 20px; }
.otp-box__msg { font-size: .85rem; color: #2e7d32; }
.otp-box__msg.is-bad { color: #b4472a; }
.kundli-box { margin-top: 18px; padding: 18px; border-radius: 18px; background: radial-gradient(120% 120% at 50% 0%, #fffdf6, var(--gold-100)); border: 2px solid var(--gold-400, #d9b55e); box-shadow: inset 0 0 0 4px #fff, 0 6px 22px rgba(109,15,28,.08); display: grid; gap: 12px; }
.kundli-box__mantra { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--maroon-700); }
.kundli-box__mantra em { font-style: normal; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: .5px; }
.kundli-box__mantra span { font-size: 1.1rem; color: var(--gold-600, #b8860b); }
.kundli-box__deities { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; color: var(--gold-700, #9a6a12); font-size: .82rem; opacity: .85; margin-top: -4px; }
.kundli-chart { display: grid; place-items: center; margin: 4px 0; }
.kundli-chart svg { width: min(280px, 82%); height: auto; }
.kundli-chart .kc-box { fill: #fffef9; stroke: var(--maroon-700); stroke-width: 2.5; }
.kundli-chart .kc-ln { fill: none; stroke: var(--gold-500, #c79a3a); stroke-width: 1.4; }
.kundli-chart .kc-r { fill: var(--muted); font-size: 11px; font-weight: 600; }
.kundli-chart .kc-g { fill: var(--maroon-700); font-size: 12px; font-weight: 800; }
.kundli-box__head { display: flex; gap: 10px; align-items: center; color: var(--maroon-700); }
.kundli-box__head .icon { width: 20px; height: 20px; }
.kundli-box__head strong { font-family: var(--font-head); font-size: 1.05rem; }
.kundli-box__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kundli-box__grid > div { background: #fff; border: 1px solid var(--gold-300); border-radius: 12px; padding: 10px 12px; }
.kundli-box__grid small { display: block; color: var(--muted); font-size: .78rem; }
.kundli-box__grid b { color: var(--ink); font-size: .98rem; }
.kundli-box__note { margin: 0; font-size: .85rem; color: var(--ink-2); }
.kundli-box__verify { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--maroon-700); font-weight: 600; background: var(--maroon-50, #fcf2f2); border-radius: 10px; padding: 9px 11px; }
.kundli-box__verify .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
@media (max-width: 560px) { .kundli-box__grid { grid-template-columns: 1fr; } }
.acc-note, .verify-banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 18px; flex-wrap: wrap; }
.acc-note > span, .verify-banner > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--maroon-700); flex: none; }
.acc-note--new > span { background: #e8f7ec; color: #1e8a44; }
.acc-note > div, .verify-banner > div { flex: 1 1 220px; display: grid; }
.acc-note small, .verify-banner small { color: var(--ink-2); overflow-wrap: anywhere; }
.verify-banner { background: #fff8e6; border-color: var(--gold-300); margin: 0; }
.match-cta { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, #a11d31, var(--maroon-900)); box-shadow: var(--shadow-lg); flex-wrap: wrap; transition: transform .4s var(--ease); }
.match-cta:hover { transform: translateY(-2px); }
.match-cta__ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); flex: none; }
.match-cta__main { display: grid; flex: 1 1 200px; }
.match-cta__main strong { font-family: var(--font-head); font-size: 1.2rem; }
.match-cta__main small { color: #f3dcc0; }
.match-cta__badge { background: var(--gold-400); color: var(--maroon-900); padding: 4px 10px; border-radius: 999px; font-size: .82rem; }
.match-cta__stats { display: grid; justify-items: end; gap: 2px; }
.match-cta__stats small { color: #f3dcc0; }
.match-cta__arrow { width: 22px; height: 22px; }
.small { font-size: .9rem; }

/* ---- matches (website; admin can switch on) ---- */
.mx-hero { background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: #fff; padding: 30px 0 22px; }
.mx-hero__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mx-hero__me { display: flex; align-items: center; gap: 14px; }
.mx-avatar { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--gold-300); color: var(--maroon-900); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); flex: none; }
.mx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mx-hero small { color: var(--gold-300); font-weight: 700; letter-spacing: 1px; font-size: .75rem; text-transform: uppercase; }
.mx-hero h1 { color: #fff; margin: 0; font-size: clamp(1.4rem, 4vw, 2rem); }
.mx-hero p { margin: 0; color: #f3dcc0; }
.mx-hero__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mx-hero__note { display: flex; gap: 8px; align-items: center; margin-top: 14px !important; font-size: .9rem; }
.mx-pill { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); font-size: .85rem; font-weight: 600; }
.mx { padding-top: 22px; }
.mx-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.mx-tabs::-webkit-scrollbar { display: none; }
.mx-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; white-space: nowrap; transition: all .3s var(--ease); }
.mx-tab .icon { width: 16px; height: 16px; color: var(--gold-600); }
.mx-tab b { background: var(--cream-2); padding: 1px 8px; border-radius: 999px; font-size: .8rem; }
.mx-tab b.is-hot { background: var(--maroon-600); color: #fff; }
.mx-tab.is-on { background: var(--maroon-700); color: #fff; border-color: var(--maroon-700); }
.mx-tab.is-on .icon { color: var(--gold-300); }
.mx-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.mx-layout--full { grid-template-columns: 1fr; }
.mx-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 12px); }
.mx-filters summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 700; cursor: pointer; }
.mx-filters summary::-webkit-details-marker { display: none; }
.mx-filters__chev { margin-left: auto; transition: transform .3s; }
.mx-filters[open] .mx-filters__chev { transform: rotate(180deg); }
.mx-filters__form { display: grid; gap: 12px; padding: 0 16px 16px; }
@media (min-width: 901px) { .mx-filters:not([open]) > .mx-filters__form { display: grid; } }
.mx-range { display: flex; align-items: center; gap: 6px; }
.mx-range input, .mx-range select { min-width: 0; flex: 1; }
.mx-check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.mx-check input { width: 20px; height: 20px; accent-color: var(--maroon-700); }
.mx-count { margin: 0 0 12px; color: var(--muted); }
.mx-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 16px; text-align: center; background: #fff; border-radius: var(--radius-lg); border: 1.5px dashed var(--line); color: var(--muted); }
.mx-empty .icon { width: 40px; height: 40px; color: var(--gold-500); }
.mx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.mx-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); display: grid; grid-template-rows: auto 1fr auto; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mx-card__photo { position: relative; aspect-ratio: 4 / 4.4; background: var(--cream); display: block; overflow: hidden; }
.mx-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mx-card:hover .mx-card__photo img { transform: scale(1.05); }
.mx-card__nophoto { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--gold-500); text-align: center; padding: 12px; background: linear-gradient(135deg, var(--cream), var(--gold-100)); }
.mx-card__nophoto .icon { width: 42px; height: 42px; }
.mx-card__nophoto small { color: var(--muted); font-size: .78rem; }
.mx-score { position: absolute; right: 10px; bottom: 10px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(#2fb35a calc(var(--p) * 1%), rgba(255, 255, 255, .5) 0); box-shadow: var(--shadow); }
.mx-score::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.mx-score b, .mx-score small { position: relative; line-height: 1; }
.mx-score b { font-size: .95rem; color: var(--maroon-800); }
.mx-score small { font-size: .62rem; color: var(--muted); }
.mx-score--big { width: 78px; height: 78px; }
.mx-score--big b { font-size: 1.2rem; }
.mx-flag { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 4px; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .75rem; font-weight: 700; color: var(--maroon-700); }
.mx-flag .icon { width: 13px; height: 13px; }
.mx-flag--ok { background: #2fb35a; color: #fff; }
.mx-flag--hot { background: var(--maroon-600); color: #fff; }
.mx-card__body { padding: 12px 14px 4px; display: grid; gap: 3px; align-content: start; }
.mx-card__name { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--maroon-800); }
.mx-card__facts { margin: 0; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.mx-card__line { margin: 0; display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mx-card__line .icon { width: 14px; height: 14px; flex: none; }
.mx-card__when { margin: 0; font-size: .8rem; color: var(--muted); }
.mx-card__actions { display: flex; gap: 8px; padding: 10px 14px 14px; align-items: center; }
.mx-card__actions form:first-child, .mx-card__actions > .btn { flex: 1; }
.mx-card__actions .btn { width: 100%; justify-content: center; }
.mx-star { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: all .3s var(--ease-spring); }
.mx-star.is-on { color: var(--gold-500); border-color: var(--gold-400); background: var(--gold-100); }
.mx-star.is-on .icon { fill: currentColor; }
.mx-pages { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.mx-pages a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.mx-pages a.is-on { background: var(--maroon-700); color: #fff; }
.mxp__back { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--maroon-700); margin-bottom: 14px; }
.mxp__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.mxp__side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 12px); }
.mxp__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow-lg); }
.mxp__photo img { width: 100%; height: 100%; object-fit: cover; }
.mxp__actions, .mxp__fit { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.mxp__asks { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--maroon-700); }
.mxp__msg { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold-400); background: var(--cream); border-radius: 0 10px 10px 0; font-style: italic; }
.mxp__interest { display: grid; gap: 8px; }
.mxp__interest textarea { width: 100%; font: inherit; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); }
.mx-connected, .mx-waiting { display: flex; gap: 8px; align-items: center; padding: 12px; border-radius: 12px; font-weight: 700; }
.mx-connected { background: #e8f7ec; color: #1c6b33; }
.mx-waiting { background: var(--gold-100); color: var(--maroon-800); }
.mxp__fit h3 { font-size: 1rem; margin: 0; }
.mxp__fit ul { display: grid; gap: 6px; }
.mxp__fit li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.mxp__fit li .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; }
.mxp__fit li.ok .icon { background: #e8f7ec; color: #1e8a44; }
.mxp__fit li.no { color: var(--muted); }
.mxp__fit li.no .icon { background: #fdecee; color: #a11d31; }
.mxp__main { display: grid; gap: 16px; }
.milan__mantra { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--maroon-700); margin-bottom: 12px; }
.milan__mantra em { font-style: normal; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.milan__mantra span { color: var(--gold-600, #b8860b); }
.milan__score { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.milan__ring { --p: 50; width: 92px; height: 92px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring, var(--gold-500, #c79a3a)) calc(var(--p) * 1%), var(--gold-100) 0); position: relative; }
.milan__ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.milan__ring b { position: relative; font-family: var(--font-head); font-size: 1.5rem; color: var(--maroon-700); line-height: 1; }
.milan__ring small { position: relative; font-size: .7rem; color: var(--muted); }
.milan--good .milan__ring { --ring: #2e7d32; } .milan--ok .milan__ring { --ring: #c79a3a; }
.milan--low .milan__ring, .milan--warn .milan__ring { --ring: #b4472a; }
.milan__verdict strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--maroon-700); }
.milan__flag { display: inline-block; margin: 6px 6px 0 0; font-size: .75rem; font-weight: 700; color: #b4472a; background: rgba(180,71,42,.1); border-radius: 20px; padding: 3px 10px; }
.milan__kootas { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.milan__kootas li { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.milan__kootas li span { font-size: .8rem; color: var(--ink-2); }
.milan__kootas li b { font-size: .95rem; color: var(--maroon-700); }
.milan__kootas li.full { border-color: #bfe3c0; background: #f3faf3; }
.milan__kootas li.zero { border-color: #eecdc4; background: #fcf3f0; }
.milan__kootas li.zero b { color: #b4472a; }
.milan__verify { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--maroon-700); background: var(--gold-100); border-radius: 12px; padding: 11px 13px; }
.milan__verify .icon { width: 17px; height: 17px; flex: none; margin-top: 2px; }
@media (max-width: 560px) { .milan__kootas { grid-template-columns: repeat(2, 1fr); } }
.mxp__head small { color: var(--gold-600); font-weight: 700; letter-spacing: 1px; }
.mxp__head h1 { margin: 2px 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.mxp__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.mxp__facts span { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.mxp__facts .icon { width: 15px; height: 15px; color: var(--gold-600); }
.mxp__about { margin: 12px 0 0; padding: 14px 16px; background: #fff; border-radius: 16px; border: 1px solid var(--line); line-height: 1.8; }
.mxp__locked { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--cream); border: 1.5px dashed var(--gold-400); color: var(--ink-2); font-weight: 600; }
.mxp__contact { border-color: #2fb35a; }
.mxp__safe { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .85rem; color: var(--muted); }
.kv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 18px; margin: 0; }
.kv-list dt { font-size: .8rem; color: var(--muted); }
.kv-list dd { margin: 0; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.mx-wa { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #25d366; color: #fff; vertical-align: middle; }
.mx-wa .icon { width: 15px; height: 15px; }
.mx-prefs .title-md { display: flex; gap: 10px; align-items: center; }
.mx-prefs__h { display: flex; gap: 8px; align-items: center; font-size: 1.15rem; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.choice--check span::before { border-radius: 5px; }
@media (max-width: 900px) {
  .mx-layout, .mxp__grid { grid-template-columns: 1fr; }
  .mx-filters, .mxp__side { position: static; }
  .mxp__photo { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .mx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mx-card__body { padding: 10px 10px 2px; }
  .mx-card__actions { padding: 8px 10px 10px; }
  .mx-card__actions .btn { font-size: .8rem; padding-inline: 8px; }
  .mx-score { width: 50px; height: 50px; }
}
