/* ADVANT — flagship site */

:root {
  --bone: #F4EFE6;
  --paper: #EFE9DD;
  --sand: #DDD3BF;
  --graphite: #2A2622;
  --ink: #0E0D0B;
  --terracotta: #C8553D;
  --amber: #C68B3F;
  --moss: #4A5840;
  --rule: rgba(14, 13, 11, 0.14);
  --rule-strong: rgba(14, 13, 11, 0.32);
  --muted: rgba(14, 13, 11, 0.58);

  --display: "Mona Sans", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Mona Sans", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--terracotta);
  color: var(--bone);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.serif {
  font-family: var(--display);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 0.96;
}

.sans-tight {
  font-family: var(--sans);
  letter-spacing: -0.025em;
  font-weight: 500;
}

/* Layout */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 760px) {
  .shell { padding: 0 22px; }
}

.rule { height: 1px; background: var(--rule); width: 100%; }
.rule-strong { height: 1px; background: var(--rule-strong); width: 100%; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  background: rgba(244, 239, 230, 0.72);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 28px; }
.nav-right { display: flex; align-items: center; gap: 28px; justify-content: flex-end; }
.nav-link {
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }
.nav-cta {
  font-size: 13px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--terracotta); border-color: var(--terracotta); }

/* Wordmark */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--ink);
}
.wordmark-text {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 15px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
}
.wordmark-text .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
  margin-left: 3px;
  align-self: center;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  color: var(--muted);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 9.6vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--ink);
}
.hero h1 .it { font-weight: 300; color: var(--graphite); letter-spacing: -0.04em; }
.hero h1 .accent { color: var(--terracotta); font-weight: 600; }

.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}
.hero-meta .col-summary {
  grid-column: span 5;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--graphite);
  max-width: 460px;
}
.hero-meta .col-spacer { grid-column: span 3; }
.hero-meta .col-meta {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
}
@media (max-width: 900px) {
  .hero-meta .col-summary { grid-column: span 12; }
  .hero-meta .col-spacer { display: none; }
  .hero-meta .col-meta { grid-column: span 12; align-items: flex-start; text-align: left; }
}

.kbd {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.kbd span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--paper);
}

/* Marquee strip */
.lang-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  padding: 18px 0;
}
.lang-strip-inner {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.lang-strip-inner span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--graphite);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.lang-strip-inner span::after {
  content: "✦";
  font-size: 11px;
  color: var(--terracotta);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section scaffolding */
.section {
  padding: 140px 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  margin-bottom: 96px;
  align-items: start;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px;
}
.section-head .title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 1000px;
}
.section-head .title em { font-style: normal; font-weight: 300; color: var(--terracotta); }
@media (max-width: 760px) {
  .section { padding: 90px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; }
}

/* Mission grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 32px;
  margin-top: 48px;
}
.mission-grid .lead {
  grid-column: 3 / span 8;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--graphite);
}
.mission-grid .lead em { color: var(--terracotta); font-style: normal; font-weight: 500; }
.tile {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-strong);
}
.tile .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  text-transform: uppercase;
}
.tile h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
.tile p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--graphite);
  margin: 0;
  max-width: 32ch;
}
@media (max-width: 900px) {
  .mission-grid .lead { grid-column: span 12; }
  .tile { grid-column: span 12; }
}

/* Vaani showcase */
.vaani {
  background: var(--ink);
  color: var(--bone);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.vaani .section-head .num { color: rgba(244, 239, 230, 0.5); }
.vaani .section-head .title { color: var(--bone); }
.vaani .section-head .title em { color: var(--terracotta); font-style: italic; }
.vaani-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.vaani-mark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--bone);
}

/* Globe */
.globe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: 760px;
  margin: 64px auto 0;
}
.globe-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.globe-legend {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 230, 0.5);
  text-transform: uppercase;
}
.globe-counter {
  position: absolute;
  bottom: 24px;
  right: 24px;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 230, 0.55);
  text-transform: uppercase;
}
.globe-counter .big {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.035em;
  color: var(--bone);
  text-transform: none;
  line-height: 1;
  margin-bottom: 6px;
}

