:root {
  --carbon: #071013;
  --carbon-2: #0c181d;
  --logo-navy: #004a7c;
  --mountain-blue: #087fb5;
  --circuit-cyan: #1ea6d1;
  --cloud: #eef7f4;
  --signal: #ffb703;
  --steel: #415a64;
  --white: #ffffff;
  --line: rgba(7, 16, 19, 0.12);
  --dark-line: rgba(238, 247, 244, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--carbon);
  background: #f6f9fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#human-ai-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 10%), rgba(30, 166, 209, 0.11), transparent 28%),
    #f6f9fb;
}

.cursor-glow {
  position: fixed;
  top: -180px;
  left: -180px;
  z-index: 30;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.10), transparent 62%);
  opacity: 0.65;
  transition: opacity 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 249, 251, 0.88);
  border-bottom: 1px solid rgba(7, 16, 19, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(7, 16, 19, 0.08);
  border-radius: 7px;
  background: var(--white);
}

.brand img {
  width: 178%;
  height: 178%;
  object-fit: contain;
  transform: translateY(2px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--steel);
  font-size: 14px;
  font-weight: 760;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--logo-navy);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 880;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 17px;
  color: var(--carbon);
  background: var(--signal);
}

.button {
  padding: 0 21px;
}

.button.primary {
  color: var(--carbon);
  background: var(--signal);
}

.button.secondary {
  color: var(--carbon);
  background: var(--cloud);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: clamp(36px, 6vw, 84px);
  min-height: calc(100vh - 82px);
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 76px);
  color: var(--white);
  background:
    linear-gradient(rgba(30, 166, 209, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 166, 209, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 74% 16%, rgba(255, 183, 3, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(30, 166, 209, 0.20), transparent 44%),
    rgba(7, 16, 19, 0.96);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  overflow: hidden;
}

.hero,
.short-drama,
.quality,
.workforce,
.partnerships,
.network {
  position: relative;
  isolation: isolate;
}

.hero::before,
.short-drama::before,
.quality::before,
.workforce::before,
.partnerships::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 20%), rgba(255, 183, 3, 0.12), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(30, 166, 209, 0.14), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -1px;
  width: min(760px, 62vw);
  height: 390px;
  background: linear-gradient(135deg, var(--circuit-cyan), var(--logo-navy));
  opacity: 0.20;
  clip-path: polygon(0 100%, 22% 50%, 40% 68%, 68% 14%, 100% 100%);
}

