/* Kalorat landing: tokens. Every value on the page reads from here.
   Direction (DIRECTION.md): the plate as an alpine trail map. Archivo, one
   family with a width axis; stone from the photos; Styrian Forest for the one
   action and the route; trail-marker red only for waypoints and the logo. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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: "Archivo"; src: url("fonts/archivo-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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; }
/* Metric-matched fallback (web-designer scripts/fallback.mjs), so the swap does not move the page. */
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("Liberation Sans"), local("Arimo"), local("Helvetica"); size-adjust: 98.09%; ascent-override: 89.71%; descent-override: 21.41%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --font: "Archivo", "Archivo Fallback", system-ui, "Segoe UI", Roboto, Arial, "Liberation Sans", sans-serif;

  /* Stone: the concrete under the lunch bowl. */
  --ground: #E7EAE7;
  --surface: #F6F7F6;       /* things that float: the map legend, menus */
  --ink: #111513;
  --ink-2: #48504B;         /* 7.2:1 on --ground */
  --rule: rgba(17, 21, 19, .16);

  /* The camera, as in the app: one dark section. */
  --night: #0C100E;
  --night-2: #151B18;
  --night-ink: #EEF2EF;
  --night-ink-2: #A3AEA7;   /* 8:1 on --night */
  --night-rule: rgba(238, 242, 239, .16);

  /* The one accent: the action and the route. Styrian Forest, the app's own. */
  --forest: #0F5838;
  --forest-ink: #FFFFFF;
  --forest-2: #0B4029;      /* pressed */
  --leaf: #6BCB97;          /* forest on night */
  --forest-tint: #D5E2DA;   /* the ground under the climb */

  /* Trail-marker red: the logo's "AT" and the waypoint flags. Nothing else. */
  --marker: #D52B1E;

  --focus: #0F5838;

  /* Type: one family. Display is set wide, text at normal width. */
  --t-display: clamp(2.9rem, 1.4rem + 3.4vw, 5.4rem);
  --t-h2: var(--t-display);
  --t-mega: clamp(5rem, 2rem + 8vw, 10rem);
  --t-num: 4rem;
  --t-h3l: 1.75rem;
  --t-sub: 2.5rem;
  --t-lede: 1.25rem;
  --t-h3: 1.375rem;
  --t-body: 1.125rem;
  --t-small: .9375rem;
  --t-meta: .8125rem;
  --w-display: 118%;
  --w-text: 100%;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 104px; --s-9: 168px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --r: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: linear(0, .42 9%, .84 21%, 1.02 33%, 1.05 41%, 1.01 55%, .99 70%, 1);
}
