/*
  Design tokens.
  Palette: "Monochrome & Eucalyptus" — near-black/off-white grayscale with a
  single cool green accent used sparingly. Minimal and modern; the
  photography supplies the color, not the UI. Swap these values for
  your final brand colors whenever you're ready — see README.md →
  "Brand & color tokens".
*/
:root {
  /* Backgrounds */
  --color-bg: #0a0a0a;
  --color-bg-alt: #111111;
  --color-surface: #161616;
  --color-surface-2: #1d1d1d;

  /* Near-black "ink" tones — header, hero, mobile nav */
  --color-ink: #050505;
  --color-ink-light: #1a1a1a;

  /* Accent (cool eucalyptus green — the one color in the system).
     Hue sits ~60° off the yellow-green of foliage, so it stays legible
     as text, rules and focus rings on top of green photography. */
  --color-accent: #7fbf9b;
  --color-accent-soft: #a6d6bc;

  /* Text */
  --color-text: #f5f5f0;
  --color-text-muted: #a3a3a0;
  --color-text-faint: #6b6b68;

  /* Lines & surfaces */
  --color-border: rgba(245, 245, 240, 0.12);
  --color-border-strong: rgba(245, 245, 240, 0.24);
  --color-overlay: rgba(8, 8, 8, 0.72);

  /* Feedback. Success is a deliberately brighter, higher-chroma mint than
     --color-accent (~1.5x the luminance) so form status never reads as
     just another piece of brand green. */
  --color-success: #8ae8b0;
  --color-error: #e0645a;

  /* Typography — General Sans (display) + Inter (body): modern,
     geometric sans throughout, no serif. */
  --font-display: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Third register, used for frame numbers, field notes and index rules
     on the editorial homepage. System stack on purpose — it costs no
     extra request, and a mono face is what breaks the two-sans look
     that every page-builder theme ships with. */
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 1rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-md: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --fs-lg: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --fs-xl: clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --fs-2xl: clamp(2.8rem, 2.1rem + 3.5vw, 5.2rem);
  --fs-3xl: clamp(3.4rem, 2.3rem + 5.5vw, 7.5rem);

  /* Spacing scale */
  --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: 4.5rem;
  --space-9: 6.5rem;
  --space-10: 9rem;

  /* Layout */
  --content-max: 1320px;
  --content-narrow: 760px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --header-h: 84px;

  /* Phone screen edges (notch, camera cutout, home bar), as reported by
     the phone; 0 on screens without them. Every page's viewport meta has
     viewport-fit=cover, which lets content run edge to edge, including
     behind iPhone Safari's floating bottom search bar (intended). These
     keep text and buttons clear of the edges themselves. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 450ms;
  --dur-slow: 900ms;
}
