/* Gridora marketing v2 — white corridor hero, glow features, testimonials, footer */

:root {
  --bg-hero: #ffffff;
  --ink: #111111;
  --ink-soft: #1a1a1a;
  --ink-muted: #5c5c5c;
  --ink-on-dark: #ffffff;
  --ink-dim: #e8e0f5;
  --cyan: #7dd3fc;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
  --step-lg: 1.25rem;
  --step-h3: 1.25rem;
  --step-h2: clamp(2.25rem, 1.2rem + 2.8vw, 3.5rem);
  --step-display: clamp(2.75rem, 1.1rem + 4.5vw, 4.75rem);
  /* Above-the-fold: full small viewport height, safe for mobile chrome */
  --hero-atf: 100svh;
  /* Motion — strong ease-out for entrances */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.23, 1, 0.32, 1);
  --reveal-dur: 0.75s;
  --reveal-stagger: 70ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-hero);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 107, 181, 0.35);
  color: #111;
}

:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #111;
  color: #fff;
  padding: 0.5rem 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: var(--step-display);
  margin: 0;
}
h2 {
  font-size: var(--step-h2);
  margin: 0 0 1rem;
}
h3 {
  font-size: var(--step-h3);
  margin: 0 0 0.5rem;
}

.body-lg {
  font-size: var(--step-lg);
  font-weight: 500;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 42ch;
  margin: 0 0 2.25rem;
}

/* ── Brand + stores ── */
.brand {
  display: inline-flex;
  line-height: 0;
}
.brand__mark {
  display: block;
  width: min(168px, 42vw);
  height: auto;
}
.brand__mark--sm {
  width: 110px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border-radius: 0.85rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  opacity: 0.55;
  pointer-events: none;
}
.store-btn[data-ready="true"] {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.store-btn--soon {
  opacity: 0.45;
}
.store-btn--light {
  background: #fff;
  color: #111;
}
.store-btn__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}
.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-btn__text small {
  font-size: max(0.625rem, 10px);
  font-weight: 500;
  opacity: 0.75;
}
.store-btn__text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ── Hero (white ATF + corridor) ── */
.hero {
  position: relative;
  min-height: var(--hero-atf);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-hero);
  color: var(--ink);
  padding: 2rem var(--pad) 2.5rem;
  overflow: hidden;
}

.hero__chrome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--max);
  z-index: 2;
}

/* Stage holds floating title/lede over the corridor */
.hero__stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 0.5rem;
}

.hero__title {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(28% - 6rem);
  z-index: 4;
  margin: 0 auto;
  text-align: center;
  max-width: min(16ch, 92%);
  pointer-events: none;
  text-shadow: 0 0 1.5rem #fff, 0 0 2.5rem #fff;
}

.hero__lede {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  z-index: 4;
  margin: 0 auto;
  max-width: min(40ch, 92%);
  width: max-content;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.5;
  pointer-events: none;
  text-shadow: 0 0 1.25rem #fff, 0 0 2rem #fff;
}

/* Bottom white fade so card shadows ease out cleanly */
.hero__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9rem;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #fff 0%,
    #fff 32%,
    rgba(255, 255, 255, 0.88) 55%,
    rgba(255, 255, 255, 0.4) 78%,
    transparent 100%
  );
}

/* Corridor fills remaining ATF space — full bleed width */
.corridor {
  position: relative;
  flex: 1 1 auto;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(14rem, 36svh, 26rem);
  container-type: inline-size;
  overflow: hidden;
  z-index: 1;
}

.corridor__stage {
  position: absolute;
  /* Inset leaves room for near-card drop shadows inside the fade */
  inset: 1.25rem 0 3.75rem;
  pointer-events: none;
}

.corridor__world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.corridor__card {
  position: absolute;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 1.25cqw 3.25cqw rgba(0, 0, 0, 0.34);
  backface-visibility: hidden;
}

.corridor__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
  .corridor__card {
    animation-play-state: paused !important;
  }
}

