/* ==========================================================================
   Aabhalakhalchi Shaala Foundation — stylesheet v2
   Palette: Paithani rani & zari, peacock teal, bhagwa, Warli geru, rice-paste
   white, dawn-sky indigo. Display: Rozha One. Text: Tiro Devanagari Marathi.
   ========================================================================== */

:root {
  --akash: #1E2E6E; --akash-deep: #142052;
  --rani: #8E1B4F; --rani-deep: #5E0F33; --rani-soft: #B4407A;
  --mor: #0F6E6A; --mor-deep: #0A4E4B;
  --bhagwa: #E8731C; --bhagwa-deep: #B9520C;
  --zari: #D9A93F; --zari-light: #F3D27A;
  --geru: #9C4A2A; --geru-deep: #7A3519;
  --tandul: #FFF7E8; --bhint: #F4E4D3; --bhint-2: #EBD3BC;
  --ink: #2B1810; --ink-soft: #5E4334; --line: rgba(43, 24, 16, .16);

  --f-text: "Tiro Devanagari Marathi", "Noto Serif Devanagari", "Nirmala UI", Georgia, serif;
  --f-ui: "Mukta", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif;
  --f-display: "Rozha One", "Tiro Devanagari Marathi", serif;

  --s-14: .875rem; --s-16: 1rem; --s-18: 1.125rem; --s-21: 1.3125rem; --s-24: 1.5rem;
  --s-30: 1.875rem; --s-36: 2.25rem; --s-48: 3rem; --s-60: 3.75rem; --s-72: 4.5rem;
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px); --header-h: 84px;
}

@property --open { syntax: '<number>'; inherits: true; initial-value: 1; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bhint); color: var(--ink); font-family: var(--f-text); font-size: var(--s-18); line-height: 1.78; overflow-x: hidden; }
body.lang-en { line-height: 1.62; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--rani); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--bhagwa-deep); }
:focus-visible { outline: 3px solid var(--bhagwa); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.3; margin: 0 0 .5em; }
h2 { font-family: var(--f-display); font-size: clamp(var(--s-30), 4vw, var(--s-48)); line-height: 1.25; }
h3 { font-size: var(--s-24); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--tandul); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 38em; }
.lead { font-size: var(--s-21); color: var(--ink-soft); }
.ic { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic .f { fill: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-ui); font-weight: 600; font-size: var(--s-16); line-height: 1.1;
  padding: .9em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bhagwa); color: #fff; }
