:root {
  --navy: #1a3654;
  --navy-deep: #0f2438;
  --navy-soft: #2c4a6e;
  --cream: #c5d6c3;
  --paper: #d4e3d2;
  --tan: #c4a574;
  --tan-deep: #9a7b4f;
  --sage: #5d6f5b;
  --ink: #241f18;
  --muted: #6a6358;
  --line: rgba(26, 54, 84, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 36, 56, 0.12);
  --radius: 18px;
  --header-h: 5.35rem;
  --max: 72rem;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--tan-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 2rem), 80rem);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo img {
  height: 4.55rem;
  width: auto;
  max-width: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  padding: 0.45rem 0.7rem;
  font-size: 0.95rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(26, 54, 84, 0.07);
}

.nav-item {
  position: relative;
}

.nav-item > button {
  background: none;
  border: 0;
  font: inherit;
  color: var(--navy);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-item > button:hover,
.nav-item.open > button {
  background: rgba(26, 54, 84, 0.07);
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 13rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  z-index: 20;
}

.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  display: grid;
}

.dropdown a {
  border-radius: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--navy-soft);
}

.hero {
  position: relative;
  min-height: min(82vh, 44rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero img,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 56, 0.15) 0%, rgba(15, 36, 56, 0.72) 100%);
}

.hero-copy,
.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 4rem;
}

.kicker {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--tan);
  margin-bottom: 0.6rem;
}

.hero .kicker {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  margin: 0 0 0.8rem;
  max-width: 14ch;
}

.lede {
  max-width: 38rem;
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--tan);
  color: var(--navy-deep) !important;
}

.btn-primary:hover {
  background: #d4b98a;
}

.section-navy .btn-primary {
  background: var(--paper);
  color: var(--navy) !important;
}

.section-navy .btn-primary:hover {
  background: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-hero {
  position: relative;
  min-height: 18rem;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero-copy {
  margin-bottom: 2.4rem;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.section {
  padding: 4.5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy-deep);
  color: var(--cream);
}

.section-navy a {
  color: var(--tan);
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--tan-deep);
  margin: 0 0 0.6rem;
}

.eyebrow-lg {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.section-navy .eyebrow-lg {
  color: #fff;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy);
}

.section-navy h2 {
  color: var(--cream);
}

.prose {
  max-width: 44rem;
}

.prose p,
.prose li {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.55rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 36, 56, 0.04);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.card .more {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-row figure {
  margin: 0;
}

.photo-row img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.quote {
  background: var(--white);
  border-left: 4px solid var(--tan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.4rem;
  margin: 0 0 1.25rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.step p {
  margin: 0;
}

.num {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.rate-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.rate {
  background: var(--white);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
}

.rate strong {
  display: block;
  color: var(--navy);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}

.compare figure {
  margin: 0;
}

.compare img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: 12px;
}

.compare figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.link-list {
  display: grid;
  gap: 1rem;
}

.link-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.link-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.contact-actions a {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #d7cfc3;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  display: inline-block;
  background: var(--paper);
  border-radius: 16px;
  padding: 0.55rem 0.75rem 0.45rem;
  margin: 0 0 1rem;
}

.footer-logo img {
  height: 5.4rem;
  width: auto;
}

.footer-grid > div:first-child > p {
  color: var(--paper);
}

.site-footer h2,
.site-footer h3 {
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
}

.site-footer h2 {
  color: var(--cream);
}

.site-footer h3 {
  color: var(--paper);
}

.site-footer a {
  color: var(--tan);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  text-align: center;
}

.legal .credit {
  margin: 0.45rem 0 0;
}

.portrait {
  width: 100%;
  max-height: 38rem;
  object-fit: cover;
  object-position: center 18%;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.topic-list {
  columns: 2;
  gap: 2rem;
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

@media (max-width: 1120px) {
  .split,
  .cards,
  .photo-row,
  .contact-panel,
  .footer-grid,
  .compare,
  .two-col {
    grid-template-columns: 1fr;
  }

  .topic-list {
    columns: 1;
  }

  :root {
    --header-h: 4.7rem;
  }

  .logo img {
    height: 3.85rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.1rem;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.7rem;
    background: transparent;
  }

  .nav-item.open .dropdown {
    display: grid;
  }
}
