/* Yugantra 2026: styles. Palette fixed by the brand brief; gold marks what you can act on. */
/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt), subset to what the site uses. */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+03C0, U+2000-206F, U+20B9, U+2100-215F, U+2190-21FF, U+2200-22FF, U+2500-257F, U+25A0-25FF, U+2600-26FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+03C0, U+2000-206F, U+20B9, U+2100-215F, U+2190-21FF, U+2200-22FF, U+2500-257F, U+25A0-25FF, U+2600-26FF; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+03C0, U+2000-206F, U+20B9, U+2100-215F, U+2190-21FF, U+2200-22FF, U+2500-257F, U+25A0-25FF, U+2600-26FF; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+03C0, U+2000-206F, U+20B9, U+2100-215F, U+2190-21FF, U+2200-22FF, U+2500-257F, U+25A0-25FF, U+2600-26FF; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00D7, U+2013-2014; }
@font-face { font-family: "Baloo Chettan 2"; src: url("../fonts/baloo-chettan-2.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Serif Malayalam"; src: url("../fonts/noto-serif-malayalam.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC; }

:root {
  color-scheme: dark;
  --bg: #03110D;
  --bg-2: #16302B;
  --gold: #A38560;
  --gold-hi: #D8C19A;
  --maroon: #390517;
  --text: #E0E0E0;
  --mute: #A8B5AF;
  --line: #5F513D;
  --line-soft: rgba(95, 81, 61, 0.45);
  --panel: rgba(22, 48, 43, 0.38);
  --f-display: "Marcellus", Georgia, "Times New Roman", serif;
  --f-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-ml: "Noto Serif Malayalam", "Manjari", "Nirmala UI", serif;
  --f-ml-d: "Baloo Chettan 2", "Noto Serif Malayalam", "Nirmala UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 72px;
  --sec: clamp(96px, 12vw, 168px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@media (min-width: 1100px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[lang="ml"] { font-family: var(--f-ml); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--bg); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--bg); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100%, calc(var(--wrap) + 2 * var(--gutter))); margin-inline: auto; padding-inline: var(--gutter); }

#dial { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
html:not(.webgl) #dial { display: none; }
main, .foot { position: relative; z-index: 1; }

/* ---------- type ---------- */
h2 { font: 400 clamp(40px, 6vw, 80px)/1.04 var(--f-display); letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.15 var(--f-display); color: var(--text); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 500 12px/1.4 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.lead { margin-top: 20px; max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--mute); }
.sec-head { max-width: 800px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--line); background: rgba(3, 17, 13, 0.35); color: var(--text); font: 500 12.5px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: border-color 0.3s, background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.btn:hover { border-color: var(--gold); background: rgba(163, 133, 96, 0.1); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: env(safe-area-inset-top, 0) var(--gutter) 0; border-bottom: 1px solid transparent; transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.nav.scrolled { background: rgba(3, 17, 13, 0.8); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); border-bottom-color: var(--line-soft); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-logo { height: 42px; width: auto; filter: drop-shadow(0 0 10px rgba(216, 193, 154, 0.15)); transition: transform 0.6s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.06) rotate(-3deg); }
.brand-word { font: 400 16px/1 var(--f-display); letter-spacing: 0.22em; text-transform: uppercase; }
.brand-word b { font-weight: 400; color: var(--gold); }
.nav-links { display: flex; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; }
.nav-links a { position: relative; padding: 8px 0; font: 500 12px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); text-decoration: none; white-space: nowrap; transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform 0.4s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-links a.on::after { transform: scale(1); }
.nav-cta { min-height: 42px; padding: 0 20px; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); }
.mb-lines { display: grid; gap: 6px; width: 18px; }
.mb-lines i { display: block; height: 1px; background: var(--text); transition: transform 0.4s var(--ease); }
.menu-btn[aria-expanded="true"] .mb-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 20px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0)); background: rgba(3, 17, 13, 0.97); overflow-y: auto; }
.menu:not([hidden]) { animation: fade 0.35s var(--ease); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.menu nav a span { font: 400 clamp(26px, 7vw, 40px)/1.1 var(--f-display); }
.menu nav a small { font: 500 11px/1.3 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-align: right; }
.menu-foot { margin-top: 24px; font-size: 13px; letter-spacing: 0.08em; color: var(--mute); }
/* the brand already links home, so "Home" is the first link to go when space runs short */
@media (max-width: 1400px) { .nav-links a[href="#top"] { display: none; } }
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; }
  .brand-word { font-size: 14px; letter-spacing: 0.16em; }
  .brand-logo { height: 36px; }
  .nav-cta { min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: 0.12em; }
}
@media (max-width: 360px) { .brand-word b { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 24px) 0 72px; }
html:not(.webgl) .hero { background: radial-gradient(ellipse 60% 70% at 75% 50%, rgba(22, 48, 43, 0.8), transparent 70%); }
.hero-copy { width: min(100%, 560px); display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { margin-bottom: 8px; }
.hero-logo { width: min(100%, 440px, 46vh); margin-left: -2%; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 0 32px rgba(216, 193, 154, 0.14)); }
.tagline { margin-top: 18px; font: 400 clamp(13px, 1.25vw, 16px)/1.4 var(--f-body); letter-spacing: 0.3em; text-transform: uppercase; }
.tagline [lang="ml"] { font: 800 2em/1 var(--f-ml-d); letter-spacing: 0; vertical-align: -0.12em; color: var(--gold-hi); background: linear-gradient(180deg, #F1E3C4, var(--gold) 75%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font: 500 12px/1.5 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.hero-meta > span { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--line); }
.hero-meta > span:last-child { border: 0; margin: 0; padding: 0; flex-basis: 100%; }
.hero-meta > span:nth-last-child(2) { border: 0; }
.hero-meta [lang="ml"] { letter-spacing: 0.04em; text-transform: none; font-size: 13px; }
.countdown { display: flex; gap: clamp(18px, 3vw, 36px); margin-top: 30px; }
.countdown span { display: grid; gap: 4px; }
.countdown b { font: 400 clamp(34px, 3.6vw, 50px)/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--text); }
.countdown i { font: 500 10.5px/1 var(--f-body); font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 860px) {
  .hero { align-items: end; padding-bottom: 64px; }
  .hero-copy { align-items: center; text-align: center; margin-inline: auto; }
  .hero .eyebrow::before { display: none; }
  .hero-logo { width: min(78vw, 360px, 42vh); margin: 0; }
  .hero-meta { justify-content: center; }
  .countdown { justify-content: center; }
  .hero-ctas { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-meta > span { border: 0; margin: 0; padding: 0; width: 100%; }
  .countdown { gap: 20px; }
  .hero-ctas .btn { flex: 1 1 140px; }
}
.js .rise { opacity: 0; transform: translateY(14px); }
.ready .rise { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } }

/* ---------- sections ---------- */
main > section:not(.hero) { padding-block: var(--sec); }
.about { background: linear-gradient(180deg, rgba(57, 5, 23, 0) 0, rgba(57, 5, 23, 0.52) 34%, rgba(57, 5, 23, 0.52) 100%); }
.events { background: linear-gradient(180deg, rgba(57, 5, 23, 0.52) 0, rgba(57, 5, 23, 0.52) var(--maroon-end, 420px), rgba(57, 5, 23, 0) calc(var(--maroon-end, 420px) + 260px)); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-soft); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { font: 400 clamp(36px, 4vw, 56px)/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.stats dd small { font-size: 0.5em; color: var(--gold); margin-left: 2px; }
.stats dt { font-size: 14px; color: var(--mute); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* events */
.ev-tools { display: flex; gap: 12px; margin-bottom: 18px; }
.ask { position: relative; flex: 1; display: flex; align-items: center; }
.ask-ico { position: absolute; left: 18px; width: 20px; height: 20px; fill: var(--gold); pointer-events: none; }
.ask input { width: 100%; height: 56px; padding: 0 52px 0 52px; border: 1px solid var(--line); background: rgba(3, 17, 13, 0.55); color: var(--text); font: 400 16px/1 var(--f-body); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color 0.3s, background-color 0.3s; }
.ask input::placeholder { color: var(--mute); opacity: 0.85; }
.ask input:focus { outline: none; border-color: var(--gold); background: rgba(22, 48, 43, 0.6); }
.ask input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ask-kbd { position: absolute; right: 16px; min-width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); font: 500 12px/1 var(--f-body); color: var(--mute); }
.ask:focus-within .ask-kbd { opacity: 0; }
.finder-btn { min-height: 56px; }
@media (hover: none) { .ask-kbd { display: none; } }
@media (max-width: 640px) { .ev-tools { flex-direction: column; } .finder-btn { min-height: 48px; } }
.tabs { display: flex; gap: 8px; margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-soft); font: 500 12px/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); transition: all 0.3s; }
.tabs button .fig { width: 14px; height: 14px; color: var(--gold); }
.tabs button b { font-weight: 500; color: var(--gold); }
.tabs button:hover { color: var(--text); border-color: var(--line); }
.tabs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.tabs button[aria-pressed="true"] .fig, .tabs button[aria-pressed="true"] b { color: var(--bg); }
.ask-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -18px 0 32px; font-size: 15px; color: var(--mute); }
.ask-note b { color: var(--text); font-weight: 400; }
.ask-note button { font: 500 11.5px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ev-grid { display: grid; gap: clamp(48px, 6vw, 80px); }
.ev-group[hidden], .ev-cell[hidden] { display: none; }
.ev-group { scroll-margin-top: calc(var(--nav-h) + 24px); }
.ev-group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.eg-k { margin-bottom: 8px; font: 500 11.5px/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; }
.eg-k .fig { width: 14px; height: 14px; }
.ev-group-head h3 { font-size: clamp(28px, 3vw, 40px); }
.eg-sum { font-size: 15px; color: var(--mute); }
.ev-group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.ev { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 22px; text-align: left; border: 1px solid var(--line-soft); background: var(--panel); transition: border-color 0.35s, transform 0.5s var(--ease), background-color 0.35s; }
.ev:hover { border-color: var(--gold); transform: translateY(-3px); background: rgba(22, 48, 43, 0.6); }
.ev.is-tbc { border-style: dashed; }
.ev-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 72px; }
.ev-when { font: 500 11px/1.5 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.tbc { display: inline-block; padding: 3px 7px; background: rgba(163, 133, 96, 0.16); border: 1px solid var(--line); font: 500 10px/1.2 var(--f-body); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); }
.ev-glyph { width: 68px; height: 74px; flex: none; color: var(--gold); margin: -6px -6px 0 0; }
.ev-name { font: 400 clamp(22px, 1.8vw, 26px)/1.15 var(--f-display); color: var(--text); }
.ev-format { font-size: 14.5px; color: var(--mute); }
.ev-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.35; }
.ev-meta small { display: block; margin-bottom: 3px; font: 500 10px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.ev-gap { height: 12px; }
.ev-empty { padding: 48px 0; text-align: center; color: var(--mute); }
.ev-empty button { margin-top: 16px; }

/* symbols */
.fig { width: 1.1em; height: 1.1em; flex: none; overflow: visible; }
.fig * { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fig .fillc { fill: currentColor; stroke: none; }
.glyph { width: 100%; height: 100%; overflow: visible; }
.glyph * { fill: none; stroke: currentColor; stroke-width: 1.1; }
.glyph .fillc { fill: currentColor; stroke: none; }
.glyph .faint { opacity: 0.45; }
.glyph .bb { stroke: none; }
.glyph .frame { opacity: 0.6; }
.glyph .pict { color: var(--gold-hi); }
.glyph .pict * { stroke-width: var(--sw, 1.1); }
.glyph .dash { stroke-dasharray: 2 2; }
.glyph .thick { stroke-width: calc(var(--sw, 1.1) * 2); stroke-linecap: round; }
.glyph .g-tba { stroke-dasharray: 0.012 0.018; }
.glyph .spin, .glyph .spin2 { transform-box: fill-box; transform-origin: center; transition: transform 1.6s var(--ease); }
.ev:hover .glyph .spin, .ev:focus-visible .glyph .spin { transform: rotate(var(--r1, 90deg)); }
.ev:hover .glyph .spin2, .ev:focus-visible .glyph .spin2 { transform: rotate(-60deg); }

/* schedule */
.sched { border-top: 1px solid var(--line-soft); }
.sched li { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr) 120px; gap: 8px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.sched time, .sched .s-when { font: 500 12px/1.5 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.sched .s-name { font: 400 clamp(20px, 2vw, 26px)/1.2 var(--f-display); }
.sched .s-name button { text-align: left; transition: color 0.3s; }
.sched .s-name button:hover { color: var(--gold-hi); }
.sched .s-name small { display: block; margin-top: 4px; font: 300 14px/1.4 var(--f-body); color: var(--mute); }
.sched .s-len { font-size: 14px; color: var(--mute); text-align: right; }
.sched li.fixed .s-when { color: var(--gold-hi); }
@media (max-width: 640px) { .sched li { grid-template-columns: 1fr 90px; } .sched .s-when { grid-column: 1 / -1; } }

/* registration */
.reg-ways { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); }
.reg-way { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22, 48, 43, 0.7), rgba(3, 17, 13, 0.9)); }
.reg-way::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-soft); pointer-events: none; }
.reg-way > p { color: var(--mute); max-width: 46ch; }
.reg-way .btn { align-self: flex-start; margin-top: auto; }
.reg-ico { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); }
.reg-ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.reg-ico .dash { stroke-dasharray: 2 2.4; }
.reg-ico .faint { opacity: 0.45; }
.reg-way .reg-k { display: flex; gap: 12px; margin-top: 6px; font: 500 12px/1.4 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.reg-k span { color: var(--mute); }
.reg-way h3 { font-size: clamp(28px, 2.6vw, 38px); }
.ticks { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.ticks:empty { display: none; }
.combos { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.soon { padding: 14px 16px; border: 1px dashed var(--line); font: 500 12px/1.6 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.combo-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.combo-list b { display: block; font: 400 20px/1.2 var(--f-display); }
.combo-list span { font-size: 14px; color: var(--mute); }
.combo-list strong { font: 400 22px/1 var(--f-display); color: var(--gold-hi); }
.reg-or { position: relative; display: grid; place-items: center; }
.reg-or::before { content: ""; position: absolute; top: 12%; bottom: 12%; left: 50%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.reg-or span { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; background: var(--bg); font: italic 400 16px/1 var(--f-display); color: var(--gold-hi); }
.note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; margin-top: 20px; padding: 18px 22px; background: rgba(57, 5, 23, 0.34); border: 1px solid var(--line); border-left: 2px solid var(--gold); }
.note svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; margin-top: 2px; }
.note b { color: var(--gold-hi); font-weight: 500; }
@media (max-width: 900px) { .reg-ways { grid-template-columns: 1fr; } .reg-or { height: 64px; } .reg-or::before { top: 0; bottom: 0; } }
.fees-more { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.fees-more summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 clamp(20px, 2vw, 26px)/1.2 var(--f-display); }
.fees-more summary::-webkit-details-marker { display: none; }
.fees-more summary i, .faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.fees-more summary i::before, .fees-more summary i::after, .faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform 0.4s var(--ease); }
.fees-more summary i::after, .faq summary i::after { transform: rotate(90deg); }
.fees-more[open] summary i::after, .faq details[open] summary i::after { transform: rotate(0); }
.fees-wrap { overflow-x: auto; padding-bottom: 24px; }
.fees { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.fees caption { text-align: left; padding-bottom: 12px; font: 500 11px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.fees th, .fees td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.fees thead th { font: 500 10.5px/1.2 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.fees tbody th { font-weight: 400; }
.fees tbody th button { text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.fees tbody th button:hover { color: var(--gold-hi); }

/* sponsors */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tiers:empty { display: none; }
.tier { padding: 26px; border: 1px solid var(--line-soft); background: var(--panel); }
.tier p { color: var(--mute); margin-top: 8px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-list { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 400 clamp(19px, 1.8vw, 24px)/1.3 var(--f-display); transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq details p { padding: 0 40px 24px 0; color: var(--mute); }
.faq details[open] p { animation: fade 0.5s var(--ease); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.contact .sec-head { margin-bottom: 28px; }
.addr { font-style: normal; color: var(--mute); line-height: 1.8; }
.addr strong { color: var(--text); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.map { min-height: 420px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; background: var(--bg-2); filter: saturate(0.75) contrast(1.02); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* footer */
.foot { border-top: 1px solid var(--line-soft); background: rgba(3, 17, 13, 0.92); }
.foot-top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; padding-block: 48px; }
.foot-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.foot-brand img { height: 56px; width: auto; }
.foot-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.foot-host { display: flex; flex-direction: column; gap: 7px; padding-left: 18px; border-left: 1px solid var(--line-soft); }
.foot-host span { font: 500 10px/1 var(--f-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.foot-host img { height: 38px; width: auto; }
@media (max-width: 560px) { .foot-host { padding-left: 0; border-left: 0; } }
.foot-brand span { font: 400 18px/1 var(--f-display); letter-spacing: 0.22em; text-transform: uppercase; }
.foot-brand b { font-weight: 400; color: var(--gold); }
.foot-cal { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--mute); }
.foot-cal [lang="ml"] { color: var(--gold-hi); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-nav a { font: 500 11.5px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.foot-nav a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0)); border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--mute); }
.foot-base a { color: var(--gold); text-decoration: none; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } }

/* mobile dock */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0)); z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; background: rgba(3, 17, 13, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-soft); transform: translateY(140%); transition: transform 0.5s var(--ease); }
  .dock.show { transform: none; }
  .dock .btn { min-height: 46px; }
  .foot-base { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0)); }
}

/* sheets (event details, finder) */
.sheet { position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); height: 100%; max-height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); background: #061712; color: var(--text); overflow: hidden; }
.sheet[open] { animation: sheet-in 0.5s var(--ease); }
.sheet::backdrop { background: rgba(3, 17, 13, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet[open]::backdrop { animation: fade 0.4s var(--ease); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.sheet-in { height: 100%; overflow-y: auto; padding: clamp(28px, 4vw, 44px); padding-top: 64px; overscroll-behavior: contain; }
.sheet-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); font: 300 26px/1 var(--f-body); background: #061712; }
.sheet-x:hover { border-color: var(--gold); }
@media (max-width: 640px) {
  .sheet { inset: auto 0 0 0; width: 100%; height: auto; max-height: 90vh; max-height: 90dvh; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; }
  .sheet[open] { animation: sheet-up 0.5s var(--ease); }
  .sheet-in { max-height: 90vh; max-height: 90dvh; padding: 56px 20px calc(24px + env(safe-area-inset-bottom, 0)); }
  .sheet::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line); }
  @keyframes sheet-up { from { transform: translateY(60px); opacity: 0; } }
}
.dlg-head { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; }
.dlg-glyph { width: 88px; height: 96px; color: var(--gold); }
.dlg-head .eyebrow { margin-bottom: 8px; }
.dlg-head .eyebrow::before { display: none; }
.dlg-head h3 { font-size: clamp(30px, 4vw, 40px); }
.dlg-format { margin-top: 6px; color: var(--mute); font-size: 15px; }
.dlg-blurb { margin: 26px 0; font-size: 17px; line-height: 1.65; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.facts dt { font: 500 10.5px/1.2 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.facts dd { font-size: 16px; line-height: 1.4; }
#dlgIncl { margin-top: 24px; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.dlg-actions .btn-gold { flex: 1 1 100%; }
.dlg-actions .btn:not(.btn-gold) { flex: 1 1 140px; }

/* finder */
.finder { margin-top: 24px; }
.f-step { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 11px/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.f-step i { width: 22px; height: 2px; background: var(--line-soft); }
.f-step i.on { background: var(--gold); }
.f-q { font: 400 clamp(22px, 2.4vw, 28px)/1.25 var(--f-display); margin-bottom: 18px; }
.f-opts { display: grid; gap: 10px; }
.f-opts button { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line-soft); background: var(--panel); text-align: left; font-size: 16px; transition: border-color 0.3s, background-color 0.3s; }
.f-opts button small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--mute); }
.f-opts button::after { content: "→"; color: var(--gold); transition: transform 0.3s var(--ease); }
.f-opts button:hover { border-color: var(--gold); background: rgba(22, 48, 43, 0.7); }
.f-opts button:hover::after { transform: translateX(4px); }
.f-res { display: grid; gap: 10px; }
.f-res button { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line-soft); background: var(--panel); text-align: left; transition: border-color 0.3s; }
.f-res button:hover { border-color: var(--gold); }
.f-res .ev-glyph { width: 56px; height: 62px; margin: 0; }
.f-res b { display: block; font: 400 21px/1.2 var(--f-display); }
.f-res span span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute); }
.f-again { margin-top: 18px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0)); z-index: 90; padding: 12px 18px; background: var(--gold); color: var(--bg); font: 500 13px/1.3 var(--f-body); letter-spacing: 0.04em; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0s 0.45s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 0.45s var(--ease), opacity 0.3s; }
@media (max-width: 760px) { .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
}

