@font-face { font-family: 'Merriweather'; src: url('../fonts/merriweather-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Merriweather'; src: url('../fonts/merriweather-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --blue: #0D5080;
  --blue-dark: #0A3F66;
  --light: #EDF2F8;
  --gold: #E3C76F;
  --cream: #F1E3B7;
  --ink: #111418;
  --text: #3B3D3E;
  --muted: #5A6068;
  --white: #FFFFFF;
  --line: #D5DDE8;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --container: 1320px;
  --gutter: 20px;
  --section-y: 64px;
  --radius: 20px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; }
}

@media (min-width: 1200px) {
  :root { --gutter: 48px; --section-y: 120px; }
}

@media (min-width: 1680px) {
  :root { --container: 1440px; --section-y: 140px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 0.9rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem); }
h2 { font-size: clamp(1.875rem, 1rem + 2.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.875rem); }

p { margin: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--light { background: var(--light); }
.section--blue { background: var(--blue); color: #D5DFEA; }
.section--blue h2, .section--blue h3 { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.9rem + 0.2vw, 1.125rem);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

@media (min-width: 1200px) {
  .btn { min-height: 52px; }
}

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D9BB5C; color: var(--ink); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline-light { border-color: var(--white); color: var(--white); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}