.hero-copy,
.command-center {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: 860px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--circuit-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-label {
  color: var(--mountain-blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 25px;
  max-width: 900px;
  font-size: clamp(58px, 8.4vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 11px;
  font-size: 23px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(238, 247, 244, 0.82);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.command-center {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.logo-panel,
.signal-panel,
.metric-card {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(238, 247, 244, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.logo-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 268px;
  overflow: hidden;
  background: var(--white);
}

.logo-panel img {
  width: min(440px, 118%);
  height: auto;
  display: block;
}

.signal-panel {
  grid-column: 1 / -1;
  min-height: 168px;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 44%, rgba(30, 166, 209, 0.25), transparent 28%),
    rgba(238, 247, 244, 0.07);
}

.signal-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(238, 247, 244, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.signal-top strong {
  color: var(--signal);
}

.route-map {
  position: relative;
  height: 96px;
  margin-top: 18px;
  border-top: 1px solid rgba(30, 166, 209, 0.34);
}

.route-map::before,
.route-map::after {
  content: "";
  position: absolute;
  inset: 24px 34px auto 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--circuit-cyan), var(--signal));
  transform: rotate(-5deg);
  transform-origin: left center;
}

.route-map::after {
  inset: 58px 54px auto 84px;
  opacity: 0.62;
  transform: rotate(7deg);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--carbon);
  background: var(--signal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.kathmandu { left: 6px; top: 38px; }
.us { left: 34%; top: 6px; background: var(--circuit-cyan); }
.asia { left: 64%; top: 44px; background: var(--cloud); }
.eu { right: 6px; top: 14px; }

.metric-card {
  min-height: 158px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.metric-card.wide {
  grid-column: 1 / -1;
}

.metric-card strong {
  display: block;
  color: var(--signal);
  font-size: clamp(35px, 4vw, 52px);
  line-height: 0.95;
}

.metric-card span {
  display: block;
  margin-top: 12px;
  color: rgba(238, 247, 244, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(238, 247, 244, 0.16);
  border-bottom: 1px solid rgba(238, 247, 244, 0.16);
  background: var(--carbon-2);
}

.proof-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  color: rgba(238, 247, 244, 0.78);
  border-right: 1px solid rgba(238, 247, 244, 0.12);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.proof-strip span:last-child {
  border-right: 0;
}

.platform,
.services,
.impact,
.network,
.cta {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.platform {
  background: var(--cloud);
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.platform-copy {
  color: var(--steel);
  font-size: 18px;
  line-height: 1.62;
}

.platform-copy p:last-child {
  margin-bottom: 0;
}

.stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stack article {
  min-height: 275px;
  padding: 26px;
  background: var(--white);
}

.stack span,
.service-index,
.industry-grid span,
.hub-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--circuit-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack p,
.service-board p,
.industry-grid p,
.impact-story p,
.hub-grid p,
.cta-card p {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.56;
}

.services {
  background: #f6f9fb;
}

.section-heading {
  display: grid;
  grid-template-columns: 210px minmax(0, 850px);
  gap: 42px;
  align-items: start;
  margin-bottom: 38px;
}

.service-board {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-board article {
  min-height: 278px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-board .featured-service {
  grid-row: span 2;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(30, 166, 209, 0.20), transparent 45%),
    var(--carbon);
  border-color: rgba(238, 247, 244, 0.12);
}

.featured-service h3 {
  max-width: 390px;
  font-size: clamp(36px, 4.2vw, 56px);
}

.featured-service p {
  color: rgba(238, 247, 244, 0.76);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.mini-tags span {
  padding: 8px 10px;
  color: var(--carbon);
  background: var(--signal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.industries {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 183, 3, 0.12), transparent 26%),
    var(--logo-navy);
}

.industry-copy {
  align-self: center;
}

.industry-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(238, 247, 244, 0.82);
  font-size: 18px;
  line-height: 1.58;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.industry-grid article {
  min-height: 280px;
  padding: 25px;
  border: 1px solid rgba(238, 247, 244, 0.14);
  border-radius: 8px;
  background: rgba(7, 16, 19, 0.22);
}

.industry-grid h3,
.hub-grid h3 {
  color: var(--white);
}

.industry-grid p {
  color: rgba(238, 247, 244, 0.78);
}

.impact {
  background: var(--white);
}

.impact-header {
  max-width: 880px;
  margin-bottom: 40px;
}

.impact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 20px;
}

.impact-story {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(30, 166, 209, 0.18), transparent 48%),
    var(--carbon);
}

.impact-story p {
  color: rgba(238, 247, 244, 0.78);
  font-size: 19px;
  line-height: 1.58;
}

.impact-story .button {
  width: fit-content;
}

.impact-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.impact-numbers div {
  min-height: 224px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9fb;
}

.impact-numbers strong {
  display: block;
  color: var(--logo-navy);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.9;
}

.impact-numbers span {
  display: block;
  max-width: 260px;
  margin-top: 16px;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.4;
}

.network {
  color: var(--white);
  background: var(--carbon);
}

.network-copy {
  max-width: 830px;
  margin-bottom: 38px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hub-grid article {
  min-height: 260px;
  padding: 25px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(238, 247, 244, 0.06);
}

.hub-grid span {
  margin-bottom: 52px;
  color: var(--signal);
}

.hub-grid p {
  color: rgba(238, 247, 244, 0.76);
}

.cta {
  background:
    linear-gradient(135deg, rgba(30, 166, 209, 0.10), transparent 46%),
    var(--cloud);
}

.cta-card {
  max-width: 1060px;
  padding: clamp(32px, 5vw, 58px);
  color: var(--white);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 183, 3, 0.18), transparent 24%),
    var(--logo-navy);
}

.cta-card h2 {
  max-width: 850px;
}

.cta-card p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(238, 247, 244, 0.82);
  font-size: 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 178px;
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.footer-logo img {
  width: 172%;
  height: 172%;
  object-fit: contain;
  transform-origin: left center;
}

.footer p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 190px 1fr auto;
  }

  .hero,
  .platform-grid,
  .industries,
  .impact-layout {
    grid-template-columns: 1fr;
  }

  .command-center {
    max-width: 680px;
  }

  .stack,
  .hub-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-board .featured-service {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    min-height: 86px;
  }

  .brand {
    width: 156px;
    height: 62px;
  }

  .brand img {
    width: 178%;
    height: 178%;
    transform: translateY(1px);
  }

  .nav {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 11px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(44px, 12.5vw, 64px);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .command-center,
  .impact-numbers,
  .industry-grid,
  .service-board,
  .stack,
  .hub-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .logo-panel {
    min-height: 230px;
  }

  .logo-panel img {
    width: 120%;
  }

  .metric-card {
    min-height: 136px;
  }

  .proof-strip span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(238, 247, 244, 0.12);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-board article,
  .stack article,
  .industry-grid article,
  .hub-grid article {
    min-height: 220px;
  }

  .impact-story {
    min-height: 360px;
  }

  .impact-story .button {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Full homepage copy expansion */
.proof-strip {
  grid-template-columns: repeat(8, 1fr);
}

.platform,
.idea,
.services,
.short-drama,
.workflow,
.quality,
.industries,
.proof,
.impact,
.workforce,
.why-nepal,
.partnerships,
.responsible,
.cta {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.idea,
.workflow,
.proof,
.services {
  background: #f6f9fb;
}

.platform,
.why-nepal,
.responsible {
  background: var(--cloud);
}

.secondary-text {
  margin-top: 18px;
  font-size: clamp(16px, 1.5vw, 19px);
}

.statement-line {
  max-width: 1080px;
  margin: 46px 0 0;
  padding: 26px 30px;
  color: var(--white);
  background: var(--logo-navy);
  border-radius: 8px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.24;
  font-weight: 850;
}

.statement-line.small {
  color: var(--carbon);
  background: var(--signal);
  font-size: 18px;
}

.section-intro {
  max-width: 920px;
  margin: -18px 0 36px 252px;
  color: var(--steel);
  font-size: 18px;
  line-height: 1.62;
}

.section-intro.light-text {
  color: rgba(238, 247, 244, 0.78);
}

.split-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.split-text p {
  margin: 0;
  color: var(--steel);
  font-size: 18px;
  line-height: 1.62;
}

.split-text.light p {
  color: rgba(238, 247, 244, 0.78);
}

.three-cards,
.quality-grid,
.compact-grid,
.model-grid,
.detail-list,
.media-grid {
  display: grid;
  gap: 12px;
}

.three-cards {
  grid-template-columns: repeat(3, 1fr);
}

.three-cards.five {
  grid-template-columns: repeat(5, 1fr);
}

.three-cards article,
.quality-grid article,
.compact-grid article,
.model-grid article,
.detail-list article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.three-cards span,
.compact-grid span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--circuit-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.three-cards p,
.quality-grid p,
.compact-grid p,
.model-grid p,
.detail-list p,
.proof-list p {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.56;
}

.service-board.five-services {
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
}

.detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.detail-list article {
  min-height: 190px;
}

.short-drama,
.quality,
.workforce,
.partnerships {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(30, 166, 209, 0.16), transparent 44%),
    var(--carbon);
}

.short-drama {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(450px, 1fr);
  gap: clamp(34px, 6vw, 84px);
}

.media-copy p:not(.eyebrow) {
  color: rgba(238, 247, 244, 0.78);
  font-size: 17px;
  line-height: 1.58;
}

.media-grid {
  grid-template-columns: repeat(2, 1fr);
}

.media-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(238, 247, 244, 0.06);
}

.media-grid p {
  color: rgba(238, 247, 244, 0.76);
  font-size: 15px;
  line-height: 1.52;
}

.strong-line {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding: 24px 28px;
  color: var(--carbon);
  background: var(--signal);
  border-radius: 8px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.22;
  font-weight: 900;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-flow span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: var(--white);
  color: var(--logo-navy);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.process-flow span.active-step {
  color: var(--carbon);
  background: var(--signal);
  transform: translateY(-2px);
}

.compact-grid.seven {
  grid-template-columns: repeat(7, 1fr);
}

.compact-grid article {
  min-height: 250px;
  padding: 22px;
}

.quality-grid {
  grid-template-columns: repeat(3, 1fr);
}

.quality .quality-grid article,
.model-grid article {
  color: var(--white);
  border-color: var(--dark-line);
  background: rgba(238, 247, 244, 0.06);
}

.quality .quality-grid p,
.model-grid p {
  color: rgba(238, 247, 244, 0.76);
}

.industry-grid.expanded {
  grid-template-columns: repeat(3, 1fr);
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list article {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.proof-list h3,
.proof-list p {
  margin-bottom: 0;
}

.proof-list strong {
  color: var(--logo-navy);
  font-size: 15px;
  line-height: 1.5;
}

.impact-cards {
  grid-template-columns: repeat(3, 1fr);
}

.impact-cards div {
  min-height: 200px;
}

.impact-cards strong {
  font-size: clamp(30px, 3vw, 42px);
}

.workforce .section-heading,
.partnerships .section-heading {
  color: var(--white);
}

.role-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.role-cloud span {
  padding: 12px 14px;
  color: var(--carbon);
  background: var(--cloud);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.model-grid {
  grid-template-columns: repeat(5, 1fr);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 12px;
  margin-top: 28px;
}

.contact-grid div {
  padding: 20px;
  border: 1px solid rgba(238, 247, 244, 0.16);
  border-radius: 8px;
  background: rgba(7, 16, 19, 0.16);
}

.contact-grid strong,
.contact-grid span {
  display: block;
}

.contact-grid strong {
  margin-bottom: 8px;
  color: var(--signal);
}

.contact-grid span {
  color: rgba(238, 247, 244, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.reveal,
.service-board article,
.media-grid article,
.quality-grid article,
.proof-list article,
.impact-numbers div {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms ease var(--reveal-delay, 0ms), border-color 220ms ease, background 220ms ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible,
.service-board article.is-visible,
.media-grid article.is-visible,
.quality-grid article.is-visible,
.proof-list article.is-visible,
.impact-numbers div.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-switcher article {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.story-switcher article:hover,
.story-switcher article:focus-visible,
.story-switcher article.active-story {
  transform: translateY(-4px);
  border-color: rgba(30, 166, 209, 0.55);
  box-shadow: 0 18px 44px rgba(0, 74, 124, 0.12);
  outline: none;
}

.story-output {
  margin-top: 12px;
  padding: 26px 30px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(30, 166, 209, 0.20), transparent 48%),
    var(--carbon);
  border: 1px solid rgba(30, 166, 209, 0.28);
  border-radius: 8px;
}

.story-output span,
.story-output strong {
  display: block;
}

.story-output span {
  margin-bottom: 8px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-output strong {
  max-width: 920px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.18;
}

.story-output.pulse {
  animation: storyPulse 420ms ease;
}

@keyframes storyPulse {
  0% { transform: scale(0.985); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .service-board article,
  .media-grid article,
  .quality-grid article,
  .proof-list article,
  .impact-numbers div {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .proof-strip,
  .short-drama,
  .industry-grid.expanded,
  .impact-cards,
  .quality-grid,
  .three-cards,
  .three-cards.five,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .short-drama {
    display: grid;
    grid-template-columns: 1fr;
  }

  .compact-grid.seven,
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-intro {
    margin-left: 0;
  }

  .proof-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .proof-strip,
  .media-grid,
  .quality-grid,
  .three-cards,
  .three-cards.five,
  .detail-list,
  .model-grid,
  .contact-grid,
  .compact-grid.seven,
  .process-flow,
  .industry-grid.expanded,
  .impact-cards,
  .service-board.five-services {
    grid-template-columns: 1fr;
  }

  .split-text {
    grid-template-columns: 1fr;
  }

  .statement-line,
  .strong-line {
    font-size: 20px;
  }
}

/* Cinematic image direction */
.cinematic-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cinema-image {
  grid-column: 1 / -1;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--carbon);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.cinema-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.05) contrast(1.08);
}

.cinema-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 19, 0.08), rgba(7, 16, 19, 0.72)),
    radial-gradient(circle at 52% 50%, rgba(255, 183, 3, 0.24), transparent 20%);
}

.cinema-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  color: var(--white);
}

.cinema-caption span,
.cinema-caption strong {
  display: block;
}

.cinema-caption span {
  margin-bottom: 4px;
  color: rgba(238, 247, 244, 0.72);
  font-size: 15px;
  font-weight: 500;
}

.cinema-caption strong {
  max-width: 420px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.media-grid .image-tile {
  grid-row: span 2;
  min-height: 432px;
  padding: 0;
  overflow: hidden;
  background: var(--carbon);
}

.image-tile img {
  width: 100%;
  height: 100%;
  min-height: 432px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.08);
}

@media (max-width: 780px) {
  .cinema-image,
  .cinema-image img {
    min-height: 380px;
  }

  .media-grid .image-tile,
  .image-tile img {
    min-height: 360px;
  }
}

/* Comment pass: concise, image-led, partner/talent paths, team */
.hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  background:
    linear-gradient(90deg, rgba(7, 16, 19, 0.92) 0%, rgba(7, 16, 19, 0.64) 47%, rgba(7, 16, 19, 0.22) 100%),
    linear-gradient(rgba(30, 166, 209, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 166, 209, 0.08) 1px, transparent 1px),
    rgba(7, 16, 19, 0.98);
  background-size: auto, 54px 54px, 54px 54px, auto;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.98;
}

.hero-text {
  max-width: 760px;
  font-size: clamp(18px, 1.8vw, 23px);
}

.cinematic-panel {
  align-self: end;
}

.cinematic-panel .signal-panel {
  min-height: 168px;
}

.cinematic-panel .metric-card {
  min-height: 150px;
}

.cinematic-panel .metric-card strong {
  font-size: clamp(28px, 3.2vw, 40px);
}

.platform-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.8fr);
}

.platform-copy p {
  font-size: 22px;
  line-height: 1.55;
}

.section-photo {
  position: relative;
  min-height: 330px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--carbon);
}

.section-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.06);
}

.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(7, 16, 19, 0.34)),
    radial-gradient(circle at 50% 48%, rgba(255, 183, 3, 0.22), transparent 22%);
}

.services .section-heading h2,
.workflow .section-heading h2 {
  max-width: 780px;
}

.section-intro {
  max-width: 740px;
  font-size: 20px;
}

.service-board.five-services article,
.detail-list article {
  min-height: 190px;
}

.featured-service h3 {
  font-size: clamp(34px, 3.6vw, 48px);
}

.process-flow {
  grid-template-columns: repeat(5, 1fr);
}

.compact-grid.seven {
  display: none;
}

.media-grid .image-tile {
  min-height: 432px;
}

.media-abstract {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(30, 166, 209, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 166, 209, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgba(255, 183, 3, 0.46), transparent 22%),
    var(--logo-navy) !important;
  background-size: 48px 48px, 48px 48px, auto, auto !important;
}

.media-abstract::before,
.media-abstract::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.media-abstract::before {
  width: 170px;
  height: 170px;
  left: 20%;
  top: 28%;
  border: 2px solid rgba(238, 247, 244, 0.35);
  box-shadow: 0 0 42px rgba(30, 166, 209, 0.36);
}

.media-abstract::after {
  width: 42px;
  height: 42px;
  right: 18%;
  top: 38%;
  background: var(--signal);
  box-shadow: 0 0 44px rgba(255, 183, 3, 0.82);
}

.subtitle-lines {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 30px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.subtitle-lines span {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: rgba(238, 247, 244, 0.72);
}

.subtitle-lines span:nth-child(2) {
  width: 78%;
}

.subtitle-lines span:nth-child(3) {
  width: 48%;
  background: var(--signal);
}

.model-grid {
  grid-template-columns: repeat(4, 1fr);
}

.mini-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 12px;
  color: var(--carbon);
  background: var(--signal);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.team {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
  background: #f6f9fb;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.team-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(30, 166, 209, 0.08), transparent 48%),
    var(--white);
}

.team-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--mountain-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-grid h3 {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(7, 16, 19, 0.74), rgba(7, 16, 19, 0.98));
  }

  .team-grid,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .hero h1 {
    font-size: clamp(36px, 9.8vw, 52px);
    line-height: 1;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(7, 16, 19, 0.72), rgba(7, 16, 19, 0.98));
  }

  .team-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .platform-copy p {
    font-size: 18px;
  }
}

/* ── VIDEO HERO SCROLL SCRUB ────────────────────────────────── */
.hero-scrub-outer {
  position: relative;
  height: 220vh;
  background: transparent;
}

.hero-scrub {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #f8fafb;
}

/* Seamless top + bottom fade — blends hero into surrounding white sections */
.hero-scrub::before,
.hero-scrub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 3;
  pointer-events: none;
}
.hero-scrub::before {
  top: 0;
  background: linear-gradient(180deg, #f8fafb 0%, transparent 100%);
}
.hero-scrub::after {
  bottom: 0;
  background: linear-gradient(0deg, #f8fafb 0%, transparent 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  background: transparent;
  display: block;
  mix-blend-mode: multiply;
}

.hero-logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #f8fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: opacity;
}
.hero-logo-overlay img {
  width: clamp(240px, 36vw, 520px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-intro {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 5vw, 72px) clamp(56px, 8vw, 100px);
  color: var(--white);
  background: rgba(7, 16, 19, 0.98);
  position: relative;
  isolation: isolate;
}

.hero-intro h1 {
  margin-bottom: 24px;
  max-width: 1100px;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.98;
}

.hero-intro .hero-text {
  margin-bottom: 0;
  max-width: 760px;
  color: rgba(238, 247, 244, 0.82);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.42;
}

.hero-intro .hero-actions {
  margin-top: 36px;
}

@media (max-width: 780px) {
  .hero-scrub-outer {
    height: auto;
  }

  .hero-scrub {
    position: relative;
    height: 70vh;
    min-height: 420px;
    contain: layout paint;
  }

  .hero-intro h1 {
    font-size: clamp(36px, 9.8vw, 52px);
    line-height: 1;
  }

  .hero-intro .hero-actions {
    flex-direction: column;
  }
}

/* ── PREMIUM REFINEMENTS ────────────────────────────────────── */
.nav-cta,
.button {
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button.primary:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.28);
  filter: brightness(1.04);
}

.button.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 16, 19, 0.09);
  background: rgba(238, 247, 244, 0.92);
}

