/* ===========================================================
   SIH Internal Hackathon 2026 — iLEAD
   Design tokens — 4 colors only, drawn from the tricolour:
   saffron + emerald as the two accents, ink + paper as the
   two neutrals (ink standing in for the Ashoka Chakra navy).
=========================================================== */
:root {
  --ink: #0B1220;
  --ink-2: #121C30;
  --ink-3: #1B2A45;
  --paper: #FBF7EE;
  --paper-2: #F1EADA;
  --saffron: #FF7A1E;
  --saffron-dark: #DB5D0B;
  --saffron-light: #FFB37A;
  --emerald: #0E7C66;
  --emerald-light: #2FBE9F;
  --text-dark: #12182A;
  --text-dim: #545F72;
  --text-light: #F6F2E7;
  --text-light-dim: #A9B2C4;
  --border-light: rgba(18, 24, 42, 0.1);
  --border-dark: rgba(246, 242, 231, 0.14);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===========================================================
   Scroll progress bar
=========================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--emerald));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ===== reveal-on-scroll ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(2px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.3,1), transform 0.8s cubic-bezier(.16,.8,.3,1), filter 0.8s ease;
}
[data-reveal="left"] { transform: translateY(10px) translateX(-32px); }
[data-reveal="right"] { transform: translateY(10px) translateX(32px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===========================================================
   Buttons
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--accent {
  background: var(--saffron);
  color: #1A0900;
}
.btn--accent:hover { background: var(--saffron-dark); box-shadow: 0 10px 26px rgba(255,122,30,0.32); }
.btn--ghost {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-light);
}
.btn--ghost:hover { border-color: var(--text-light); background: rgba(255,255,255,0.05); }
.btn--dark {
  background: var(--ink);
  color: var(--text-light);
}
.btn--dark:hover { background: var(--ink-3); }
.btn--outline {
  background: transparent;
  border-color: var(--emerald);
  color: var(--emerald);
}
.btn--outline:hover { background: var(--emerald); color: var(--text-light); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

/* ===========================================================
   Credential strip
=========================================================== */
.credential-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  padding: 10px 0;
}
.credential-strip__track { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; display: flex; justify-content: center; }
.credential-strip__img { height: 34px; width: auto; object-fit: contain; }

/* ===========================================================
   Header
=========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 238, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 34px; width: auto; }
.brand__meta { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--text-dark); }
.brand__year { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.03em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text-dark); }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--saffron);
  transition: width 0.2s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   Eyebrow / section heads
=========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
  margin: 0 0 16px;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); flex-shrink: 0; }
.eyebrow--light { color: var(--emerald-light); }

.section { padding: 100px 0; position: relative; }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--paper { background: var(--paper-2); }

.section-head { max-width: 720px; margin: 0 0 52px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--text-dark); }
.section-title--light { color: var(--text-light); }
.section-lede { margin-top: 16px; font-size: 17px; color: var(--text-dim); max-width: 620px; }
.section-lede--light { color: var(--text-light-dim); }
.underline-accent { background: linear-gradient(180deg, transparent 62%, rgba(255,122,30,0.35) 62%); }

/* ===========================================================
   Hero
=========================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-light);
  padding: 88px 0 0;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: -10% -10%;
  background-image:
    linear-gradient(rgba(246,242,231,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,242,231,0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
  will-change: transform;
}
.hero__grid::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(255,122,30,0.24), transparent 65%);
  border-radius: 50%;
}
.hero__grid::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(14,124,102,0.30), transparent 65%);
  border-radius: 50%;
}
.hero__inner { position: relative; z-index: 2; padding-bottom: 64px; }
.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 0 0 26px;
}
.text-accent { color: var(--saffron); }
.text-accent--emerald { color: var(--emerald-light); }
.hero__sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-light-dim);
  max-width: 640px;
  margin: 0 0 38px;
}
.hero__sub strong { color: var(--text-light); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero__facts {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-dark);
}
.hero__fact { display: flex; flex-direction: column; gap: 4px; }
.hero__fact-label { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light-dim); }
.hero__fact-value { font-size: 15px; font-weight: 500; color: var(--text-light); }
.hero__fact-divider { width: 1px; height: 30px; background: var(--border-dark); }

.hero__ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-dark);
  background: rgba(255,122,30,0.08);
  overflow: hidden;
  padding: 14px 0;
}
.hero__ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ticker 34s linear infinite;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--emerald-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__ticker-track { animation: none; }
  .hero__grid { transform: none !important; }
}

/* ===========================================================
   About
=========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { color: var(--text-dim); font-size: 16.5px; margin-bottom: 18px; }
.about-copy strong { color: var(--text-dark); }
.about-card {
  background: var(--ink);
  border-radius: 20px;
  padding: 8px 28px;
  transition: transform 0.3s ease;
}
.about-card__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-dark);
}
.about-card__row:last-child { border-bottom: none; }
.about-card__num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--saffron);
  min-width: 70px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.about-card__label { font-size: 14.5px; color: var(--text-light-dim); line-height: 1.5; }

/* ===========================================================
   Why cards
=========================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
}
.why-card {
  background: var(--ink);
  padding: 36px 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.why-card:hover { background: var(--ink-2); transform: translateY(-4px); }
.why-card__icon {
  width: 48px; height: 48px;
  color: var(--saffron);
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}
.why-card:hover .why-card__icon { transform: scale(1.1) rotate(-4deg); }
.why-card__icon svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 18px; font-weight: 600; color: var(--text-light); margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--text-light-dim); line-height: 1.6; }

/* ===========================================================
   Who can join — school cards
=========================================================== */
.school-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.school-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.school-card:hover {
  border-color: var(--saffron);
  box-shadow: 0 18px 40px rgba(11,18,32,0.08);
}
.school-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--emerald);
  background: rgba(14,124,102,0.09);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.school-card h3 { font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.school-card__programs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.school-card__programs span {
  font-size: 12px;
  color: var(--text-dim);
  background: var(--paper-2);
  border-radius: 6px;
  padding: 4px 9px;
}
.school-card__case {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
}
.school-card__case strong { color: var(--text-dark); }
.school-card__case .school-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron-dark);
  margin-bottom: 8px;
}

