/* =========================================================
   Startup Thanjavur 2026 — styles
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --midnight: #071A35;
  --midnight-2: #0C2449;
  --royal: #1264C5;
  --sky: #68B9F5;
  --gold: #F4B92E;
  --gold-soft: #FFE3A1;
  --white: #F8FAFD;
  --pure: #FFFFFF;
  --slate: #56657F;
  --slate-light: #A9B7CE;
  --line: #E1E7F0;

  /* Dark event theme */
  --ink: #050D1F;
  --ink-2: #0A1730;
  --text-dim: #B4C2D9;
  --stroke: rgba(255,255,255,.1);
  --glass: rgba(255,255,255,.04);
  --grad-gold: linear-gradient(100deg, #FFE3A1 0%, #F4B92E 55%, #F09E1C 100%);
  --grid: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px,
          linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px;

  /* Type */
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", Arial, sans-serif;

  /* Radii (consistent scale) */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t-fast: .25s;
  --t-med: .45s;

  --nav-h: 76px;
  --gutter: clamp(1rem, 3.5vw, 3rem);
  --sec-pad: clamp(3rem, 6vw, 5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--pure);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--midnight); padding: .7rem 1rem;
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.container {
  width: min(1680px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .18em;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--sky { color: var(--sky); text-transform: uppercase; }

.display {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display--light { color: var(--pure); }
.grad {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.section { position: relative; isolation: isolate; padding: var(--sec-pad) 0; }
/* faint engineering grid, fading out from the top of each section */
.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grid);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
}

/* Nav jumps land with the section's content just under the navbar */
.section, .registration { scroll-margin-top: calc(1rem - var(--sec-pad)); }
#venue { scroll-margin-top: 1rem; }
#top { scroll-margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--midnight); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem;
  border-radius: var(--r-pill); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 19px; height: 19px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--t-med) var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold { --bg: var(--gold); --fg: var(--midnight); background: var(--grad-gold); box-shadow: 0 10px 30px -12px rgba(244,185,46,.6); }
.btn--ghost { --bg: rgba(255,255,255,.06); --fg: var(--pure); --bd: rgba(255,255,255,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline { --bg: var(--glass); --fg: var(--pure); --bd: rgba(255,255,255,.28); }

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(244,185,46,.8); }
  .btn--gold:hover svg { transform: rotate(-12deg); }
  .btn--ghost:hover { --bg: rgba(255,255,255,.14); --bd: var(--pure); transform: translateY(-2px); }
  .btn--ghost:hover svg { transform: translateY(3px); }
  .btn--outline:hover { --bg: rgba(255,255,255,.1); --bd: var(--gold); transform: translateY(-2px); }
  .btn--outline:hover svg { transform: scale(1.1); }
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); }

.nav__logos {
  display: inline-flex; align-items: center; gap: .85rem;
  background: var(--pure); padding: .45rem .9rem; border-radius: var(--r-sm);
  box-shadow: 0 6px 20px -10px rgba(7,26,53,.5);
  text-decoration: none; flex: none;
  transition: transform var(--t-fast) var(--ease);
}
.nav__logos img { height: 40px; width: auto; }
.nav__org { display: flex; border-radius: 6px; }
.nav__divider { width: 1px; height: 28px; background: var(--line); }
.nav__brand {
  display: inline-flex; align-items: center; flex: none;
  background: var(--pure); padding: .45rem .9rem; border-radius: var(--r-sm);
  box-shadow: 0 6px 20px -10px rgba(7,26,53,.5);
  transition: transform var(--t-fast) var(--ease);
}
.nav__brand img { height: 40px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 2.25rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  position: relative; display: inline-block; white-space: nowrap; padding: .4rem 0;
  font-size: .97rem; font-weight: 600; text-decoration: none;
  color: rgba(255,255,255,.88); transition: color var(--t-fast);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after,
.nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover { color: var(--pure); }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1.05rem; border-radius: var(--r-pill);
  background: var(--grad-gold); color: var(--midnight);
  font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--midnight); position: relative; }
.badge__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--midnight); opacity: 0; animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

@media (hover: hover) and (pointer: fine) {
  .badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(244,185,46,.9); }
  .nav__logos:hover, .nav__brand:hover { transform: translateY(-1px); }
}

/* Scrolled state */
.nav.is-scrolled {
  background: rgba(5,13,31,.78);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--stroke), 0 20px 40px -30px rgba(0,0,0,.8);
}