.nav a {
  position: relative;
  padding-bottom: 3px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--circuit-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.service-board article:not(.featured-service),
.three-cards article,
.stack article,
.proof-list article,
.team-grid article,
.impact-numbers div,
.industry-grid article {
  box-shadow: 0 1px 2px rgba(7, 16, 19, 0.05), 0 3px 10px rgba(7, 16, 19, 0.04);
}

.featured-service {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.featured-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(8, 127, 181, 0.22), 0 2px 8px rgba(0, 0, 0, 0.16);
}

.process-flow span.active-step {
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.26);
}

.cta-card {
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 74, 124, 0.22), 0 4px 16px rgba(0, 0, 0, 0.10);
}

.role-cloud span {
  border: 1px solid rgba(7, 16, 19, 0.09);
  box-shadow: 0 1px 3px rgba(7, 16, 19, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.role-cloud span:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(7, 16, 19, 0.10);
}

.story-output {
  border-left: 2.5px solid rgba(30, 166, 209, 0.55);
}

.section-heading {
  margin-bottom: 46px;
}

/* ═══════════════════════════════════════════════════════════════
   NEW DESIGN SYSTEM — Liquid Glass / Chapter Hero / Dark Pages
   ═══════════════════════════════════════════════════════════════ */

body.dark-page {
  background: #000;
  color: #fff;
}

body.dark-page .site-header { display: none; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-feature-settings: "ss01", "tnum";
}

.serif-h {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
}

.mono-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 18px;
}

/* ── Liquid Glass primitive ───────────────────────────────────── */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0)    40%,
    rgba(255, 255, 255, 0)    60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ── Floating pill nav ────────────────────────────────────────── */
.floating-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 22px clamp(16px, 3vw, 32px) 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px 10px 20px;
  border-radius: 999px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  height: 28px;
  flex: 0 0 auto;
}

.nav-brand img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.95;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.floating-nav .nav-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background 160ms ease;
}

.floating-nav .nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Pill button (liquid glass CTAs) ──────────────────────────── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.03);
  transition: background 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.pill-btn.primary {
  background: rgba(255, 255, 255, 0.92);
  color: #000;
}

.pill-btn.primary:hover {
  background: #fff;
}

/* ── Hero scrub re-skin (overrides earlier styles) ────────────── */
body.dark-page .hero-scrub-outer {
  position: relative;
  height: 420vh;
  background: #000;
}

body.dark-page .hero-scrub {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

body.dark-page .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  background: #000;
  display: block;
  opacity: 0.78;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: none;
}

.hero-locator {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(7, 16, 19, 0.40);
  text-align: center;
  pointer-events: none;
}

/* ── Chapter stage ────────────────────────────────────────────── */
.chapter-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 64px);
  pointer-events: none;
}

.chapter {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px);
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 220ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.chapter.is-active {
  pointer-events: auto;
}

.chapter-left { grid-column: 1; }
.chapter-right { grid-column: 3; text-align: right; }

.chapter-title {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--carbon);
  margin: 0 0 22px;
}

.chapter-body {
  color: rgba(7, 16, 19, 0.65);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  margin: 0;
  max-width: 380px;
}

.chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chapter-list li {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.5vw, 24px);
  color: rgba(7, 16, 19, 0.82);
  line-height: 1.2;
}

.chapter-right .mono-eyebrow { text-align: right; }

/* Chapters 2–4 sit over the dark video — white text */
.chapter-stage .chapter:nth-child(n+2) .chapter-title { color: #fff; }
.chapter-stage .chapter:nth-child(n+2) .chapter-body  { color: rgba(255,255,255,0.72); }
.chapter-stage .chapter:nth-child(n+2) .chapter-list li { color: rgba(255,255,255,0.88); }
.chapter-stage .chapter:nth-child(n+2) .mono-eyebrow  { color: rgba(255,255,255,0.5); }

.chapter-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* ── Chapter footer (indicator + progress) ────────────────────── */
.chapter-footer {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.chapter-indicator {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.45);
  flex: 0 0 auto;
}

.chapter-progress-track {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.chapter-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(255, 255, 255, 0.65);
  transition: width 80ms linear;
}

/* ── Sections — dark by default (index.html), overridden light ── */
.hsv-section {
  background: #000;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 72px);
  position: relative;
  isolation: isolate;
}

/* Light page overrides — applied when body has no dark-page class */
body:not(.dark-page) .hsv-section {
  background: #fff;
  color: var(--carbon);
}
body:not(.dark-page) .page-hero {
  background: #f6f9fb;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hsv-section .serif-h {
  font-size: clamp(40px, 5.4vw, 76px);
  margin: 14px 0 28px;
  max-width: 22ch;
}

.hsv-section .lede {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 64ch;
  margin: 0 0 56px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: clamp(40px, 5vw, 64px);
}

.mission-card .mono-eyebrow { margin-bottom: 14px; }

.mission-card h3 {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: #fff;
}

.mission-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 42ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 4px;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
}

