/* ==========================================================================
   Yoga Dasara — public pages (home, apply, status, 404).
   "Dawn Sadhana": the hour of practice before sunrise — a deep indigo night,
   saffron light arriving at the horizon, a lotus-pink edge to the sky, sage
   mist over the lake. Structure, spacing, type and glass are the Kambala
   recipe as before; only the colours changed. Office / judge / desk pages
   keep site.css and are not affected by this file.

   Tokens
     night #121629 (background) · night-2 #161b33 · panel #1b2140 (indigo
     glass) · panel-2 #262d55
     saffron #f2a541 (primary accent: buttons, eyebrows, links, active
     states, the chakra ring) → saffron-mid #e6923a → saffron-deep #d9822b
     (button gradient; dark indigo text on it)
     lotus #e7a3b5 (secondary accent, sparingly: the accent line, footer
     bullets) · sage #9cc3b0 (success / open states)
     ink #f6efe3 (ivory text) · ink-2 #a9aec6 (muted) · ink-3 #8f95b2 (small
     labels) · err #ff9e8a (warm coral)
     hairlines: saffron at .16 / .3 / .5 alpha · glass: white tints on indigo
     background glows: pre-dawn violet rgba(92,84,178,…)
   Type
     Outfit (headings, eyebrows, figures) · Inter (body) · Anek Kannada (all
     Kannada, condensed for display) · Anton (hero title) · Playfair Display
     italic (the accent line)
   ========================================================================== */