/* wheel hover label (desktop hero) */
.dial-tip { position: fixed; left: 0; top: 0; z-index: 30; padding: 8px 12px; background: rgba(3, 17, 13, 0.9); border: 1px solid var(--gold); font: 500 11.5px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); pointer-events: none; white-space: nowrap; }

/* =====================================================================
   Scroll motion
   ===================================================================== */
/* scroll cue: a gold bead travels down a hairline, the way to go */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); text-decoration: none; opacity: calc(1 - var(--hp, 0) * 3); transition: opacity 0.2s; }
.scroll-cue span { font: 500 10.5px/1 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); padding-left: 0.32em; transition: color 0.3s; }
.scroll-cue:hover span { color: var(--gold-hi); }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: linear-gradient(var(--line-soft), transparent); }
.scroll-cue b { position: absolute; left: -1.5px; top: -10px; width: 4px; height: 10px; border-radius: 2px; background: var(--gold-hi); box-shadow: 0 0 10px var(--gold); animation: bead 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes bead { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(62px); opacity: 0; } }
.js .scroll-cue { animation: cue-in 1s var(--ease) 1.2s both; }
@keyframes cue-in { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (max-width: 860px) { .scroll-cue { bottom: 14px; } .scroll-cue i { height: 30px; } .hero { padding-bottom: 96px; } }
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* hero leaves gently: the copy lifts and fades as you scroll */
.hero-copy { transform: translateY(calc(var(--hp, 0) * -70px)); opacity: calc(1 - var(--hp, 0) * 0.9); will-change: transform, opacity; }

/* gold reading line under the nav */
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.nav-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform-origin: left; transform: scaleX(0); }

