/* ============================================================
   SBC Capital theme: editorial luxury re-tuned to the SBC brand.
   Direction card: /workspace/data/work/sbc/direction.md
   Load after foundation.css. Dark remap sits under @media screen.
   ============================================================ */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/sourceserif4-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/sourceserif4-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("/fonts/nunitosans-latin.woff2") format("woff2"); }
@font-face { font-family: "Teko"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/teko-latin.woff2") format("woff2"); }

:root {
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --font-figure: "Teko", "Arial Narrow", sans-serif;
  --w-display: 500;
  --tr-display: -0.02em;
  --tr-h2: -0.015em;
  --lh-display: 1;
  --radius: 4px;
  --radius-sm: 3px;
  --radius-button: 3px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.18em;
  --shell: min(1320px, calc(100vw - 40px));
  --section-pad: clamp(72px, 5vw + 40px, 136px);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 640ms;

  --bg: #f7f5f0;            /* deed paper */
  --surface: #ffffff;       /* letterhead */
  --surface-2: #ecebe4;     /* Prague limestone */
  --ink: #1c1c1c;           /* logo charcoal */
  --muted-strong: #3b3b38;  /* graphite */
  --muted: #5d5c57;         /* pencil */
  --line: #dedbd2;          /* hairline */
  --line-strong: #c7c3b8;
  --ink-field: #002c6a;     /* SBC navy */
  --on-ink: #f4f2ec;        /* paper white */
  --on-ink-muted: #c3cbdb;  /* plains haze */
  --accent: #e52104;        /* SBC red, logo block */
  --accent-fill: #d41e03;   /* SBC red, pressed for white text */
  --accent-on-fill: #ffffff;
  --accent-text: #b81a02;   /* sealing wax */
  --accent-soft: #fbe5e0;   /* wax wash */
  --signal-blue: #0f6fab;   /* SBC light blue, career lane */
  --field-1: #e4e0d4;       /* limestone, warmer */
  --field-1-ink: #1c1c1c;
  --field-2: #1c1c1c;       /* logo charcoal block */
  --field-2-ink: #f4f2ec;
  --field-3: #002c6a;       /* SBC navy */
  --field-3-ink: #f4f2ec;
  color-scheme: light dark;
}

@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111317;            /* Wyoming night */
    --surface: #181b20;
    --surface-2: #1d2128;
    --ink: #ecebe6;
    --muted-strong: #cfcdc6;
    --muted: #a9a8a1;
    --line: rgba(236, 235, 230, 0.12);
    --line-strong: rgba(236, 235, 230, 0.26);
    --ink-field: #0b1d3c;
    --on-ink: #ecebe6;
    --on-ink-muted: #b6c0d4;
    --accent: #ff5a3a;
    --accent-fill: #d41e03;
    --accent-on-fill: #ffffff;
    --accent-text: #ff8466;
    --accent-soft: rgba(229, 33, 4, 0.16);
    --signal-blue: #5ab4ea;
    --field-1: #262a31;
    --field-1-ink: #ecebe6;
    --field-2: #0a0b0d;
    --field-2-ink: #ecebe6;
    --field-3: #0b1d3c;
    --field-3-ink: #ecebe6;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #111317;
    --surface: #181b20;
    --surface-2: #1d2128;
    --ink: #ecebe6;
    --muted-strong: #cfcdc6;
    --muted: #a9a8a1;
    --line: rgba(236, 235, 230, 0.12);
    --line-strong: rgba(236, 235, 230, 0.26);
    --ink-field: #0b1d3c;
    --on-ink: #ecebe6;
    --on-ink-muted: #b6c0d4;
    --accent: #ff5a3a;
    --accent-fill: #d41e03;
    --accent-on-fill: #ffffff;
    --accent-text: #ff8466;
    --accent-soft: rgba(229, 33, 4, 0.16);
    --signal-blue: #5ab4ea;
    --field-1: #262a31;
    --field-1-ink: #ecebe6;
    --field-2: #0a0b0d;
    --field-2-ink: #ecebe6;
    --field-3: #0b1d3c;
    --field-3-ink: #ecebe6;
  }
}

/* signature: the light italic accent phrase */
.display em, .h2 em { font-style: italic; font-weight: 300; color: var(--accent-text); }
.band-ink .display em, .band-ink .h2 em, .field-3 .h2 em { color: var(--on-ink-muted); }