/* Mobile toggle */
.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--r-sm);
  border: 0; background: rgba(255,255,255,.12); color: var(--pure); cursor: pointer;
  place-items: center;
  transition: background-color var(--t-fast);
}
.nav.is-scrolled .nav__toggle { background: rgba(255,255,255,.1); }
.nav__bars { position: relative; width: 22px; height: 16px; }
.nav__bars i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__bars i:nth-child(1) { top: 0; }
.nav__bars i:nth-child(2) { top: 7px; }
.nav__bars i:nth-child(3) { top: 14px; }
.nav__toggle[aria-expanded="true"] .nav__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars i:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(700px, 100svh);
  display: flex; align-items: center;
  color: var(--pure); background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%;
  transform: scale(1);
  animation: heroImg 2s var(--ease) .05s forwards;
}
@keyframes heroImg { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
/* Wide screens: fit the photo to the hero height, anchored right, left edge fades into the dark shade */
@media (min-width: 681px) and (min-aspect-ratio: 3/2) {
  .hero__img {
    position: absolute; right: 0; top: 0; width: auto; height: 100%; max-width: none;
    object-fit: cover; object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.5) 18%, #000 45%);
            mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.5) 18%, #000 45%);
  }
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--ink) 0%, rgba(5,13,31,0) 30%),
    radial-gradient(50% 60% at 8% 85%, rgba(18,100,197,.35), transparent 70%),
    linear-gradient(90deg, rgba(5,13,31,.97) 0%, rgba(5,13,31,.88) 30%, rgba(5,13,31,.5) 58%, rgba(5,13,31,.08) 85%);
}
.hero__shade::after {
  content: ""; position: absolute; inset: 0; background: var(--grid);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 45%, transparent 70%);
          mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 45%, transparent 70%);
}

.hero__content { padding: calc(var(--nav-h) + .25rem) 0 5rem; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-weight: 700; font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.15; letter-spacing: -.025em;
  max-width: 24ch;
}

