/* ============================================================
   Lunelle — design tokens
   ============================================================ */
:root {
  /* palette — warm, low-contrast and quiet: nothing on the page is
     near-black, and every surface sits within a few steps of the others */
  --bg: #FBF7F3;
  --surface: #FFFCFA;
  --ink: #4A403A;
  --muted: #786C65;
  --accent: #C9A79E;          /* dusty rose, from the logo */
  --accent-strong: #7A6A60;   /* warm taupe — the only "dark" on the page */
  --sage: #A3B2A4;

  /* derived surfaces (all from the palette, no new hues) */
  --line: color-mix(in srgb, var(--ink) 8%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 14%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --blush: color-mix(in srgb, var(--accent) 22%, var(--bg));
  --sage-soft: color-mix(in srgb, var(--sage) 18%, var(--bg));
  --wash: color-mix(in srgb, var(--accent) 7%, var(--bg));
  --on-accent-strong: #FFFCFA;

  /* type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;

  /* rhythm */
  --shell: 1200px;
  --gutter: 1.5rem;
  --section-y: 5.5rem;

  /* form — softer corners, shadows you feel rather than see */
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px -4px color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow: 0 18px 44px -28px color-mix(in srgb, var(--ink) 24%, transparent);
  --shadow-lift: 0 28px 60px -32px color-mix(in srgb, var(--ink) 28%, transparent);

  /* motion — everything unhurried */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 320ms var(--ease-soft);
  --t-slow: 560ms var(--ease-soft);
}

@media (min-width: 48rem)  { :root { --gutter: 2rem;   --section-y: 7rem; } }
@media (min-width: 64rem)  { :root { --gutter: 2.5rem; --section-y: 9rem; } }

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must always win over component display rules
   (flex/grid/inline-flex). Without this, elements toggled via .hidden in JS
   stay visible. Applies site-wide; per-element overrides below are redundant. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

::selection { background: color-mix(in srgb, var(--accent) 34%, var(--bg)); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
h3 { font-size: 1.1875rem; line-height: 1.35; letter-spacing: 0; }

p { margin: 0; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.22em; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--accent-strong); color: var(--on-accent-strong);
  padding: 0.75rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 1px;
  background: var(--accent);
  flex: none;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.1875rem);
  line-height: 1.85;
  max-width: 46ch;
  margin-top: 1.4rem;
}

.section-head { max-width: 42rem; margin-bottom: 4rem; }
.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.section-head-center .lede { margin-inline: auto; }

/* ============================================================
   Buttons — exactly one high-contrast CTA style
   ============================================================ */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 2.1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t),
              transform var(--t), box-shadow var(--t);
}

.btn-primary {
  --btn-bg: var(--accent-strong);
  color: var(--on-accent-strong);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  --btn-bg: color-mix(in srgb, var(--accent-strong) 88%, var(--ink));
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--accent-soft); }

.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7rem;
  padding-block: 0.65rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  margin: 0;
}
.logo-mark {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-0.15em);
}
.logo { transition: opacity var(--t); }
.logo:hover { opacity: 0.75; }
.logo-img { height: 4.5rem; width: auto; display: block; }
@media (min-width: 48rem) { .logo-img { height: 6rem; } }
.logo-footer-img { height: 6.5rem; }

/* nav */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9375rem;
}
.nav-list a {
  text-decoration: none;
  position: relative;
  padding-block: 0.25rem;
  color: var(--ink);
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-list a:hover::after { transform: scaleX(1); }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.cart-button:hover { border-color: var(--ink); background: var(--accent-soft); }

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.375rem; height: 1.375rem;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: var(--on-accent-strong);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  transition: transform var(--t);
}
.cart-count[data-empty="true"] { background: var(--line); color: var(--muted); }
.cart-count.is-bumped { transform: scale(1.22); }

/* mobile nav */
@media (max-width: 47.99rem) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list li:first-child { border-top: 0; }
  .nav-list a { display: block; padding: 1rem 0; font-size: 1.0625rem; }
  .nav-list a::after { display: none; }
  .cart-button { width: 100%; justify-content: space-between; margin-top: 1rem; padding: 0.75rem 1.1rem; }
}
@media (min-width: 48rem) {
  .nav-toggle { display: none; }
}

/* ============================================================
   Placeholders
   ============================================================ */
.placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 14px,
      color-mix(in srgb, var(--accent) 9%, transparent) 14px 15px
    ),
    var(--wash);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.placeholder-label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}
