/* ============================================================
   OkieBots — landing page
   Design system: warm minimalism, off-black on white/warm-grey,
   electric grass accent, huge grotesk display type.
   ============================================================ */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../assets/fonts/fragment-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --off-black: #1a1a1a;
  --off-black-05: rgba(26, 26, 26, 0.05);
  --off-black-10: rgba(26, 26, 26, 0.10);
  --off-black-50: rgba(26, 26, 26, 0.50);
  --off-black-63: rgba(26, 26, 26, 0.63);
  --white: #ffffff;
  --warm-grey: #f3f3f0;
  --warm-grey-dark: #ecece8;
  --grey-dark: #e6e6e6;
  --accent: #cdef3c;          /* electric grass */
  --accent-tint: #f2f8e2;
  --sage: #aec2b8;
  --aqua-tint: #d9ecee;
  --blue: #3b6cf3;

  --bg: var(--white);
  --surface: var(--warm-grey);
  --primary: var(--off-black);
  --secondary: var(--off-black-63);
  --border: var(--off-black-10);

  --font-sans: "Schibsted Grotesk", system-ui, Arial, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", monospace;

  --header-h: 4.75rem;
  --radius-card: 1.5rem;
  --radius-big: 2.25rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 100rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* quint-ish, spring feel */
  --ease-swift: cubic-bezier(0.86, 0, 0.07, 1);
  /* true damped spring — stiffness 300, damping 25, mass 0.9 — with 2.5% overshoot */
  --spring: linear(0, 0.0492, 0.1644, 0.3084, 0.4565, 0.5937, 0.7119, 0.8082, 0.8827,
    0.9376, 0.9759, 1.0008, 1.0155, 1.0228, 1.0251, 1.0242, 1.0215, 1.0179, 1.0142,
    1.0107, 1.0076, 1.0051, 1.0032, 1.0017, 1);
  --reveal-dur: 0.9s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--primary);
  line-height: 1.5;
  font-size: 1.0625rem;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
mark { background: var(--accent); color: var(--primary); padding: 0 0.15em; border-radius: 0.25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
section { scroll-margin-top: calc(var(--header-h) + 1rem); }

::selection { background: var(--accent); color: var(--off-black); }

/* ---------- type utilities ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow-accent { color: var(--accent); }

.display {
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.5rem, 3vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.22;
  text-wrap: balance;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, color 0.25s, box-shadow 0.35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-dark { background: var(--off-black); color: var(--white); }
.btn-dark:hover { box-shadow: 0 10px 30px -10px rgba(26,26,26,0.45); }
.btn-accent { background: var(--accent); color: var(--off-black); }
.btn-accent:hover { box-shadow: 0 10px 30px -10px rgba(205,239,60,0.6); }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.9); }
.btn-ghost { background: var(--off-black-05); color: var(--primary); }
.btn-ghost:hover { background: var(--off-black-10); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.9375rem; }

/* ============================================================
   NAV
   ============================================================ */

/* Morphing pill → menu card. One overflow-hidden shell whose width and
   height spring between the closed pill (340×60) and the open card;
   the 60px header row stays put, menu content staggers in beneath it. */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem;
  pointer-events: none;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nav.open .nav-backdrop { opacity: 1; pointer-events: auto; }

.nav-shell {
  --menu-w-closed: 100%;
  --menu-w-open: 100%;
  position: relative;
  pointer-events: auto;
  margin-inline: auto;
  width: var(--menu-w-closed);
  height: 60px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: width 0.55s var(--spring), height 0.55s var(--spring), box-shadow 0.4s;
}
.nav-shell.open {
  width: var(--menu-w-open);
  box-shadow: 0 30px 80px -20px rgba(26, 26, 26, 0.35);
}
.nav.scrolled .nav-shell:not(.open) { box-shadow: 0 10px 30px -18px rgba(26, 26, 26, 0.25); }
@media (min-width: 640px) {
  .nav-shell { --menu-w-closed: 340px; --menu-w-open: min(48rem, calc(100vw - 2rem)); }
}
@media (min-width: 1280px) {
  .nav-shell { --menu-w-open: 58rem; }
}

.nav-bar {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  height: 60px;
}
.nav-mark { display: grid; place-items: center; width: 60px; height: 60px; }
.nav-mark span {
  position: relative;
  width: 2rem; height: 2rem;
  background: var(--off-black);
  border-radius: 0.65rem;
  transition: transform 0.4s var(--spring);
}
.nav-mark:hover span { transform: rotate(90deg); }
.nav-mark span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.nav-word {
  justify-self: center;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  display: inline-flex;
  align-items: baseline;
}
.logo-dot {
  width: 0.42em; height: 0.42em;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 0.12em;
  transform: translateY(-0.05em);
}
.nav-burger {
  width: 60px; height: 60px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  transition: background-color 0.2s;
}
.nav-burger:hover { background: var(--off-black-05); }
.nav-burger span {
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform 0.35s var(--spring);
}
.nav-shell.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-shell.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.25rem 1.5rem 1.5rem;
}
.nav-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.nav-menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.pop-link {
  font-size: 1.625rem;
  font-weight: 580;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.2s, opacity 0.45s var(--ease-out), transform 0.55s var(--spring);
}
.nav-shell.open .pop-link {
  opacity: 1;
  transform: none;
  transition-delay: 0s, calc(0.12s + var(--i) * 0.06s), calc(0.12s + var(--i) * 0.06s);
}
.pop-link:hover, .pop-link.current { color: var(--off-black-50); }

