/* Self-hosted fonts (SIL Open Font License) */
@font-face{font-family:"Galada";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/galada-bengali-400-normal.woff2") format("woff2");unicode-range:U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;}
@font-face{font-family:"Galada";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/galada-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Rozha One";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/rozha-one-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/hind-siliguri-bengali-400-normal.woff2") format("woff2");unicode-range:U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/hind-siliguri-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/hind-siliguri-bengali-500-normal.woff2") format("woff2");unicode-range:U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/hind-siliguri-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/hind-siliguri-bengali-600-normal.woff2") format("woff2");unicode-range:U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/hind-siliguri-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/hind-siliguri-bengali-700-normal.woff2") format("woff2");unicode-range:U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1;}
@font-face{font-family:"Hind Siliguri";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/hind-siliguri-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* =========================================================
   Sharod Shamikkha 2026 — public site
   Palette: kohl (night), sindoor & alta (reds), kansa (bell-metal gold), shola (ivory)
   Type: Rozha One (display), Galada (Bengali display), Hind Siliguri (text, Latin + Bengali)
   ========================================================= */

:root {
  --bg: #140707;
  --bg-2: #1e0c0b;
  --ink: #f6ebdd;
  --muted: #c3ad9b;
  --sindoor: #d1161e;
  --sindoor-deep: #8f0c12;
  --alta: #ef4b43;
  --kansa: #d9a750;
  --kansa-soft: rgba(217, 167, 80, .22);
  --glass: rgba(255, 233, 210, .055);
  --glass-strong: rgba(255, 233, 210, .1);
  --line: rgba(255, 214, 170, .15);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --plate: #160909;
  --head-bg: rgba(20, 7, 7, .62);

  --f-display: "Rozha One", Georgia, serif;
  --f-bn: "Galada", "Hind Siliguri", serif;
  --f-text: "Hind Siliguri", system-ui, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(3.5rem, 7vw, 6rem);
  --r: 18px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  /* Day mode: the white-and-red of a laal-paar saree */
  --bg: #fbf7f2;
  --bg-2: #f4ebe1;
  --ink: #25100d;
  --muted: #6c4f48;
  --sindoor: #b5121a;
  --sindoor-deep: #840b11;
  --alta: #d0302a;
  --kansa: #9a6a1e;
  --kansa-soft: rgba(154, 106, 30, .16);
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .82);
  --line: rgba(120, 30, 20, .14);
  --shadow: 0 18px 44px rgba(110, 30, 15, .12);
  --head-bg: rgba(251, 247, 242, .72);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.bn { font-family: var(--f-bn); font-weight: 400; letter-spacing: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
:focus-visible { outline: 3px solid var(--kansa); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--sindoor); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap.narrow { --wrap: 46rem; }

/* soft ambient light behind the glass */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 95% 5%, rgba(209, 22, 30, .16), transparent 60%),
    radial-gradient(55vw 45vw at -5% 60%, rgba(217, 167, 80, .10), transparent 60%),
    radial-gradient(50vw 40vw at 60% 110%, rgba(209, 22, 30, .10), transparent 60%);
}
:root[data-theme="light"] .bg-glow {
  background:
    radial-gradient(60vw 50vw at 95% 5%, rgba(181, 18, 26, .08), transparent 60%),
    radial-gradient(55vw 45vw at -5% 60%, rgba(154, 106, 30, .08), transparent 60%);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--f-text); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-lg { font-size: 1.08rem; padding: .85em 1.7em; }
