:root {
  --navy: #0a224e;
  --navy-deep: #071833;
  --gold: #c39d38;
  --gold-soft: #c49f39;
  --white: #ffffff;
  --cream: #f5f5dc;
  --font-display: "Saira Expanded", "Helvetica Neue", sans-serif;
  --font-body: "Fira Sans", "Helvetica Neue", sans-serif;

  /* Exact PDF layout (base 1440  810) */
  --photo-left: 58.7%;
  --photo-top: 6.38%;
  --photo-width: 37.66%;
  --photo-height: 87.34%;
  --rail-left: 66.56%;
  --cover-photo-left: 3.48%;
  --cover-photo-top: 6.48%;
  --cover-photo-width: 39.63%;
  --cover-photo-height: 87.11%;
  --cover-navy-left: 43.11%;
  --divider-bar: 1.84%;
  --logo-top: 3.2%;
  --logo-right: 2.2%;
  --logo-width: 16.5%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(7, 24, 51, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-brand img {
  width: 42px;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  color: var(--gold);
  outline: none;
}

/*  Panel shell matching PDF 16:9  */
.panel {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  aspect-ratio: 1440 / 810;
  overflow: hidden;
}

.panel-photo {
  position: absolute;
  left: var(--photo-left);
  top: var(--photo-top);
  width: var(--photo-width);
  height: var(--photo-height);
  z-index: 3;
  overflow: hidden;
}

.panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.panel-subtitle {
  margin: 1.1rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.7vw, 1.625rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
}

.feature-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
  margin: 0.55rem 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--white);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--white);
}

.feature-list-sm li {
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  margin: 0.4rem 0;
}

.feature-list-tight li {
  font-size: clamp(0.95rem, 1.7vw, 1.7rem);
  margin: 0.45rem 0;
}

/*  Cover  */
.cover {
  background: var(--white);
}

.cover::before {
  content: "";
  position: absolute;
  left: var(--cover-navy-left);
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 1;
}

.cover .panel-photo,
.cover-photo {
  left: var(--cover-photo-left);
  top: var(--cover-photo-top);
  width: var(--cover-photo-width);
  height: var(--cover-photo-height);
  z-index: 2;
}

.cover-panel {
  position: absolute;
  left: var(--cover-navy-left);
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 7% 8% 5%;
  color: var(--white);
}

.cover-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.85vw, 2.75rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.cover-lead {
  margin: 1.75rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.45vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
}

.cover-logo {
  width: auto;
  height: 28%;
  max-width: 38%;
  margin: 1rem auto;
  object-fit: contain;
}

.cover-date {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/*  Intro + Feature (gold + navy rail + photo)  */
.intro,
.feature {
  background: var(--gold);
}

.intro::before,
.feature::before {
  content: "";
  position: absolute;
  left: var(--rail-left);
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 1;
}

.intro-copy,
.feature-copy,
.contact-copy {
  position: relative;
  z-index: 2;
  width: var(--photo-left);
  max-width: var(--photo-left);
  padding: 4.5% 3% 4% 3.6%;
  box-sizing: border-box;
}

.intro-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 5%;
  padding-bottom: 5%;
}

.intro-headline {
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
}

.intro-kicker {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.intro-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.75vw, 1.875rem);
  font-weight: 300;
  line-height: 1.38;
}

.intro-body + .intro-body {
  margin-top: 1.1rem;
}

/*  Theme navy (pages 19 & 23): navy left + white rail  */
.feature.theme-navy {
  background: var(--navy);
}

.feature.theme-navy::before {
  background: var(--white);
}

.feature.theme-navy .panel-title {
  color: var(--gold-soft);
}

/*  Divider  */
.divider {
  background: var(--navy);
  border-bottom: none;
}

.divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--divider-bar);
  background: var(--white);
  z-index: 2;
}

.divider-logo {
  position: absolute;
  top: var(--logo-top);
  right: var(--logo-right);
  width: var(--logo-width);
  height: auto;
  max-height: 28%;
  object-fit: contain;
  object-position: top right;
  z-index: 3;
}

.divider .panel-title {
  position: relative;
  z-index: 2;
  max-width: 14em;
  font-weight: 400;
  padding: 18% 8% 8% 3.6%;
}

/*  Contact: gold only, no navy rail  */
.contact {
  background: var(--gold);
}

.contact::before {
  display: none;
}

.contact-block {
  margin-top: 2.6rem;
}

.contact-label {
  margin: 0 0 0.6rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.625rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-lines {
  display: grid;
  gap: 0.45rem;
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.4;
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.flag {
  width: 1.4rem;
  height: auto;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.site-footer {
  padding: 1.25rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: var(--navy-deep);
}

.site-footer p {
  margin: 0;
}

.footer-credit {
  margin-top: 0.55rem !important;
  letter-spacing: 0.06em;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 700;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/*  Mobile  */
@media (max-width: 960px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .panel {
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .panel-photo,
  .cover .panel-photo,
  .cover-photo {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 62vw;
    min-height: 260px;
    max-height: 480px;
    order: -1;
  }

  .cover {
    display: flex;
    flex-direction: column;
  }

  .cover::before {
    display: none;
  }

  .cover-panel {
    position: relative;
    left: auto;
    background: var(--navy);
    padding: 2.5rem 1.5rem 2rem;
    gap: 1.5rem;
  }

  .cover .panel-photo {
    order: -1;
  }

  .intro::before,
  .feature::before {
    display: none;
  }

  .intro-copy,
  .feature-copy,
  .contact-copy {
    width: 100%;
    max-width: none;
    padding: 2.25rem 1.5rem 2.75rem;
  }

  .feature.theme-navy .panel-photo {
    order: -1;
  }

  .divider {
    min-height: 42vh;
  }

  .divider .panel-title {
    padding: 5rem 1.5rem 3rem;
  }

  .divider-logo {
    width: 120px;
    height: auto;
    max-height: 150px;
    top: 1.25rem;
    right: 1.25rem;
  }

  .cover-lead br,
  .intro-headline br,
  .intro-kicker br,
  .intro-body br,
  .feature-list li br {
    display: none;
  }

  .panel-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}