.placeholder-hero     { aspect-ratio: 4 / 5; }
.placeholder-square   { aspect-ratio: 1 / 1; }
.placeholder-portrait { aspect-ratio: 3 / 4; }

/* ============================================================
   Product photography
   ============================================================ */
.media-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 2rem);
}
.media-photo-hero   { aspect-ratio: 4 / 5; }
.media-photo-square { aspect-ratio: 1 / 1; }
.media-photo-wide   { aspect-ratio: 16 / 10; }

/* ---------- product gallery / slider ---------- */
/* min-width:0 stops the six-abreast track from forcing the grid column wider
   than the screen */
.gallery {
  position: relative;
  min-width: 0;
}

.gallery-frame {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* the photos are cutouts now, so the frame is a soft wash rather than a
     white box the product is pasted onto */
  background: var(--wash);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* the track slides on a CSS transition rather than by scrolling: the browser
   animates it on the compositor, and there is no scroll-snap to fight */
.gallery-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.gallery-viewport.is-dragging { cursor: grabbing; }
.gallery-viewport:focus-visible { outline-offset: -3px; }

.gallery-track {
  display: flex;
  transition: transform 520ms var(--ease-soft);
  will-change: transform;
}
.gallery-track.is-dragging { transition: none; }

.gallery-slide { flex: 0 0 100%; }
.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: clamp(0.5rem, 1.6vw, 1.1rem);
  -webkit-user-drag: none;
  user-select: none;
}

/* arrows: quiet until the frame is hovered, always there on touch */
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--t), transform var(--t), background var(--t), border-color var(--t);
}
.gallery-nav svg { width: 1.15rem; height: 1.15rem; }
.gallery-prev { left: 1rem;  transform: translate(-0.35rem, -50%); }
.gallery-next { right: 1rem; transform: translate(0.35rem, -50%); }

.gallery-frame:hover .gallery-nav,
.gallery-nav:focus-visible {
  opacity: 1;
  transform: translate(0, -50%);
}
.gallery-nav:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}
.gallery-nav:active { scale: 0.94; }
.gallery-nav[disabled] {
  opacity: 0 !important;
  pointer-events: none;
}
.gallery-frame:hover .gallery-nav[disabled] { opacity: 0.25 !important; }

@media (hover: none) {
  .gallery-nav { opacity: 1; transform: translate(0, -50%); }
  .gallery-frame:hover .gallery-nav[disabled] { opacity: 0.25 !important; }
}

.gallery-counter {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-variant-numeric: tabular-nums;
}

/* thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--t), border-color var(--t), transform var(--t);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.gallery-thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--accent-strong);
  transform: none;
}

@media (min-width: 48rem) {
  .gallery-thumb { width: 4.75rem; height: 4.75rem; }
}

.fold-band,
.craft-band { margin-block: clamp(2.5rem, 5vw, 3.5rem); }

.craft-band {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
@media (min-width: 48rem) {
  .craft-band { grid-template-columns: 1fr 1fr; }
}

.stroller-feature { padding-inline: 0; }

.fold-band figcaption,
.craft-shot figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* pre-launch: nothing is purchasable yet, so the buy slot states that plainly
   rather than showing a button that can't do anything */
.buy-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent-strong);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.buy-soon::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.buy-soon-block {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.75rem;
}

.price-tbc {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--muted);
}

.price-was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.7em;
  margin-right: 0.25rem;
}

/* ============================================================
   Hero — wording on the left, the stroller you can turn on the right
   ============================================================ */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4rem);
  position: relative;
  background:
    radial-gradient(110% 80% at 22% 0%,
      color-mix(in srgb, var(--accent) 11%, transparent) 0%,
      transparent 60%),
    var(--bg);
}

.hero-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; }
}

/* --- left: the wording --- */
.hero-copy { text-align: center; }
@media (min-width: 62rem) {
  .hero-copy { text-align: left; }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.85;
  max-width: 32rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-inline: auto;
}
@media (min-width: 62rem) {
  .hero-sub { margin-inline: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}
@media (min-width: 62rem) {
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 29.99rem) {
  .hero-actions .btn { width: 100%; }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
@media (min-width: 62rem) {
  .hero-trust { justify-content: flex-start; }
}
.hero-trust li { display: flex; align-items: center; gap: 0.6rem; }
.hero-trust li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* --- right: the turnable stroller --- */
.hero-media {
  position: relative;
  min-width: 0;
  text-align: center;
}

/* a soft pool of light so the stroller feels grounded, not floating */
.hero-media::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 62%;
  height: 12%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--accent) 24%, transparent),
    transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-model {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(22rem, 56vh, 34rem);
  background: transparent;
  --poster-color: transparent;
  cursor: grab;
  outline: none;
}
.hero-model:active { cursor: grabbing; }

