:root {
  --navy-950: #071426;
  --navy-900: #0a1d34;
  --navy-800: #102c4d;
  --blue-650: #1d5d9f;
  --blue-500: #2b78c5;
  --ice: #f6fbff;
  --white: #ffffff;
  --mist: #dce8f4;
  --steel: #6d7f92;
  --ink: #102033;
  --silver: #b8c7d7;
  --accent: #89c7ff;
  --gold: #b99462;
  --line: rgba(16, 44, 77, 0.13);
  --line-light: rgba(246, 251, 255, 0.2);
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 6vw, 96px);
  background: rgba(7, 20, 38, 0.88);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(137, 199, 255, 0.45);
  background: rgba(246, 251, 255, 0.06);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.brand-text {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 0.95;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  color: rgba(246, 251, 255, 0.78);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 30px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a,
.nav-cta,
.button,
.pillar,
.lens-button {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  min-width: 134px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-950);
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 750;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: 680px;
  height: 94vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) hue-rotate(172deg) brightness(0.82) contrast(1.12);
  transform: scale(1.045);
  will-change: transform;
}

.hero-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(246, 251, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 251, 255, 0.14) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.94) 0%, rgba(7, 20, 38, 0.78) 42%, rgba(7, 20, 38, 0.34) 78%),
    linear-gradient(0deg, rgba(7, 20, 38, 0.72) 0%, rgba(7, 20, 38, 0.08) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 40px));
  margin-left: clamp(20px, 6.4vw, 96px);
  padding-top: 74px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 780px;
  margin: 28px 0 0;
  color: rgba(246, 251, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.button span {
  margin-left: 12px;
}

.button-primary {
  background: var(--white);
  color: var(--navy-950);
  box-shadow: 0 18px 48px rgba(7, 20, 38, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--accent);
}

.button-secondary {
  border-color: rgba(246, 251, 255, 0.35);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(137, 199, 255, 0.12);
}

.intro,
.pillars,
.focus,
.contact-section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  width: min(1340px, calc(100% - 64px));
  display: grid;
  grid-template-columns: 200px minmax(0, 820px);
  align-items: start;
  justify-content: start;
  gap: clamp(18px, 2.4vw, 42px);
  padding: clamp(76px, 10vw, 132px) 0 32px;
  border-bottom: 1px solid var(--line);
}

.intro > .section-label {
  align-self: start;
  margin-bottom: 0;
  transform: translateY(-42px);
}

.intro-copy {
  justify-self: start;
  max-width: 820px;
  padding-top: 24px;
}

@media (min-width: 901px) {
  .intro {
    padding-top: clamp(58px, 8vw, 104px);
  }

  .intro-copy {
    padding-top: 8px;
  }

  .intro h2,
  .intro p {
    transform: translateX(-24px);
  }
}

.intro h2,
.focus h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 1.08;
}

.intro p,
.focus p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(16, 32, 51, 0.7);
  font-size: 17px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  position: relative;
  min-height: 300px;
  padding: 30px 28px;
  overflow: hidden;
  background: var(--white);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-650), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.pillar:hover,
.pillar:focus-within {
  z-index: 2;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.pillar:hover::before,
.pillar:focus-within::before {
  transform: scaleX(1);
}

.pillar-index {
  display: block;
  margin-bottom: 72px;
  color: var(--blue-650);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.pillar h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.1;
}

.pillar p {
  margin: 0;
  color: rgba(16, 32, 51, 0.66);
  font-size: 15px;
}

.focus {
  display: block;
  padding: clamp(64px, 8vw, 108px) 0;
}

.focus-content {
  max-width: 860px;
}

.lens {
  margin-top: 36px;
}

.lens-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.lens-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--steel);
  cursor: pointer;
}

.lens-button:hover,
.lens-button:focus-visible,
.lens-button.is-active {
  border-color: var(--blue-650);
  background: var(--navy-900);
  color: var(--white);
}

.lens-panel {
  min-height: 258px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(7, 20, 38, 0.08);
  transition: opacity 140ms ease, transform 140ms ease;
}

.lens-panel.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.lens-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-650);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lens-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.lens-panel p {
  margin-top: 12px;
}

.lens-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lens-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(16, 32, 51, 0.72);
}

.lens-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 1px;
  background: var(--blue-650);
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding: clamp(70px, 8vw, 110px) 0;
}

.contact-section h2 {
  max-width: 760px;
}

.contact-section .button-primary {
  background: var(--navy-950);
  color: var(--white);
  flex: 0 0 auto;
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  background: var(--blue-650);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: rgba(16, 32, 51, 0.62);
  font-size: 14px;
}

.has-js .reveal,
.has-js .intro,
.has-js .contact-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.has-js .reveal.is-visible,
.has-js .intro.is-visible,
.has-js .contact-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero h1 {
    font-size: 66px;
  }

  .intro h2,
  .focus h2,
  .contact-section h2 {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 660px;
    height: 92vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 20, 38, 0.96), rgba(7, 20, 38, 0.6)),
      linear-gradient(0deg, rgba(7, 20, 38, 0.7), rgba(7, 20, 38, 0.16));
  }

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

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 27px;
  }

  .brand-text {
    font-size: 12px;
  }

  .brand-logo {
    height: 38px;
  }

  .nav-cta {
    min-width: 98px;
    padding: 12px 16px;
    font-size: 12px;
  }

  .hero {
    min-height: 640px;
    height: auto;
    padding: 130px 0 70px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy,
  .intro p,
  .focus p {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .button {
    width: 100%;
  }

  .intro,
  .pillars,
  .focus,
  .contact-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .intro h2,
  .focus h2,
  .contact-section h2 {
    font-size: 34px;
  }

  .intro > .section-label {
    transform: none;
  }

  .intro-copy {
    padding-top: 4px;
  }

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

  .pillar {
    min-height: 240px;
  }

  .pillar-index {
    margin-bottom: 46px;
  }

  .lens-controls {
    display: grid;
  }

  .lens-button {
    width: 100%;
  }

  .lens-panel {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-image {
    transform: scale(1.045) !important;
  }
}
