/*
 * Kalkan Estates design tokens (direction G: Midnight & Caslon).
 *
 * Names follow Tailwind v4 theme namespaces (--color-*, --font-*, --text-*, --tracking-*, --radius-*,
 * --shadow-*, --container-*), so this block can be pasted into `@theme { ... }` unchanged.
 * Google Fonts: Libre Caslon Display (400), Libre Caslon Text (400, 400 italic), Lato (400, 700).
 */
:root {
  /* Colour: surfaces */
  --color-paper: #ffffff;          /* page background */
  --color-tint: #f4f2ed;           /* alternate section band, image placeholder */
  --color-surface: #ffffff;        /* cards, search band, form fields on light */

  /* Colour: text and lines */
  --color-ink: #0b1f3a;            /* midnight navy: all text, primary buttons, dark bands */
  --color-muted: #55607a;          /* secondary text. 6.3:1 on paper, 5.6:1 on tint */
  --color-line: #e0ddd5;           /* hairlines, card borders */
  --color-line-strong: #0b1f3a;    /* rule above editorial lists */

  /* Colour: the single accent. Decorative only (rules, underlines, markers). Never body text on light. */
  --color-brass: #a88a4e;
  --color-brass-ink: #7a622f;      /* brass for small text on light when needed. 5.8:1 on paper */

  /* Colour: dark bands (buying steps, enquiry, footer top rule) */
  --color-dark: #0b1f3a;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #aeb8cb;  /* 8.3:1 on dark */
  --color-dark-line: #2a3d5c;

  /* Colour: states */
  --color-focus: #a88a4e;
  --color-error: #a3261c;
  --color-success: #1f6b4a;
  --color-scrim: rgba(8, 16, 30, 0.6);

  /* Type families */
  --font-serif: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-serif-text: "Libre Caslon Text", Georgia, "Times New Roman", serif; /* serif below 20px */
  --font-sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (size / line-height pairs are fixed; see DESIGN.md) */
  --text-display: clamp(2.375rem, 6.2vw, 4.5rem);   /* 38 to 72: home h1 */
  --text-h1: clamp(2.125rem, 4.6vw, 3.5rem);        /* 34 to 56: inner page h1 */
  --text-h2: clamp(1.75rem, 3.4vw, 2.625rem);       /* 28 to 42: section headings */
  --text-h3: 1.4375rem;                             /* 23: card titles, sub-headings */
  --text-lead: clamp(1.375rem, 2.6vw, 1.875rem);    /* 22 to 30: statement, pull quote */
  --text-price: 1.375rem;                           /* 22: card price */
  --text-body-lg: 1.0625rem;                        /* 17: article body, hero lede */
  --text-body: 1rem;                                /* 16 */
  --text-sm: 0.875rem;                              /* 14 */
  --text-xs: 0.8125rem;                             /* 13: specs, meta */
  --text-label: 0.6875rem;                          /* 11: uppercase labels */

  --leading-display: 1.04;
  --leading-heading: 1.12;
  --leading-body: 1.6;

  --tracking-display: -0.005em;
  --tracking-label: 0.2em;
  --tracking-button: 0.14em;

  /* Spacing: 4px base. Use multiples only. */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-page: 80rem;         /* 1280 */
  --container-text: 44rem;         /* 704: article measure, about 68 characters */
  --gutter: 1.25rem;               /* 20 on mobile */
  --gutter-lg: 3rem;               /* 48 from 960px */
  --section-y: 3.5rem;             /* 56 on mobile */
  --section-y-lg: 6rem;            /* 96 from 960px */
  --header-h: 4rem;
  --header-h-lg: 5.25rem;

  /* Breakpoints (reference; CSS variables cannot be used in media queries) */
  --breakpoint-sm: 40rem;          /* 640 */
  --breakpoint-lg: 60rem;          /* 960 */
  --breakpoint-xl: 80rem;          /* 1280 */

  /* Shape: square corners everywhere. Only round things are circular icon buttons. */
  --radius-none: 0;
  --radius-full: 999px;
  --border-hair: 1px;
  --border-accent: 2px;            /* brass top rule on the search band */

  /* Elevation: one shadow, used only by the search band lifted over the hero. */
  --shadow-lift: 0 24px 48px -32px rgba(10, 20, 40, 0.4);

  /* Controls */
  --control-h: 3rem;               /* 48: inputs and buttons, minimum touch target */
  --control-h-lg: 3.5rem;          /* 56: search button */
}