.hero__heading { font: inherit; }
.hero__title, .hero__brand { display: block; }
.hero__brand {
  margin-top: .6rem; width: fit-content;
  font-weight: 700; font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: .98; letter-spacing: -.04em; color: var(--pure);
  background: linear-gradient(100deg, #FFF 0%, #FFF 50%, var(--gold-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(5,13,31,.75));
  cursor: default;
}
.hero__brand-star {
  display: inline-block; width: .78em; height: .78em; margin: 0 .02em;
  vertical-align: -.04em; fill: var(--gold);
  transition: transform .6s var(--ease);
}
.hero__brand:hover .hero__brand-star { transform: rotate(90deg); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:nth-child(2) > span { color: var(--gold-soft); }

.hero__lede {
  max-width: 46ch; margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #D4DEEE; line-height: 1.6;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.hero__meta li {
  display: flex; align-items: center; gap: .6rem; font-size: 1rem; color: #E9EFF8;
  padding: .55rem 1rem .55rem .8rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid var(--stroke);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__meta svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__meta strong { font-weight: 700; color: var(--pure); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.4rem; }

.hero__tag {
  position: absolute; right: clamp(1.25rem, 5vw, 4.5rem); bottom: clamp(5rem, 15vh, 8rem);
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.2rem .9rem .95rem; border-radius: var(--r-md);
  background: rgba(5,13,31,.55); border: 1px solid rgba(244,185,46,.45);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7), 0 0 40px -12px rgba(244,185,46,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: floatTag 6s cubic-bezier(.45, 0, .55, 1) 2s infinite;
  will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0);
}
.hero__tag-day {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--grad-gold); color: var(--midnight); font-weight: 700; font-family: var(--font-display); font-size: 1.5rem;
}
.hero__tag-text { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; color: #E1E9F6; }
.hero__tag-text b { font-size: 1.05rem; color: var(--pure); }
.hero__tag-count {
  margin-top: .3rem; padding-top: .3rem; border-top: 1px solid rgba(255,255,255,.22);
  font-size: .82rem; font-weight: 700; color: var(--gold); letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  min-width: 15ch; -webkit-font-smoothing: antialiased;
}
.hero__tag-count:empty { display: none; }
.hero__spark {
  position: absolute; right: 30%; top: 22%; width: 22px; height: 22px; fill: var(--gold); opacity: .9;
  animation: float 7s ease-in-out infinite reverse;
}
@keyframes floatTag { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero load sequence */
.js .hero__eyebrow, .js .hero__brand, .js .hero__lede, .js .hero__meta, .js .hero__actions, .js .hero__tag {
  opacity: 0; transform: translateY(18px);
}
.js .hero__title .line > span { transform: translateY(110%); }
.js.is-loaded .hero__title .line > span { transform: none; transition: transform 1s var(--ease); }
.js.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js.is-loaded .hero__eyebrow,
.js.is-loaded .hero__brand,
.js.is-loaded .hero__lede,
.js.is-loaded .hero__meta,
.js.is-loaded .hero__actions { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.is-loaded .hero__brand { transition-delay: .25s; }
.js.is-loaded .hero__lede { transition-delay: .35s; }
.js.is-loaded .hero__meta { transition-delay: .45s; }
.js.is-loaded .hero__actions { transition-delay: .55s; }
.js.is-loaded .hero__tag { opacity: 1; transform: none; transition: opacity .9s var(--ease) .8s, transform .9s var(--ease) .8s; }

/* =========================================================
   OVERVIEW
   ========================================================= */
.overview__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.overview::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -20vw; top: -10%;
  background: radial-gradient(closest-side, rgba(18,100,197,.22), transparent);
}
.overview { overflow: hidden; }
.overview .display { max-width: 14ch; }
.overview__copy p { color: var(--text-dim); max-width: 56ch; font-size: 1.1rem; }
.overview__copy p + p { margin-top: 1.1rem; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem); counter-reset: pillar;
}
/* a connected journey: hover a stage to light the path up to it */
.pillar {
  position: relative; counter-increment: pillar;
  padding: 3.25rem 2rem 0 0;
  background: linear-gradient(var(--stroke), var(--stroke)) 0 11px / 100% 2px no-repeat;
}
.pillar:last-child { background-size: 0 0; }
.pillar::before {
  content: ""; position: absolute; top: 11px; left: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.pillar:last-child::before { display: none; }
.pillar::after {
  content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); border: 2px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 12px var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.pillar__word {
  display: block; font-weight: 700; font-family: var(--font-display); letter-spacing: -.03em;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; color: var(--pure);
  transition: color var(--t-med);
}
.pillar__word::before {
  content: "0" counter(pillar); display: block; margin-bottom: .55rem;
  font-size: .82rem; font-weight: 700; font-family: var(--font-display); letter-spacing: .18em; color: var(--gold);
}
.pillar__text { display: block; margin-top: .6rem; color: var(--text-dim); max-width: 32ch; }
@media (hover: hover) and (pointer: fine) {
  /* hovered stage: current node. Earlier stages: gold node + gold line leading to it */
  .pillar:hover::after { border-color: var(--sky); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 12px var(--sky), 0 0 20px rgba(104,185,245,.6); transform: scale(1.25); }
  .pillar:hover .pillar__word { color: var(--sky); }
  .pillar:has(~ .pillar:hover)::after { border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 12px var(--gold); }
  .pillar:has(~ .pillar:hover)::before { transform: scaleX(1); }
}

/* =========================================================
   HIGHLIGHTS
   ========================================================= */
.highlights {
  background: radial-gradient(60% 50% at 0% 100%, rgba(244,185,46,.08), transparent 70%), var(--ink-2);
  border-block: 1px solid var(--stroke);
}
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head .display { max-width: 18ch; }

.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: hl; }
.hl {
  position: relative; overflow: hidden; counter-increment: hl;
  padding: 2rem 1.75rem 2.1rem;
  border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--stroke);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              border-color var(--t-med), background-color var(--t-med);
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.hl::before {
  content: "0" counter(hl); position: absolute; top: 1.1rem; right: 1.4rem;
  font-weight: 700; font-family: var(--font-display); font-size: 3rem; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  transition: -webkit-text-stroke-color var(--t-med);
}
.hl__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: rgba(244,185,46,.1); border: 1px solid rgba(244,185,46,.35); color: var(--gold); margin-bottom: 1.5rem;
  transition: background-color var(--t-med), color var(--t-med), transform var(--t-med) var(--ease);
}
.hl__icon svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease);
}
.hl h3 { font-weight: 700; font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -.015em; line-height: 1.25; }
.hl p { margin-top: .5rem; color: var(--text-dim); font-size: .98rem; }