.hero-media-hint {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

/* no JS / model-viewer blocked: the poster image still shows through */
.no-js .hero-model { min-height: 22rem; }

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}
.scroll-hint svg { width: 1.1rem; height: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint svg { animation: drift 3.4s var(--ease-soft) infinite; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ============================================================
   Scroll-linked stroller reveal
   The section is tall; the stage inside it sticks to the viewport while it
   passes, and script.js maps scroll progress onto --p (0 → 1). Only
   transform and opacity are driven, so it stays on the compositor.
   ============================================================ */
.scene {
  --p: 0;
  position: relative;
  background:
    linear-gradient(180deg,
      var(--bg) 0%,
      var(--sage-soft) 45%,
      var(--bg) 100%);
}

.scene-stage {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-block: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.scene-copy { text-align: center; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }

.scene-figure {
  position: relative;
  /* sized for the END of the animation: it starts tiny via scale() and grows
     into this, so this is how big the stroller gets */
  width: min(54rem, 94vw);
  height: min(74vh, 48rem);
  display: grid;
  /* an explicit single cell: without it the row grows to the taller photo and
     the stroller spills past the frame into the caption */
  grid-template: 100% / 100%;
}

.scene-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scene-caption {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--muted);
  text-align: center;
}
/* anchored to the foot of the stage so the growing stroller can never run
   into it, whatever the viewport height */
.scene.is-scrollable .scene-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.5rem, 5vh, 3rem);
}

/* the animated state — only applied once script.js says the browser and the
   viewer are both up for it, so the default above stays a plain still image */
.scene.is-scrollable {
  /* the extra length must be content height, not padding: a sticky child can
     only travel within its parent's content box, so padding buys it nothing */
  min-height: 230vh;
}
.scene.is-scrollable .scene-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: 100vh;
  /* clear the sticky header so the heading never slides under it */
  padding-top: clamp(5.5rem, 9vh, 7rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

/* phones: same animation, shorter run and a slightly smaller finish so the
   heading and caption keep their clearance on a short screen. svh keeps the
   stage steady while mobile browser chrome slides in and out. */
@media (max-width: 47.99rem) {
  .scene.is-scrollable { min-height: 200svh; }
  .scene.is-scrollable .scene-stage {
    min-height: 100svh;
    height: 100svh;
  }
  .scene-figure {
    width: 92vw;
    height: 54svh;
  }
}

.scene.is-scrollable .scene-figure {
  /* starts far back and small, arrives filling the stage */
  transform:
    translate3d(calc(var(--p) * -3%), calc((1 - var(--p)) * 8%), 0)
    scale(calc(0.16 + var(--p) * 0.84));
  transform-origin: center 48%;
  will-change: transform;
}

.scene.is-scrollable .scene-img {
  backface-visibility: hidden;
  transform: perspective(1400px) rotateY(calc((1 - var(--p)) * 26deg));
}
/* crossfade the two real camera angles across the middle of the scroll */
.scene.is-scrollable .scene-img-a { opacity: calc(1 - var(--fade)); }
.scene.is-scrollable .scene-img-b { opacity: var(--fade); }

/* the heading sits above the stage rather than in the flow, so the stroller
   gets the whole centre; it hands over to the caption as the turn completes */
.scene.is-scrollable .scene-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(5.5rem, 9vh, 7rem);
  opacity: calc(1 - var(--fade));
}
.scene.is-scrollable .scene-caption {
  opacity: var(--fade);
  transform: translate3d(0, calc((1 - var(--fade)) * 10px), 0);
}

/* still fallback: show the finished side profile only */
.scene:not(.is-scrollable) .scene-img-a { opacity: 0; }
.scene:not(.is-scrollable) .scene-caption { opacity: 1; }

/* ============================================================
   Stroller · fully reclining
   ============================================================ */
.stroller { background: var(--bg); }

.stroller-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .stroller-inner { grid-template-columns: 1fr 1fr; }
}

/* spec cards — calm, well spaced, the recline card leading */
.specs-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
@media (min-width: 34rem) {
  .specs-grid { grid-template-columns: 1fr 1fr; }
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}
.spec-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
.spec-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.3rem;
}
.spec-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* the headline benefit gets the full width and the blush wash */
@media (min-width: 34rem) {
  .spec-card-lead { grid-column: 1 / -1; }
}
.spec-card-lead {
  background: var(--blush);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}