/* Vaani feature rail */
.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid rgba(244, 239, 230, 0.18);
}
.feature-cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-cell .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}
.feature-cell .v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.feature-cell .desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.7);
  max-width: 28ch;
}
@media (max-width: 900px) {
  .feature-rail { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 520px) {
  .feature-rail { grid-template-columns: 1fr; }
}

/* ---------- Vaani Studio mock (mirrors app.vaani.media) ---------- */
.vstudio {
  margin-top: 96px;
  border: 1px solid rgba(244,239,230,0.14);
  border-radius: 18px;
  background: #FBF9F4;
  color: #1A1F1C;
  overflow: hidden;
  font-family: var(--sans);
}

/* chrome bar */
.vs-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(244,241,234,0.92);
  border-bottom: 1px solid rgba(26,31,28,0.08);
}
.vs-chrome-l { display: flex; align-items: center; gap: 14px; }
.vs-dots { display: flex; gap: 6px; }
.vs-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(26,31,28,0.18);
}
.vs-dots i:first-child { background: #CC0000; }
.vs-proj {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,31,28,0.7);
}
.vs-chrome-r {
  display: flex; gap: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(26,31,28,0.55);
}

/* sub header */
.vs-sub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: #FBF9F4;
  border-bottom: 1px solid #EBE6DA;
}
.vs-crumbs { display: flex; gap: 12px; align-items: center; font-size: 11px; letter-spacing: 0.1em; }
.vs-crumbs .dim { color: rgba(26,31,28,0.4); }
.vs-back { color: rgba(26,31,28,0.7); cursor: pointer; }
.vs-folder { display: flex; gap: 14px; align-items: center; font-size: 11px; letter-spacing: 0.1em; }
.vs-folder .dim { color: rgba(26,31,28,0.4); }
.vs-new { color: #CC0000; cursor: pointer; }

/* body grid */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  padding: 28px 28px 32px;
  background: #F4F1EA;
}

/* ---- left column ---- */
.vs-left { display: flex; flex-direction: column; gap: 18px; }

.vs-dark {
  background: #0E120F;
  border-radius: 22px;
  overflow: hidden;
}

/* video player */
.vs-video {
  position: relative;
  height: 260px;
  background: #0E120F;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(244,239,230,0.05);
}
.vs-video::before {
  /* subtle film-strip texture so it doesn't look empty */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 35% 40%, rgba(200,85,61,0.10), transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(244,239,230,0.04), transparent 60%);
}
.vs-video-tag {
  position: relative;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(251,249,244,0.32);
}
.vs-video-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 48px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 16px;
  background: rgba(14,18,15,0.92);
  border-top: 1px solid rgba(244,239,230,0.08);
}
.vs-play {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(244,239,230,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #FBF9F4; font-size: 10px;
  flex-shrink: 0;
}
.vs-time {
  font-size: 11px;
  color: rgba(244,239,230,0.7);
  letter-spacing: 0.04em;
}
.vs-scrub {
  position: relative; flex: 1; height: 4px;
  background: rgba(244,239,230,0.12);
  border-radius: 2px;
  margin: 0 8px;
}
.vs-scrub-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 36%;
  background: #FF6E6E;
  border-radius: 2px;
}
.vs-scrub-thumb {
  position: absolute; left: 36%; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #FBF9F4;
}
.vs-langpill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(244,239,230,0.08);
  border: 1px solid rgba(244,239,230,0.18);
}
.vs-lang-mal {
  font-family: "DM Serif Display", serif;
  font-size: 14px;
  color: #FBF9F4;
}
.vs-lang-cv { color: rgba(244,239,230,0.6); font-size: 11px; }

/* DAW */
.vs-daw {
  position: relative;
  background: #0E120F;
  padding: 0;
  display: grid;
  grid-template-columns: 130px 1fr;
}
.vs-ruler {
  grid-column: 1 / -1;
  position: relative;
  height: 28px;
  border-bottom: 1px solid rgba(244,239,230,0.08);
  margin-left: 130px;
}
.vs-tick {
  position: absolute;
  top: 4px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px;
}
.vs-tick span {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(244,239,230,0.5);
}
.vs-tick i {
  display: block;
  width: 1px; height: 8px;
  background: rgba(244,239,230,0.3);
  margin-left: 0;
}

.vs-lane {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 130px 1fr;
  height: 56px;
  border-bottom: 1px solid rgba(244,239,230,0.06);
}
.vs-lane:last-of-type { border-bottom: none; }