.nav-menu-media {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--grey-dark);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--spring);
}
.nav-shell.open .nav-menu-media { opacity: 1; transform: none; transition-delay: 0.28s; }
.nav-menu-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.nav-menu-media:hover img { transform: scale(1.05); }
.nav-menu-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.25s, color 0.25s;
}
.nav-menu-media:hover .nav-menu-play { background: var(--white); color: var(--off-black); }
.nav-menu-play i { font-style: normal; font-size: 0.7em; }

.nav-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secondary);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--spring);
}
.nav-shell.open .nav-menu-foot { opacity: 1; transform: none; transition-delay: 0.38s; }
.nav-menu-foot a { color: var(--primary); font-weight: 600; }
.nav-menu-foot a:hover { color: var(--off-black-50); }

@media (max-width: 800px) {
  .nav-menu-grid { grid-template-columns: 1fr; }
  .nav-menu-foot { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============================================================
   PAGE WRAPPER (scrolls over sticky footer)
   ============================================================ */

.page {
  position: relative;
  z-index: 2;
  background: var(--bg);
  box-shadow: 0 40px 60px -30px rgba(26,26,26,0.25);
}

/* ============================================================
   01 — INTRO (pinned statement, media scrolls over)
   ============================================================ */

.intro { position: relative; }

/* shared layout for the pinned dark text and its white twin —
   identical box model so the two layers align to the pixel */
.intro-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 1.1rem;
  /* headline sits high on the page (small gap under the nav); the video
     starts below it at load and rises over it on scroll, sunday-style */
  padding: calc(var(--header-h) + clamp(1.25rem, 5svh, 4rem)) var(--gutter) 4rem;
}
.intro-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  z-index: 1;
}
.intro-kicker { font-weight: 550; color: var(--secondary); }
.intro-title {
  font-size: clamp(3.25rem, 9vw, 10.5rem);
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 11ch;
  text-wrap: balance;
}
/* the video's scroll runway: rises over the text, grows to full-bleed,
   dwells fullscreen, then releases in sync with the pinned text.
   The negative margin pulls the video into the first viewport so it
   (and the CTA pill) are visible before any scroll. */
.intro-track {
  position: relative;
  z-index: 2;
  height: 180svh;
  /* pulls the video up so it peeks into the first viewport, below the
     headline. grow is decoupled (JS uses track scroll), so this only
     sets the at-load resting position. */
  margin-top: -68svh;
}
.intro-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-figure { width: 92vw; }
.intro-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100svh;
  border-radius: var(--radius-big);
}
.intro-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(20, 20, 18, 0.5), rgba(20, 20, 18, 0.12) 45%, rgba(20, 20, 18, 0.35));
  opacity: 0.25;
}
.intro-white {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  will-change: transform;
  display: none; /* only shown when the JS engine aligns it */
}
.reveal-on .intro-white { display: flex; }
.intro-white .intro-title { color: var(--white); }
.intro-white .eyebrow,
.intro-white .intro-kicker,
.intro-white .scroll-hint { color: rgba(255, 255, 255, 0.82); }

.hero-pill {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--off-black);
  font-size: 1rem;
  transition: transform 0.4s var(--spring), box-shadow 0.3s;
}
.hero-pill:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(205, 239, 60, 0.55);
}
.hero-pill b { font-weight: 650; }
.hero-pill span { font-weight: 500; opacity: 0.75; }

