:root {
  --navy: #1B2450;
  --teal: #2C6670;
  --lilac: #E6E4F4;
  --paper: #F7F6FC;
  --ink: #1A1C2B;
  --muted: #3E445C;
  --line: #C9C6DC;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lilac);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus {
  top: 0.5rem;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--teal);
  color: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand span {
  font-size: 1.02rem;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: var(--paper);
  color: var(--navy);
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.hero-photo {
  width: 100%;
  height: 62vh;
  min-height: 280px;
  max-height: 640px;
  object-fit: cover;
  object-position: 72% 40%;
}

.statement {
  padding: 2.5rem 0 0.6rem;
}

.statement h1,
.page-head h1,
.prose h2,
.sheet h2,
.note h2,
.card h2,
.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--navy);
}

.statement h1 {
  font-size: clamp(3.2rem, 8.4vw, 6.2rem);
  margin: 0 0 0.85rem;
  max-width: 11ch;
}

.poster {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.8rem;
  max-width: 22ch;
}

.lede,
.page-head p {
  max-width: 40rem;
  margin: 0 0 1.15rem;
}

.kicker {
  margin: 0 0 0.35rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  padding: 0.78rem 1.25rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

a.btn:hover,
button.btn:hover {
  background: var(--teal);
  color: var(--paper);
}

.sheet,
.page-head {
  padding: 2.4rem 0;
}

.page-head {
  padding-bottom: 0.4rem;
}

.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 0.7rem;
  max-width: 16ch;
}

.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
}

.note {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 1.2rem;
}

.note .num {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--teal);
}

.note h2,
.card h3 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0.2rem 0 0.45rem;
}

.note p,
.card p,
.step p,
.prose p {
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.card img,
.aside-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card div {
  padding: 0.95rem 1rem 1.1rem;
}

.card:hover h3 {
  color: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.aside-photo {
  height: 100%;
  max-height: 460px;
  min-height: 240px;
}

.record {
  display: grid;
  gap: 0;
  margin: 0;
}

.record div {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.record dt {
  font-weight: 700;
  color: var(--navy);
}

.record dd {
  margin: 0;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 1.7rem;
  font-size: 1.7rem;
  line-height: 1.15;
}

.prose p + p,
.prose ul {
  margin-top: 0.75rem;
}

.prose ul,
.link-list {
  padding-left: 1.15rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  border-top: 1px solid var(--line);
}

.link-list a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 700;
  text-decoration: none;
}

label {
  display: block;
  font-weight: 700;
  margin: 0.9rem 0 0.3rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.7rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note {
  color: var(--muted);
}

.site-footer {
  background: var(--navy);
  color: var(--paper);
  padding: 2.2rem 0 2.5rem;
  margin-top: 1rem;
}

.site-footer a {
  color: var(--paper);
}

.footer-facts p {
  margin: 0.15rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(247, 246, 252, 0.28);
}

.footer-grid h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--paper);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 1.2rem 0 0;
}

.reveal.is-visible {
  opacity: 1;
}

@media (max-width: 860px) {
  .notes,
  .cards,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .record div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 760px) {
  .brand span {
    font-size: 0.92rem;
  }

  .nav-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 6;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.2rem 1rem 0.7rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    color: var(--navy);
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