.vs-lane-mix {
  background: rgba(244,239,230,0.04);
  border-right: 1px solid rgba(244,239,230,0.08);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 16px;
}
.vs-lane-name {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 14.5px;
  color: rgba(244,239,230,0.7);
}
.vs-lane-name.dim { color: rgba(220,213,195,0.35); }
.vs-lane-name.strong { color: #FBF9F4; }

.vs-lane-bars {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  overflow: hidden;
}
.vs-lane-bars i {
  display: block;
  width: 5px;
  border-radius: 1px;
  flex-shrink: 0;
}

.vs-gen-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  border-radius: 4px;
  background: #CC0000;
  color: #FBF9F4;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.vs-spinner {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid #FBF9F4;
  border-top-color: transparent;
  animation: vs-spin 1s linear infinite;
}
@keyframes vs-spin { to { transform: rotate(360deg); } }

.vs-playhead {
  position: absolute;
  left: calc(130px + (100% - 130px) * 0.36);
  top: 0; bottom: 0;
  pointer-events: none;
}
.vs-playhead svg {
  position: absolute;
  top: 18px;
  left: -6px;
}
.vs-playhead i {
  display: block;
  width: 2px;
  height: 100%;
  background: rgba(244,239,230,0.55);
  margin-top: 28px;
}

/* downloads panel */
.vs-downloads {
  background: #FBF9F4;
  border: 1px solid #DCD5C3;
  border-radius: 18px;
  padding: 18px 22px 18px;
}
.vs-dl-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.vs-dl-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #CC0000;
  font-weight: 500;
}
.vs-dl-meta { font-size: 12px; color: #666661; }

.vs-dl-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #EBE6DA;
}
.vs-dl-row:last-of-type { border-bottom: none; }
.vs-dl-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #FFEAEA;
  color: #CC0000;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex; align-items: center; justify-content: center;
}
.vs-dl-icon.mp3 { background: #FFF1E0; color: #B45309; }
.vs-dl-info { display: flex; flex-direction: column; gap: 2px; }
.vs-dl-name { font-size: 13.5px; color: #1A1F1C; font-weight: 500; }
.vs-dl-sub { font-size: 10.5px; color: #66665C; letter-spacing: 0.06em; }
.vs-dl-btn {
  font-size: 12px;
  color: #1A1F1C;
  border: 1px solid #DCD5C3;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.vs-dl-pending {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #66665C;
}

/* ---- right column ---- */
.vs-right { display: flex; flex-direction: column; gap: 18px; }

.vs-dub {
  background: #FBF9F4;
  border: 1px solid #DCD5C3;
  border-radius: 18px;
  padding: 22px 22px 24px;
}
.vs-dub-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #CC0000;
  font-weight: 500;
  margin-bottom: 12px;
}
.vs-dub-lead {
  font-size: 13px;
  line-height: 1.5;
  color: #4A4A45;
  margin: 0 0 18px;
}
.vs-field-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #66665C;
  font-weight: 500;
  margin: 16px 0 8px;
}
.vs-field {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #DCD5C3;
  border-radius: 12px;
  font-size: 13px;
  color: #1A1F1C;
}
.vs-field .cv { color: #66665C; }

.vs-speakers { display: flex; gap: 8px; }
.vs-sp {
  flex: 1;
  padding: 9px 0;
  border: 1px solid #DCD5C3;
  background: transparent;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: #1A1F1C;
  cursor: pointer;
}
.vs-sp.active {
  background: #1A1F1C;
  color: #FBF9F4;
  border-color: #1A1F1C;
}

/* dub CTA button */
.vs-dub-cta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: #0E120F;
  color: #FBF9F4;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
  border-bottom: 2px solid #CC0000;
}
.vs-dub-cta-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: rgba(92,0,0,0.55);
  transition: width 0.3s linear;
}
.vs-dub-cta-l, .vs-dub-cta-r {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.vs-dub-cta-r { letter-spacing: 0.1em; opacity: 0.9; }

.vs-after-eyebrow {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #CC0000;
  font-weight: 500;
}

.vs-after-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #DCD5C3;
}
.vs-after-row:first-of-type { border-top: none; }
.vs-after-row h4 {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  margin: 0 0 6px;
  color: #1A1F1C;
  letter-spacing: -0.01em;
}
.vs-after-row p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #4A4A45;
  margin: 0;
}
.vs-after-btn {
  align-self: flex-start;
  font-size: 13px;
  color: #CC0000;
  border: 1px solid #CC0000;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .vs-grid { grid-template-columns: 1fr; }
  .vs-chrome-r { display: none; }
}

