:root {
  --paper: #f6f8fb;
  --paper-white: #ffffff;
  --ink: #10233d;
  --ink-soft: #52627a;
  --rule: #c7d2e1;
  --rule-strong: #8fa1b8;
  --cobalt: #2457e6;
  --cobalt-dark: #173eaf;
  --coral: #e6533d;
  --mist: #eaf0f7;
  --focus: #e6533d;
  --max: 1240px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, serif;
}

* {
  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.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
input {
  caret-color: var(--coral);
}

::selection {
  background: var(--cobalt);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--mist);
}

::-webkit-scrollbar-thumb {
  background: var(--rule-strong);
  border: 3px solid var(--mist);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--cobalt-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}

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

.site-header {
  background: rgba(246, 248, 251, 0.97);
  border-bottom: 1px solid var(--rule);
}

.site-nav {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 4.75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.wordmark-mark {
  color: var(--cobalt);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
  font-size: 0.78rem;
  font-weight: 670;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a,
.nav-action {
  text-decoration: none;
}

.nav-action,
.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}

.nav-action:hover,
.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button-primary {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

.button-primary:hover {
  background: var(--cobalt-dark);
  border-color: var(--cobalt-dark);
}

.button-arrow::after {
  content: "";
  width: 1.25rem;
  height: 0.65rem;
  background: currentColor;
  clip-path: polygon(0 45%, 75% 45%, 75% 0, 100% 50%, 75% 100%, 75% 55%, 0 55%);
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.hero h1 {
  max-width: 14.5ch;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(3.15rem, 6.4vw, 5.65rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--cobalt);
  font-family: var(--serif);
  font-weight: 520;
}

.hero-copy {
  max-width: 66ch;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule-strong);
  background: var(--paper-white);
}

.hero-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0.8rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  list-style: none;
}

.hero-legend li {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.8rem 0.8rem;
  border-right: 1px solid var(--rule);
}

.hero-legend li:last-child {
  border-right: 0;
}

.hero-legend span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.hero-legend strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.25;
}

.hero-figure figcaption {
  padding: 0.85rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.5;
}

.hero-figure figcaption strong {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 720;
}

.evidence-panel h3,
.source-link span,
.method-step dt {
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.fold-section {
  border-top: 1px solid var(--ink);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-intro h2,
.briefing-copy h2,
.library h2,
.method h2,
.subscribe h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-intro p,
.briefing-copy > p,
.method > p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.evidence-fold-wrap {
  overflow-x: auto;
  padding: 1.25rem 0 2.5rem;
  scrollbar-color: var(--rule-strong) var(--mist);
  scroll-snap-type: x proximity;
}

.evidence-fold {
  min-width: 70rem;
  display: grid;
  grid-template-columns: 1.12fr repeat(5, 1fr);
  filter: drop-shadow(0 24px 18px rgba(16, 35, 61, 0.14));
}

.evidence-panel {
  position: relative;
  min-height: 25rem;
  padding: 2rem 1.35rem 2.25rem;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  border-left: 1px dashed var(--rule-strong);
  background: linear-gradient(102deg, #ffffff 0%, #eef3f9 100%);
  scroll-snap-align: start;
}

.evidence-panel:nth-child(even) {
  background: linear-gradient(78deg, #e8eef6 0%, #ffffff 100%);
  transform: translateY(0.8rem) skewY(-0.65deg);
}

.evidence-panel:nth-child(odd) {
  transform: skewY(0.65deg);
}

.evidence-panel:first-child {
  border-left-style: solid;
}

.evidence-panel:last-child {
  border-right: 1px solid var(--rule-strong);
}

.evidence-panel h3 {
  margin: 0 0 3.25rem;
  color: var(--cobalt);
}

.evidence-panel p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 510;
  line-height: 1.22;
}

.evidence-panel p::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background: var(--coral);
}

.fold-note {
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.briefing {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  min-height: 39rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.briefing-copy {
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 6vw, 6rem) clamp(3.5rem, 7vw, 6.5rem) max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: #fff;
}

.briefing-copy h2 {
  max-width: 12ch;
}

.briefing-copy > p {
  margin-top: 1.6rem;
  color: #ced9e8;
}

.briefing-copy .button {
  margin-top: 2rem;
  border-color: #fff;
  color: #fff;
}

.briefing-copy .button:hover {
  background: #fff;
  color: var(--ink);
}

.briefing-map {
  display: grid;
  align-content: center;
  padding: clamp(3rem, 7vw, 6.5rem) max(1rem, calc((100vw - var(--max)) / 2)) clamp(3rem, 7vw, 6.5rem) clamp(2rem, 6vw, 6rem);
  background: var(--paper-white);
}

.briefing-point {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}

.briefing-point:last-child {
  border-bottom: 1px solid var(--rule);
}

.briefing-point svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--cobalt);
}

.briefing-point h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
}