/* headings rise word by word from behind a mask */
.js main h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js main h2 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
.js .in h2 .w > span, .js h2.in .w > span { transform: none; }
.js .sec-head.reveal { opacity: 1; transform: none; }
.js .sec-head .lead, .js .sec-head .eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .sec-head .lead { transition-delay: 0.35s; }
.js .sec-head.in .lead, .js .sec-head.in .eyebrow { opacity: 1; transform: none; }
.js .sec-head .eyebrow::before { width: 0; transition: width 0.9s var(--ease) 0.15s; }
.js .sec-head.in .eyebrow::before { width: 28px; }

/* groups of things arrive one after another */
.js .kids > * { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), border-color 0.35s, background-color 0.35s; transition-delay: calc(var(--i, 0) * 75ms); }
.js .kids.in > * { opacity: 1; transform: none; }
.js .kids.in > *:hover { transition-delay: 0s; }
.js .kids.in > .age:hover { transform: translateY(-4px); }
.js .reg-ways.kids > .reg-or { transform: scale(0.6); }
.js .reg-ways.kids.in > .reg-or { transform: none; transition-delay: 0.25s; }

/* category rules draw themselves */
.line-draw { position: relative; border-bottom-color: transparent !important; }
.line-draw::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line-soft) 30%); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.1s; }
.line-draw.in::after { transform: none; }
html:not(.js) .line-draw::after { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy { transform: none; opacity: 1; }
  .js main h2 .w > span, .js .kids > *, .js .sec-head .lead, .js .sec-head .eyebrow { transform: none !important; opacity: 1 !important; }
  .js .sec-head .eyebrow::before { width: 28px; }
  .line-draw::after { transform: none; }
  .scroll-cue b { animation: none; top: 18px; }
}

