/* AaryaShibs — site styles
   Colours and type follow the final design (final-design/index.html). */

:root {
  --ink: #0E3B4A;        /* Ink teal: primary */
  --ink-hover: #155A6F;
  --aqua: #3FC1C9;       /* Aqua: accent */
  --sun: #FFD23F;        /* Sun yellow: CTA */
  --sun-hover: #FFC814;
  --bg: #F5FAFB;
  --white: #FFFFFF;
  --line: #D6DEE2;
  --text: #1A1A1A;
  --muted: #646464;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(56px, 8vw, 104px);
  --radius-lg: 28px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-gutter: stable; }
html.modal-open { overflow: hidden; }   /* page stays put while the specs popup is open */
body {
  margin: 0;
  background: var(--bg);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--aqua); }
input, select, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.bg-white { background: var(--white); }
.bg-soft { background: var(--bg); }
.bg-ink { background: var(--ink); color: var(--white); }
.border-top { border-top: 1px solid var(--line); }
.relative { position: relative; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--aqua);
}
.eyebrow--ink { color: var(--ink); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

.display {
  margin: 0; font-weight: 300; font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02; letter-spacing: -.025em; text-wrap: balance;
}
.display--sm { font-size: clamp(44px, 6.5vw, 88px); line-height: 1.04; max-width: 14em; }
.display strong, .h2 strong { font-weight: 500; color: var(--ink); }
.bg-ink .h2 strong { color: var(--white); }

.h2 {
  margin: 0; font-weight: 500; font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
}
.h2--light { font-weight: 300; line-height: 1.1; }
.h2--md { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.bg-ink .h2 { color: var(--white); }

.lead { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.body-lg { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 28em; text-wrap: pretty; }
.small { font-size: 13px; line-height: 1.5; color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 500; padding: 16px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s;
}
.btn--sun { background: var(--sun); color: var(--text); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sun:hover { background: var(--sun-hover); color: var(--text); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-hover); color: var(--white); }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--bg); color: var(--ink); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; }
.brand .hindi {
  font-family: 'Noto Sans Devanagari', sans-serif; font-size: 18px; color: var(--ink);
  padding-left: 14px; border-left: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav a { font-size: 15px; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--aqua); }
.nav a[aria-current="page"] { color: var(--ink); padding-bottom: 4px; border-bottom: 2px solid var(--aqua); }
.nav .btn { color: var(--white); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 44px; }
  .brand .hindi { font-size: 16px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--aqua); padding-bottom: 14px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 14px 20px; }
}

/* ---------- Decorations (concentric rings, route line) ---------- */
.rings { position: absolute; pointer-events: none; }
.rings--hero { top: -300px; right: -260px; width: 640px; height: 640px; }
.rings--why { bottom: -340px; left: -300px; width: 680px; height: 680px; opacity: .5; }
.rings--cta { top: -260px; right: -220px; width: 560px; height: 560px; }
@media (max-width: 640px) {
  .rings--hero { top: -440px; right: -420px; opacity: .6; }
}