/* Pipeline */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.pipeline .step {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 220px;
}
.pipeline .step:last-child { border-right: none; }
.pipeline .step .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.pipeline .step h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.1;
}
.pipeline .step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--graphite);
  margin: 0;
}
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline .step:nth-child(2n) { border-right: none; }
  .pipeline .step { border-bottom: 1px solid var(--rule); }
}

/* Quote / pull */
.pull {
  padding: 140px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pull blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.032em;
  max-width: 1100px;
}
.pull blockquote em { font-style: normal; font-weight: 700; color: var(--terracotta); }
.pull .attr {
  margin-top: 56px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
}
.pull .attr .bar { width: 36px; height: 1px; background: var(--ink); }

/* Ecosystem */
.eco {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.eco-card {
  grid-column: span 4;
  border: 1px solid var(--rule-strong);
  padding: 28px;
  border-radius: 4px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s;
}
.eco-card:hover {
  transform: translateY(-4px);
  background: var(--bone);
}
.eco-card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eco-card .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.eco-card .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--graphite);
  flex: 1;
}
.eco-card .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta);
}
.status.upcoming .status-dot { background: var(--amber); }
.status.research .status-dot { background: var(--moss); }
@media (max-width: 900px) {
  .eco-card { grid-column: span 12; min-height: auto; }
}

/* Trust strip / waitlist */
.cta-section {
  padding: 160px 0 120px;
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.cta-section .cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 28px;
}
.cta-section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 6.8vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 1100px;
}
.cta-section h2 em { font-style: normal; font-weight: 300; color: var(--terracotta); }

.cta-form {
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 640px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.4);
  padding-bottom: 14px;
}
.cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -0.01em;
  padding: 12px 0;
}
.cta-form input::placeholder { color: rgba(244, 239, 230, 0.45); }
.cta-form button {
  background: var(--terracotta);
  border: none;
  color: var(--bone);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: -0.005em;
  font-family: var(--sans);
  transition: background 0.2s, transform 0.2s;
}
.cta-form button:hover { background: var(--bone); color: var(--ink); }

.cta-tracks {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(244, 239, 230, 0.18);
  padding-top: 56px;
}
.cta-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-track .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}
.cta-track .v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.cta-track .desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.7);
}
.cta-track a.arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-top: 8px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.4);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.cta-track a.arrow:hover { color: var(--terracotta); border-color: var(--terracotta); }
@media (max-width: 760px) {
  .cta-tracks { grid-template-columns: 1fr; }
}

/* Footer */
.foot {
  padding: 56px 0 36px;
  background: var(--ink);
  color: rgba(244, 239, 230, 0.6);
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.foot-col .h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.4);
  margin-bottom: 6px;
}
.foot-col a { transition: color 0.2s; }
.foot-col a:hover { color: var(--terracotta); }
.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.4);
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

/* Product index list */
.product-list {
  border-top: 1px solid var(--rule-strong);
}
.product-row {
  display: grid;
  grid-template-columns: 60px 200px 1fr 220px 40px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  transition: padding-left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s;
}
a.product-row:hover {
  padding-left: 12px;
  background: var(--paper);
}
a.product-row:hover .pr-arrow { color: var(--terracotta); transform: translate(4px, -4px); }
.product-row .pr-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.product-row .pr-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.product-row .pr-name .pr-vaani {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
}
.product-row .pr-name .pr-vaani-dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: -0.04em;
  right: -0.32em;
}
.product-row .pr-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--graphite);
  max-width: 52ch;
}
.product-row .pr-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}
.product-row .pr-status .status-dot.upcoming { background: var(--amber); }
.product-row .pr-arrow {
  font-size: 22px;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s;
}
.product-row.dim .pr-name,
.product-row.dim .pr-desc { color: var(--muted); }

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .product-row .pr-desc, .product-row .pr-status, .product-row .pr-arrow {
    grid-column: 2;
  }
}

/* Vaani CTA buttons (in-section, dark bg) */
.vaani-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  background: var(--terracotta);
  color: var(--bone);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: -0.005em;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.vaani-cta:hover { background: var(--bone); color: var(--ink); }
.vaani-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(244, 239, 230, 0.3);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--bone);
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, color 0.2s;
}
.vaani-cta-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }
/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* "modern times" — handwritten ink that flows continuously across the word.
   Always visible. A red gradient sweeps through, brightening one part of the
   word at a time — like an ink wash moving over fixed handwriting. */