.contact-meta {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.50);
  text-transform: uppercase;
  margin: 0;
}

/* ── Dark footer ──────────────────────────────────────────────── */
.dark-footer {
  background: #000;
  color: #fff;
  padding: 56px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  gap: 26px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
  transition: color 160ms ease;
}

.footer-nav a:hover { color: #fff; }

/* ── Reveal animations override for dark sections ─────────────── */
body.dark-page .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

body.dark-page .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .nav-pill { padding: 8px 8px 8px 16px; }

  .floating-nav .nav-cta {
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero-locator { top: 86px; font-size: 9px; letter-spacing: 0.26em; }

  body.dark-page .hero-scrub-outer { height: 380vh; }

  .chapter {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 80px 0 120px;
    align-content: center;
  }

  .chapter-left, .chapter-right { grid-column: 1; text-align: left; }

  .chapter-right .mono-eyebrow { text-align: left; }

  .chapter-actions { align-items: flex-start; }

  .chapter-title { font-size: clamp(34px, 8vw, 46px); }

  .mission-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Page hero (about/work) ───────────────────────────────────── */
.page-hero {
  padding-top: clamp(160px, 22vw, 220px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.page-hero h1.serif-h {
  font-size: clamp(48px, 7vw, 96px);
  margin: 18px 0 28px;
  max-width: 16ch;
}

/* ── Two-col text on dark sections ────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.two-col p { margin: 0 0 16px; }
.two-col p:last-child { margin-bottom: 0; }

/* ── Impact row (cards on dark) ───────────────────────────────── */
.impact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
}

.impact-row > div {
  background: #000;
  padding: 36px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.impact-row h3 {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}

.impact-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.55;
}

.impact-row .mono-eyebrow { margin-bottom: 0; }

/* ── Team row ─────────────────────────────────────────────────── */
.team-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 24px;
}

.team-row > div {
  background: #000;
  padding: 36px 24px;
}

.team-row h3 {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 26px);
  margin: 8px 0 0;
  color: #fff;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .impact-row { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr; }
  .page-hero h1.serif-h { font-size: clamp(40px, 12vw, 56px); }
}

/* ═══════════════════════════════════════════════════════════════
   TEAM GRID — flexible grid for 20-person team
   ═══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-card {
  background: #000;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card .mono-eyebrow {
  margin-bottom: 0;
  color: rgba(255, 183, 3, 0.65);
}

.team-card h3 {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(19px, 1.4vw, 23px);
  line-height: 1.1;
  letter-spacing: -0.008em;
  margin: 0;
  color: #fff;
}

.team-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT CARDS — full-width project blocks
   ═══════════════════════════════════════════════════════════════ */
.project-card-full {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.015);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 32px;
  position: relative;
}

.project-card-full:last-child { margin-bottom: 0; }

.project-header { margin-bottom: 36px; }

.project-summary {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 72ch;
  margin: 0;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.project-detail-grid > div {
  background: rgba(7, 16, 19, 0.9);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-detail-grid .mono-eyebrow {
  margin-bottom: 0;
  color: rgba(30, 166, 209, 0.75);
}

.project-detail-grid p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Segment cards (for X001-0001) */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.15);
  margin-bottom: 28px;
}

.segment-card {
  background: rgba(7, 16, 19, 0.95);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.segment-card .mono-eyebrow {
  color: rgba(255, 183, 3, 0.7);
  margin-bottom: 0;
}

.segment-card h4 {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  margin: 0;
  color: #fff;
}

.segment-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Metrics strip */
.project-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-metrics-row span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 166, 209, 0.85);
  padding: 6px 12px;
  border: 1px solid rgba(30, 166, 209, 0.2);
  background: rgba(30, 166, 209, 0.06);
}

