/* =========================================================
   tokens.css — THE LOOK OF THE SITE
   Every color, font, size, and shadow lives here.
   To restyle the whole site, change values in this file only.
   ========================================================= */

/* ---- Font files (self-hosted in /assets/fonts, no Google requests) ----
   Variable fonts: one file covers every weight. Licenses: assets/fonts/OFL-*.txt */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Fonts ---- */
  --font-heading: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Brand colors ---- */
  --navy-900: #0f1f3a;       /* main text, headings */
  --navy-700: #2a3b57;
  --navy-500: #4a5a72;       /* secondary text */
  --navy-400: #6b7a90;       /* hints, captions */
  --silver-300: #c9d2dd;
  --silver-200: #dde3ea;     /* borders */
  --silver-100: #eef1f5;     /* soft section background */
  --silver-50: #f6f8fb;      /* lightest panels */
  --white: #ffffff;

  --blue-700: #0b5a9c;       /* accent hover */
  --blue-600: #0f6fbf;       /* THE accent: buttons, links */
  --blue-400: #2aa3dd;       /* logo blue, decorative only */
  --blue-100: #e6f1fb;       /* accent tint */

  --footer-bg: #020c19;      /* matches the dark logo background exactly */

  --green-700: #1c6e47;      /* success / booked */
  --green-100: #e5f4ec;
  --red-700: #a3242c;        /* emergency / errors */
  --red-100: #fbe9ea;
  --amber-700: #8a5a00;
  --amber-100: #fdf3dc;

  /* ---- Roles (use these in components) ---- */
  --color-bg: var(--white);
  --color-bg-soft: var(--silver-50);
  --color-bg-alt: var(--silver-100);
  --color-surface: var(--white);
  --color-border: var(--silver-200);
  --color-text: var(--navy-900);
  --color-text-muted: var(--navy-500);
  --color-text-faint: var(--navy-400);
  --color-accent: var(--blue-600);
  --color-accent-hover: var(--blue-700);
  --color-accent-soft: var(--blue-100);
  --color-on-accent: var(--white);
  --color-focus: var(--blue-400);
  --color-footer-text: #c3cddb;

  /* ---- Type scale ---- */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
  --leading-tight: 1.15;
  --leading-body: 1.6;

  /* ---- Spacing ---- */
  --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;
  --section-pad: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --container: 72rem;

  /* ---- Shape ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 58, 0.06), 0 1px 3px rgba(15, 31, 58, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 31, 58, 0.08), 0 2px 4px rgba(15, 31, 58, 0.04);
  --shadow-lg: 0 18px 40px rgba(15, 31, 58, 0.14), 0 4px 10px rgba(15, 31, 58, 0.06);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-height: 72px;
}
