:root {
  /* color: Ayyanaar brand board (cream, charcoal, taupe, sand) with a wine accent (#6e2636, client choice 2026-10-10; was terracotta #a4552f). No green, no khaki. */
  --color-bg: #fffcf5;
  --color-surface: #f8eada;
  --color-paper: #ffffff; /* contact form card (letter paper) */
  --color-text: #31312e;
  --color-muted: #655f54;
  --color-border: #e1dedc;
  --color-line: #31312e;
  --color-accent: #6e2636;
  --color-accent-hover: #561d2a;
  --color-on-accent: #fffcf5;
  --color-dark: #31312e;
  --color-on-dark: #fffcf5;
  --color-on-dark-muted: #d6d1c8;
  --color-highlight: #e4c9a9;
  --color-dim: #87806f;
  --color-input-border: #8f897f; /* form underlines: 3.4:1 on white (UI parts need 3:1) */
  --color-error: #b42318;
  --color-success: #067647;
  --color-focus: #6e2636;
  /* Channel tokens for translucent overlays: rgb(var(--dark-rgb) / 0.6) */
  --dark-rgb: 49 49 46;
  --light-rgb: 255 252 245;
  --overlay: rgb(var(--dark-rgb) / 0.9);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* type */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-condensed: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-caps: "Montserrat", "Inter", system-ui, sans-serif;
  --tracking-caps: 0.16em;
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-h2: clamp(2.25rem, 1.4rem + 4vw, 5.5rem);
  --text-display: clamp(3rem, 10vw, 11rem);
  --leading: 1.6;
  --tracking-tight: -0.035em;

  /* spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max-width: 90rem;
  --measure: 38rem;

  /* misc */
  --radius: 0.25rem;
  --radius-pill: 999px;
  --header-height: 4.5rem;
}

/* Phones: lighter caps tracking and a shorter header */
@media (max-width: 639px) {
  :root { --tracking-caps: 0.1em; --header-height: 4rem; }
}
/* Short landscape screens (phones on their side): every pixel of height counts */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --header-height: 3.5rem; --space-4: 1.5rem; --space-5: 2.5rem; }
}
/* Wide screens: let the layout use more of the width */
@media (min-width: 1920px) {
  :root { --max-width: 108rem; }
}
