/* ============================================================
   DESIGN TOKENS — Indian flag palette
   Saffron · White · Indian Green · Navy
   ============================================================ */
:root {
  /* Primary brand colors (from the Indian flag) */
  --saffron:      #FF9933;   /* flag saffron — primary warm accent */
  --saffron-deep: #E07A1F;   /* deeper saffron for hover/contrast on light bg */
  --saffron-light: #FFB366;  /* lightened saffron for hover on dark bg */
  --green:        #138808;   /* Indian flag green */
  --green-deep:   #0E6606;   /* deeper green */
  --green-light:  #5DD05D;   /* lightened green for legibility on dark bg */
  --navy:         #0A1A3A;   /* deep navy — primary text & dark sections */
  --navy-soft:    #1A2A4F;   /* slightly lighter navy for surfaces */
  --navy-rich:    #0F1F45;

  /* Neutrals */
  --ink:        var(--navy);
  --ink-soft:   #2D3A5C;     /* secondary text */
  --ink-mute:   #6B7689;     /* tertiary text */
  --white:      #FFFFFF;
  --paper:      #FAFAF7;     /* warm white */
  --paper-soft: #F4F2EC;     /* light tinted surface */
  --line:       #E5E1D6;     /* dividers on light bg */
  --line-dark:  rgba(255, 255, 255, 0.14); /* dividers on dark bg */

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-deva:    'Noto Sans Devanagari', 'Fraunces', serif;

  /* Layout */
  --section-y: clamp(5rem, 10vh, 8rem);
  --container: 1240px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding: var(--section-y) 0; position: relative; }

.eyebrow {
  font-family: 'DM Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
/* Hindi section name in green; numeral and English share the saffron base */
.eyebrow .eb-hi { color: var(--green); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--saffron);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding: 0.85rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav-brand img {
  height: 80px;
  width: auto;
  transition: height 0.3s ease;
}
.nav.scrolled .nav-brand img { height: 64px; }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1.1;
}
.brand-deva {
  font-family: var(--font-deva);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.brand-en {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .nav-brand img { height: 64px; }
  .nav.scrolled .nav-brand img { height: 52px; }
  .brand-deva { font-size: 1.25rem; }
  .brand-en { font-size: 0.85rem; }
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--saffron); color: var(--navy); transform: translateY(-1px); }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO — flag-stripe accent bar at the very top
   ============================================================ */
.flag-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 101;
  background: linear-gradient(
    to right,
    var(--saffron) 0%, var(--saffron) 33.33%,
    var(--white) 33.33%, var(--white) 66.66%,
    var(--green) 66.66%, var(--green) 100%
  );
}

.hero {
  padding-top: clamp(9rem, 18vh, 13rem);
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255, 153, 51, 0.07), transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(19, 136, 8, 0.05), transparent 45%),
    var(--paper);
}
.hero-bg-script {
  position: absolute;
  font-family: var(--font-deva);
  color: rgba(10, 26, 58, 0.04);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  font-weight: 500;
}
.hero-bg-script.s1 { top: 5%;  right: -3%; font-size: clamp(8rem, 22vw, 18rem); transform: rotate(-8deg) translateY(var(--parallax-y, 0px)); }
.hero-bg-script.s2 { bottom: -8%; left: -2%; font-size: clamp(6rem, 16vw, 14rem); color: rgba(19, 136, 8, 0.05); transform: translateY(var(--parallax-y, 0px)); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* Wider than the default container so the rotating headline fits */
  max-width: 1400px;
  /* minmax(0, …) locks the column widths so a long headline can never
     push the video sideways while the languages cycle */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-deva {
  font-family: var(--font-deva);
  color: var(--saffron-deep);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-deva .latin {
  color: var(--ink-mute);
  font-family: var(--font-body);
  font-size: 0.95em;
  margin-left: 0.5rem;
}

.hero h1 {
  font-family: 'Fraunces', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Malayalam', 'Noto Sans Gurmukhi', Georgia, serif;
  /* Sized so "In every Indian language." holds a single line in the
     text column at every two-column viewport width */
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1.75rem;
  /* Constant footprint while languages cycle, so nothing below jumps */
  min-height: 2.35em;
}
.hero h1 .line {
  display: block;
  min-height: 1.08em;
}
/* Indic scripts run wider and taller than the Latin headline — render
   them a step smaller so each line stays a single line */
.hero h1 .line[lang] {
  font-size: 0.75em;
  line-height: 1.3;
}
/* Typewriter caret for the self-translating headline */
.hero h1 .line.typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--saffron);
  margin-left: 0.08em;
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--saffron-deep);
}

.hero p.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--saffron);
  color: var(--navy);
  font-weight: 600;
}
.btn-primary:hover { background: var(--green); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(19, 136, 8, 0.5); }
.btn-secondary {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
}
.btn-secondary:hover { background: var(--saffron); color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255, 153, 51, 0.5); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Video placeholder */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  box-shadow:
    0 30px 60px -25px rgba(10, 26, 58, 0.4),
    0 0 0 1px rgba(10, 26, 58, 0.08);
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}
.play-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255, 153, 51, 0.18);
  border: 1px solid rgba(255, 153, 51, 0.5);
  color: var(--saffron);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.video-wrap:hover .play-icon { background: var(--saffron); color: var(--navy); transform: scale(1.05); }
