/* WellHexagon brand tokens — the single source of truth.
   Palette, faces, scale. Layout patterns live in site.css; pages add only
   their own section CSS. Do not introduce new colors or families per page. */

/* ---------- faces (self-hosted, OFL) ---------- */

/* latin-ext */
@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sortsmillgoudy-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sortsmillgoudy-italic-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sortsmillgoudy-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Sorts Mill Goudy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sortsmillgoudy-normal-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/youngserif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* latin */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/youngserif-normal-latin.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;
}

/* ---------- tokens ---------- */

:root {
  /* the room in daylight */
  --paper: #F3EFE6;
  --paper-deep: #EAE3D3;
  --ink: #22322D;
  --mute: #5A655F;          /* 5.29:1 on paper — do not lighten */
  --line: rgba(34, 50, 45, 0.18);
  --line-soft: rgba(34, 50, 45, 0.09);
  --forest: #41605A;
  --brass: #A0854F;

  /* the room at dusk */
  --dusk: #17211E;
  --dusk-ink: #EBE6D8;
  --dusk-mute: #96A09A;

  /* voices */
  --display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --text: 'Sorts Mill Goudy', Georgia, serif;

  /* scale */
  --fs-body: 1.1875rem;
  --fs-small: 1rem;
  --fs-h-page: clamp(2.5rem, 7.5vw, 5.75rem);   /* one per page, the opening line */
  --fs-h-section: clamp(1.9rem, 3.6vw, 2.9rem);
  --fs-h-block: clamp(1.7rem, 3vw, 2.4rem);
  --fs-lede: clamp(1.5rem, 2.6vw, 2rem);

  /* rhythm */
  --pad-x: clamp(1.25rem, 6vw, 6rem);
  --pad-section: clamp(4.5rem, 9vw, 8.5rem);

  /* the two motion registers — there is no third */
  --ease-settle: cubic-bezier(0.19, 1, 0.22, 1);  /* ambient/entrance, 0.8–1.25s */
  --ease-respond: ease-out;                        /* hover/press, 200–300ms, color/light only */
}