.intro-follow { position: relative; }
.intro-copy {
  padding: clamp(5rem, 12vh, 9rem) var(--gutter) 0;
  display: flex;
  justify-content: center;
}
.intro-copy .lead { max-width: 62rem; text-align: center; }

/* story card */
.story-card {
  position: relative;
  z-index: 2;
  text-align: left;
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) 3fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-big);
  padding: clamp(1.5rem, 3vw, 3rem);
  margin: clamp(5rem, 12vh, 8rem) var(--gutter) 0;
  max-width: 68rem;
  margin-inline: auto;
  width: calc(100% - var(--gutter) * 2);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(26,26,26,0.35); }
.story-thumb { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.story-card:hover .story-thumb img { transform: scale(1.05); }
.story-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--off-black);
}
.story-play::before {
  content: "";
  position: absolute;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out);
}
.story-card:hover .story-play::before { transform: scale(1.12); }
.story-play { z-index: 1; }
.story-text { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.story-text p { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }

/* ============================================================
   VIDEO CARDS
   ============================================================ */

.vid { width: 100%; }
.vid-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--grey-dark);
  aspect-ratio: 16 / 10;
  transform: translateZ(0);
}
.vid-frame video { width: 100%; height: 100%; object-fit: cover; }
.vid-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-black);
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}
.vid-toggle {
  position: absolute;
  bottom: 1rem; left: 1rem;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), background-color 0.2s;
}
.vid-frame:hover .vid-toggle, .vid-toggle:focus-visible { opacity: 1; transform: translateY(0); }
.vid-toggle:hover { background: var(--white); }
.vid-toggle::before {
  content: "";
  width: 0.9rem; height: 0.9rem;
  background: var(--off-black);
  /* pause icon */
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}
.vid.paused .vid-toggle { opacity: 1; transform: translateY(0); }
.vid.paused .vid-toggle::before { clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.vid figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--secondary);
}

/* ============================================================
   02 — SERVICES (sticky scrollytelling)
   ============================================================ */

.services {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 12rem) var(--gutter) 0;
}
.section-head { max-width: 62rem; margin-bottom: clamp(4rem, 10vh, 7rem); }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head .sub {
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--secondary);
  max-width: 44rem;
  text-wrap: pretty;
}

.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(3rem, 8vh, 6rem);
  border-top: 1px solid var(--border);
}
.feature-rev .feature-text { order: 2; }
.feature-rev .feature-media { order: 1; }
.feature-text {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-bottom: 2rem;
}
.feature-title {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 580;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}
.feature-body { color: var(--secondary); font-size: 1.125rem; max-width: 34rem; text-wrap: pretty; }
.feature-note { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.feature-media { display: flex; flex-direction: column; gap: clamp(2rem, 4vh, 3rem); }

/* ============================================================
   03 — TECHNOLOGY (dark pinned statement)
   ============================================================ */

.tech {
  position: relative;
  background: var(--off-black);
  color: var(--white);
  margin-top: clamp(7rem, 16vh, 12rem);
  border-radius: var(--radius-big) var(--radius-big) 0 0;
}
.tech-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  padding-inline: var(--gutter);
  will-change: transform, opacity;
  overflow: hidden;
}
.tech-pin > .eyebrow, .tech-pin > .tech-title { position: relative; z-index: 3; }
.tech-title {
  font-size: clamp(2.75rem, 7.5vw, 8.5rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 14ch;
  text-wrap: balance;
}

/* LiDAR / RTK-GPS terrain scan layer */
.tech-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.tech-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 42% at 50% 54%, rgba(26, 26, 26, 0.86), rgba(26, 26, 26, 0) 72%);
}
.tech-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-mono);
}
.hud-chip {
  position: absolute;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
}
.hud-chip b { color: var(--accent); font-weight: 400; }
.hud-tl { top: calc(var(--header-h) + 1.25rem); left: clamp(1.25rem, 3vw, 2.5rem); }
.hud-tr { top: calc(var(--header-h) + 1.25rem); right: clamp(1.25rem, 3vw, 2.5rem); }
.hud-bl { bottom: 1.75rem; left: clamp(1.25rem, 3vw, 2.5rem); }
.hud-br { bottom: 1.75rem; right: clamp(1.25rem, 3vw, 2.5rem); }

