/* Design tokens: the only file that holds raw values. Brand colours from the owner's
   approved design (docs/handoff/assets/approved-design.png). Contrast ratios are against the
   surface named in each note and were measured with the WCAG formula. */
@font-face {
  font-family: "Outfit";
  src: url("/vendor/outfit/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --midnight: #101d32;     /* header, hero, footer, primary dark buttons */
  --midnight-2: #18294a;   /* raised panels on dark */
  --midnight-3: #0b1424;   /* deepest shade, footer legal row */
  --platinum: #b9c2cc;     /* art strokes, outline buttons on dark */
  --silver: #e2e6ec;       /* the silver button: midnight text on it is 14:1 */
  --white: #ffffff;

  /* Light surfaces */
  --paper: #ffffff;
  --mist: #f3f5f8;         /* alternate section background */
  --line: #d6dce4;         /* card borders, dividers */
  --line-strong: #7d8a9c;  /* form control borders: 3.5:1 on white */

  /* Text on light */
  --ink: #101d32;          /* 16.9:1 on white */
  --ink-2: #3b4759;        /* 9.4:1 on white */
  --ink-3: #556173;        /* 6.3:1 on white, 5.7:1 on mist */

  /* Text on dark (midnight) */
  --on-dark: #ffffff;      /* 16.9:1 */
  --on-dark-2: #c9d0d8;    /* 11:1 */
  --on-dark-3: #a4aeba;    /* 7.5:1 */
  --rule-dark: rgba(185, 194, 204, 0.24);
  --glass-dark: rgba(255, 255, 255, 0.06);

  /* Status */
  --danger: #a3261c;       /* 6.9:1 on white */
  --danger-bg: #fbedeb;
  --ok: #1e6b3a;
  --ok-bg: #e6f2ea;
  --info: #24446e;
  --info-bg: #e9eef6;

  /* Focus rings: 3:1 or more against each surface */
  --focus-on-light: #101d32;
  --focus-on-dark: #e2e6ec;

  /* Type */
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 2.4vw, 1.875rem);
  --text-2xl: clamp(2rem, 4vw, 3rem);
  --text-hero: clamp(2.125rem, 4.1vw, 3.875rem);
  --track-caps: 0.2em;
  --track-wide: 0.6em;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --section-y: clamp(3rem, 6vw, 5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Shape */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-soft: 0 1px 2px rgba(16, 29, 50, 0.06), 0 6px 18px rgba(16, 29, 50, 0.07);
  --shadow-lift: 0 2px 4px rgba(16, 29, 50, 0.08), 0 18px 40px rgba(16, 29, 50, 0.16);
  --shadow-menu: 0 18px 48px rgba(6, 12, 24, 0.28);

  /* Art (isometric scenes in listing-page.js use only these) */
  --art-sky-1: #0d1a2e;
  --art-sky-2: #1c3155;
  --art-face-top: #2a3e62;
  --art-face-left: #142440;
  --art-face-right: #1d3052;
  --art-glow: #f1f4f8;
  --art-pane: rgba(185, 194, 204, 0.16);
  --art-door: #0a1322;
  --art-balcony: #8d9bb0;
  --art-roof-back: #22365a;
  --art-roof-front: #354f7c;

  --page-max: 1280px;
  --header-h: 84px;
  --scrim: rgba(11, 20, 36, 0.62);
  --scrim-soft: rgba(11, 20, 36, 0.28);
  --shimmer-a: #e8ecf1;
  --shimmer-b: #f6f8fa;
}
