@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg-dark: #06120f;
  --bg-darker: #03100d;
  --bg-light: #f2f0e8;
  --teal: #1f4e45;
  --teal-bright: #3fa88a;
  --green-accent: #abfee5;
  --text-light: #eaf2ee;
  --text-muted: #b9ded5;
  --text-dark: #0b1a15;
  --text-dark-muted: #516159;
  --serif: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

::selection {
  background: var(--green-accent);
  color: var(--text-dark);
}
/* ---------- UTILITIES / ACCESSIBILITY ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 32px;
  z-index: 100;
  background: rgba(6, 18, 15, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
nav.nav-hidden {
  transform: translateY(-130%);
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #fff;
}
.logo span {
  color: var(--green-accent);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.nav-links a:hover {
  opacity: 1;
}

/* ---------- MOBILE NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 90px 24px 28px;
  background: rgba(3, 16, 13, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.nav-dropdown.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-dropdown a:last-child {
  border-bottom: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-track {
  display: flex;
  width: 700%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-track.no-transition {
  transition: none;
}
.hero-slide {
  width: 14.2857%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 16, 13, 0.2) 0%,
    rgba(3, 16, 13, 0.8) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 18, 15, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.hero-arrow:hover {
  background: rgba(6, 18, 15, 0.6);
  border-color: var(--green-accent);
  color: var(--green-accent);
}
.hero-arrow-right {
  right: 32px;
}
@media (max-width: 760px) {
  .hero-arrow {
    width: 38px;
    height: 38px;
  }
  .hero-arrow-right {
    right: 16px;
  }
}
.img-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c2a23, #06120f 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
img.has-error {
  display: none;
}
img.has-error + .img-fallback {
  display: flex;
}
.img-fallback {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 230px;
  max-width: 900px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-accent);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.5;
}
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--green-accent), transparent);
}
@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------- STAT / PROBLEM ---------- */
.stat-section {
  min-height: 100vh;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-darker);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-section .big {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  max-width: 920px;
  margin: 0 auto 24px;
  letter-spacing: -0.01em;
}
.stat-section .big em {
  font-style: normal;
  color: var(--green-accent);
}
.stat-section p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- MISSION ---------- */
.mission {
  min-height: 100vh;
  padding: 110px 48px;
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mission h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700;
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.mission p {
  color: var(--text-dark-muted);
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- MISSION VIDEO (inline autoplay, no controls/buttons) ---------- */
.mission-video-box {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 16/9;
  margin: 56px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #06120f;
  box-shadow: 0 30px 70px rgba(11, 26, 21, 0.25);
  border: 1px solid rgba(11, 26, 21, 0.1);
}
.mission-video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 860px) {
  .mission-video-box {
    margin-top: 36px;
    border-radius: 14px;
  }
}

/* ---------- PRODUCT FULL BLEED ---------- */
.product {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.product-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.product-img img,
.product-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-img.right-fade {
  left: auto;
  right: 0;
  width: 78%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img.right-fade::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to right,
      var(--bg-dark) 0%,
      rgba(6, 18, 15, 0.85) 12%,
      transparent 38%
    ),
    linear-gradient(
      to bottom,
      rgba(6, 18, 15, 0.5) 0%,
      transparent 18%,
      transparent 82%,
      rgba(6, 18, 15, 0.5) 100%
    );
  pointer-events: none;
}
.product-img.right-fade img,
.product-img.right-fade video {
  position: relative;
  z-index: 1;
}
/* Vignette specifically over the video so all edges fade softly,
   not just the left/top/bottom gradient that already exists */
.product-img.right-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse 60% 75% at center,
    transparent 20%,
    rgba(0, 0, 0, 0.55) 90%,
    rgba(6, 18, 15, 0.95) 100%
  );
  pointer-events: none;
}

/* image on the left third, fading right into the text */
.product.img-left .product-img {
  left: 0;
  right: auto;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product.img-left .product-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to left,
      var(--bg-dark) 0%,
      rgba(6, 18, 15, 0.85) 10%,
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      rgba(6, 18, 15, 0.5) 0%,
      transparent 18%,
      transparent 82%,
      rgba(6, 18, 15, 0.5) 100%
    );
  pointer-events: none;
}
.product.img-left .product-img img,
.product.img-left .product-img video {
  position: relative;
  z-index: 1;
}

.scrolly-pin {
  width: 100%;
}