@media (max-width: 900px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .segment-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   PRICING TABLE — GPU wholesale pricing
   ═══════════════════════════════════════════════════════════════ */
.pricing-table {
  margin: 40px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.pricing-table th {
  background: rgba(30, 166, 209, 0.08);
  padding: 14px 20px;
  text-align: left;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(30, 166, 209, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  white-space: nowrap;
}

.pricing-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  vertical-align: top;
}

.pricing-table td strong {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

/* Use case column is muted */
.pricing-table td:nth-child(3) {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

/* Price columns */
.pricing-table td:nth-child(4),
.pricing-table td:nth-child(5) {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 183, 3, 0.9);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   WHOLESALE DETAIL — API wholesale terms block
   ═══════════════════════════════════════════════════════════════ */
.wholesale-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.15);
  margin-top: 40px;
}

.wholesale-detail > div {
  background: #000;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wholesale-detail span {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
  .wholesale-detail { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   WHITE / LIGHT THEME SYSTEM
   Applied on all pages without body.dark-page
   ═══════════════════════════════════════════════════════════════ */

/* ── Floating nav — light version ─────────────────────────────── */
body:not(.dark-page) .floating-nav {
  padding-top: 18px;
}

body:not(.dark-page) .nav-pill {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 32px rgba(7, 16, 19, 0.10), 0 0 0 1px rgba(7, 16, 19, 0.07);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body:not(.dark-page) .nav-pill::before { display: none; }

body:not(.dark-page) .nav-brand img {
  filter: none;
  opacity: 1;
}

body:not(.dark-page) .nav-links a {
  color: rgba(7, 16, 19, 0.65);
}

body:not(.dark-page) .nav-links a:hover { color: var(--carbon); }

body:not(.dark-page) .floating-nav .nav-cta {
  color: var(--carbon);
  background: rgba(7, 16, 19, 0.06);
  box-shadow: none;
}

body:not(.dark-page) .floating-nav .nav-cta:hover {
  background: rgba(7, 16, 19, 0.11);
}

/* ── Mono eyebrow on light ────────────────────────────────────── */
body:not(.dark-page) .mono-eyebrow {
  color: rgba(7, 16, 19, 0.42);
}

/* ── Serif heading on light ───────────────────────────────────── */
body:not(.dark-page) .hsv-section .serif-h {
  color: var(--carbon);
}

/* ── Lede / body text on light ────────────────────────────────── */
body:not(.dark-page) .hsv-section .lede {
  color: rgba(7, 16, 19, 0.65);
}

/* ── Page hero on light ───────────────────────────────────────── */
body:not(.dark-page) .page-hero {
  background: #f6f9fb;
  border-bottom: 1px solid rgba(7, 16, 19, 0.07);
}

/* ── Two-col text on light ────────────────────────────────────── */
body:not(.dark-page) .two-col {
  color: rgba(7, 16, 19, 0.68);
}

/* ── Impact row on light ──────────────────────────────────────── */
body:not(.dark-page) .impact-row {
  background: rgba(7, 16, 19, 0.05);
  border-top: 1px solid rgba(7, 16, 19, 0.08);
}

body:not(.dark-page) .impact-row > div {
  background: #fff;
  border-bottom: 1px solid rgba(7, 16, 19, 0.07);
}

body:not(.dark-page) .impact-row h3 {
  color: var(--carbon);
}

body:not(.dark-page) .impact-row p {
  color: rgba(7, 16, 19, 0.62);
}

body:not(.dark-page) .impact-row .mono-eyebrow {
  color: var(--circuit-cyan);
}

/* ── Team grid on light ───────────────────────────────────────── */
body:not(.dark-page) .team-grid {
  background: rgba(7, 16, 19, 0.06);
  border-color: rgba(7, 16, 19, 0.08);
}

body:not(.dark-page) .team-card {
  background: #fff;
}

body:not(.dark-page) .team-card h3 { color: var(--carbon); }

body:not(.dark-page) .team-card p { color: rgba(7, 16, 19, 0.58); }

body:not(.dark-page) .team-card .mono-eyebrow {
  color: var(--circuit-cyan);
}

/* ── Project cards on light ───────────────────────────────────── */
body:not(.dark-page) .project-card-full {
  background: #f9fbfc;
  border-color: rgba(7, 16, 19, 0.09);
}

body:not(.dark-page) .project-header h3 { color: var(--carbon); }
body:not(.dark-page) .project-summary { color: rgba(7, 16, 19, 0.68); }

body:not(.dark-page) .project-detail-grid {
  background: rgba(7, 16, 19, 0.06);
  border-color: rgba(7, 16, 19, 0.08);
}

body:not(.dark-page) .project-detail-grid > div {
  background: #fff;
}

body:not(.dark-page) .project-detail-grid .mono-eyebrow {
  color: var(--circuit-cyan);
}

body:not(.dark-page) .project-detail-grid p {
  color: rgba(7, 16, 19, 0.65);
}

body:not(.dark-page) .segment-grid {
  background: rgba(7, 16, 19, 0.06);
  border-color: rgba(7, 16, 19, 0.1);
}

body:not(.dark-page) .segment-card {
  background: #fff;
}

body:not(.dark-page) .segment-card h4 { color: var(--carbon); }
body:not(.dark-page) .segment-card p { color: rgba(7, 16, 19, 0.6); }

body:not(.dark-page) .project-metrics-row {
  border-top-color: rgba(7, 16, 19, 0.08);
}

body:not(.dark-page) .project-metrics-row span {
  color: var(--circuit-cyan);
  border-color: rgba(30, 166, 209, 0.25);
  background: rgba(30, 166, 209, 0.06);
}

/* ── Pricing table on light ───────────────────────────────────── */
body:not(.dark-page) .pricing-table {
  border-color: rgba(7, 16, 19, 0.10);
}

body:not(.dark-page) .pricing-table th {
  background: rgba(30, 166, 209, 0.06);
  border-bottom-color: rgba(7, 16, 19, 0.10);
}

body:not(.dark-page) .pricing-table td {
  border-bottom-color: rgba(7, 16, 19, 0.06);
  color: rgba(7, 16, 19, 0.72);
}

body:not(.dark-page) .pricing-table td strong { color: var(--carbon); }

body:not(.dark-page) .pricing-table tr:hover td {
  background: rgba(7, 16, 19, 0.02);
}

body:not(.dark-page) .pricing-table td:nth-child(3) {
  color: rgba(7, 16, 19, 0.45);
}

body:not(.dark-page) .pricing-table td:nth-child(4),
body:not(.dark-page) .pricing-table td:nth-child(5) {
  color: var(--mountain-blue);
}

/* ── Wholesale detail on light ────────────────────────────────── */
body:not(.dark-page) .wholesale-detail {
  background: rgba(7, 16, 19, 0.04);
  border-color: rgba(7, 16, 19, 0.10);
}

body:not(.dark-page) .wholesale-detail > div {
  background: #fff;
}

body:not(.dark-page) .wholesale-detail span {
  color: rgba(7, 16, 19, 0.62);
}

/* ── Contact / CTA section on light ──────────────────────────── */
body:not(.dark-page) .contact-section {
  background: #f6f9fb;
  border-top: 1px solid rgba(7, 16, 19, 0.07);
}

body:not(.dark-page) .contact-section .serif-h { color: var(--carbon); }
body:not(.dark-page) .contact-meta { color: rgba(7, 16, 19, 0.40); }

/* ── Pill buttons on light pages ──────────────────────────────── */
body:not(.dark-page) .pill-btn {
  color: var(--carbon);
  background: rgba(7, 16, 19, 0.06);
  border: 1px solid rgba(7, 16, 19, 0.10);
}

body:not(.dark-page) .pill-btn:hover {
  background: rgba(7, 16, 19, 0.10);
}

body:not(.dark-page) .pill-btn.primary {
  background: var(--carbon);
  color: #fff;
  border-color: var(--carbon);
}

body:not(.dark-page) .pill-btn.primary:hover {
  background: #1a2e35;
}

/* ── Text link on light ───────────────────────────────────────── */
body:not(.dark-page) .text-link {
  color: var(--carbon);
  border-bottom-color: rgba(7, 16, 19, 0.25);
}

body:not(.dark-page) .text-link:hover {
  color: var(--mountain-blue);
  border-bottom-color: var(--mountain-blue);
}

/* ── Light footer ─────────────────────────────────────────────── */
.light-footer {
  background: #f6f9fb;
  border-top: 1px solid rgba(7, 16, 19, 0.08);
  padding: 48px clamp(20px, 5vw, 72px);
}

.light-footer .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.light-footer .footer-brand img {
  height: 28px;
  filter: none;
  opacity: 0.85;
}

.light-footer .mono-eyebrow {
  color: rgba(7, 16, 19, 0.38);
}

.light-footer .footer-nav a {
  color: rgba(7, 16, 19, 0.55);
  font-size: 13px;
  font-weight: 500;
  transition: color 160ms ease;
}

.light-footer .footer-nav a:hover { color: var(--carbon); }

/* ── Reveal on light pages ────────────────────────────────────── */
body:not(.dark-page) .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

body:not(.dark-page) .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Sub-page link grid (links to sister pages) ───────────────── */
.subpage-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(7, 16, 19, 0.06);
  border: 1px solid rgba(7, 16, 19, 0.08);
  margin-top: 48px;
}

.subpage-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: #fff;
  text-decoration: none;
  color: var(--carbon);
  transition: background 160ms ease;
}

.subpage-link:hover { background: #f6f9fb; }

.subpage-link .mono-eyebrow { margin: 0; color: var(--circuit-cyan); }

.subpage-link h4 {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.008em;
}

.subpage-link p {
  font-size: 13px;
  color: rgba(7, 16, 19, 0.55);
  margin: 0;
  line-height: 1.5;
}

/* ── Section divider label ────────────────────────────────────── */
.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(7, 16, 19, 0.10);
}

@media (max-width: 900px) {
  .subpage-links { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   DESIGN UPGRADES — interactive effects, hover states, animations
   ══════════════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ───────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--circuit-cyan), var(--mountain-blue));
  z-index: 9999;
  transition: width 60ms linear;
}

/* ── Back-to-top button ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--carbon);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease, background 160ms ease;
  z-index: 999;
}

body:not(.dark-page) #back-to-top {
  background: var(--mountain-blue);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--circuit-cyan);
  transform: translateY(-2px);
}

/* ── Mobile hamburger menu ─────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  transition: transform 260ms ease, opacity 160ms ease;
}

body.dark-page .nav-hamburger span { background: #fff; }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }

  /* Allow dropdown to escape the pill's overflow:hidden clip */
  .nav-pill { overflow: visible; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    padding: 16px 0;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 8px 40px rgba(7, 16, 19, 0.14);
    border: 1px solid rgba(7, 16, 19, 0.06);
  }

  body.dark-page .nav-links {
    background: rgba(7, 16, 19, 0.94);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 24px;
    color: var(--carbon);
    font-size: 15px;
  }

  body.dark-page .nav-links a { color: #fff; }

  .nav-links a:hover { background: rgba(7, 16, 19, 0.04); }

  .nav-pill { position: relative; }
  .nav-left { width: 100%; justify-content: space-between; }
  .nav-cta { display: none; }
}

/* ── Active nav link ─────────────────────────────────────────────── */
.nav-links a.nav-active {
  color: var(--circuit-cyan);
  font-weight: 600;
}

body.dark-page .nav-links a.nav-active { color: var(--circuit-cyan); }

/* ── Glass cards — impact-row, team, service-board, three-cards ── */
body:not(.dark-page) .impact-row > div,
body:not(.dark-page) .team-card,
body:not(.dark-page) .service-board article:not(.featured-service),
body:not(.dark-page) .three-cards article,
body:not(.dark-page) .quality-grid article,
body:not(.dark-page) .detail-list article {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  padding: 28px;
  box-shadow:
    0 2px 12px rgba(7, 16, 19, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

body:not(.dark-page) .impact-row > div:hover,
body:not(.dark-page) .team-card:hover,
body:not(.dark-page) .service-board article:not(.featured-service):hover,
body:not(.dark-page) .three-cards article:hover,
body:not(.dark-page) .quality-grid article:hover,
body:not(.dark-page) .detail-list article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 48px rgba(7, 16, 19, 0.10),
    0 2px 8px rgba(30, 166, 209, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(30, 166, 209, 0.25);
}

/* Give sections a faint gradient bg so glass cards read well */
body:not(.dark-page) .hsv-section.reveal {
  background: linear-gradient(135deg, rgba(30, 166, 209, 0.025) 0%, rgba(8, 127, 181, 0.015) 40%, transparent 70%), #f8fafb;
}

body:not(.dark-page) .hsv-section.page-hero {
  background: linear-gradient(135deg, rgba(30, 166, 209, 0.06) 0%, transparent 60%), #fff;
}

/* ── Project card hover ─────────────────────────────────────────── */
.project-card-full {
  transition: box-shadow 220ms ease;
}

.project-card-full:hover {
  box-shadow: 0 8px 40px rgba(7, 16, 19, 0.10);
}

/* ── Team card (keep for any non-glass contexts) ─────────────────── */
.team-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* ── Subpage link arrow animation ──────────────────────────────── */
.subpage-link::after {
  content: "→";
  font-size: 18px;
  color: var(--circuit-cyan);
  margin-top: auto;
  padding-top: 16px;
  display: block;
  transition: transform 200ms ease;
}

.subpage-link:hover::after {
  transform: translateX(6px);
}

.subpage-link:hover {
  background: #f0f7ff;
  border-color: rgba(30, 166, 209, 0.15);
}

/* ── Segment card hover ─────────────────────────────────────────── */
.segment-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.segment-card:hover {
  transform: translateY(-3px);
  border-color: var(--circuit-cyan);
  box-shadow: 0 6px 24px rgba(30, 166, 209, 0.12);
}

/* ── Pill button hover improvements ─────────────────────────────── */
.pill-btn {
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 16, 19, 0.15);
}

.pill-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(30, 166, 209, 0.30);
}

/* ── Alternating section bg for visual rhythm ──────────────────── */
body:not(.dark-page) .hsv-section.reveal:nth-of-type(even) {
  background: #f8fafb;
}

/* ── Stagger animation for grid reveals ─────────────────────────── */
.impact-row > div,
.team-grid .team-card,
.segment-grid .segment-card {
  transition-delay: var(--stagger, 0ms);
}

/* ── Animated stat numbers ──────────────────────────────────────── */
.stat-number {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--mountain-blue);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

/* ── Page hero decorative accent ────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 166, 209, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Impact page hero — ceremony photo background ───────────────── */
.impact-page-hero,
body:not(.dark-page) .hsv-section.impact-page-hero {
  background: linear-gradient(rgba(246, 249, 251, 0.82), rgba(246, 249, 251, 0.82)),
              url('assets/impact-hero.jpg') center 30% / cover no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* no ::before overlay needed — white wash is in background shorthand */

.hsv-section.impact-page-hero::after,
.hsv-section.work-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(246, 249, 251, 0.6) 40%,
    rgba(246, 249, 251, 0.92) 72%,
    #f6f9fb 100%
  );
  z-index: 2;
  pointer-events: none;
}

.impact-page-hero .section-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

/* impact hero text inherits standard light-page colors */

/* ── Work page hero — Himalayan mountain background ─────────────── */
.work-page-hero,
body:not(.dark-page) .hsv-section.work-page-hero {
  background: linear-gradient(rgba(246, 249, 251, 0.82), rgba(246, 249, 251, 0.82)),
              url('assets/work-hero.jpg') center 40% / cover no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* no ::before overlay needed — white wash is in background shorthand */

.work-page-hero .section-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

/* work hero text inherits standard light-page colors */

/* ── Contact section pill improvements ─────────────────────────── */
.contact-section .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ── Pricing table row hover ────────────────────────────────────── */
.pricing-table tbody tr {
  transition: background 160ms ease;
}

.pricing-table tbody tr:hover {
  background: rgba(30, 166, 209, 0.05);
}

/* ── Smooth focus ring ──────────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--circuit-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Counter animation start state ─────────────────────────────── */
[data-count] {
  display: inline-block;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUDDHA ART  —  blended illustration overlays
   Used on white-theme pages with mix-blend-mode: multiply
   White areas of PNGs become transparent; gold/figures float
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Section wrapper that holds the art */
.has-buddha-art {
  position: relative;
  overflow: hidden;
}

/* The illustration figure — positioned absolutely in the section */
.buddha-art {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  /* multiply: white areas of PNG become invisible, gold/figures remain */
  mix-blend-mode: multiply;
  opacity: 0.82;
  transition: opacity 1.2s ease;
  user-select: none;
}

/* Content inside a has-buddha-art section sits above the art */
.has-buddha-art > .section-inner {
  position: relative;
  z-index: 1;
}

/* ── Placement variants ── */

/* Right-anchored: figure on right, text on left (default) */
.buddha-art.art-right {
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 46%, 680px);
}

/* Left-anchored: figure on left, text on right */
.buddha-art.art-left {
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 42%, 620px);
}

/* Pinned to bottom-right */
.buddha-art.art-bottom-right {
  right: -2%;
  bottom: -8%;
  width: clamp(280px, 44%, 640px);
}

/* Pinned to bottom-left */
.buddha-art.art-bottom-left {
  left: -2%;
  bottom: -8%;
  width: clamp(280px, 44%, 640px);
}

.buddha-art img {
  width: 100%;
  display: block;
}

/* Fade in when section becomes visible */
.has-buddha-art .buddha-art {
  opacity: 0;
  transform: translateY(-50%) translateX(24px);
  transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.has-buddha-art .buddha-art.art-left {
  transform: translateY(-50%) translateX(-24px);
}
.has-buddha-art .buddha-art.art-bottom-right {
  transform: translateY(0) translateX(24px);
}
.has-buddha-art .buddha-art.art-bottom-left {
  transform: translateY(0) translateX(-24px);
}

.has-buddha-art.is-visible .buddha-art {
  opacity: 0.82;
  transform: translateY(-50%) translateX(0);
}
.has-buddha-art.is-visible .buddha-art.art-bottom-right,
.has-buddha-art.is-visible .buddha-art.art-bottom-left {
  transform: translateY(0) translateX(0);
}

@media (max-width: 860px) {
  .buddha-art.art-right,
  .buddha-art.art-left {
    width: clamp(200px, 60%, 400px);
    opacity: 0.55 !important;
  }
  .has-buddha-art.is-visible .buddha-art {
    opacity: 0.55;
  }
}

/* page-hero with buddha art: visible immediately (no reveal needed) */
.page-hero.has-buddha-art .buddha-art {
  opacity: 0.82;
  transform: translateY(-50%) translateX(0);
  transition: none;
}

/* Fade the bottom edge so the image dissolves into the next section */
.page-hero.has-buddha-art::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(248, 250, 251, 0.6) 45%,
    rgba(248, 250, 251, 0.92) 75%,
    #f8fafb 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   MOBILE IMPROVEMENTS — comprehensive small-screen polish
   ════════════════════════════════════════════════════════════════ */

/* Nav gap tightens at medium widths (7 items) */
@media (max-width: 1060px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
}

/* Pricing table scrolls horizontally on small screens */
@media (max-width: 860px) {
  .pricing-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pricing-table table { min-width: 580px; }
  .service-board { grid-template-columns: 1fr; }
  .service-board .featured-service { grid-column: 1; }
  .two-col { grid-template-columns: 1fr; }
  .impact-row { grid-template-columns: repeat(2, 1fr); }
  .wholesale-detail { grid-template-columns: repeat(2, 1fr); }
}

/* Small phones: tighten everything */
@media (max-width: 640px) {
  /* Section padding */
  .hsv-section {
    padding: clamp(52px, 14vw, 72px) clamp(16px, 5vw, 28px);
  }

  /* Page hero tighter */
  .page-hero {
    padding-top: clamp(88px, 22vw, 120px);
    padding-bottom: clamp(36px, 10vw, 52px);
  }

  /* Serif headings */
  .hsv-section .serif-h { font-size: clamp(28px, 8.5vw, 42px); }
  .page-hero h1.serif-h { font-size: clamp(34px, 10vw, 52px); }

  /* Lede */
  .hsv-section .lede { font-size: 15px; margin-bottom: 36px; }

  /* CTA buttons: stack on mobile */
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .pill-btn { text-align: center; display: block; width: 100%; box-sizing: border-box; }

  /* Grid collapses */
  .three-cards { grid-template-columns: 1fr; }
  .three-cards.story-switcher { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .impact-row { grid-template-columns: 1fr; }
  .impact-cards { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .proof-list article { grid-template-columns: 1fr; }
  .wholesale-detail { grid-template-columns: 1fr; }

  /* Statement line */
  .statement-line { font-size: 16px; line-height: 1.5; padding: 20px; }

  /* Section heading gap */
  .section-heading { margin-bottom: 28px; }

  /* nepal-stat grid */
  .nepal-stat { grid-template-columns: 90px 1fr; gap: 14px; }
  .nepal-stat-label { font-size: 9px; }

  /* Footer stack */
  .light-footer .footer-inner,
  .dark-footer .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav { flex-wrap: wrap; gap: 10px 18px; }
  .footer-nav a { font-size: 13px; }

  /* Partner finale detail: single col */
  .partner-finale-detail { grid-template-columns: 1fr; }

  /* Pill btn sizing */
  .pill-btn { padding: 0 18px; height: 44px; font-size: 14px; }

  /* Process steps: 1 col */
  .process-steps { grid-template-columns: 1fr; }
  .process-step::after { display: none; }

  /* Roles grid: 1 col */
  .roles-grid { grid-template-columns: 1fr; }

  /* Team photo grid: 1 col on smallest screens */
  .team-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-leadership-grid { grid-template-columns: 1fr; }
  .workforce-tiers { grid-template-columns: 1fr; }
}

/* Ultra-small phones */
@media (max-width: 400px) {
  .floating-nav { padding-top: 14px; padding-left: 10px; padding-right: 10px; }
  .nav-brand img { height: 22px; }
  .nav-pill { padding: 8px 8px 8px 12px; }
  .nepal-stat { grid-template-columns: 1fr; gap: 6px; }
  .nepal-stat-label { padding-top: 0; }
}

/* ── Decorative symbols — blended gold art ── */
.hsv-symbol {
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: 0.13;
  mix-blend-mode: multiply;
  position: absolute;
  z-index: 0;
}

.hsv-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Relative wrapper needed for sections that use symbols */
.symbol-host {
  position: relative;
  overflow: visible;
}

@media (max-width: 768px) {
  .hsv-symbol { opacity: 0.08; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE FIXES — nav, video, chapters, general UX
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Nav: force CTA hidden at mobile regardless of light/dark specificity ── */
@media (max-width: 900px) {
  body .floating-nav .nav-cta,
  body:not(.dark-page) .floating-nav .nav-cta {
    display: none !important;
  }
  /* Tighten pill so hamburger + logo fit cleanly */
  .nav-pill {
    padding: 8px 12px 8px 14px;
    gap: 10px;
  }
  .nav-brand img { height: 26px; }
}

/* ── 2. Video: hide the logo overlay on mobile (tickLogo() never runs) ── */
@media (max-width: 780px) {
  .hero-logo-overlay { display: none; }

  /* Remove blend mode on video — GPU compositing conflicts on iOS */
  .hero-video {
    mix-blend-mode: normal;
    object-position: center top;
  }

  /* Remove contain so video renders without clip bugs */
  .hero-scrub { contain: none; }
}

/* ── 3. Chapter layout: single column on mobile ── */
@media (max-width: 780px) {
  .chapter-stage {
    padding: 0 clamp(16px, 5vw, 28px);
    align-items: flex-end;
    padding-bottom: clamp(36px, 8vw, 56px);
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chapter-right { display: none; }
  .chapter-left { grid-column: 1; }

  .chapter-title {
    font-size: clamp(24px, 7vw, 34px);
    margin-bottom: 12px;
  }

  .chapter-body { font-size: 14px; }

  /* ALL chapters are white on mobile — video always plays dark behind them */
  .chapter-stage .chapter .chapter-title { color: #fff; }
  .chapter-stage .chapter .chapter-body  { color: rgba(255,255,255,0.72); }
  .chapter-stage .chapter .chapter-list li { color: rgba(255,255,255,0.88); }
  .chapter-stage .chapter .mono-eyebrow  { color: rgba(255,255,255,0.5); }
  .chapter-indicator { color: rgba(255,255,255,0.5); }
  .chapter-progress-track { background: rgba(255,255,255,0.18); }
  .chapter-progress-fill  { background: rgba(255,255,255,0.72); }
}

/* ── 4. Hero scrub: fixed height on mobile so video visible ── */
@media (max-width: 780px) {
  .hero-scrub-outer { height: auto; }
  .hero-scrub {
    position: relative;
    height: 80vh;
    min-height: 480px;
  }
}

/* ── 5. General mobile spacing ── */
@media (max-width: 640px) {
  /* Partners wall two-column → single */
  .partners-wall-inner { grid-template-columns: 1fr !important; }

  /* Fund + infra grids */
  .funds-grid { grid-template-columns: 1fr !important; }
  .infra-grid { grid-template-columns: 1fr !important; }
  .two-paths-grid { grid-template-columns: 1fr !important; }

  /* Tighten path cards */
  .path-card { padding: 28px 24px; }
  .fund-card { padding: 22px 20px; }
  .infra-card { padding: 24px 20px; }

  /* Fund location chips wrap tighter */
  .fund-locations { gap: 8px; }
  .fund-loc { font-size: 10px; padding: 8px 14px; }
}

/* ═══════════════════════════════════════════════════════════════════
   v9 — proof strip, rich footer, logo wall, generic page-section
   ═══════════════════════════════════════════════════════════════════ */

/* ── Proof strip (homepage + about) ── */
.proof-strip {
  padding: clamp(48px, 5vw, 80px) clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid rgba(7, 16, 19, 0.06);
  border-bottom: 1px solid rgba(7, 16, 19, 0.06);
  position: relative;
  z-index: 5;
}
.proof-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}
.proof-stat {
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid rgba(7, 16, 19, 0.06);
}
.proof-stat:last-child { border-right: none; }
.proof-stat-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--carbon);
  display: block;
  margin-bottom: 14px;
}
.proof-stat-num em {
  color: #C4A256;
  font-style: normal;
  font-size: 0.46em;
  vertical-align: 0.32em;
  margin-left: 1px;
  letter-spacing: -0.01em;
}
.proof-stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(7, 16, 19, 0.52);
  line-height: 1.45;
  display: block;
}
.proof-stat-sublabel {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(7, 16, 19, 0.32);
  margin-top: 4px;
  text-transform: uppercase;
  display: block;
}
@media (max-width: 720px) {
  .proof-strip-inner { grid-template-columns: 1fr 1fr; }
  .proof-stat { border-right: none; border-bottom: 1px solid rgba(7,16,19,0.06); padding: 22px 12px; }
  .proof-stat:nth-child(2n) { border-right: none; }
  .proof-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Logo wall (about + partner) — two-column, compressed ── */
.logo-wall {
  padding: clamp(64px, 7vw, 104px) clamp(20px, 5vw, 72px);
  background: #fafaf8;
  border-top: 1px solid rgba(7, 16, 19, 0.06);
}
.logo-wall-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.logo-wall-text { text-align: left; }
.logo-wall .mono-eyebrow {
  color: #C4A256;
  margin-bottom: 14px;
}
.logo-wall h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--carbon);
  margin: 0 0 18px;
}
.logo-wall-text p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(7, 16, 19, 0.6);
  margin: 0 0 16px;
  max-width: 380px;
}
.logo-wall-img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(7, 16, 19, 0.06);
  box-shadow: 0 4px 36px rgba(7, 16, 19, 0.06);
}
.logo-wall-note {
  margin: 16px 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(7, 16, 19, 0.38);
  max-width: 380px;
}
@media (max-width: 860px) {
  .logo-wall-inner { grid-template-columns: 1fr; gap: 28px; }
  .logo-wall-text p, .logo-wall-note { max-width: none; }
}

/* ── Rich footer (replaces .light-footer) ── */
.rich-footer {
  background: #fff;
  border-top: 1px solid rgba(7, 16, 19, 0.08);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 72px) 32px;
  font-family: 'Inter', system-ui, sans-serif;
}
.rich-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.rich-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(7, 16, 19, 0.08);
}
.rich-footer-brand img {
  height: 34px;
  margin-bottom: 18px;
  display: block;
}
.rich-footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(7, 16, 19, 0.55);
  max-width: 280px;
  margin: 0 0 16px;
}
.rich-footer-brand .mono-eyebrow {
  color: rgba(7, 16, 19, 0.45);
  font-size: 9.5px;
}
.rich-footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(7, 16, 19, 0.45);
  margin: 0 0 18px;
}
.rich-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rich-footer-col a {
  font-size: 13px;
  color: rgba(7, 16, 19, 0.7);
  text-decoration: none;
  transition: color 160ms ease;
}
.rich-footer-col a:hover { color: var(--carbon); }
.rich-footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rich-footer-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(7, 16, 19, 0.4);
}
.rich-footer-legal {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}
.rich-footer-legal a {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(7, 16, 19, 0.4);
  text-decoration: none;
  transition: color 160ms ease;
}
.rich-footer-legal a:hover { color: var(--carbon); }
@media (max-width: 920px) {
  .rich-footer-top { grid-template-columns: 1fr 1fr; }
  .rich-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .rich-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .rich-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── Page-section helper for the new pages (lumbini / buddha-ai / press / fund / notes) ── */
.page-frame {
  padding: clamp(120px, 12vw, 160px) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 80px);
  max-width: 100%;
}
.page-frame-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Notes / press article cards */
.note-card {
  display: block;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(7, 16, 19, 0.08);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.note-card:hover {
  border-color: rgba(196, 162, 86, 0.4);
  box-shadow: 0 8px 36px rgba(7, 16, 19, 0.06);
  transform: translateY(-2px);
}
.note-card-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C4A256;
  margin: 0 0 16px;
}
.note-card h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--carbon);
  margin: 0 0 12px;
}
.note-card p {
  font-size: 14px;
  line-height: 1.68;
  color: rgba(7, 16, 19, 0.6);
  margin: 0 0 18px;
}
.note-card-cta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--carbon);
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .notes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .notes-grid { grid-template-columns: 1fr; } }