.route {
  position: absolute; left: clamp(8px, 2vw, 24px); top: 40px; bottom: 36px; right: var(--gutter);
  border-left: 1.5px solid var(--aqua); border-bottom: 1.5px solid var(--aqua);
  border-bottom-left-radius: 32px; pointer-events: none;
}
.route-end {
  position: absolute; right: clamp(14px, calc(4vw - 6px), 42px); bottom: 30px;
  width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.route-end::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.corner {
  position: absolute; left: -14px; bottom: -14px; width: 120px; height: 120px;
  border-left: 1.5px solid var(--aqua); border-bottom: 1.5px solid var(--aqua);
  border-bottom-left-radius: 28px; pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero .inner { position: relative; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero .split { padding-left: clamp(16px, 3vw, 40px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.media {
  width: 100%; background: var(--line); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-5-4 { aspect-ratio: 5 / 4; }
.ratio-21-9 { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .ratio-21-9 { aspect-ratio: 4 / 3; } }

/* Image placeholder (for photos still to come) */
.placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: var(--muted); font-size: 14px;
  background: repeating-linear-gradient(135deg, #E4EBEE 0 12px, #DCE4E8 12px 24px);
}

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--bg); }
.page-hero .inner {
  position: relative; display: flex; flex-direction: column; gap: 28px;
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px);
}
.page-hero .lead { max-width: 36em; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; padding: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.bg-soft .filters { background: var(--white); }
.filters button {
  font: 500 14px Manrope, sans-serif; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--ink);
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* ---------- Model cards ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.model-card {
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s;
}
.bg-soft .model-card { background: var(--white); }
.model-card:hover { border-color: var(--aqua); transform: translateY(-3px); }
.model-card .photo {
  aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 62%, #FFFFFF 0 45%, #EEF6F7 100%);
}
.model-card .photo img {
  width: 100%; height: 100%; object-fit: contain; padding: 18px;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.model-card:hover .photo img { transform: scale(1.05) translateY(-4px); }
.model-card[hidden] { display: none; }
.more-row { display: flex; justify-content: center; margin-top: 36px; }
.more-row[hidden] { display: none; }
.model-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.model-card .title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.model-card h3 { margin: 0; font-weight: 500; font-size: 26px; letter-spacing: -.01em; color: var(--ink); }
.model-card .type { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.model-card .use { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.kv div { display: flex; flex-direction: column; gap: 2px; }
.kv span:first-child { font-size: 12px; color: var(--muted); }
.kv span:last-child { font-size: 15px; font-weight: 500; color: var(--text); }
.model-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.link-btn {
  border: 0; background: none; padding: 6px 0; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--aqua); text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.link-btn:hover { color: var(--aqua); }
.arrow {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; transition: background .2s, color .2s;
}
.arrow:hover { background: var(--aqua); color: var(--ink); }

.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }

/* Phones: models in a 2-column grid with compact cards */
@media (max-width: 640px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .model-card { border-radius: 18px; }
  .model-card .photo img { padding: 10px; }
  .model-card .body { padding: 12px 12px 14px; gap: 10px; }
  .model-card h3 { font-size: 17px; line-height: 1.2; }
  .model-card .use { display: none; }   /* full details are in the specs popup */
  .model-card .swatches { gap: 4px; }
  .model-card .swatch { width: 12px; height: 12px; }
  .model-card .kv { grid-template-columns: 1fr; gap: 6px; padding-top: 10px; }
  .model-card .kv div { flex-direction: row; justify-content: space-between; gap: 6px; }
  .model-card .kv span:first-child { font-size: 11px; }
  .model-card .kv span:last-child { font-size: 12px; white-space: nowrap; }
  .model-card .link-btn { font-size: 13px; }
  .model-card .arrow { width: 32px; height: 32px; font-size: 15px; }
}

/* ---------- Highlights ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.stat {
  display: flex; flex-direction: column; gap: 8px; padding: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.stat:hover { border-color: var(--aqua); transform: translateY(-3px); }
.stat__value { font-size: clamp(40px, 4vw, 52px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat__value small { font-size: 18px; font-weight: 500; color: var(--aqua); letter-spacing: 0; }
.stat h3 { margin: 0; font-size: 18px; font-weight: 500; }
.stat p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.stat--photo { padding: 0; gap: 0; overflow: hidden; }
.stat__photo { aspect-ratio: 4 / 3; overflow: hidden; background: #DFEFEA; }   /* photos are cut at 4:3, so nothing is cropped */
.stat__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.stat--photo:hover .stat__photo img { transform: scale(1.06); }
.stat__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 28px; }
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat--photo { border-radius: 18px; }
  .stat__body { padding: 14px 14px 16px; gap: 4px; }
  .stat--photo .stat__value { font-size: 30px; margin-bottom: 4px; }
  .stat--photo .stat__value small { font-size: 13px; }
  .stat--photo h3 { font-size: 15px; }
  .stat--photo p { font-size: 13px; }
  .story-facts { gap: 10px; }
}

/* ---------- Home "Our story" visual: open, no box ---------- */
.story-hero { display: flex; flex-direction: column; gap: 28px; }
.story-hero__stage { position: relative; aspect-ratio: 6 / 5; display: flex; align-items: flex-end; justify-content: center; }
.story-hero__stage::after {   /* soft floor shadow */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 2%; height: 10%;
  background: radial-gradient(ellipse at center, rgba(14, 59, 74, .18), transparent 70%);
}
.story-hero__rings { position: absolute; top: 0; left: 50%; width: 92%; translate: -50% 0; }
.story-hero__stage img {
  position: relative; z-index: 1; width: 82%; height: auto; max-height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(14, 59, 74, .16));
}
.story-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-facts li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1.5px solid var(--aqua); }
.story-facts b { font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: var(--ink); }
.story-facts span { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ---------- Scooter line-up visuals ---------- */
.lineup {
  position: relative; border-color: var(--line);
  background: radial-gradient(ellipse at 50% 85%, #DDF3F4 0 18%, transparent 55%), linear-gradient(180deg, #FFFFFF, #F2F9FA);
}
.lineup img { position: absolute; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(14, 59, 74, .14)); }
.lineup img.lineup__main { left: 50%; bottom: 7%; height: 74%; width: auto; transform: translateX(-50%); z-index: 2; }
.lineup img.lineup__side { bottom: 13%; height: 54%; width: auto; z-index: 1; }
.lineup img.lineup__left { left: 1%; }
.lineup img.lineup__right { right: 1%; }
.lineup img.lineup__solo { left: 50%; bottom: 8%; height: 82%; width: auto; transform: translateX(-50%); }
.lineup-row {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(4px, 2vw, 32px); padding: 4% 4% 5%;
}
.lineup .lineup-row img { position: static; height: 86%; width: auto; max-width: 19%; }
.lineup .lineup-row img:nth-child(odd) { height: 76%; }


/* ---------- Why electric ---------- */
.why-grid {
  position: relative; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 96px);
}
.calc {
  margin-top: 20px; padding: 28px; border-radius: var(--radius); background: var(--white); color: var(--text);
  display: flex; flex-direction: column; gap: 18px; max-width: 520px;
}
.calc .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc .row span:first-child { font-size: 15px; color: var(--muted); }
.calc .km { font-size: 22px; font-weight: 500; color: var(--ink); }
.calc input[type=range] { width: 100%; accent-color: var(--aqua); }
.calc .result { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc .saving { font-size: clamp(36px, 4vw, 48px); font-weight: 500; letter-spacing: -.02em; }
.calc .saving small { font-size: 18px; font-weight: 400; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 20px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.node {
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--aqua);
  display: flex; align-items: center; justify-content: center; margin-top: 6px; flex: none; background: var(--ink);
}
.node::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.timeline .line { width: 1.5px; flex: 1; background: var(--aqua); }
.timeline li:last-child .line { opacity: 0; }
.timeline .text { display: flex; flex-direction: column; gap: 8px; padding-bottom: 40px; }
.timeline h3 { margin: 0; font-weight: 500; font-size: 22px; color: var(--white); }
.timeline p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--line); max-width: 30em; }

/* ---------- Testimonials ---------- */
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.quote {
  margin: 0; display: flex; flex-direction: column; gap: 28px; padding: 32px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.quote .mark { font-size: 56px; line-height: .6; font-weight: 500; color: var(--aqua); height: 24px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.55; flex: 1; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--line); }
.quote .who { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.quote .who span:first-child { font-size: 15px; font-weight: 500; }
.quote .who span:last-child { font-size: 13px; color: var(--muted); }
.pill { font-size: 12px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- Info list (showroom / contact) ---------- */
.info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.info div { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info span:last-child, .info a { font-size: 16px; line-height: 1.5; color: var(--text); }
.info a:hover { color: var(--aqua); }

/* ---------- CTA band + form ---------- */
.cta-band {
  position: relative; overflow: hidden; background: var(--aqua); border-radius: 32px;
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.cta-band--row { display: flex; flex-wrap: wrap; justify-content: space-between; }
.cta-band .h2 { color: var(--ink); position: relative; }
.cta-band p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 26em; }
.cta-band > * { position: relative; }

.form { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form--bordered { border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--text); outline-color: var(--aqua); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }

/* ---------- Specs popup ---------- */
.spec-dialog {
  width: min(960px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--text);
  overscroll-behavior: contain;   /* scrolling inside the popup never scrolls the page */
}
.spec-dialog::backdrop { background: rgba(14, 59, 74, .55); }
.spec-dialog[open] { animation: pop-in .35s cubic-bezier(.2, .7, .2, 1); }
.spec-dialog[open]::backdrop { animation: fade-in .3s ease; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.spec-dialog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.spec-dialog__media {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  padding: 32px; background: var(--bg);
}
.spec-dialog__media img { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.spec-dialog__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.spec-dialog__body .use { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.spec-dialog__body .btn { align-self: flex-start; margin-top: 8px; }
.spec-list { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--line); }
.spec-list div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 12px; color: var(--muted); }
.spec-list dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; line-height: 1.45; }
@media (max-width: 480px) { .spec-list { grid-template-columns: 1fr; } }
.dialog-close {
  position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: var(--ink); color: var(--white); }

/* ---------- About ---------- */
.story-visual { position: relative; margin-top: 24px; max-width: 520px; }
.story-visual .media { aspect-ratio: 5 / 4; }
.story-visual .lineup img.lineup__solo { height: 74%; bottom: 7%; left: 42%; }
.story-badge {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(14, 59, 74, .10);
}
.story-badge b { font-size: 16px; font-weight: 600; color: var(--ink); }
.story-badge span:not(.label) { font-size: 13px; color: var(--muted); }
.story-badge .label { font-size: 11px; }
.story-badge--top { top: 18px; left: 18px; }
.story-badge--bottom { right: 18px; bottom: 18px; border-left: 3px solid var(--sun); }
@media (max-width: 480px) {
  .story-visual .media { aspect-ratio: 1 / 1; }
  .story-visual .lineup img.lineup__solo { height: 64%; bottom: 20%; left: 46%; }
  .story-badge { padding: 8px 12px; border-radius: 12px; }
  .story-badge b { font-size: 14px; }
  .story-badge span:not(.label) { font-size: 12px; }
  .story-badge--top { top: 12px; left: 12px; }
  .story-badge--bottom { right: 12px; bottom: 12px; }
}
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.prose p { margin: 0; }
.prose .belief { font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.milestones { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.5px; background: var(--aqua); }
.milestones > div { position: relative; display: flex; flex-direction: column; gap: 14px; }
.milestones .node { margin-top: 0; }
.milestones .year { font-size: 28px; font-weight: 500; }
.milestones p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--line); }
.value { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.value .n { font-size: 14px; font-weight: 500; color: var(--aqua); }
.value h3 { margin: 0; font-size: 24px; font-weight: 500; color: var(--ink); }
.value p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--line); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.site-footer .brand img { height: 80px; }
.site-footer .brand .hindi { font-size: 22px; color: var(--white); padding-left: 16px; border-left: 1px solid var(--aqua); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col .label { color: var(--aqua); letter-spacing: .14em; }
.site-footer .col a, .site-footer .col span:not(.label) { font-size: 15px; color: var(--white); }
.site-footer .col a:hover { color: var(--aqua); }
.site-footer .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(214, 222, 226, .25); font-size: 13px;
}

/* ---------- Motion ---------- */
/* Elements fade up as they scroll into view. "backwards" releases them after the
   animation, so hover effects on cards keep working normally. */
html.anim [data-reveal]:not(.is-in) { opacity: 0; }
html.anim [data-reveal].is-in { animation: rise .8s var(--d, 0ms) cubic-bezier(.2, .7, .2, 1) backwards; }

.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-media { animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
html.anim [data-drive]:not(.is-in) img { opacity: 0; }
html.anim [data-drive].is-in img { animation: drive-in 1.1s calc(var(--i, 0) * 140ms + 120ms) cubic-bezier(.2, .7, .2, 1) backwards; }
[data-drive] img:nth-of-type(2) { --i: 1; }
[data-drive] img:nth-of-type(3) { --i: 2; }
[data-drive] img:nth-of-type(4) { --i: 3; }
[data-drive] img:nth-of-type(5) { --i: 4; }
html.anim .hero-media.is-in .lineup__main {
  animation: drive-in 1.1s .4s cubic-bezier(.2, .7, .2, 1) backwards, float 6s 1.8s ease-in-out infinite;
}
html.anim .story-hero.is-in .story-hero__rings { animation: spin-in 1.4s cubic-bezier(.2, .7, .2, 1) backwards; }
.story-hero__dot { transform-origin: 300px 300px; animation: orbit 18s linear infinite; }
@keyframes drive-in {
  0%   { opacity: 0; translate: 80px 0; }
  70%  { opacity: 1; translate: -6px 0; }   /* slight overshoot, like braking to a stop */
  100% { opacity: 1; translate: 0 0; }
}
@keyframes spin-in { from { opacity: 0; rotate: -40deg; scale: .9; } to { opacity: 1; rotate: 0deg; scale: 1; } }
.rings--hero circle:last-child { animation: orbit 14s linear infinite; transform-origin: 300px 300px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
