/* ==========================================================================
   LeadFullNess.com: design tokens
   [shared] = same value as CristinaMariaIonescu.com (the sibling's DNA)
   [lfn]    = LeadFullNess-specific identity
   ========================================================================== */

/* ---------- Fonts [lfn]: self-hosted, Latin + Latin Extended, swap ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* ---------- Colour [lfn] ---------- */
  --c-parchment:  #EFE6D6;   /* main ground: warm linen, deeper than CMI ivory */
  --c-paper:      #F6F0E5;   /* reading surface for the lead essay */
  --c-umber:      #1E1913;   /* deep ground: invitation, talk frame */
  --c-umber-2:    #2A231B;   /* raised umber (player frame) */
  --c-ink:        #231D16;   /* text: 13.5:1 on parchment, 14.7:1 on paper */
  --c-ink-2:      #6A5E50;   /* secondary text: 5.1:1 on parchment, 5.6:1 on paper (AA) */
  --c-bronze:     #735834;   /* text accent, button, links, focus. Sampled #7D613A, darkened for margin: 5.3:1 / 5.8:1 */
  --c-bronze-deep:#5C4628;   /* button hover */
  --c-gold:       #CBA469;   /* decorative on light; text only on umber (7.5:1) */
  --c-gold-deep:  #B48C50;   /* gold hover on umber */
  --c-on-umber:   #EFE6D6;   /* 14.1:1 */
  --c-on-umber-2: #C9BCA8;   /* 9.3:1 */

  --c-rule:       rgb(35 29 22 / 0.16);
  --c-rule-strong:rgb(35 29 22 / 0.34);
  --c-rule-gold:  rgb(203 164 105 / 0.6);
  --c-rule-on-umber: rgb(239 230 214 / 0.18);

  --c-bg: var(--c-parchment);
  --c-text: var(--c-ink);
  --c-text-2: var(--c-ink-2);
  --c-accent: var(--c-bronze);
  --c-focus: var(--c-bronze);

  /* ---------- Texture [lfn] ---------- */
  --grain: url("../img/grain.png");   /* 128px tile, 3 KB, ≈2–4% speckle; lives in the background layer only */
  --glow: radial-gradient(closest-side, rgb(246 240 229 / 0.85), rgb(246 240 229 / 0));  /* the "lit page" behind the logo */

  /* ---------- Typography [lfn] ---------- */
  --ff-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --ff-read:    "Newsreader", "Iowan Old Style", Georgia, serif;
  --ff-ui:      "Jost", "Futura", "Century Gothic", ui-sans-serif, system-ui, sans-serif;

  /* four weights in total */
  --fw-display: 500;  /* Cormorant (roman + italic) */
  --fw-read:    400;  /* Newsreader */
  --fw-ui:      400;  /* Jost */
  --fw-ui-strong: 500;/* Jost: buttons, tags */

  /* fluid scale, phone first: 390px → 1440px. Cormorant has a small x-height, so display sizes run large. */
  --fs-hero-q:  clamp(1.875rem, 1.25rem + 2.6vw, 3.625rem);  /* 30 → 58 */
  --fs-title:   clamp(2.125rem, 1.45rem + 2.9vw, 4rem);      /* 34 → 64 lead essay title */
  --fs-quote:   clamp(1.875rem, 1.2rem + 2.9vw, 3.75rem);    /* 30 → 60 breathing quote */
  --fs-h2:      clamp(1.875rem, 1.55rem + 1.35vw, 2.875rem); /* 30 → 46 */
  --fs-theme-q: clamp(1.625rem, 1.4rem + 0.95vw, 2.25rem);   /* 26 → 36 */
  --fs-h3:      clamp(1.5rem,  1.35rem + 0.6vw, 1.875rem);   /* 24 → 30 */
  --fs-figure:  clamp(1.75rem, 1.45rem + 1.25vw, 2.625rem);  /* 28 → 42 BeBrainFit figures */
  --fs-body:    clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);   /* 18 → 20, never below 17 */
  --fs-small:   1.0625rem;                                   /* 17: notes, descriptions */
  --fs-meta:    0.875rem;                                    /* 14: Jost metadata */
  --fs-label:   0.8125rem;                                   /* 13: Jost tracked labels */

  --lh-display: 1.12;
  --lh-read:    1.68;
  --tracking-label: 0.18em;  /* echoes "clarity . freedom . flow" */
  --tracking-tag:   0.12em;
  --measure:    64ch;        /* 60–70 characters */

  /* ---------- Space [shared] ---------- */
  --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; --s-10: 8rem;
  --section-gap: clamp(6rem, 3rem + 10.5vw, 12.5rem);  /* ~96 phone → ~200 desktop */
  --breath-gap:  clamp(5rem, 3rem + 8vw, 10rem);

  /* ---------- Grid [shared] ---------- */
  --grid-cols: 12;
  --grid-gutter: clamp(1rem, 0.6rem + 1.1vw, 1.75rem);
  --page-margin: 1.25rem;          /* phone; widened at min-width breakpoints in site.css */
  --page-max: 92rem;
  --bar-height: 3.5rem;

  /* ---------- Rules & shape [shared, softened per LFN brief] ---------- */
  --rule: 1px solid var(--c-rule);
  --rule-strong: 1px solid var(--c-rule-strong);
  --rule-gold: 1px solid var(--c-rule-gold);
  --radius: 2px;                   /* images and buttons alike */

  /* ---------- Motion [shared timings, LFN adds the brush draw] ---------- */
  --ease-out: cubic-bezier(0.2, 0.65, 0.25, 1);
  --ease-brush: cubic-bezier(0.55, 0.1, 0.25, 1);
  --dur-reveal: 800ms;
  --dur-ui: 220ms;
  --dur-brush: 1200ms;
  --reveal-distance: 12px;
}

@media (min-width: 600px)  { :root { --page-margin: 6vw; } }
@media (min-width: 1024px) { :root { --page-margin: 8vw; --bar-height: 4rem; } }

@media (prefers-reduced-motion: reduce) {
  :root { --dur-reveal: 0ms; --dur-ui: 0ms; --dur-brush: 0ms; --reveal-distance: 0px; }
}