.btn-sindoor { background: linear-gradient(140deg, var(--alta), var(--sindoor) 45%, var(--sindoor-deep)); color: #fff; box-shadow: 0 10px 26px rgba(209, 22, 30, .32), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-sindoor:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(209, 22, 30, .42), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-glass { background: var(--glass-strong); border-color: var(--line); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { border-color: var(--kansa); }
.text-link { color: var(--kansa); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link.back::before { content: "← "; }

/* ---------- Laal-paar border (signature) ---------- */
.laal-paar {
  height: 26px;
  background:
    radial-gradient(circle, var(--kansa) 0 2.2px, transparent 2.8px) 7px 50% / 18px 18px repeat-x,
    linear-gradient(to bottom,
      var(--sindoor-deep) 0 8%, var(--sindoor) 8% 32%, var(--kansa) 32% 36%, transparent 36% 64%,
      var(--kansa) 64% 68%, var(--sindoor) 68% 92%, var(--sindoor-deep) 92%);
  background-color: var(--sindoor);
  position: relative;
}
.laal-paar::after {
  content: ""; position: absolute; inset: 36% 0;
  background: repeating-linear-gradient(90deg, transparent 0 4px, rgba(217, 167, 80, .55) 4px 5px, transparent 5px 18px);
}
.laal-paar.thin { height: 14px; }
.laal-paar.thin::after { display: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--head-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.home .site-head { position: fixed; inset: 0 0 auto 0; background: linear-gradient(to bottom, rgba(10, 3, 3, .55), rgba(10, 3, 3, 0)); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #f6ebdd; }
.home .site-head.scrolled { background: var(--head-bg); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); color: var(--ink); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.logo img { width: 3rem; height: 3rem; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 0 0 2px var(--kansa-soft); }
.logo b { display: block; font-size: 1.55rem; line-height: 1; }
.logo small { display: block; font-size: .78rem; opacity: .75; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav > a:not(.btn) { position: relative; text-decoration: none; padding: .45rem .75rem; border-radius: 999px; font-weight: 500; font-size: .98rem; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.main-nav > a small { font-size: .78rem; opacity: .6; }
.main-nav > a:not(.btn):hover { background: var(--glass-strong); }
.main-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: .05rem; height: 2px; border-radius: 2px; background: var(--sindoor); }
.nav-cta { margin-left: .6rem; padding: .6em 1.15em; font-size: .95rem; }
.head-tools { display: flex; gap: .35rem; }
.icon-btn { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: inherit; cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.icon-btn:hover { border-color: var(--kansa); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.nav-open .menu-btn .i-close { display: block; }
.nav-open .menu-btn .i-open { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; color: #f6ebdd; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #120606 url("../img/hero-poster.jpg") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background:
  radial-gradient(70% 70% at 30% 50%, rgba(20, 6, 6, .35), rgba(20, 6, 6, .8)),
  linear-gradient(to bottom, rgba(14, 4, 4, .55), rgba(14, 4, 4, .25) 35%, rgba(14, 4, 4, .85)); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 7rem 0 5rem; }
.hero-seal { position: relative; aspect-ratio: 1; width: min(100%, 26rem); justify-self: center; display: grid; place-items: center; }
.hero-alpana { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(217, 167, 80, .55); animation: spin 120s linear infinite; }
.hero-seal img { position: relative; width: 62%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: #fff; padding: 4%; box-shadow: 0 0 0 6px rgba(217, 167, 80, .35), 0 30px 80px rgba(0, 0, 0, .6); }
.hero-tag { font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--kansa); margin: 0 0 .2rem; }
:root[data-theme="light"] .hero-tag { color: #e9bd6d; }
.hero-title { margin: 0 0 1rem; }
.hero-title .bn { display: block; font-size: clamp(3.2rem, 7.6vw, 6.4rem); line-height: 1.02; color: #fff; text-shadow: 0 6px 40px rgba(209, 22, 30, .45); }
.hero-title .yr { font-size: .62em; color: #f0c46f; }
.hero-title .en { display: block; font-size: clamp(1.4rem, 2.8vw, 2.3rem); color: #f3d9b0; margin-top: .2em; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 36em; color: rgba(246, 235, 221, .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.hero .btn-glass { color: #fff; background: rgba(255, 240, 225, .12); border-color: rgba(255, 220, 180, .3); }
.hero-credit { position: absolute; right: var(--gutter); bottom: 1rem; margin: 0; font-size: .8rem; opacity: .7; }
.hero .countdown { color: #f6ebdd; background: rgba(30, 10, 10, .35); border-color: rgba(255, 220, 180, .22); }

/* page-load moment: the hero assembles once */
@media (prefers-reduced-motion: no-preference) {
  .hero-seal { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .hero-copy > :nth-child(5) { animation-delay: .48s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-alpana { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Countdown ---------- */
.countdown { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem; padding: .8rem 1.2rem; border-radius: 16px; }
.cd-label { font-weight: 600; }
.cd-time { display: flex; gap: .8rem; }
.cd-time span { display: flex; align-items: baseline; gap: .25rem; }
.cd-time b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--kansa); min-width: 1.4em; text-align: right; }
.hero .cd-time b { color: #f0c46f; }
.cd-time small { font-size: .82rem; opacity: .75; }
.cd-date { font-size: .85rem; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }
.section.alt { background: linear-gradient(to bottom, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-bn { font-size: clamp(1.35rem, 2vw, 1.7rem); color: var(--kansa); margin: 0 0 .15rem; line-height: 1.3; }
.sec-head h2 { margin-bottom: .35em; }
.sec-sub { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }

.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; }
.page-hero h1 { max-width: 18em; }

/* split layouts */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split-text { max-width: 36rem; }
.drop-cap::first-letter { font-family: var(--f-display); float: left; font-size: 3.6em; line-height: .8; padding: .08em .1em 0 0; color: var(--sindoor); }
:root[data-theme="dark"] .drop-cap::first-letter { color: var(--alta); }
.pull { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--sindoor); margin-top: 1.4rem; }
:root[data-theme="dark"] .pull { color: var(--alta); }

/* arch frames — echo the arch of the logo and the chala behind the idol */
.arch-frame { margin: 0; }
.af { display: block; position: relative; }
.arch-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); box-shadow: var(--shadow); }
.af::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 167, 80, .65); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.arch-frame figcaption { font-size: .88rem; color: var(--muted); margin-top: .8rem; text-align: center; }

/* journey */
.journey-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.journey-img img { aspect-ratio: 3 / 4; }
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.2rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.tl-when { font-size: 1.7rem; color: var(--sindoor); line-height: 1.2; }
:root[data-theme="dark"] .tl-when { color: var(--alta); }
.timeline b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.timeline p { margin: .1rem 0 0; color: var(--muted); }

/* ---------- Pandal cards (arches) ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.p-card { display: flex; flex-direction: column; gap: .9rem; text-decoration: none; color: inherit; border-radius: var(--r); }
.arch { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.arch::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217, 167, 80, .6); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.p-card:hover .arch img, .p-card:focus-visible .arch img { transform: scale(1.04); }
.arch-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--kansa); background: radial-gradient(circle at 50% 40%, var(--kansa-soft), transparent 70%); }
.alpana.sm { width: 62%; opacity: .55; }
.p-meta { display: flex; flex-direction: column; text-align: center; padding: 0 .4rem; }
.p-meta b { font-family: var(--f-display); font-weight: 400; font-size: 1.22rem; line-height: 1.2; }
.p-meta small { color: var(--muted); font-size: .9rem; }
.award { font-style: normal; color: var(--kansa); font-weight: 600; font-size: .95rem; }
.rank-badge { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 50% 50% 0 0; background: linear-gradient(160deg, var(--alta), var(--sindoor-deep)); color: #fff; font-size: 2rem; box-shadow: 0 -2px 0 2px rgba(217, 167, 80, .7); }
.rank-badge .bn { line-height: 1; transform: translateY(.15rem); }

/* podium */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); align-items: end; max-width: 62rem; margin: 0 auto 2.5rem; }
.slot-1 { transform: translateY(-1.5rem); }
.slot-1 .arch { box-shadow: 0 0 0 2px rgba(217, 167, 80, .7), 0 30px 70px rgba(209, 22, 30, .3); }
.slot-1 .p-meta b { font-size: 1.45rem; }
.p-card.ghost .arch { background: linear-gradient(170deg, var(--glass-strong), var(--glass)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ghost-num { position: absolute; font-size: clamp(3rem, 7vw, 5.5rem); color: var(--kansa); line-height: 1; }
.slot-1 .ghost-num { color: var(--alta); }

.rank-list { list-style: none; margin: 0 auto; padding: 0; max-width: 52rem; display: grid; gap: .7rem; }
.rank-list a { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; border-radius: var(--r); text-decoration: none; background: var(--glass); border: 1px solid var(--line); }
.rank-list a:hover { border-color: var(--kansa); }
.rank-list img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 999px 999px 8px 8px; }
.rl-num { font-size: 2.2rem; color: var(--kansa); width: 2.6rem; text-align: center; }
.rl-name { display: flex; flex-direction: column; }
.rl-name b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.rl-name small { color: var(--muted); }

/* waiting state */
.waiting { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); max-width: 56rem; }
.waiting-alpana { width: clamp(5rem, 14vw, 9rem); color: var(--kansa); opacity: .8; }
.waiting h3 { margin-bottom: .3em; }
.waiting p { color: var(--muted); }
.waiting a { color: var(--kansa); }

/* contest page */
.stages { list-style: none; padding: 0; margin: 2rem 0 1.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 50rem; counter-reset: st; }
.stages li { position: relative; padding: 1.4rem .8rem 0 0; border-top: 3px solid var(--line); display: flex; flex-direction: column; }
.stages li::before { content: ""; position: absolute; top: -.6rem; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); }
.stages li.done { border-color: var(--sindoor); }
.stages li.done::before { background: var(--sindoor); border-color: var(--sindoor); }
.stages li.next::before { border-color: var(--kansa); box-shadow: 0 0 0 5px var(--kansa-soft); }
.stages b { font-weight: 600; }
.stages small { color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); text-decoration: none; font-weight: 500; }
.jump a:hover { border-color: var(--kansa); }
.note { padding: .8rem 1.1rem; margin-top: 1.2rem; display: inline-block; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.filter-bar input { flex: 1 1 16rem; max-width: 26rem; font: inherit; color: var(--ink); padding: .75rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass-strong); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: 500 .92rem var(--f-text); color: var(--ink); padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; }
.chip.on { background: var(--sindoor); border-color: var(--sindoor); color: #fff; }
.empty-note { color: var(--muted); text-align: center; padding: 2rem; }

/* shout-out */
.name-cloud { list-style: none; padding: 0; margin: 0 auto 2.2rem; max-width: 62rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.name-cloud a { display: block; padding: .45rem 1rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.name-cloud li:nth-child(5n+1) a { border-color: rgba(209, 22, 30, .45); }
.name-cloud li:nth-child(7n+3) a { border-color: rgba(217, 167, 80, .5); }
.name-cloud a:hover { background: var(--glass-strong); border-color: var(--kansa); }

/* pandal page */
.ph-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.ph-head h1 { margin-bottom: .2em; }
.badges { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .8rem; }
.badge { padding: .25rem .85rem; border-radius: 999px; background: var(--sindoor); color: #fff; font-weight: 600; font-size: .9rem; }
.badge.gold { background: transparent; border: 1px solid var(--kansa); color: var(--kansa); }
.masonry { columns: 3 18rem; column-gap: 1rem; }
.m-item { display: block; position: relative; margin: 0 0 1rem; break-inside: avoid; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.m-item img { width: 100%; height: auto; transition: transform .5s ease; }
.m-item:hover img { transform: scale(1.03); }
.m-item span, .field-shot span { position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .7rem; font-size: .9rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

/* team */
.group-h { font-size: 1.4rem; margin: 2.5rem 0 1.4rem; display: flex; align-items: center; gap: 1rem; }
.group-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
.members-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.member { margin: 0; text-align: center; }
.member-photo { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.member-photo::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217, 167, 80, .55); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.5rem); color: #fff; background: radial-gradient(circle at 50% 35%, var(--alta), var(--sindoor-deep) 75%); }
.member figcaption { padding-top: .9rem; display: flex; flex-direction: column; }
.member b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.member small { color: var(--muted); font-size: .95rem; }
.field-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-bottom: 2rem; }
.field-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.field-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.field-shot:hover img { transform: scale(1.04); }

/* partners */
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2rem); }
.partner { flex: 0 1 22rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.5rem; text-align: center; text-decoration: none; color: inherit; }
.partner b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin-top: .6rem; }
.partner small { color: var(--kansa); font-weight: 600; }
.logo-plate { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 7; padding: 1rem 1.4rem; border-radius: 12px; background: var(--plate); border: 1px solid rgba(217, 167, 80, .25); }
.logo-plate img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* instagram band */
.insta-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.8rem, 5vw, 3.5rem); }
.insta-inner h2 { margin-bottom: .3em; }
.insta-inner p { color: var(--muted); margin: 0; }
.insta-alpana { position: absolute; right: -6rem; top: -6rem; width: 20rem; color: var(--kansa); opacity: .12; pointer-events: none; }

/* method */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.steps li { border-top: 2px solid var(--sindoor); padding-top: 1rem; }
.steps .bn { font-size: 2.6rem; line-height: 1; color: var(--kansa); display: block; }
.steps b { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; display: block; margin: .4rem 0; }
.steps p { color: var(--muted); }
.rubric { padding: clamp(.6rem, 2vw, 1.4rem) clamp(1rem, 3vw, 2rem); }
.rb-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, 14rem) 3rem; gap: 1.5rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.rb-row:last-child { border-bottom: 0; }
.rb-name b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.rb-name p { margin: .1rem 0 0; color: var(--muted); font-size: .95rem; }
.rb-bar { height: 8px; border-radius: 99px; background: var(--glass-strong); overflow: hidden; }
.rb-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sindoor), var(--kansa)); }
.rb-pts { font-family: var(--f-display); font-size: 1.6rem; color: var(--kansa); text-align: right; }
.weights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 2rem 0 2.5rem; }
.weights > div { padding: 1.5rem; }
.weights b { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; color: var(--sindoor); line-height: 1; display: block; }
:root[data-theme="dark"] .weights b { color: var(--alta); }
.weights span { font-weight: 600; display: block; margin: .3rem 0 .4rem; }
.weights p { color: var(--muted); margin: 0; font-size: .95rem; }

/* journal */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; }
.j-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.j-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.j-card > span { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.j-card small { color: var(--kansa); font-weight: 600; }
.j-card b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.25; }
.j-card em { font-style: normal; color: var(--muted); }
.j-card:hover { border-color: var(--kansa); }
.article .meta { color: var(--muted); }
.article-cover { margin-top: 0; margin-bottom: 3rem; }
.article-cover img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: var(--r); }
.prose { font-size: 1.12rem; line-height: 1.8; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.4em; border-left: 3px solid var(--sindoor); font-size: 1.2em; color: var(--muted); }
.prose a { color: var(--kansa); }
.article-body { padding-bottom: var(--sec); }

