@charset "UTF-8";
/* ==========================================================================
   Base: reset, typography, layout primitives, section tones, dark context.
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 4px);
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

summary::-webkit-details-marker {
  display: none;
}

::selection {
  background: #c9d4ff;
  color: var(--ink);
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.025em;
}

h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}

p,
li,
summary,
dd {
  text-wrap: pretty;
}

p {
  margin: 0 0 1em;
}

/* Highlighted words in headings: the cool brand shimmer, never pink. */
.highlight {
  background: var(--gradient-highlight);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section label: uppercase, tracked, with the signal dash. */
.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: #4e6187;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: .3em;
  border-radius: 2px;
  background: var(--gradient-signal);
}

.eyebrow--plain::before {
  display: none;
}

/* Small print: notes and cited sources. */
.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.fine-print a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: #2346e040;
  text-underline-offset: 4px;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px 48px;
  margin-bottom: 36px;
}

.section-heading > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section--mist {
  background: var(--mist-bg);
}

.section--mist-alt {
  background: var(--mist-alt-bg);
}

.section--night {
  background: var(--night-bg);
}

/* Dark context: night bands, page openings, dark glass, CTA band, footer. */
.section--night,
.page-hero,
.dark-intro,
.cta-band,
.footer,
.glass--dark {
  color: var(--on-dark-text);
}

:is(.section--night, .page-hero, .dark-intro, .cta-band, .footer, .glass--dark) :is(h1, h2, h3) {
  color: var(--on-dark);
}

:is(.section--night, .page-hero, .dark-intro, .cta-band, .footer, .glass--dark) .eyebrow {
  color: var(--lavender);
}

:is(.section--night, .page-hero, .dark-intro, .cta-band, .footer, .site-header) :focus-visible {
  outline-color: var(--periwinkle);
}

/* ---------- Utilities ---------- */
.skip {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
}

.skip:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .section-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: clamp(36px, 10vw, 48px);
  }
  h2 {
    font-size: clamp(28px, 8vw, 38px);
  }
  .section-heading {
    margin-bottom: 26px;
  }
}