.product-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 560px;
}

.product.img-left .product-content {
  margin-left: 50%;
  max-width: 780px;
}

@media (max-width: 860px) {
  .product.img-left .product-img {
    position: relative;
    width: 100%;
    height: 45vh;
    left: 0;
  }
  .product.img-left .product-content {
    margin-left: 0;
    max-width: 100%;
  }
}
.product-img.right-fade img,
.product-img.right-fade video {
  object-fit: contain;
  object-position: center;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 16, 13, 0.92) 0%,
    rgba(3, 16, 13, 0.5) 45%,
    rgba(3, 16, 13, 0.1) 75%
  );
}
.product.flip .product-overlay {
  background: linear-gradient(
    270deg,
    rgba(3, 16, 13, 0.92) 0%,
    rgba(3, 16, 13, 0.5) 45%,
    rgba(3, 16, 13, 0.1) 75%
  );
}
.product.flip .product-content {
  margin-right: auto;
  text-align: left;
}

/* Tag & Scrolly Header Flex System */
.scrolly-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.scrolly-header .tag,
.scrolly-header .patent-badge {
  margin-bottom: 0;
}
.scrolly-header h3 {
  width: 100%;
  margin-top: 2px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-accent);
  border: 1px solid rgba(159, 255, 107, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  font-weight: 600;
}
.product h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.product > .product-content > p.lede {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product.flip .steps {
  align-items: left;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.product.flip .step {
  flex-direction: row-reverse;
  text-align: left;
}
.step-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--green-accent);
  border: 1px solid rgba(159, 255, 107, 0.35);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease;
}
.step p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
  padding-top: 4px;
}
.stat-callout {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.product.flip .stat-callout {
  display: flex;
  justify-content: flex-end;
}
.stat-callout .num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--green-accent);
  display: block;
}
.stat-callout .label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- DESKTOP: VAAN SCROLL-SCRUBBED VIDEO SECTION ---------- */
/* Everything in this block only applies at min-width: 861px, i.e.
         laptop/desktop. The mobile swipe-carousel version further down
         the stylesheet (inside @media max-width: 860px) is completely
         separate and untouched. */