@media (max-width: 640px) {
  .hud-tr, .hud-br { display: none; }
}
.tech-scroll {
  position: relative;
  z-index: 2;
  /* dwell: one extra viewport of scroll where only the pinned scan is on screen */
  margin-top: 105svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 6vh, 4rem);
  padding: 0 var(--gutter) clamp(6rem, 14vh, 10rem);
}
.tech-card {
  background: #242424;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-big);
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 56rem;
}
.tech-card p {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 480;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);
}
.tech-card strong { color: var(--accent); font-weight: 600; }
.tech-scroll .vid { max-width: 56rem; }
.tech-scroll .vid figcaption { color: rgba(255,255,255,0.55); }

.tech-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 6rem);
  justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.stat-num { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 620; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

.tech-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   04 — DESIGN (scroll-activated list + sticky visual)
   ============================================================ */

.design {
  /* white curtain panel sliding up over the dark tech section */
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: var(--radius-big) var(--radius-big) 0 0;
  margin-top: calc(var(--radius-big) * -1);
  padding: clamp(5rem, 12vh, 9rem) var(--gutter) 0;
}
.design-inner {
  max-width: var(--maxw);
  margin-inline: auto;
}
.design-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.design-list {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 14vh, 9rem);
  padding-block: clamp(2rem, 8vh, 5rem);
}
.design-track {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--off-black-10);
  border-radius: 2px;
}
.design-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: height 0.2s linear;
}
.dfeature {
  opacity: 0.28;
  transform: translateX(0);
  transition: opacity 0.5s var(--ease-out);
}
.dfeature.active { opacity: 1; }
.dfeature h3 {
  font-size: clamp(1.625rem, 2.6vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}
.dfeature p { color: var(--secondary); font-size: 1.125rem; max-width: 32rem; text-wrap: pretty; }

.design-visual {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  align-self: start;
}
.design-visual-frame {
  position: relative;
  border-radius: var(--radius-big);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--surface);
}
.design-visual-frame img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.7s var(--ease-out), transform 1.2s var(--ease-out);
}
.design-visual-frame img.active { opacity: 1; transform: scale(1); }

/* Name-the-fleet vote */
.names {
  margin-top: clamp(7rem, 16vh, 11rem);
  background: var(--surface);
  border-radius: var(--radius-big);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}
.names-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 590; letter-spacing: -0.028em; }
.names-sub { color: var(--secondary); margin-top: 0.9rem; max-width: 34rem; margin-inline: auto; text-wrap: pretty; }
.names-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(11.5rem, 42vw);
  background: var(--white);
  padding: 0.8rem 0.8rem 1.1rem;
  border-radius: 1.1rem;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 40px -18px rgba(26,26,26,0.35);
  transition: transform 0.45s var(--spring), box-shadow 0.45s;
}
.chip img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0.65rem;
  pointer-events: none;
}
.reveal-on .chip.reveal.in-view {
  transform: rotate(var(--rot));
  /* revert to snappy transitions once the entrance reveal is done */
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.chip:hover { transform: rotate(0deg) translateY(-4px) !important; box-shadow: 0 18px 40px -16px rgba(26,26,26,0.4); }
.chip.selected { color: var(--blue); }
.chip.selected::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 1.4rem;
  background:
    linear-gradient(90deg, var(--blue) 55%, transparent 0) repeat-x,
    linear-gradient(90deg, var(--blue) 55%, transparent 0) repeat-x,
    linear-gradient(0deg,  var(--blue) 55%, transparent 0) repeat-y,
    linear-gradient(0deg,  var(--blue) 55%, transparent 0) repeat-y;
  background-size: 12px 2px, 12px 2px, 2px 12px, 2px 12px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: marching-ants 0.4s infinite linear;
  pointer-events: none;
}
@keyframes marching-ants {
  to { background-position: 12px 0, -12px 100%, 0 -12px, 100% 12px; }
}
.names-confirm {
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--secondary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.names-confirm.show { opacity: 1; transform: translateY(0); }

/* ============================================================
   05 — FAQS
   ============================================================ */

.faqs {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 12rem) var(--gutter) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 6rem);
}
.faq-head { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
.faq-head .eyebrow { margin-bottom: 1.25rem; }
.faq-title { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 580; letter-spacing: -0.028em; text-wrap: balance; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.6rem 0.25rem;
  font-size: clamp(1.125rem, 1.8vw, 1.4375rem);
  font-weight: 580;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--off-black-63); }
