/* Atlas Investments — Engraved Plate (product UI v2).
   Self-hosted Cormorant Garamond. No Google Fonts, no second family. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-300-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-600-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-ext-700-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-300-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-600-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/cormorant-garamond/latin-700-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paper — the page is never white */
  --paper: #F2E4C9;
  --paper-deep: #EADCBC;
  --paper-raised: #F7EDD8;
  --paper-deepest: #E2D2AF;

  /* Ink — body copy is blue, never grey or black */
  --cobalt: #1439C6;
  --royal: #0B21B5;
  --royal-body: #1B39C0;
  --text-muted: #4C5CC4;
  --text-tertiary: rgba(27, 57, 192, .62);
  --navy: #14246F;

  /* Accents — tiny doses */
  --rust: #C0501C;
  --sage: #8A8355;
  --terracotta: #B4643C;

  /* Lines */
  --ink-faint: rgba(11, 33, 181, .22);
  --ink-rule: rgba(11, 33, 181, .42);
  --ink-mid: rgba(20, 57, 198, .28);
  --line-hairline: var(--ink-faint);
  --line-quiet: var(--ink-rule);
  --line-selected: var(--cobalt);

  /* Type — one family, no sans, no mono */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: var(--font-body);
  --font-editorial: var(--font-display);
  --font-data: var(--font-body);

  --fs-display: 34px;
  --lh-display: 1.02;
  --ls-display: .004em;
  --fs-title: 27px;
  --lh-title: 1.14;
  --ls-title: .004em;
  --fs-section: 21px;
  --lh-section: 1.1;
  --ls-section: .06em;
  --fs-body: 15.5px;
  --lh-body: 1.45;
  --ls-body: .01em;
  --fs-body-lg: 16.5px;
  --lh-body-lg: 1.5;
  --fs-label: 13px;
  --lh-label: 1.2;
  --ls-label: .18em;
  --fs-micro: 13px;
  --lh-micro: 1.2;
  --ls-micro: .18em;
  --fs-metric: 22px;
  --lh-metric: 1.1;
  --ls-metric: 0;
  --fw-regular: 400;
  --fw-medium: 600;
  --fw-semibold: 600;
  --text-display: 600 var(--fs-display) / var(--lh-display) var(--font-display);
  --text-title: 600 var(--fs-title) / var(--lh-title) var(--font-display);
  --text-body: 400 var(--fs-body) / var(--lh-body) var(--font-body);
  --text-metric: 600 var(--fs-metric) / var(--lh-metric) var(--font-body);

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
  --gutter-view: 24px;
  --gutter-panel: 20px;
  --gutter-compact: 12px;
  --control-sm: 28px;
  --control-md: 34px;
  --control-lg: 42px;
  --measure-editorial: 62ch;

  /* Geometry — square everywhere. The only round marks are the live orb. */
  --r-xs: 0; --r-sm: 0; --r-md: 0; --r-lg: 0; --r-xl: 0; --r-pill: 0;

  /* Semantic aliases used by leftover v2.css */
  --atlas-bone: var(--paper);
  --atlas-bone-deep: var(--paper-deep);
  --atlas-glass-tint: var(--paper-raised);
  --atlas-clear: var(--paper);
  --atlas-navy: var(--navy);
  --atlas-navy-70: rgba(27, 57, 192, .70);
  --atlas-navy-52: var(--text-muted);
  --atlas-navy-34: rgba(27, 57, 192, .34);
  --atlas-navy-16: var(--ink-faint);
  --atlas-navy-08: rgba(20, 57, 198, .08);
  --atlas-blue: var(--cobalt);
  --atlas-blue-press: var(--royal);
  --atlas-blue-12: rgba(20, 57, 198, .10);
  --atlas-blue-20: rgba(20, 57, 198, .20);
  --atlas-blue-32: var(--ink-mid);
  --atlas-cyan: var(--cobalt);
  --atlas-yellow: var(--terracotta);
  --atlas-yellow-16: rgba(196, 80, 28, .16);
  --atlas-positive: var(--sage);
  --atlas-caution: var(--terracotta);
  --atlas-blocked: var(--rust);

  --canvas: var(--paper);
  --canvas-sunk: var(--paper-deep);
  --text-primary: var(--royal-body);
  --text-secondary: var(--text-muted);
  --text-disabled: var(--text-tertiary);
  --text-on-blue: var(--paper);
  --text-link: var(--cobalt);
  --text-link-hover: var(--rust);
  --action-primary: var(--cobalt);
  --action-primary-press: var(--royal);
  --selected-bg: var(--atlas-blue-12);
  --focus-ring: var(--cobalt);
  --data-verified: var(--cobalt);
  --data-opportunity: var(--rust);
  --data-neutral: var(--text-muted);
  --map-outline: var(--cobalt);
  --map-outline-quiet: var(--ink-rule);

  /* Plate recipes — replace the old glass stack. No blur, no shadow. */
  --glass-bg: var(--paper-raised);
  --glass-bg-quiet: var(--paper-raised);
  --glass-bg-busy: var(--paper-raised);
  --glass-blur: 0px;
  --glass-blur-quiet: 0px;
  --glass-saturate: 1;
  --glass-backdrop: none;
  --glass-backdrop-quiet: none;
  --glass-rim: 1px solid var(--ink-rule);
  --glass-edge: none;
  --glass-shadow: none;
  --glass-shadow-raised: none;
  --glass-lens: none;
  --plate-frame: inset 0 0 0 4px var(--paper-raised), inset 0 0 0 5px rgba(20, 57, 198, .3);

  --ease-glass: cubic-bezier(.22, .61, .36, 1);
  --ease-exit: cubic-bezier(.4, 0, .7, .2);
  --dur-instant: 80ms;
  --dur-fast: 140ms;
  --dur-base: 260ms;
  --dur-slow: 380ms;
  --motion-hover: color var(--dur-base) var(--ease-glass), background-color var(--dur-base) var(--ease-glass), border-color var(--dur-base) var(--ease-glass);
  --focus-shadow: inset 0 0 0 1px var(--cobalt);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
  }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--royal-body);
  font: var(--text-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: var(--ls-title);
  color: var(--cobalt);
}
p { margin: 0; text-wrap: pretty; }
a {
  color: var(--cobalt);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-mid);
  transition: var(--motion-hover);
}
a:hover { color: var(--rust); border-bottom-color: var(--rust); }
:focus-visible { outline: none; box-shadow: var(--focus-shadow); }
.atlas-eyebrow {
  font: 600 var(--fs-label) / var(--lh-label) var(--font-body);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.atlas-num { font-family: var(--font-body); font-variant-numeric: tabular-nums; }