@media (min-width: 861px) {
  .product.img-left.scrolly {
    height: 320vh; /* raise for a slower/longer scrub, lower for a quicker one */
    min-height: 0;
    align-items: stretch;
    display: block;
    position: relative;
  }
  .product.img-left.scrolly .scrolly-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
  }
  /* JS toggles this class while the section is actively pinned to the
           viewport (position: fixed). Outside that range it's positioned
           absolutely at the top or bottom of the section so it looks like
           it "enters" and "exits" the pin naturally without any jump. */
  .product.img-left.scrolly .scrolly-pin.is-pinned {
    position: fixed;
    top: 0;
  }

  /* --- FULL-BLEED CANVAS BACKGROUND ---
           Overrides the narrower right-fade layout so the canvas/video
           covers the entire width and height of the section like a
           landscape background. */
  .product.img-left.scrolly .product-img.right-fade {
    left: 0;
    right: 0;
    width: 100%;
    inset: 0;
  }
  .product.img-left.scrolly .product-img.right-fade::before {
    /* soften only top/bottom now, since there's no side text panel
             to fade into anymore */
    background: linear-gradient(
      to bottom,
      rgba(6, 18, 15, 0.45) 0%,
      transparent 18%,
      transparent 74%,
      rgba(6, 18, 15, 0.8) 100%
    );
  }
  .product.img-left.scrolly .product-img.right-fade::after {
    /* gentler vignette to match a full-bleed landscape shot */
    background: radial-gradient(
      ellipse 72% 72% at center,
      transparent 40%,
      rgba(0, 0, 0, 0.35) 82%,
      rgba(6, 18, 15, 0.72) 100%
    );
  }
  .product.img-left.scrolly #scrub-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the whole section, cropping as needed */
    display: block;
    position: relative;
    z-index: 1;
  }
  .product.img-left.scrolly .product-img img {
    display: none;
  }

  /* Extra readability scrim over the whole pinned area, so text
           stays legible no matter what part of the video is behind it */
  .product.img-left.scrolly .scrolly-pin::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      100deg,
      rgba(3, 16, 13, 0.7) 0%,
      rgba(3, 16, 13, 0.25) 40%,
      rgba(3, 16, 13, 0.1) 60%,
      rgba(3, 16, 13, 0.55) 100%
    );
    pointer-events: none;
  }

  /* --- TEXT OVERLAY REPOSITIONING ---
           product-content becomes a full-bleed absolute layer; each
           child block (header / steps / stat-callout) is positioned
           independently on top of it. Edit the top/left/right/bottom
           values below to move any block. */
  .product.img-left.scrolly .product-content {
    position: absolute;
    inset: 0;
    margin-left: 0;
    max-width: none;
    padding: 0;
    z-index: 3;
  }

  /* HEADER (Standalone Unit + Carbon Capture + VAAN) — top-left */
  .product.img-left.scrolly .scrolly-header {
    position: absolute;
    top: 150px;
    left: 80px;
    max-width: 480px;
  }
  .product.img-left.scrolly .scrolly-header .tag {
    white-space: nowrap;
  }
  .product.img-left.scrolly h3 {
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 0.95;
    margin-top: 8px;
    background: linear-gradient(
      120deg,
      #ffffff 0%,
      #a7ff74 99%,
      var(--green-accent) 180%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 32px rgba(159, 255, 107, 0.6));
  }
  .product.img-left.scrolly .patent-badge {
    box-shadow: 0 0 24px rgba(159, 255, 107, 0.08);
  }

  /* STEPS (the 4 reveal points) — shifted right of center */
  .product.img-left.scrolly .steps {
    position: absolute;
    top: 55%;
    left: 5%; /* increase to push further right, decrease to bring left */
    transform: translateY(-50%);
    max-width: 440px;
    padding-left: 22px;
  }
  .product.img-left.scrolly .steps::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
  }
  .product.img-left.scrolly .step {
    position: relative;
  }
  .product.img-left.scrolly .step-num {
    margin-left: -22px;
  }
  .product.img-left.scrolly .scrolly-chapter {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .product.img-left.scrolly .scrolly-chapter.active {
    opacity: 1;
    transform: translateY(0);
  }
  .product.img-left.scrolly .scrolly-chapter.active .step-num {
    background: rgba(159, 255, 107, 0.15);
    border-color: var(--green-accent);
    color: var(--green-accent);
  }

  /* STAT CALLOUT (60-70%) — bottom-left */
  .product.img-left.scrolly .stat-callout {
    position: absolute;
    bottom: 64px;
    left: 70%;
    max-width: 420px;
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .product.img-left.scrolly .stat-callout {
    opacity: 1;
    transform: none;
  }
}

/* ---------- MECHANICAL TREE ---------- */
.mech-tree {
  padding: 110px 48px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mech-tree-inner {
  max-width: 760px;
  margin: 0 auto;
  display: block;
}
.mech-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: center;
}
.mech-stat {
  display: flex;
  flex-direction: column;
}
.mech-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--green-accent);
  line-height: 1.1;
  margin-bottom: 6px;
}
.mech-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 160px;
}