.spec-card-lead h3 { font-size: 1.25rem; }

/* ============================================================
   Carriage bag feature
   ============================================================ */
.feature { background: var(--blush); border-block: 1px solid var(--line); }

.feature-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .feature-inner { grid-template-columns: 1fr 1fr; }
}

.benefits {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.benefits h3 { margin-bottom: 0.35rem; }
.benefits p { color: var(--muted); font-size: 0.9375rem; max-width: 44ch; }

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}
.price-note {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0;
  color: var(--muted);
}

/* ============================================================
   Strollers
   ============================================================ */
.product-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 48rem) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
@media (min-width: 48rem) {
  .card { padding: 1.5rem 1.5rem 2rem; }
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}
.card-featured { border-color: var(--accent-soft); }

.card-flag {
  position: absolute;
  top: 2rem; right: 2rem;
  z-index: 1;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--muted);
}

.card-media { margin-bottom: 1.75rem; }
.product-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.card-body { display: flex; flex-direction: column; flex: 1; }

.card-position {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
  max-width: 34ch;
}

.specs {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.specs li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.5rem;
}
.specs li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.7em;
}

.card-foot {
  margin-top: auto;
  padding-top: 1.75rem;
  display: grid;
  gap: 1rem;
}
.card-foot .price { font-size: 1.375rem; }

/* comparison table */
.table-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
@media (min-width: 40rem) { .table-hint { display: none; } }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare caption {
  text-align: left;
  padding: 1.25rem 1.5rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare th, .compare td {
  text-align: left;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding-top: 1.25rem;
  border-bottom-color: var(--line-strong);
}
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tbody td { color: var(--muted); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* ============================================================
   Brand pillars
   ============================================================ */
.brand { background: var(--sage-soft); border-block: 1px solid var(--line); }

.pillars {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.pillar {
  transition: transform var(--t-slow);
}
.pillar:hover { transform: translateY(-4px); }

.pillar-icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--accent-strong);
  margin-bottom: 1.25rem;
  transition: background var(--t-slow), border-color var(--t-slow), transform var(--t-slow);
}
.pillar:hover .pillar-icon {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: scale(1.06);
}
.pillar-icon svg { width: 1.25rem; height: 1.25rem; }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { color: var(--muted); font-size: 0.9375rem; max-width: 34ch; }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) {
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.quotes blockquote {
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
  height: 100%;
}
.quotes p {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.quotes footer {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.quotes cite { font-style: normal; color: var(--ink); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer-inner {
  display: grid;
  gap: 2.75rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 40rem) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .footer-inner { grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr; gap: 3rem; }
}

.logo-footer { font-size: 1.25rem; }

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.9rem;
  max-width: 30ch;
}

.footer-nav ul, .footer-contact ul { display: grid; gap: 0.7rem; font-size: 0.9375rem; }
.footer-nav a, .footer-contact a { text-decoration: none; transition: color var(--t); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--muted); text-decoration: underline; }

.signup { margin-top: 1.1rem; }
.signup-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.signup input {
  flex: 1 1 11rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--t);
}
.signup input::placeholder { color: var(--muted); }
.signup input:hover { border-color: var(--ink); }

