/* Sakura Japanese Grill: tokens (round 5, after kotori-syokuhin.site).
   Components read the semantic tokens only. Spacing is the 4px scale plus the layout tokens. */

@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Hiro Misake"; src: url("../assets/fonts/hiro-misake.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Seal Kanji"; src: url("../assets/fonts/seal-kanji.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/cabinet-grotesk-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* raw colour: the brand's red, charcoal and white; ink and stone are drawn from charcoal and white */
  --red: #D32027;
  --red-deep: #B5171E;
  --charcoal: #1A1A1A;
  --ink: #111111;
  --white: #FFFFFF;
  --stone: #E6E2DB;
  --smoke: #55514B;

  /* type: six sizes */
  --font: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-brush: "Hiro Misake", "Bodoni Moda", Georgia, serif;
  --t-display: 13.6vw;
  --t-h2: clamp(34px, 9vw, 44px);
  --t-h3: 22px;
  --t-lead: 18px;
  --t-body: 15px;
  --t-small: 12px;

  /* spacing: 4px scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  /* layout: one section rhythm, one heading gap, one column grid */
  --section: 96px;
  --head-gap: 48px;
  --col-gap: 24px;
  --gutter: 20px;
  --max: 1240px;
  --header: 64px;
  --control: 48px;
  --inset: 16px;
  --radius: 0px;
  --thread: 96px;
  --seal: 56px;
  --stamp: 104px;
  --lockup: 132px;
  --frame: 8px;
  --ghost: 26vw;
}

@media (min-width: 768px) {
  :root {
    --t-display: 10vw;
    --t-h2: clamp(40px, 5.2vw, 56px);
    --section: 128px;
    --head-gap: 64px;
    --col-gap: 48px;
    --gutter: 40px;
    --header: 76px;
    --thread: 128px;
    --lockup: 168px;
    --frame: 12px;
    --ghost: 20vw;
  }
}

@media (min-width: 1024px) {
  :root {
    --t-display: min(8.4vw, 15svh, 128px);
    --t-h2: clamp(44px, 4.2vw, 64px);
    --section: 176px;
    --gutter: 64px;
    --col-gap: 64px;
    --lockup: 184px;
    --frame: 16px;
    --ghost: 15vw;
    --thread: 176px;
  }
}

/* Grounds. Each section owns one. */
[data-ground="charcoal"] { --bg: var(--charcoal); --fg: var(--white); --fg-quiet: rgba(255, 255, 255, 0.72); --line: rgba(255, 255, 255, 0.2); --field: var(--ink); }
[data-ground="ink"] { --bg: var(--ink); --fg: var(--white); --fg-quiet: rgba(255, 255, 255, 0.72); --line: rgba(255, 255, 255, 0.2); --field: var(--charcoal); }
[data-ground="stone"] { --bg: var(--stone); --fg: var(--charcoal); --fg-quiet: var(--smoke); --line: rgba(26, 26, 26, 0.24); --field: var(--white); }