.play-icon svg { margin-left: 4px; }
.video-caption {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.video-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  opacity: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}
.video-note {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--saffron);
  color: var(--navy);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  font-weight: 700;
  z-index: 2;
  pointer-events: none;
}
.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
  display: block;
}
.lang-switch {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.lang-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 0.6rem;
  border-radius: 4px;
  border: none;
  white-space: nowrap;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover { background: var(--saffron); color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255, 153, 51, 0.5); }
.lang-btn.is-active { background: var(--saffron); color: var(--navy); }
.lang-btn .native { font-family: inherit; opacity: 0.85; margin-left: 0.35rem; }
@media (max-width: 520px) {
  .lang-btn { font-size: 0.78rem; padding: 0.6rem 0.4rem; }
  .lang-btn .native { display: none; }
}

/* ============================================================
   LANGUAGE TICKER — saffron and green alternating
   ============================================================ */
.ticker {
  background: var(--navy);
  color: var(--white);
  padding: 1.4rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 1rem;
}
.ticker-item .native {
  font-size: 1.45rem;
  color: var(--saffron);
  font-weight: 500;
}
.ticker-item:nth-child(even) .native { color: var(--green-light); }  /* lightened green for legibility on navy */
.ticker-item .name {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F3EFE2;   /* warm off-white — hue sits between the ticker's saffron and green */
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   PROBLEM SECTION — clean white with navy text
   ============================================================ */
.problem { background: var(--white); }
.problem-header {
  max-width: 1040px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 1.25rem;
  color: var(--navy);
}
.section-title .line { display: block; }
/* Balanced wrapping for short display headings: split lines evenly
   instead of orphaning a tiny word at the end. */
.hero h1, .hero h1 .line,
.section-title, .section-title .line,
.cta-headline,
.closer p, .closer p .line {
  text-wrap: balance;
}
/* Long prose-style heading: fill each line greedily, avoid orphans. */
.vision-headline {
  text-wrap: pretty;
}
.section-title em {
  font-style: italic;
  color: var(--saffron-deep);
  font-weight: 400;
}
/* Founders title runs long — size it so the conviction holds a single line on desktop */
.founders-title { font-size: clamp(1.9rem, 3.3vw, 2.75rem); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } }

.stat {
  padding: 2rem 0;
  border-top: 2px solid var(--saffron);
  position: relative;
}
.stat:nth-child(2) { border-top-color: var(--navy); }
.stat:nth-child(3) { border-top-color: var(--green); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--saffron-deep);
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  display: block;
}
.stat:nth-child(2) .stat-num { color: var(--navy); }
.stat:nth-child(3) .stat-num { color: var(--green); }

.stat-num .unit {
  font-size: 0.45em;
  color: var(--ink-mute);
  margin-left: 0.1em;
  font-style: italic;
  font-weight: 400;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.stat-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.stat-source {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  font-style: italic;
}

.closer {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  max-width: 1080px;
}
.closer p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.015em;
}
/* Pull-quote styled like the subtitles in our translated lectures */
.closer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.closer-tag::before {
  content: "CC";
  border: 1px solid var(--ink-mute);
  border-radius: 2px;
  padding: 0.1em 0.4em;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.closer p .line { display: block; }
.closer p em {
  font-style: normal;
  color: var(--saffron-deep);
}

/* ============================================================
   SOLUTION SECTION — deep navy with saffron accents
   ============================================================ */
.solution {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: "अ க ণ த ಅ અ";
  position: absolute;
  top: 10%;
  right: -5%;
  font-family: var(--font-deva);
  font-size: clamp(10rem, 25vw, 22rem);
  color: rgba(255, 153, 51, 0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center;
}
.solution .eyebrow { color: var(--saffron-deep); }
.solution .eyebrow .eb-hi { color: var(--green-light); }
.solution .eyebrow::before { background: var(--saffron); }
.solution .section-title { color: var(--white); }
.solution .section-title em { color: var(--saffron); }
.solution-lede {
  max-width: 1040px;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 1.75rem 0 clamp(3.5rem, 6vw, 5rem);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .pipeline { grid-template-columns: 1fr; } }

.pipe-step {
  padding: 2.5rem 2rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}
.pipe-step + .pipe-step { padding-left: 2rem; }
@media (min-width: 901px) {
  .pipe-step + .pipe-step::before {
    content: "";
    position: absolute;
    left: 0; top: 2.5rem; bottom: 2rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
  }
}
/* Typographic step marks: A → A ⇄ अ → अ த ബ — the pipeline in glyphs */
.pipe-icon {
  min-width: 44px;
  height: 44px;
  padding: 0 0.7rem;
  border: 1px solid var(--saffron);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  margin-bottom: 1.75rem;
  font-family: 'Fraunces', 'Noto Sans Devanagari', 'Noto Sans Tamil', 'Noto Sans Malayalam', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.pipe-step:nth-child(2) .pipe-icon {
  border-color: var(--green-light);
  color: var(--green-light);
}

.pipe-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: var(--white);
}
.pipe-body {
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   VISION SECTION — white with subtle Sanskrit watermark
   ============================================================ */
.vision { background: var(--white); position: relative; overflow: hidden; }
.vision-bg {
  position: absolute;
  font-family: var(--font-deva);
  color: rgba(10, 26, 58, 0.035);
  font-size: clamp(10rem, 30vw, 26rem);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateY(var(--parallax-y, 0px));
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-weight: 500;
}
.vision-inner { position: relative; z-index: 1; }
.vision-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 1140px;
  margin: 1.5rem 0 clamp(3rem, 5vw, 4rem);
  color: var(--navy);
}
.vision-headline em {
  font-style: italic;
  color: var(--saffron-deep);
}
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1080px;
}
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr; } }

