/* ==========================================================================
   tokens.css — design tokens + self-hosted display font
   Monochromatic gallery-white system. See docs/plans/2026-06-12-design-system.md
   ========================================================================== */

/* Fraunces (variable, OFL). Paths are relative to this file under /static/css/. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces/fraunces-wght.eb2486760f75.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces/fraunces-wght-italic.701ae03b5183.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* --- Color: neutral ramp. The photographs are the only color on the page. */
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #555555;
  --ink-3: #8a8a8a;
  --line: #e7e7e7;
  --line-strong: #d0d0d0;
  --accent: var(--ink);
  --danger: #9a3434; /* the one non-neutral — error states only */
  --ok: #2f5d3a;
  --focus: var(--ink);

  /* --- Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  --text-display: clamp(2.5rem, 6vw, 4.5rem);
  --text-h2: clamp(1.6rem, 3vw, 2.2rem);
  --text-h3: 1.3rem;
  --text-body: 1.0625rem;
  --text-sm: 0.9rem;
  --text-label: 0.75rem;

  --leading-tight: 1.12;
  --leading-body: 1.65;
  --tracking-label: 0.14em;

  /* --- Space (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* --- Form */
  --radius-sm: 3px;
  --measure: 65ch; /* readable line length */
  --wrap: 1140px;

  /* --- Brand */
  --logo-h: 56px; /* header logo height — the one knob; header grows to fit */

  /* --- Motion */
  --dur-fast: 150ms;
  --dur: 250ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
