/* Fonts, tokens, resets, accessibility and responsive containers. */
/* Local Google Fonts variable subsets; see the OFL licenses in assets/fonts/. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/archivo-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/newsreader-latin-italic-variable.woff2") format("woff2");
}

:root {
  --navy-700: #0f2440;
  --navy-600: #16305c;
  --navy-500: #2b5ca6;
  --navy-100: #d3dcea;
  --gold-600: #d89a1e;
  --gold-500: #f4b333;
  --gold-200: #fbe6bd;
  --series-civic: #1c578f;
  --series-producer: #16305c;
  --series-community: #2e5d3a;
  --series-create: #d2691e;
  --series-story: #be811a;
  --series-team: #1f7a7a;
  --series-watch: #a83a16;
  --donate-red: #b62e00;
  --cream: #efeae0;
  --canvas: #e7e3db;
  --sand: #ded7c8;
  --divider: #a99f8d;
  --white: #fff;
  --ink: #0f2440;
  --ink-2: #2c3a4e;
  --ink-3: #5b6675;
  --font-display: "Archivo", "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  /* Shared roles: reading copy, supporting text, labels, actions and headings. */
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-caption: 13px;
  --fs-label: 14px;
  --fs-section-label: 18px;
  --fs-card-title: 21px;
  --fs-button: 17px;
  --fs-action: 16px;
  --fs-h1: 48px;
  --fs-h2: 30px;
  --fs-h3: 22px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --content-width: var(--wp--style--global--wide-size, 1260px);
  --header-content-width: 1260px;
  --measure-body: var(--wp--style--global--content-size, 720px);
  --radius-sm: 10px;
  --radius-card: 12px;
  --radius-photo: 30px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgb(15 36 64 / 10%);
  --shadow-md: 0 6px 22px rgb(0 0 0 / 16%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--navy-500);
  text-decoration: none;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy-700);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.screen-reader-text:focus,
.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: var(--space-4);
  padding: var(--space-3) var(--space-4);
  top: var(--space-4);
  width: auto;
  z-index: 100000;
}

.skip-link {
  background: var(--gold-500);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 800;
  position: absolute;
}

.site-container {
  --container-gutter: 44px;
  margin-inline: auto;
  max-width: calc(var(--content-width) + 2 * var(--container-gutter));
  padding-inline: var(--container-gutter);
  width: 100%;
}
@media (max-width: 1100px) {
  .site-container { --container-gutter: 28px; }
}
@media (max-width: 600px) {
  .site-container {
    --container-gutter: 20px;
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
*::before,
*::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
