/* WITHLEVE homepage: design tokens. Taken from the showcase (leve-team/withleve-showcase, site/assets/tokens.css) so the
   two sites read as one; --text-headline is the one addition, for the homepage's section headings.
   WITHLEVE design tokens. This is the only place a colour, type size, weight, tracking, line height, radius
   or timing is written as a value. home.css refers to these names, and check.mjs refuses anything else.
   What each one is for, and how to change one: DESIGN.md. */
/* Colour comes in two sets. The light one is the homepage's default. The dark one is the showcase's own: it is chosen
   with data-theme="dark" on <html> (assets/theme.js), and a part of a light page that has to stay dark (a film, the
   closing band) takes the class on-dark and gets it too. */
:root{
  /* colour, light: a near-white ground, warm black ink in three strengths, the gold darkened until it reads as text */
  --bg:#fbfaf8;
  --raise:#f2f0ec;
  --screen:#0c0a09;
  --scrim:rgba(251,250,248,.88);
  --line:rgba(26,23,20,.12);
  --line-strong:rgba(26,23,20,.26);
  --ink:#1a1714;
  --ink-2:rgba(26,23,20,.74);
  --ink-3:rgba(26,23,20,.62);
  --ink-bright:#000;
  --gold:#86652a;
  --gold-soft:rgba(134,101,42,.12);
  --shadow-deep:0 40px 90px -50px rgba(26,23,20,.5);
}
:root[data-theme="dark"],.on-dark{
  /* colour: a warm black ground, cream ink in three strengths, gold for labels and marks */
  --bg:#1a1714;
  --raise:#221e1a;
  --screen:#0c0a09;
  --scrim:rgba(26,23,20,.78);
  --line:rgba(247,244,239,.12);
  --line-strong:rgba(247,244,239,.22);
  --ink:#f7f4ef;
  --ink-2:rgba(247,244,239,.74);
  --ink-3:rgba(247,244,239,.56);
  --ink-bright:#fff;
  --gold:#c9a86a;
  --gold-soft:rgba(201,168,106,.14);
  --shadow-deep:0 40px 120px -40px rgba(0,0,0,.8);
}
:root{
  /* type: one family; sizes named by what they are used for */
  --sans:"Pretendard Variable",Pretendard,-apple-system,system-ui,"Segoe UI",sans-serif;
  --text-fine:12.5px;
  --text-label:13px;
  --text-note:13.5px;
  --text-ui:14px;
  --text-support:15px;
  --text-body:16px;
  --text-lead:clamp(16px,1.6vw,18px);
  --text-item:20px;
  --text-title-sm:clamp(21px,2.3vw,28px);
  --text-headline:clamp(26px,3.3vw,42px);
  --text-title:clamp(22px,2.6vw,30px);
  --text-display:clamp(32px,5vw,58px);
  --weight-strong:600;
  --weight-heavy:700;
  --track-label:.16em;
  --track-wide:.05em;
  --track-soft:.02em;
  --track-item:-.02em;
  --track-title:-.025em;
  --track-display:-.035em;
  --leading-display:1.25;
  --leading-title:1.4;
  --leading-body:1.7;

  /* shape */
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-pill:999px;

  /* layout */
  --wrap:min(1200px,100% - 32px);
  --section-gap:clamp(56px,9vh,88px);
  --section-end:88px;

  /* motion */
  --ease:cubic-bezier(.22,1,.36,1);
  --dur-fast:.2s;
  --dur-slow:.7s;
}

