@charset "UTF-8";

:root {
  --ink: #171717;
  --charcoal: #404040;
  --muted: #737373;
  --line: #e5e7eb;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --navy: #17365d;
  --navy-dark: #102a4a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Avenir, "Avenir Next", "Helvetica Neue", sans-serif;
  --content: 72rem;
  --reading: 46rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
}
a { color: var(--navy); text-underline-offset: 0.2em; }
a:hover { color: var(--navy-dark); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(23, 54, 93, 0.35); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--navy);
  color: white;
  padding: 0.65rem 0.9rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}
.header-inner, .footer-inner, .section-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}
.header-inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  border-bottom: 2px solid transparent;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--navy); color: var(--navy); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 0.5rem; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  content: "";
}
.menu-lines::before { transform: translateY(-0.4rem); }
.menu-lines::after { transform: translateY(0.28rem); }

main { min-height: 60vh; }
.page-hero, .home-hero { border-bottom: 1px solid var(--line); }
.page-hero { padding: 6rem 0 4.5rem; }
.home-hero { padding: 5.5rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr); gap: 5rem; align-items: center; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(2.7rem, 6.4vw, 5.7rem); }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.lede { max-width: 43rem; margin: 1.5rem 0 0; color: var(--charcoal); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.button:hover { background: var(--navy-dark); color: white; }
.button.secondary { background: white; color: var(--navy); }
.button.secondary:hover { background: var(--wash); }

.portrait-placeholder, .media-placeholder {
  min-height: 27rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--wash);
  color: var(--muted);
  text-align: center;
}
.portrait-placeholder::before {
  content: "Professional portrait placeholder\A Replace with Nadia's approved photograph";
  max-width: 15rem;
  white-space: pre-line;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.media-placeholder { min-height: 18rem; padding: 2rem; font-family: var(--serif); font-size: 1.1rem; }
.editorial-image { width: 100%; height: auto; border: 1px solid var(--line); object-fit: cover; }
.editorial-image.portrait { aspect-ratio: 4 / 5; }
.editorial-image.landscape { aspect-ratio: 16 / 10; }

.content-section { padding: 5.5rem 0; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-section.tinted { background: var(--wash); }
.section-heading { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.section-heading p { max-width: 42rem; margin: 0; color: var(--charcoal); font-size: 1.08rem; }

.prose { max-width: var(--reading); color: var(--charcoal); font-size: 1.08rem; }
.prose.centered { margin-inline: auto; }
.prose h2 { margin: 3.5rem 0 1rem; color: var(--ink); font-size: 2rem; }
.prose h3 { margin: 2.25rem 0 0.75rem; color: var(--ink); font-size: 1.35rem; }
.prose p { margin: 0 0 1.3rem; }
.prose ul, .prose ol { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.prose li { margin: 0.45rem 0; }
.prose blockquote { margin: 2rem 0; border-left: 3px solid var(--navy); padding-left: 1.25rem; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.prose hr { margin: 3rem 0; border: 0; border-top: 1px solid var(--line); }
.prose a { font-weight: 600; }

.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.editorial-card { min-height: 15rem; border-bottom: 1px solid var(--line); padding: 2rem 2rem 2rem 0; }
.editorial-card:nth-child(odd) { border-right: 1px solid var(--line); }
.editorial-card:nth-child(even) { padding-left: 2rem; }
.editorial-card .number { color: var(--navy); font-size: 0.72rem; font-weight: 800; }
.editorial-card h3 { margin: 2.25rem 0 0.75rem; font-size: 1.55rem; }
.editorial-card p { margin: 0; color: var(--charcoal); }
.text-link { display: inline-block; margin-top: 1.25rem; font-size: 0.84rem; font-weight: 800; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.article-card, .question-card, .topic-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  border: 1px solid var(--line);
  background: white;
  padding: 1.5rem;
}
.card-meta { color: var(--navy); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.article-card h3, .question-card h3, .topic-card h3 { margin: 1.3rem 0 0.8rem; font-size: 1.45rem; }
.article-card p, .question-card p, .topic-card p { margin: 0; color: var(--charcoal); }
.article-card .text-link, .question-card .text-link, .topic-card .text-link { margin-top: auto; padding-top: 1.5rem; }

.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr); gap: 4rem; align-items: start; }
.detail-list { display: grid; gap: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.85rem 0; font-size: 0.92rem; }
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; color: var(--ink); font-weight: 600; }
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.credential-grid div { border-bottom: 1px solid var(--line); padding: 1rem 1.5rem 1rem 0; }
.credential-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.credential-grid div:nth-child(even) { padding-left: 1.5rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-button { border: 1px solid var(--line); background: white; color: var(--charcoal); padding: 0.5rem 0.75rem; font-size: 0.8rem; font-weight: 700; }
.filter-button:hover, .filter-button.active { border-color: var(--navy); background: var(--navy); color: white; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 0.84rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid #b8bec6;
  border-radius: 0;
  background: white;
  color: var(--ink);
  padding: 0.72rem 0.8rem;
}
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-note, .form-status { color: var(--muted); font-size: 0.8rem; }
.honeypot { position: absolute; left: -9999px; }

.newsletter { border-top: 4px solid var(--navy); background: var(--wash); padding: 2.5rem; }
.newsletter h2 { margin: 0; font-size: 2rem; }
.newsletter p { max-width: 40rem; color: var(--charcoal); }

.article-header { max-width: 55rem; padding: 6rem 0 3rem; }
.article-header h1 { max-width: 18ch; font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; color: var(--muted); font-size: 0.82rem; }
.back-link { display: inline-block; margin-bottom: 1.25rem; font-size: 0.84rem; font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-nav a { color: var(--charcoal); font-size: 0.83rem; font-weight: 600; text-decoration: none; }
.disclaimer { max-width: 52rem; margin: 2.5rem 0 0; color: var(--muted); font-size: 0.76rem; }
.copyright { margin: 1rem 0 0; color: var(--muted); font-size: 0.76rem; }

.loading, .error-state { width: min(calc(100% - 2rem), var(--content)); margin: 5rem auto; color: var(--muted); }
.error-state { color: #7f1d1d; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 800px) {
  .menu-button { display: block; }
  .header-inner { min-height: 4.25rem; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: white;
    padding: 0.75rem 1rem 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0; }
  .hero-grid, .feature-split, .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .home-hero, .page-hero { padding: 4rem 0 3rem; }
  .portrait-placeholder { min-height: 20rem; }
  .content-section { padding: 4rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .article-card, .question-card, .topic-card { min-height: auto; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.65rem; }
  .editorial-grid, .credential-grid, .form-grid { grid-template-columns: 1fr; }
  .editorial-card, .editorial-card:nth-child(even), .credential-grid div, .credential-grid div:nth-child(even) { border-right: 0; padding-inline: 0; }
  .form-field.full { grid-column: auto; }
  .detail-row { grid-template-columns: 1fr; gap: 0.1rem; }
  .newsletter { padding: 1.5rem; }
}

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