.faq-icon { position: relative; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform 0.4s var(--ease-out);
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.open .faq-icon::after { transform: translateY(-50%) rotate(0deg); }
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq-body-inner { overflow: hidden; }
.faq-body-inner p {
  padding: 0 0.25rem 1.75rem;
  color: var(--secondary);
  max-width: 40rem;
  text-wrap: pretty;
}
.faq-item.open .faq-body { grid-template-rows: 1fr; }

/* ============================================================
   CTA
   ============================================================ */

.cta { padding: clamp(7rem, 16vh, 12rem) var(--gutter) clamp(6rem, 12vh, 9rem); }
.cta-card {
  max-width: 68rem;
  margin-inline: auto;
  background: var(--accent-tint);
  border-radius: var(--radius-big);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 5vw, 6rem);
  text-align: center;
}
.cta-title {
  font-size: clamp(2.5rem, 5.5vw, 5.25rem);
  font-weight: 590;
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin-top: 1.25rem;
  text-wrap: balance;
}
.cursor {
  display: inline-block;
  width: 0.14em;
  height: 0.85em;
  margin-left: 0.08em;
  background: var(--primary);
  vertical-align: baseline;
  transform: translateY(0.1em);
  animation: blinking 0.85s steps(1) infinite;
}
@keyframes blinking { 50% { opacity: 0; } }
.cta-sub { margin-top: 1.5rem; font-size: 1.25rem; color: var(--secondary); }
.cta-form {
  margin-top: 2.75rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-form input {
  font: inherit;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--off-black-10);
  background: var(--white);
  min-width: min(22rem, 100%);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cta-form input:focus { border-color: var(--off-black); box-shadow: 0 0 0 4px rgba(205,239,60,0.45); }
.cta-fine { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--secondary); }
.cta-card.sent .cta-form, .cta-card.sent .cta-fine { display: none; }
.cta-success {
  margin-top: 2.5rem;
  font-size: 1.375rem;
  font-weight: 600;
}

/* ============================================================
   FOOTER — sticky curtain reveal
   ============================================================ */

.footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background: var(--warm-grey);
}
.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vh, 6rem) var(--gutter) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vh, 4rem);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(8rem, 1fr));
  gap: 2rem;
}
.fcol { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; }
.fcol-head {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.fcol a { font-weight: 550; color: var(--primary); position: relative; }
.fcol a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.fcol a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-wordmark {
  font-size: clamp(5rem, 19vw, 19rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-align: center;
  user-select: none;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.footer-wordmark .logo-dot { width: 0.16em; height: 0.16em; margin-left: 0.05em; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--secondary);
}

/* ============================================================
   REVEAL / MOTION SYSTEM
   (only active when JS adds .reveal-on to <html>)
   ============================================================ */

.reveal-on .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--reveal-dur) var(--ease-out) var(--d, 0s),
    transform var(--reveal-dur) var(--spring) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal-on .reveal.in-view { opacity: 1; transform: translateY(0); }

/* split-word mask reveal for headlines */
.reveal-on [data-split] .w {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
  /* keep descenders (g, y, p) inside the clip box at tight line-heights */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.reveal-on [data-split] .w > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--spring);
  transition-delay: var(--wd, 0s);
  will-change: transform;
}

/* scroll-scrubbed headline fill: words light up as the reader scrolls */
.reveal-on [data-scrub] .w { display: inline-block; }
.reveal-on [data-scrub] .w > span {
  display: inline-block;
  color: rgba(26, 26, 26, 0.15);
  transition: color 0.3s ease;
}
.reveal-on [data-scrub] .w > span.lit { color: var(--primary); }
.reveal-on .tech [data-scrub] .w > span { color: rgba(255, 255, 255, 0.14); }
.reveal-on .tech [data-scrub] .w > span.lit { color: var(--white); }
.reveal-on [data-split].in-view .w > span { transform: translateY(0); }

/* ============================================================
   VIDEO TIMELINE, MILESTONES, STORY MODAL, MICRO-INTERACTIONS
   ============================================================ */

.vid-progress {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.7rem;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.3s, height 0.25s var(--ease-out);
  pointer-events: none;
}
.vid-frame:hover .vid-progress { opacity: 1; height: 5px; }
.vid-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.3s linear;
}

.milestones { width: 100%; max-width: 56rem; }
.milestones-head {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}
.milestones ul { list-style: none; }
.milestones li {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.05rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.milestones li span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  flex: 0 0 6.5rem;
}

