/* Tayvero design tokens. Every colour, size and timing used by the site lives here.
   Documented in docs/DESIGN_SYSTEM.md. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}
/* Editorial accent only (About page pull line). Not loaded unless used. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}

:root {
  /* Colour: warm neutrals taken from the three colourways. */
  --paper: #f7f6f2;          /* warm white page */
  --cream: #efebe4;          /* product grounds */
  --stone: #e8e2d9;          /* stone: hero, editorial panels, hover ground */
  --line: #ddd6cb;           /* hairlines */
  --line-strong: #857b70;    /* borders that must reach 3:1 */
  --ink: #1d1b19;            /* headings, primary text, primary button */
  --ink-soft: #37322d;       /* body copy (11:1 on paper) */
  --muted: #5c554d;          /* secondary text (6.6:1 on paper) */
  --charcoal: #232321;       /* charcoal: announcement bar, footer */
  --espresso: #38271f;       /* espresso: details band, early access */
  --gold: #ad925d;           /* muted gold: decorative accents only (rules, numerals on dark); not for text on light */
  --on-dark: #f5f0e8;
  --on-dark-muted: #d2c8ba;  /* 9:1 on charcoal */
  --thread: #8a6f3e;         /* darker gold: focus ring and hover underline on light (≥3:1) */
  --thread-light: #d2b884;   /* focus ring on dark */
  --notice: #f3ead8;

  /* Type: Manrope throughout. */
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --fs-xs: 0.8125rem;                                    /* 13px: image labels, legal */
  --fs-sm: 0.9375rem;                                    /* 15px: UI, captions */
  --fs-body: 1.0625rem;                                  /* 17px */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);  /* 18–20px */
  --fs-h4: 1.1875rem;                                    /* 19px */
  --fs-h3: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);   /* 22–26px */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem);     /* 28–42px */
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);      /* 36–60px */

  --lh-body: 1.6;
  --lh-heading: 1.12;
  --tracking-heading: -0.025em;

  /* Space (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section: clamp(4rem, 2.5rem + 5vw, 7.5rem);

  /* Layout */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --max: 90rem;      /* 1440px */
  --max-text: 38rem;
  --header-h: 4.25rem;
  --bar-h: 2.5rem;
  --tap: 2.75rem;    /* 44px minimum touch target */

  /* Shape & motion */
  --radius: 0;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 260ms;
  --t-slow: 450ms;

  /* Breakpoints (reference; not usable in media queries):
     sm 40rem (640px), md 48rem (768px), lg 64rem (1024px), xl 80rem (1280px). Mobile first. */
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }
}