/* ---------- Footer ---------- */
.site-foot { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: var(--bg-2); }
.foot-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.partner-mini { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-decoration: none; color: inherit; width: 13rem; }
.partner-mini .logo-plate { padding: .6rem 1rem; }
.partner-mini small { color: var(--muted); font-size: .85rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.6fr .8fr; gap: 2.5rem; }
.foot-bn { font-size: 2.6rem; line-height: 1.1; margin-bottom: .4rem; color: var(--sindoor); }
:root[data-theme="dark"] .foot-bn { color: var(--alta); }
.insta-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--kansa); }
.insta-link svg { width: 1.3rem; height: 1.3rem; }
.foot-h { font-family: var(--f-text); font-weight: 600; font-size: 1rem; color: var(--kansa); margin-bottom: 1rem; }
.foot-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.2rem 2rem; align-content: start; }
.foot-contacts .foot-h { grid-column: 1 / -1; margin: 0; }
.contact { display: flex; flex-direction: column; gap: .15rem; }
.contact small { color: var(--muted); margin-bottom: .3rem; }
.contact a, .foot-contacts p a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-size: .95rem; overflow-wrap: anywhere; min-width: 0; }
.contact a svg { width: 1rem; height: 1rem; flex: none; color: var(--kansa); }
.contact a:hover { color: var(--kansa); }
.foot-nav { display: flex; flex-direction: column; gap: .35rem; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--kansa); }
.foot-legal { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

/* ---------- Lightbox / slideshow ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(8, 2, 2, .94); color: #f6ebdd; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); gap: 1rem; }
.lb-count { font-variant-numeric: tabular-nums; opacity: .8; }
.lb-tools { display: flex; gap: .5rem; }
.lb .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); width: 3rem; height: 3rem; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 4.5rem; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); transition: opacity .35s ease; }
.lb-stage img.fading { opacity: 0; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lb-cap { text-align: center; padding: 1rem var(--gutter) 1.4rem; min-height: 3.5rem; font-size: 1.05rem; }
.lb-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--sindoor); width: 0; }
.lb.playing .lb-bar { animation: lbbar var(--lb-dur, 5s) linear forwards; }
@keyframes lbbar { to { width: 100%; } }
body.lb-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav > a small { display: none; }
  .main-nav > a:not(.btn) { padding: .45rem .55rem; font-size: .93rem; }
}
@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .main-nav {
    position: fixed; inset: 4.6rem 0 auto 0; z-index: 60; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--gutter) 1.5rem; max-height: calc(100vh - 4.6rem); overflow: auto;
    background: var(--head-bg); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid var(--line); color: var(--ink);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  :root[data-theme="dark"] .main-nav { background: #170908; }
  :root[data-theme="light"] .main-nav { background: #fbf7f2; box-shadow: 0 20px 40px rgba(110,30,15,.15); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav > a:not(.btn) { flex-direction: row; justify-content: space-between; padding: .9rem .4rem; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav > a small { display: inline; font-size: 1.05rem; }
  .main-nav > a[aria-current="page"]::after { left: 0; right: auto; width: 3px; top: 25%; bottom: 25%; height: auto; }
  .nav-cta { margin: 1rem 0 0; }
  .home .site-head.nav-on { background: var(--head-bg); color: var(--ink); }
  .split, .journey-grid { grid-template-columns: 1fr; }
  .split-media, .journey-img { max-width: 26rem; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 6.5rem 0 4rem; gap: 1.2rem; }
  .hero-seal { width: min(68vw, 17rem); }
  .hero-cta { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .countdown { justify-content: center; }
  .hero-credit { left: 0; right: 0; text-align: center; }
  .podium { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .podium .slot-1 { grid-column: 1 / -1; order: -1; width: min(100%, 17rem); margin-inline: auto; transform: none; }
  .stages { grid-template-columns: 1fr; gap: 1.2rem; }
  .stages li { border-top: 0; border-left: 3px solid var(--line); padding: 0 0 0 1.3rem; }
  .stages li.done { border-color: var(--sindoor); }
  .stages li::before { top: .3rem; left: -.6rem; }
  .waiting { grid-template-columns: 1fr; text-align: center; }
  .waiting-alpana { margin-inline: auto; }
  .insta-inner { grid-template-columns: 1fr; }
  .rb-row { grid-template-columns: 1fr 3rem; gap: .4rem 1rem; }
  .rb-bar { grid-column: 1 / -1; grid-row: 2; }
  .weights { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 4.5rem 1fr; gap: .8rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: -3.8rem; transform: none; }
  .lb-prev { left: var(--gutter); } .lb-next { right: var(--gutter); }
  .lb-cap { padding-inline: 4.5rem; }
  .logo small { display: none; }
}
@media (max-width: 420px) {
  .logo b { font-size: 1.3rem; }
  .icon-btn { width: 2.4rem; height: 2.4rem; }
  .cd-time b { font-size: 1.4rem; }
}

/* ---------- Large screens & TV ---------- */
@media (min-width: 1600px) {
  html { font-size: calc(6px + .6vw); }  /* ~17.5px at 1080p, ~29px at 4K */
  :root { --wrap: 80rem; }
}
@media (min-width: 1600px) and (min-aspect-ratio: 16/10) {
  .hero-inner { padding-top: 8rem; }
}
/* Remote / D-pad friendly: big obvious focus */
@media (hover: none) and (pointer: coarse), (min-width: 1600px) {
  :focus-visible { outline-width: 4px; outline-offset: 4px; }
}

@media (max-width: 760px) {
  .members, .members-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .member b { font-size: 1.02rem; }
  .member small { font-size: .85rem; }
  .field-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .field-shot span { font-size: .75rem; padding: 1.4rem .5rem .4rem; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
  .p-meta b { font-size: 1.02rem; }
}
.logo-plate { aspect-ratio: auto; height: 9rem; }
.logo-plate img { max-height: 100%; width: auto; height: auto; }
.partner-mini .logo-plate { height: 4.6rem; }
.waiting > div { min-width: 0; } .countdown { max-width: 100%; }

/* ---------- Participating committees: one roll ---------- */
.roll { padding: clamp(1.2rem, 3.5vw, 2.6rem); }
.roll-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.roll-count { display: flex; align-items: baseline; gap: .8rem; margin: 0 auto 0 0; }
.roll-count b { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--sindoor); }
:root[data-theme="dark"] .roll-count b { color: var(--alta); }
.roll-count span { color: var(--muted); }
.roll-head input { flex: 0 1 22rem; font: inherit; color: var(--ink); padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass-strong); }
.roll-head .chips { flex-basis: 100%; }
.roll-list { list-style: none; margin: 0; padding: 0; columns: 3 17rem; column-gap: 2.4rem; counter-reset: roll; }
.roll-list li { break-inside: avoid; counter-increment: roll; }
.roll-list li[hidden] { display: none; }
.roll-list a { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .4rem; padding: .55rem .4rem; border-bottom: 1px dashed var(--line); text-decoration: none; border-radius: 8px; line-height: 1.35; }
.roll-list a::before { content: counter(roll); grid-row: span 2; font-size: .8rem; color: var(--kansa); font-variant-numeric: tabular-nums; padding-top: .18rem; }
.roll-list a:hover { background: var(--glass-strong); }
.roll-name { font-weight: 500; }
.roll-list small { grid-column: 2; color: var(--muted); font-size: .85rem; }
.shout-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding: clamp(1.4rem, 4vw, 2.6rem); text-decoration: none; color: inherit; }
.shout-band:hover { border-color: var(--kansa); }
.shout-num { font-size: clamp(3.6rem, 9vw, 6.5rem); line-height: 1; color: var(--sindoor); }
:root[data-theme="dark"] .shout-num { color: var(--alta); }
.shout-text { display: flex; flex-direction: column; }
.shout-text .sec-bn { margin: 0; }
.shout-text b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; }
.shout-text small { color: var(--muted); font-size: 1rem; margin-top: .3rem; }
@media (max-width: 760px) {
  .shout-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .roll-head input { flex-basis: 100%; }
}