.story-modal {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(72rem, 92vw);
  width: 100%;
  max-height: 90vh;
  margin: auto;
  overflow: visible;
}
.story-modal::backdrop {
  background: rgba(20, 20, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.story-modal[open] { animation: modal-in 0.55s var(--spring); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(28px) scale(0.965); }
}
.story-modal-frame {
  border-radius: var(--radius-big);
  overflow: hidden;
  background: #000;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7);
}
.story-modal video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.story-close {
  position: absolute;
  top: -3.25rem; right: 0;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.25s, transform 0.35s var(--spring);
}
.story-close:hover { background: rgba(255, 255, 255, 0.28); transform: rotate(90deg); }
.story-modal-caption {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.btn .arr, .story-card .arr { display: inline-block; transition: transform 0.4s var(--spring); }
.btn:hover .arr, .story-card:hover .arr { transform: translateX(5px); }

/* ============================================================
   SERVICES MARQUEE + HOME LINK ROW
   ============================================================ */

.head-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 1.1rem;
  margin-top: clamp(6rem, 14vh, 10rem);
  background: var(--bg);
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-slide 30s linear infinite;
}
.marquee span {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  white-space: nowrap;
}
.marquee i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.6em;
  margin-inline: 1.75rem;
}
@keyframes marquee-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-inner { animation: none; } }

/* ============================================================
   SUBPAGES (services.html / store.html)
   ============================================================ */

.page-hero {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(3rem, 8vh, 6rem)) var(--gutter) clamp(3rem, 7vh, 5rem);
}
.page-hero .display { max-width: 16ch; }
.page-hero .sub {
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--secondary);
  max-width: 44rem;
  text-wrap: pretty;
}
.page-hero .eyebrow { margin-bottom: 1.25rem; }

.brand-row {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vh, 6rem) var(--gutter) clamp(4rem, 9vh, 6.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.brand-row .eyebrow { margin-right: 0.5rem; }
.brand-chip {
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.svc-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: var(--surface);
  border-radius: var(--radius-big);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--spring), box-shadow 0.5s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(26,26,26,0.3); }
.svc-card.dark { background: var(--off-black); color: var(--white); }
.svc-card.dark p { color: rgba(255,255,255,0.72); }
.svc-card.tint { background: var(--aqua-tint); }
.svc-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--secondary); text-transform: uppercase; }
.svc-card.dark .svc-num { color: var(--accent); }
.svc-card h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); font-weight: 620; letter-spacing: -0.02em; text-wrap: balance; }
.svc-card p { color: var(--secondary); font-size: 1rem; text-wrap: pretty; }
.svc-card .vid-frame { aspect-ratio: 16 / 9; border-radius: 1rem; margin-top: auto; }

.steps {
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(6rem, 14vh, 10rem) var(--gutter) 0;
}
.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  background: var(--off-black);
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-self: start;
}
.step h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 620; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.step p { color: var(--secondary); max-width: 38rem; text-wrap: pretty; }

.plans {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(6rem, 14vh, 10rem) var(--gutter) 0;
}
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.plan {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-big);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.plan.featured { background: var(--off-black); color: var(--white); border-color: var(--off-black); position: relative; }
.plan.featured .plan-price, .plan.featured h3 { color: var(--white); }
.plan.featured li { color: rgba(255,255,255,0.75); }
.plan-badge {
  position: absolute;
  top: -0.9rem; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--off-black);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.375rem; font-weight: 620; }
.plan-price { font-size: clamp(2.25rem, 3.5vw, 3rem); font-weight: 640; letter-spacing: -0.03em; }
.plan-price small { font-size: 0.4em; font-weight: 500; color: var(--secondary); letter-spacing: 0; }
.plan.featured .plan-price small { color: rgba(255,255,255,0.6); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.plan li { color: var(--secondary); font-size: 0.9688rem; padding-left: 1.4rem; position: relative; }
.plan li::before { content: "●"; position: absolute; left: 0; font-size: 0.55em; top: 0.55em; color: var(--accent); }
.plan .btn { margin-top: auto; }

.apps-row {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(6rem, 14vh, 10rem) var(--gutter) 0;
}
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.app-card { position: relative; border-radius: var(--radius-big); overflow: hidden; aspect-ratio: 4 / 4.6; }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.app-card:hover img { transform: scale(1.05); }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(20,20,18,0.75)); }
.app-label { position: absolute; z-index: 1; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; color: var(--white); }
.app-label h3 { font-size: 1.5rem; font-weight: 620; letter-spacing: -0.02em; }
.app-label p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; margin-top: 0.3rem; }

