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

:root {
  --navy: #0d1b2a;
  --navy-mid: #162233;
  --navy-lt: #1e3048;
  --gold: #c9a84c;
  --gold-lt: #e2c37a;
  --cream: #f5f0e8;
  --white: #ffffff;
  --muted: #8a9bb0;
  --border: rgba(201, 168, 76, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0.65rem 4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 27, 42, 0.9);
  backdrop-filter: blur(14px);
}

.nav-logo {
  display: block;
  flex: 0 1 260px;
  line-height: 1;
}

.nav-logo svg,
.footer-logo svg,
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 160px);
  padding-top: 82px;
}

.page-shell::before {
  position: absolute;
  inset: 82px 0 auto;
  z-index: -1;
  height: 34rem;
  background:
    radial-gradient(ellipse 70% 55% at 82% 20%, rgba(30, 48, 72, 0.62), transparent 72%),
    linear-gradient(180deg, #080f18 0%, var(--navy) 100%);
  content: "";
}

.page-intro {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 7rem 4rem 4.75rem;
}

.eyebrow,
.article-category {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-title,
.article-title,
.resource-card h2,
.article-body h2,
.article-cta h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--white);
  font-weight: 700;
}

.page-title {
  margin-top: 1rem;
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  line-height: 0.98;
}

.page-description {
  max-width: 700px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
}

.resources-list {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 4rem 7rem;
}

.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  gap: 4rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--navy-lt), var(--navy-mid));
}

.resource-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  content: "";
}

.resource-card::after {
  position: absolute;
  top: -7rem;
  right: -5rem;
  width: 19rem;
  height: 19rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  content: "";
}

.featured-label {
  margin-bottom: 2.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-card h2 {
  max-width: 760px;
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.resource-description {
  max-width: 650px;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.card-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gold);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, padding 0.25s ease;
}

.card-action:hover,
.card-action:focus-visible {
  padding-left: 0.5rem;
  color: var(--gold-lt);
}

.article-header {
  width: min(100%, 970px);
  margin: 0 auto;
  padding: 6.5rem 4rem 4.5rem;
}

.article-title {
  max-width: 920px;
  margin-top: 1.15rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.article-byline {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-divider {
  width: min(100%, 970px);
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: var(--border);
}

.article-body {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 4.75rem 2rem 5.5rem;
}

.article-body p {
  color: #c0cad5;
  font-size: clamp(1.02rem, 1.5vw, 1.11rem);
  line-height: 1.9;
}

.article-body p + p {
  margin-top: 1.45rem;
}

.article-body h2 {
  margin: 4.25rem 0 1.4rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.article-body h2:first-of-type {
  margin-top: 3.5rem;
}

.article-question {
  margin: 2rem 0;
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-left: 2px solid var(--gold);
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
}

.article-question p {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.handoff-comparison {
  margin: 2.1rem 0;
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--navy-mid);
}

.handoff-comparison p {
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
}

.handoff-comparison p + p {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.article-cta-wrap {
  padding: 0 4rem 7rem;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  width: min(100%, 970px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  background: var(--navy-lt);
}

.article-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.article-cta p {
  max-width: 610px;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.btn-primary {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-lt);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--border);
  background: var(--navy);
}

.footer-logo {
  width: 260px;
}

.site-footer p {
  color: #7b8fa6;
  font-size: 0.88rem;
}

:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .site-nav {
    min-height: 74px;
    padding: 0.6rem 1.5rem;
  }

  .nav-logo {
    flex-basis: 210px;
  }

  .nav-links li:not(.mobile-nav-item) {
    display: none;
  }

  .nav-links {
    gap: 1rem;
  }

  .page-shell {
    padding-top: 74px;
  }

  .page-shell::before {
    inset-block-start: 74px;
  }

  .page-intro,
  .article-header {
    padding: 5.5rem 1.5rem 3.5rem;
  }

  .resources-list {
    padding: 0 1.5rem 5rem;
  }

  .resource-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .featured-label {
    margin-bottom: 2rem;
  }

  .article-divider {
    width: calc(100% - 3rem);
  }

  .article-cta-wrap {
    padding: 0 1.5rem 5rem;
  }

  .article-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn-primary {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-nav {
    align-items: center;
  }

  .nav-logo {
    flex-basis: 168px;
  }

  .nav-links li.mobile-contact {
    display: none;
  }

  .nav-links a {
    font-size: 0.74rem;
  }

  .page-title {
    font-size: 3rem;
  }

  .resource-card {
    padding: 2rem 1.5rem;
  }

  .resource-card::after {
    opacity: 0.55;
  }

  .article-title {
    font-size: 2.65rem;
  }

  .article-body {
    padding: 3.5rem 1.5rem 4.5rem;
  }

  .article-body h2 {
    margin-top: 3.5rem;
  }

  .article-question {
    padding-left: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