/* Subscribe block */
.subscribe-block {
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(28px, 3vw, 44px);
  background: #fafaf8;
  border-radius: 14px;
  border: 1px solid rgba(7, 16, 19, 0.06);
  text-align: center;
}
.subscribe-block h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 8px;
  color: var(--carbon);
}
.subscribe-block p {
  font-size: 14px;
  color: rgba(7, 16, 19, 0.55);
  margin: 0 0 22px;
}
.subscribe-form {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 520px;
  width: 100%;
}
.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: 1px solid rgba(7, 16, 19, 0.14);
  border-radius: 999px;
  background: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: var(--carbon);
  outline: none;
  transition: border-color 160ms ease;
}
.subscribe-form input[type="email"]:focus { border-color: #C4A256; }

/* Definition list for fund disclosure */
.disclosure-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0 0;
}
.disclosure-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(7, 16, 19, 0.08);
}
.disclosure-row:last-child { border-bottom: 1px solid rgba(7, 16, 19, 0.08); }
.disclosure-row dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4A256;
}
.disclosure-row dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(7, 16, 19, 0.7);
}
@media (max-width: 720px) {
  .disclosure-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════
   v10 — MOBILE POLISH PASS
   Fixes for the homepage hero, nav, typography, and overflow issues
   so iPhone/Android/iPad match desktop quality.
   ═══════════════════════════════════════════════════════════════════ */

/* Prevent any horizontal scroll on phones — kill rogue overflow */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
}