/* 4-stage contest timeline */
.stages { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 64rem; }
.stages li.live { border-color: var(--kansa); }
.stages li.live::before { background: var(--kansa); border-color: var(--kansa); box-shadow: 0 0 0 6px var(--kansa-soft); }
.stages li.upcoming::before { background: var(--bg); }
.live-tag { align-self: flex-start; margin-top: .45rem; padding: .1rem .6rem; border-radius: 999px; background: var(--kansa); color: #1a0a06; font-size: .78rem; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .stages li.live::before { animation: livepulse 2.4s ease-in-out infinite; }
}
@keyframes livepulse { 50% { box-shadow: 0 0 0 11px rgba(217, 167, 80, 0); } }
@media (max-width: 900px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 0; } }
@media (max-width: 760px) {
  .stages { grid-template-columns: 1fr; gap: 1.2rem; }
  .stages li.live { border-color: var(--kansa); }
}

/* ---------- Footer credit ---------- */
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; }
.foot-legal p { margin: 0; }
.made-by { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--muted); padding: .35rem .9rem .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); transition: border-color .2s, color .2s; }
.made-by img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.made-by b { color: var(--ink); font-weight: 600; }
.made-by:hover { border-color: var(--kansa); color: var(--ink); }
@media (max-width: 760px) { .foot-legal { flex-direction: column; align-items: flex-start; } }

