@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  --navy-900: #0f1d2e;
  --navy-800: #152234;
  --navy-700: #1e3048;
  --navy-600: #2a4260;
  --navy-400: #4a6480;
  --navy-300: #7a96ae;
  --navy-200: #a8bace;
  --navy-100: #d6e1ea;
  --navy-50: #eef3f7;
  --black: #0d0e12;
  --off-white: #f5f4f1;
  --white: #ffffff;
  --gold-500: #d4af37;
  --gold-400: #ddb060;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-md: 0 2px 12px rgba(15, 29, 46, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 29, 46, 0.18);
  --transition: 220ms ease-out;
  --max-w: 1200px;
  --grad-navy: linear-gradient(to right, #1e3048 0%, #0f1d2e 100%);
  --grad-black: linear-gradient(to right, #1a2030 0%, #0d0e12 100%);
  --grad-dark: linear-gradient(to right, #1e3048 0%, #152234 100%);
}

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

html {
  background: var(--off-white);
  color: var(--navy-800);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  padding-top: 68px;
}

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

p {
  color: var(--navy-600);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}

strong {
  color: var(--navy-900);
}

.wrap {
  margin: 0 auto;
  max-width: var(--max-w);
  padding: 0 40px;
}

.nav {
  align-items: center;
  background: rgba(14, 26, 44, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--white);
  display: flex;
  gap: 24px;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 48px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.nav img {
  display: block;
  height: 38px;
  width: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--navy-200);
  transition: color var(--transition);
}

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

.hero {
  background: var(--grad-navy);
  color: var(--white);
  min-height: 68vh;
  overflow: hidden;
  padding: 110px 0 86px;
  position: relative;
}

.hero::before {
  background-image: url("/assets/monogram-white.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: min(54vw, 620px);
  opacity: 0.06;
  pointer-events: none;
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(54vw, 620px);
}

.hero::after {
  background: radial-gradient(ellipse 48% 58% at 18% 45%, rgba(212, 175, 55, 0.08) 0%, transparent 65%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold-500);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
}

h1,
h2,
h3,
.cta {
  font-family: var(--font-display);
}

h1 {
  color: var(--white);
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: 0.02em;
  max-width: 920px;
  text-transform: uppercase;
}

h2 {
  color: var(--navy-800);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h3 {
  color: var(--navy-800);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lead {
  color: var(--navy-200);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 760px;
}

.section {
  padding: 76px 0;
  position: relative;
}

.section.alt {
  background: var(--white);
  border-bottom: 1px solid var(--navy-100);
  border-top: 1px solid var(--navy-100);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.two-column {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 rgba(15, 29, 46, 0);
  padding: 26px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h2 {
  font-size: 30px;
}

.card h3 {
  margin-bottom: 10px;
}

.card h3 a:hover {
  color: var(--gold-500);
}

.card ul,
.card ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

.card li {
  color: var(--navy-600);
  line-height: 1.6;
  margin: 10px 0;
}

.cta {
  background: var(--gold-500);
  border: 0;
  border-radius: var(--radius-md);
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 18px;
  padding: 13px 28px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

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

main a:not(.cta) {
  color: var(--navy-800);
  font-weight: 700;
}

main a:not(.cta):hover {
  color: var(--gold-500);
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 15px;
}

.footer {
  background: var(--grad-black);
  color: var(--navy-300);
  overflow: hidden;
  padding: 46px 0;
  position: relative;
}

.footer::before {
  background-image: url("/assets/monogram-white.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 360px;
  opacity: 0.04;
  pointer-events: none;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
}

.footer .wrap {
  position: relative;
  z-index: 1;
}

.footer p {
  color: var(--navy-300);
  font-size: 13px;
  margin: 0 0 10px;
}

.footer a {
  color: var(--navy-200);
}

.footer a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  body {
    padding-top: 68px;
  }

  .wrap {
    padding: 0 20px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    height: auto;
    min-height: 68px;
    padding: 14px 20px;
    position: static;
  }

  body {
    padding-top: 0;
  }

  .nav-links {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 76px 0 64px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}