.who-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.who-facts .fact-pill {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  padding: 10px 18px;
}
.who-facts .fact-pill b { color: var(--emerald); }

/* ===========================================================
   Journey
=========================================================== */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.journey__step {
  position: relative;
  padding-top: 28px;
  border-top: 3px solid var(--saffron);
  transition: transform 0.25s ease;
}
.journey__step:hover { transform: translateY(-4px); }
.journey__step:nth-child(2) { border-top-color: var(--emerald-light); }
.journey__step:nth-child(3) { border-top-color: var(--emerald); }
.journey__step:nth-child(4) { border-top-color: var(--saffron-dark); }
.journey__step:nth-child(5) { border-top-color: var(--emerald-light); }
.journey__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.journey__step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.journey__step p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ===========================================================
   Domains
=========================================================== */
.domains-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.domain-chip {
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.domain-chip:hover { border-color: var(--saffron); background: rgba(255,122,30,0.06); transform: translateY(-3px); }
.domains-cta { display: flex; }

/* ===========================================================
   Resources
=========================================================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.resource-card:hover { transform: translateY(-6px); border-color: var(--saffron); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.resource-card--highlight { background: linear-gradient(160deg, rgba(255,122,30,0.16), var(--ink-2) 60%); border-color: rgba(255,122,30,0.4); }
.resource-card__kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-light);
  margin-bottom: 14px;
}
.resource-card h3 { font-size: 18px; font-weight: 600; color: var(--text-light); margin-bottom: 10px; }
.resource-card p { font-size: 14px; color: var(--text-light-dim); line-height: 1.6; flex-grow: 1; margin-bottom: 20px; }
.resource-card__link { font-size: 14px; font-weight: 600; color: var(--saffron); display: inline-flex; align-items: center; gap: 6px; }
.resource-card:hover .resource-card__link .arrow,
.resource-card:hover .arrow { transform: translateX(3px); }

/* ===========================================================
   Venue
=========================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.venue-address { font-size: 17px; color: var(--text-dim); line-height: 1.7; margin: 20px 0 32px; }
.venue-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(14,124,102,0.09);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.venue-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 380px;
  position: relative;
}
.venue-map iframe { width: 100%; height: 100%; border: 0; }

/* ===========================================================
   Final CTA
=========================================================== */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--emerald), #08483D);
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,122,30,0.35), transparent 60%);
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  border-radius: 50%;
}
.final-cta__inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-bottom: 18px; letter-spacing: -0.01em; }
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.final-cta__date { font-family: var(--font-mono); font-size: 14px; color: var(--saffron-light); margin-bottom: 34px; display: block; }

/* ===========================================================
   Footer
=========================================================== */
.site-footer { background: var(--ink); color: var(--text-light); padding: 72px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo { height: 30px; margin-bottom: 16px; }
.footer-about p { font-size: 14px; color: var(--text-light-dim); line-height: 1.7; }
.footer-top h3 { font-size: 14px; font-weight: 600; color: var(--text-light); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-mono); }
.contact-list li { display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px; }
.contact-name { font-size: 14px; color: var(--text-light-dim); }
.contact-list a { font-size: 16px; font-weight: 600; color: var(--emerald-light); transition: color 0.2s ease; }
.contact-list a:hover { color: var(--saffron); }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { font-size: 14.5px; color: var(--text-light-dim); padding: 7px 0; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--text-light); padding-left: 4px; }

.footer-logos { padding: 40px 0; display: flex; justify-content: center; }
.footer-logos img { height: 34px; width: auto; filter: grayscale(1) invert(1) brightness(1.8); opacity: 0.85; }

.footer-bottom { border-top: 1px solid var(--border-dark); padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-light-dim); }

/* ===========================================================
   Mobile floating CTA
=========================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 18px; right: 18px;
  z-index: 200;
  background: var(--saffron);
  color: #1A0900;
  text-align: center;
  padding: 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(90px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-cta.is-shown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===========================================================
   Responsive
=========================================================== */
@media (max-width: 1020px) {
  .why-grid, .resources-grid, .school-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .about-grid, .venue-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__inner { height: 64px; }
  .site-header__actions .btn--sm { display: none; }
  .section { padding: 64px 0; }
  .why-grid, .resources-grid, .school-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero__facts { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__fact-divider { display: none; }
  .mobile-cta { display: block; }
  .credential-strip__img { height: 26px; }
}

/* mobile drawer nav */
@media (max-width: 760px) {
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 28px 20px;
    gap: 4px;
  }
  .site-nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
}
