/* ==========================================================================
   The Moonbounce Man — design tokens
   Palette per design-constitution.md §12 (jewel-tone system).
   Logo primaries are locked inside the logo and the hero video only.
   ========================================================================== */
:root {
  /* Environment (~70%) */
  --ivory:        #FBF4DF;   /* page background, matches hero video letterbox */
  --deep-ivory:   #EDE5D0;   /* secondary surfaces, image placeholders */
  --ink:          #16161F;   /* dark environments, footer, primary CTA */

  /* Anchors (~20%) */
  --forest:       #2A4B3A;

  /* Signature accents (~10%) */
  --lilac:        #C0B4CC;   /* hover details, small dividers */
  --gold:         #B8944D;   /* hover fills, link underlines */

  /* Derived */
  --ink-70:       rgba(22, 22, 31, 0.70);
  --ink-45:       rgba(22, 22, 31, 0.45);
  --ivory-80:     rgba(251, 244, 223, 0.80);
  --ivory-30:     rgba(251, 244, 223, 0.30);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --display-axes: "SOFT" 40, "WONK" 1;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-body:    1rem;            /* 16px */
  --text-tile:    0.875rem;        /* 14px: product name + price on tiles */
  --text-ui:      0.8125rem;       /* 13px: chrome, small UI */
  --leading-body: 1.55;

  /* Motion */
  --ease-ambient: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-enter:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-menu:    cubic-bezier(0.7, 0, 0.3, 1);   /* extracted from live reference, do not alter */
  --dur-fast:     250ms;
  --dur-reveal:   700ms;

  /* Layout */
  --page-gutter:  clamp(20px, 3vw, 56px);
  --section-pad:  clamp(48px, 7vw, 96px);
  --content-max:  1440px;
  --grid-gap:     2px;
  --chrome-inset: clamp(14px, 2vw, 26px);
  --chrome-h:     44px;
  --radius-btn:   2px;

  /* Hero */
  --hero-runway:  175vh;   /* scroll distance consumed by the scrub */
}

@media (max-width: 767px) {
  :root {
    --hero-runway: 120vh;
  }
}