.cta-band {
  max-width: var(--maxw);
  margin-inline: auto;
  margin-block: clamp(6rem, 14vh, 10rem);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  background: var(--accent-tint);
  border-radius: var(--radius-big);
  width: calc(100% - var(--gutter) * 2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -0.025em; max-width: 22ch; text-wrap: balance; }

/* ============================================================
   STORE (stub — Shopify-ready)
   ============================================================ */

.store-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-top: 1.5rem;
}
.filters {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.filter-chip {
  font-weight: 580;
  font-size: 0.9375rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-chip:hover { background: var(--off-black-05); }
.filter-chip.active { background: var(--off-black); color: var(--white); border-color: var(--off-black); }

.product-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(6rem, 12vh, 9rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.5rem;
}
.product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--spring), box-shadow 0.45s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(26,26,26,0.3); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.product:hover .product-media img { transform: scale(1.06); }
.product-tile {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--off-black-50);
  background: linear-gradient(135deg, var(--warm-grey), var(--warm-grey-dark));
}
.product-sale {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: var(--accent);
  color: var(--off-black);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.product-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-vendor { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); }
.product-title { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.015em; }
.product-price { font-size: 1.0625rem; font-weight: 600; margin-top: 0.25rem; }
.product-price s { color: var(--secondary); font-weight: 400; margin-left: 0.5rem; font-size: 0.875em; }
.product .btn { margin-top: auto; justify-content: center; }

/* cart */
.cart-fab {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  background: var(--off-black);
  color: var(--white);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 16px 40px -14px rgba(26,26,26,0.5);
  transition: transform 0.4s var(--spring);
}
.cart-fab:hover { transform: translateY(-3px); }
.cart-count {
  background: var(--accent);
  color: var(--off-black);
  border-radius: 999px;
  min-width: 1.5rem; height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  padding-inline: 0.3rem;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 120;
  width: min(26rem, 100vw);
  background: var(--white);
  box-shadow: -30px 0 80px -30px rgba(26,26,26,0.35);
  transform: translateX(105%);
  transition: transform 0.5s var(--spring);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.cart-head h3 { font-size: 1.25rem; font-weight: 650; }
.cart-close { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--off-black-05); transition: background-color 0.2s; }
.cart-close:hover { background: var(--off-black-10); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { color: var(--secondary); text-align: center; margin-top: 3rem; }
.cart-item { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: center; }
.cart-item img, .cart-item .product-tile { width: 4rem; height: 4rem; border-radius: 0.6rem; object-fit: cover; font-size: 1.25rem; }
.cart-item-name { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.cart-item-price { color: var(--secondary); font-size: 0.875rem; margin-top: 0.15rem; }
.cart-qty { display: flex; align-items: center; gap: 0.4rem; }
.cart-qty button {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--off-black-05);
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background-color 0.2s;
}
.cart-qty button:hover { background: var(--off-black-10); }
.cart-foot { border-top: 1px solid var(--border); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 650; font-size: 1.125rem; }
.cart-fine { font-family: var(--font-mono); font-size: 0.75rem; color: var(--secondary); text-align: center; }
.cart-backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(26,26,26,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.cart-backdrop.show { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 130;
  background: var(--off-black);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 550;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: transform 0.5s var(--spring);
  box-shadow: 0 16px 40px -14px rgba(26,26,26,0.5);
}
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .apps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .feature, .feature-rev { grid-template-columns: 1fr; }
  .feature-rev .feature-text { order: 1; }
  .feature-rev .feature-media { order: 2; }
  .feature-text { position: static; }
  .design-grid { grid-template-columns: 1fr; }
  .design-visual { position: relative; top: 0; order: -1; }
  .design-visual-frame { aspect-ratio: 16 / 10; }
  .dfeature { opacity: 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-pill { font-size: 0.875rem; gap: 0.75rem; padding: 0.85rem 1.1rem; bottom: 1rem; }
  .toc-list a { grid-template-columns: 2.25rem 1fr 2rem; }
  .toc-sub { display: none; }
  .story-card { grid-template-columns: 1fr; }
  .intro-media { margin-top: -10svh; }
  .footer-base { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

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