/*
 * LDP NOMAD VISUALS — CENTRAL DESIGN SYSTEM
 * Revision 0059.35 / Stage 2V — documentation and integrity review
 *
 * Authoritative shared CSS variables for the public website.
 * The main stylesheet is assets/css/site.css.
 * Preserve existing token names and values when updating this file.
 *
 * IMPORTANT: Aerial and Laser layouts can have component-specific rules.
 * Changing a token may affect several selectors and responsive breakpoints.
 * Test Home, Aerial, Laser, project galleries and mobile after changes.
 * Client Portal, DON'T GET BONKED! and Game Control Centre are separate.
 *
 * Stage 2V introduces comments only; no CSS values or selectors change.
 */

/* LDP Nomad Visuals — central design tokens, revision 0059.35.
   Change approved site-wide colours here. Component-specific colours
   and typography will be migrated in later verified stages. */
:root {
  --color-accent-cyan: #05C7FF;
  --color-bg-header: #080D15;
  --color-bg-shared-header: rgba(12, 20, 32, .85);
  --shared-header-blur: 12px;
  --color-bg-primary: #101B29;
  --color-bg-secondary: #101B29;
  --color-bg-card: #1C3042;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B8C6D0;
  /* Legacy aliases retained for compatibility with existing components. */
  --bg: var(--color-bg-primary);
  --cyan: var(--color-accent-cyan);
  --text: var(--color-text-primary);
  --muted: var(--color-text-secondary);
}
:root {
  --font-body: Arial, Helvetica, sans-serif;
}

/* Shared literal values migrated from the approved site (no visual change). */
:root {
  --color-border-site: #29414c;
  --color-bg-deep: #080d13;
  --color-text-on-accent: #061016;
  --color-text-soft-white: #f4f6f8;
  --color-border-portal: #294650;
}

/* Shared typography values, extracted from approved website styles. */
:root {
  --font-size-10: 10px;
  --font-size-11: 11px;
  --font-size-12: 12px;
  --font-size-13: 13px;
  --font-size-14: 14px;
  --font-size-15: 15px;
  --font-size-16: 16px;
  --font-size-17: 17px;
  --font-size-22: 22px;
  --font-size-25: 25px;
  --line-height-1-5: 1.5;
  --line-height-1-6: 1.6;
  --line-height-1-7: 1.7;
}

/* Shared spacing values — existing approved pixel measurements. */
:root {
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
}

/* Component geometry — exact values from the approved website. */
:root {
  --radius-card-standard: 7px;
  --radius-control-small: 4px;
  --radius-panel-large: 12px;
}

/* Component finishing values — retain the approved appearance. */
:root {
  --radius-control-medium: 6px;
  --radius-panel-medium: 10px;
  --radius-panel-extra-large: 16px;
  --shadow-accent-glow: 0 0 12px rgba(5,199,255,.22);
}

/* Shared header and navigation geometry — approved values. */
:root {
  --shared-header-height: clamp(145px,25dvh,215px);
  --nav-stack-gap: clamp(5px,1.3dvh,12px);
  --nav-letter-spacing: .05em;
}

/* Shared content geometry — exact approved dimensions. */
:root {
  --content-width-standard: 1120px;
  --space-18: 18px;
}

/* Additional existing palette values: Stage 2I. */
:root {
  --color-border-muted: #29404d;
  --color-border-strong: #3d5e6a;
  --color-text-subtle-light: #e0e9ef;
  --color-border-interactive: #3a5360;
  --color-surface-deep-teal: #102832;
}

/* Stage 2K: existing control and divider border colours. */
:root {
  --color-border-secondary-control: #526b76;
  --color-border-content-divider: #34505c;
}

/* Additional approved line-height values, shared across the main site. */
:root {
  --line-height-1-35: 1.35;
  --line-height-1-65: 1.65;
  --line-height-1-12: 1.12;
  --line-height-1-08: 1.08;
  --line-height-1-2: 1.2;
  --line-height-1-55: 1.55;
}

/* Stage 2M: exact existing letter-spacing values. */
:root {
  --tracking-tight: -.025em;
  --tracking-wide: .28em;
  --tracking-subtle: .035em;
}

/* Stage 2P: shared component gaps, existing values preserved. */
:root {
  --space-gap-10: 10px;
  --space-gap-14: 14px;
}

/* Stage 2Q: existing component spacing, unchanged values. */
:root {
  --space-gap-15: 15px;
  --space-padding-28: 28px;
}

/* Stage 2R — repeated scalar declarations; original approved values. */
:root {
  --shared-font-size-9px: 9px;
  --shared-gap-13px: 13px;
  --shared-gap-30px: 30px;
  --shared-gap-3px: 3px;
  --shared-gap-5px: 5px;
  --shared-gap-6px: 6px;
  --shared-gap-7px: 7px;
  --shared-gap-9px: 9px;
  --shared-letter-spacing-025em: .025em;
  --shared-letter-spacing-12em: .12em;
  --shared-margin-left-18px: 18px;
  --shared-margin-right-18px: 18px;
  --shared-margin-top-22px: 22px;
  --shared-margin-top-28px: 28px;
  --shared-margin-top-30px: 30px;
  --shared-margin-top-35px: 35px;
  --shared-padding-bottom-18px: 18px;
  --shared-padding-bottom-55px: 55px;
  --shared-padding-bottom-70px: 70px;
  --shared-padding-left-18px: 18px;
  --shared-padding-left-22px: 22px;
  --shared-padding-right-18px: 18px;
  --shared-padding-right-22px: 22px;
  --shared-padding-top-120px: 120px;
  --shared-padding-top-25px: 25px;
  --shared-padding-top-28px: 28px;
  --shared-padding-top-36px: 36px;
  --shared-padding-top-58px: 58px;
  --shared-padding-top-70px: 70px;
  --shared-padding-top-76px: 76px;
}

/* Stage 2S: existing shared content widths and multi-value spacing. */
:root {
  --layout-max-width-900px: 900px;
  --layout-max-width-790px: 790px;
  --layout-max-width-680px: 680px;
  --layout-max-width-1100px: 1100px;
  --layout-max-width-550px: 550px;
  --layout-max-width-1090px: 1090px;
  --layout-margin-8px-0-12px: 8px 0 12px;
  --layout-margin-0-0-16px: 0 0 16px;
  --layout-margin-0-0-20px: 0 0 20px;
  --layout-margin-0-auto-18px: 0 auto 18px;
  --layout-margin-0-auto-28px: 0 auto 28px;
  --layout-margin-0-auto-30px: 0 auto 30px;
  --layout-padding-12px-17px: 12px 17px;
  --layout-padding-clamp-5px-1-1dvh-10px-clamp-6px-1vw-15px: clamp(5px,1.1dvh,10px) clamp(6px,1vw,15px);
  --layout-padding-7px-clamp-4px-1-6vw-9px: 7px clamp(4px,1.6vw,9px);
}

/* Stage 2T — existing repeated overlay and media bounds. */
:root {
  --surface-overlay-translucent: rgba(7,20,27,.72);
  --media-height-compact: clamp(74px,15dvh,145px);
  --media-height-small: clamp(75px,14dvh,115px);
}

/* Stage 2U: shared font weights and compact layout primitives. */
:root {
  --font-weight-bold-700: 700;
  --font-weight-heavy-800: 800;
  --padding-compact-12: 12px;
  --padding-standard-20: 20px;
  --margin-centred-auto: 0 auto;
  --max-width-mobile-panel: min(370px,75vw);
}