/* Mobile: entire hero locks to one ATF (100svh) */
@media (max-width: 40rem) {
  .hero {
    height: 100svh;
    max-height: 100svh;
    min-height: 100svh;
    padding:
      max(0.65rem, env(safe-area-inset-top))
      var(--pad)
      max(0.75rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .hero__chrome {
    flex: 0 0 auto;
    gap: 0.7rem;
  }
  .hero .brand__mark {
    width: min(132px, 38vw);
  }
  .store-row--hero {
    gap: 0.5rem;
  }
  .store-row--hero .store-btn {
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
  }
  .store-row--hero .store-btn__text strong {
    font-size: 0.8rem;
  }
  .hero__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0.55rem;
    display: flex;
    flex-direction: column;
  }
  .hero__stage::after {
    height: 5.5rem;
    z-index: 3;
  }
  /* Title + lede float over the corridor so chrome + visual share one screen */
  .hero__title {
    position: absolute;
    left: 0;
    right: 0;
    top: 10%;
    margin: 0 auto;
    font-size: clamp(1.85rem, 0.85rem + 5vw, 2.35rem);
    max-width: 14ch;
    text-align: center;
    z-index: 4;
    pointer-events: none;
  }
  .hero__lede {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7%;
    width: auto;
    max-width: min(32ch, 90%);
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.4;
    z-index: 4;
    pointer-events: none;
  }
  .corridor {
    flex: 1 1 auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-x: clip;
    overflow-y: hidden;
  }
  .corridor__stage {
    inset: 0.4rem 0 1.75rem;
  }
  .corridor::before,
  .corridor::after {
    width: min(14%, 2.75rem);
  }
}

/* Soft edge fade — wider, denser into white */
.corridor::before,
.corridor::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(34%, 17rem);
  z-index: 2;
  pointer-events: none;
}
.corridor::before {
  left: 0;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 12%,
    rgba(255, 255, 255, 0.94) 32%,
    rgba(255, 255, 255, 0.55) 58%,
    rgba(255, 255, 255, 0.18) 78%,
    transparent 100%
  );
}
.corridor::after {
  right: 0;
  background: linear-gradient(
    270deg,
    #fff 0%,
    #fff 12%,
    rgba(255, 255, 255, 0.94) 32%,
    rgba(255, 255, 255, 0.55) 58%,
    rgba(255, 255, 255, 0.18) 78%,
    transparent 100%
  );
}

/* ── Shared Soft Orbit band (features + testimonials) ── */
.page-band {
  position: relative;
  color: var(--ink-on-dark);
  overflow: hidden;
}

.page-band__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #12082a;
  overflow: hidden;
}

.features {
  position: relative;
  z-index: 1;
  /* Extra bottom pad so glow-card shadows aren't clipped by page-band */
  padding: clamp(4.5rem, 10vh, 7.5rem) var(--pad) clamp(5.5rem, 11vh, 8rem);
  background: transparent;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.95;
  mix-blend-mode: screen;
}
.blob--a {
  width: 70vmax;
  height: 70vmax;
  left: -25%;
  top: -20%;
  background: radial-gradient(circle, #ff6bb5 0%, transparent 70%);
}
.blob--b {
  width: 65vmax;
  height: 65vmax;
  right: -20%;
  top: 10%;
  background: radial-gradient(circle, #5b8cff 0%, transparent 70%);
}
.blob--c {
  width: 60vmax;
  height: 60vmax;
  left: 20%;
  bottom: -25%;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
}
.blob--d {
  width: 50vmax;
  height: 50vmax;
  right: 10%;
  bottom: 5%;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
}
.blob--e {
  width: 45vmax;
  height: 45vmax;
  left: 40%;
  top: 40%;
  background: radial-gradient(circle, #fb923c 0%, transparent 70%);
  opacity: 0.55;
}

.features__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.features h2 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 0.75rem;
}

.features .body-lg {
  color: var(--ink-dim);
  margin-top: 0;
  margin-bottom: 0;
  max-width: 42ch;
}

.glow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  /* Room so card drop shadows aren't clipped by the section edge */
  padding-bottom: 2.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .glow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .glow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
  }
}

