@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #011075;
  --sky: #69b3e7;
  --yellow: #ffdd00;
  --pink: #ffa7b3;
  --paper: #fff;
  --ink: #101a38;
  --max: 1280px;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.04; }
p + p { margin-top: .8rem; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #1771be;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff;
}
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1rem;
  flex-wrap: wrap;
  padding: .56rem var(--gutter);
  background: #e8edf3;
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 650;
  color: #26374a;
}
.review a { text-underline-offset: .2em; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 5; transform: translateY(-160%); background: white; color: var(--navy); padding: .75rem; }
.skip:focus { transform: translateY(0); }
.header .wrap {
  min-height: 5.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}
.brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; }
.brand img { width: 69px; }
.brand span { max-width: 12ch; margin-left: .72rem; font-size: .98rem; line-height: 1.03; font-weight: 800; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: .18rem clamp(.9rem, 2.6vw, 2.4rem); }
.nav a { display: inline-flex; align-items: center; min-height: 2.7rem; text-decoration: none; font-size: .95rem; font-weight: 700; }
.nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.nav .nav-donate { padding: .28rem 1.25rem; min-height: 2.7rem; }
.tag { font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .65rem 1.3rem;
  gap: .35rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.text-link { font-weight: 800; text-underline-offset: .23em; }
.text-link:hover { text-decoration-thickness: 2px; }
.footer { background: #09152b; color: #f4f8fc; padding: 2.8rem 0; }
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer p { color: #d9e2f0; font-size: .92rem; }
.footer nav { display: flex; gap: .8rem 1.45rem; align-items: center; flex-wrap: wrap; }
.footer a { font-weight: 700; text-underline-offset: .22em; }

@media (max-width: 700px) {
  .header .wrap { position: relative; padding-block: .65rem .35rem; flex-direction: column; align-items: flex-start; gap: .45rem; }
  .brand img { width: 58px; }
  .brand span { max-width: 12ch; }
  .nav { width: 100%; gap: .18rem .85rem; }
  .nav a { font-size: .88rem; }
  .nav .nav-donate { position: absolute; right: 0; top: 1rem; padding-inline: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