.form-status {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.form-status[data-state="error"] { color: var(--ink); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ============================================================
   Cart drawer
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: color-mix(in srgb, var(--ink) 34%, transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.cart-overlay.is-open { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 160;
  width: min(24rem, 100%);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  transform: translateX(100%);
  transition: transform var(--t);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 1.375rem; }

.cart-close {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.cart-close:hover { border-color: var(--ink); background: var(--accent-soft); }
.cart-close svg { width: 1rem; height: 1rem; }

.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-empty { color: var(--muted); font-size: 0.9375rem; }

.cart-items { display: grid; gap: 1.25rem; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-item-name { font-weight: 500; font-size: 0.9375rem; }
.cart-item-price { font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.cart-item-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
.cart-qty { font-size: 0.8125rem; color: var(--muted); }
.cart-remove {
  background: none; border: 0; padding: 0;
  font-size: 0.8125rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 0.2em;
  cursor: pointer;
  transition: color var(--t);
}
.cart-remove:hover { color: var(--ink); }

.cart-foot { padding: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.cart-note { font-size: 0.8125rem; color: var(--muted); text-align: center; }

body.no-scroll { overflow: hidden; }

/* ============================================================
   Launch announcement bar — a soft blush strip, not a dark slab
   ============================================================ */
.promo-bar {
  background: var(--blush);
  color: var(--ink);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
}
.promo-bar[hidden] { display: none; }

.promo-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding-block: 0.6rem;
}

.promo-bar-text {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  line-height: 1.5;
  color: var(--ink);
}
.promo-bar-text strong { color: var(--ink); font-weight: 600; }

.promo-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--accent-strong);
}

.promo-bar-cta {
  flex: none;
  background: var(--surface);
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.promo-bar-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.promo-bar-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.promo-bar-close:hover {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
}
.promo-bar-close svg { width: 1rem; height: 1rem; }

.promo-bar :focus-visible { outline-color: var(--accent-strong); }

.promo-bar-short { display: none; }

@media (max-width: 44rem) {
  .promo-bar-inner {
    flex-wrap: wrap;
    row-gap: 0.6rem;
    min-height: 0;
    padding-block: 0.7rem;
  }
  .promo-tag { display: none; }
  .promo-bar-long { display: none; }
  .promo-bar-short { display: inline; }
  .promo-bar-text { order: 1; flex: 1 1 auto; font-size: 0.8125rem; }
  .promo-bar-close { order: 2; }
  .promo-bar-cta { order: 3; flex: 1 1 100%; padding-block: 0.65rem; }
}

/* ============================================================
   Pre-order modal
   ============================================================ */
.preorder-overlay {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.preorder-overlay.is-open { opacity: 1; }

.preorder-modal {
  position: fixed;
  z-index: 180;
  top: 50%; left: 50%;
  width: min(30rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  transform: translate(-50%, -46%);
  opacity: 0;
  transition: transform var(--t), opacity var(--t);
}
.preorder-modal.is-open { transform: translate(-50%, -50%); opacity: 1; }

.preorder-close {
  position: absolute;
  top: 1rem; right: 1rem;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.preorder-close:hover { border-color: var(--ink); color: var(--ink); background: var(--accent-soft); }
.preorder-close svg { width: 1rem; height: 1rem; }

.preorder-modal .eyebrow { padding-right: 2.5rem; }
.preorder-modal h2 { margin-top: 0.25rem; font-size: clamp(1.6rem, 4vw, 2rem); }
.preorder-lede {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

.preorder-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: 1.75rem 0 0.25rem;
}
.preorder-now {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.preorder-was {
  font-size: 0.9375rem;
  color: var(--muted);
}
.preorder-was s { color: var(--muted); }
.preorder-save {
  align-self: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.preorder-breakdown {
  margin: 1.75rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}
.preorder-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.preorder-row dt { color: var(--muted); font-size: 0.9375rem; }
.preorder-row dt span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
}
.preorder-row dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.preorder-row-total {
  border-bottom: 0;
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
}
.preorder-row-total dt { color: var(--ink); font-weight: 500; }
.preorder-row-total dd {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.preorder-fine {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 1.25rem 0 1.5rem;
}

.preorder-cta { padding-block: 1.05rem; font-size: 1rem; }

.preorder-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.preorder-trust li { display: flex; align-items: center; gap: 0.45rem; }
.preorder-trust li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
/* only hide when JS is available to reveal it again */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 750ms var(--ease-soft), transform 750ms var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* the hero gallery arrives with a touch more travel and a hint of scale */
.js .hero .gallery.reveal {
  transform: translateY(32px) scale(0.985);
  transition-duration: 900ms;
}
.hero .gallery.reveal.is-visible { transform: none; }

/* stagger siblings a little */
.pillars .reveal:nth-child(2) { transition-delay: 110ms; }
.pillars .reveal:nth-child(3) { transition-delay: 220ms; }
.hero-copy.reveal { transition-delay: 120ms; }

/* lift the words in the hero one line at a time */
.js .hero-copy.is-visible > * {
  animation: rise-in 700ms var(--ease-soft) backwards;
}
.js .hero-copy.is-visible > *:nth-child(1) { animation-delay: 180ms; }
.js .hero-copy.is-visible > *:nth-child(2) { animation-delay: 260ms; }
.js .hero-copy.is-visible > *:nth-child(3) { animation-delay: 340ms; }
.js .hero-copy.is-visible > *:nth-child(4) { animation-delay: 430ms; }
.js .hero-copy.is-visible > *:nth-child(5) { animation-delay: 520ms; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn-primary:hover, .card:hover { transform: none; }
}

/* ============================================================
   The Lunelle range — product cards
   ============================================================ */
.range { background: var(--sage-soft); border-block: 1px solid var(--line); }

.range-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem)  { .range-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem)  { .range-grid { grid-template-columns: repeat(4, 1fr); } }

.range-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.range-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.range-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.range-flag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--blush);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
}

.range-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
}
.range-body h3 { font-size: 1.0625rem; }
.range-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.range-status {
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--accent-strong) !important;
  font-weight: 500;
  font-size: 0.85rem !important;
}

/* ============================================================
   Redesign — top strip, centered hero, product grid, modals, about
   ============================================================ */
body.no-scroll { overflow: hidden; }

/* bigger logo */
.logo-img { height: 5rem; }
@media (min-width: 48rem) { .logo-img { height: 7rem; } }
.logo-footer-img { height: 7rem; }
.header-inner { min-height: 8.25rem; }

/* top strip */
.topbar {
  background: var(--blush);
  color: var(--accent-strong);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}
.topbar-inner { text-align: center; padding-block: 0.55rem; }

/* centered, logo-forward hero */
.hero-inner.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 56rem;
  gap: 0;
}
.hero-centered .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-mark { width: clamp(6rem, 12vw, 8.5rem); height: auto; margin-bottom: clamp(1rem, 2.5vw, 1.75rem); }
.hero-centered .hero-sub { margin-inline: auto; }
.hero-centered .hero-actions,
.hero-centered .hero-trust { justify-content: center; }
.hero-centered .hero-media { width: 100%; max-width: 30rem; margin: clamp(1.75rem, 4vw, 2.75rem) auto 0; }

.hero-title-fade { animation: heroFade 1200ms var(--ease-soft) both; }
@keyframes heroFade { from { opacity: 0; transform: translateY(16px); letter-spacing: 0.02em; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-title-fade { animation: none; } }

/* promo callout in the Amélie section */
.amelie-promo {
  margin-top: 1.35rem;
  padding: 0.9rem 1.15rem;
  background: var(--blush);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--accent-strong);
  line-height: 1.6;
}

/* our products grid */
.products { background: var(--bg); }
.product-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 34rem) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* show the whole product photo, scaled to fit and centered — never cropped */
.product-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.prod-flag {
  position: absolute;
  top: 0.75rem; left: 0.75rem; z-index: 1;
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--blush);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius-pill); padding: 0.25rem 0.7rem;
}

.product-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.product-body h3 { font-size: 1.15rem; }
.product-tag { color: var(--muted); font-size: 0.875rem; }
.product-price { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-top: 0.15rem; }
.btn-view { margin-top: 1rem; align-self: flex-start; padding: 0.6rem 1.3rem; font-size: 0.85rem; }

/* shared modal + popup */
.pmodal-overlay, .promopop-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  opacity: 0; transition: opacity 220ms var(--ease-soft);
}
.pmodal-overlay.is-open, .promopop-overlay.is-open { opacity: 1; }
.pmodal-overlay[hidden], .promopop-overlay[hidden] { display: none; }