@media (hover: hover) and (pointer: fine) {
  .hl:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(244,185,46,.45); box-shadow: 0 30px 60px -30px rgba(244,185,46,.35); }
  .hl:hover::after { transform: scaleX(1); }
  .hl:hover::before { -webkit-text-stroke-color: rgba(244,185,46,.6); }
  .hl:hover .hl__icon { background: var(--gold); border-color: var(--gold); color: var(--midnight); transform: rotate(-6deg); }
  .hl:hover .hl__icon svg { transform: scale(1.12) rotate(6deg); }
}

/* =========================================================
   PAST SPEAKERS
   ========================================================= */
.section-head__lede { max-width: 60ch; color: var(--text-dim); font-size: 1.05rem; }

.spk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.spk {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--stroke);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), background-color var(--t-med), box-shadow var(--t-med) var(--ease);
}
.spk__mono {
  display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 1.4rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; color: var(--pure);
  border: 2px solid transparent;
  background:
    radial-gradient(circle at 30% 25%, rgba(104,185,245,.35), rgba(18,100,197,.25) 45%, var(--ink-2) 80%) padding-box,
    linear-gradient(135deg, var(--gold), rgba(104,185,245,.7)) border-box;
  transition: transform var(--t-med) var(--ease);
}
.spk__mono--photo { overflow: hidden; }
.spk__mono--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.spk__name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.015em; }
.spk__role { margin: .35rem 0 1.25rem; color: var(--text-dim); font-size: .95rem; line-height: 1.45; }
/* whole card opens the speaker's LinkedIn; the company link sits above that overlay */
.spk__link { color: inherit; text-decoration: none; }
.spk__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-md); }
.spk__link:focus-visible { outline: none; }
.spk__link:focus-visible::after { outline: 3px solid var(--gold); outline-offset: 3px; }
.spk__li {
  position: absolute; top: 1.4rem; right: 1.4rem; width: 20px; height: 20px;
  fill: var(--text-dim); transition: fill var(--t-fast);
}
.spk__org {
  position: relative; z-index: 2;
  color: var(--gold-soft); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease), color var(--t-fast);
}
.spk__org:hover, .spk__org:focus-visible { color: var(--gold); background-size: 100% 1px; }
.spk__tag {
  align-self: flex-start; margin-top: auto; padding: .3rem .7rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--sky); white-space: nowrap;
  background: rgba(104,185,245,.08); border: 1px solid rgba(104,185,245,.28);
}
@media (hover: hover) and (pointer: fine) {
  .spk:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(244,185,46,.45); box-shadow: 0 30px 60px -30px rgba(244,185,46,.35); }
  .spk:hover .spk__mono { transform: scale(1.06) rotate(-4deg); }
  .spk:hover .spk__li { fill: #0A66C2; }
}

/* =========================================================
   REGISTRATION
   ========================================================= */
.registration {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--midnight); color: var(--pure);
  padding: var(--sec-pad) 0;
}
.registration::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(18,100,197,.55), transparent 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(244,185,46,.14), transparent 70%),
    var(--grid);
}
.registration__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.registration .display { max-width: 15ch; }

.announce {
  display: inline-block; margin-top: 1.75rem;
  padding: .8rem 1.1rem; border-radius: var(--r-sm);
  border: 1.5px solid rgba(244,185,46,.6); background: rgba(244,185,46,.08);
  color: var(--gold); font-weight: 700; font-family: var(--font-display);
  font-size: clamp(.95rem, 1.6vw, 1.15rem); letter-spacing: .06em; line-height: 1.35;
}
.registration__text { margin-top: 1.4rem; max-width: 48ch; color: #C7D3E6; font-size: 1.1rem; }
.registration__cta { margin-top: 2rem; }
.registration__hint { margin-top: .85rem; font-size: .92rem; color: var(--slate-light); max-width: 44ch; }

.countdown {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10,23,48,.92), rgba(10,23,48,.92)) padding-box,
    linear-gradient(135deg, rgba(244,185,46,.7), rgba(104,185,245,.25) 50%, rgba(255,255,255,.08)) border-box;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 60px -20px rgba(244,185,46,.25);
}
.countdown__label { font-weight: 700; color: var(--pure); font-size: 1.05rem; }
.countdown__cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin-top: 1.25rem; }
.countdown__cell {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: 1.1rem .4rem; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid var(--stroke);
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.countdown__num {
  font-weight: 700; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--gold);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.countdown__unit { font-size: .8rem; color: var(--slate-light); }
.countdown__note { margin-top: 1.1rem; font-size: .88rem; color: var(--slate-light); }
@media (hover: hover) and (pointer: fine) {
  .countdown__cell:hover { background: rgba(244,185,46,.14); transform: translateY(-3px); }
}
.countdown.is-open .countdown__cells, .countdown.is-open .countdown__note { display: none; }
.countdown__open { margin-top: .75rem; color: #C7D3E6; }

/* =========================================================
   DETAILS & VENUE
   ========================================================= */
.details__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.details__info .display { margin-top: 1rem; }
.details { overflow: hidden; }
.details::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 50vw; height: 50vw; max-width: 760px; max-height: 760px; right: -10vw; bottom: -20%;
  background: radial-gradient(closest-side, rgba(244,185,46,.12), transparent);
}
.facts { margin: 2.25rem 0 2.25rem; border-top: 1px solid var(--stroke); }
.facts__row {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--stroke);
}
.facts dt { font-size: .92rem; font-weight: 600; color: var(--text-dim); }
.facts dd { font-weight: 700; font-size: 1.15rem; font-family: var(--font-display); }
.text-link {
  color: var(--royal); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 2px; }

