/* ==========================================================================
   THEME TOKENS: the only file that holds colour values, font stacks and
   the spacing scale. Everything else refers to these custom properties.

   Palette in words (from /workspace/brand/visuals.md, which overrides the
   plum wording in moodboard/notes.md):
   - Paper: a soft cream paper field, the one flat background tone.
   - Ink: a warm, very dark plum-brown ink for all text.
   - Ink soft: a lighter ink for quiet secondary text (still AA on paper).
   - Sakura: cherry-blossom pink, kept for the artwork and the ONE button.
   - Gold: an old-gilt ochre used only as a material (the wordmark, the
     folio margin rules, the blossom's centre). Never for words.
   - Print ground: the grey of Koson's woodblock, shown while the art loads.
   - Petal tints: three light, see-through blossom pinks multiplied over the
     petal cut-outs, so they read against the grey print while the print's
     own grain still shows (never on text).

   Type in words:
   - Zodiak (display): a sharp, high-contrast serif with a bookish warmth.
     Used for the headline and the services run.
   - Satoshi (text): a calm, slightly rounded grotesque for everything you
     read at body size, and its bold for the price.
   Both are self-hosted from Fontshare as woff2 (assets/fonts/).
   ========================================================================== */

@font-face {
  font-family: "Zodiak";
  src: url("../assets/fonts/TBWKTFSYABV4KN4GNIJMAOQUOTYBUWB3.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/KFIAZD4RUMEZIYV6FQ3T3GP5PDBDB6JY.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/7AHDUZ4A7LFLVFUIFSARGIWCRQJHISQP.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Colour */
  --paper: #f8f1e7;
  --ink: #3a2530;
  --ink-soft: #6b5360;
  --sakura: #efb9c6;
  --sakura-deep: #e7a2b4;   /* button hover/press only */
  --gold: #a87b32;
  --print-ground: #cfcabe;
  --rule: var(--gold);
  /* a light wash multiplied over the petal cut-outs: enough pink to read on
     the grey print, light enough that the print's grain shows through.
     Three close blossom pinks so no two neighbouring petals match. */
  --petal-tint-1: rgb(240 178 196 / 0.38);
  --petal-tint-2: rgb(236 190 200 / 0.3);
  --petal-tint-3: rgb(244 196 210 / 0.45);

  /* Type */
  --display: "Zodiak", "Iowan Old Style", Georgia, serif;
  --text: "Satoshi", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  /* the hero services run: about 70% of step-4, so the H1 stays the one lead */
  --step-run: clamp(1.5625rem, 1.05rem + 1.8vw, 2.625rem);
  --leading-text: 1.55;
  --leading-display: 1.06;

  /* Space */
  --s-2: 0.375rem;
  --s-1: 0.625rem;
  --s0: 1rem;
  --s1: 1.5rem;
  --s2: 2.25rem;
  --s3: 3.5rem;
  --s4: clamp(4rem, 3rem + 4vw, 7rem);
  --margin: clamp(1.75rem, 4vw, 4.5rem);   /* folio margin, rule sits inside it */
  --rule-inset: clamp(0.75rem, 2vw, 2.25rem);
  --hairline: 1px;
  --measure: 34rem;
}
