/* Shurtleff Law Firm design tokens.
   The single source for every color, font and space on the site.
   Do not add colors or fonts. Do not change values. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shurtleff Display"; /* Noto Sans Display Condensed Black */
  src: url("fonts/noto-sans-display-condensed-black-latin.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color. Contrast ratios are in brand-spec.md. */
  --navy: #091E3A;        /* Ink Navy: text on light, dark sections */
  --navy-2: #122B49;      /* raised surface on navy */
  --white: #FFFFFF;       /* Paper White */
  --mist: #F0F3F8;        /* Cool Mist: alternate light background */
  --line: #C9D1DE;        /* decorative rules only, never the only edge of a control */
  --slate: #435670;       /* secondary text on light, input borders */
  --sky: #C4D3E8;         /* secondary text on navy */
  --red: #E52E43;         /* Signal Red: stripes and display type 24px and up. Never small text. */
  --red-action: #D32A3E;  /* buttons, red blocks, red text under 24px */
  --red-hover: #B3203A;
  --blue: #244FE8;        /* Liberty Blue: links and focus rings on light backgrounds only */
  --review: #FFE14D;      /* review mode flags only. Not a brand color. */

  /* Type */
  --font-display: "Shurtleff Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display-hero: clamp(3rem, 15vw, 8rem);
  --fs-display-1: clamp(2.75rem, 6vw, 5.5rem);
  --fs-display-2: clamp(2.125rem, 4.2vw, 3.75rem);
  --fs-h1-long: clamp(2rem, 3.6vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.1875rem, 1.6vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.4vw, 1.375rem);
  --fs-body: clamp(1.0625rem, 0.4vw + 1rem, 1.125rem);
  --fs-small: 0.875rem;
  --fs-fine: 0.8125rem;

  /* Space: 4px steps */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-24: 6rem;
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --container: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Shape */
  --radius: 0;            /* hard edges everywhere */
  --rule: 3px;            /* structural rules */
  --diag: 23.2deg;        /* the logo's stepped silhouette. The only diagonal on the site. */
}
