/* Yoga Ex Fonte — design tokens v1.1 (contrast pass 24 Nov 2026)
   Edit values here only. Components use semantic roles, never raw colours. */
:root{
  /* Palette — raw */
  --forest:#263D32; --deep-forest:#192D25; --ivory:#F7F3EB; --cream:#F0EBE1; --sand:#E8DFD0;
  --sage:#A6B29A; --terracotta:#B8795B; --charcoal:#302F2A; --soft-grey:#8B8981; --white:#FFFFFF;
  --terracotta-text:#84502F;   /* terracotta darkened for small text on light (AA) */
  --terracotta-soft:#D9A58A;   /* terracotta lightened for small text on dark (AA) */

  /* Semantic roles — light surfaces (ivory, cream, white). All text pairs ≥ 4.5:1 (WCAG 2.2 AA). */
  --color-primary:var(--forest);
  --color-primary-dark:var(--deep-forest);
  --color-background:var(--ivory);
  --color-background-alt:var(--cream);
  --color-surface:var(--white);
  --color-heading:var(--forest);        /* main headings      10.6:1 on ivory */
  --color-heading-2:var(--charcoal);    /* secondary headings 12.1:1 */
  --color-text:#45483F;                 /* body paragraphs     8.4:1 */
  --color-text-strong:var(--charcoal);  /* prices, key facts  12.1:1 */
  --color-text-muted:#62675D;           /* supporting text     5.3:1 (4.9 on cream) */
  --color-link:var(--forest);           /* links              10.6:1 */
  --color-accent:var(--terracotta);     /* rules, dots, borders only — never text */
  --color-accent-text:#96573A;          /* eyebrows, small labels 5.1:1 (4.75 on cream) */
  --color-border:#DDD3C1;
  --color-success:#3F6B4F;
  --color-error:#A23B2A;
  --color-focus:var(--forest);
  --cta-bg:var(--forest); --cta-text:var(--ivory); --cta-hover:var(--deep-forest);
  --terracotta-text:var(--color-accent-text);

  /* Type */
  --font-serif:"Cormorant Garamond","Cormorant",Georgia,"Times New Roman",serif;
  --font-sans:"Manrope","Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-deva:"Noto Serif Devanagari","Kohinoor Devanagari",serif;
  --fs-display-xl:clamp(3rem, 2.12rem + 3.76vw, 5.5rem);      /* 48 → 88 */
  --fs-display-l :clamp(2.625rem, 1.92rem + 3.01vw, 4.5rem);  /* 42 → 72 */
  --fs-h1:clamp(2.5rem, 1.98rem + 2.25vw, 4rem);              /* 40 → 64 */
  --fs-h2:clamp(2.125rem, 1.7rem + 1.8vw, 3rem);              /* 34 → 48 */
  --fs-h3:clamp(1.625rem, 1.43rem + .85vw, 2rem);             /* 26 → 32 */
  --fs-h4:clamp(1.375rem, 1.32rem + .24vw, 1.5rem);           /* 22 → 24 */
  --fs-body-l:1.1875rem; --fs-body:1rem; --fs-small:.875rem; --fs-caption:.75rem; --fs-eyebrow:.6875rem;
  --lh-display:1.02; --lh-heading:1.12; --lh-body:1.68;
  --track-eyebrow:.24em;

  /* Spacing */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px; --s-9:80px; --s-10:112px; --s-11:144px;
  --section-y:clamp(56px, 32px + 6.5vw, 128px);
  --container:1440px; --main:1200px; --reading:720px; --narrow:560px;
  --pad:clamp(20px, 8px + 3vw, 64px);

  /* Shape, motion */
  --radius-0:0; --radius-1:2px; --radius-2:4px; --radius-pill:999px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --dur-fast:150ms; --dur-std:250ms; --dur-slow:450ms; --dur-reveal:650ms;
  --shadow-float:0 18px 40px -18px rgba(25,45,37,.35);
}
/* Surface themes. Set with data-surface="…" on a section.
   (Not data-theme: claude.ai and some hosts put data-theme="dark" on <html> for their own dark mode.) */
[data-surface="dark"],[data-surface="deep"]{
  --color-background:var(--forest); --color-background-alt:var(--deep-forest); --color-surface:#2E4739;
  --color-heading:var(--ivory); --color-heading-2:var(--ivory);
  --color-text:#E6E2D8; --color-text-strong:var(--ivory); --color-text-muted:#C8D0C3;   /* 9.0, 10.6, 7.4:1 on forest */
  --color-link:var(--ivory); --color-accent-text:var(--terracotta-soft);                  /* 5.4:1 */
  --color-border:rgba(247,243,235,.22); --color-focus:var(--ivory); --color-success:#8FC3A0; --color-error:#F0A596;
  --cta-bg:var(--ivory); --cta-text:var(--forest); --cta-hover:var(--white);
}
[data-surface="deep"]{ --color-background:var(--deep-forest); --color-background-alt:var(--forest); --color-surface:#223A2F; }
[data-surface="cream"]{ --color-background:var(--cream); --color-background-alt:var(--sand); }
[data-surface="sand"]{ --color-background:var(--sand); --color-background-alt:var(--cream); --color-surface:var(--ivory); --color-border:#CFC3AD;
  --color-text-muted:#565A51; --color-accent-text:#7E4A2C; }                              /* 5.3, 5.6:1 on sand */
[data-surface="sage"]{ --color-background:var(--sage); --color-background-alt:#B7C1AC; --color-heading:var(--deep-forest); --color-text:var(--deep-forest); --color-text-strong:var(--deep-forest); --color-text-muted:#2F3F34; --color-link:var(--deep-forest); --color-accent-text:#6B3F25; --color-border:rgba(25,45,37,.3); }
:root{ color-scheme:light; }
@media (prefers-reduced-motion:reduce){ :root{ --dur-fast:1ms; --dur-std:1ms; --dur-slow:1ms; --dur-reveal:1ms; } }
