/* Design tokens: colours, fonts, shadows, easing and spacing shared by every page. */

:root {
  --white: #fff;
  --black: #000;
  --blue: #003594;
  --blue-light: #0a4ab8;
  --royal: #33489b;
  --navy: #041e42;
  --cobalt: #00266b;
  --teal: #00c7b1;
  --orange: #ff8200;
  --orange-dark: #e57500;
  --gray: #c1c5c7;
  --gray-band: #eef0f1;
  --gray-line: rgb(var(--gray-rgb) / 55%);
  --ink: #0b1526;
  --ink-body: rgb(var(--ink-rgb) / 78%);
  --ink-muted: rgb(var(--ink-rgb) / 62%);
  --ink-70: rgb(var(--ink-rgb) / 70%); /* secondary text a step darker than muted */
  --ink-12: rgb(var(--ink-rgb) / 12%);
  --ink-06: rgb(var(--ink-rgb) / 6%);

  /* White at set opacities, for text, lines and fills on the brand colours. */
  --white-08: rgb(var(--white-rgb) / 8%);
  --white-14: rgb(var(--white-rgb) / 14%);
  --white-25: rgb(var(--white-rgb) / 25%);
  --white-40: rgb(var(--white-rgb) / 40%);
  --white-50: rgb(var(--white-rgb) / 50%);
  --white-60: rgb(var(--white-rgb) / 60%);
  --white-72: rgb(var(--white-rgb) / 72%);
  --white-85: rgb(var(--white-rgb) / 85%);
  --white-92: rgb(var(--white-rgb) / 92%);
  --paper: #fbfbf9;
  --card: var(--white);
  --disp: 'Space Grotesk', 'Readex Pro', sans-serif;
  --body: 'Readex Pro', 'Space Grotesk', sans-serif;
  --sh-card:
    0 1px 2px rgb(var(--navy-rgb) / 5%), 0 8px 24px rgb(var(--navy-rgb) / 8%),
    0 24px 64px rgb(var(--navy-rgb) / 7%);
  --sh-float: 0 2px 4px rgb(var(--navy-rgb) / 6%), 0 16px 48px rgb(var(--navy-rgb) / 14%);
  --sh-text: 0 1px 8px rgb(var(--navy-rgb) / 45%); /* light text over photos and video */
  --sh-text-lg: 0 2px 14px rgb(var(--navy-rgb) / 45%);
  --sh-lift: 0 16px 40px rgb(var(--navy-rgb) / 30%); /* a button rising on hover */
  --sh-header: 0 1px 0 var(--white-08), 0 12px 32px rgb(var(--navy-rgb) / 18%);
  --sh-logo: 0 2px 10px rgb(var(--navy-rgb) / 50%); /* drop-shadow() over photos */
  --sh-logo-lg: 0 10px 34px rgb(var(--black-rgb) / 35%);
  --sh-tick: 0 1px 5px rgb(var(--navy-rgb) / 50%);
  --e-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-wipe: cubic-bezier(0.83, 0, 0.17, 1);
  --pad-x: clamp(1.25rem, 4vw, 3.5rem);

  /* Breakpoints (custom properties can't be used in media queries, so these are the values to
     write): 640px (phone), 760px (small tablet), 1100.98px / 1101px (the menu button vs the
     inline links; max-width: 1100.98px pairs with min-width: 1101px). The interactive map's
     side-by-side layout starts at 64rem, an exception. */

  /* Focus ring: blue on light backgrounds; dark sections set --focus-color to teal (reset.css). */
  --focus-width: 3px;
  --focus-offset: 3px;
  --focus-offset-inside: calc(var(--focus-width) * -1);
  --focus-color: var(--blue);

  /* Corner radii, named by size in px. */
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-14: 14px;
  --radius-16: 16px;
  --radius-18: 18px;
  --radius-pill: 999px;
  --radius-round: 50%;

  /* Stacking layers, lowest first. */
  --z-rail: 400;
  --z-header: 500;
  --z-overlay: 600;
  --z-loader: 9999;

  /* RGB channels, for brand colours with opacity: rgb(var(--ink-rgb) / 62%). */
  --white-rgb: 255 255 255;
  --black-rgb: 0 0 0;
  --ink-rgb: 11 21 38;
  --navy-rgb: 4 30 66;
  --blue-rgb: 0 53 148;
  --blue-dark-rgb: 0 45 125;
  --cobalt-rgb: 0 38 107;
  --teal-rgb: 0 199 177;
  --orange-rgb: 255 130 0;
  --gray-rgb: 193 197 199;
}