.briefing-point p {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-soft);
}

.sources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}

.source-link {
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
}

.source-link:last-child {
  border-right: 0;
}

.source-link span {
  color: var(--ink-soft);
}

.source-link strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.source-link:hover {
  background: var(--mist);
  color: var(--cobalt-dark);
}

.library-method {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 9vw, 8rem);
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.resource-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--ink);
}

.library-intro {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.resource-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.resource-link strong {
  font-size: 1.12rem;
}

.resource-link span {
  color: var(--ink-soft);
  font-family: var(--serif);
}

.resource-icon {
  width: 1.35rem;
  height: 1.35rem;
  align-self: center;
  color: var(--cobalt);
  flex: 0 0 auto;
}

.method {
  border-top: 4px solid var(--cobalt);
  padding-top: 1.5rem;
}

.method h2 {
  font-size: clamp(2rem, 3.7vw, 3.15rem);
}

.method > p {
  margin-top: 1.25rem;
  font-size: 1.18rem;
}

.method dl {
  margin: 2rem 0 0;
}

.method-step {
  display: grid;
  grid-template-columns: 5.25rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.method-step dd {
  margin: 0;
  color: var(--ink-soft);
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--ink);
}

.subscribe h2 {
  max-width: 11ch;
}

.subscribe-copy p {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
}

.subscribe-form {
  min-height: 28rem;
  padding: 1.35rem;
  border: 1px solid var(--ink);
  background: #fff;
}

.subscribe-form iframe {
  display: block;
  width: 100% !important;
  min-height: 24rem;
  border: 0;
  background: #fff;
}

.subscribe-fallback {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.subscribe-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links a {
  color: #d7e1ef;
}

.footer-note {
  max-width: 72ch;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #53657d;
  color: #c5d0df;
  font-family: var(--serif);
  font-size: 0.86rem;
}

/* Shared corrective layer for the existing interior pages. */
body:not(.site-home) {
  background: var(--paper) !important;
  color: var(--ink) !important;
}

body:not(.site-home) :is(h1, h2, h3, h4, .serif, .font-serif, .font-headline) {
  font-family: var(--sans) !important;
  color: var(--ink) !important;
  letter-spacing: -0.025em;
}

body:not(.site-home) > header {
  background: rgba(246, 248, 251, 0.97) !important;
  border-bottom: 1px solid var(--rule);
  backdrop-filter: none !important;
}

body:not(.site-home) > header nav {
  max-width: var(--max) !important;
}

body:not(.site-home) > header nav > a:first-child {
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-weight: 760 !important;
}

body:not(.site-home) :is(.text-primary, .text-tertiary) {
  color: var(--cobalt) !important;
}

body:not(.site-home) :is(.bg-primary, .bg-primary-container) {
  background: var(--ink) !important;
}

body:not(.site-home) :is(.bg-tertiary, .bg-tertiary-container) {
  background: var(--cobalt) !important;
  color: #fff !important;
}

body:not(.site-home) :is(.bg-surface, .bg-background) {
  background: var(--paper) !important;
}

body:not(.site-home) :is(.bg-surface-container, .bg-surface-container-low, .bg-surface-container-lowest, .bg-surface-container-high, .bg-surface-container-highest) {
  background: var(--paper-white) !important;
}

body:not(.site-home) :is(.rounded-sm, .rounded, .rounded-lg, .rounded-xl, .rounded-2xl) {
  border-radius: 0 !important;
}

body:not(.site-home) [class*="shadow"] {
  box-shadow: none !important;
}

body:not(.site-home) .material-symbols-outlined {
  color: var(--cobalt) !important;
}

body:not(.site-home) > footer {
  background: var(--ink) !important;
  color: #fff !important;
}

body:not(.site-home) > footer :is(a, p, div) {
  color: #d7e1ef !important;
}

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

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.9rem;
    white-space: nowrap;
  }

  .hero,
  .section-intro,
  .briefing,
  .library-method,
  .subscribe {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 3rem;
  }

  .hero-figure {
    width: min(100%, 42rem);
    justify-self: center;
  }

  .briefing-copy,
  .briefing-map {
    padding-left: max(1rem, calc((100vw - var(--max)) / 2));
    padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  }

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

  .source-link:nth-child(2) {
    border-right: 0;
  }

  .source-link:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 620px) {
  .site-nav,
  .site-shell,
  .footer-inner {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .site-nav {
    gap: 0.8rem;
  }

  .nav-action {
    padding-inline: 0.75rem;
    font-size: 0.76rem;
  }

  .nav-links {
    gap: 1.2rem;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-figure figcaption {
    font-size: 0.88rem;
  }

  .hero-legend li {
    padding-inline: 0.55rem;
  }

  .evidence-fold {
    min-width: 64rem;
  }

  .evidence-panel {
    min-height: 20rem;
  }

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

  .source-link,
  .source-link:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
