@import url("fonts/fonts.css");

:root {
  --navy: #0e2744;
  --navy-2: #16365c;
  --blue: #1d58a5;
  --blue-mid: #437bc9;
  --blue-soft: #57a5e0;
  --ice: #e7f0f7;
  --paper: #f5f8fb;
  --white: #ffffff;
  --ink: #172433;
  --muted: #5c6d7e;
  --coral: #e36a45;
  --line: #d5e1ec;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(14, 39, 68, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

article[id], .card[id] { scroll-margin-top: 130px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.15rem, 4.4vw, 3.55rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { transform: none; top: 8px; color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue-mid);
  color: #fff;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img {
  height: 64px;
  width: auto;
  max-width: min(460px, 70vw);
}

.brand-meta {
  text-align: right;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}
.brand-meta strong {
  display: block;
  color: #fff;
  font-weight: 600;
}
.brand-meta a { color: #fff; text-decoration: none; }
.brand-meta a:hover { color: #fff; text-decoration: underline; }

.nav-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.nav { flex: 1 1 100%; }

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}
.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }

.nav-toggle:checked + .burger .burger-lines { background: transparent; }
.nav-toggle:checked + .burger .burger-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .burger .burger-lines::after { top: 0; transform: rotate(-45deg); }

.nav-toggle:focus-visible + .burger { outline: 2px solid #fff; outline-offset: 2px; }

.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin: 0;
  padding: 0 0 8px;
  width: 100%;
}

.menu > li { position: relative; }

.menu > li > a,
.menu > li > span {
  display: block;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.menu > li > a:hover,
.menu > li:hover > a,
.menu > li:focus-within > a {
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.7);
}

.menu > li.is-active > a {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--coral);
}

.sub {
  display: none;
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 280px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 30;
  list-style: none;
  margin: 0;
}

.menu > li:last-child > .sub,
.menu > li:nth-last-child(2) > .sub { left: auto; right: 0; }

.menu > li:hover > .sub,
.menu > li:focus-within > .sub { display: block; }

.sub a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.sub a:hover,
.sub a.is-active { background: var(--ice); color: var(--blue); }

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 36, 0.88) 0%, rgba(8, 20, 36, 0.55) 46%, rgba(8, 20, 36, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 48px 0 56px;
  max-width: none;
}

.hero-content .inner { max-width: 680px; }

.eyebrow {
  margin: 0 0 12px;
  color: #d7e7f6;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}

.hero h1 { color: white; margin-bottom: 16px; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 68ch;
}

.hero .lede { color: #e6eef6; font-size: 1.2rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--blue);
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: white; }

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover { background: white; color: var(--navy); border-color: white; }

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-line:hover { background: var(--navy); color: white; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: white;
}
.stat {
  padding: 28px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat span { color: #c5d6e8; font-size: 0.95rem; }

.section { padding: 84px 0; }
.section-ice { background: var(--paper); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-head p { margin: 0; max-width: 46ch; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.figure { margin: 0; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ice);
}
.frame.wide { aspect-ratio: 16 / 10; }
.caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.board li {
  background: white;
  padding: 22px 20px 18px;
}
.board span {
  display: block;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.board strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.board em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: 1fr 1fr; }

.card {
  background: white;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card a.cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ice);
}
.card a.cover img,
.card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card a.cover.contain { background: white; }
.card a.cover.contain img { object-fit: contain; padding: 18px; }
.card:hover a.cover img { transform: scale(1.04); }
.card .body { padding: 18px 18px 20px; }
.card .date {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.86rem;
  margin: 0 0 6px;
}
.card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card p { color: var(--muted); margin: 0; }

.band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 420px;
  background: var(--navy);
  color: white;
}
.band-copy, .band-media { min-width: 0; }
.band-copy {
  padding: 72px 40px 72px max(28px, calc((100vw - 1120px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band h2, .band .eyebrow { color: white; }
.band p { color: #d7e4f1; }
.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.band-light {
  background: var(--ice);
  color: var(--ink);
}
.band-light h2 { color: var(--navy); }
.band-light p { color: var(--ink); }

.journal-banner {
  background: white;
  padding: 28px;
  border: 1px solid var(--line);
}
.journal-banner img { width: 100%; height: auto; }

.page-head {
  background:
    linear-gradient(180deg, var(--ice) 0%, #fff 100%);
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--line);
}
.crumbs {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.page-head h1 { max-width: 18em; }
.page-head .lede { margin-bottom: 0; }

.prose { padding: 48px 0 80px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0.25em 0; }
.prose .note {
  background: var(--paper);
  border-left: 3px solid var(--blue-soft);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.stack { display: grid; gap: 18px; }
.item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.item:last-child { border-bottom: 1px solid var(--line); }
.item time, .item .when {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
}

.media-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  margin: 8px 0 28px;
}
.media-row > .figure > img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  object-position: top center;
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { color: var(--navy); font-weight: 600; background: var(--paper); }
.table-wrap { overflow-x: auto; }

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.links a {
  display: block;
  background: white;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.links a span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}
.links a:hover { background: var(--ice); color: var(--blue); }

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin: 8px 0 20px;
}
.people div strong { color: var(--navy); }
.people div span { color: var(--muted); }

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.08rem;
}
.faq details p { margin: 10px 0 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.panel {
  border: 1px solid var(--line);
  padding: 24px;
  background: white;
}
.panel h2 { margin-top: 0; }

.year-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.year-list a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.year-list a:hover { border-color: var(--blue); color: var(--blue); }

.site-footer {
  background: var(--navy);
  color: #d5e2ee;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h2 {
  color: white;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 12px;
}
.site-footer a { color: #d5e2ee; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.legal {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #a9bdd0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 980px) {
  .stats, .cards, .cards.four, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .band, .media-row, .contact-grid { grid-template-columns: 1fr; }
  .band-copy { padding: 40px 24px; }
  .board { grid-template-columns: 1fr 1fr; }
  .frame { aspect-ratio: 16 / 10; }
}

@media (max-width: 820px) {
  .brand-meta { display: none; }
  .burger { display: inline-flex; }
  .nav-row { justify-content: flex-end; padding-bottom: 10px; }
  .nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .nav { display: block; }
  .menu {
    flex-direction: column;
    padding: 4px 0 16px;
    gap: 0;
  }
  .sub {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .menu > li > a,
  .menu > li > span { padding: 12px 4px; }
  .sub { background: transparent; }
  .sub a { padding: 8px 8px; color: rgba(255, 255, 255, 0.92); }
  .sub a:hover,
  .sub a.is-active { background: rgba(255, 255, 255, 0.12); color: #fff; }
  .item { grid-template-columns: 1fr; gap: 4px; }
  .hero { height: auto; min-height: 0; }
  .hero::after {
    background: linear-gradient(180deg, rgba(8, 20, 36, 0.15) 0%, rgba(8, 20, 36, 0.9) 58%);
  }
  .hero-content { height: auto; min-height: 0; padding: 132px 0 36px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .stats, .cards, .cards.four, .cards.two, .board, .links, .people, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .brand img { height: 52px; }
  .legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card a.cover img { transition: none; }
}