.glow-card {
  --base: 280;
  --spread: 80;
  --radius: 22;
  --border: 1.5;
  --size: 220;
  --border-size: calc(var(--border) * 1px);
  --spotlight-size: calc(var(--size) * 1px);
  --hue: calc(var(--base) + (var(--xp, 0.5) * var(--spread)));
  --card-fill: hsl(var(--base) 38% 20% / 0.62);
  --card-tint: hsl(var(--base) 68% 58% / 0.28);
  --card-border: hsl(var(--base) 55% 88% / 0.32);
  --icon-well: linear-gradient(
    145deg,
    hsl(var(--base) 85% 78%) 0%,
    hsl(var(--base) 78% 52%) 100%
  );
  position: relative;
  isolation: isolate;
  padding: 1.75rem 1.5rem 1.85rem;
  border-radius: calc(var(--radius) * 1px);
  text-align: center;
  background-color: var(--card-fill);
  background-image:
    radial-gradient(
      var(--spotlight-size) var(--spotlight-size) at calc(var(--x, 50) * 1px)
        calc(var(--y, 50) * 1px),
      hsl(var(--hue) 90% 72% / 0.2),
      transparent
    ),
    linear-gradient(
      155deg,
      var(--card-tint),
      hsl(var(--base) 40% 28% / 0.18) 55%,
      hsl(var(--base) 35% 18% / 0.1)
    );
  background-attachment: fixed, local;
  border: var(--border-size) solid var(--card-border);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
  box-shadow:
    0 1.25rem 2.5rem -1rem rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  touch-action: none;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.glow-card:hover,
.glow-card.reveal.is-in:hover,
.glow-card.reveal.is-settled:hover {
  transform: translateY(-4px) scale(1.02);
}

.glow-card[data-glow-color="purple"] {
  --base: 270;
  --spread: 60;
  --icon-well: linear-gradient(145deg, #c4b5fd 0%, #7c3aed 100%);
}
.glow-card[data-glow-color="pink"] {
  --base: 320;
  --spread: 50;
  --icon-well: linear-gradient(145deg, #f9a8d4 0%, #db2777 100%);
}
.glow-card[data-glow-color="orange"] {
  --base: 28;
  --spread: 40;
  --icon-well: linear-gradient(145deg, #fdba74 0%, #ea580c 100%);
}
.glow-card[data-glow-color="blue"] {
  --base: 220;
  --spread: 50;
  --icon-well: linear-gradient(145deg, #93c5fd 0%, #2563eb 100%);
}
.glow-card[data-glow-color="teal"] {
  --base: 175;
  --spread: 45;
  --icon-well: linear-gradient(145deg, #99f6e4 0%, #0d9488 100%);
}
.glow-card[data-glow-color="indigo"] {
  --base: 245;
  --spread: 55;
  --icon-well: linear-gradient(145deg, #a5b4fc 0%, #4f46e5 100%);
}
.glow-card[data-glow-color="rose"] {
  --base: 350;
  --spread: 40;
  --icon-well: linear-gradient(145deg, #fda4af 0%, #e11d48 100%);
}
.glow-card[data-glow-color="lime"] {
  --base: 95;
  --spread: 40;
  --icon-well: linear-gradient(145deg, #d9f99d 0%, #65a30d 100%);
}
.glow-card[data-glow-color="cyan"] {
  --base: 190;
  --spread: 45;
  --icon-well: linear-gradient(145deg, #a5f3fc 0%, #0891b2 100%);
}

.glow-card::before,
.glow-card::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: calc(var(--radius) * 1px);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  mask:
    linear-gradient(transparent, transparent),
    linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.glow-card::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at
      calc(var(--x, 50) * 1px) calc(var(--y, 50) * 1px),
    hsl(var(--hue) 90% 55% / 0.9),
    transparent 100%
  );
  filter: brightness(1.6);
}

.glow-card::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.4) calc(var(--spotlight-size) * 0.4) at
      calc(var(--x, 50) * 1px) calc(var(--y, 50) * 1px),
    hsl(0 0% 100% / 0.7),
    transparent 100%
  );
}

.glow-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--icon-well);
  border: none;
  box-shadow:
    0 6px 14px hsl(var(--base) 60% 30% / 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.glow-card__icon img {
  width: 1.6rem;
  height: 1.6rem;
  filter: brightness(0) invert(1);
}
.glow-card h3 {
  color: #fff;
}
.glow-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* ── Testimonials — restored v1 fan (same mesh as features) ── */
.feedback {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(5rem, 12vh, 8rem);
  background: transparent;
  color: #fff;
}

.feedback h2 {
  color: #fff;
  text-align: center;
  margin: 0 auto 2.5rem;
  padding-inline: var(--pad);
  max-width: 16ch;
  font-size: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}

.spread {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.35rem;
  min-height: 22rem;
  padding: 2rem 0 3rem;
  width: 118vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.fb {
  --radius: 20;
  --border: 2;
  --size: 180;
  --border-size: calc(var(--border) * 1px);
  --spotlight-size: calc(var(--size) * 1px);
  position: relative;
  flex: 0 0 min(15.5rem, 70vw);
  min-height: 14.5rem;
  padding: 1.5rem 1.4rem 1.35rem;
  border-radius: calc(var(--radius) * 1px);
  border: var(--border-size) solid rgba(255, 255, 255, 0.14);
  background-color: rgba(16, 14, 28, 0.55);
  background-image: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at calc(var(--x, 50) * 1px)
      calc(var(--y, 50) * 1px),
    hsl(0 0% 100% / 0.1),
    transparent
  );
  background-attachment: fixed;
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-origin: 50% 120%;
  will-change: transform;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 500;
}

.fb::before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: inherit;
  background-attachment: fixed;
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.65) calc(var(--spotlight-size) * 0.65) at
      calc(var(--x, 50) * 1px) calc(var(--y, 50) * 1px),
    hsl(0 0% 100% / 0.45),
    transparent 100%
  );
  mask:
    linear-gradient(transparent, transparent),
    linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.fb p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #f5f0ff;
}

.fb .who {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
}

.fb .who strong {
  color: #fff;
  font-weight: 700;
}

/* Base poses — JS multiplies by scroll progress for scrubbing */
.fb--1 {
  transform: rotate(-18deg) translate(-8%, 14%) scale(0.96);
}
.fb--2 {
  transform: rotate(-8deg) translate(-2%, 6%);
}
.fb--3 {
  transform: rotate(0) translateY(-4px) scale(1.02);
  z-index: 2;
}
.fb--4 {
  transform: rotate(9deg) translate(2%, 8%);
}
.fb--5 {
  transform: rotate(19deg) translate(10%, 16%) scale(0.96);
}

@media (max-width: 52rem) {
  .spread {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: var(--pad);
    scroll-snap-type: x mandatory;
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .fb {
    scroll-snap-align: center;
    transform: none !important;
  }
}

/* ── Footer ── */
.foot {
  position: relative;
  background: #0a0618;
  color: #fff;
  padding: 0 var(--pad) 2rem;
}

.foot__rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 calc(-1 * var(--pad)) 2.25rem;
  width: calc(100% + 2 * var(--pad));
}

.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  justify-self: center;
}

.foot__meta {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
}

@media (min-width: 56rem) {
  .foot__inner {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
  }
  .foot__brand {
    justify-self: start;
  }
  .store-row--foot {
    justify-self: center;
  }
  .foot__links {
    justify-self: end;
  }
}

.foot__links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: center;
}