.pmodal, .promopop {
  position: fixed; z-index: 301;
  left: 50%; top: 50%;
  transform: translate(-50%, -46%);
  width: min(34rem, 92vw);
  max-height: 88vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  opacity: 0;
  transition: opacity 220ms var(--ease-soft), transform 220ms var(--ease-soft);
}
.pmodal.is-open, .promopop.is-open { opacity: 1; transform: translate(-50%, -50%); }
.pmodal[hidden], .promopop[hidden] { display: none; }

.pmodal-close, .promopop-close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 0; border-radius: 50%;
  background: var(--wash); color: var(--ink);
  cursor: pointer; transition: background var(--t);
}
.pmodal-close:hover, .promopop-close:hover { background: var(--accent-soft); }
.pmodal-close svg, .promopop-close svg { width: 1.1rem; height: 1.1rem; }

.pmodal-flag {
  display: inline-block;
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--blush);
  border-radius: var(--radius-pill); padding: 0.25rem 0.7rem; margin-bottom: 0.85rem;
}
.pmodal-tag { justify-content: center; margin-bottom: 0.6rem; }
.pmodal h2 { text-align: center; margin-bottom: 0.5rem; }
.pmodal-price { text-align: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 1rem; }
.pmodal-desc { color: var(--muted); text-align: center; margin-bottom: 1.35rem; line-height: 1.7; }
.pmodal-features { display: grid; gap: 0.55rem; margin-bottom: 1.1rem; }
.pmodal-features li { position: relative; padding-left: 1.4rem; font-size: 0.9rem; color: var(--ink); }
.pmodal-features li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pmodal-note {
  background: var(--blush);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius);
  padding: 0.85rem 1rem; font-size: 0.9rem; color: var(--accent-strong); text-align: center;
}