/* Credential badge cards */
.mech-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mech-badge {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}
.mech-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 255, 107, 0.4);
  background: rgba(159, 255, 107, 0.05);
}
.mech-badge-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(159, 255, 107, 0.1);
  border: 1px solid rgba(159, 255, 107, 0.3);
  color: var(--green-accent);
  font-size: 16px;
}
.mech-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mech-badge-text strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.35;
}
.mech-badge-text span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Certification badge — special emphasis, full width */
.mech-badge.cert {
  grid-column: 1 / -1;
  background: rgba(159, 255, 107, 0.06);
  border: 1px solid rgba(159, 255, 107, 0.35);
  box-shadow: 0 0 0 1px rgba(159, 255, 107, 0.08) inset;
}
.mech-badge.cert .mech-badge-icon {
  background: rgba(159, 255, 107, 0.18);
  border-color: var(--green-accent);
}
.mech-badge.cert .mech-badge-text strong {
  font-size: 15.5px;
  color: #fff;
}
.mech-badge.cert .mech-badge-text span {
  color: var(--green-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

@media (max-width: 860px) {
  .mech-tree {
    padding: 80px 24px;
  }
  .mech-stats {
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .mech-badges {
    grid-template-columns: 1fr;
  }
  .mech-num {
    font-size: 28px;
  }
  .mech-label {
    font-size: 11px;
  }
}

/* ---------- SKU CAROUSEL ---------- */
.sku {
  padding: 48px 48px 40px;
  background: var(--bg-darker);
}
.sku-head {
  text-align: center;
  margin-bottom: 22px;
}
.sku-head span {
  color: var(--green-accent);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.sku-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.sku-head p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 480px;
  margin: 10px auto 0;
  line-height: 1.5;
}
.sku-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sku-viewport {
  overflow: hidden;
  flex: 1;
}
.sku-grid {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.sku-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(159, 255, 107, 0.4);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 40px 32px;
  transition: border-color 0.3s ease;
}
.sku-card.featured {
  border-color: rgba(159, 255, 107, 0.4);
  background: rgba(159, 255, 107, 0.04);
}
.sku-img {
  width: 640px;
  max-width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16/10;
  height: auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2620, #06120f 65%);
  border-radius: 10px;
}
.sku-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
}
.sku-body {
  padding: 14px 0 0;
  width: 100%;
  max-width: 640px;
  align-self: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sku-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-accent);
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 6px;
}
.sku-body h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.sku-body p.sku-desc {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.sku-specs {
  list-style: none;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sku-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 0;
}
.sku-specs li span:last-child {
  color: var(--text-light);
  font-weight: 500;
}
.sku-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.sku-arrow:hover {
  background: rgba(159, 255, 107, 0.1);
  border-color: rgba(159, 255, 107, 0.4);
  color: var(--green-accent);
}
.sku-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.sku-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.sku-dot.active {
  background: var(--green-accent);
  transform: scale(1.3);
}
/* Desktop: static 3-column layout instead of carousel */
@media (min-width: 861px) {
  .sku-carousel {
    gap: 0;
  }
  .sku-arrow {
    display: none;
  }
  .sku-viewport {
    overflow: visible;
  }
  .sku-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transform: none !important; /* overrides the JS-applied translateX */
    transition: none;
  }
  .sku-card {
    flex: none;
    max-width: 100%;
  }
  .sku-dots {
    display: none;
  }
  .sku {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 64px;
  }
  .sku-head {
    margin-bottom: 36px;
  }
  .sku-carousel {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
  }
  .sku-grid {
    gap: 28px;
  }
  .sku-card {
    padding: 36px 32px 40px;
  }
  .sku-img {
    width: 100%;
    aspect-ratio: 16/10;
  }
  .sku-img img {
    object-fit: cover;
    padding: 0;
  }
  .sku-body {
    padding-top: 8px;
  }
  .sku-body h4 {
    font-size: 24px;
  }
  .sku-body p.sku-desc {
    font-size: 14.5px;
  }
  .sku-specs li {
    font-size: 13.5px;
    padding: 6px 0;
  }
}
@media (max-width: 860px) {
  .sku {
    padding: 40px 20px;
  }
  .sku-carousel {
    gap: 10px;
    max-width: 100%;
  }
  .sku-arrow {
    width: 34px;
    height: 34px;
  }
  .sku-card {
    padding: 20px 16px 24px;
  }
  .sku-img {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .sku-body {
    max-width: 100%;
  }
}

.how {
  padding: 100px 48px;
  background: var(--bg-darker);
  text-align: center;
}
.how-head {
  margin-bottom: 64px;
}
.how-head span {
  color: var(--green-accent);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.how-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.how-item {
  background: var(--bg-darker);
  padding: 48px 28px;
  text-align: left;
}
.how-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--green-accent);
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-accent);
  font-family: var(--serif);
  font-size: 14px;
}
.how-item h4 {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
.how-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- VISION FULL BLEED ---------- */
.vision {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.vision-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.vision-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 16, 13, 0.3),
    rgba(3, 16, 13, 0.85)
  );
}
.vision-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 48px;
}
.vision h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.vision p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- SUSTAINABILITY ---------- */
.sustain {
  padding: 100px 48px;
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 70vh;
}
.sustain-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 70vh;
}
.sustain h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.sustain p {
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.65;
}
.sustain-list {
  list-style: none;
}
.sustain-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11, 26, 21, 0.1);
  font-size: 14px;
  font-weight: 500;
}
.sustain-list li:last-child {
  border-bottom: none;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 100px 48px 40px;
  background: var(--bg-darker);
}
.footer-cta {
  text-align: center;
  margin-bottom: 90px;
}
footer h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 40px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.btn {
  display: inline-block;
  background: var(--green-accent);
  color: var(--text-dark);
  padding: 16px 38px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(159, 255, 107, 0.25);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 320px;
  margin: 22px 0 26px;
}
.footer-brand .logo {
  font-size: 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.footer-socials a:hover {
  background: rgba(159, 255, 107, 0.1);
  border-color: rgba(159, 255, 107, 0.4);
  color: var(--green-accent);
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
}
.footer-col h5 {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--text-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-legal {
  display: flex;
  gap: 28px;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
}
.footer-legal a:hover {
  color: var(--text-light);
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 0.15s;
}
.reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 0.25s;
}
.reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 0.35s;
}