.modern-times {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  line-height: 1;
  color: transparent;
  user-select: none;
  /* Critical: give descenders room so 'g' / italic tails aren't clipped */
  padding: 0.1em 0.6em 0.25em 0.08em;
  margin: -0.1em -0.2em -0.25em -0.08em;
  overflow: visible;
}
.modern-times::before { content: none; }
.modern-times::after  { content: none; }

.mt-handwritten {
  position: relative;
  display: inline-block;
  font-family: "Caveat", "Homemade Apple", cursive;
  font-weight: 600;
  font-style: normal;
  text-transform: lowercase;
  letter-spacing: 0.005em;
  font-size: 1em;
  line-height: 1.15;
  vertical-align: baseline;
  padding-right: 0.5em;
  margin-right: -0.3em;
  /* Animated linear gradient as the fill — base red with a brighter highlight band sweeping through */
  background: linear-gradient(
    100deg,
    #d63a2f 0%,
    #d63a2f 30%,
    #ff5a4a 45%,
    #ffb19a 50%,
    #ff5a4a 55%,
    #d63a2f 70%,
    #d63a2f 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mt-flow 6s linear infinite;
}

@keyframes mt-flow {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

/* Hide leftover */
.mt-word, .mt-echo, .mt-track, .mt-slot, .mt-letter, .mt-sig { display: none !important; }
.morph-line {
  position: relative;
  display: inline-block;
}
.morph-line::before {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--terracotta);
  opacity: 0.18;
  z-index: -1;
  transform-origin: left center;
  animation: underline-sweep 4.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes underline-sweep {
  0%   { transform: scaleX(0); opacity: 0; }
  18%  { transform: scaleX(1); opacity: 0.22; }
  82%  { transform: scaleX(1); opacity: 0.22; }
  100% { transform: scaleX(0) translateX(100%); opacity: 0; transform-origin: right center; }
}

/* Animated cursor caret after morph word */
.morph-line::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  height: 0.84em;
  background: var(--terracotta);
  margin-left: 0.08em;
  vertical-align: -0.06em;
  animation: caret-blink 1.05s steps(1) infinite;
}
@keyframes caret-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Subtle wobble on the morph word itself */
.morph-line .m-word.cur {
  animation: morph-emerge 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes morph-emerge {
  0%   { letter-spacing: -0.08em; filter: blur(6px); opacity: 0; }
  100% { letter-spacing: -0.045em; filter: blur(0); opacity: 1; }
}

/* Floating tick marks under the line, ticker-style */
.morph-line::before { z-index: 0; }
.morph .m-word { z-index: 1; position: relative; }
.morph {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  min-width: 5ch;
}
.morph .m-word {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}
.morph .m-word.cur { opacity: 1; transform: translateY(0); filter: blur(0); position: relative; }
.morph .m-word.prev { opacity: 0; transform: translateY(-30%); filter: blur(8px); }
.morph .m-word.next { opacity: 0; transform: translateY(30%); filter: blur(8px); }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  height: 1px;
  background: var(--terracotta);
  width: 0%;
  z-index: 99;
  transition: width 0.1s linear;
}

/* Spec strip */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.spec-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.spec-cell:last-child { border-right: none; }
.spec-cell .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.spec-cell .v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.spec-cell .v sup {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  vertical-align: super;
  color: var(--terracotta);
  margin-left: 4px;
}
@media (max-width: 760px) {
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-cell:nth-child(2) { border-right: none; }
  .spec-cell:nth-child(1), .spec-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* Number callout (large stat) */
.bignum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  padding: 80px 0;
}
.bignum .figure {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(120px, 22vw, 340px);
  line-height: 0.85;
  letter-spacing: -0.055em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.bignum .figure em { color: var(--terracotta); font-style: normal; font-weight: 300; }
.bignum .desc {
  font-size: 17px;
  line-height: 1.5;
  color: var(--graphite);
  letter-spacing: -0.012em;
  max-width: 380px;
}
@media (max-width: 760px) {
  .bignum { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Mobile redesign — nav, studio mock, pipeline
   ============================================================ */

@media (max-width: 760px) {

  /* ---- Tighter shell padding ---- */
  .shell { padding: 0 18px; }

  /* ---- NAV: clean two-element layout ----
     Hide center menu and the app.vaani.media link.
     Keep: logo on left, "Get in touch" CTA on right. */
  .nav-inner {
    grid-template-columns: 1fr auto;
    height: 56px;
  }
  .nav-center { display: none !important; }
  .nav-right { gap: 0; }
  .nav-right .nav-link { display: none; }
  .nav-cta {
    font-size: 12px;
    padding: 8px 14px;
  }

  /* ---- PIPELINE: stack to 1 column ---- */
  .pipeline {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .pipeline .step {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    min-height: auto;
    padding: 26px 4px;
  }
  .pipeline .step:last-child {
    border-bottom: none;
  }

  /* ============================================================
     STUDIO MOCK (.vstudio) — full mobile redesign
     ============================================================ */

  .vstudio { margin-top: 56px; border-radius: 14px; }

  /* Top chrome: hide the right-side timecode/fps/khz cluster.
     Compress dots + project name. */
  .vs-chrome { padding: 12px 14px; }
  .vs-chrome-r { display: none; }
  .vs-proj { font-size: 9px; letter-spacing: 0.1em; }
  .vs-dots i { width: 8px; height: 8px; }

  /* Sub header: hide breadcrumb meta, keep project file + new */
  .vs-sub { padding: 10px 14px; }
  .vs-crumbs .dim,
  .vs-crumbs .vs-back { display: none; }
  .vs-crumbs span:last-child { font-size: 10px; }
  .vs-folder .dim { display: none; }
  .vs-folder { gap: 8px; }

  /* Body grid: stack vertically — left column on top, dub panel below */
  .vs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .vs-left { gap: 12px; }
  .vs-dark { border-radius: 16px; }

  /* Video player: reduce padding around the bar so it doesn't look giant */
  .vs-video { padding: 14px; }
  .vs-video-bar { gap: 10px; padding-top: 10px; }
  .vs-time { font-size: 10px; }
  .vs-langpill { padding: 4px 10px; font-size: 11px; }
  .vs-play { width: 32px; height: 32px; }

  /* DAW timeline: the big visual disaster on mobile. Fix by:
     - shrinking the speaker label column (130px → 56px)
     - hiding every other tick so labels don't overlap
     - smaller bars, tighter gaps */
  .vs-daw { padding: 10px 0 14px; }

  .vs-ruler {
    margin-left: 56px;
    height: 22px;
  }
  .vs-tick:nth-child(even) { display: none; }
  .vs-tick span { font-size: 8px; letter-spacing: 0.05em; }

  .vs-lane-mix {
    flex: 0 0 56px;
    width: 56px;
    padding-right: 8px;
  }
  .vs-lane-name { font-size: 10.5px; }

  .vs-lane-bars {
    gap: 2px;
    padding: 0 6px;
  }
  .vs-lane-bars i { width: 3px; }

  /* Generating badge: smaller, never overflows the lane */
  .vs-gen-badge {
    font-size: 8.5px;
    letter-spacing: 0.06em;
    padding: 5px 9px;
    gap: 5px;
    white-space: nowrap;
    max-width: calc(100% - 16px);
  }
  .vs-spinner { width: 9px; height: 9px; }

  /* Downloads panel */
  .vs-downloads { padding: 16px; border-radius: 14px; }
  .vs-dl-head { gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
  .vs-dl-row {
    grid-template-columns: 30px 1fr auto;
    gap: 10px;
    padding: 10px 0;
  }
  .vs-dl-icon { width: 30px; height: 30px; font-size: 9px; }
  .vs-dl-name { font-size: 13px; }
  .vs-dl-sub { font-size: 10px; }
  .vs-dl-btn { padding: 6px 12px; font-size: 11px; }

  /* Right column (dub setup) — now stacked below */
  .vs-dub { padding: 16px; border-radius: 14px; }
  .vs-dub-cta { padding: 14px 16px; font-size: 13px; }

  /* "After the dub" rows: stack heading & button vertically */
  .vs-after-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .vs-after-row h4 { font-size: 14px; }
  .vs-after-row p { font-size: 12px; }
  .vs-after-btn {
    justify-self: flex-start;
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ---- Smaller phones: extra trim ---- */
@media (max-width: 380px) {
  .nav-cta { font-size: 11px; padding: 7px 12px; }
  /* Visible ticks at <760px are 1,3,5,7,9 (every other one). At <380px,
     also drop 3 and 7 — leaves just 1, 5, 9 spaced apart cleanly. */
  .vs-tick:nth-child(3),
  .vs-tick:nth-child(7) { display: none; }
}