/* entry promo popup */
.promopop { text-align: center; }
.promopop-mark { width: clamp(6rem, 18vw, 8rem); height: auto; margin: 0 auto 1rem; }
.promopop h2 { margin-bottom: 0.75rem; }
.promopop-text { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }
.promopop-text strong { color: var(--accent-strong); font-weight: 600; }

/* about */
.about { background: var(--sage-soft); border-block: 1px solid var(--line); }
.about-inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.about-mark { width: clamp(5rem, 10vw, 7rem); height: auto; margin: 0 auto 1.5rem; }
.about-copy { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.about-copy p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.9; margin-inline: auto; max-width: 40ch; }
.about-sign { margin-top: 1.75rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }

/* hidden attribute must win over the flag's display */
.pmodal-flag[hidden] { display: none; }

/* ============================================================
   Hero v2 — "Meet the Amélie" (product-forward, staged fade-in)
   ============================================================ */
.herox {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem);
}
.herox-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "copy" "media";
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .herox-inner {
    grid-template-columns: 1.02fr 1fr;
    grid-template-areas: "copy media";
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

/* ---- copy side ---- */
.herox-copy { grid-area: copy; max-width: 38rem; }
.herox-eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-strong);
  background: var(--blush);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius-pill); padding: 0.32rem 0.8rem;
}
.herox-title { font-size: clamp(2.85rem, 6.4vw, 4.75rem); line-height: 1.0; letter-spacing: -0.022em; }
.herox-title em { font-style: italic; color: var(--accent); }
.herox-accent {
  margin-top: 1rem; max-width: 26ch;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.3; color: var(--accent-strong);
}
.herox-lede { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.15rem); margin-top: 1rem; line-height: 1.7; max-width: 46ch; }

.herox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.9rem; }
.herox-actions .btn-primary { gap: 0.6rem; }

/* feature strip — fine-ruled row with subtle separators, not cards */
.herox-features {
  list-style: none; margin: 2.25rem 0 0; padding-top: 1.75rem;
  display: grid; grid-template-columns: 1fr; gap: 1.1rem;
  border-top: 1px solid var(--line);
}
.herox-features li { display: flex; align-items: flex-start; gap: 0.6rem; }
@media (min-width: 34rem) {
  .herox-features { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .herox-features li { padding-inline: 1.3rem; border-left: 1px solid var(--line); }
  .herox-features li:first-child { padding-left: 0; border-left: none; }
  .herox-features li:last-child { padding-right: 0; }
}
.hf-icon { flex: none; color: var(--accent-strong); margin-top: 0.05rem; }
.hf-icon svg { width: 1.3rem; height: 1.3rem; display: block; }
.hf-text strong { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.hf-text span { display: block; font-size: 0.77rem; color: var(--muted); line-height: 1.45; margin-top: 0.15rem; }

/* ---- product, sitting on the cream with a soft natural shadow ---- */
.herox-media {
  grid-area: media;
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: clamp(21rem, 44vw, 36rem);
}
.herox-media::before {                 /* soft ground shadow under the wheels */
  content: ""; position: absolute; z-index: 0;
  left: 50%; bottom: 3%; transform: translateX(-50%);
  width: min(56%, 19rem); height: 1.9rem; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%,
    color-mix(in srgb, var(--ink) 28%, transparent) 0%, transparent 72%);
  filter: blur(12px);
}
.herox-product {
  position: relative; z-index: 1;
  width: auto; height: auto;
  max-height: clamp(21rem, 46vw, 40rem);
  max-width: 100%;
}

/* hero colour options — informational chips (Black available, Sand coming soon) */
.herox-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.6rem; }
.hcolor {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill); padding: 0.5rem 0.9rem;
}
.hcolor .hcolor-price { color: var(--muted); }
.hcolor.is-active { border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent-strong); }
.hcolor.is-active .hcolor-price { color: var(--ink); }
.hcolor.is-soon { color: var(--muted); background: transparent; border-style: dashed; }
.hcolor-flag {
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-strong); background: var(--blush);
  border-radius: var(--radius-pill); padding: 0.16rem 0.5rem; margin-left: 0.1rem;
}
/* coming-soon colour in the #stroller buy row */
.buy-swatch.is-soon { opacity: 0.6; cursor: not-allowed; border-style: dashed; }
.buy-soon-tag {
  font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-strong); margin-left: 0.2rem;
}
.herox-add[hidden] { display: none; }
.swatch {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: inherit; font-size: 0.82rem; color: var(--ink); cursor: pointer;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: var(--radius-pill); padding: 0.5rem 0.9rem;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t), background var(--t);
}
.swatch:hover { transform: translateY(-1px); border-color: var(--accent-strong); }
.swatch:focus-visible { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-soft); }
.swatch.is-active { border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent-strong); background: var(--surface); }
.swatch-dot { width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.swatch-black { background: #2b2b2b; }
.swatch-sand { background: #e9e2d7; }

/* trust bar */
.herox-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: 1.15rem var(--gutter);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--muted);
}
.herox-trust li { display: flex; align-items: center; gap: 0.55rem; }
.herox-trust li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; }

