* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182230;
  background: #f7f5f0;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 27, 44, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid #d7ad55;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d7ad55;
  font-family: Georgia, serif;
  font-size: 18px;
}

.brand small {
  display: block;
  color: #c5ced7;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.navlinks {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
}

.navlinks a {
  color: #e9eef3;
}

.navlinks a:hover {
  color: #e0b75f;
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 27px;
}

/* =========================
   HERO
   ========================= */

.hero {
  background: linear-gradient(120deg, #071b2d, #0e2d45);
  color: #fff;
  padding: 90px 0 75px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 55px;
  align-items: center;
}

.eyebrow {
  color: #dfb85d;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  font: 700 clamp(44px, 7vw, 78px)/1.02 Georgia, serif;
  margin: 15px 0 20px;
}

.hero p {
  font-size: 18px;
  color: #d3dce4;
  max-width: 680px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid #d7ad55;
  margin: 12px 8px 0 0;
  font-weight: 700;
}

.btn.primary {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}

.portrait {
  min-height: 420px;
  border-radius: 6px;
  background: linear-gradient(145deg, #173d58, #0b2134);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: end;
  padding: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .28);
}

.portrait div {
  font: 700 28px Georgia, serif;
  color: #fff;
}

/* =========================
   STATS
   ========================= */

.stats {
  background: #fff;
  border-bottom: 1px solid #e5e1d9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 27px 15px;
  text-align: center;
  border-right: 1px solid #e5e1d9;
}

.stat:last-child {
  border: 0;
}

.stat strong {
  display: block;
  font: 700 32px Georgia, serif;
  color: #0b2a42;
}

.stat span {
  font-size: 12px;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* =========================
   MAIN SECTIONS
   ========================= */

.section {
  padding: 80px 0;
}

.section.alt {
  background: #fff;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 35px;
}

.section h2 {
  font: 700 clamp(32px, 4vw, 48px)/1.1 Georgia, serif;
  color: #0b2134;
  margin: 0;
}

.section-head p {
  max-width: 600px;
  color: #667085;
}

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

.card {
  background: #fff;
  border: 1px solid #e5e1d9;
  border-radius: 7px;
  padding: 28px;
  transition: .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(17, 35, 52, .1);
}

.card .num {
  font: 700 35px Georgia, serif;
  color: #d7ad55;
}

.card h3 {
  font: 700 22px Georgia, serif;
  color: #102b41;
  margin: 8px 0;
}

.card p {
  color: #667085;
  margin-bottom: 0;
}

/* =========================
   FEATURE
   ========================= */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.feature-box {
  background: #0b2438;
  color: #fff;
  border-radius: 7px;
  padding: 42px;
}

.feature-box h3 {
  font: 700 34px Georgia, serif;
  margin-top: 0;
}

.feature-box p {
  color: #cdd7df;
}

/* =========================
   TIMELINE
   ========================= */

.timeline {
  position: relative;
  margin-left: 15px;
  border-left: 2px solid #d7ad55;
}

.event {
  position: relative;
  padding: 0 0 35px 35px;
}

.event:before {
  content: "";
  position: absolute;
  left: -9px;
  top: 7px;
  width: 14px;
  height: 14px;
  background: #b42318;
  border: 3px solid #f7f5f0;
  border-radius: 50%;
}

.event time {
  font-weight: 800;
  color: #b42318;
}

.event h3 {
  margin: 5px 0;
  font: 700 23px Georgia, serif;
}

/* =========================
   ARCHIVE
   ========================= */

.archive-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.search,
.filter {
  padding: 13px 15px;
  border: 1px solid #d8d3c9;
  border-radius: 5px;
  background: #fff;
  font: inherit;
}

.search {
  flex: 1;
  min-width: 240px;
}

/* =========================
   PAGE HERO
   ========================= */

.pagehero {
  background: #0b2438;
  color: #fff;
  padding: 65px 0;
}

.pagehero h1 {
  font: 700 clamp(40px, 6vw, 64px)/1.1 Georgia, serif;
  margin: 8px 0;
}

.pagehero p {
  color: #ccd6de;
  max-width: 720px;
}

/* =========================
   ARTICLE
   ========================= */

.article {
  max-width: 850px;
  margin: auto;
}

.article h2 {
  font: 700 30px Georgia, serif;
  color: #0b2438;
}

.article p {
  font-size: 17px;
  color: #465363;
}

.quote {
  border-left: 4px solid #d7ad55;
  background: #fff;
  padding: 25px 28px;
  margin: 30px 0;
  font: italic 23px/1.5 Georgia, serif;
  color: #23384b;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: #071b2b;
  color: #cbd5de;
  padding: 55px 0 25px;
  margin-top: 0 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.site-footer h3 {
  color: #fff;
  font-family: Georgia, serif;
}

.site-footer a:hover {
  color: #dfb85d;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 35px;
  padding-top: 20px;
  font-size: 13px;
  color: #98a7b4;
}

/* =========================
   REMOVE GAP BEFORE FOOTER
   ========================= */

main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#footer-placeholder {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#footer-placeholder > * {
  margin-top: 0 !important;
}

/* Prevent last section from creating an unwanted bottom gap */
main > section:last-child {
  margin-bottom: 0 !important;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

  .hero-grid,
  .feature {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 300px;
  }

  .grid3 {
    grid-template-columns: 1fr 1fr;
  }

  .navlinks {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #071b2b;
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .navlinks.open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {

  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 65px 0;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 20px 8px;
  }

  .section {
    padding: 55px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 15px;
  }
}