:root {
  --night: #121629;
  --night-2: #161b33;
  --panel: #1b2140;
  --panel-2: #262d55;
  --saffron: #f2a541;
  --saffron-mid: #e6923a;
  --saffron-deep: #d9822b;
  --lotus: #e7a3b5;
  --sage: #9cc3b0;
  --on-saffron: #121629;
  --ink: #f6efe3;
  --ink-2: #a9aec6;
  --ink-3: #8f95b2;
  --hair: rgba(242, 165, 65, .16);
  --hair-2: rgba(242, 165, 65, .3);
  --hair-3: rgba(242, 165, 65, .5);
  --ok: var(--sage);
  --err: #ff9e8a;
  --err-bg: rgba(255, 110, 90, .12);
  /* names the shared scripts use inline (event.js, status.js) */
  --peacock: var(--ok);
  --kumkum: var(--err);
  --turmeric: var(--saffron);

  --f-head: 'Outfit', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-kn: 'Anek Kannada', 'Noto Sans Kannada', sans-serif;
  --f-display: 'Anton', 'Outfit', Impact, sans-serif;
  --f-accent: 'Playfair Display', Georgia, serif;

  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .035) 45%, rgba(255, 255, 255, .015) 100%);
  --glass-edge: rgba(255, 255, 255, .14);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .35);
  --gold-glow: 0 0 0 1px rgba(242, 165, 65, .35), 0 18px 50px rgba(242, 165, 65, .14);
  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(2.25rem, 4vw, 3.5rem); /* compact (committee, 1 Oct): was clamp(4rem, 9vw, 7rem) */
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
body.pub { margin: 0; background: var(--night); color: var(--ink); font-family: var(--f-body); font-size: 1rem; line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.pub img { max-width: 100%; }
.pub h1, .pub h2, .pub h3, .pub h4, .pub h5 { margin: 0; font-family: var(--f-head); font-weight: 800; line-height: 1.1; }
.pub p { margin: 0; }
.pub a { color: var(--saffron); }
.pub a:hover { color: var(--ink); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
:where(.pub) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--night) !important; padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.pub ::selection { background: rgba(242, 165, 65, .35); color: #fffaf1; }

/* Kannada / English: both in the DOM, one shown (lang.js sets data-lang). */
html[data-lang="kn"] .t[lang="en"], html[data-lang="en"] .t[lang="kn"] { display: none !important; }
.pub [lang="kn"] { font-family: var(--f-kn); }
html[data-lang="kn"] .pub :is(h1, h2, h3, h4) { line-height: 1.3; }
.bib { font-family: var(--f-head); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }

.container { position: relative; max-width: 1200px; margin: 0 auto; }
.section { position: relative; padding: var(--section-y) var(--gutter); }

/* ---------- type system ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--saffron); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; flex-shrink: 0; background: linear-gradient(90deg, var(--saffron), transparent); }
.eyebrow .t[lang="kn"], .eyebrow[lang="kn"] { letter-spacing: .02em; text-transform: none; font-size: .95rem; font-weight: 600; }
.section-title { font-size: clamp(2.1rem, 3.4vw, 3rem); letter-spacing: -.015em; line-height: 1.08; color: var(--ink); margin-bottom: 1.2rem; }
.section-title .t[lang="kn"] { letter-spacing: 0; font-weight: 700; }
.sec-head { margin-bottom: 1.5rem; }
.sec-head-center { text-align: center; }
.sec-head-center .eyebrow::before { display: none; }

/* ---------- glass ---------- */
.panel, .glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.panel::before, .glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, .14), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%);
  -webkit-mask: linear-gradient(#000, transparent 70%); mask: linear-gradient(#000, transparent 70%);
}
.panel > *, .glass > * { position: relative; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel, .glass { background: linear-gradient(145deg, #232a50, #1b2140); }
}

/* ---------- buttons ---------- */
.btn { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 1.6rem; border-radius: var(--r-sm); border: 1px solid var(--hair-3); background: rgba(255, 255, 255, .05); color: var(--ink) !important; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, filter .35s; position: relative; overflow: hidden; }
.btn:hover { background: rgba(242, 165, 65, .12); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary, .btn-register, .programme .act .btn:not(.btn-ghost), .div-apply {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-mid) 45%, var(--saffron-deep) 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--on-saffron) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 12px 30px rgba(217, 130, 43, .32);
}
.btn-primary::after, .btn-register::after, .programme .act .btn:not(.btn-ghost)::after, .div-apply::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn-primary:hover::after, .btn-register:hover::after, .programme .act .btn:not(.btn-ghost):hover::after, .div-apply:hover::after { transform: translateX(120%); }
.btn-primary:hover, .btn-register:hover, .programme .act .btn:not(.btn-ghost):hover, .div-apply:hover { transform: translateY(-2px); filter: saturate(1.1); background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-mid) 45%, var(--saffron-deep) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 40px rgba(217, 130, 43, .45); }
.btn-primary:active, .btn-register:active { transform: translateY(0) scale(.99); }
.btn-quiet { border-color: rgba(255, 255, 255, .28); background: rgba(18, 22, 41, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .95rem; }
.btn-link { font: inherit; background: none; border: 0; color: var(--saffron); font-weight: 600; min-height: 44px; padding: 0 8px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* two-line bilingual register button: the chosen language leads */
.btn-register { position: relative; overflow: hidden; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 1.05rem 2.4rem; border-radius: var(--r-md); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; text-align: center; }
.btn-register > [lang="kn"] { font-family: var(--f-kn); }
html[data-lang="kn"] .btn-register > [lang="kn"], html[data-lang="en"] .btn-register > [lang="en"] { order: 0; }
html[data-lang="kn"] .btn-register > [lang="en"], html[data-lang="en"] .btn-register > [lang="kn"] { order: 1; font-size: .92rem; font-weight: 600; color: rgba(18, 22, 41, .9); }
.btn-register.is-closed { filter: grayscale(.4); opacity: .8; }

/* ---------- navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 1.2rem 2rem;
  padding: 1.05rem var(--gutter);
  background: linear-gradient(180deg, rgba(18, 22, 41, .78), rgba(18, 22, 41, .55));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(242, 165, 65, .18);
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.nav.scrolled { padding-top: .6rem; padding-bottom: .6rem; background: linear-gradient(180deg, rgba(18, 22, 41, .92), rgba(18, 22, 41, .82)); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink) !important; min-width: 0; }
.medallions { display: flex; align-items: center; flex-shrink: 0; }
.medal {
  display: block; width: 92px; height: 92px; margin: -16px 0 -34px; border-radius: 50%;
  background: #fff; object-fit: cover; padding: 3px;
  box-shadow: 0 0 0 3px var(--saffron), 0 10px 24px rgba(0, 0, 0, .55);
  position: relative; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), transform .3s var(--ease);
}
.medal + .medal { margin-left: -14px; }
.medal-seal { object-fit: contain; padding: 5px; z-index: 1; }
.medal:first-child { z-index: 2; }
.brand:hover .medal { transform: translateY(-1px); }
.nav.scrolled .medal { width: 70px; height: 70px; margin-top: -10px; margin-bottom: -22px; }
.nav.scrolled .medal + .medal { margin-left: -12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text b { font-family: var(--f-head); font-weight: 800; font-size: 1.08rem; color: var(--saffron); letter-spacing: .01em; }
.brand-text b .t[lang="kn"] { font-weight: 700; font-size: 1.12rem; }
.brand-text > span { font-size: .8rem; color: var(--ink-2); }
.nav-links { display: flex; align-items: center; gap: .3rem 1.6rem; margin-left: auto; }
.nav-links a { position: relative; padding: .3rem 0; color: var(--ink) !important; text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .01em; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); border: 1px solid rgba(242, 165, 65, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); flex-shrink: 0; }
.lang-switch button { font: inherit; font-size: .85rem; min-height: 36px; min-width: 44px; padding: 0 .9rem; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer; transition: background .3s, color .3s; }
.lang-switch button[lang="kn"] { font-family: var(--f-kn); font-size: .95rem; }
.lang-switch button[aria-pressed="true"] { background: var(--saffron); color: var(--night); font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 190px var(--gutter) 64px; } /* top: clear of the header + medallions (with the deadline note the hero is taller) */
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #1b2140; }
.hero-media img { position: absolute; inset: -4% 0 auto; width: 100%; height: 108%; object-fit: cover; object-position: 70% center; transform: scale(1.06); will-change: transform; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(18, 22, 41, .78) 0%, rgba(18, 22, 41, .5) 30%, rgba(18, 22, 41, .08) 58%, rgba(18, 22, 41, 0) 72%),
  linear-gradient(0deg, rgba(18, 22, 41, .9) 0%, rgba(18, 22, 41, 0) 20%),
  linear-gradient(180deg, rgba(18, 22, 41, .35) 0%, rgba(18, 22, 41, 0) 14%); }
.hero-inner { position: relative; max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; }
.hero-logo { width: min(210px, 24vh, 46vw); height: auto; margin-bottom: 1.1rem; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.hero-kicker { color: #f7c67f; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); margin-bottom: .8rem; }
.hero-title { display: flex; flex-direction: column; margin-bottom: .4rem; }
.hero-line { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, min(8.4vw, 12vh), 6.6rem); line-height: 1; letter-spacing: .005em; color: #fffaf1; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.hero-line-2 { font-size: clamp(1.5rem, min(3.6vw, 5.4vh), 2.9rem); color: var(--saffron); letter-spacing: .06em; margin-top: .35rem; }
.hero-line .t[lang="kn"] { font-family: var(--f-kn); font-weight: 700; font-stretch: 78%; font-variation-settings: 'wdth' 78; text-transform: none; line-height: 1.22; letter-spacing: 0; }
.hero-line-2 .t[lang="kn"] { font-weight: 600; font-stretch: 90%; font-variation-settings: 'wdth' 90; letter-spacing: .01em; }
.hero-accent { font-family: var(--f-accent); font-style: italic; font-weight: 400; color: var(--lotus); font-size: clamp(1.35rem, min(2.6vw, 4.2vh), 2.2rem); line-height: 1.3; padding-bottom: .2em; margin: .5rem 0 1.4rem; text-shadow: 0 2px 16px rgba(0, 0, 0, .55); max-width: 30ch; }
.hero-accent .t[lang="kn"] { font-style: normal; font-weight: 500; font-size: .92em; line-height: 1.45; }
.hero-date { display: inline-flex; align-items: center; gap: 10px; padding: .55rem 1.15rem .55rem .85rem; border-radius: var(--r-pill); background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(242, 165, 65, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fffaf1; font-weight: 600; font-size: clamp(.9rem, 1.3vw, 1rem); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hero-date svg { color: var(--saffron); flex-shrink: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
/* Deadline-extension notice (hero of the home page and the apply page). */
.deadline-note { display: flex; gap: 12px; align-items: flex-start; max-width: 640px; margin: 1.2rem 0 0; padding: .85rem 1.1rem; border-radius: 16px; background: rgba(20, 16, 40, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1.5px solid var(--saffron, #f2a541); color: #fffaf1; font-size: .95rem; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.deadline-note svg { color: var(--saffron, #f2a541); flex-shrink: 0; margin-top: 2px; }
.deadline-note b { display: block; color: #ffd68a; font-size: 1.02rem; margin-bottom: .2rem; }
.deadline-note[hidden] { display: none; }
/* Space between the hero buttons and the note (a later hero rule zeroes p margins). */
.hero-inner .deadline-note, .sub-hero-inner .deadline-note { margin-top: 1.5rem; }
/* load-in: the hero content rises once */
.hero-inner > * { animation: rise 1s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }
.hero-inner > :nth-child(5) { animation-delay: .32s; }
.hero-inner > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* "Ask Gajju" — the guide widget's opener (guides.js binds [data-open-guides]) */
.ask-gajju { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: var(--r-pill); text-decoration: none; color: var(--ink) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: rise 1s .6s var(--ease) both; }
.ask-gajju:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), var(--gold-glow); }
.ask-face { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: radial-gradient(circle at 50% 35%, #fbe0b8, var(--saffron)); box-shadow: 0 0 0 2px var(--saffron); }
.ask-face img { width: 100%; height: 150%; object-fit: cover; object-position: 50% 8%; display: block; }
.ask-text { display: flex; flex-direction: column; line-height: 1.2; }
.ask-text b { font-family: var(--f-head); font-weight: 600; font-size: .98rem; }
.ask-text small { font-size: .76rem; color: #dcdeea; }

/* ---------- asana ribbon ---------- */
.asana-ribbon { position: relative; overflow: hidden; padding: 14px 0; background: linear-gradient(180deg, var(--night-2), var(--night)); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.asana-ribbon .track { display: flex; width: max-content; animation: ribbon 110s linear infinite; }
.asana-ribbon:hover .track, .asana-ribbon:focus-within .track { animation-play-state: paused; }
.asana-ribbon ul { display: flex; list-style: none; margin: 0; padding: 0; }
.asana-ribbon li { display: flex; align-items: baseline; gap: 8px; padding: 0 22px; font-family: var(--f-head); font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.asana-ribbon li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); align-self: center; margin-right: 14px; opacity: .7; }
.asana-ribbon li .bib { color: var(--saffron); font-size: .9rem; font-weight: 300; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- welcome ---------- */
.welcome { background: radial-gradient(120% 90% at 85% 10%, rgba(92, 84, 178, .28), transparent 55%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); overflow-x: clip; }
.welcome-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.welcome-text p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; max-width: 62ch; margin-bottom: 1.1rem; }
.welcome-text .lead-p { color: var(--ink); }
.ayush-badge { display: inline-flex !important; align-items: center; gap: 12px; margin-bottom: 1.6rem !important; padding: 6px 18px 6px 6px; border-radius: var(--r-pill); background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.ayush-badge img { width: 46px; height: 46px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; flex-shrink: 0; }
.ayush-badge > span { display: flex; flex-direction: column; line-height: 1.25; }
.ayush-badge b { color: var(--saffron); font-family: var(--f-head); font-size: .98rem; }
.ayush-badge small { color: var(--ink-2); font-size: .8rem; }
.mascot-strip { display: flex; align-items: center; gap: 10px; margin-top: 1.6rem; padding: 10px 18px 10px 12px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); max-width: 34rem; }
.mascot-strip .mascot { height: 86px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.mascot-strip .mascot + .mascot { margin-left: -14px; }
.mascot-strip p { margin: 0 0 0 8px !important; color: var(--ink) !important; font-weight: 500; font-size: .98rem !important; }

/* featured competition card */
.feature { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem; border-color: rgba(242, 165, 65, .3); }
.feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.01em; }
.feature-fallback { padding: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.feature-fallback h3 { font-size: 1.6rem; }
.pill-status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: .35rem .9rem .35rem .7rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--sage); background: rgba(156, 195, 176, .1); border: 1px solid rgba(156, 195, 176, .38); }
.pill-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(156, 195, 176, .18); }
.pill-status.closed { color: var(--ink-2); background: rgba(255, 255, 255, .04); border-color: var(--glass-edge); }
.pill-status.closed::before { box-shadow: none; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; padding: 1rem 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.facts small { display: block; font-family: var(--f-head); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.facts small .t[lang="kn"] { letter-spacing: .02em; font-size: .85rem; text-transform: none; }
.facts b { display: block; font-weight: 600; color: var(--ink); line-height: 1.4; }
.facts span { color: var(--ink-2); font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.cta-row .note { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- blinking mascots (Kambala recipe) ---------- */
.mascot { position: relative; display: inline-block; line-height: 0; height: 160px; }
.mascot img { display: block; height: 100%; width: auto; }
.mascot .lid { position: absolute; display: block; transform: scaleY(0); transform-origin: 50% 0; border-radius: 0 0 50% 50% / 0 0 70% 70%; animation: blink 5.2s ease-in-out infinite; pointer-events: none; }
.mascot-gajju .lid { background: #5a5654; width: 11%; height: 6.8%; top: 26.6%; border-bottom: 2px solid #2e2b29; }
.mascot-gajju .lid.l { left: 27.5%; } .mascot-gajju .lid.r { left: 53.5%; }
.mascot-ammu .lid { background: #fdb46c; width: 21%; height: 7.4%; top: 30.2%; border-bottom: 2px solid #4a2a14; animation-delay: 1.7s; }
.mascot-ammu .lid.l { left: 21.5%; } .mascot-ammu .lid.r { left: 57.5%; }
@keyframes blink { 0%, 91% { transform: scaleY(0); } 94% { transform: scaleY(1); } 97%, 100% { transform: scaleY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ==========================================================================
   HOW THE COMPETITION RUNS — plain cards (the asanas now travel in the
   fixed companion figure below)
   ========================================================================== */
.runs-sec { background: radial-gradient(70% 60% at 80% 30%, rgba(92, 84, 178, .2), transparent 70%), linear-gradient(180deg, var(--night-2) 0%, #141a31 50%, var(--night) 100%); border-top: 1px solid var(--hair); }
.runs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.run { display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: var(--glass-bg); border: 1px solid var(--glass-edge); border-top: 2px solid var(--hair-3); box-shadow: var(--glass-shadow); }
.run b { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
.run > span { color: var(--ink-2); font-size: .98rem; line-height: 1.65; }
.run-cta { border-color: rgba(242, 165, 65, .4); border-top-color: var(--saffron); background: linear-gradient(150deg, rgba(242, 165, 65, .13), rgba(255, 255, 255, .03) 60%); }
.run-cta .btn { align-self: flex-start; margin-top: auto; }
.runs > .run-cta:last-child:nth-child(3n + 2) { grid-column: span 2; }
.run-cta > span { margin-bottom: .6rem; }

/* ==========================================================================
   THE COMPANION — a fixed asana figure beside the page (public/js/pose-scroll.js,
   data-progress="page"). Wide screens only; hidden without JS.
   ========================================================================== */
:root { --cmp-w: min(24vw, 320px); --cmp-right: 24px; --cmp-top: 124px; --cmp-bottom: 104px; --cmp-space: calc(var(--cmp-w) + var(--cmp-right) + 32px); }
.companion { display: none; }
@media (min-width: 1100px) {
  .companion.cmp--live { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 40; top: var(--cmp-top); bottom: var(--cmp-bottom); right: var(--cmp-right); width: var(--cmp-w); padding-bottom: 28px; pointer-events: none; opacity: 0; transition: opacity .2s linear; }
  .companion.cmp--off { visibility: hidden; }
  .companion .seq-stage { width: min(100%, calc(100vh - var(--cmp-top) - var(--cmp-bottom) - 56px)); }
  .companion .seq-names { min-width: 9.5rem; }
  .companion .seq-caption { gap: 10px; padding: .45rem 1rem .45rem .6rem; }
  .companion .seq-now { font-size: 1.3rem; }
  .companion .seq-names li > .t { font-size: 1rem; }
  /* keep every content column clear of the figure (full-bleed backgrounds still run underneath) */
  .has-companion .pub-home main > .section,
  .has-companion .pub-home main > .rules-band,
  .has-companion .pub-home main > .parallax { padding-right: max(var(--gutter), var(--cmp-space)); }
  .has-companion .pub-home .asana-ribbon { -webkit-mask: linear-gradient(90deg, #000 calc(100% - var(--cmp-space) - 40px), transparent calc(100% - var(--cmp-space) + 8px)); mask: linear-gradient(90deg, #000 calc(100% - var(--cmp-space) - 40px), transparent calc(100% - var(--cmp-space) + 8px)); }
}
@media (min-width: 1100px) and (max-width: 1320px) {
  .has-companion .pub-home .welcome-grid { grid-template-columns: 1fr; }
  .has-companion .pub-home .rules-inner { grid-template-columns: 1fr; }
  .has-companion .pub-home .runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* reduced motion: one still pose, no turning, no fades */
.companion.cmp--static, .companion.cmp--static .seq-names li { transition: none; }
.companion.cmp--static .seq-ring-fill { display: none; }

/* the stage (shared by the companion) */
.seq-stage { position: relative; width: min(100%, 620px, 74vh); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.seq-glyph { position: absolute; inset: -6% -40%; display: flex; align-items: center; justify-content: center; font-family: var(--f-kn); font-weight: 700; font-stretch: 75%; font-variation-settings: 'wdth' 75; font-size: min(22vw, 26rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 165, 65, .12); pointer-events: none; user-select: none; white-space: nowrap; z-index: 0; }
.seq-halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(242, 165, 65, .32), rgba(231, 163, 181, .14) 30%, rgba(92, 84, 178, .22) 46%, transparent 68%); opacity: .7; }
.seq-wheel { position: absolute; inset: 3%; opacity: .22; -webkit-mask: radial-gradient(circle, transparent 38%, #000 62%); mask: radial-gradient(circle, transparent 38%, #000 62%); }
.seq-wheel img { width: 100%; height: 100%; display: block; }
.seq-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.seq-ring circle { fill: none; stroke-width: .8; vector-effect: non-scaling-stroke; }
.seq-ring-track { stroke: rgba(242, 165, 65, .18); stroke-width: 1; }
.seq-ring-fill { stroke: var(--saffron); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(242, 165, 65, .5)); }
.seq-figure { position: relative; width: 58%; height: 58%; z-index: 1; }
.seq-pose { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transform-origin: 50% 88%; will-change: opacity, transform; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.seq-pose:first-child { opacity: 1; }
.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px var(--hair-2); }
.seq--frames .seq-pose { display: none; }
.seq--frames .seq-mat { display: none; }
.seq-mat { position: absolute; left: -8%; right: -8%; bottom: -3%; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 165, 65, .6), transparent); }
.seq-caption { position: absolute; left: 50%; bottom: -2%; transform: translate(-50%, 50%); z-index: 2; display: flex; align-items: center; gap: 14px; padding: .55rem 1.2rem .55rem .7rem; border-radius: var(--r-pill); background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .2); white-space: nowrap; }
.seq-count { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--f-head); padding-right: 12px; border-right: 1px solid var(--hair-2); }
.seq-now { font-size: 1.5rem; font-weight: 300; color: var(--saffron); line-height: 1; min-width: .7em; text-align: right; }
.seq-of { font-size: .8rem; color: var(--ink-3); }
.seq-names { display: grid; margin: 0; padding: 0; list-style: none; min-width: 11.5rem; }
.seq-names li { grid-area: 1 / 1; display: flex; flex-direction: column; line-height: 1.2; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.seq-names li.on { opacity: 1; transform: none; }
.seq-names li > .t { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.seq-names li > .t[lang="kn"] { font-family: var(--f-kn); font-size: 1.15rem; }
.seq-names small { font-size: .76rem; color: var(--lotus); letter-spacing: .02em; }

/* ---------- programme timeline ---------- */
.programme-sec { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.countdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.3rem 1.8rem; margin-bottom: 2.4rem; border-radius: var(--r-lg); }
.cd-label { color: var(--ink-2); font-size: .98rem; }
.cd-clock { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.cd-clock div { display: flex; flex-direction: column; align-items: center; min-width: 3.4rem; }
.cd-clock b { font-family: var(--f-head); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.cd-clock small { margin-top: 6px; font-family: var(--f-head); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); }
.cd-clock small .t[lang="kn"] { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.programme { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.programme::before { content: ""; position: absolute; left: 44px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, transparent, rgba(242, 165, 65, .45) 8%, rgba(242, 165, 65, .45) 92%, transparent); }
.programme li { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: .6rem 1.6rem; align-items: center; padding: 1.2rem 0; }
.programme li + li { border-top: 1px solid rgba(242, 165, 65, .08); }
.programme .date { position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(145deg, #232a50, var(--night-2)); border: 1px solid var(--hair-3); box-shadow: 0 8px 22px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15); }
.programme .date .bib { font-size: 2rem; font-weight: 300; line-height: 1; color: var(--ink); }
.programme .date span:last-child { font-size: .76rem; line-height: 1.25; color: var(--ink-2); margin-top: 3px; }
.programme .date span:last-child br + span, .programme .date span:last-child br ~ .t { color: var(--ink-3); }
.programme li.is-competition .date { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(242, 165, 65, .12), 0 8px 22px rgba(0, 0, 0, .5); }
.programme li.is-competition .date .bib { color: var(--saffron); }
.programme h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.programme h3 .t[lang="kn"] { font-weight: 600; font-size: 1.15rem; }
.programme .meta { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.prog-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.prog-main > div { min-width: 0; }
.prog-thumb { flex-shrink: 0; width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--glass-edge); background: var(--panel-2); }
.tag-closed { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px dashed rgba(255, 255, 255, .22); color: var(--ink-2) !important; font-size: .88rem; text-decoration: none; }
.programme .act { justify-self: end; }

/* ---------- Mysuru: full-bleed parallax photo (public/js/public.js) ---------- */
.parallax { position: relative; isolation: isolate; overflow: clip; min-height: 56vh; min-height: 56svh; display: flex; align-items: center; padding: var(--section-y) var(--gutter); border-top: 1px solid var(--hair); }
.par-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--panel); }
.par-media picture { display: contents; }
.pub .par-photo { position: absolute; left: -10%; top: -16%; width: 120%; height: 132%; max-width: none; object-fit: cover; object-position: 50% 62%; will-change: transform; }
.par-wash { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(18, 22, 41, .93) 0%, rgba(18, 22, 41, .78) 34%, rgba(18, 22, 41, .32) 66%, rgba(18, 22, 41, .12) 100%),
  linear-gradient(180deg, var(--night) 0%, rgba(18, 22, 41, 0) 20%, rgba(18, 22, 41, 0) 72%, #0f1326 100%),
  radial-gradient(70% 90% at 100% 100%, rgba(242, 165, 65, .16), rgba(231, 163, 181, .08) 40%, transparent 70%); }
.par-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; }
.pub .par-title { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, min(7vw, 11vh), 5.8rem); line-height: 1; letter-spacing: .005em; color: #fffaf1; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); max-width: 12ch; margin-bottom: 1rem; }
.pub .par-title .t[lang="kn"] { font-family: var(--f-kn); font-weight: 700; font-stretch: 78%; font-variation-settings: 'wdth' 78; text-transform: none; line-height: 1.22; letter-spacing: 0; }
.par-sub { color: #e6e4ee; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.65; max-width: 44ch; margin-bottom: 1.6rem !important; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }

/* ---------- rules band ---------- */
.rules-band { position: relative; overflow: clip; padding: var(--section-y) var(--gutter); background: radial-gradient(80% 90% at 90% 50%, rgba(92, 84, 178, .3), transparent 60%), linear-gradient(180deg, var(--night-2), #0f1326); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.rules-bg { position: absolute; inset: 0; pointer-events: none; }
.rules-chakra { position: absolute; right: -12%; top: 50%; width: min(760px, 90vw); aspect-ratio: 1; margin-top: calc(min(760px, 90vw) / -2); opacity: .08; will-change: transform; }
.rules-chakra img { width: 100%; height: 100%; display: block; animation: spin 160s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rules-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rules-intro .lede { color: var(--ink-2); font-size: 1rem; line-height: 1.7; max-width: 34ch; }
.rules-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rule-tile { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease); }
.rule-tile:hover { transform: translateY(-6px); border-color: rgba(242, 165, 65, .45); box-shadow: var(--glass-shadow), var(--gold-glow); }
.rule-tile .rule-ic { color: var(--saffron); margin-bottom: .4rem; padding: 9px; width: 46px; height: 46px; border-radius: 14px; background: rgba(242, 165, 65, .1); border: 1px solid rgba(242, 165, 65, .3); }
.rule-lead { border-color: rgba(242, 165, 65, .4); background: linear-gradient(150deg, rgba(242, 165, 65, .14), rgba(255, 255, 255, .03) 60%); }
.rule-lead .rule-ic { color: var(--saffron); }
.rule-tile b { font-family: var(--f-head); font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.rule-tile > span { font-size: .95rem; line-height: 1.65; color: var(--ink-2); }

/* ---------- divisions ---------- */
.divisions-sec { background: var(--night); }
.divs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; margin-bottom: 1.6rem; }
.divs-head .section-title { margin-bottom: 0; }
.divs-head > p { max-width: 460px; font-size: .95rem; color: var(--ink-2); line-height: 1.7; }
.divs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.div-card { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease); }
.div-card:hover { transform: translateY(-4px); border-color: rgba(242, 165, 65, .4); box-shadow: var(--glass-shadow), var(--gold-glow); }
.div-card .top { display: flex; align-items: center; gap: 14px; padding-bottom: .9rem; border-bottom: 1px solid var(--hair); }
.div-card .top .bib { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 300; color: var(--saffron); border: 1px solid rgba(242, 165, 65, .45); background: rgba(242, 165, 65, .06); }
.div-card .top b { display: block; font-family: var(--f-head); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.div-card .top span { font-size: .88rem; color: var(--ink-2); }
.div-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; }
.div-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: .38rem 0; border-bottom: 1px dotted rgba(242, 165, 65, .14); }
.div-card li:last-child { border-bottom: 0; }
.div-card li .bib { font-size: .85rem; font-weight: 400; color: var(--saffron); }
.div-apply { align-self: flex-start; margin-top: auto; }

/* ---------- apply + status ---------- */
.register-sec { background: radial-gradient(60% 70% at 10% 100%, rgba(92, 84, 178, .28), transparent 65%), linear-gradient(180deg, var(--night-2), var(--night)); }
.reg-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.reg-block > .panel { padding: clamp(1.6rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.reg-h { font-family: var(--f-head); color: var(--saffron); font-size: 1.5rem; font-weight: 700; margin-bottom: .9rem !important; padding-bottom: .7rem; border-bottom: 1px solid rgba(242, 165, 65, .25); }
.reg-cta p#reg-copy { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.8rem; }
.reg-cta .btn-register { align-self: center; margin: auto 0 0; }
.reg-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); font-size: .92rem; line-height: 1.6; }
.reg-meta small, .foot-col small { display: block; color: var(--ink-3); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; font-family: var(--f-head); }
.reg-meta small .t[lang="kn"], .foot-col small .t[lang="kn"] { text-transform: none; letter-spacing: 0; font-size: .85rem; font-family: var(--f-kn); }
.reg-meta b { color: var(--ink); font-weight: 600; }
.reg-meta a { color: var(--ink) !important; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--hair-3); }
.status-panel { gap: 1rem; }
.status-hint { color: var(--ink-2); font-size: .98rem; line-height: 1.65; }

/* ---------- forms (dark glass) ---------- */
.form { display: flex; flex-direction: column; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field > label, .field > .label, fieldset > legend { font-size: .95rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .hint, .hint { font-size: .85rem; color: var(--ink-2); line-height: 1.5; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.f { font: inherit; font-size: 1rem; color: var(--ink); background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-sm); padding: .8rem 1rem; min-height: 50px; width: 100%; transition: border-color .3s, box-shadow .3s, background .3s; }
.f::placeholder { color: var(--ink-3); }
.f:hover { border-color: rgba(242, 165, 65, .35); }
.f:focus { outline: none; border-color: rgba(242, 165, 65, .7); box-shadow: 0 0 0 4px rgba(242, 165, 65, .14); background: rgba(0, 0, 0, .5); }
.f:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
select.f { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, var(--saffron) 50%), linear-gradient(135deg, var(--saffron) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select.f option { background: var(--panel); color: var(--ink); }
textarea.f { min-height: 104px; resize: vertical; }
input[type="date"].f { color-scheme: dark; }
.f[aria-invalid="true"], .choice-grid[aria-invalid="true"] .choice, .decl[aria-invalid="true"], .photo-btns[aria-invalid="true"] .photo-btn { border: 2px solid var(--err) !important; }
.err { margin: 2px 0 0; font-size: .92rem; line-height: 1.5; color: var(--err); display: flex; gap: 8px; }
.err svg { flex-shrink: 0; margin-top: 2px; }
.prefix-row { display: flex; gap: 8px; }
.prefix-row .prefix { display: inline-flex; align-items: center; padding: 0 .9rem; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .14); background: rgba(242, 165, 65, .1); color: var(--saffron); font-weight: 600; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .5rem; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 1rem; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .25); font-size: .98rem; cursor: pointer; transition: border-color .3s, background .3s; }
.choice:hover { border-color: rgba(242, 165, 65, .4); }
.choice:has(input:checked) { border: 1px solid var(--saffron); background: rgba(242, 165, 65, .14); font-weight: 600; box-shadow: inset 0 0 0 1px var(--saffron); }
.choice input, .check input, .decl input { width: 20px; height: 20px; accent-color: var(--saffron); flex-shrink: 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); min-height: 44px; cursor: pointer; }
.division { margin-top: .5rem; border-radius: var(--r-md); padding: .9rem 1.1rem; display: flex; gap: 14px; align-items: center; background: linear-gradient(145deg, rgba(242, 165, 65, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(242, 165, 65, .35); }
.division .bib { font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--saffron); min-width: 32px; }
.division div { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; line-height: 1.45; }
.division b { font-weight: 600; color: var(--ink); }
.division span { color: var(--ink-2); }
.division.warn { background: var(--err-bg); border-color: rgba(255, 158, 138, .4); }
.division.warn .bib, .division.warn b { color: var(--err); }
.photo-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.photo-btn { position: relative; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 1rem .5rem; min-height: 100px; border-radius: var(--r-md); border: 1px dashed rgba(242, 165, 65, .5); background: rgba(242, 165, 65, .06); color: var(--saffron); font-size: .95rem; font-weight: 600; cursor: pointer; text-align: center; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.photo-btn:hover { background: rgba(242, 165, 65, .12); border-color: var(--saffron); transform: translateY(-2px); }
.photo-btn:focus-within { outline: 2px solid var(--saffron); outline-offset: 2px; }
.photo-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.preview { display: flex; align-items: center; gap: 12px; padding: .7rem; border-radius: var(--r-md); background: rgba(0, 0, 0, .3); border: 1px solid var(--glass-edge); }
.preview img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--panel-2); }
.preview .meta { flex-grow: 1; font-size: .88rem; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.privacy { font-size: .85rem; line-height: 1.55; color: var(--ink-2); display: flex; gap: 8px; }
.privacy svg { color: var(--saffron); }
.decl { display: flex; gap: 12px; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(242, 165, 65, .07); border: 1px solid var(--hair-2); font-size: .92rem; line-height: 1.6; cursor: pointer; }
.field > label.decl { font-weight: 400; font-size: .92rem; }
.decl input { margin-top: 3px; }
.decl b { color: var(--saffron); }
.submit { min-height: 56px; font-size: 1.05rem; width: 100%; }
.form-alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); background: var(--err-bg); color: var(--err); border: 1px solid rgba(255, 158, 138, .4); font-size: .95rem; }
.notice { padding: 1.5rem; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: .7rem; background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.notice h2 { font-size: 1.5rem; color: var(--saffron); }

/* result cards: application received / status */
.done { display: flex; flex-direction: column; gap: .9rem; text-align: center; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(242, 165, 65, .12), rgba(255, 255, 255, .03) 55%); border: 1px solid rgba(242, 165, 65, .35); box-shadow: var(--glass-shadow); }
.done:focus { outline: none; }
.done .chest { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.5rem, 16vw, 7.5rem); line-height: .95; letter-spacing: .02em; color: #fffaf1; text-shadow: 0 8px 30px rgba(242, 165, 65, .3); }
.done .steps { text-align: left; margin: 0; padding-left: 1.3rem; font-size: .95rem; display: flex; flex-direction: column; gap: .4rem; color: var(--ink-2); }
.done .btn-ghost { align-self: center; }
.status-card { margin-top: .6rem; }
.qr-pass { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: .8rem auto .2rem; }
.qr-pass img { width: 200px; height: 200px; border-radius: var(--r-md); background: #fff; padding: 8px; box-shadow: 0 0 0 1px var(--hair-3), 0 16px 40px rgba(0, 0, 0, .5); }
.qr-pass .hint { text-align: center; max-width: 290px; }
.st-slot { margin-top: .6rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(156, 195, 176, .08); border: 1px solid rgba(156, 195, 176, .3); text-align: left; }
.st-slot dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 6px 0 0; }
.st-slot dt { color: var(--ink-2); font-size: .9rem; }
.st-slot dd { margin: 0; font-weight: 600; }
.st-reason { margin-top: .5rem; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--err-bg); color: var(--err); text-align: left; overflow-wrap: anywhere; }
.badge { display: inline-block; align-self: center; font-size: .82rem; font-weight: 600; padding: .25rem .8rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); color: var(--ink); }
.badge.ok { background: rgba(156, 195, 176, .14); color: var(--ok); }

/* ---------- inner pages (apply / status / 404) ---------- */
.sub-hero { position: relative; isolation: isolate; overflow: clip; padding: 150px var(--gutter) clamp(1.75rem, 3.5vw, 2.5rem); min-height: 34vh; display: flex; align-items: flex-end; }
.sub-hero .hero-media img { object-position: 70% 40%; }
.sub-hero .hero-scrim { background:
  linear-gradient(90deg, rgba(18, 22, 41, .88) 0%, rgba(18, 22, 41, .62) 45%, rgba(18, 22, 41, .2) 100%),
  linear-gradient(0deg, var(--night) 0%, rgba(18, 22, 41, 0) 45%); }
.sub-hero-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; }
.back { display: flex; width: max-content; align-items: center; gap: 6px; min-height: 40px; margin-bottom: .6rem; font-size: .92rem; font-weight: 500; color: var(--saffron) !important; text-decoration: none; }
.back:hover { color: var(--ink) !important; }
.page-title { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.015em; line-height: 1.08; color: #fffaf1; text-shadow: 0 4px 24px rgba(0, 0, 0, .45); max-width: 22ch; }
html[data-lang="kn"] .page-title { line-height: 1.3; }
.page-sub { margin-top: .9rem !important; color: #e6e4ee; font-size: 1.05rem; max-width: 56ch; line-height: 1.65; }
.event-meta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.event-meta > div { display: flex; flex-direction: column; padding: .6rem 1.1rem; border-radius: var(--r-md); background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(242, 165, 65, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .92rem; line-height: 1.45; }
.event-meta b { font-weight: 600; color: #fffaf1; }
.event-meta .muted { color: #c9cce0; }
.preview-note { display: inline-block; margin-bottom: .8rem !important; padding: .35rem .9rem; border-radius: var(--r-pill); background: rgba(242, 165, 65, .16); border: 1px solid rgba(242, 165, 65, .45); color: var(--saffron); font-size: .88rem; font-weight: 600; }
.page-body { position: relative; padding: 0 var(--gutter) var(--section-y); }
.page-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.page-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.6rem; }
.page-main { min-width: 0; }
.narrow-wrap { max-width: 620px; margin: 0 auto; }
.ev-cover { margin: 0; }
.ev-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--hair-2), 0 24px 60px rgba(0, 0, 0, .5); }
.ev-desc { font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.ev-desc p { white-space: pre-line; overflow-wrap: anywhere; }
.ev-desc p + p { margin-top: .9rem; }
.ev-rules h2 { font-size: 1.3rem; color: var(--saffron); margin-bottom: 1rem; }
.ev-rules .rules-grid { grid-template-columns: 1fr; gap: .8rem; }
.ev-rules .rule-tile { padding: 1.1rem 1.2rem; }
.form-panel { padding: clamp(1.4rem, 3.5vw, 2.4rem); border-radius: var(--r-lg); }
.form-panel > h2 { font-size: 1.6rem; color: var(--saffron); padding-bottom: .8rem; border-bottom: 1px solid var(--hair-2); }
.chest-hint { margin-top: -.4rem !important; text-align: center; font-size: .85rem; color: var(--ink-2); }
.chest-hint .bib { color: var(--saffron); }
.page-grid:not(:has(.page-aside > :not([hidden]))) { grid-template-columns: minmax(0, 680px); justify-content: center; }
.page-grid:not(:has(.page-aside > :not([hidden]))) .page-aside { display: none; }
.sub-hero-tall { min-height: 56vh; min-height: 56svh; }
.nf-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- footer ---------- */
.site-foot { position: relative; overflow: hidden; border-top: 1px solid rgba(242, 165, 65, .35); background: linear-gradient(180deg, rgba(27, 33, 64, .9) 0%, var(--night) 100%); }
.foot-glow { position: absolute; inset: auto 0 0 0; height: 60%; background: radial-gradient(60% 80% at 80% 100%, rgba(92, 84, 178, .35), transparent 70%); pointer-events: none; }
.foot-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 2.75rem var(--gutter) 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1.35fr .8fr auto; gap: 2.2rem; align-items: start; }
.foot-inner::before { content: ""; position: absolute; left: 5%; right: 5%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 165, 65, .5), transparent); }
.foot-logos { display: flex; gap: 12px; margin-bottom: 1.1rem; }
.foot-logos img { width: 58px; height: 58px; border-radius: 50%; background: #fff; object-fit: cover; padding: 2px; box-shadow: 0 0 0 2px var(--saffron), 0 6px 18px rgba(0, 0, 0, .5); }
.foot-logos img[src*="ayush"] { object-fit: contain; padding: 4px; }
.foot-brand h3 { font-size: 1.6rem; color: var(--saffron); margin-bottom: .3rem; }
.foot-tag { font-family: var(--f-accent); font-style: italic; color: var(--ink); font-size: 1.05rem; margin-bottom: .6rem !important; }
.foot-tag .t[lang="kn"] { font-style: normal; }
.foot-text { color: var(--ink-2); font-size: .9rem; line-height: 1.6; max-width: 36ch; }
.foot-col h5 { font-family: var(--f-head); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(242, 165, 65, .25); font-weight: 700; }
.foot-col h5 .t[lang="kn"] { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.foot-col p { color: var(--ink); font-size: .95rem; line-height: 1.55; margin-bottom: .8rem !important; overflow-wrap: break-word; }
.foot-col a { color: var(--ink) !important; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(242, 165, 65, .45); transition: color .25s; }
.foot-col a:hover { color: var(--saffron) !important; }
.foot-col .mail-line { display: block; width: max-content; max-width: 100%; }
.foot-col .mail-line + .mail-line { margin-top: .35rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: .55rem; }
.foot-col li a { font-weight: 500; border-bottom: 0; }
.foot-col li a::before { content: "›"; color: var(--lotus); margin-right: 8px; font-weight: 700; }
.foot-mascots { align-self: end; display: flex; align-items: flex-end; margin-bottom: -2.5rem; }
.foot-mascots .fm { height: 160px; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
.foot-mascots .fm-ammu { animation-delay: -3s; margin-left: -10px; }
.foot-bot { position: relative; border-top: 1px solid rgba(242, 165, 65, .18); background: rgba(0, 0, 0, .35); padding: 1rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; }
.foot-bot .copyright { color: var(--ink-3); font-size: .85rem; }
.foot-bot .credit { color: var(--saffron); font-size: .9rem; font-weight: 500; }

/* ---------- reveal on scroll (only once public.js has armed it) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready [data-reveal="left"] { transform: translateX(-18px); }
.reveal-ready [data-reveal="right"] { transform: translateX(18px); }
.reveal-ready [data-reveal].in-view { opacity: 1; transform: none; }
.reg-block > [data-reveal]:nth-child(2) { transition-delay: .12s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: .3rem 1.1rem; }
  .brand-text > span { display: none; }
  .divs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-inner { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-mascots { grid-column: 1 / -1; justify-content: center; margin: .5rem 0 0; }
  .foot-mascots .fm { height: 130px; }
}
@media (max-width: 960px) {
  .welcome-grid, .reg-block, .page-grid { grid-template-columns: 1fr; }
  .runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-inner { grid-template-columns: 1fr; }
  .page-aside { position: static; }
}
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; gap: .5rem .8rem; padding: .7rem var(--gutter) .5rem; }
  .nav.scrolled { padding-top: .45rem; padding-bottom: .35rem; }
  .medal, .nav.scrolled .medal { width: 64px; height: 64px; margin: -4px 0 0; }
  .nav .medal + .medal, .nav.scrolled .medal + .medal { margin-left: -16px; }
  .nav.scrolled .medal { width: 46px; height: 46px; margin: 0; }
  .brand { flex: 1 1 auto; gap: 10px; }
  .brand-text b { font-size: .98rem; }
  .lang-switch button { min-height: 34px; padding: 0 .7rem; font-size: .8rem; }
  .nav-links { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: .2rem .6rem; }
  .lang-switch { margin-left: auto; }
  .nav-links a { font-size: .88rem; padding: .35rem 0; }
  .nav.scrolled .brand-text { display: none; }
  .hero { padding-top: 190px; padding-bottom: 108px; align-items: flex-end; min-height: 100svh; }
  .hero-kicker { letter-spacing: .14em; }
  .hero-cta { margin-top: 1.2rem; gap: .6rem; }
  .hero-cta .btn { min-height: 46px; padding: 0 1.2rem; font-size: .95rem; }
  .hero-accent { margin-bottom: 1rem; }
  .hero-media img { object-position: 74% center; }
  .hero-scrim { background:
    linear-gradient(180deg, rgba(18, 22, 41, .45) 0%, rgba(18, 22, 41, .25) 35%, rgba(18, 22, 41, .8) 70%, rgba(18, 22, 41, .96) 100%); }
  .hero-logo { width: min(112px, 30vw); margin-bottom: .8rem; }
  .ask-gajju { left: var(--gutter); right: auto; bottom: 26px; }
  .ask-face { width: 44px; height: 44px; }
  .facts, .reg-meta { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .divs { grid-template-columns: 1fr; }
  .runs { grid-template-columns: 1fr; }
  .runs > .run-cta:last-child:nth-child(3n + 2) { grid-column: auto; }
  .parallax { min-height: 72vh; min-height: 72svh; }
  .pub .par-photo { object-position: 70% 40%; }
  .par-wash { background:
    linear-gradient(180deg, var(--night) 0%, rgba(18, 22, 41, .55) 24%, rgba(18, 22, 41, .6) 55%, rgba(18, 22, 41, .95) 100%),
    radial-gradient(90% 60% at 100% 100%, rgba(242, 165, 65, .14), transparent 70%); }
  .programme::before { left: 32px; }
  .programme li { grid-template-columns: 64px minmax(0, 1fr); gap: .5rem 1rem; }
  .programme .date { width: 64px; height: 64px; }
  .programme .date .bib { font-size: 1.5rem; }
  .programme .date span:last-child { font-size: .75rem; }
  .programme .date span:last-child br, .programme .date span:last-child br ~ * { display: none; }
  .programme .act { grid-column: 2; justify-self: start; }
  .prog-thumb { width: 64px; height: 48px; }
  .countdown { padding: 1.1rem 1.2rem; }
  .foot-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .sub-hero { padding-top: 170px; min-height: 0; }
  .choice-grid, .photo-btns { gap: .6rem; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
}
@media (max-width: 420px) {
  .hero-line:not(.hero-line-2) { font-size: clamp(2.6rem, 14vw, 3.4rem); }
  .hero-line-2 { font-size: 1.6rem; }
  .btn-register { padding: .95rem 1.4rem; font-size: 1.05rem; }
  .cd-clock div { min-width: 2.8rem; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .hero { padding-top: 175px; }
  .hero-logo { width: min(170px, 20vh); }
}

/* ---------- reduced motion: nothing moves on its own ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner > *, .ask-gajju { animation: none; }
  .hero-media img, .par-photo { transform: none !important; }
  .mascot .lid, .fm, .rules-chakra img, .asana-ribbon .track { animation: none !important; }
  .asana-ribbon { overflow-x: auto; }
  .asana-ribbon ul[aria-hidden] { display: none; }
  .btn, .btn-primary::after, .btn-register::after, .rule-tile, .div-card, .photo-btn, .medal, .nav, .ask-gajju { transition: none; }
  .btn-primary:hover, .btn-register:hover, .rule-tile:hover, .div-card:hover, .photo-btn:hover, .ask-gajju:hover { transform: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- scrollbar ---------- */
.pub::-webkit-scrollbar, html:has(body.pub)::-webkit-scrollbar { width: 10px; }
html:has(body.pub)::-webkit-scrollbar-track { background: var(--night); }
html:has(body.pub)::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--saffron-mid), var(--saffron-deep)); border-radius: 10px; border: 2px solid var(--night); }

/* Event logo is the wide ribbon lockup (1200×515), not a square badge. */
.hero-logo { width: min(420px, 34vw, 52vh); }
@media (max-width: 720px) { .hero-logo { width: min(300px, 72vw); } }
@media (max-height: 700px) and (min-width: 721px) { .hero-logo { width: min(340px, 44vh); } }

/* ---------- lifecycle: clarification, own time, entry pass, marks (status + update pages) ---------- */
.st-clarify { margin-top: .6rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(242, 165, 65, .09); border: 1px solid rgba(242, 165, 65, .42); text-align: left; display: flex; flex-direction: column; gap: .6rem; }
.st-clarify > b { color: var(--saffron); }
.st-msg { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; color: var(--ink); }
.st-fields { margin: 0; font-size: .92rem; color: var(--ink-2); }
.st-clarify .btn, .st-pass { align-self: center; min-height: 48px; text-align: center; line-height: 1.3; padding-top: .5rem; padding-bottom: .5rem; }
.st-clarify .hint { text-align: center; }
.st-pass { margin-top: .4rem; }
/* Entry form & score sheet download (apply confirmation + status). */
.entry-form-dl { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: .9rem auto .3rem; text-align: center; }
.entry-form-dl br { display: none; }
.entry-form-dl .btn { min-height: 48px; line-height: 1.3; padding-top: .5rem; padding-bottom: .5rem; }
.entry-form-dl .hint { max-width: 300px; }
.st-own { color: var(--saffron); }
.st-own .muted { color: var(--ink-2); font-weight: 400; }
.st-result { display: flex; flex-direction: column; gap: .5rem; }
.st-score { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.st-total { margin: 0; font-size: 1.35rem; font-weight: 700; color: #fffaf1; }
.st-place { margin: 0; padding: .2rem .8rem; border-radius: var(--r-pill); background: rgba(156, 195, 176, .14); color: var(--ok); font-weight: 600; font-size: .92rem; }
.st-place.tie { background: rgba(242, 165, 65, .14); color: var(--saffron); }
.st-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-sm); border: 1px solid var(--hair-2); }
.st-table-wrap:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.st-marks { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.st-marks th, .st-marks td { padding: .45rem .45rem; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.st-marks thead th { font-size: .76rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .02em; background: rgba(242, 165, 65, .08); vertical-align: bottom; line-height: 1.25; }
.st-marks thead th.n { white-space: normal; min-width: 3rem; }
.st-marks .slot { color: var(--ink-2); font-weight: 400; }
.st-marks tbody th { font-weight: 600; min-width: 7.5rem; }
.st-marks .plate { display: block; }
.st-marks .plate { color: var(--ink-2); font-weight: 400; font-size: .82rem; }
.st-marks .n { text-align: right; white-space: nowrap; }
.st-marks .tot { font-weight: 700; color: #fffaf1; }
.st-marks tfoot th, .st-marks tfoot td { border-bottom: 0; background: rgba(242, 165, 65, .08); }
.st-marks tfoot th { text-align: right; }
.st-nores { margin: .2rem 0 0; }

.upd-step[hidden] { display: none !important; }
.upd-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.upd-head .bib { font-family: var(--f-display); font-size: 2.2rem; letter-spacing: .02em; color: #fffaf1; line-height: 1; }
.upd-fields { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.upd-fields li { padding: .25rem .75rem; border-radius: var(--r-pill); background: rgba(242, 165, 65, .1); border: 1px solid var(--hair-2); font-size: .85rem; color: var(--saffron); }
.upd-msg { padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(242, 165, 65, .09); border: 1px solid rgba(242, 165, 65, .42); }
.upd-msg b { color: var(--saffron); display: block; margin-bottom: .3rem; }
.upd-msg p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.upd-keep { font-size: .88rem; color: var(--ink-2); }
/* Phones: each asana becomes a small card (name, then Judge 1…N and the total). */
@media (max-width: 520px) {
  .st-result { padding: .9rem .8rem; }
  .st-table-wrap { overflow: visible; border: 0; }
  .st-marks thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .st-marks, .st-marks tbody, .st-marks tfoot { display: block; width: 100%; }
  .st-marks tbody tr { display: flex; flex-wrap: wrap; gap: 0 .9rem; padding: .55rem .2rem; border-bottom: 1px solid var(--hair); }
  .st-marks tbody th { flex: 1 0 100%; padding: 0 0 .25rem; border: 0; min-width: 0; }
  .st-marks .plate { display: inline; margin-left: .4rem; }
  .st-marks td { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 0; border: 0; text-align: left; }
  .st-marks td::before { content: attr(data-label-en); font-size: .76rem; color: var(--ink-2); font-weight: 400; }
  html[data-lang="kn"] .st-marks td::before { content: attr(data-label-kn); }
  .st-marks td.tot { margin-left: auto; align-items: flex-end; }
  .st-marks tfoot tr { display: flex; justify-content: space-between; align-items: baseline; }
  .st-marks tfoot th, .st-marks tfoot td { display: block; padding: .6rem .5rem; }
  .st-marks tfoot td::before { content: none; }
}

/* ---------- responsive QA fixes (2026-09-30) ---------- */
/* In-page anchors land below the fixed header (it is ~100px on tablets and
   up to ~150px on phones, where the link row wraps under the logos). */
[id] { scroll-margin-top: 116px; }
@media (max-width: 760px) { [id] { scroll-margin-top: 156px; } }
/* Kannada brand line can wrap on tablets: room for the ascenders. */
.brand-text b .t[lang="kn"] { line-height: 1.35; }
/* Phones: 44px tap targets in the header and footer; nav links never break
   inside a label (the row wraps instead). */
@media (max-width: 760px) {
  .nav-links { flex-wrap: wrap; row-gap: 0; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; white-space: nowrap; }
  .nav-links a::after { bottom: 6px; }
  .lang-switch button { min-height: 40px; }
  .foot-col li { margin-bottom: 0; }
  .foot-col li a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-col p a, .reg-meta a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--hair-3); text-decoration-thickness: 1px; text-underline-offset: 5px; }
  .foot-col .mail-line + .mail-line { margin-top: 0; }
  .back { min-height: 44px; }
  /* the competition slot: label above value, so long stage/venue names
     are not squeezed into a narrow column */
  .st-slot dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-slot dt { margin-top: .45rem; }
  .st-slot dd { overflow-wrap: anywhere; }
}
/* The Ammu & Gajju button sits fixed at the bottom right: keep the last
   footer line (credit link) clear of it. */
.foot-bot { padding-right: calc(var(--gutter) + 76px); }
.st-slot dd, .event-meta b, .facts b { overflow-wrap: anywhere; }
/* Small phones (≤400px): logos + language switch on one row, the four
   links on the next — the fixed header stays ~130px instead of wrapping to
   three or four rows. */
@media (max-width: 400px) {
  .medal, .nav.scrolled .medal { width: 54px; height: 54px; }
  .nav .medal + .medal, .nav.scrolled .medal + .medal { margin-left: -14px; }
  .nav.scrolled .medal { width: 44px; height: 44px; }
  .lang-switch button { padding: 0 .6rem; min-width: 0; }
  .nav-links { flex-wrap: nowrap; gap: 0 .35rem; }
  .nav-links a { font-size: .8rem; }
  html[data-lang="kn"] .nav-links a { font-size: .84rem; }
}

/* compulsory asanas chart (2026 invitation) on the home page divisions section */
.asana-chart { margin: .5rem auto 2.5rem; max-width: 520px; width: 100%; padding: 10px; border-radius: var(--r-md, 18px); background: var(--glass-bg, rgba(255,255,255,.05)); border: 1px solid var(--glass-edge, rgba(255,255,255,.14)); }
.asana-chart img { display: block; width: 100%; height: auto; border-radius: 12px; }
.asana-chart figcaption { margin-top: .6rem; text-align: center; font-size: .88rem; color: var(--muted, #a9aec6); }

/* Touch-screen laptops and tablets (any coarse pointer): finger-sized tap
   targets for the footer contact links, menu and language switch, whatever
   the screen width. Mouse-only screens are unchanged. */
@media (any-pointer: coarse) {
  .foot-col p a, .reg-meta a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
  .foot-col li a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-switch button { min-height: 40px; }
}

/* Rules band: with 7 rules the tile column is tall — keep the heading at the
   top of its column instead of centred halfway down (not sticky: it overlapped
   the tiles on smaller laptops). */
.rules-inner { align-items: start; }

/* compulsory-asanas chart: a framed, centred plate — smaller on laptops, full width on phones */
.asana-chart { display: block; box-sizing: border-box; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.asana-chart figcaption { max-width: 42ch; margin-left: auto; margin-right: auto; line-height: 1.5; }
@media (max-width: 760px) { .asana-chart { max-width: 100%; } }

/* Hero logo = the round Yoga Dasara 2026 emblem (square): sized so the hero
   still fits one screen on small laptops and phones. */
.hero-logo.emblem { width: min(230px, 21vh, 40vw); margin-bottom: .8rem; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55)); }
@media (max-height: 760px) and (min-width: 721px) { .hero-logo.emblem { width: min(150px, 19vh); } }
@media (max-width: 720px) { .hero-logo.emblem { width: min(180px, 46vw); } }

/* Committee: the sub-committee's officials (names and roles), four cards */
.committee { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; max-width: 900px; }
@media (max-width: 600px) { .committee { grid-template-columns: 1fr; } }
.committee .member { padding: 1.3rem 1.4rem; border-radius: var(--r-lg); border-top: 3px solid var(--saffron); }
.committee .member h3 { margin: 0 0 .45rem; font-family: var(--f-head); font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.committee .member p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }

/* /divisions page: intro, chart, then the division cards */

/* Welcome ("Yoga at the heart of Dasara"): a little air between the heading
   and the first paragraph. */
.welcome-text .section-title { margin-bottom: 1rem; }

/* Asanas and divisions: the intro text and the asana chart side by side (no
   narrow text column with empty space beside it); stacked on small screens. */
.divs-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 1.6rem; }
.divs-intro .divs-head { display: block; margin: 0; }
.divs-intro .divs-head > p { max-width: none; margin-top: 1rem; font-size: 1rem; }
.divs-intro .asana-chart { margin: 0; max-width: 440px; justify-self: end; }
@media (max-width: 860px) { .divs-intro { grid-template-columns: 1fr; } .divs-intro .asana-chart { justify-self: center; } }
/* Committee names inside the welcome section */
.committee-wrap { margin-top: clamp(2rem, 4vw, 3rem); }

/* Five menu items (Programme · Divisions · Rules · Apply · Application status):
   each stays on one line; on smaller laptops the gaps tighten and the
   brand's second line gives way. */
.nav-links a { white-space: nowrap; }
@media (max-width: 1400px) { .nav-links { gap: .3rem 1.2rem; } .brand-text > span { display: none; } }
.brand-text b { white-space: nowrap; }
@media (max-width: 1180px) { .nav-links { gap: .3rem .95rem; } .nav-links a { font-size: .9rem; } .nav .brand-text { display: none; } }
/* 761–1000px (small laptops, tablets in landscape): smaller logo medallions so
   the five menu items fit beside them */
@media (min-width: 761px) and (max-width: 1000px) {
  .medal, .nav.scrolled .medal { width: 64px; height: 64px; margin: -4px 0 0; }
  .nav .medal + .medal, .nav.scrolled .medal + .medal { margin-left: -16px; }
  .nav-links { gap: .3rem .8rem; }
  .nav-links a { font-size: .86rem; }
}
/* 761–860px: the menu takes its own row under the logos, as on phones */
@media (min-width: 761px) and (max-width: 860px) {
  .nav { flex-wrap: wrap; gap: .5rem .8rem; }
  .brand { flex: 1 1 auto; }
  .nav-links { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .lang-switch { margin-left: auto; }
}
/* Phones: five menu items wrap onto two centred rows instead of running off the edge */
@media (max-width: 560px) {
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 0 1rem; }
}

/* Welcome section, one column in the committee's order: text, committee
   names, Gajju and Ammu, then the competition card with Apply now. */
.welcome-stack { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2rem); max-width: 920px; }
.welcome-stack .committee-wrap { margin-top: 0; }
.welcome-stack .mascot-strip { margin-top: 0; align-self: flex-start; }
.welcome-stack .welcome-card { max-width: 640px; }
.welcome-stack .welcome-text p:last-child { margin-bottom: 0; }
/* Welcome text + photo: one column on phones (photo under the text), two
   side by side from 900px. With the companion on (>= 1100px), the row runs
   into the figure's column, which is empty here: the figure starts below the
   photo (public/js/pose-scroll.js). The cards below keep the 920px column. */
.welcome-top { display: grid; gap: clamp(1.4rem, 3vw, 2rem); }
.welcome-stack > .committee-wrap { max-width: 920px; }
@media (min-width: 900px) {
  .welcome-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
}
.welcome-photo { margin: 0; max-width: 640px; }
@media (min-width: 900px) { .welcome-photo { max-width: none; } }
.welcome-photo img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line, rgba(255,255,255,.14)); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.welcome-photo figcaption { margin-top: .6rem; font-size: .92rem; color: var(--ink-2); }
@media (min-width: 1100px) {
  .has-companion .pub-home .welcome .welcome-stack { max-width: none; }
  .has-companion .pub-home .welcome-top { margin-right: calc(var(--cmp-right) - var(--cmp-space)); }
}

/* Committee condition above the declaration: bold and red, as required */
.decl-warn { margin: 0 0 .9rem; padding: .85rem 1rem; border-radius: var(--r-md, 14px); border: 1px solid rgba(255, 77, 77, .55); background: rgba(255, 77, 77, .1); color: #ff5c5c; font-weight: 700; line-height: 1.6; font-size: 1rem; }

/* A rule with the 'alert' icon: the committee's warnings — red heading, red frame */
.rule-tile.rule-alert { border-color: rgba(255, 77, 77, .6); background: linear-gradient(150deg, rgba(255, 77, 77, .14), rgba(255, 255, 255, .03) 65%); }
.rule-tile.rule-alert .rule-ic { color: #ff5c5c; background: rgba(255, 77, 77, .12); border-color: rgba(255, 77, 77, .45); }
.rule-tile.rule-alert b { color: #ff5c5c; font-weight: 700; } /* heading red; the text stays as on the other rules */

/* Footer on laptops: the same 1200px container as the sections above, four
   text columns (brand · Dasara · contact · quick links) and Gajju and Ammu
   under the brand block, so no column is squeezed on smaller screens. */
@media (min-width: 1101px) {
  .foot-inner { grid-template-columns: 1.25fr 1fr 1.3fr 1fr; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
  .foot-col { grid-row: span 2; }
  .foot-mascots { grid-column: 1; grid-row: 2; justify-self: start; margin: -.5rem 0 -2rem; }
  .foot-mascots .fm { height: 130px; }
  .foot-col li a { white-space: nowrap; }
}
/* The copyright bar lines up with the same 1200px container (the right side
   keeps room for the Ask Gajju button on smaller screens). */
.foot-bot { padding-left: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); padding-right: max(calc(var(--gutter) + 76px), calc((100% - 1200px) / 2 + var(--gutter))); }

/* ---------- live photos on the apply form (committee, 2 Oct 2026) ---------- */
.live-notice { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--r-md, 14px); border: 1px solid rgba(232, 163, 23, .6); background: rgba(232, 163, 23, .12); color: var(--ink); line-height: 1.55; font-size: .95rem; }
.live-notice b { color: #E8A317; }
#live-field > .label { margin: 0; }
.cam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: .5rem; }
.cam-card { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--r-md, 14px); border: 1px solid var(--line, rgba(255,255,255,.14)); background: rgba(255,255,255,.04); outline: none; }
.cam-card[aria-invalid="true"] { border-color: rgba(255, 77, 77, .7); }
.cam-title { font-size: .92rem; }
.cam-view { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #0d130e; display: grid; place-items: center; }
.cam-view video, .cam-view img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-view video.mirror { transform: scaleX(-1); }
.cam-frame { position: absolute; inset: 14% 10%; border: 2px dashed rgba(255,255,255,.75); border-radius: 10px; pointer-events: none; }
.cam-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; text-align: center; color: var(--ink-2); font-size: .85rem; line-height: 1.45; }
.cam-ok { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2f8f4e; color: #fff; font-weight: 700; }
.cam-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cam-btns .btn { flex: 1 1 auto; min-height: 44px; }
.cam-handoff { margin-top: 12px; padding: 12px; border-radius: var(--r-md, 14px); border: 1px solid rgba(232, 163, 23, .6); background: rgba(232, 163, 23, .08); }
.cam-handoff-msg { margin: 0 0 .6rem; font-weight: 600; }
.cam-handoff-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cam-handoff-row img { background: #fff; border-radius: 8px; padding: 4px; }
.cam-handoff-row > div { flex: 1 1 200px; min-width: 0; }
.cam-link { word-break: break-all; }
.cam-disclaimer b { color: #E8A317; font-size: .95rem; }
.cam-disclaimer { color: var(--ink); }

/* Live photos popup when the apply form opens */
.live-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 26px 24px 22px; border: 1px solid var(--hair-2); border-radius: var(--r-lg); background: var(--panel); color: var(--ink); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); text-align: center; }
.live-dialog::backdrop { background: rgba(8, 10, 22, .72); backdrop-filter: blur(4px); }
.live-dialog .ld-icon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 165, 65, .14); color: var(--saffron); }
.live-dialog h2 { margin: 0 0 16px; font-family: var(--f-head); font-size: 1.35rem; line-height: 1.25; }
.live-dialog .ld-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; text-align: left; }
.live-dialog .ld-list li { display: grid; gap: 2px; padding: 10px 12px 10px 38px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); position: relative; line-height: 1.45; }
.live-dialog .ld-list li::before { content: '✓'; position: absolute; left: 12px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--saffron); color: var(--on-saffron); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.live-dialog .ld-list b { font-weight: 600; font-size: .98rem; }
.live-dialog .ld-list li > span { color: var(--ink-2); font-size: .9rem; }
.live-dialog .btn { width: 100%; min-height: 48px; }
@media (prefers-reduced-motion: no-preference) { .live-dialog[open] { animation: ld-in .22s var(--ease); } }
@keyframes ld-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Committee condition under an approval (confirmation screen, status page) */
.approval-cond { max-width: 52ch; margin: 4px auto; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--hair-2); background: rgba(242, 165, 65, .08); color: var(--ink); font-size: .9rem; line-height: 1.55; text-align: left; }

/* Footer: yoga-query contacts (committee, 2 Oct 2026) — name + number per line */
.foot-col .foot-contacts { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .3rem; }
.foot-col .foot-contacts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .6rem; margin: 0; font-size: .86rem; line-height: 1.35; color: var(--ink); }
.foot-col .foot-contacts li .t { min-width: 0; }
.foot-col .foot-contacts li a { display: inline; min-height: 0; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; border-bottom: 0; text-decoration: none; }
.foot-col .foot-contacts li a::before { content: none; }
@media (max-width: 760px) { .foot-col .foot-contacts li { padding: .25rem 0; } .foot-col .foot-contacts li a { min-height: 32px; display: inline-flex; align-items: center; } }