.road-step {
  padding-top: 1.5rem;
  border-top: 3px solid var(--saffron);
}
.road-step.future { border-top-color: var(--navy); }
.road-step.farfuture { border-top-color: var(--green); }
.road-when {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--saffron-deep);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.road-step.future .road-when { color: var(--navy); }
.road-step.farfuture .road-when { color: var(--green); }
.road-what {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.road-detail {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   FOUNDERS SECTION — warm off-white with real photos
   ============================================================ */
.founders {
  background: var(--paper-soft);
  position: relative;
}
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 5vw, 4rem);
}
@media (max-width: 820px) { .founders-grid { grid-template-columns: 1fr; } }

.founder {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 600px) {
  .founder { grid-template-columns: 110px 1fr; gap: 1.25rem; }
}
.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 24px -12px rgba(10, 26, 58, 0.25);
}
/* Flag-stripe edge along the left side of each photo */
.founder-photo::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(
    to bottom,
    var(--saffron) 0% 33.3%,
    var(--white) 33.3% 66.6%,
    var(--green) 66.6% 100%
  );
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .founder-photo { width: 110px; height: 110px; }
}
.founder-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.founder-role {
  font-size: 0.78rem;
  color: var(--saffron-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.founder:nth-child(2) .founder-role { color: var(--green); }
.founder-bio {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.founder-links {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}
.founder-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  transition: color 0.2s;
}
.founder-links a .link-label {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.founder-links a:hover { color: var(--saffron-deep); }
.founder-links a:hover .link-label { border-color: var(--saffron); }
.founder-links .linkedin-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   CTA / FOOTER — deep navy
   ============================================================ */
.cta {
  background: var(--navy);
  color: var(--white);
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(380px, 50vw, 720px);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 50;   /* above section content, below nav (z-index 100) */
  /* Inverts the dark elements so the logo is visible on dark navy */
  filter: invert(1) brightness(2) saturate(0);
}
@media (max-width: 760px) {
  .cta-bg { width: 380px; opacity: 0.04; }
}
.cta-inner { position: relative; z-index: 1; }
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 1120px;
  margin-bottom: 1.25rem;
}
.cta-headline em { font-style: italic; color: var(--saffron); }
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.signup {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin-bottom: clamp(3rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.signup input {
  flex: 1;
  min-width: 240px;
  padding: 0.95rem 1.25rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.signup input::placeholder { color: rgba(255, 255, 255, 0.5); }
.signup input:focus { border-color: var(--saffron); }
.signup button {
  background: var(--saffron);
  color: var(--navy);
  padding: 0.95rem 1.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.signup button:hover { background: var(--green); color: var(--white); transform: translateY(-1px); }

.partner-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .partner-row { grid-template-columns: 1fr; gap: 1.5rem; }
}
.partner-block h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.partner-block:nth-child(2) h3 { color: var(--green-light); }
.partner-block p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.partner-block a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, color 0.2s;
}
.partner-block a:hover { border-color: var(--saffron); color: var(--saffron); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-bottom .trust::before {
  content: "•";
  color: var(--saffron);
}

/* ============================================================
   NOTIFY DIALOG — modal shown after the signup form is submitted
   ============================================================ */
.notify-dialog {
  border: none;
  border-radius: 16px;
  padding: 2.75rem 2.5rem 2.25rem;
  max-width: 540px;
  width: calc(100% - 2.5rem);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  /* Explicit viewport centering — native dialog defaults to this in the
     top layer, but we set it explicitly so author styles (close button's
     absolute positioning) don't break the centering. */
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: calc(100vh - 2rem);
  box-shadow: 0 30px 60px -20px rgba(10, 26, 58, 0.45);
  animation: notify-pop 0.25s ease-out;
}
.notify-dialog::backdrop {
  background: rgba(10, 26, 58, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@keyframes notify-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.notify-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink-mute);
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.notify-close:hover { background: var(--paper-soft); color: var(--navy); }
.notify-logo {
  width: 180px;
  height: auto;
  margin: 0.25rem auto 1.5rem;
}
.notify-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.notify-body {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

[data-parallax] { will-change: transform; transition: transform 0.05s linear; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  [data-parallax] { --parallax-y: 0px; }
  html { scroll-behavior: auto; }
}