/* ---------- Motion & flow (only with JS, and never with reduced motion) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }

  /* arches unveil like a curtain rising */
  .js .rv .arch img, .js .rv .member-photo img, .js .rv.arch-frame img, .js .rv .af img {
    clip-path: inset(100% 0 0 0); transform: scale(1.08);
    transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1), transform 1.4s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * 70ms + 120ms);
  }
  .js .rv.in .arch img, .js .rv.in .member-photo img, .js .rv.in.arch-frame img, .js .rv.in .af img { clip-path: inset(0 0 0 0); transform: none; }
  .p-card:hover .arch img { transform: scale(1.04) !important; }

  /* rubric bars fill */
  .js .rb-bar span { transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
  .js .rb-row.in .rb-bar span { transform: none; }

  /* saree border slowly drifts */
  .laal-paar { animation: paar 40s linear infinite; }
  @keyframes paar { to { background-position: 367px 50%, 0 0; } }

  /* name roll rows drift in */
  .js .roll-list li { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 12ms); }
  .js .roll.in .roll-list li { opacity: 1; transform: none; }

  /* hero alpana responds to scroll */
  .hero-alpana { will-change: transform; }
}

/* glass sheen that follows the pointer */
@media (hover: hover) and (pointer: fine) {
  .glass, .p-card .arch, .member-photo { --mx: 50%; --my: 50%; }
  .glass::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 220, 170, .10), transparent 45%);
  }
  .glass { position: relative; }
  .glass:hover::before { opacity: 1; }
  :root[data-theme="light"] .glass::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(181, 18, 26, .06), transparent 45%); }
}
.logo-plate { display: flex; align-items: center; justify-content: center; }
.logo-plate img { max-height: 100%; max-width: 100%; min-height: 0; }
.partner-mini .logo-plate { height: 5.6rem; padding: .5rem .9rem; }