/* ── Floating nav: keep brand + CTA + hamburger fitting at 320–430px ── */
@media (max-width: 480px) {
  .floating-nav {
    padding: 14px 10px 0;
  }
  .nav-pill {
    padding: 7px 10px 7px 14px;
    gap: 8px;
    max-width: calc(100vw - 20px);
  }
  .nav-brand img { height: 22px; }
  .nav-hamburger { padding: 10px; }
  .nav-hamburger span { width: 20px; }
}

/* ── HOMEPAGE HERO — mobile cinema mode ─────────────────────────────
   Desktop uses sticky scroll-scrubbed video with absolutely-stacked
   chapters that fade through on scroll. On mobile we keep that exact
   visual — video full-bleed, chapters as overlays — but drive the
   chapter rotation on a 5-second auto-cycle (script.js handles it)
   plus tap-to-advance dots at the bottom. No more "scroll past
   stacked cards" — it reads as one continuous cinematic frame.
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 780px) {
  /* Restore full-viewport hero — one cinematic frame, not a tall scroll */
  .hero-scrub-outer { height: 100vh; }
  @supports (height: 100dvh) { .hero-scrub-outer { height: 100dvh; } }

  .hero-scrub {
    position: relative;
    display: block;
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
    contain: none;
    background: #07100f;
    isolation: isolate;
  }
  @supports (height: 100dvh) { .hero-scrub { height: 100dvh; } }

  /* Kill the desktop seam fades */
  .hero-scrub::before,
  .hero-scrub::after { display: none; }

  /* Video full-bleed — fills the entire hero frame */
  .hero-scrub .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    mix-blend-mode: normal;
    display: block;
    z-index: 0;
  }

  /* Vignette — dark gradient at top + bottom for text legibility */
  .hero-scrub .hero-vignette {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(7,16,15,0.65) 0%,
        rgba(7,16,15,0.0) 22%,
        rgba(7,16,15,0.0) 38%,
        rgba(7,16,15,0.55) 72%,
        rgba(7,16,15,0.92) 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* HSV logo overlay — only shows during chapter 1, fades during others.
     JS sets data-show-logo on .hero-scrub when activeIdx === 0. */
  .hero-scrub .hero-logo-overlay {
    display: flex !important;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    /* Lift the logo above the chapter so it sits in the upper half */
    padding-bottom: 38vh;
  }
  .hero-scrub[data-active-chapter="0"] .hero-logo-overlay { opacity: 1; }
  .hero-scrub .hero-logo-overlay img {
    width: clamp(160px, 52vw, 280px);
    height: auto;
    mix-blend-mode: screen;
    opacity: 0.95;
    filter: brightness(1.18) drop-shadow(0 10px 40px rgba(196,162,86,0.18));
  }

  /* Locator chip at the very top */
  .hero-scrub .hero-locator {
    top: 76px;
    color: rgba(255,255,255,0.7);
    font-size: 9.5px;
    letter-spacing: 0.32em;
    z-index: 5;
  }

  /* Chapter stage = absolute overlay covering the bottom 50% of the hero */
  .hero-scrub .chapter-stage {
    position: absolute;
    inset: auto 0 0 0;
    height: 60%;
    display: block;
    padding: 0;
    background: transparent;
    pointer-events: auto;
    z-index: 5;
  }

  /* Each chapter is absolute, layered on top of the others, opacity-driven */
  .hero-scrub .chapter {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 26px clamp(96px, 16vh, 132px);
    width: 100%;
    max-width: none;
    margin: 0;
    opacity: 0 !important;
    transform: translateY(14px) !important;
    transition:
      opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
    border-bottom: none;
    background: transparent;
    grid-template-columns: 1fr;
  }
  .hero-scrub .chapter.is-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto;
  }

  .hero-scrub .chapter-left,
  .hero-scrub .chapter-right {
    display: block;
    grid-column: auto;
    text-align: left;
    width: 100%;
  }
  .hero-scrub .chapter-right { display: block !important; margin-top: 4px; }
  .hero-scrub .chapter-right .mono-eyebrow { display: none; }

  .hero-scrub .chapter-title {
    font-size: clamp(24px, 6.6vw, 32px);
    line-height: 1.08;
    letter-spacing: -0.018em;
    margin: 8px 0 10px;
    color: #fff;
    text-shadow: 0 2px 24px rgba(7,16,15,0.55);
    max-width: 100%;
  }
  .hero-scrub .chapter-body {
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255,255,255,0.82);
    max-width: 100%;
    text-shadow: 0 1px 12px rgba(7,16,15,0.55);
    margin-bottom: 8px;
  }
  .hero-scrub .chapter .mono-eyebrow {
    color: rgba(196,162,86,0.95);
    font-size: 10px;
    letter-spacing: 0.28em;
  }
  .hero-scrub .chapter-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
  }
  .hero-scrub .chapter-list li {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(7,16,15,0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-scrub .chapter-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
  }
  .hero-scrub .chapter-actions .pill-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hero-scrub .chapter-actions .pill-btn:first-child {
    background: rgba(196,162,86,0.26);
    border-color: rgba(196,162,86,0.7);
    color: #fff;
  }

  /* Pagination dots at bottom — JS injects .hero-pagination */
  .hero-pagination {
    position: absolute;
    bottom: clamp(24px, 4vh, 38px);
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 6;
    pointer-events: auto;
  }
  .hero-pagination button {
    width: 8px; height: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.32);
    cursor: pointer;
    transition: background 0.4s ease, width 0.4s ease, border-radius 0.4s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .hero-pagination button.is-active {
    background: #C4A256;
    width: 30px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(196,162,86,0.55);
  }

  /* Tap-to-advance regions — invisible left/right halves */
  .hero-tap-zones {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    pointer-events: auto;
  }
  .hero-tap-zones .zone {
    flex: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hide the desktop scroll-scrub progress footer */
  .hero-scrub .chapter-footer { display: none; }

  /* ── Buddha philosophy section: photographic background scaling ── */
  .buddha-bg-img {
    object-position: center 28%;
    transform: scale(1.05);
  }
  .buddha-pin {
    /* Slight floor color tint so the brand image transitions in cleanly */
    background: linear-gradient(180deg, #f8fafb 0%, #f4ecd8 100%);
  }
}

/* ── Universal mobile typography floor ──────────────────────────── */
@media (max-width: 640px) {
  /* Base body never below 15px on mobile */
  body { font-size: 15px; line-height: 1.55; }

  /* Cap H1 on tiny phones — Instrument Serif at 38px+ wraps clumsily */
  .page-hero h1.serif-h { font-size: clamp(32px, 9vw, 38px); line-height: 1.04; }

  /* Section serif headings: same cap */
  .hsv-section .serif-h { font-size: clamp(26px, 8vw, 36px); line-height: 1.06; }

  /* Section padding: reasonable mobile floor (was 52px floor before) */
  .hsv-section { padding: 56px 18px; }

  /* Page hero padding: leave room for floating nav */
  .page-hero { padding-top: 110px; padding-bottom: 44px; padding-left: 18px; padding-right: 18px; }

  /* Lede legibility */
  .hsv-section .lede { font-size: 15px; line-height: 1.55; max-width: none; }
}

/* ── Buddha scrub: tune mobile typography + spacing ─────────────── */
@media (max-width: 700px) {
  .buddha-scrub { height: 520vh; }
  .buddha-text-stage { padding: 0 0 12vh; }
  .buddha-beat {
    left: 22px;
    right: 22px;
  }
  .bb-eyebrow { font-size: 9.5px; margin-bottom: 12px; }
  .bb-word { font-size: clamp(40px, 11.5vw, 64px); line-height: 0.94; }
  .bb-rule { margin: 18px 0 12px; }
  .bb-label { font-size: 10.5px; margin-bottom: 22px; }
  .bb-body .bb-line { font-size: 17px; line-height: 1.42; }
  .bb-cta { margin-top: 28px; }
  .bb-cta .pill-btn { width: auto; }
  .buddha-progress { right: 14px; gap: 12px; }
  .buddha-concept-tag { right: 14px; bottom: 22px; }
  .buddha-concept-tag span { font-size: 8.5px; }
}

/* ── Buddha bg image: better crop on portrait ─────────────────── */
@media (max-width: 700px) {
  .buddha-bg-img {
    object-position: 65% 30%;
  }
}

/* ── Page-frame top padding on mobile (clear floating nav) ────── */
@media (max-width: 640px) {
  .page-frame { padding-top: clamp(96px, 26vw, 130px); padding-left: 18px; padding-right: 18px; }
}

/* ── Subscribe form on phone ─────────────────────────────────── */
@media (max-width: 540px) {
  .subscribe-form { flex-direction: column; }
  .subscribe-form input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }
  .subscribe-form .pill-btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ── Hero pill-btn touch target ──────────────────────────────── */
@media (max-width: 640px) {
  .pill-btn { min-height: 48px; }
  .nav-cta { min-height: 44px; }
}

/* ── Buddha art: shrink + soften so text never gets crushed ──── */
@media (max-width: 640px) {
  .buddha-art.art-right,
  .buddha-art.art-left,
  .buddha-art.art-bottom-right,
  .buddha-art.art-bottom-left {
    width: clamp(160px, 50%, 280px) !important;
    opacity: 0.32 !important;
  }
  .has-buddha-art.is-visible .buddha-art { opacity: 0.32 !important; }
  .has-buddha-art > .section-inner { position: relative; z-index: 2; }
}

/* ── Logo wall: stack on mobile (was two-column even at 540px) ── */
@media (max-width: 780px) {
  .logo-wall-inner { grid-template-columns: 1fr; gap: 28px; }
  .logo-wall-text { text-align: left; }
}

/* ── Rich footer brand block: tighten on mobile ──────────────── */
@media (max-width: 540px) {
  .rich-footer { padding: 40px 20px 24px; }
  .rich-footer-brand p { max-width: none; }
  .rich-footer-col h4 { margin-bottom: 12px; }
  .rich-footer-col ul { gap: 8px; }
}

/* ── iOS 100vh fix for any element using 100vh ──────────────── */
@supports (height: 100dvh) {
  body.dark-page .hero-scrub { height: 100dvh; }
  .buddha-pin { height: 100dvh; }
}

/* ── Floating-nav at iPad sizes: avoid overlap on light pages ── */
@media (min-width: 781px) and (max-width: 1024px) {
  .floating-nav { padding-top: 16px; }
  .nav-pill { padding: 9px 12px 9px 18px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
}