@media (max-width: 860px) {
  nav {
    padding: 20px 24px;
  }
  .hero-content,
  .product-content,
  .stat-section,
  .mission,
  .how,
  .vision-content,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .sustain-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .product.flip .product-content {
    margin-left: 0;
    text-align: left;
  }
  .product.flip .steps {
    align-items: flex-start;
  }
  .product.flip .step {
    flex-direction: row;
    text-align: left;
  }
  .product.flip .stat-callout {
    justify-content: flex-start;
  }
  .product-content {
    max-width: 100%;
  }
  .stat-section {
    min-height: 70vh;
  }
  .hero {
    height: 100dvh;
  }
  .hero-content {
    height: 45vh;
  }
  .product.flip {
    min-height: 100dvh;
  }
}
@media (max-width: 860px) {
  .product.flip {
    align-items: stretch; /* let content stretch full height so top/bottom pinning works */
  }

  .product.flip .product-content {
    display: flex;
    flex-direction: column;
    min-height: 100dvh; /* so top/bottom actually have room to separate */
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* tag + heading pinned to the top */
  .product.flip .tag {
    order: 0;
    margin-bottom: 20px;
  }
  .product.flip h3 {
    order: 1;
    margin-bottom: 20px;
  }

  /* ESG callout — decide if you want it up top too; placing it right after heading */
  .product.flip .esg-callout {
    order: 2;
  }

  /* remove the lede entirely on mobile only */
  .product.flip .lede {
    order: 3;
  }

  /* steps pushed to the bottom */
  .product.flip .steps {
    order: 3;
    margin-top: auto; /* this is what pushes it all the way down */
  }
}

/* ---------- HOW-IT-WORKS MOBILE: icon beside text, compact ---------- */
@media (max-width: 860px) {
  .how {
    padding: 48px 20px 56px;
  }
  .how-head {
    margin-bottom: 28px;
  }
  .how-head h2 {
    font-size: clamp(24px, 6vw, 32px);
    margin-top: 10px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    border: none;
    background: transparent;
    gap: 10px;
  }
  .how-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
  }
  .how-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 12px;
  }
  .how-item h4 {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .how-item p {
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .scroll-cue {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- PATENT BADGE ---------- */
.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-accent);
  background: rgba(62, 232, 19, 0.052);
  border: 1px solid rgba(159, 255, 107, 0.3);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  font-weight: 500;
}
.patent-badge::before {
  content: "⚙";
  font-size: 10px;
  opacity: 0.6;
}

/* ---------- ESG CALLOUT ---------- */
.esg-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-accent);
  background: rgba(159, 255, 107, 0.08);
  border: 1px solid rgba(159, 255, 107, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.esg-callout span {
  opacity: 0.7;
  font-size: 12px;
}

/* ---------- CARBON CREDITS CARD ---------- */
.sustain-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.carbon-card {
  background: rgba(11, 26, 21, 0.06);
  border: 1px solid rgba(11, 26, 21, 0.15);
  border-radius: 14px;
  padding: 22px 20px;
}
.carbon-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
  margin-bottom: 10px;
}
.carbon-text {
  font-size: 14px;
  color: var(--text-dark-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.carbon-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.carbon-link:hover {
  opacity: 1;
}

/* ---------- VAAN MOBILE SWIPE CAROUSEL ---------- */
@media (max-width: 860px) {
  .product.img-left.scrolly {
    height: 100dvh;
    max-height: 100dvh;
    position: relative;
    min-height: 0;
    display: block;
    overflow: hidden;
  }
  .product.img-left.scrolly {
    background: #000000;
  }
  .scrolly-pin {
    position: relative;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
  }
  .product.img-left.scrolly .product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .product.img-left.scrolly .product-img img {
    transform: scale(1.18) translateX(12%);
    transform-origin: center;
  }
  .product.img-left.scrolly .product-img::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.92) 100%
    );
  }
  .product.img-left.scrolly .product-content {
    position: absolute;
    inset: 0;
    margin-left: 0;
    max-width: 100%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
  }
  .scrolly-header {
    position: relative;
    z-index: 3;
    padding: 0;
    min-height: 190px;
  }
  .scrolly-header .tag {
    position: absolute;
    left: 0;
    top: 64px;
    margin: 0;
  }

  .scrolly-header h3 {
    position: absolute;
    left: -25vw; /* Change this to move it left/right. (e.g., -10vw moves it further left, 0vw moves it to the right) */
    top: 140%; /* Change this to move it up/down. (e.g., 40% moves it higher, 70% moves it lower) */
    transform: translateY(-50%) rotate(-90deg);
    margin: 0;
    width: max-content;
    max-width: none;
    text-align: center;
    font-size: clamp(60px, 20vh, 100px);
    letter-spacing: 0.15em;
    font-weight: 700;
    padding-bottom: 14px;
    background: linear-gradient(
      130deg,
      #ffffff 0%,
      #ffffff 45%,
      var(--green-accent) 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(159, 255, 107, 0.22)) opacity(0.55);
    z-index: 1;
    pointer-events: none;
  }
  .scrolly-header h3::after {
    display: none;
  }
  .product.img-left.scrolly .patent-badge {
    position: absolute;
    right: 0;
    top: 64px;
    max-width: 130px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-accent);
    background: transparent;
    border: 1px solid rgba(159, 255, 107, 0.3);
    border-radius: 100px;
    padding: 8px 14px;
    font-weight: 600;
  }
  .product.img-left.scrolly .patent-badge::before {
    display: none;
  }
  .product.img-left.scrolly .steps {
    display: contents;
  }
  .product.img-left.scrolly .lede {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 56%;
    transform: translateY(-50%);
    z-index: 3;
    opacity: 1;
    text-align: center;
    margin: 0 auto;
    max-width: 400px;
    padding-top: 0;
    color: #ffffff;
  }
  .scrolly-chapter {
    position: absolute;
    left: 50px;
    right: 24px;
    top: 70%;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    opacity: 0;
    text-align: left;
    z-index: 2;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }
  .scrolly-chapter.active {
    opacity: 1;
    pointer-events: auto;
  }
  .scrolly-chapter.step {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 16px;
  }
  .scrolly-chapter .step-num {
    margin: 0;
    flex-shrink: 0;
  }
  .scrolly-chapter p {
    text-align: left;
    width: auto;
    margin: 0;
  }
  .product.img-left.scrolly .stat-callout {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 48px;
    top: auto;
    transform: none;
    opacity: 1;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    z-index: 3;
    text-align: center;
  }
  .product.img-left.scrolly .stat-callout > div {
    margin: 0 auto;
  }
  .scrolly-progress {
    position: absolute;
    top: 78%;
    bottom: auto;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
  }
  .scrolly-progress span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition:
      background 0.25s ease,
      transform 0.25s ease;
  }
  .scrolly-progress span.active {
    background: var(--green-accent);
    transform: scale(1.3);
  }
}
/* Progress dots are a mobile-only affordance for the swipe carousel —
         hide them on desktop where the scroll-scrub handles progression */