/* =====================================================================
   v8: palm leaf to processor
   ===================================================================== */
/* first-visit intro: the name is etched on a palm leaf, the lines run out as circuits */
.intro { display: none; }
html.yg-intro .intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(ellipse 70% 60% at 50% 50%, #0b2019, var(--bg) 70%); animation: intro-out 0.6s var(--ease) 2s forwards; }
html.intro-skip .intro { animation: intro-out 0.35s var(--ease) forwards; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro-svg { width: min(94vw, 1100px); height: auto; overflow: visible; }
.i-leaf { fill: rgba(163, 133, 96, 0.07); stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: i-draw 0.9s var(--ease) 0.1s forwards, i-leaf-fill 0.8s ease 0.8s forwards; }
@keyframes i-leaf-fill { to { fill: rgba(163, 133, 96, 0.14); } }
.i-hole { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0; animation: i-fade 0.4s ease 0.6s forwards; }
.i-word { font: 400 52px/1 var(--f-display); letter-spacing: 0.24em; fill: transparent; stroke: var(--gold-hi); stroke-width: 0.9; stroke-dasharray: 360; stroke-dashoffset: 360; animation: i-etch 1.1s var(--ease) 0.3s forwards, i-wfill 0.5s ease 1.25s forwards; }
@keyframes i-etch { to { stroke-dashoffset: 0; } }
@keyframes i-wfill { to { fill: var(--gold-hi); } }
.i-traces path { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: i-draw 0.7s var(--ease) 1.2s forwards; }
.i-traces circle { fill: var(--gold-hi); opacity: 0; animation: i-fade 0.3s ease 1.75s forwards; }
@keyframes i-draw { to { stroke-dashoffset: 0; } }
@keyframes i-fade { to { opacity: 1; } }

/* hero: countdown label, live state */
.cd-label { margin-top: 30px; display: flex; align-items: center; gap: 10px; font: 500 11.5px/1.4 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.cd-label + .countdown { margin-top: 12px; }
.cd-label.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E2B866; box-shadow: 0 0 0 0 rgba(226, 184, 102, 0.6); animation: live 1.6s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(226, 184, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 184, 102, 0); } }
@media (max-width: 860px) { .cd-label { justify-content: center; } }

/* eyebrows: quieter, no rule; the section's own mark does the work */
.eyebrow::before { width: 6px; height: 6px; border: 1px solid currentColor; background: none; transform: rotate(45deg); }
.js .sec-head .eyebrow::before { width: 6px; transition: none; }
.js .sec-head.in .eyebrow::before { width: 6px; }

/* about: the leaf strip */
.about-head h2 { max-width: 12ch; }
.leaf { margin: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.leaf svg { display: block; width: 100%; height: auto; min-width: 1100px; will-change: transform; }
@media (max-width: 1100px) { .leaf svg { width: 260vw; min-width: 0; } }
.lf-base * { fill: none; stroke: rgba(163, 133, 96, 0.28); stroke-width: 1.2; }
.lf-gold * { fill: none; stroke: var(--gold-hi); stroke-width: 1.4; }
.leaf .lf-body { fill: rgba(163, 133, 96, 0.05); }
.lf-gold .lf-body { fill: rgba(163, 133, 96, 0.12); stroke: var(--gold); }
.leaf .lf-text text { font: 500 24px/1 var(--f-ml); stroke-width: 0.7; }
.lf-gold .lf-text text { fill: var(--gold-hi); stroke: none; }
.leaf .lf-chip-t { font: 400 15px/1 var(--f-display); letter-spacing: 0.3em; stroke: none; fill: rgba(163, 133, 96, 0.4); }
.leaf .lf-chip-y { font: 400 24px/1 var(--f-display); letter-spacing: 0.2em; stroke: none; fill: rgba(163, 133, 96, 0.4); }
.lf-gold .lf-chip-t, .lf-gold .lf-chip-y { fill: var(--gold-hi); }
.lf-gold .lf-via circle, .lf-gold .lf-pad circle { fill: var(--gold-hi); }
.lf-gold .lf-chip { fill: rgba(22, 48, 43, 0.6); }
.lf-pulse path { fill: none; stroke: #FFE7B5; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.035 0.965; stroke-dashoffset: 1; opacity: 0; }
.leaf.done .lf-pulse path { opacity: 1; animation: pulse-run 2.6s linear infinite; }
@keyframes pulse-run { to { stroke-dashoffset: 0; } }

/* about: the four ages as a strip */
.ages-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.ages-strip li + li { border-left: 1px solid var(--line-soft); }
.ages-strip a { display: grid; gap: 6px; padding: 28px 24px 26px; text-decoration: none; transition: background-color 0.4s; height: 100%; }
.ages-strip a:hover { background: rgba(57, 5, 23, 0.32); }
.as-n { font: 400 clamp(72px, 8vw, 112px)/0.9 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--gold); transition: color 0.5s; }
.ages-strip a:hover .as-n { color: rgba(163, 133, 96, 0.35); }
.as-ml { font-size: 15px; color: var(--gold-hi); }
.as-name { display: flex; align-items: center; gap: 10px; font: 400 clamp(20px, 1.8vw, 24px)/1.2 var(--f-display); }
.as-name .fig { width: 15px; height: 15px; color: var(--gold); }
.as-go { margin-top: 8px; font: 500 11.5px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.as-go i { font-style: normal; display: inline-block; transition: transform 0.4s var(--ease); }
.ages-strip a:hover .as-go i { transform: translateX(4px); }
@media (max-width: 900px) { .ages-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ages-strip li:nth-child(3) { border-left: 0; } .ages-strip li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); } }

/* events: four chapters, each with its own mood */
.ev-grid { gap: 0; }
.chapter { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); padding-block: clamp(64px, 8vw, 120px); scroll-margin-top: var(--nav-h); isolation: isolate; }
.chapter::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.chapter + .chapter::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.mood-0::before { background: radial-gradient(ellipse 60% 70% at 10% 10%, rgba(163, 133, 96, 0.13), transparent 70%); }
.mood-1::before { background: radial-gradient(ellipse 60% 80% at 90% 20%, rgba(22, 48, 43, 0.85), transparent 70%); }
.mood-2::before { background: linear-gradient(180deg, rgba(57, 5, 23, 0), rgba(57, 5, 23, 0.55) 18%, rgba(57, 5, 23, 0.55) 82%, rgba(57, 5, 23, 0)); }
.mood-3::before { background: radial-gradient(ellipse 50% 60% at 85% 85%, rgba(216, 193, 154, 0.09), transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45) 20%, rgba(0, 0, 0, 0.45) 80%, rgba(0, 0, 0, 0)); }
.ch-sticky { position: sticky; top: calc(var(--nav-h) + 28px); }
.ch-num { display: block; font: 400 clamp(150px, 15vw, 230px)/0.8 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--gold); background: linear-gradient(0deg, rgba(163, 133, 96, 0.28) 50%, transparent 50%); background-size: 100% 200%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; transition: background-position 1.6s var(--ease) 0.2s; }
.ch-sticky.in .ch-num { background-position: 0 100%; }
.ch-ml { margin: -0.2em 0 18px; font: 600 clamp(34px, 3.6vw, 52px)/1.2 var(--f-ml); color: transparent; -webkit-text-stroke: 0.8px rgba(216, 193, 154, 0.65); }
.chapter .eg-k { margin-bottom: 10px; }
.chapter h3 { font-size: clamp(30px, 3vw, 44px); }
.ch-text { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--mute); max-width: 38ch; }
.ch-sum { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); font: 500 12px/1.5 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hi); max-width: 38ch; }
.ch-plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
@media (max-width: 1000px) {
  .chapter { grid-template-columns: 1fr; gap: 28px; }
  .ch-sticky { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: end; }
  .ch-num { grid-row: span 2; font-size: clamp(110px, 26vw, 160px); }
  .ch-ml { margin: 0; align-self: end; }
  .ch-sticky > :not(.ch-num):not(.ch-ml) { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .ch-plates { grid-template-columns: 1fr; } }

/* etched plates */
.plate { overflow: hidden; background: linear-gradient(150deg, rgba(22, 48, 43, 0.62), rgba(3, 17, 13, 0.88) 70%); border-color: var(--line-soft); }
.plate::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(216, 193, 154, 0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.plate:hover::before { opacity: 1; }
.plate::after { content: ""; position: absolute; inset: 7px; pointer-events: none; opacity: 0.55;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 12px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left top / 1px 12px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 12px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right top / 1px 12px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 12px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 12px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right bottom / 1px 12px no-repeat;
  transition: opacity 0.4s, inset 0.5s var(--ease); }
.plate:hover::after { opacity: 1; inset: 5px; }
.plate > * { position: relative; }
.ev-line { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--mute); }
.plate .ev-meta { margin-top: auto; }
.plate .ev-name { margin-top: 4px; }
.plate .ev-line { margin-bottom: 16px; }

/* ---------- event pages ---------- */
.ep-body .nav { position: sticky; }
.ep-nav { display: flex; gap: 24px; margin-left: auto; }
.ep-nav a { font: 500 12px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.ep-nav a:hover { color: var(--text); }
@media (max-width: 760px) { .ep-nav { display: none; } .ep-body .nav-cta { margin-left: auto; } }
.ep { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); isolation: isolate; }
.ep::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); font: 500 11.5px/1.4 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs span[aria-current] { color: var(--text); }
.ep-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-soft); }
.ep-glyph { width: clamp(110px, 16vw, 200px); color: var(--gold); }
.ep-glyph .glyph { width: 100%; height: auto; }
.ep-head .eyebrow::before { display: none; }
.ep-head .eyebrow .fig { width: 14px; height: 14px; }
.ep h1 { font: 400 clamp(44px, 7vw, 96px)/1 var(--f-display); letter-spacing: -0.01em; }
.ep-line { margin-top: 16px; max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--text); }
.ep-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.ep-main .dlg-blurb { margin-top: 0; font-size: clamp(17px, 1.4vw, 19px); }
.ep-incl { margin-top: 24px; }
.ep-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line-soft); background: rgba(3, 17, 13, 0.5); }
.ep-side .eyebrow { margin: 10px 0 0; }
.ep-side .eyebrow:first-child { margin-top: 0; }
.ep-where { color: var(--mute); line-height: 1.7; font-size: 15px; }
.ep-where [lang="ml"] { color: var(--gold-hi); }
.ep-more { display: grid; }
.ep-more a { display: block; padding: 12px 0; border-top: 1px solid var(--line-soft); text-decoration: none; font: 400 19px/1.3 var(--f-display); transition: color 0.3s; }
.ep-more a:hover { color: var(--gold-hi); }
.ep-more small { display: block; margin-top: 4px; font: 300 13.5px/1.45 var(--f-body); color: var(--mute); }
@media (max-width: 860px) { .ep-grid { grid-template-columns: 1fr; } .ep-side { position: static; } }
@media (max-width: 560px) { .ep-head { grid-template-columns: 1fr; } .ep-glyph { width: 120px; } }
.leaf svg { max-width: none; }
.dlg-actions .btn { white-space: normal; text-align: center; line-height: 1.35; padding-block: 12px; }