.venue { margin: 0; }
.venue__frame {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  aspect-ratio: 920 / 494; background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--stroke), 0 50px 90px -45px rgba(0,0,0,.9), 0 0 80px -30px rgba(18,100,197,.5);
}
.venue__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.venue figcaption { margin-top: 1rem; font-size: .92rem; color: var(--text-dim); }
.venue__directions { margin-top: 1.25rem; }
@media (hover: hover) and (pointer: fine) {
  .venue__frame:hover img { transform: scale(1.05); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__grid > .section-head { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq__list { display: grid; gap: .75rem; }
.faq__item {
  border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--stroke);
  transition: border-color var(--t-med), background-color var(--t-med);
}
.faq__item[open] { border-color: rgba(244,185,46,.4); background: rgba(255,255,255,.06); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none; border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(244,185,46,.45); color: var(--gold); font-size: 1.15rem; font-weight: 500;
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); background: rgba(244,185,46,.12); }
.faq__a { padding: 0 1.35rem 1.3rem; color: var(--text-dim); max-width: 68ch; }
.faq__a a { color: var(--gold-soft); text-underline-offset: 3px; }
.faq__a a:hover { color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .faq__q:hover::after { background: rgba(244,185,46,.12); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: #030914; color: #C7D3E6; padding: clamp(3.5rem, 7vw, 5rem) 0 calc(1rem + env(safe-area-inset-bottom, 0px)); }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--sky) 70%, transparent);
  opacity: .7;
}
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__name { font-weight: 700; font-family: var(--font-display); font-size: 1.6rem; color: var(--pure); letter-spacing: -.02em; }
.footer__tagline { margin-top: .3rem; color: var(--gold); font-weight: 600; }
.footer__logos { display: flex; align-items: center; gap: .75rem; margin-top: 1.6rem; }
.footer__org { display: block; border-radius: var(--r-sm); }
.footer__logos img {
  height: 76px; width: auto; padding: .6rem .9rem; border-radius: var(--r-sm); background: var(--pure);
  transition: transform var(--t-fast) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .footer__logos img:hover { transform: translateY(-3px); } }
.footer__facts { display: grid; gap: 1.1rem; align-content: start; }
.footer__facts dt { font-size: .85rem; color: var(--slate-light); }
.footer__facts dd { color: var(--pure); font-weight: 600; }
.footer__facts a { text-decoration: none; color: var(--pure); border-bottom: 1px solid rgba(244,185,46,.6); transition: color var(--t-fast); }
.footer__facts a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .9rem; }
.footer__bottom p { min-width: 0; }
.footer__top-link {
  flex: none;
  display: grid; place-items: center; width: 36px; height: 36px; margin-block: -6px; border-radius: 50%;
  background: var(--gold); color: var(--midnight); text-decoration: none;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast);
}
.footer__top-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .footer__top-link:hover { background: #FFC845; transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(244,185,46,.85); }
}

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 70;
  max-width: calc(100% - 2rem);
  padding: .85rem 1.2rem; border-radius: var(--r-sm);
  background: var(--ink-2); color: var(--pure); font-size: .95rem; border: 1px solid var(--stroke);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  transform: translate(-50%, 160%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s .45s;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__inner { gap: .75rem; }
  .nav__links { gap: 1rem; }
  .nav__links a { font-size: .9rem; }
  .nav__menu { gap: 1rem; }
  .badge { padding: .55rem .85rem; font-size: .82rem; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__spark { display: none; }
  .spk-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  :root { --nav-h: 68px; }
  .nav__toggle { display: grid; }
  .nav__brand { margin-left: auto; }
  .nav__menu {
    position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--ink-2);
    box-shadow: 0 24px 40px -24px rgba(0,0,0,.8);
    border-top: 1px solid var(--stroke);
    opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav__menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: .95rem 0; color: var(--pure); border-bottom: 1px solid var(--stroke); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .badge { justify-content: center; min-height: 52px; font-size: 1rem; }
  .nav.menu-open { background: var(--ink-2); }

  .overview__grid, .registration__grid, .details__grid, .footer__top { grid-template-columns: 1fr; }
  .overview .display, .registration .display { max-width: 20ch; }
  .venue { order: -1; }
  .spk-grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 0; }
  .faq__grid > .section-head { position: static; }
}