/* ---------- "Designed by Not to Nine" — a tiny living workflow ---------- */
@property --nn-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --r { syntax: "<length>"; inherits: false; initial-value: 15px; }
.made-by {
  gap: .6rem; padding: .4rem 1rem .4rem .85rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(from var(--nn-a), var(--line) 0 62%, rgba(217, 167, 80, .95) 80%, rgba(239, 75, 67, .7) 86%, var(--line) 96%) border-box;
}
.made-by:hover { border-color: transparent; }
.made-by:hover b { color: var(--kansa); }
.nn-edge { position: relative; width: 20px; margin-right: -.3rem; height: 1px; background: linear-gradient(90deg, transparent, var(--muted) 30%, var(--muted) 70%, transparent); opacity: .55; }
.nn-edge i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--kansa); box-shadow: 0 0 6px var(--kansa); opacity: 0; }
.nn-node { position: relative; width: 22px; height: 22px; display: grid; place-items: center; flex: none; margin: 0 .35rem; }
.nn-node img { width: 22px; height: 22px; border-radius: 6px; position: relative; z-index: 1; }
.nn-node .o { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--kansa); --r: 15px; transform: rotate(var(--s, 0deg)) translateX(var(--r)); opacity: .9; }
.nn-node .o2 { --r: 12.5px; --s: 140deg; background: var(--alta); width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; }
.nn-node .o3 { --r: 17px; --s: 260deg; background: var(--ink); width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; opacity: .55; }

