@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Franklin:ital,wght@0,700;0,800;1,700&display=swap');

:root {
  --navy: #13294b;
  --navy-deep: #0a1830;
  --orange: #d95f24;
  --orange-bright: #f47a38;
  --ink: #162134;
  --muted: #5d6878;
  --paper: #f5f2eb;
  --white: #fffdf8;
  --line: rgba(19, 41, 75, .16);
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: .8rem;
  left: .8rem;
  padding: .65rem 1rem;
  color: white;
  background: var(--navy-deep);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  color: white;
  background: var(--navy);
  font-size: .68rem;
  letter-spacing: .03em;
}

nav {
  display: flex;
  gap: 1.7rem;
  align-items: center;
}

nav a {
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:not(.nav-cta):hover { color: var(--orange); }

.nav-cta {
  padding: .55rem .85rem;
  color: white;
  background: var(--navy);
}

.nav-cta:hover { background: var(--orange); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  width: min(calc(100% - 3rem), var(--max));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: clamp(3.5rem, 5.5vw, 5.5rem) 0;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 6%;
  left: -18vw;
  width: 60vw;
  height: 74%;
  content: "";
  opacity: .58;
  background-image: linear-gradient(rgba(19, 41, 75, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 41, 75, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 35%, black 76%, transparent);
}

.eyebrow {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin: 0 0 1.4rem;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.25rem;
  height: 3px;
  background: var(--orange);
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Libre Franklin", system-ui, sans-serif;
  line-height: .98;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  color: var(--navy);
  font-size: clamp(4rem, 8vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -.075em;
}

h1 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}

.hero-lede {
  max-width: 640px;
  margin: 0;
  color: #3f4b5c;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0 3.1rem;
}

.button {
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.15rem;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: white;
  background: var(--navy);
  box-shadow: 7px 7px 0 rgba(217, 95, 36, .25);
}

.button-primary:hover { background: var(--orange); }

.text-link {
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
  text-underline-offset: .3rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 650px;
  margin: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.quick-facts div { padding-right: 1.1rem; }

.quick-facts div + div {
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}

.quick-facts dt {
  margin-bottom: .25rem;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: .83rem;
  font-weight: 600;
}

.portrait-stage {
  position: relative;
  max-width: 400px;
  justify-self: end;
}

.portrait-accent {
  position: absolute;
  top: -21px;
  right: -21px;
  width: 53%;
  height: 46%;
  background: var(--orange);
}

.portrait-card {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: .8rem;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(10, 24, 48, .18);
}

.portrait-card img {
  width: 100%;
  height: min(66vh, 620px);
  object-fit: cover;
  object-position: 50% 31%;
  filter: saturate(.92) contrast(1.02);
}

.portrait-card figcaption {
  display: flex;
  justify-content: space-between;
  padding: .9rem .25rem .15rem;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .04em;
}

.caption-name {
  color: var(--navy);
  font-weight: 600;
}

.portrait-note {
  position: absolute;
  right: -4rem;
  bottom: 7rem;
  margin: 0;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(90deg);
}

.about-section {
  display: grid;
  grid-template-columns: 80px 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 10rem) 0;
  border-top: 1px solid var(--line);
}

.section-number {
  color: var(--orange);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .15em;
}

.section-heading h2, .contact-section h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  letter-spacing: -.055em;
}

.section-copy {
  align-self: end;
  color: var(--muted);
}

.section-copy p { margin: 0; }
.section-copy p + p { margin-top: 1.2rem; }

.section-copy .lead {
  color: var(--ink);
  font-size: 1.12rem;
}

.background-section {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(6rem, 10vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, .76);
  background: var(--navy);
}

.background-intro {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.eyebrow-light { color: white; }

.background-intro h2 {
  margin-bottom: 1.4rem;
  color: white;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  letter-spacing: -.065em;
}

.background-intro > p:last-child {
  max-width: 24rem;
  margin: 0;
}

.timeline { border-top: 1px solid rgba(255, 255, 255, .2); }

.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  padding: 2.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.timeline-index {
  padding-top: .25rem;
  color: var(--orange-bright);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.timeline-kicker {
  margin: 0 0 .7rem;
  color: var(--orange-bright);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-bottom: .85rem;
  color: white;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.timeline p { margin-top: 0; }

.timeline a {
  color: white;
  font-size: .82rem;
  font-weight: 600;
  text-underline-offset: .3rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.2fr .85fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 8rem) 0;
}

.contact-section p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
}

.button-dark {
  color: white;
  background: var(--navy-deep);
}

.button-dark:hover { background: var(--orange); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}

.site-footer p { margin: 0; }
.fine-print { text-align: right; }

.error-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  width: min(calc(100% - 3rem), 900px);
  min-height: 100vh;
  margin: 0 auto;
}

.error-page h1 { margin-bottom: 1rem; }

.error-page > p:not(.eyebrow) {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 4px;
}

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr .7fr; gap: 3rem; }
  .portrait-note { display: none; }
  .about-section { grid-template-columns: 55px 1fr; }
  .section-copy { grid-column: 2; max-width: 680px; }
  .contact-section { grid-template-columns: 1fr 1fr; }
  .contact-section .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 5rem; }
  .site-header { width: min(calc(100% - 2rem), var(--max)); min-height: 72px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 4.5rem; width: min(calc(100% - 2rem), var(--max)); min-height: 0; padding: 4.5rem 0 5.5rem; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div { display: grid; grid-template-columns: 90px 1fr; padding: .65rem 0; }
  .quick-facts div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .quick-facts dt { margin: 0; }
  .portrait-stage { width: calc(100% - 1.3rem); max-width: 510px; justify-self: center; }
  .portrait-card img { height: min(128vw, 600px); object-position: 50% 28%; }
  .about-section { grid-template-columns: 1fr; gap: 1.5rem; width: min(calc(100% - 2rem), var(--max)); padding: 5.5rem 0; }
  .section-copy { grid-column: auto; }
  .section-number { margin-bottom: .5rem; }
  .section-heading h2 { font-size: 2.8rem; }
  .background-section { grid-template-columns: 1fr; gap: 3rem; padding: 5.5rem 1rem; }
  .background-intro { position: static; }
  .timeline-item { padding: 2.3rem 0; }
  .contact-section { grid-template-columns: 1fr; gap: 1.5rem; width: min(calc(100% - 2rem), var(--max)); padding: 5.5rem 0; }
  .contact-section .button { grid-column: auto; justify-self: start; margin-top: .6rem; }
  .site-footer { grid-template-columns: 1fr; gap: .65rem; width: min(calc(100% - 2rem), var(--max)); }
  .fine-print { max-width: 34rem; margin-top: .7rem !important; text-align: left; }
}

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