@media (max-width: 680px) {
  .nav__logos { gap: .6rem; padding: .35rem .65rem; }
  .nav__logos img { height: 30px; }
  .nav__divider { height: 22px; }
  .nav__brand { padding: .35rem .65rem; }
  .nav__brand img { height: 30px; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: clamp(320px, 52vh, 440px); z-index: 0; }
  .hero__img { object-position: 64% 60%; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(5,13,31,.6) 0%, rgba(5,13,31,0) 28%, rgba(5,13,31,0) 55%, var(--ink) 100%);
  }
  .hero__content { position: relative; z-index: 1; margin-top: -3rem; padding: 0 0 2.5rem; }
  .hero__title { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  /* date tag sits on the same row as the "THANJAVUR • 2026" eyebrow */
  .hero__tag {
    --media-h: clamp(320px, 52vh, 440px);
    top: calc(var(--media-h) - 3rem - .2rem); bottom: auto; right: var(--gutter);
    gap: .55rem; padding: .3rem .7rem .3rem .3rem; border-radius: var(--r-sm);
    animation: none;
  }
  .hero__tag-day { width: 32px; height: 32px; border-radius: 8px; font-size: 1.05rem; }
  .hero__tag-text { font-size: .72rem; line-height: 1.2; }
  .hero__tag-text b { font-size: .82rem; }
  .hero__tag-count { display: none; }

  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:last-child { padding: 0 0 2.25rem 3.25rem; background: none; }
  .pillar::before, .pillar:last-child::before { display: block; top: 28px; bottom: 0; left: 11px; width: 2px; height: auto; transform: none; background: var(--stroke); }
  .pillar:last-child::before { display: none; }
  .pillar:last-child { padding-bottom: 0; }
  .pillar::after { top: 2px; }

  .hl-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hl { padding: 1.5rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: start; }
  .hl__icon { margin-bottom: 0; width: 50px; height: 50px; grid-row: span 2; }
  .hl::before { display: none; }
  .hl p { margin-top: .3rem; }

  .spk-grid { gap: .75rem; }
  .spk { padding: 1.25rem 1rem; }
  .spk__mono { width: 60px; height: 60px; font-size: 1.25rem; margin-bottom: 1rem; }
  .spk__name { font-size: 1.05rem; }
  .spk__role { font-size: .86rem; }
  .spk__tag { font-size: .72rem; }

  .countdown__cells { gap: .45rem; }
  .countdown__cell { padding: .9rem .2rem; }
  .registration__cta .btn { width: 100%; }

  .facts__row { grid-template-columns: 1fr; gap: .2rem; }
  .details .btn { width: 100%; }
  .footer__logos img { height: 56px; }
}

@media (max-width: 340px) {
  .hero__eyebrow::before { display: none; }
  .hero__tag-text { font-size: 0; }
  .hero__tag-text b { font-size: .8rem; }
}

@media (max-width: 380px) {
  .nav__logos img { height: 26px; }
  .nav__brand { padding: .35rem .5rem; }
  .nav__brand img { height: 24px; }
  .announce { letter-spacing: .03em; }
  .countdown__unit { font-size: .72rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__img { transform: none; opacity: 1; }
  .js .reveal, .js .hero__eyebrow, .js .hero__brand, .js .hero__lede, .js .hero__meta, .js .hero__actions, .js .hero__tag { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
}