.btn-primary:hover { background: var(--bhagwa-deep); color: #fff; }
.btn-rani { background: var(--rani); color: var(--tandul); }
.btn-rani:hover { background: var(--rani-deep); color: var(--tandul); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-light { background: var(--tandul); color: var(--akash); }
.btn-light:hover { background: #fff; color: var(--rani); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--akash-deep); color: var(--tandul); box-shadow: 0 1px 0 rgba(217, 169, 63, .35); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; flex: none; }
.brand-logo { display: grid; place-items: center; flex: none; }
.brand-logo img { width: 64px; height: auto; }
.brand-logo.badge { background: var(--tandul); border-radius: 16px; padding: 5px 8px; box-shadow: 0 0 0 2px var(--zari), 0 6px 18px rgba(0, 0, 0, .25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-display); font-size: 1.6rem; color: var(--tandul); }
.brand-sub { font-family: var(--f-ui); font-size: var(--s-14); color: var(--zari); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.site-nav a { font-family: var(--f-ui); font-weight: 500; font-size: var(--s-16); color: var(--tandul); text-decoration: none; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 10px 10px; }
.site-nav > ul > li > a:hover { color: var(--zari); }
.site-nav a[aria-current="page"] { color: var(--zari); box-shadow: inset 0 -2px 0 var(--zari); }
.site-nav .sub { position: absolute; left: 0; top: 100%; min-width: 270px; list-style: none; margin: 0; padding: 10px; background: var(--tandul); border-radius: 10px; border-top: 4px solid var(--rani);
  box-shadow: 0 18px 40px rgba(20, 32, 82, .25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; color: var(--ink); padding: 8px 12px; border-radius: 6px; }
.site-nav .sub a:hover { background: var(--bhint); color: var(--rani); }
.nav-members { border: 1px solid rgba(217, 169, 63, .55); border-radius: 999px; margin-left: 6px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-family: var(--f-ui); font-weight: 600; color: var(--zari) !important; padding: 6px 4px; }
.btn-donate { background: var(--bhagwa); color: #fff !important; padding: .75em 1.2em; }
.nav-toggle, .nav-close { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.nav-toggle .ic, .nav-close .ic { width: 30px; height: 30px; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 60; flex-direction: column; align-items: stretch; gap: 0; padding: 72px 24px 32px;
    background: var(--akash-deep); transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; visibility: hidden; }
  .site-nav.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0, 0, 0, .35); }
  .nav-close { display: block; position: absolute; top: 14px; right: 14px; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: 12px 6px; font-size: var(--s-18); border-bottom: 1px solid rgba(255, 247, 232, .12); }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .site-nav .sub a { color: rgba(255, 247, 232, .82); padding: 6px; }
  .site-nav .sub a:hover { background: none; color: var(--zari); }
  .nav-members { margin: 14px 0 0; text-align: center; }
  .nav-actions { margin-top: 20px; justify-content: space-between; }
}
@media (max-width: 520px) {
  :root { --header-h: 70px; }
  .brand-logo img { width: 50px; }
  .brand-name { font-size: 1.3rem; }
}

/* ---------- Toran & Paithani ---------- */
.toran { position: sticky; top: var(--header-h); z-index: 49; height: 46px; margin-bottom: -46px; pointer-events: none;
  background: url(../img/toran.svg) repeat-x center top; background-size: 72px 46px; transform-origin: top center; transition: transform .45s ease, opacity .45s ease; }
body.scrolled .toran { transform: scaleY(.62); opacity: .9; }
.paithani { height: 60px; background: url(../img/paithani-border.svg) repeat-x center; background-size: 120px 60px; }
.paithani.slim { height: 40px; background-size: 80px 40px; }

/* ---------- Bhagwa flag ---------- */
.bhagwa { display: inline-block; overflow: visible; }
.k-flag { height: 22px; width: 14px; vertical-align: -3px; margin-right: 8px; }

/* ---------- Cloud opener ---------- */
.opener { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.opener .op-fog { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, #fff 0%, #F3F1F6 45%, #DCD8E8 100%); transition: opacity 1.6s ease 1.1s; }
.opener .op-side { position: absolute; inset: 0; transition: transform 2.6s cubic-bezier(.65, .05, .25, 1) .9s, opacity 2.6s ease .9s; }
.opener .op-side img { position: absolute; max-width: none; filter: drop-shadow(0 20px 40px rgba(60, 50, 90, .18)); }
.opener .op-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; transition: opacity .7s ease .6s, transform 1.2s ease .6s; }
.opener .op-mark img { margin: 0 auto 6px; width: 120px; }
.opener .op-mark p { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--akash-deep); margin: 0; }
.opener.go .op-l { transform: translateX(-75vw) scale(1.25); opacity: .2; }
.opener.go .op-r { transform: translateX(75vw) scale(1.25); opacity: .2; }
.opener.go .op-fog { opacity: 0; }
.opener.go .op-mark { opacity: 0; transform: translate(-50%, -60%) scale(.9); }
.opener.gone { display: none; }
html.no-opener .opener { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(620px, min(calc(100svh - var(--header-h)), 860px)); color: var(--tandul); display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, var(--akash-deep) 0%, var(--akash) 45%, #4A3478 75%, #6E3A72 100%); }
.hero-cloudbank { position: absolute; left: 0; right: 0; bottom: -4%; height: 34%; z-index: -1; pointer-events: none; }
.hero-cloudbank img { position: absolute; bottom: 0; max-width: none; opacity: .92; }
.hero-cloudbank img:nth-child(1) { left: -8%; width: 58%; }
.hero-cloudbank img:nth-child(2) { right: -10%; width: 60%; }
.hero-cloudbank img:nth-child(3) { left: 28%; width: 46%; bottom: -12%; opacity: .8; }
.sky-clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky-clouds img { position: absolute; left: var(--x); top: var(--y); width: var(--w); max-width: none; opacity: .78; mix-blend-mode: screen; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-scene .wf circle, .hero-scene .wf .fill { fill: var(--tandul); }
.hero-scene .wf .line { fill: none; stroke: var(--tandul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene .wf .line.thin { stroke-width: 1.1; }
.hero-scene .earth { fill: var(--geru); }
.hero-scene .far-hills { fill: #6E3F5E; opacity: .55; }
.hero-scene .far-fort path { fill: #5A2F4F; }
.hero-scene .sun { transform: translate(1260px, 690px); }
.hero-scene .sun circle { fill: #F6A823; }
.hero-scene .sun .glow { fill: #FFD27A; opacity: .45; }
.hero-scene .dance .ring-outer, .hero-scene .dance .ring-inner { transform-origin: 1130px 806px; }
.hero-copy { position: relative; text-align: center; padding: clamp(70px, 10vh, 110px) var(--gutter) clamp(120px, 18vh, 200px); max-width: 1060px; margin: 0 auto; }
.hero-title { font-family: var(--f-display); font-size: clamp(3rem, 8.6vw, 6.8rem); line-height: 1.12; margin: 0 0 .15em; color: var(--tandul);
  text-shadow: 0 3px 0 rgba(142, 27, 79, .45), 0 18px 50px rgba(13, 22, 64, .5); }
.hero-title > span:first-child { white-space: nowrap; }
.hero-title-en { display: block; font-family: var(--f-text); font-size: clamp(var(--s-21), 2.4vw, var(--s-30)); font-style: italic; color: var(--zari-light); text-shadow: none; }
.hero-line { font-size: clamp(var(--s-18), 2vw, var(--s-24)); max-width: 32em; margin: 0 auto 1.4em; color: rgba(255, 247, 232, .94); text-shadow: 0 2px 12px rgba(20, 32, 82, .5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-ovi { margin: 2em auto 0; font-size: var(--s-16); color: rgba(255, 247, 232, .85); }
.hero-ovi cite { display: block; font-style: normal; font-family: var(--f-ui); font-size: var(--s-14); color: var(--zari-light); }

/* Peacock: train fans open and closed; head bobs */
.peacock .fe { transform-box: view-box; transform-origin: 0 0; transform: rotate(calc(var(--f) + (var(--a) - var(--f)) * var(--open))); }
.peacock .fe .q { stroke: #7C9A3A; stroke-width: 1.2; }
.peacock .pc-train { --open: 1; }
.peacock .pc-neck { transform-box: view-box; transform-origin: 46px -4px; }

@keyframes rise { from { transform: translate(1260px, 800px); } to { transform: translate(1260px, 690px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-back { to { transform: rotate(-360deg); } }
@keyframes drift { 0% { transform: translateX(-4vw); } 50% { transform: translateX(4vw); } 100% { transform: translateX(-4vw); } }
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fan { 0%, 6% { --open: .12; } 18%, 70% { --open: 1; } 84%, 100% { --open: .12; } }
@keyframes shiver { 0%, 22%, 30%, 100% { transform: rotate(0); } 24% { transform: rotate(1.4deg); } 26% { transform: rotate(-1.4deg); } 28% { transform: rotate(1deg); } }
@keyframes bob { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-6deg); } 55% { transform: rotate(3deg); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes butta-in { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-scene .sun { animation: rise 3.4s cubic-bezier(.2, .7, .2, 1) .4s both; }
  .sky-clouds img { animation: drift var(--d) ease-in-out infinite; animation-delay: calc(var(--i) * -7s); }
  .hero-scene .ground { animation: appear 1.4s ease-out 1.2s both; }
  .hero-scene .dance .ring-outer { animation: spin 80s linear 3s infinite; }
  .hero-scene .dance .ring-inner { animation: spin-back 60s linear 3s infinite; }
  .peacock .pc-train { animation: fan 14s ease-in-out 2s infinite, shiver 14s linear 2s infinite; transform-box: view-box; transform-origin: 0 0; }
  .peacock .pc-neck { animation: bob 5s ease-in-out infinite; }
  .hero-copy > * { animation: appear 1s ease-out both; }
  .hero-copy > :nth-child(1) { animation-delay: .5s; }
  .hero-copy > :nth-child(2) { animation-delay: .8s; }
  .hero-copy > :nth-child(3) { animation-delay: 1.1s; }
  .hero-copy > :nth-child(4) { animation-delay: 1.4s; }
  .ph-cloud { animation: drift 40s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .opener { display: none; } }
@media (max-width: 720px) { .hero { min-height: 640px; } .hero-copy { padding-top: 60px; } .hero-cloudbank img:nth-child(1) { width: 110%; } .hero-cloudbank img:nth-child(2) { width: 110%; } .hero-title > span:first-child { white-space: normal; } .sky-clouds img { width: calc(var(--w) * 2); } }

/* ---------- Trust bar ---------- */
.trust { background: var(--akash-deep); color: var(--tandul); font-family: var(--f-ui); }
.trust ul { list-style: none; margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; max-width: var(--wrap); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .ic { color: var(--zari); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 46em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); font-size: var(--s-21); }
.kicker { font-family: var(--f-ui); font-weight: 600; font-size: var(--s-16); color: var(--rani); margin: 0 0 .4em; display: flex; align-items: center; }
.band-sky { background: var(--akash); color: var(--tandul); }
.band-sky .section-head p, .band-sky .lead { color: rgba(255, 247, 232, .86); }
.band-sky .kicker { color: var(--zari); }
.band-sky a:not(.btn) { color: var(--zari-light); }
.band-geru { background: var(--geru); color: var(--tandul); }
.band-geru .kicker { color: #FFD9A0; }
.band-geru .section-head p { color: rgba(255, 247, 232, .9); }
.band-tandul { background: var(--tandul); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.empty { font-family: var(--f-ui); color: var(--ink-soft); padding: 28px; border: 1.5px dashed #CDB59D; border-radius: 16px; text-align: center; }

/* Butta bullets: Paithani motifs that bloom in */
.butta-list { list-style: none; padding: 0; margin: 0 0 1.6em; }
.butta-list li { position: relative; padding-left: 40px; margin-bottom: .6em; }
.butta-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 26px; height: 26px;
  background: linear-gradient(110deg, var(--zari) 30%, var(--zari-light) 50%, var(--zari) 70%); background-size: 300% 100%;
  -webkit-mask: var(--m, url(../img/butta/koyari.svg)) center / contain no-repeat; mask: var(--m, url(../img/butta/koyari.svg)) center / contain no-repeat; }
.butta-list li:nth-child(8n+2)::before { --m: url(../img/butta/mor.svg); }
.butta-list li:nth-child(8n+3)::before { --m: url(../img/butta/kamal.svg); }
.butta-list li:nth-child(8n+4)::before { --m: url(../img/butta/popat.svg); }
.butta-list li:nth-child(8n+5)::before { --m: url(../img/butta/asawali.svg); }
.butta-list li:nth-child(8n+6)::before { --m: url(../img/butta/hans.svg); }
.butta-list li:nth-child(8n+7)::before { --m: url(../img/butta/narali.svg); }
.butta-list li:nth-child(8n+8)::before { --m: url(../img/butta/salangai.svg); }
.butta-list.rani li::before { background: linear-gradient(110deg, var(--rani) 30%, var(--bhagwa) 50%, var(--rani) 70%); background-size: 300% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .butta-list li::before { animation: shimmer 6s linear infinite; }
  .butta-list.in li::before { animation: butta-in .6s cubic-bezier(.3, 1.6, .5, 1) both, shimmer 6s linear .6s infinite; }
  .butta-list.in li:nth-child(2)::before { animation-delay: .12s, .7s; }
  .butta-list.in li:nth-child(3)::before { animation-delay: .24s, .8s; }
  .butta-list.in li:nth-child(4)::before { animation-delay: .36s, .9s; }
  .butta-list.in li:nth-child(5)::before { animation-delay: .48s, 1s; }
}

/* ---------- What school ---------- */
.unschool { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.nots { list-style: none; margin: 0; padding: 0; font-family: var(--f-display); font-size: clamp(var(--s-36), 5vw, var(--s-60)); line-height: 1.3; }
.nots li { position: relative; width: fit-content; color: var(--ink-soft); }
.nots li::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .08em; border-radius: 4px; background: var(--bhagwa);
  transform: rotate(-3deg) scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.6, 0, .2, 1); }
.nots li:nth-child(2)::after { transition-delay: .15s; } .nots li:nth-child(3)::after { transition-delay: .3s; } .nots li:nth-child(4)::after { transition-delay: .45s; }
.nots.in li::after { transform: rotate(-3deg) scaleX(1); }
.nots.in li:nth-child(even)::after { transform: rotate(2deg) scaleX(1); }
.nots .yes { color: var(--rani); font-size: 1.35em; }
.nots .yes::after { display: none; }
@media (max-width: 820px) { .unschool { grid-template-columns: 1fr; } }

/* ---------- Reach ---------- */
.reach-band { overflow: hidden; }
.reach-cloud { position: absolute; right: -6vw; top: -4vw; width: 46vw; max-width: none; opacity: .14; pointer-events: none; }
.reach { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.reach-num { font-family: var(--f-display); font-size: clamp(6rem, 15vw, 11rem); line-height: .9; color: var(--zari); margin: 0; }
.reach-num span { display: block; font-family: var(--f-ui); font-size: var(--s-21); color: var(--tandul); margin-top: .5em; line-height: 1.3; }
.countries { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.countries li { font-family: var(--f-ui); font-size: var(--s-16); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 247, 232, .3); }
.countries li.origin { background: var(--bhagwa); border-color: var(--bhagwa); color: #fff; }
@media (max-width: 760px) { .reach { grid-template-columns: 1fr; } }

/* ---------- Firsts ---------- */
.firsts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.firsts li { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.firsts li + li { padding-left: 28px; }
.firsts li:last-child { border-right: 0; }
.coin-mark { width: 54px; height: 54px; margin-bottom: 10px; filter: drop-shadow(0 4px 6px rgba(60, 30, 10, .3)); transition: transform .6s ease; }
.firsts li:hover .coin-mark { transform: rotateY(180deg); }
.firsts .yr { font-family: var(--f-ui); font-weight: 700; color: var(--rani); }
.firsts p { color: var(--ink-soft); font-size: var(--s-16); }
@media (max-width: 860px) { .firsts { grid-template-columns: 1fr; } .firsts li, .firsts li + li { padding: 24px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Event cards ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ev { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--tandul); border-radius: 4px 28px 4px 28px; padding: 28px; border: 1px solid var(--line); overflow: hidden; }
.ev.has-cover { padding-top: 0; }
.ev-cover { margin: 0 -28px 8px; aspect-ratio: 16 / 9; overflow: hidden; }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.ev-type { align-self: flex-start; font-family: var(--f-ui); font-weight: 600; font-size: var(--s-14); padding: 4px 12px; border-radius: 999px; background: var(--mor); color: var(--tandul); }
.ev-type.competition { background: var(--rani); }
.ev h3 { margin: 4px 0 0; }
.ev-meta { list-style: none; margin: 0; padding: 0; font-family: var(--f-ui); font-size: var(--s-16); color: var(--ink-soft); display: grid; gap: 4px; }
.ev-meta li { display: flex; align-items: center; gap: 8px; }
.ev-meta .ic { width: 1.15em; height: 1.15em; color: var(--geru); }
.ev p { font-size: var(--s-16); color: var(--ink-soft); margin: 0; }
.ev .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video { margin: 0; position: relative; }
.video figcaption { font-family: var(--f-ui); margin-top: 8px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: var(--bhagwa); border-radius: 14px; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Heritage ---------- */
.heritage-band { overflow: hidden; }
.heritage-scroller { position: relative; }
.heritage { list-style: none; margin: 0; padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 22px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px);
  gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--zari) transparent; }
.heritage li { scroll-snap-align: start; position: relative; padding: 20px 18px 16px; border-radius: 18px; background: rgba(255, 247, 232, .06); border: 1px solid rgba(255, 247, 232, .14); }
.portrait { width: 132px; height: 132px; border-radius: 50%; margin-bottom: 16px; display: grid; place-items: center; overflow: hidden; color: var(--zari-light);
  background: radial-gradient(circle at 35% 30%, #B35A33, #6F2E16); box-shadow: 0 0 0 4px var(--geru), 0 0 0 7px var(--zari), 0 10px 24px rgba(0, 0, 0, .3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15); }
.portrait .ic { width: 58px; height: 58px; stroke-width: 1.7; }
.heritage h3 { font-family: var(--f-display); font-size: var(--s-24); margin-bottom: .1em; }
.heritage .role { font-family: var(--f-ui); font-size: var(--s-14); color: #FFD9A0; margin-bottom: .8em; }
.heritage blockquote { margin: 0 0 .6em; font-size: var(--s-18); line-height: 1.65; color: var(--tandul); border-left: 3px solid var(--bhagwa); padding-left: 12px; }
.heritage .q-en { font-style: italic; font-size: var(--s-16); }
.heritage p { font-size: var(--s-16); color: rgba(255, 247, 232, .88); margin-bottom: .4em; }
.hs-btn { position: absolute; top: 40%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--tandul); color: var(--geru); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.hs-btn.prev { left: 12px; } .hs-btn.next { right: 12px; }
@media (max-width: 700px) { .hs-btn { display: none; } }

/* ---------- Kavita ---------- */
.kavita { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.book { aspect-ratio: 3 / 4.3; position: relative; border-radius: 4px 10px 10px 4px; overflow: hidden; background: var(--rani); color: var(--tandul);
  box-shadow: -10px 0 0 -4px var(--rani-deep) inset, 0 30px 60px rgba(94, 15, 51, .35); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; transform: rotate(-2.5deg); }
.book::before, .book::after { content: ""; position: absolute; left: 0; right: 0; height: 52px; background: url(../img/paithani-border.svg) repeat-x; background-size: 104px 52px; }
.book::before { top: 22px; } .book::after { bottom: 22px; }
.book-peacock { width: 150px; height: 110px; }
.book-title { font-family: var(--f-display); font-size: clamp(2rem, 3.5vw, 2.6rem); line-height: 1.2; margin: 12px 0 6px; }
.book-sub { font-family: var(--f-ui); font-size: var(--s-14); color: var(--zari); }
.book-real { margin: 0; transform: rotate(-2deg); }
.book-real img { border-radius: 4px 10px 10px 4px; box-shadow: 0 30px 60px rgba(94, 15, 51, .35); }
@media (max-width: 760px) { .kavita { grid-template-columns: 1fr; } .book, .book-real { max-width: 280px; margin: 0 auto; } }

/* ---------- CSR + donors ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); position: relative; overflow: hidden; }
.split h2 { font-size: clamp(var(--s-30), 3.4vw, var(--s-48)); }
.split .csr { background: var(--akash); color: var(--tandul); }
.split .csr .kicker { color: var(--zari); }
.rajmudra.csr-seal { position: absolute; right: -70px; bottom: -70px; width: 260px; opacity: .09; pointer-events: none; }
.split .donor { background: var(--rani-deep); color: var(--tandul); display: grid; grid-template-columns: 1fr; }
.donor-pallu { position: absolute; inset: 0 0 0 auto; width: 34%; background: url(../img/butta-tile.svg) 0 0 / 120px 120px, linear-gradient(90deg, var(--rani), #A3245E);
  box-shadow: inset 18px 0 0 var(--zari); }
.donor-pallu::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40px; background: url(../img/paithani-border.svg) repeat-x center / 80px 40px; transform-origin: 0 0; transform: rotate(90deg) translateY(-40px); width: 100vh; height: 40px; }
.donor-copy { position: relative; max-width: 30em; padding-right: 30%; }
.split .donor .kicker { color: var(--zari-light); }
.split .donor h2 { color: #fff; }
.split .donor p { color: #FBE9EF; font-size: var(--s-18); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .donor-pallu { width: 22%; } .donor-copy { padding-right: 18%; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--tandul); background: linear-gradient(180deg, var(--akash-deep), var(--akash) 50%, #6E3A72); padding: clamp(86px, 11vw, 140px) 0 clamp(44px, 6vw, 70px); }
.ph-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; position: relative; }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.15; margin: 0 0 .2em; }
.page-hero p { max-width: 40em; color: rgba(255, 247, 232, .88); font-size: var(--s-21); margin: 0; }
.ph-flag { flex: none; width: 72px; height: 120px; }
.ph-cloud { position: absolute; max-width: none; opacity: .45; pointer-events: none; mix-blend-mode: screen; }
.ph-cloud.c1 { width: 40vw; right: 8vw; top: -6vw; }
.ph-cloud.c2 { width: 30vw; left: -6vw; bottom: -8vw; opacity: .3; }
@media (max-width: 600px) { .ph-flag { width: 44px; height: 74px; } }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--tandul); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 6px; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); overflow-x: auto; }
.subnav a { display: block; white-space: nowrap; padding: 14px 12px; font-family: var(--f-ui); font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--rani); border-color: var(--rani); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.vision { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rajmudra { width: 100%; height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .35)); }
.rajmudra text { font-family: "Tiro Devanagari Marathi", serif; font-size: 25px; }
.vision blockquote { margin: 0; font-size: clamp(var(--s-21), 2.4vw, var(--s-30)); line-height: 1.55; }
.rm-caption { font-family: var(--f-ui); font-size: var(--s-14); color: rgba(255, 247, 232, .75); text-align: center; margin-top: 12px; }
@media (max-width: 760px) { .vision, .story { grid-template-columns: 1fr; } .vision .rajmudra { max-width: 240px; margin: 0 auto; } }
.mission { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 2px solid var(--ink); }
.mission li { padding: 24px 24px 12px 0; border-bottom: 1px solid var(--line); }
.mission h3 { font-size: var(--s-21); color: var(--rani); }
.mission p { font-size: var(--s-16); color: var(--ink-soft); }
.objectives { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 40px; list-style: none; padding: 0; margin: 0 0 32px; }
.objectives li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.objectives .ic { width: 36px; height: 36px; color: var(--geru); stroke-width: 2; }
.objectives strong { display: block; font-weight: 400; font-size: var(--s-21); }
.objectives span { font-size: var(--s-16); color: var(--ink-soft); }
details.full-list { border-top: 1px solid var(--line); padding-top: 16px; }
details.full-list summary { cursor: pointer; font-family: var(--f-ui); font-weight: 600; color: var(--rani); }
details.full-list ol { columns: 2 22em; column-gap: 48px; font-size: var(--s-16); color: var(--ink-soft); padding-left: 1.4em; margin-top: 20px; }
details.full-list li { break-inside: avoid; margin-bottom: .6em; }

/* People cards (team, representatives, contributors, participants) */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.person { position: relative; background: var(--tandul); padding: 22px; border-radius: 4px 28px 4px 28px; border: 1px solid var(--line); color: var(--ink); }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 14px; background: var(--geru); display: grid; place-items: center; color: var(--tandul);
  box-shadow: 0 0 0 4px var(--tandul), 0 0 0 6px var(--zari); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .ic { width: 56px; height: 56px; stroke-width: 1.8; }
.person h3 { font-size: var(--s-21); margin: 0; }
.person .role { font-family: var(--f-ui); color: var(--rani); font-weight: 600; font-size: var(--s-16); margin: 2px 0 6px; }
.person .place { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); display: flex; gap: 6px; align-items: center; margin: 0 0 6px; }
.person .place .ic { width: 1em; height: 1em; }
.person p { font-size: var(--s-16); color: var(--ink-soft); margin: 0; }
.person.placeholder { border-style: dashed; background: transparent; }
.person.placeholder .avatar { background: var(--bhint-2); color: var(--geru); }
.band-geru .person.placeholder, .band-sky .person.placeholder { color: var(--tandul); border-color: rgba(255, 247, 232, .4); }
.band-geru .person.placeholder p, .band-sky .person.placeholder p { color: rgba(255, 247, 232, .8); }
.country-group { margin-bottom: 36px; }
.country-group > h3 { font-family: var(--f-display); display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--zari); padding-bottom: 6px; }
.country-group > h3 small { font-family: var(--f-ui); font-size: var(--s-14); color: var(--zari-light); margin-left: auto; }
.rep-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: rgba(255, 247, 232, .08); border: 1px solid rgba(255, 247, 232, .25); border-radius: 18px; padding: 22px; margin-top: 30px; }
.rep-cta ol { margin: 0; padding-left: 1.2em; font-family: var(--f-ui); }
@media (max-width: 760px) { .rep-cta { grid-template-columns: 1fr; } }
.photo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.photo-wall li { position: relative; text-align: center; font-family: var(--f-ui); font-size: var(--s-14); }
.photo-wall .ph { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bhint-2); display: grid; place-items: center; color: var(--geru); margin-bottom: 6px; border: 3px solid var(--tandul); box-shadow: 0 6px 16px rgba(43, 24, 16, .12); }
.photo-wall .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-wall .ph .ic { width: 40%; height: 40%; opacity: .6; }
.photo-wall li.slot .ph { border-style: dashed; border-color: #CDB59D; background: transparent; box-shadow: none; }
.photo-wall b { display: block; font-weight: 600; }

.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cert { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px; border-radius: 12px; background: var(--tandul); border: 1px solid var(--line); }
.cert .ic { width: 44px; height: 44px; color: var(--mor); stroke-width: 1.8; }
.cert h3 { font-size: var(--s-21); margin: 0; }
.cert p { margin: 4px 0 0; font-size: var(--s-16); color: var(--ink-soft); }
.cert .num { font-family: var(--f-ui); font-weight: 600; color: var(--ink); }
.cert .status { display: inline-block; font-family: var(--f-ui); font-size: var(--s-14); font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #D7EEE9; color: var(--mor-deep); }
.cert .status.process { background: #FFF0D6; color: #7A4A00; }
.cert .status.request { background: var(--bhint-2); color: var(--ink-soft); }
.cert a { font-family: var(--f-ui); font-weight: 600; font-size: var(--s-16); }

/* ---------- Timeline ---------- */
.year-block { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.year { font-family: var(--f-display); font-size: var(--s-60); line-height: 1; color: var(--geru); position: sticky; top: calc(var(--header-h) + 70px); align-self: start; margin: 0; }
.tl { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px dotted var(--geru); }
.tl > li { position: relative; padding: 0 0 32px; }
.tl > li::before { content: ""; position: absolute; left: -37px; top: .4em; width: 16px; height: 16px; border-radius: 50%; background: var(--bhint); border: 3px solid var(--rani); }
.tl .when { font-family: var(--f-ui); font-weight: 600; color: var(--rani); font-size: var(--s-16); }
.tl h3 { margin: 2px 0 6px; }
.tl p { color: var(--ink-soft); margin-bottom: .5em; }
.tl .guests strong { font-family: var(--f-ui); font-weight: 600; color: var(--ink); }
.tl .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.tl .tags li { font-family: var(--f-ui); font-size: var(--s-14); padding: 2px 10px; border-radius: 999px; background: var(--bhint-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 10px 0; }
.gallery a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 720px) { .year-block { grid-template-columns: 1fr; gap: 8px; } .year { position: static; font-size: var(--s-48); } }

/* ---------- Media ---------- */
.mastheads { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.mastheads li { position: relative; padding: 26px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font-family: var(--f-display); font-size: var(--s-24); background: var(--tandul); }
.mastheads li span { display: block; font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); }
/* Press clippings: masonry, every clipping shown whole (no cropping) */
.clips { column-width: 260px; column-gap: 26px; }
.clip { position: relative; break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 26px; background: #FFFDF6; padding: 10px 10px 12px; border: 1px solid var(--line);
  transform: rotate(var(--r, -.8deg)); box-shadow: 0 8px 20px rgba(43, 24, 16, .12); transition: transform .45s cubic-bezier(.2, .8, .2, 1.2), box-shadow .35s; }
.clip:nth-child(2n) { --r: .9deg; } .clip:nth-child(3n) { --r: -.3deg; } .clip:nth-child(5n) { --r: 1.4deg; }
.clip::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 18px; margin-left: -35px; background: rgba(217, 169, 63, .55); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.clip-img { position: relative; display: block; overflow: hidden; cursor: zoom-in; background: #f3ead8; }
.clip-img img { display: block; width: 100%; height: auto; filter: sepia(.12) contrast(1.02); transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.clip-img .zoom { position: absolute; inset: auto 10px 10px auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(142, 27, 79, .92); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .3s; }
.clip-img .zoom .ic { width: 22px; height: 22px; }
@media (hover: hover) {
  .clip:hover { transform: rotate(0) translateY(-8px) scale(1.025); box-shadow: 0 22px 44px rgba(43, 24, 16, .24); z-index: 2; }
  .clip:hover .clip-img img { transform: scale(1.04); filter: none; }
  .clip:hover .zoom { opacity: 1; transform: none; }
}
.clip .ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(0deg, var(--bhint) 0 10px, var(--bhint-2) 10px 11px); display: grid; place-items: center; font-family: var(--f-ui); color: var(--ink-soft); font-size: var(--s-14); }
.clip figcaption { font-family: var(--f-ui); font-size: var(--s-14); line-height: 1.45; margin-top: 10px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .clip, .clip-img img { transition: none; } }

/* Lightbox with zoom and pan */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 10, 24, .94); color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(0,0,0,.6); }
.lb[open] { display: grid; grid-template-rows: 1fr auto auto; animation: lbIn .3s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; cursor: zoom-in; }
.lb-stage.zoomed { cursor: grab; } .lb-stage.drag { cursor: grabbing; }
.lb-stage img { max-width: 94vw; max-height: calc(100dvh - 130px); object-fit: contain; transform-origin: 0 0; transition: transform .25s ease; user-select: none; -webkit-user-drag: none; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-stage.drag img { transition: none; }
.lb-cap { margin: 8px auto 0; padding: 0 16px; max-width: 900px; text-align: center; font-family: var(--f-ui); font-size: var(--s-16); color: #f2e6d0; }
.lb-bar { display: flex; justify-content: center; gap: 10px; padding: 10px 0 16px; }
.lb-bar button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.lb-bar button:hover { background: var(--rani); transform: translateY(-2px); }

/* Kavita poets */
.poets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 22px; }
.poet { position: relative; display: flex; flex-direction: column; align-items: center; color: var(--ink); text-align: center; background: var(--tandul); border: 1px solid var(--line); border-radius: 140px 140px 14px 14px; padding: 18px 16px 20px; transition: transform .4s cubic-bezier(.2, .8, .2, 1.2), box-shadow .3s; }
.poet-ph { width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--geru); color: var(--tandul); display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--tandul), 0 0 0 7px var(--zari), 0 10px 22px rgba(43, 24, 16, .2); transition: box-shadow .35s; }
.poet-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.poet-ph .ic { width: 56px; height: 56px; }
.poet h3 { color: var(--ink); font-size: var(--s-21); margin: 0 0 4px; line-height: 1.3; }
.poet .place { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); display: flex; gap: 5px; align-items: center; justify-content: center; margin: 0; }
.poet .place .ic { width: 1em; height: 1em; }
.poet .tbd { opacity: .6; font-style: italic; }
.poet .poem { font-family: var(--f-ui); color: var(--rani); font-weight: 600; font-size: var(--s-14); margin: 6px 0 0; }
.poet .bio { font-size: var(--s-14); color: var(--ink-soft); margin: 6px 0 0; line-height: 1.5; }
@media (hover: hover) { .poet:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(43, 24, 16, .16); } .poet:hover .poet-ph img { transform: scale(1.1); } .poet:hover .poet-ph { box-shadow: 0 0 0 4px var(--tandul), 0 0 0 7px var(--bhagwa), 0 14px 28px rgba(43, 24, 16, .28); } }
.poets-dlg { width: min(1100px, 94vw); max-height: 90dvh; border: 0; border-radius: 18px; padding: clamp(20px, 4vw, 44px); background: var(--bhint); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.poets-dlg::backdrop { background: rgba(20, 32, 82, .7); backdrop-filter: blur(3px); }
.poets-dlg[open] { animation: dlgIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.poets-dlg h2 { margin: 0 0 4px; } .poets-dlg .muted-p { font-family: var(--f-ui); color: var(--ink-soft); margin: 0 0 24px; }
.dlg-x { position: sticky; top: 0; float: right; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--rani); color: #fff; font-size: 26px; cursor: pointer; z-index: 2; }
.btn .ic { width: 1.1em; height: 1.1em; margin-right: 6px; vertical-align: -.15em; }
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.award { position: relative; background: var(--tandul); color: var(--ink); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.award .aw-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--rani), var(--rani-deep)); display: grid; place-items: center; color: var(--zari); }
.award .aw-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.award .aw-img > a { position: relative; display: block; width: 100%; height: 100%; }
.award .aw-img .zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.award .aw-img .zoom .ic { width: 18px; height: 18px; stroke-width: 2; }
.award.has-video .aw-img { aspect-ratio: 16 / 9; background: #000; }
.award.has-video .aw-img > * { width: 100%; height: 100%; }
.award .aw-img .ic { width: 70px; height: 70px; stroke-width: 1.5; }
.award .aw-body { padding: 18px 20px; }
.award h3 { font-size: var(--s-21); margin: 0 0 4px; }
.award .by { font-family: var(--f-ui); font-size: var(--s-14); color: var(--rani); font-weight: 600; }
.award p { font-size: var(--s-16); color: var(--ink-soft); margin: 6px 0 0; }
.dignitaries { columns: 3 220px; column-gap: 40px; padding: 0; list-style: none; margin: 0; }
.dignitaries li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid rgba(255, 247, 232, .16); }
.dignitaries li span { display: block; font-family: var(--f-ui); font-size: var(--s-14); color: rgba(255, 247, 232, .72); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-family: var(--f-ui); font-weight: 600; font-size: var(--s-16); margin-bottom: 6px; }
.field .hint { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: var(--s-18); color: var(--ink); padding: 12px 14px; border-radius: 10px; border: 1.5px solid #CDB59D; background: #FFFCF6; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rani); box-shadow: 0 0 0 3px rgba(142, 27, 79, .18); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.hp { position: absolute; left: -5000px; }
.form-msg { font-family: var(--f-ui); padding: 14px 16px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #E3F1E0; color: #23501B; }
.form-msg.err { display: block; background: #F8E1E4; color: #7A1230; }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .donate-grid { grid-template-columns: 1fr; } }
.donate-card { background: var(--tandul); border-radius: 6px 36px 6px 36px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(43, 24, 16, .1); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; }
.amounts span { display: block; text-align: center; padding: 14px 6px; border-radius: 12px; border: 1.5px solid #CDB59D; background: #FFFCF6; font-family: var(--f-ui); font-weight: 600; font-size: var(--s-21); cursor: pointer; }
.amounts input:checked + span { background: var(--rani); border-color: var(--rani); color: var(--tandul); }
.amounts input:focus-visible + span { outline: 3px solid var(--bhagwa); outline-offset: 2px; }
.seg { display: inline-flex; border: 1.5px solid var(--rani); border-radius: 999px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 18px; font-family: var(--f-ui); font-weight: 600; cursor: pointer; color: var(--rani); }
.seg input:checked + span { background: var(--rani); color: var(--tandul); }
.side-panel { display: grid; gap: 20px; }
.panel { padding: 24px; border-radius: 12px; background: var(--akash); color: var(--tandul); }
.panel.rani { background: url(../img/butta-tile.svg) 0 0 / 120px 120px, var(--rani-deep); }
.panel h3 { font-size: var(--s-21); }
.panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-family: var(--f-ui); font-size: var(--s-16); }
.panel dt { color: var(--zari); }
.panel dd { margin: 0; word-break: break-word; }
.panel p { font-size: var(--s-16); }
.panel a { color: var(--zari-light); }
.uses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.uses li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.uses b { font-family: var(--f-ui); font-weight: 700; color: var(--rani); font-size: var(--s-21); }
.notice { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); background: var(--bhint); padding: 12px 14px; border-left: 4px solid var(--zari); border-radius: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 40px; height: 40px; color: var(--rani); stroke-width: 1.8; }
.contact-list strong { display: block; font-family: var(--f-ui); font-weight: 600; font-size: var(--s-16); }

/* ---------- Members steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: var(--tandul); border-radius: 16px; padding: 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rani); color: #fff; font-family: var(--f-ui); font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: var(--s-21); margin: 0 0 4px; }
.steps p { font-size: var(--s-16); color: var(--ink-soft); margin: 0; }

/* ---------- Footer: sunset over the Sahyadri ---------- */
.site-footer { position: relative; color: var(--tandul); }
.sahyadri { display: block; width: 100%; height: clamp(170px, 24vw, 340px); margin-bottom: -2px; }
.footer-body { background: #142052; padding: 24px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 40px; padding-bottom: 32px; }
.f-name { font-family: var(--f-display); font-size: var(--s-24); color: var(--zari); }
.f-about p { font-size: var(--s-16); color: rgba(255, 247, 232, .86); }
.f-ovi { font-size: var(--s-18) !important; color: var(--tandul) !important; border-left: 3px solid var(--bhagwa); padding-left: 14px; }
.f-ovi span { display: block; font-family: var(--f-ui); font-size: var(--s-14); color: var(--zari); }
.f-head { font-family: var(--f-ui); font-weight: 700; color: var(--zari); margin-bottom: .6em; }
.f-links ul, .f-social { list-style: none; padding: 0; margin: 0; }
.f-links li { padding: 3px 0; }
.site-footer a { color: var(--tandul); font-family: var(--f-ui); text-decoration: none; }
.site-footer a:hover { color: var(--zari); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: var(--s-16); line-height: 1.8; }
.f-social { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 247, 232, .15); padding-top: 18px; font-family: var(--f-ui); font-size: var(--s-14); color: rgba(255, 247, 232, .72); }
.f-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.prose { max-width: 42em; }
.prose h2 { font-size: var(--s-30); margin-top: 1.4em; }
.cms-edit-btn { display: none; }
.book-peacock .fe { transform-box: view-box; transform-origin: 0 0; transform: rotate(var(--a)); }
.book-peacock .fe .q { stroke: #7C9A3A; stroke-width: 1.2; }
@media (max-width: 560px) {
  .poets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .poet { padding: 12px 8px 14px; }
  .poet-ph { width: 96px; height: 96px; margin-bottom: 10px; }
  .poet h3 { font-size: var(--s-16); }
  .poet .place { font-size: .8rem; }
  .clips { column-width: 160px; column-gap: 14px; }
}

/* Videos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px 22px; }
.vgrid-home { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.vgrid-event { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vgrid-mini { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.vcard { position: relative; margin: 0; background: var(--tandul); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1.2), box-shadow .3s; }
.vcard .yt { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0; background: #111; position: relative; cursor: pointer; overflow: hidden; }
.vcard .yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.vcard iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vcard figcaption { padding: 12px 14px 14px; font-family: var(--f-ui); display: grid; gap: 3px; }
.vkind { justify-self: start; font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: #fff; background: var(--akash); padding: 1px 9px; border-radius: 99px; }
.k-reaction .vkind { background: var(--mor); } .k-wishes .vkind { background: var(--bhagwa-deep); } .k-performance .vkind { background: var(--rani); } .k-interview .vkind { background: var(--geru); }
.vtitle { font-size: var(--s-16); line-height: 1.4; color: var(--ink); }
.vwho, .vmeta { font-size: var(--s-14); color: var(--ink-soft); display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.vwho .ic { width: 1em; height: 1em; }
.vgrid-mini .vcard figcaption { padding: 8px 10px 10px; } .vgrid-mini .vtitle { font-size: var(--s-14); }
@media (hover: hover) { .vcard:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(43, 24, 16, .18); } .vcard:hover .yt img { transform: scale(1.06); } }
.vtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.vtabs a, .vchips a { font-family: var(--f-ui); text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--tandul); padding: 8px 16px; border-radius: 99px; font-weight: 600; transition: .2s; }
.vtabs a span, .vchips a span { font-weight: 400; opacity: .7; margin-left: 4px; }
.vtabs a[aria-current], .vtabs a:hover { background: var(--rani); border-color: var(--rani); color: #fff; }
.vchips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 22px; }
.vchips a { padding: 5px 12px; font-size: var(--s-14); font-weight: 500; }
.vchips a[aria-current], .vchips a:hover { background: var(--mor); border-color: var(--mor); color: #fff; }
.vfilter { font-family: var(--f-ui); margin: 0 0 18px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a { font-family: var(--f-ui); min-width: 40px; text-align: center; padding: 8px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a[aria-current] { background: var(--rani); color: #fff; border-color: var(--rani); }
.ev-reactions { margin-top: 16px; padding: 14px; border-radius: 12px; background: rgba(15, 110, 106, .07); }
.ev-r-head { font-family: var(--f-ui); font-weight: 600; margin: 0 0 10px; display: flex; gap: 6px; align-items: center; color: var(--mor-deep); }
.ev-r-head .ic { width: 1.2em; height: 1.2em; }
.ev-reactions .more { display: inline-block; margin-top: 10px; font-family: var(--f-ui); font-weight: 600; }
.vcard .yt { border-radius: 0; }
.vmeta { gap: 2px 12px; } .vmeta > span + span::before { content: "•"; margin-right: 8px; opacity: .5; }
@media (max-width: 560px) { .vtabs a { padding: 6px 12px; font-size: var(--s-14); } .vtabs { gap: 6px; } }
.digni .poet { border-radius: 120px 120px 14px 14px; } .digni .poet .bio { font-family: var(--f-ui); }
/* Upcoming event: tall posters shown whole, extra buttons and lists */
.ev-cover { display: block; cursor: zoom-in; }
.ev-cover img { transition: transform .5s; }
.ev-cover:hover img { transform: scale(1.03); }
.ev-cover.poster { aspect-ratio: auto; background: radial-gradient(circle at 50% 40%, #5E0F33, #2B1810); padding: 18px; display: flex; justify-content: center; }
.ev-cover.poster img { width: auto; height: auto; max-width: 100%; max-height: 520px; object-fit: contain; box-shadow: 0 14px 30px rgba(0,0,0,.45); border-radius: 4px; }
.ev-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.ev-details { margin: 0; font-size: var(--s-16); }
.ev-type.awards { background: var(--zari); color: var(--ink); }
.events-grid .ev.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 32px; padding: 28px; align-items: start; }
.ev.feature .ev-cover { margin: 0; border-radius: 14px; overflow: hidden; }
.ev.feature .ev-cover.poster { padding: 14px; }
.ev.feature .ev-cover.poster img { max-height: 640px; }
.ev.feature .ev-body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ev.feature h3 { font-size: var(--s-30); line-height: 1.3; }
.ev.feature .ev-details { columns: 2 240px; column-gap: 28px; width: 100%; }
.ev.feature .ev-details li { break-inside: avoid; }
@media (max-width: 760px) { .events-grid .ev.feature { grid-template-columns: 1fr; padding: 18px; gap: 18px; } .ev.feature h3 { font-size: var(--s-24); } }
.ev-type { width: fit-content; }

/* Poet tile opens the introduction */
.poet-open { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
button.poet-open { cursor: pointer; }
button.poet-open:focus-visible { outline: 3px solid var(--bhagwa); outline-offset: 6px; border-radius: 12px; }
.poet-name { font-family: var(--f-text); font-size: var(--s-21); line-height: 1.3; color: var(--ink); margin: 0 0 4px; }
.poet .poet-ph { display: grid; }
.poet-more-cue { margin-top: 8px; font-family: var(--f-ui); font-size: var(--s-14); font-weight: 600; color: var(--rani); opacity: 0; transform: translateY(4px); transition: .3s; }
.poet.has-more:hover .poet-more-cue, .poet.has-more:focus-within .poet-more-cue { opacity: 1; transform: none; }
@media (hover: none) { .poet-more-cue { opacity: .85; transform: none; } }
.poet-dlg { width: min(760px, 94vw); max-height: 90dvh; border: 0; border-radius: 22px; padding: clamp(22px, 4vw, 44px); background: var(--tandul); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.poet-dlg::backdrop { background: rgba(20, 32, 82, .72); backdrop-filter: blur(3px); }
.poet-dlg[open] { animation: dlgIn .35s cubic-bezier(.2, .8, .2, 1); }
.pd-head { display: flex; gap: 24px; align-items: center; margin-bottom: 20px; }
.pd-ph { width: 128px; height: 128px; flex: none; border-radius: 50%; overflow: hidden; background: var(--geru); color: var(--tandul); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--tandul), 0 0 0 7px var(--zari), 0 10px 22px rgba(43, 24, 16, .2); }
.pd-ph img { width: 100%; height: 100%; object-fit: cover; } .pd-ph .ic { width: 56px; height: 56px; }
.pd-head h2 { margin: 2px 0 2px; font-size: var(--s-30); line-height: 1.25; }
.pd-head .kicker { margin: 0; font-size: var(--s-14); }
.pd-alt { margin: 0; font-family: var(--f-ui); color: var(--ink-soft); }
.pd-head .place { margin: 6px 0 0; font-family: var(--f-ui); color: var(--ink-soft); display: flex; gap: 6px; align-items: center; }
.pd-head .place .ic { width: 1em; height: 1em; }
.pd-poems { background: var(--bhint); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; }
.pd-label { margin: 0 0 6px; font-family: var(--f-ui); font-weight: 600; color: var(--rani); font-size: var(--s-14); }
.pd-poems ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pd-poems li { display: flex; gap: 8px; align-items: center; font-size: var(--s-18); }
.pd-poems .ic { width: 1em; height: 1em; color: var(--geru); flex: none; }
.pd-bio p { margin: 0 0 .8em; font-size: var(--s-18); line-height: 1.75; }
@media (max-width: 560px) { .pd-head { flex-direction: column; text-align: center; gap: 14px; } .pd-head .place { justify-content: center; } .pd-ph { width: 104px; height: 104px; } .pd-head h2 { font-size: var(--s-24); } .poet-name { font-size: var(--s-16); } }
.pd-head .pd-ph { margin: 0; } .pd-head > div { flex: 1; min-width: 0; } .pd-head h2 { padding-right: 44px; }
@media (max-width: 560px) { .pd-head .pd-ph { margin: 0 auto; } .pd-head h2 { padding: 0; } }

/* ===== Gunvant Sanman 2027 landing page ===== */
.gv-hero { position: relative; color: #FFF3DC; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% 30%, rgba(217,169,63,.22), transparent 60%), radial-gradient(900px 500px at 10% 90%, rgba(232,115,28,.18), transparent 60%), linear-gradient(160deg, #3A0618 0%, #6E0E2A 45%, #8E1B4F 100%); }
.gv-hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background: url(../img/butta-tile.svg) 0 0 / 120px 120px; }
.gv-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, var(--zari), var(--zari-light), var(--zari)); }
.gv-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.gv-presents { font-family: var(--f-ui); letter-spacing: .04em; color: var(--zari-light); margin: 0 0 10px; font-weight: 600; }
.gv-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.12; margin: 0 0 14px;
  background: linear-gradient(180deg, #FFE7A3 10%, #E7B14A 60%, #C98A22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 0 rgba(0,0,0,.08); }
.gv-year { white-space: nowrap; }
.gv-ribbon { display: inline-block; margin: 0 0 18px; padding: 8px 22px; font-family: var(--f-ui); font-weight: 700; color: #4A0A20; background: linear-gradient(90deg, #E7B14A, #FFE7A3, #E7B14A); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%); }
.gv-lead { font-size: var(--s-21); line-height: 1.7; max-width: 38em; margin: 0 0 20px; color: #FFEBD0; }
.gv-facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gv-facts li { display: flex; gap: 8px; align-items: center; font-family: var(--f-ui); font-size: var(--s-16); padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,231,163,.3); }
.gv-facts .ic { width: 1.2em; height: 1.2em; color: var(--zari-light); }
.gv-count { display: flex; gap: 10px; margin: 0 0 22px; }
.gv-count div { min-width: 72px; text-align: center; padding: 10px 8px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,231,163,.35); }
.gv-count b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--zari-light); line-height: 1.1; }
.gv-count span { font-family: var(--f-ui); font-size: var(--s-14); opacity: .8; }
.gv-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.gv-btn-gold { background: linear-gradient(180deg, #FFE08A, #E3A83A); color: #3A0618; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.gv-btn-gold:hover { color: #3A0618; filter: brightness(1.06); transform: translateY(-2px); }
.gv-btn-line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.gv-btn-line:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn .ic { width: 1.1em; height: 1.1em; margin-right: 6px; vertical-align: -.15em; }
.gv-note { margin: 14px 0 0; font-family: var(--f-ui); font-size: var(--s-14); color: var(--zari-light); display: flex; align-items: center; gap: 8px; }
.gv-note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5BE38B; box-shadow: 0 0 0 0 rgba(91,227,139,.7); animation: gvPulse 1.8s infinite; }
@keyframes gvPulse { to { box-shadow: 0 0 0 10px rgba(91,227,139,0); } }
.gv-poster { position: relative; display: block; justify-self: center; max-width: 420px; border-radius: 10px; transform: rotate(1.5deg); transition: transform .5s cubic-bezier(.2,.8,.2,1.2); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(255,231,163,.25); cursor: zoom-in; }
.gv-poster img { display: block; width: 100%; height: auto; border-radius: 10px; }
.gv-poster:hover { transform: rotate(0) scale(1.02); }
.gv-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: rgba(58,6,24,.85); color: #FFE7A3; font-family: var(--f-ui); font-size: var(--s-14); }
.gv-zoom .ic { width: 1.1em; height: 1.1em; }
.gv-subnav ul { justify-content: center; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.gv-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.gv-also { background: var(--tandul); border: 1px solid var(--line); border-left: 6px solid var(--zari); border-radius: 14px; padding: 24px; }
.gv-also h3 { margin-top: 0; }
.gv-small { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); }
.gv-awards-band { background: linear-gradient(180deg, #2A0712, #4A0A20); color: #FFF3DC; }
.gv-awards-band .section-head h2 { color: #FFE7A3; } .gv-awards-band .section-head p { color: #F2DDBF; } .gv-awards-band .kicker { color: var(--zari-light); }
.gv-awards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gv-award { position: relative; padding: 26px 22px 22px 92px; border-radius: 16px; background: linear-gradient(160deg, rgba(255,231,163,.10), rgba(255,231,163,.03)); border: 1px solid rgba(255,231,163,.28); transition: transform .35s cubic-bezier(.2,.8,.2,1.2), background .3s, border-color .3s; }
.gv-award:hover { transform: translateY(-6px); background: linear-gradient(160deg, rgba(255,231,163,.18), rgba(255,231,163,.05)); border-color: rgba(255,231,163,.6); }
.gv-medal { position: absolute; left: 20px; top: 24px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #4A0A20; background: radial-gradient(circle at 35% 30%, #FFF1B8, #E3A83A 60%, #A86E14); box-shadow: 0 0 0 3px rgba(255,231,163,.35), 0 6px 14px rgba(0,0,0,.35); }
.gv-medal .ic { width: 28px; height: 28px; }
.gv-num { position: absolute; right: 16px; top: 12px; font-family: var(--f-display); font-size: 1.6rem; color: rgba(255,231,163,.25); }
.gv-award h3 { margin: 0 0 6px; font-size: var(--s-21); color: #FFE7A3; line-height: 1.35; }
.gv-award p { margin: 0; font-size: var(--s-16); line-height: 1.6; color: #F2DDBF; }
.gv-who { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.gv-h3 { margin-top: 0; }
.gv-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gv-chips li { font-family: var(--f-ui); padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); transition: .25s; }
.gv-chips li:hover { background: var(--rani); color: #fff; border-color: var(--rani); }
.gv-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.gv-steps li { position: relative; background: var(--tandul); border: 1px solid var(--line); border-radius: 16px; padding: 56px 20px 22px; text-align: center; }
.gv-steps li > span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.6rem; color: #fff; background: var(--rani); box-shadow: 0 0 0 6px var(--bhint); }
.gv-steps h3 { margin: 0 0 6px; font-size: var(--s-21); } .gv-steps p { margin: 0; font-size: var(--s-16); color: var(--ink-soft); }
.gv-steps { margin-top: 30px; }
.gv-rec { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.gv-form { background: var(--tandul); color: var(--ink); border-radius: 18px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.gv-form fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.gv-form legend { font-family: var(--f-ui); font-weight: 700; color: var(--rani); margin-bottom: 8px; padding: 0; }
.gv-form label { display: block; font-family: var(--f-ui); font-size: var(--s-14); font-weight: 600; margin-bottom: 12px; }
.gv-form input, .gv-form select, .gv-form textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 400; font-size: var(--s-16); padding: 10px 12px; border: 1.5px solid #CDB59D; border-radius: 10px; background: #fff; box-sizing: border-box; }
.gv-form input:focus, .gv-form select:focus, .gv-form textarea:focus { outline: none; border-color: var(--rani); box-shadow: 0 0 0 3px rgba(142,27,79,.15); }
.gv-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gv-time { list-style: none; padding: 0; margin: 0 auto 16px; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.gv-time::before { content: ""; position: absolute; left: 12%; right: 12%; top: 13px; height: 3px; background: linear-gradient(90deg, var(--mor), var(--zari), var(--rani)); }
.gv-time li { position: relative; text-align: center; padding: 38px 10px 0; }
.gv-time li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--bhint); border: 4px solid var(--zari); }
.gv-time li.now::before { border-color: var(--mor); background: var(--mor); box-shadow: 0 0 0 6px rgba(15,110,106,.18); }
.gv-time li.big::before { border-color: var(--rani); background: var(--rani); width: 28px; height: 28px; margin-left: -14px; top: 1px; }
.gv-time b { display: block; font-family: var(--f-ui); font-size: var(--s-18); color: var(--ink); }
.gv-time span { font-size: var(--s-16); color: var(--ink-soft); }
.gv-faq { max-width: 860px; }
.gv-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: box-shadow .3s; }
.gv-faq details[open] { box-shadow: 0 10px 24px rgba(43,24,16,.08); }
.gv-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-family: var(--f-ui); font-weight: 600; font-size: var(--s-18); position: relative; }
.gv-faq summary::-webkit-details-marker { display: none; }
.gv-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bhint); color: var(--rani); font-size: 20px; transition: transform .3s; }
.gv-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gv-faq details p { margin: 0; padding: 0 20px 18px; }
.gv-contact-band { background: linear-gradient(160deg, #3A0618, #6E0E2A); color: #FFF3DC; }
.gv-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gv-card { border: 1px solid rgba(255,231,163,.3); border-radius: 18px; padding: 28px; background: rgba(255,255,255,.04); }
.gv-card .kicker { color: var(--zari-light); } .gv-card h2 { color: #FFE7A3; margin: 4px 0; } .gv-role { color: #F2DDBF; font-family: var(--f-ui); }
.gv-share { display: flex; flex-wrap: wrap; gap: 10px; }
.gv-sticky { display: none; }
@media (max-width: 960px) {
  .gv-hero-grid, .gv-about, .gv-who, .gv-rec, .gv-contact { grid-template-columns: 1fr; }
  .gv-poster { max-width: 340px; }
  .gv-steps { grid-template-columns: 1fr 1fr; row-gap: 46px; }
}
@media (max-width: 640px) {
  .gv-steps, .gv-2 { grid-template-columns: 1fr; }
  .gv-time { grid-template-columns: 1fr; text-align: left; }
  .gv-time::before { left: 14px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .gv-time li { text-align: left; padding: 0 0 22px 46px; }
  .gv-time li::before, .gv-time li.big::before { left: 14px; top: 2px; }
  .gv-count div { min-width: 0; flex: 1; }
  .gv-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(58,6,24,.96); color: #FFF3DC; box-shadow: 0 -6px 20px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .3s; }
  .gv-sticky.show { transform: none; }
  .gv-sticky .btn { flex: 1; justify-content: center; text-align: center; padding: 10px 8px; }
  .gv-page .site-footer { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .gv-poster, .gv-award { transition: none; } .gv-note::before { animation: none; } }
.gv-award h3 { padding-right: 34px; }
.section-head.center .kicker { justify-content: center; }
.gv-rec .gv-small { color: #D9DEF5; } .gv-rec .gv-small a { color: var(--zari-light); }
.gv-sticky:not(.show) { visibility: hidden; }
/* Welcome committee and sponsors */
.gv-welcome .poet { border-radius: 120px 120px 14px 14px; }
.gv-wrole { font-family: var(--f-ui); font-size: var(--s-14); font-weight: 600; color: var(--rani); margin: 0 0 4px; }
.gv-sponsors-band { background: var(--tandul); border-top: 1px solid var(--line); }
.gv-tier { margin: 0 0 34px; text-align: center; }
.gv-tier-name { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-weight: 700; letter-spacing: .03em; color: var(--geru-deep); margin: 0 0 16px; }
.gv-tier-name::before, .gv-tier-name::after { content: ""; width: 48px; height: 2px; background: linear-gradient(90deg, transparent, var(--zari)); }
.gv-tier-name::after { transform: scaleX(-1); }
.gv-logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.gv-logos li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gv-logos li > a, .gv-logos li > div { display: grid; place-items: center; width: 200px; height: 110px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .3s, box-shadow .3s; }
.gv-logos img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(.15); transition: filter .3s; }
.gv-logos li:hover > a, .gv-logos li:hover > div { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(43,24,16,.12); }
.gv-logos li:hover img { filter: none; }
.gv-tier-title .gv-logos li > a, .gv-tier-title .gv-logos li > div { width: 300px; height: 160px; border: 2px solid var(--zari); }
.gv-tier-powered .gv-logos li > a, .gv-tier-powered .gv-logos li > div, .gv-tier-gold .gv-logos li > a, .gv-tier-gold .gv-logos li > div { width: 240px; height: 130px; }
.gv-tier-media .gv-logos li > a, .gv-tier-media .gv-logos li > div, .gv-tier-partner .gv-logos li > a, .gv-tier-partner .gv-logos li > div { width: 170px; height: 90px; }
.gv-logo-text { font-family: var(--f-ui); font-weight: 700; text-align: center; color: var(--ink); }
.gv-logo-note { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); max-width: 220px; }
.gv-become { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(120deg, #FFF0D2, #FBE3E9); border: 1px dashed var(--zari); }
.gv-become h3 { margin: 0 0 4px; } .gv-become p { margin: 0; max-width: 46em; color: var(--ink-soft); }
@media (max-width: 560px) { .gv-logos li > a, .gv-logos li > div { width: 150px !important; height: 86px !important; } .gv-tier-title .gv-logos li > a, .gv-tier-title .gv-logos li > div { width: 100% !important; height: 130px !important; } .gv-tier-title .gv-logos li { width: 100%; } }
.gv-cal { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-family: var(--f-ui); font-size: var(--s-14); color: #FFE7A3; }
.gv-cal:hover { color: #fff; } .gv-cal .ic { width: 1.1em; height: 1.1em; }
.gv-logos li > a, .gv-logos li > div { overflow: hidden; text-decoration: none; }
.gv-logos img { width: auto; height: auto; max-height: 78px; }
.gv-tier-title .gv-logos img { max-height: 128px; }
.gv-tier-powered .gv-logos img, .gv-tier-gold .gv-logos img { max-height: 98px; }
.gv-tier-media .gv-logos img, .gv-tier-partner .gv-logos img { max-height: 58px; }
@media (max-width: 560px) { .gv-logos img { max-height: 56px !important; } .gv-tier-title .gv-logos img { max-height: 100px !important; } }
.gv-fee { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 900px; margin: 0 auto 26px; padding: 24px 28px; border-radius: 18px; background: var(--tandul); border: 2px solid var(--zari); scroll-margin-top: calc(var(--header-h) + 70px); }
.gv-fee-amt { text-align: center; padding: 14px 22px; border-radius: 14px; background: linear-gradient(160deg, #6E0E2A, #8E1B4F); color: #FFF3DC; }
.gv-fee-amt span, .gv-fee-amt small { display: block; font-family: var(--f-ui); font-size: var(--s-14); color: #FFE7A3; }
.gv-fee-amt b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1.1; }
.gv-fee .butta-list { margin: 0; }
@media (max-width: 640px) { .gv-fee { grid-template-columns: 1fr; } }

/* Footer: real Sahyadri photo (uploaded in Settings), recoloured to the site palette */
.sahyadri-photo { position: relative; height: clamp(190px, 26vw, 380px); overflow: hidden; margin-bottom: -2px; }
.sahyadri-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; filter: url(#sahyadri-tone) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
.sahyadri-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(to bottom, rgba(23,28,74,0), var(--akash-deep)); }
.sp-sun { position: absolute; right: 22%; top: -6%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,196,90,.5), rgba(255,196,90,0) 62%); mix-blend-mode: screen; pointer-events: none; }
.sp-credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-family: var(--f-ui); font-size: 11px; color: rgba(255,247,232,.6); }

/* Sub-navigation: leave room for the toran that hangs below the header */
.toran ~ .subnav, .toran ~ * .subnav { padding-top: 30px; }
.motif-img { object-fit: contain; }
/* Gurujan marquee */
.heritage-scroller.marquee .heritage { scroll-snap-type: none; scrollbar-width: none; padding-top: 34px; padding-bottom: 40px; overflow-y: hidden; }
.heritage-scroller.marquee .heritage::-webkit-scrollbar { display: none; }
.heritage li { transition: transform .45s cubic-bezier(.2,.8,.2,1.15), background .3s, box-shadow .3s, opacity .3s; transform-origin: center center; }
.heritage-scroller.marquee .heritage:hover li:not(.focus) { opacity: .72; }
.heritage li.focus { transform: scale(1.1); z-index: 3; background: rgba(255,247,232,.14); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.heritage li.focus .portrait { box-shadow: 0 0 0 4px var(--geru), 0 0 0 7px var(--zari-light), 0 14px 30px rgba(0,0,0,.4); }
.heritage-scroller.marquee::before, .heritage-scroller.marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.heritage-scroller.marquee::before { left: 0; background: linear-gradient(90deg, var(--geru), transparent); }
.heritage-scroller.marquee::after { right: 0; background: linear-gradient(-90deg, var(--geru), transparent); }
@media (prefers-reduced-motion: reduce) { .heritage li.focus { transform: none; } }
/* Past events: poster thumbnails and fold-out results */
.tl-cover-link { display: inline-block; cursor: zoom-in; margin: 6px 0 10px; }
.tl-cover-link .tl-cover { display: block; max-width: 260px; max-height: 340px; width: auto; height: auto; border-radius: 8px; box-shadow: 0 10px 24px rgba(43,24,16,.18); transition: transform .3s; }
.tl-cover-link:hover .tl-cover { transform: scale(1.03) rotate(-.5deg); }
.ev-results { margin: 8px 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--tandul); }
.ev-results summary { cursor: pointer; list-style: none; padding: 10px 14px; font-family: var(--f-ui); font-weight: 600; color: var(--rani); display: flex; gap: 8px; align-items: center; }
.ev-results summary::-webkit-details-marker { display: none; }
.ev-results summary::after { content: "+"; margin-left: auto; font-size: 20px; transition: transform .3s; }
.ev-results[open] summary::after { transform: rotate(45deg); }
.ev-results summary .ic { width: 1.1em; height: 1.1em; }
.ev-results > div { padding: 0 16px 12px; columns: 2 260px; column-gap: 28px; }
.ev-results .r-h { break-after: avoid; font-family: var(--f-ui); font-weight: 700; color: var(--ink); margin: 8px 0 4px; }
.ev-results ul { margin: 0 0 6px; padding-left: 18px; break-inside: avoid-column; }
.ev-results li { font-size: var(--s-16); color: var(--ink-soft); }

/* ------------------------------------------------------------ members area */
.m-signin-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.m-signin h2 { font-size: var(--s-36); margin-top: 0; }
.m-code { font-size: 1.8rem !important; letter-spacing: .4em; text-align: center; font-family: var(--f-ui); }
.m-inline { display: inline; margin: 0; }
.linkish { background: none; border: 0; padding: 6px 0; color: var(--rani); font: inherit; font-family: var(--f-ui); text-decoration: underline; cursor: pointer; }
.m-what .soon { opacity: .75; font-style: italic; }
.m-narrow { max-width: 760px; }
.m-notice { background: #FFF0D6; border-left: 5px solid var(--rani); border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; }
.m-notice p { margin: 0 0 8px; } .m-notice p:last-child { margin: 0; color: var(--ink-soft); }
.m-id { font-family: var(--f-ui); margin-top: 0; }
.m-consents { display: grid; gap: 10px; }
.m-check { display: flex; gap: 12px; align-items: flex-start; background: #FFFCF6; border: 1.5px solid #CDB59D; border-radius: 10px; padding: 12px 14px; cursor: pointer; font-family: var(--f-ui); }
.m-check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--rani); flex: none; }
.m-check small { color: var(--ink-soft); }
.chip { font-family: var(--f-ui); font-size: var(--s-14); border: 1.5px solid var(--rani); color: var(--rani); background: #fff; border-radius: 999px; padding: 4px 12px; margin: 3px 4px 3px 0; cursor: pointer; }
.chip.on { background: var(--rani); color: var(--tandul); }
.m-top { padding: 34px 0; }
.m-head { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: center; }
.m-card { border-radius: 18px; overflow: hidden; color: var(--tandul); background: linear-gradient(135deg, var(--rani-deep), var(--rani) 60%, #B4407A); box-shadow: 0 14px 34px rgba(94, 15, 51, .3); aspect-ratio: 1.586; display: flex; flex-direction: column; }
.m-card-top { display: flex; justify-content: space-between; padding: 14px 20px; font-family: var(--f-ui); font-size: var(--s-14); letter-spacing: .04em; background: rgba(0, 0, 0, .18); }
.m-card-body { flex: 1; display: flex; gap: 18px; align-items: center; padding: 16px 20px; }
.m-av { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; color: #fff; font-family: var(--f-ui); font-weight: 700; border: 3px solid rgba(255, 247, 232, .85); }
.m-name { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.2; margin: 0 0 4px; }
.m-card .m-code { font-family: ui-monospace, Menlo, monospace; font-size: 1.15rem !important; letter-spacing: .08em; text-align: left; margin: 0 0 8px; color: #FFE6A8; }
.m-meta { margin: 0; font-family: var(--f-ui); font-size: var(--s-14); opacity: .9; }
.m-hello { font-size: var(--s-24, 1.5rem); margin: 0 0 10px; }
.m-tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0; font-family: var(--f-ui); }
.m-tabs a { text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; padding-bottom: 3px; }
.m-tabs a[aria-current] { border-color: var(--rani); color: var(--rani); font-weight: 600; }
.m-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.m-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
.m-history { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--bhint-2); }
.m-history li { padding: 10px 0 10px 18px; position: relative; }
.m-history li::before { content: ""; position: absolute; left: -8px; top: 17px; width: 13px; height: 13px; border-radius: 50%; background: var(--rani); }
.m-history .y { display: inline-block; min-width: 52px; font-family: var(--f-ui); font-weight: 700; color: var(--rani); }
.m-consent-list { list-style: none; padding: 0; font-family: var(--f-ui); }
.m-consent-list li { padding: 4px 0; } .m-consent-list .on { color: #2F6B1E; } .m-consent-list .off { color: var(--ink-soft); }
.m-photo-box { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.m-photo-box .m-av { border-color: var(--bhint-2); }
.m-photo-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.m-photo-form .field span { display: block; font-family: var(--f-ui); font-size: var(--s-14); margin-bottom: 4px; }
@media (max-width: 820px) { .m-signin-wrap, .m-head, .m-grid { grid-template-columns: 1fr; } }
@media print {
  body * { visibility: hidden; }
  #card, #card * { visibility: visible; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #card { position: fixed; left: 0; top: 0; width: 86mm; box-shadow: none; }
}

/* Gurujan: light background, solid terracotta tiles that stand out */
.heritage-band { background: var(--tandul); color: var(--ink); }
.heritage li { background: #A25435; border-color: rgba(122, 53, 25, .35); color: var(--tandul); box-shadow: 0 10px 24px rgba(122, 53, 25, .22); }
.heritage li.focus { background: #B06647; box-shadow: 0 24px 50px rgba(122, 53, 25, .38); }
.heritage-scroller.marquee::before { background: linear-gradient(90deg, var(--tandul), transparent); }
.heritage-scroller.marquee::after { background: linear-gradient(-90deg, var(--tandul), transparent); }

/* Hero legibility over the clouds */
.hero-copy::before { content: ""; position: absolute; inset: 4% -4% 10%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse closest-side at center, rgba(20, 32, 82, .6) 0%, rgba(20, 32, 82, .4) 55%, rgba(20, 32, 82, 0) 100%); }
.hero-line { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgba(10, 16, 48, .9), 0 2px 14px rgba(10, 16, 48, .75); }
.hero-ovi { font-size: clamp(var(--s-18), 1.7vw, var(--s-21)); color: #fff; max-width: 40em; width: fit-content; line-height: 1.7;
  background: rgba(20, 32, 82, .55); border-radius: 14px; padding: 12px 22px; text-shadow: 0 1px 3px rgba(10, 16, 48, .8); }
.hero-ovi cite { font-size: var(--s-16); font-weight: 600; color: #FFD27A; margin-top: 4px; }
.hero .btn-ghost { background: rgba(20, 32, 82, .45); }
.brand-sub { font-size: var(--s-16); color: var(--zari-light); }
.m-switch { display: flex; gap: 6px; margin-bottom: 18px; background: var(--bhint); border-radius: 999px; padding: 4px; width: fit-content; font-family: var(--f-ui); }
.m-switch a { padding: 8px 18px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.m-switch a[aria-current] { background: var(--rani); color: var(--tandul); font-weight: 600; }
.m-tabbar { margin: 26px 0 0; border-bottom: 1px solid var(--bhint-2); gap: 4px 26px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
.m-badge { display: inline-block; margin-top: 6px !important; background: #FFE6A8; color: var(--rani-deep); border-radius: 999px; padding: 2px 10px; font-family: var(--f-ui); font-size: var(--s-14); font-weight: 600; }
.m-pill { display: inline-block; font-family: var(--f-ui); font-size: 13px; line-height: 1.6; border-radius: 999px; padding: 0 9px; background: #EEE6DA; color: #4A3B30; white-space: nowrap; }
.m-pill.s-accepted, .m-pill.s-shortlisted, .m-pill.f-paid, .m-pill.f-waived { background: #DDEED3; color: #2F5A1E; }
.m-pill.s-winner { background: #FFE6A8; color: #7A4A00; font-weight: 700; }
.m-pill.s-rejected, .m-pill.f-problem, .m-pill.f-due { background: #F7DADA; color: #8A1F1F; }
.m-pill.f-proof { background: #DCE6F7; color: #1E3A7A; }
.m-comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.m-comp h3 { margin: .2em 0 .4em; } .m-kicker { font-family: var(--f-ui); font-size: var(--s-14); color: var(--rani); margin: 0; }
.m-fee { font-family: var(--f-ui); font-weight: 600; }
.m-table-wrap { overflow-x: auto; } .m-table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); }
.m-table th, .m-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--bhint-2); vertical-align: top; }
.m-rules { background: #FFFCF6; border: 1px solid var(--bhint-2); border-radius: 10px; padding: 10px 16px; margin-bottom: 16px; } .m-rules summary { cursor: pointer; font-weight: 600; }
.m-pay { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px; align-items: start; }
.m-qr { width: 100%; max-width: 220px; border-radius: 10px; background: #fff; padding: 8px; }
.m-result { font-size: var(--s-24, 1.5rem); color: var(--rani); font-weight: 700; }
.m-entry-text { background: #FFFCF6; border-left: 4px solid var(--zari); padding: 14px 18px; border-radius: 8px; white-space: normal; line-height: 1.8; }
.m-certs { list-style: none; padding: 0; display: grid; gap: 14px; } .m-certs li { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.m-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
@media (max-width: 820px) { .m-pay { grid-template-columns: 1fr; } }
[data-install][hidden], [data-install-hint][hidden] { display: none !important; }

/* Membership card on the uploaded blank design */
.mcard-link { display: block; text-decoration: none; }
.mcard { position: relative; width: 100%; max-width: 300px; aspect-ratio: 74 / 105; background: #FFF7E8 center / 100% 100% no-repeat; border-radius: 5% / 3.5%; overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 32, 82, .28); container-type: inline-size; color: var(--mc-col, #142052); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.mcard.big { max-width: 520px; margin: 0 auto; }
.mc-photo { position: absolute; aspect-ratio: 3 / 4; border-radius: 6%; overflow: hidden; background: #e9dccb; display: grid; place-items: center; }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; }
.mc-ini { font: 700 14cqw/1 var(--f-ui); color: #fff; background: #3a5a8a; width: 100%; height: 100%; display: grid; place-items: center; }
.mc-text { position: absolute; font-family: var(--f-ui); text-align: center; }
.mc-text p { margin: 0 0 1.6cqw; font-size: 4.4cqw; line-height: 1.25; font-weight: 600; }
.mc-text p span { display: block; font-size: 3.1cqw; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.mc-text .mc-name { font-family: var(--f-display); font-size: 7cqw; font-weight: 400; line-height: 1.15; margin-bottom: 1.8cqw; }
.mc-text .mc-id { font-family: ui-monospace, Menlo, monospace; font-size: 5.2cqw; letter-spacing: .06em; }
.mc-text .mc-id span { font-family: var(--f-ui); }
@media print { .mcard { max-width: none; } }
.m-heard { margin: 22px 0 0; border: 2px solid var(--zari); } .m-heard h2 { font-size: var(--s-24, 1.5rem); margin-top: 0; }
.m-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.m-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-stars label { font-size: 44px; line-height: 1; color: #D9C9B4; cursor: pointer; transition: color .15s, transform .15s; }
.m-stars label:hover, .m-stars label:hover ~ label, .m-stars input:checked ~ label { color: #E8A317; }
.m-stars input:focus-visible + label { outline: 2px solid var(--rani); outline-offset: 2px; border-radius: 4px; }
.m-rate { color: #E8A317; letter-spacing: 2px; }
.mc-text p span { display: inline; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 48px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; color: var(--ink-soft); cursor: pointer; line-height: 0; border-radius: 6px; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: var(--rani); }
.m-yn { display: flex; gap: 12px; flex-wrap: wrap; } .m-yn .m-check { padding: 10px 18px; align-items: center; }

/* Core team cards (same motion as the poets) */
.team-cards .team-role { font-family: var(--f-ui); font-size: var(--s-14); font-weight: 600; color: var(--rani); margin: 0 0 6px; }
.team-cards .team-short { font-size: var(--s-14); color: var(--ink-soft); line-height: 1.5; }
.team-cards .poet-more-cue { opacity: .9; transform: none; }
/* Chairman's desk */
.chair { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.chair-side { position: sticky; top: 110px; text-align: center; }
.chair-ph { width: 220px; height: 220px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--geru); color: var(--tandul); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--tandul), 0 0 0 8px var(--zari); }
.chair-ph img { width: 100%; height: 100%; object-fit: cover; } .chair-ph .ic { width: 90px; height: 90px; }
.chair-name { font-family: var(--f-display); font-size: var(--s-24, 1.5rem); margin: 0; } .chair-role { font-family: var(--f-ui); color: var(--ink-soft); margin: 4px 0 0; }
.chair-article { max-width: 46em; } .chair-article h2 { margin-top: 0; line-height: 1.3; }
.chair-article h3 { color: var(--rani); margin: 1.6em 0 .5em; }
.chair-article p { line-height: 1.85; } .chair-by { font-family: var(--f-ui); color: var(--ink-soft); }
.chair-article p:first-of-type::first-letter { }
.chair-more summary { list-style: none; cursor: pointer; display: inline-block; margin: 6px 0 10px; font-family: var(--f-ui); font-weight: 600; color: var(--tandul); background: var(--rani); padding: 10px 22px; border-radius: 999px; }
.chair-more summary::-webkit-details-marker { display: none; }
.chair-more .open { display: none; } .chair-more[open] .open { display: inline; } .chair-more[open] .closed { display: none; }
.chair-more[open] summary { order: 2; }
.chair-more[open] { display: flex; flex-direction: column; } .chair-more[open] summary { align-self: flex-start; margin-top: 18px; }
@media (max-width: 820px) { .chair { grid-template-columns: 1fr; } .chair-side { position: static; } .chair-ph { width: 170px; height: 170px; } }
.m-photo-pick { display: flex; gap: 18px; align-items: center; background: #FFFCF6; border: 1.5px dashed #CDB59D; border-radius: 14px; padding: 14px 16px; }
.m-photo-prev { width: 96px; height: 128px; border-radius: 12px; overflow: hidden; flex: none; background: #efe3d2; display: grid; place-items: center; color: var(--ink-soft); }
.m-photo-prev img { width: 100%; height: 100%; object-fit: cover; } .m-photo-prev .ic { width: 40px; height: 40px; }
.m-photo-pick input[type=file] { margin-top: 8px; max-width: 100%; }
/* Members area navigation & tiles */
.m-nav { display: flex; gap: 6px; margin: 24px 0 0; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.m-nav a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 86px; padding: 10px 10px 8px; border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--bhint-2); position: relative; font-family: var(--f-ui); font-size: var(--s-14); transition: .2s; }
.m-nav a:hover { border-color: var(--rani); transform: translateY(-2px); }
.m-nav a[aria-current] { background: var(--rani); border-color: var(--rani); color: var(--tandul); font-weight: 600; }
.m-nav .mi { font-size: 22px; line-height: 1.1; } .m-nav .ml { white-space: nowrap; }
.m-nav .mb { position: absolute; top: 4px; right: 8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #E8A317; color: #2B1810; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.m-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; margin-bottom: 30px; }
.m-tiles a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--bhint-2); text-decoration: none; color: var(--ink); transition: .2s; }
.m-tiles a:hover { border-color: var(--rani); box-shadow: 0 10px 24px rgba(94, 15, 51, .12); transform: translateY(-2px); }
.m-tiles .mi { grid-row: span 2; font-size: 30px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--bhint); }
.m-tiles b { font-size: var(--s-18, 1.1rem); } .m-tiles span:last-child { font-family: var(--f-ui); font-size: var(--s-14); color: var(--ink-soft); }
.m-fee-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.m-fee-sum div { background: #fff; border: 1.5px solid var(--bhint-2); border-radius: 14px; padding: 14px; text-align: center; font-family: var(--f-ui); }
.m-fee-sum span { display: block; color: var(--ink-soft); font-size: var(--s-14); } .m-fee-sum b { font-size: 1.5rem; }
.m-fee-sum .ok b { color: #2F6B1E; } .m-fee-sum .due b { color: #8A1F1F; }
.m-fees { list-style: none; padding: 0; display: grid; gap: 12px; } .m-fees li { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.m-fees li.need { border: 2px solid #E9B8B8; } .m-fee-act { display: flex; align-items: center; gap: 10px; }