.foot__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.foot__links a:hover {
  color: #fff;
}

/* ── Subpages (Contact, Privacy) ── */
body.subpage-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.subpage-shell > .subpage-header {
  flex-shrink: 0;
}
body.subpage-shell > .subpage {
  flex: 1 0 auto;
}
body.subpage-shell > .site-footer--bar {
  margin-top: auto;
  flex-shrink: 0;
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--pad) 0;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.subpage-header .brand__mark {
  width: min(140px, 38vw);
}
.subpage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
}
.subpage-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.subpage-nav a:hover,
.subpage-nav a[aria-current="page"] {
  color: var(--ink);
}
.subpage {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) var(--pad) clamp(4rem, 10vh, 6rem);
  width: 100%;
  box-sizing: border-box;
}
.subpage h1 {
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.subpage > p {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
  line-height: 1.5;
}
.subpage .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 0.85rem;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.subpage .btn:hover {
  background: #222;
}

.subpage--legal {
  max-width: 44rem;
}
.subpage--legal .meta {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.subpage--legal h2 {
  margin: 2rem 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.subpage--legal p,
.subpage--legal li {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}
.subpage--legal a {
  color: var(--ink);
}
.subpage--legal ul {
  padding-left: 1.2rem;
  margin: 0.6rem 0 1rem;
}

/* Legal / Contact — thin bar, pinned to bottom of the shell */
.site-footer--bar {
  width: 100%;
  box-sizing: border-box;
  padding: 1.15rem var(--pad);
  background: #0a0a0a;
  color: #f7f8fc;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.site-footer--bar a {
  color: #f7f8fc;
  text-decoration: none;
}
.site-footer--bar a:hover {
  color: #93c5fd;
}
.site-footer--bar .site-footer__brand {
  font-weight: 600;
}
.site-footer--bar .site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}
.site-footer--bar .site-footer__end {
  opacity: 0.7;
}

/* ── Reveals — marketing entrances (text + cards) ── */
@keyframes reveal-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

/* No filter here — filter (even blur(0)) breaks background-attachment:fixed
   spotlight tracking on .glow-card */
@keyframes reveal-card {
  from {
    opacity: 0;
    transform: translate3d(0, 1.75rem, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes reveal-soft {
  from {
    opacity: 0;
    transform: translate3d(0, 0.85rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.reveal {
  opacity: 0;
}

.reveal.is-in {
  animation: reveal-rise var(--reveal-dur) var(--ease-out-expo) both;
  animation-delay: calc(var(--d, 0) * var(--reveal-stagger));
}

.reveal--card.is-in {
  animation-name: reveal-card;
  animation-duration: 0.8s;
}

.reveal--soft.is-in {
  animation-name: reveal-soft;
  animation-duration: 0.65s;
}

.reveal--hero.is-in {
  animation-duration: 0.85s;
}

/* Drop animation fill so hover transform + fixed spotlight work again */
.glow-card.reveal.is-settled {
  opacity: 1;
  filter: none;
  animation: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in,
  .reveal--card.is-in,
  .reveal--soft.is-in,
  .reveal--hero.is-in,
  .glow-card.reveal.is-settled {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none !important;
  }
}