@media (min-width: 861px) {
  .scrolly-progress {
    display: none;
  }
}
/* ---------- MOBILE/DESKTOP IMAGE SWAP ---------- */
.product-img .mobile-img {
  display: none;
}
@media (max-width: 860px) {
  .product-img .desktop-img {
    display: none;
  }
  .product-img .mobile-img {
    display: block;
  }
}

/* VAAN standalone-unit section: force the desktop scroll-scrub
          canvas OFF on mobile, and force the dedicated mobile photo ON —
          so mobile always shows a static photo, never the canvas frames,
          while desktop keeps the scroll-scrubbed video/frame sequence. */
@media (max-width: 860px) {
  #scrub-canvas {
    display: none !important;
  }
  .product.img-left.scrolly .product-img .mobile-img {
    display: block !important;
  }
  .product.img-left.scrolly .product-img .desktop-img {
    display: none !important;
  }
}
@media (min-width: 861px) {
  .product.img-left.scrolly .product-img .mobile-img {
    display: none !important;
  }
}

/* =========================================================
          VAAN OS PRODUCT SECTION (AI section further below, kept
          separate and unchanged)
          ========================================================= */
.os-section {
  position: relative;
  padding: 90px 48px 70px;
  background: var(--bg-dark);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.os-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(
    circle,
    rgba(159, 255, 107, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.os-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.os-head {
  max-width: 720px;
  margin-bottom: 34px;
}
.os-head .tag {
  margin-bottom: 14px;
}
.os-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.os-head h2 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffffff 0%, var(--green-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.os-head p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 620px;
}

/* Single big feature card used by the VAAN AI section below */
.os-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.os-card {
  position: relative;
  border-radius: 20px;
  padding: 40px 44px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}
.os-card:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 255, 107, 0.35);
}
.os-card.primary {
  background: linear-gradient(
    155deg,
    rgba(159, 255, 107, 0.09),
    rgba(159, 255, 107, 0.015) 60%
  );
  border-color: rgba(159, 255, 107, 0.28);
}
.os-card.secondary {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.01) 60%
  );
}
.os-card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-accent);
  margin-bottom: 14px;
}
.os-card-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 10px rgba(159, 255, 107, 0.8);
}
.os-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.os-card > p.os-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 440px;
}
.os-card-visual {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(159, 255, 107, 0.18);
  background: rgba(3, 16, 13, 0.5);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}