/* ---------- logo lockup: the Yugantra emblem (wordmark included), × JGI JAIN ---------- */
.hero-logo { display: flex; flex-direction: column; align-items: center; width: min(100%, 400px, 34vh); margin-left: 0; }
.hero-logo .lk-logo { width: 100%; height: auto; filter: drop-shadow(0 0 32px rgba(216, 193, 154, 0.14)); }
/* the host, under the emblem: the JAIN mark in its light (inverted) version for the dark page */
.lk-host { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 10px; }
.lk-host-k { padding-left: 0.28em; font: 500 10.5px/1 var(--f-body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); }
.lk-host img { display: block; height: clamp(38px, 4.8vh, 48px); width: auto; }
@media (max-width: 860px) { .hero-logo { width: min(70vw, 320px, 38vh); } .lk-host img { height: clamp(38px, 5vh, 46px); } }
/* who presents the fest, above the emblem */
/* the presenting department and the emblem share one centred column */
.hero-mast { display: flex; flex-direction: column; align-items: center; max-width: 100%; text-align: center; }
.hero-dept { display: flex; flex-direction: column; align-items: center; max-width: 100%; margin-bottom: 12px; }
.hd-k { display: flex; align-items: center; gap: 12px; padding-left: 0.34em; font: 500 10.5px/1 var(--f-body); letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); }
.hd-k::before, .hd-k::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi)); }
.hd-k::after { transform: scaleX(-1); }
/* gold-leaf caps; the gradient repeats per line so a wrapped name stays even */
.hd-name { margin-top: 8px; font: 600 clamp(17px, 1.45vw, 21px)/1.3 "Cinzel", var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; text-wrap: balance;
  background: linear-gradient(180deg, #FBEFD2 10%, #E2BF84 55%, #B48A52 92%) 0 0 / 100% 1.3em repeat-y; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(226, 191, 132, 0.22)); }
.hd-pre { margin-top: 2px; font: 400 17px/1.4 var(--f-display); letter-spacing: 0.08em; color: var(--gold-hi); opacity: 0.9; }
@media (max-width: 480px) { .hd-name { font-size: 16px; letter-spacing: 0.05em; } .hd-k::before, .hd-k::after { width: 22px; } }
@media (max-height: 640px) and (min-width: 861px) { .hero-logo { width: min(100%, 300px, 44vh); } }

/* ---------- combo tickets ---------- */
.combo-sum { color: var(--text); margin-bottom: 14px; }
.combo-sum b { color: var(--gold-hi); font-weight: 500; }
.combos .btn { align-self: flex-start; }
.combo-wrap { margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: calc(var(--nav-h) + 20px); }
#comboGrid { scroll-margin-top: calc(var(--nav-h) + 90px); }
.combo-head { margin-bottom: 22px; }
.combo-head h3 { font-size: clamp(28px, 3vw, 40px); }
.combo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.combo { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line-soft); }
.combo-k { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 11px/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.save { padding: 5px 8px; background: rgba(163, 133, 96, 0.16); border: 1px solid var(--line); color: var(--gold-hi); letter-spacing: 0.12em; }
.combo h3 { font-size: clamp(22px, 2vw, 26px); }
.combo-items { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.combo-items li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.combo-items button { text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.combo-items button:hover { color: var(--gold-hi); }
.combo-items time { flex: none; font: 500 11.5px/1.3 var(--f-body); letter-spacing: 0.06em; color: var(--mute); text-align: right; }
.combo-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.combo-price s { color: var(--mute); font-size: 16px; }
.combo-price strong { font: 400 34px/1 var(--f-display); color: var(--gold-hi); }
.combo-price small { font: 500 10.5px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.combo .btn { align-self: stretch; }
.combo.featured { border-color: var(--gold); background: linear-gradient(150deg, rgba(57, 5, 23, 0.55), rgba(3, 17, 13, 0.9) 70%); }
.combo.featured .combo-k { color: var(--gold-hi); }

/* =====================================================================
   v10: festival layer — posters, tickets, tickers, the day board
   ===================================================================== */
:root { --cat-0: #C9A56C; --cat-1: #8FB3A4; --cat-2: #B0475F; --cat-3: #E8CF9A; }

/* printed-paper grain over everything (very light) */
body::after { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* tickers */
.ticker { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: rgba(3, 17, 13, 0.82); }
.tk-track { display: flex; width: max-content; align-items: center; gap: 22px; padding: 14px 0; white-space: nowrap; will-change: transform; }
.tk-track span { font: 500 13px/1 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); }
.tk-track i { font-style: normal; color: var(--gold); font-size: 12px; }
.ticker-hero { position: absolute; left: 0; right: 0; bottom: 0; }
.ticker-pass { background: linear-gradient(90deg, #2a0410, var(--maroon) 50%, #2a0410); border-color: rgba(216, 193, 154, 0.35); }
.ticker-pass .tk-track span { font-family: "Cinzel", var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: 0.12em; color: var(--gold-hi); }
.hero { padding-bottom: 120px; }
.scroll-cue { bottom: 66px; }
@media (max-width: 860px) { .hero { padding-bottom: 130px; } .scroll-cue { bottom: 58px; } }

/* the pass badge: a stamped seal that slowly turns */
.pass-badge { position: absolute; right: clamp(16px, 6vw, 96px); top: calc(var(--nav-h) + 22px); z-index: 3; width: 118px; height: 118px; display: block; text-decoration: none; transform: rotate(-12deg); transition: transform 0.5s var(--ease); }
.pass-badge:hover { transform: rotate(-4deg) scale(1.06); }
.pass-badge svg { width: 100%; height: 100%; overflow: visible; }
.pass-badge circle { fill: var(--maroon); stroke: var(--gold); stroke-width: 1.2; }
.pass-badge .pb-in { fill: none; stroke-dasharray: 2 3; }
.pb-ring { font: 600 10.5px/1 "Cinzel", var(--f-display); letter-spacing: 0.06em; fill: var(--gold-hi); }
.pass-badge svg > text.pb-ring { transform-origin: 60px 60px; animation: spin 18s linear infinite; }
.pb-price { font: 600 26px/1 "Cinzel", var(--f-display); fill: #FFF1D2; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .pass-badge { width: 78px; height: 78px; top: calc(var(--nav-h) + 48px); right: 10px; } }

/* split-flap countdown */
.countdown b { display: inline-block; position: relative; padding: 4px 8px 6px; background: linear-gradient(180deg, rgba(22, 48, 43, 0.9) 50%, rgba(10, 30, 25, 0.95) 50%); border: 1px solid var(--line-soft); border-radius: 4px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4); transform-origin: 50% 50%; }
.countdown b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.55); }
.countdown b.flap { animation: flap 0.45s var(--ease); }
@keyframes flap { 0% { transform: rotateX(-80deg); filter: brightness(1.6); } 100% { transform: none; } }
.countdown { perspective: 400px; }

/* interlude: the counts slide past, large */
.interlude { position: relative; z-index: 1; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; border-block: 1px solid var(--line-soft); background: rgba(3, 17, 13, 0.6); }
.il-row { display: flex; width: max-content; gap: 0.5em; align-items: baseline; white-space: nowrap; font: 600 clamp(48px, 9vw, 140px)/1.05 "Cinzel", var(--f-display); text-transform: uppercase; will-change: transform; }
.il-row span { color: transparent; -webkit-text-stroke: 1px rgba(216, 193, 154, 0.55); }
.il-row span b { color: var(--gold-hi); -webkit-text-stroke: 0; font-weight: 600; }
.il-row i { font-style: normal; color: var(--gold); font-size: 0.4em; align-self: center; }
.il-row-2 { margin-top: 0.15em; font: 600 clamp(34px, 6vw, 90px)/1.2 var(--f-ml); text-transform: none; }
.il-row-2 span { -webkit-text-stroke: 1px rgba(176, 71, 95, 0.7); }

/* event posters */
.poster { border-top: 2px solid var(--c, var(--gold)); }
.poster .ev-top { min-height: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-block; padding: 3px 7px; border: 1px solid var(--line); font: 500 10px/1.2 var(--f-body); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.tag-free { border-color: var(--c, var(--gold)); color: var(--c, var(--gold-hi)); }
.poster .ev-line { margin-bottom: 10px; }
.pst-big { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; }
.pst-big b { font: 600 clamp(30px, 2.6vw, 40px)/1 "Cinzel", var(--f-display); color: var(--c, var(--gold-hi)); letter-spacing: 0.01em; }
.pst-big small { font: 500 10.5px/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.poster .ev-meta { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.poster:hover .pst-big b { text-shadow: 0 0 24px color-mix(in srgb, var(--c) 45%, transparent); }

/* the day board */
.dayline { margin-bottom: 28px; border: 1px solid var(--line-soft); background: rgba(3, 17, 13, 0.55); }
.dl-day { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); font: 400 clamp(20px, 2vw, 26px)/1.2 var(--f-display); }
.dl-day span { font: 500 11px/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.dl-scroll { overflow-x: auto; scrollbar-width: thin; }
.dl-grid { position: relative; min-width: 820px; margin: 0 20px; padding: 40px 0 16px; }
.dl-hours { position: absolute; top: 12px; left: 0; right: 0; height: 16px; }
.dl-hours span { position: absolute; transform: translateX(-50%); font: 500 10.5px/1 var(--f-body); letter-spacing: 0.12em; color: var(--mute); white-space: nowrap; }
.dl-rule { position: absolute; top: 32px; bottom: 10px; width: 1px; background: var(--line-soft); }
.dl-rows { position: relative; display: grid; gap: 6px; }
.dl-rows li { position: relative; height: 44px; }
.dl-bar { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 12px; overflow: hidden; text-align: left; border: 1px solid var(--line); border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); border-left: 3px solid var(--c); background: rgba(22, 48, 43, 0.85); background: color-mix(in srgb, var(--c) 16%, rgba(3, 17, 13, 0.9)); transition: background-color 0.3s, transform 0.3s var(--ease); }
.dl-bar:hover { background: rgba(22, 48, 43, 1); background: color-mix(in srgb, var(--c) 30%, rgba(3, 17, 13, 0.9)); transform: translateY(-1px); }
.dl-bar b { font: 500 14px/1.15 var(--f-body); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-bar span { font: 500 10.5px/1.2 var(--f-body); letter-spacing: 0.08em; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-bar.from-before { border-left-style: dashed; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), #000 18%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), #000 18%); }
.dl-now { position: absolute; top: 28px; bottom: 6px; width: 2px; background: #E2B866; box-shadow: 0 0 12px #E2B866; }
.sched-also .s-name { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid var(--line-soft); background: var(--panel); text-align: left; font: 400 17px/1.2 var(--f-display); transition: border-color 0.3s; }
.chip small { font: 500 10.5px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.chip:hover { border-color: var(--gold); }

/* combo tickets */
.combo-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 18px; }
.ticket { --notch: 12px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px; background: linear-gradient(150deg, rgba(22, 48, 43, 0.78), rgba(3, 17, 13, 0.92) 75%); border: 1px solid var(--line);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 168px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - 168px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - 168px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - 168px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.ticket.featured { background: linear-gradient(150deg, rgba(57, 5, 23, 0.85), rgba(3, 17, 13, 0.95) 75%); border-color: var(--gold); }
.tk-main { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; }
.tk-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 14px; border-left: 2px dashed rgba(216, 193, 154, 0.35); text-align: center; }
.tk-admit { font: 600 10px/1.3 "Cinzel", var(--f-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); writing-mode: horizontal-tb; }
.tk-stub s { color: var(--mute); font-size: 15px; }
.tk-stub strong { font: 600 38px/1 "Cinzel", var(--f-display); color: var(--gold-hi); }
.tk-stub small { font: 500 10.5px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.tk-stub .btn { margin-top: 8px; min-height: 40px; padding: 0 14px; font-size: 11px; white-space: normal; }
.tk-soon { margin-top: 8px; font: 500 10px/1.4 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.ticket .combo-items { border-top-color: rgba(216, 193, 154, 0.2); }
@media (max-width: 560px) {
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .tk-stub { border-left: 0; border-top: 2px dashed rgba(216, 193, 154, 0.35); flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .pass-badge svg > text.pb-ring { animation: none; } }

.dl-swipe { display: none; margin-left: auto; font: 500 10.5px/1 var(--f-body); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 860px) { .dl-swipe { display: inline; } .dl-grid { min-width: 720px; margin: 0 14px; } .dl-day { flex-wrap: wrap; padding: 14px; } }
.dl-hours span:first-child { transform: none; } .dl-hours span:last-child { transform: translateX(-100%); }

/* =====================================================================
   v12: contact & support, music experience
   ===================================================================== */
/* contact: the coordinators, the support inbox, then the venue */
.contact .sec-head { margin-bottom: clamp(32px, 4vw, 48px); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; border: 1px solid var(--line-soft); border-top: 2px solid var(--gold); }
.person.no-tel { border-top-color: var(--line); }
.p-role { display: flex; align-items: center; gap: 10px; font: 500 11px/1.4 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.p-role::before { content: ""; width: 6px; height: 6px; flex: none; border: 1px solid currentColor; transform: rotate(45deg); }
.p-name { margin-top: 4px; font: 400 clamp(22px, 1.9vw, 27px)/1.2 var(--f-display); color: var(--text); text-wrap: balance; }
.p-tel { margin-top: 8px; font: 400 clamp(21px, 1.8vw, 25px)/1.2 var(--f-display); font-variant-numeric: tabular-nums; color: var(--gold-hi); text-decoration: none; white-space: nowrap; transition: color 0.3s; }
.p-tel:hover { color: #F1E3C4; }
.p-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.p-acts .btn { flex: 1; min-height: 44px; padding: 0 12px; }
.p-mail { margin-top: auto; padding-top: 18px; font-size: 14.5px; color: var(--mute); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; overflow-wrap: anywhere; transition: color 0.3s; }
.p-mail:hover { color: var(--text); }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } .person { padding: 22px 20px 20px; } }

.mail { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-top: 14px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(57, 5, 23, 0.55), rgba(3, 17, 13, 0.85) 70%); }
.mail .eyebrow { margin-bottom: 10px; }
.mail-addr { font: 400 clamp(28px, 4vw, 52px)/1.1 var(--f-display); color: var(--text); text-decoration: none; overflow-wrap: anywhere; transition: color 0.3s; }
.mail-addr:hover { color: var(--gold-hi); }
.mail-acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .mail-acts { width: 100%; } .mail-acts .btn { flex: 1 1 140px; } }

.venue { margin-top: clamp(56px, 8vw, 104px); }
.venue .eyebrow { margin-bottom: 12px; }
.venue-title { margin-bottom: 22px; font: 400 clamp(30px, 3.4vw, 46px)/1.1 var(--f-display); }

/* music experience: copy and facts beside a stage with a live equaliser */
.music { position: relative; isolation: isolate; overflow: hidden; }
.music::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 55% 70% at 78% 50%, rgba(57, 5, 23, 0.6), transparent 70%), radial-gradient(ellipse 40% 50% at 80% 55%, rgba(216, 193, 154, 0.07), transparent 70%); }
.music-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.music .sec-head { margin-bottom: 32px; }
.music-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stage { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: clamp(320px, 36vw, 460px); padding: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(57, 5, 23, 0.72), rgba(3, 17, 13, 0.92) 70%); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-soft); pointer-events: none; }
.stage > * { position: relative; }
.stage-live { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font: 500 11px/1 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-hi); }
.stage-live i { width: 8px; height: 8px; border-radius: 50%; background: #E2B866; box-shadow: 0 0 0 0 rgba(226, 184, 102, 0.6); }
.music.playing .stage-live i { animation: live 1.6s ease-out infinite; }
.stage .stage-ml { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font: 600 clamp(64px, 8.6vw, 128px)/1.3 var(--f-ml); color: transparent; -webkit-text-stroke: 1px rgba(216, 193, 154, 0.26); white-space: nowrap; pointer-events: none; }
.eq { display: flex; align-items: center; justify-content: space-between; gap: 3px; align-self: center; height: clamp(150px, 16vw, 220px); }
.eq i { flex: 1 1 0; max-width: 9px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #F1E3C4, var(--gold) 42%, #6E5333 50%, var(--gold) 58%, #F1E3C4); transform: scaleY(var(--hi, 0.5)); opacity: 0.92; }
.music.playing .eq i { animation: eq var(--t, 1s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes eq { from { transform: scaleY(var(--lo, 0.2)); } to { transform: scaleY(var(--hi, 0.8)); } }
.stage-cap { font: 500 11px/1.4 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.stage-cap [lang="ml"] { font-size: 14px; letter-spacing: 0.02em; text-transform: none; color: var(--gold-hi); }
@media (max-width: 900px) { .music-grid { grid-template-columns: 1fr; } .stage { min-height: 280px; } }
@media (max-width: 480px) { .music-ctas .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .music.playing .eq i, .music.playing .stage-live i { animation: none; } }

/* links that point to a section rather than open an event */
.ask-note a { font: 500 11.5px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.combo-items a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.combo-items a:hover { color: var(--gold-hi); }

/* free events: in place of a register button, a quiet note that no ticket is needed */
.dlg-free { flex: 1 1 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px dashed var(--gold); font: 500 12px/1.4 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: var(--gold-hi); }
.dlg-free::before { content: ""; width: 7px; height: 7px; flex: none; border: 1px solid currentColor; transform: rotate(45deg); }

/* collaborators: community partners, each logo on an etched plate */
.collab { margin-top: clamp(8px, 2vw, 24px); scroll-margin-top: calc(var(--nav-h) + 20px); }
.tiers:not(:empty) + .collab { margin-top: clamp(40px, 6vw, 72px); }
.collab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .collab-list { grid-template-columns: 1fr; } }
.collab-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 190px; padding: 30px 24px 22px; border: 1px solid var(--line-soft); border-top: 2px solid var(--gold); text-align: center; }
.collab-logo { display: flex; align-items: center; justify-content: center; min-height: 80px; max-width: 100%; }
.collab-logo img { width: auto; height: var(--lh, 60px); max-width: 100%; object-fit: contain; }
/* the caption line is kept even when empty, so every logo sits at the same height */
/* names keep their own casing: uppercasing would turn the µ of µLearn into a capital Greek M */
.collab-name { min-height: 1.4em; font: 500 13px/1.4 var(--f-body); letter-spacing: 0.08em; color: var(--mute); }

/* socials: cards under the support inbox, icons in the footer */
.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 14px; padding: clamp(20px, 2.6vw, 28px) clamp(24px, 3vw, 36px); border: 1px solid var(--line-soft); }
.follow .eyebrow { margin: 0; }
.reach { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 10px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.3s, background-color 0.3s; }
.social:hover { border-color: var(--gold); background: rgba(163, 133, 96, 0.1); }
.social-ico { width: 36px; height: 36px; display: grid; place-items: center; flex: none; color: var(--gold-hi); }
.social-ico svg, .foot-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-ico .fillc, .foot-social .fillc { fill: currentColor; stroke: none; }
.social b { display: block; font: 500 12px/1.2 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.social small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--mute); }
.social i { margin-left: auto; padding-left: 10px; font-style: normal; color: var(--gold); }
@media (max-width: 560px) { .reach { width: 100%; } .reach li { flex: 1 1 100%; } }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-soft); color: var(--gold-hi); transition: border-color 0.3s, color 0.3s; }
.foot-social a:hover { border-color: var(--gold); color: #F1E3C4; }
.foot-social svg { width: 18px; height: 18px; }
.foot-base { align-items: center; }
/* mid widths: the footer nav takes its own row so the dates keep room */
@media (max-width: 1240px) and (min-width: 901px) { .foot-top { grid-template-columns: auto minmax(0, 1fr); } .foot-nav { grid-column: 1 / -1; } }
/* footer links get a finger-sized tap area on phones */
@media (max-width: 760px) { .foot-nav { gap: 0 22px; } .foot-nav a { display: inline-block; padding: 12px 0; } }
ld); }
@media (max-width: 560px) { .reach { width: 100%; } .reach li { flex: 1 1 100%; } }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-soft); color: var(--gold-hi); transition: border-color 0.3s, color 0.3s; }
.foot-social a:hover { border-color: var(--gold); color: #F1E3C4; }
.foot-social svg { width: 18px; height: 18px; }
.foot-base { align-items: center; }
/* mid widths: the footer nav takes its own row so the dates keep room */
@media (max-width: 1240px) and (min-width: 901px) { .foot-top { grid-template-columns: auto minmax(0, 1fr); } .foot-nav { grid-column: 1 / -1; } }
/* footer links get a finger-sized tap area on phones */
@media (max-width: 760px) { .foot-nav { gap: 0 22px; } .foot-nav a { display: inline-block; padding: 12px 0; } }