/* cart icon in nav */
.nav-cart { display: inline-grid; place-items: center; color: var(--ink); transition: color var(--t), transform var(--t); }
.nav-cart::after { display: none; }
.nav-cart:hover { color: var(--accent-strong); transform: translateY(-1px); }

/* staged entrance — one authored moment */
@media (prefers-reduced-motion: no-preference) {
  .js .herox-copy > .reveal { opacity: 0; transform: translateY(16px); animation: heroxUp 760ms var(--ease-soft) forwards; }
  .js .herox-eyebrow.reveal  { animation-delay: 0.04s; }
  .js .herox-title.reveal    { animation-delay: 0.1s; }
  .js .herox-accent.reveal   { animation-delay: 0.18s; }
  .js .herox-lede.reveal     { animation-delay: 0.26s; }
  .js .herox-actions.reveal  { animation-delay: 0.34s; }
  .js .herox-colors.reveal   { animation-delay: 0.42s; }
  .js .herox-features.reveal { animation-delay: 0.5s; }
}
@keyframes heroxUp { to { opacity: 1; transform: none; } }
@keyframes heroxPanel { to { opacity: 1; transform: none; } }

/* assurance band below the hero */
.assure { border-block: 1px solid var(--line); background: var(--wash); }
.assure > .shell { padding-block: clamp(1.6rem, 3.2vw, 2.5rem); display: grid; gap: clamp(1.35rem, 2.5vw, 1.85rem); }
.assure-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 40rem) { .assure-row { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }
.assure-row li { display: flex; align-items: flex-start; gap: 0.75rem; }
.assure-row .hf-icon svg { width: 1.55rem; height: 1.55rem; }
.assure-row .hf-text strong { font-size: 0.95rem; }
.assure-row .hf-text span { font-size: 0.84rem; }
.assure-trust {
  list-style: none; margin: 0; padding: 1.35rem 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem;
  font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--muted);
}

/* bundle & save note */
.bundle-note {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  padding: 0.85rem 1.2rem;
  background: var(--blush);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--accent-strong);
}

/* ============================================================
   Buy buttons + shopping bag (gated by .shop-open / SHOP_OPEN)
   ============================================================ */
.buy-open { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.buy-colors { display: inline-flex; gap: 0.5rem; }
.buy-swatch {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem; transition: border-color var(--t), box-shadow var(--t);
}
.buy-swatch:hover { border-color: var(--line-strong); }
.buy-swatch.is-active { border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent-strong); }

/* nav bag count badge */
.nav-cart { position: relative; }
.nav-cart-badge {
  position: absolute; top: -6px; right: -9px;
  min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem;
  display: grid; place-items: center;
  font-size: 0.62rem; font-weight: 600; line-height: 1;
  color: var(--on-accent-strong); background: var(--accent-strong);
  border-radius: var(--radius-pill);
}
.nav-cart-badge[hidden] { display: none; }

/* product modal "add to bag" */
.pmodal-foot { margin-top: 1.35rem; }
.pmodal-add { width: 100%; justify-content: center; }

/* added-to-bag toast */
.cart-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 120;
  transform: translate(-50%, 1rem);
  background: var(--accent-strong); color: var(--on-accent-strong);
  padding: 0.7rem 1.15rem; border-radius: var(--radius-pill);
  font-size: 0.9rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.cart-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .cart-toast { transition: opacity var(--t); transform: translate(-50%, 0); } }