.os-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 20%,
    rgba(159, 255, 107, 0.14),
    transparent 60%
  );
  pointer-events: none;
}
.os-capabilities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.os-capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}
.os-capabilities li::before {
  content: "";
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1px solid rgba(159, 255, 107, 0.45);
  background: rgba(159, 255, 107, 0.08);
  position: relative;
}
.os-capabilities li::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--green-accent);
  border-bottom: 1.5px solid var(--green-accent);
  transform: rotate(45deg);
  margin-left: 5.5px;
  margin-top: 2.5px;
}

.os-fail-safe {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.os-fail-safe .icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255, 179, 71, 0.4);
  background: rgba(255, 179, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffb347;
}
.os-fail-safe p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.os-fail-safe strong {
  color: var(--text-light);
  font-weight: 600;
}

.os-moat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1px dashed rgba(159, 255, 107, 0.3);
  background: rgba(159, 255, 107, 0.035);
}
.os-moat .moat-mark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--green-accent);
  flex-shrink: 0;
}
.os-moat p {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 720px;
}
.os-moat p strong {
  color: var(--green-accent);
  font-weight: 600;
}

/* Desktop: constrain each section to one viewport */
@media (min-width: 861px) {
  .os-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .os-inner {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .os-section {
    padding: 70px 22px 56px;
  }
  .os-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .os-card-visual {
    min-height: 160px;
    order: -1;
  }
  .os-moat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =========================================================
         VAAN OS — SCROLL-ANNOTATED SCREENSHOT SECTION
         Pinned viewport: heading + subheading + tag stay fixed at
         top, a framed screenshot sits centered inside a box that is
         roughly 70% of the viewport, and 4 callout points (line +
         dot + label) draw in one-by-one as the user scrolls through
         the pinned range. Everything here fits within one viewport
         height; the extra scroll distance beyond 100vh is only used
         to drive the reveal progress before the section releases.
         ========================================================= */
.annotate-section {
  position: relative;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  height: 200vh; /* scroll distance used to drive the 4-point reveal */
}
.annotate-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 90px 24px 40px;
}
.annotate-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 15%,
    rgba(159, 255, 107, 0.07),
    transparent 60%
  );
  pointer-events: none;
}
.annotate-head {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 22px;
  flex-shrink: 0;
}
.annotate-head .tag {
  margin-bottom: 14px;
}
.annotate-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.annotate-head h2 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffffff 0%, var(--green-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.annotate-head p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto;
}

.annotate-box {
  position: relative;
  width: 95vw;
  height: 72vh;
  max-width: 1400px;
  flex-shrink: 1;
  min-height: 0;
}
.annotate-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 90%;
  border-radius: 16px;
  border: 1px solid rgba(159, 255, 107, 0.25);
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}
.annotate-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.annotate-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}
.annotate-edge {
  fill: none;
  stroke: rgba(159, 255, 107, 0.75);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 3px rgba(159, 255, 107, 0.35));
}
.annotate-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow:
    0 0 0 4px rgba(159, 255, 107, 0.16),
    0 0 14px rgba(159, 255, 107, 0.6);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 4;
}
.annotate-dot.shown {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.annotate-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(159, 255, 107, 0.4);
}

