/* Cody Portwood design system · tokens (2026-11-13).
   The only place colors, type, spacing, corners and motion are set.
   Rules and use: design-system/README.md. Live page: /design-system/.
   Loaded before styles.css on every page. Light values first, dark below. */
:root {
  --bg: #fbfaf7;
  --panel: #ffffff;
  --panel-2: #f3ece0;
  --sand: #e8d9bf;
  --sand-deep: #b88a4a;
  --navy: #40546d;
  --navy-deep: #2c3b4e;
  --ink: #40546d;
  --muted: #5a6476;
  --line: #e6dfd2;
  --line-strong: #cfc4b0;
  --sea: #40546d;
  --sea-ink: #ffffff;
  --sea-soft: #e6e9ee;
  --sage: #7d9a7f;
  --sun: #b88a4a;
  --love: #2f7a55;
  --pass: #b4493f;
  --map-sea: #dbe4ec;
  --map-sea-deep: #c9d6e3;
  --map-land: #f6efe3;
  --map-hill: #e4d4b6;
  --map-road: #d8c19a;
  --map-coast: #b9a88a;
  --map-wave: #5c6c82;
  --map-shield: #40546d;
  --shadow: 0 1px 2px rgba(64, 84, 109, .06), 0 10px 30px rgba(64, 84, 109, .10);
  /* Navy family faded 2026-11-14 (Rik): grayer and lighter, as charcoal is to black.
     --scrim darkens photos under white text; --on-navy-* are form fields on a navy band. */
  --scrim: #1b2430;
  --on-navy-field: #34465c;
  --on-navy-line: #5a6d85;
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif; /* Cody pick B, 2026-11-02 */
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; /* L2B, Rik 2026-11-13 */

  /* ---- Added 2026-11-13: values that were written in place in styles.css ---- */
  /* Type scale */
  --font-size-body: 17px;
  --line-height-body: 1.6;
  --font-size-hero: clamp(2.4rem, 7.5vw, 5.75rem);
  --font-size-h1: clamp(2.4rem, 6vw, 4rem);
  --font-size-h2: clamp(1.8rem, 4vw, 2.7rem);
  --font-size-h3: 1.3rem;
  --font-size-eyebrow: .95rem;
  --font-size-small: .9rem;
  --font-size-tag: .82rem;
  --line-height-heading: 1.08;
  --tracking-hero: -.035em;
  --tracking-label: .02em;
  /* Layout and spacing */
  --container: 1160px;
  --gutter: 16px;
  --gutter-wide: 32px;
  /* P5B (Rik 2026-11-13): about twice the old space, Montecito rhythm; phones about half */
  --space-section: clamp(72px, 14vw, 200px);
  --space-section-tight: clamp(52px, 8vw, 112px);
  --header-offset: 76px;
  /* Corners: --radius is the card corner */
  --radius-pill: 999px;
  /* L4 trial (Rik's note 2026-11-13: between slightly rounded and pill). Open: change here */
  --radius-button: 12px;
  --radius-input: 14px;
  /* L6B (Rik 2026-11-13): soft photo corners */
  --radius-photo: 6px;
  --radius-portrait: 6px;
  /* Controls */
  --control-height: 50px;
  --control-height-sm: 40px;
  --input-height: 52px;
  /* Motion */
  --dur-fast: .2s;
  --dur-slide: .7s;
  --ease-out: cubic-bezier(.2,.7,.2,1);
  /* L5B (Rik 2026-11-13): buttons are outlines that fill on hover. Fill colours below */
  --btn-hover-bg: var(--sea);
  --btn-hover-ink: var(--sea-ink);
  color-scheme: light;
}
/* L7C (Rik 2026-11-13): light by default. Dark only when the visitor turns it on with the
   switch in the header, which sets data-theme="dark" on <html>. */
:root[data-theme="dark"] {
  --bg: #1b2332; --panel: #232d3d; --panel-2: #283345; --ink: #eef0f3; --muted: #a7b1c2;
  --line: #343f50; --line-strong: #475369; --sea: #e8d9bf; --sea-ink: #1b2332; --sea-soft: #313c4f; --navy-deep: #1b2332;
  --sun: #f2a65a; --love: #5cc48f; --pass: #e0786e;
  --map-sea: #202a3c; --map-sea-deep: #18212f; --map-land: #2d384b; --map-hill: #3c4960; --map-road: #6b5a3e; --map-coast: #4e5b73; --map-wave: #8fa3c4; --map-shield: #e8d9bf;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
