/* Srinikesh Fireworks: Home page. True black, huge tight type, one accent that follows the chapter. */
.page-home { --bg: #000; }
#sky { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.story-scroll { position: relative; z-index: 1; }
.after-story { position: relative; z-index: 2; }
.page-home .footer { position: relative; z-index: 2; margin-top: 0; }
#sky { transition: opacity .8s var(--ease); }
#sky.is-off { opacity: 0; }
/* chapters overlap a little, so the story takes less scrolling */
.nav-progress, .link, .btn-primary, .badge { transition: background-color .8s var(--ease), color .8s var(--ease); }

/* ---------- chapters (default: plain sections with all text visible; .scrub adds the pinned staging) */
.chapter { position: relative; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 96px 24px calc(48px + var(--bar-h)); overflow: hidden; text-align: center; }
.scrub .stage { height: 100vh; height: 100svh; }
.sub { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); margin-top: 18px; }
.copy { max-width: 1100px; }
.copy-top { align-self: center; margin-bottom: auto; padding-top: 4vh; }

.ch-hero .stage { justify-content: center; }
.hero-copy { margin-top: -9vh; display: grid; justify-items: center; }
.emblem-hero { width: clamp(84px, 9vw, 128px); margin-bottom: 14px; }
.hero-facts { margin-top: 30px; color: var(--muted); }
.hero-offer { display: none; }
.altitude { display: none; }
.offer-direct { font-size: clamp(14px, 1.3vw, 18px); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
html:lang(ta) .offer-direct { letter-spacing: 0; text-transform: none; }
.offer-min { color: var(--muted); font-size: 15px; }
html:not(.scrub) .ch-show .stage { height: auto; gap: 12vh; }
html:not(.scrub) .hero-copy { min-height: 78svh; align-content: center; margin-top: 0; }
.scrub .altitude { display: grid; }
.scrub .hero-offer { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 2px; padding: 14px 18px 14px 20px; border-radius: 18px 0 0 18px; border: 1px solid rgba(245, 196, 81, .5); border-right: 0; background: rgba(20, 20, 22, .72); text-align: left; }
.hero-offer strong { font-size: 22px; letter-spacing: -.02em; color: var(--gold); line-height: 1.1; }
.hero-offer > span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html:lang(ta) .hero-offer > span { letter-spacing: 0; text-transform: none; font-size: 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero-sub { margin-top: 18px; font-size: clamp(18px, 2vw, 28px); font-style: italic; color: var(--gold); }
.scroll-hint { position: absolute; left: 50%; bottom: calc(26px + var(--bar-h)); transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
html:lang(ta) .scroll-hint { letter-spacing: 0; font-size: 13px; }
.sound { position: absolute; right: 24px; bottom: calc(18px + var(--bar-h)); min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sound[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }

.ch-ascent .stage { align-items: stretch; text-align: left; }
.copy-left { align-self: flex-start; max-width: 560px; padding-left: clamp(0px, 6vw, 96px); }
.altitude { position: absolute; right: clamp(24px, 8vw, 120px); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; text-align: right; }
.alt-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
html:lang(ta) .alt-label { letter-spacing: 0; font-size: 14px; }
.alt-num { font-size: clamp(34px, 5vw, 72px); font-weight: 500; letter-spacing: -.04em; color: var(--accent); line-height: 1; }




.hero-title { font-size: clamp(42px, 7.6vw, 104px); line-height: 1; text-wrap: balance; margin-inline: auto; }
html:lang(ta) .hero-title { font-size: clamp(34px, 6.4vw, 92px); line-height: 1.3; max-width: none; }
.offer { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 34px 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .78), rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, 0)); }
.offer-line { display: flex; flex-wrap: nowrap; white-space: nowrap; align-items: baseline; justify-content: center; gap: 0 .26em; color: #fff; font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.offer-num, .offer-word { font-size: clamp(40px, 8vw, 116px); }
.offer-word sup { font-size: .5em; color: var(--gold); margin-left: .04em; vertical-align: super; }
.offer-pre { font-size: clamp(18px, 2vw, 26px); font-weight: 600; color: var(--gold); letter-spacing: 0; margin-right: .3em; }
.offer-sub { font-size: clamp(15px, 1.5vw, 21px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html:lang(ta) .offer-line { letter-spacing: 0; line-height: 1.25; }
html:lang(ta) .offer-num, html:lang(ta) .offer-word { font-size: clamp(30px, 5.6vw, 80px); }
html:lang(ta) .offer-sub { letter-spacing: 0; text-transform: none; line-height: 1.5; }
.offer-tc { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.scrub .ch-show .offer { position: absolute; left: 0; right: 0; top: 40%; width: min(1100px, 100% - 16px); margin: 0 auto; }
.scrub .ch-show .offer-tc { position: absolute; left: calc(50% + 27vmin); top: calc(40% + 25vmin); margin: 0; }
.offer-more { display: grid; justify-items: center; gap: 18px; }
.offer-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font-size: clamp(15px, 1.3vw, 18px); color: var(--text); }
.offer-facts li + li { position: relative; }
.offer-facts li + li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.scrub .ch-show .offer-more { position: absolute; left: 0; right: 0; bottom: calc(4vh + var(--bar-h)); padding-inline: 16px; }
.ch-quiet { display: grid; place-items: center; padding: clamp(44px, 8vh, 96px) 24px clamp(36px, 6vh, 72px); text-align: center; }
.quiet-line { font-size: clamp(28px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
html:lang(ta) .quiet-line { letter-spacing: 0; line-height: 1.5; font-size: clamp(22px, 3.4vw, 46px); }

/* ---------- scrubbed staging (JS on, motion allowed) */
@media (min-width: 821px) {
}

/* ---------- Ways in */
.ways { padding-top: 8px; }
.band { border-block: 1px solid rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: clamp(44px, 6vw, 80px); }
.band-track { display: flex; flex-wrap: wrap; gap: 0 4px; padding: 10px 16px; }
.band a { display: block; padding: 10px 16px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.band a:hover, .band a:focus-visible { color: var(--text); }
.band.is-moving .band-track { flex-wrap: nowrap; width: max-content; padding-inline: 0; animation: band 90s linear infinite; }
.band.is-moving:hover .band-track, .band.is-moving:focus-within .band-track { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }
.ways .headline, .story .headline, .safety .headline, .contact .headline { margin-bottom: clamp(32px, 4vw, 56px); max-width: 16ch; }
html:lang(ta) .ways .headline, html:lang(ta) .story .headline, html:lang(ta) .safety .headline, html:lang(ta) .contact .headline { max-width: 22ch; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w-in { display: inline-block; }
html:lang(ta) .w { padding-top: .2em; margin-top: -.2em; }
.seg-tabs { margin-bottom: 36px; }
.panel:focus-visible { outline-offset: 8px; }
.panel-title { font-size: 20px; margin-bottom: 18px; }
.js .panel-title { display: none; }
.no-js .panel { margin-bottom: 48px; }
.ways-tour { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Our Story */
.story, .safety, .contact { padding-top: clamp(110px, 16vw, 220px); }
.story-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.story-body { display: grid; gap: 20px; color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); max-width: 64ch; }
.story-body .lead { color: var(--text); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -.01em; }
html:lang(ta) .story-body .lead { letter-spacing: 0; line-height: 1.7; }
.story-photos, .place-photos { display: grid; gap: 16px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(64px, 8vw, 110px); }
.values li { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.values strong { color: var(--text); font-size: 20px; letter-spacing: -.02em; }
html:lang(ta) .values strong { letter-spacing: 0; font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 clamp(48px, 6vw, 80px); }
.stats div { display: flex; flex-direction: column; gap: 6px; }
.stats dd { font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -.05em; font-weight: 500; color: var(--text); }
.stats .stat-word { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.035em; line-height: 1.05; display: flex; align-items: flex-end; min-height: clamp(44px, 7vw, 104px); }
html:lang(ta) .stats .stat-word { letter-spacing: 0; font-size: clamp(20px, 2.6vw, 36px); line-height: 1.4; }
.stats dt { font-size: 14px; color: var(--dim); }
.story .eyebrow { margin: clamp(48px, 6vw, 80px) 0 22px; }
.founders { margin-bottom: clamp(56px, 7vw, 96px); }
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: 28px; }
.founders li { display: grid; gap: 4px; }
.founders .slot { margin-bottom: 12px; }
.founder-name { font-size: 22px; letter-spacing: -.02em; }
.founder-title { color: var(--muted); font-size: 15px; }
.gallery { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }

/* ---------- Safety */
.safety-list { counter-reset: safe; display: grid; max-width: 900px; }
.safety-list li { counter-increment: safe; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -.01em; }
html:lang(ta) .safety-list li { letter-spacing: 0; line-height: 1.7; font-size: clamp(16px, 1.4vw, 20px); }
.safety-list li::before { content: counter(safe, decimal-leading-zero); font: 500 13px/1 var(--mono); color: var(--accent); }

/* ---------- Contact */
.contact-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.action { display: grid; align-content: start; gap: 8px; padding: 28px 28px 32px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.action + .action { padding-left: 28px; border-left: 1px solid var(--line); }
.action .ico { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.action strong { color: var(--text); font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
html:lang(ta) .action strong { letter-spacing: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; }
a.action:hover strong { color: var(--accent); }
.phones { display: grid; gap: 12px; margin-top: 8px; }
.phones li { display: grid; gap: 0; font-size: 14px; }
.phones a { font-size: 19px; color: var(--text); padding: 4px 0; }
.phones a:hover { color: var(--accent); }
.contact-place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); margin-top: 56px; align-items: start; }
address { font-style: normal; display: grid; gap: 6px; color: var(--muted); justify-items: start; }
address span:first-of-type { color: var(--text); font-size: 20px; font-weight: 600; }
address .link { margin-top: 10px; padding: 6px 0; }
.place-photos { grid-template-columns: 1fr 1fr; }
.contact { padding-bottom: 40px; }

@media (max-width: 820px) {
  .stage { padding: 84px 20px calc(28px + var(--bar-h)); gap: 18px; }
  .hero-copy { margin-top: -12vh; }
  .hero-title { max-width: 9ch; }
  .hero-facts { margin-top: 20px; font-size: 14px; }
  .scrub .hero-offer { top: 74px; transform: none; padding: 7px 10px 7px 12px; border-radius: 12px 0 0 12px; }
  .hero-offer strong { font-size: 14px; }
  .hero-offer > span { font-size: 9px; }
  .sound { right: 14px; }
  .ch-ascent .stage { justify-content: flex-start; }
  .copy-left { padding-top: 4vh; }
  .altitude { top: auto; bottom: calc(13vh + var(--bar-h)); right: 22px; transform: none; }
  .scrub .ch-show .offer { top: 36%; padding: 18px 10px 22px; }
  .scrub .ch-show .offer-tc { left: auto; right: 14px; top: calc(36% + 47vw); }
  .offer-facts { flex-direction: column; align-items: center; gap: 4px; }
  .offer-facts li + li::before { display: none; }
  .scrub .ch-show .offer-more { bottom: calc(2.5vh + var(--bar-h)); gap: 12px; }
  .story-cols, .contact-place { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 0; }
  .values li { padding: 18px 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .founders { grid-template-columns: 1fr 1fr; gap: 16px; }
  .founder-name { font-size: 18px; }
  .contact-actions { grid-template-columns: 1fr; }
  .action, .action + .action { padding: 24px 0 26px; border-left: 0; }
  .safety-list li { grid-template-columns: 40px 1fr; padding: 16px 0; }
  .slot-gallery { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .band.is-moving .band-track { animation: none; flex-wrap: wrap; width: auto; }
}