/* Callout label — styled as a small glass card with a green
         accent edge on the side facing the dot, instead of a plain
         box, plus blur + shadow so it reads clearly over any part of
         the screenshot. */
.annotate-label {
  position: absolute;
  max-width: 210px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-light);
  background: rgba(6, 18, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(159, 255, 107, 0.22);
  border-left: 3px solid var(--green-accent);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  z-index: 4;
}
.annotate-label.shown {
  opacity: 1;
  transform: translateY(0);
}
.annotate-label.align-right {
  text-align: right;
  border-left: none;
  border-right: 3px solid var(--green-accent);
}

/* ---------------------------------------------------------
         VAAN OS callout positions — DESKTOP (min-width:861px).
         Edit each id's left/top independently to move that single
         point on laptop/desktop only; mobile positions are set
         separately further down and are completely independent.
         --------------------------------------------------------- */
@media (min-width: 861px) {
  #annotate-dot-0 {
    left: 41%;
    top: 27%;
  }
  #annotate-label-0 {
    left: 2%;
    top: 0%;
  }

  #annotate-dot-1 {
    left: 21%;
    top: 66%;
  }
  #annotate-label-1 {
    left: 0%;
    top: 80%;
  }

  #annotate-dot-2 {
    left: 61%;
    top: 47%;
  }
  #annotate-label-2 {
    left: auto;
    right: 0%;
    top: 8%;
  }

  #annotate-dot-3 {
    left: 79%;
    top: 60%;
  }
  #annotate-label-3 {
    left: auto;
    right: 0%;
    top: 80%;
  }
}

@media (max-width: 860px) {
  .annotate-section {
    height: 240vh;
  }
  .annotate-pin {
    padding: 76px 16px 30px;
  }
  .annotate-box {
    width: 92vw;
    height: 70vh;
  }
  .annotate-frame {
    top: 35%;
    width: 78%;
    height: 40%;
  }
  .annotate-label {
    font-size: 11px;
    max-width: 130px;
    padding: 8px 10px;
  }
  .annotate-head h2 {
    font-size: clamp(20px, 6vw, 28px);
  }
  .annotate-head p {
    font-size: 11px;
  }

  /* -------------------------------------------------------
            VAAN OS callout positions — MOBILE (max-width:860px).
            Fully independent from the desktop block above: edit
            freely here without affecting laptop positioning.
            ------------------------------------------------------- */
  #annotate-dot-0 {
    left: 44%;
    top: 16%;
  }
  #annotate-label-0 {
    left: 2%;
    top: 0%;
    right: auto;
  }

  #annotate-dot-1 {
    left: 20%;
    top: 30%;
  }
  #annotate-label-1 {
    left: 2%;
    top: 60%;
    right: auto;
  }

  #annotate-dot-2 {
    left: 62%;
    top: 34%;
  }
  #annotate-label-2 {
    left: auto;
    right: 2%;
    top: 6%;
  }

  #annotate-dot-3 {
    left: 76%;
    top: 40%;
  }
  #annotate-label-3 {
    left: auto;
    right: 2%;
    top: 60%;
  }
}

/* =========================================================
   VAAN AI - Custom Updates
   ========================================================= */
#vaan-ai {
  position: relative;
}

#vaan-ai .os-card.secondary {
  grid-template-columns: 1fr;
  width: 100% !important;
  max-width: 850px !important;
  padding: 40px 40px !important;
  margin: 0 auto;
  background: rgba(3, 16, 13, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(159, 255, 107, 0.15);
}

#vaan-ai .os-capabilities.custom-vectors {
  display: flex;
  flex-direction: column;
  gap: 28px !important;
}

#vaan-ai .os-capabilities.custom-vectors li {
  align-items: center;
  gap: 20px;
  font-size: 16px;
  padding: 8px 0;
}

/* Remove old ticks */
#vaan-ai .os-capabilities.custom-vectors li::before,
#vaan-ai .os-capabilities.custom-vectors li::after {
  display: none;
}

/* New Vector Placeholders */
.vector-placeholder {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(159, 255, 107, 0.08);
  border: 1px solid rgba(159, 255, 107, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-accent);
}
.vector-placeholder svg {
  width: 20px;
  height: 20px;
}