@media (prefers-reduced-motion: no-preference) {
  .made-by { animation: nn-border 7s linear infinite; }
  .made-by:hover { animation-duration: 2.8s; }
  .nn-edge i { animation: nn-flow 2.6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .nn-node .o1 { animation: nn-orbit 3.4s linear infinite; }
  .nn-node .o2 { animation: nn-orbit-rev 4.9s linear infinite; }
  .nn-node .o3 { animation: nn-orbit 7.2s linear infinite, nn-breathe 3.6s ease-in-out infinite; }
  .nn-node img { animation: nn-pulse 2.6s ease-in-out infinite; }
}
@keyframes nn-border { to { --nn-a: 360deg; } }
@keyframes nn-flow {
  0% { left: -2px; opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 19px; opacity: 0; }
}
@keyframes nn-orbit { from { transform: rotate(var(--s, 0deg)) translateX(var(--r)); } to { transform: rotate(calc(var(--s, 0deg) + 360deg)) translateX(var(--r)); } }
@keyframes nn-orbit-rev { from { transform: rotate(var(--s, 0deg)) translateX(var(--r)); } to { transform: rotate(calc(var(--s, 0deg) - 360deg)) translateX(var(--r)); } }
@keyframes nn-breathe { 50% { --r: 13px; opacity: .9; } }
/* the logo "receives" the packet from the edge */
@keyframes nn-pulse { 0%, 85%, 100% { box-shadow: 0 0 0 0 rgba(217, 167, 80, 0); } 92% { box-shadow: 0 0 0 3px rgba(217, 167, 80, .35); } }
