:root {
  --navy: #173245;
  --midnight: #102838;
  --steel: #4d6b7a;
  --silver: #dce6ea;
  --paper: #f1f5f6;
  --ink: #183344;
  --pad: max(clamp(1.25rem, 6vw, 5.75rem), calc((100% - 76rem) / 2));
  color: var(--ink);
  font: 100%/1.65 "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2785b7; outline-offset: 4px; }
.skip { position: fixed; z-index: 2; inset: -5rem auto auto 1rem; background: white; padding: .6rem 1rem; }
.skip:focus { top: .5rem; }
.masthead, footer { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem var(--pad); }
.identity { display: flex; align-items: center; gap: .8rem; color: var(--navy); text-decoration: none; font-size: clamp(1.05rem, 2.2vw, 1.875rem); font-weight: 750; line-height: 1.2; text-transform: uppercase; letter-spacing: .09em; }
.identity img { width: 6.5rem; height: auto; }
.identity strong { display: block; font-size: .72em; letter-spacing: .15em; }
nav, footer div, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.5rem; }
nav a { font-size: .93rem; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 27rem; background: var(--midnight); color: white; }
.hero-copy { padding: 3.75rem 2.25rem 3.75rem var(--pad); z-index: 1; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 48%; height: 100%; object-fit: cover; object-position: 70% center; }
.eyebrow { margin: 0 0 .85rem; font-size: .76rem; font-weight: 700; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; color: var(--steel); }
.hero .eyebrow { color: #c1d5df; }
h1, h2, h3, dt { line-height: 1.12; letter-spacing: -.032em; }
h1 { margin: 0; font-size: clamp(3rem, 5.9vw, 5.6rem); line-height: 1; }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin: 0 0 1rem; }
h3, dt { font-size: 1.28rem; margin: 0 0 .6rem; font-weight: 700; }
p, dd { margin: 0; }
p + p { margin-top: 1rem; }
.lead { max-width: 36rem; margin: 1.35rem 0 1.65rem; font-size: 1.16rem; color: #e0eaef; }
.button { display: inline-block; background: white; color: var(--midnight); padding: .67rem 1.1rem; border-radius: .15rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--silver); }
.text-link { font-size: .96rem; font-weight: 650; }
.section { padding: clamp(3.3rem, 6vw, 5.6rem) var(--pad); scroll-margin-top: 1rem; }
.overview, .series { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.prose, .intro, dd, .lessons p { max-width: 70ch; }
.prose, .intro { font-size: 1.06rem; }
.curriculum, .instructor { background: var(--paper); }
.intro { margin: 0 0 1.7rem; }
.lessons { counter-reset: week; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.lessons li { counter-increment: week; border-top: 1px solid #a8bec9; padding: 1.25rem 0 1.5rem; }
.lessons li::before { content: "Week " counter(week); display: block; margin-bottom: .55rem; color: var(--steel); text-transform: uppercase; letter-spacing: .09em; font-size: .75rem; font-weight: 700; }
.series, footer { color: white; background: var(--navy); }
.partner-list { margin: 0; }
.partner-list > div { border-top: 1px solid var(--silver); padding: 1.1rem 0; display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 2rem; align-items: baseline; }
.profile-heading { display: flex; gap: 1rem; align-items: center; }
.headshot { display: block; width: 4.5rem; height: 4.5rem; flex: none; border-radius: 50%; object-fit: cover; }
.profile-heading .eyebrow { margin: 0 0 .3rem; }
.profile-heading h2 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.15rem); }
.profile-bio { max-width: 70ch; margin: 1rem 0 1.15rem; }
.archive-preview { display: inline-flex; align-items: center; gap: .75rem; max-width: min(100%, 27rem); border-top: 1px solid #bdcdd5; padding: .75rem 0 0; text-decoration: none; line-height: 1.32; }
.archive-preview img { display: block; width: 3.5rem; height: auto; flex: none; border: 1px solid #cad6db; }
.archive-preview small, .archive-preview strong { display: block; }
.archive-preview small { color: var(--steel); font-size: .76rem; }
.archive-preview strong { margin: .18rem 0; font-size: .95rem; }
.archive-action { font-size: .85rem; text-decoration: underline; text-underline-offset: .15em; }
.archive-preview:hover .archive-action { text-decoration-thickness: 2px; }
footer { padding-block: 1.75rem; font-size: .9rem; }
footer span { font-weight: 700; }
#article-dialog { padding: 0; width: min(30rem,92vw); max-width: 92vw; max-height: 92vh; border: 0; border-radius: .3rem; color: var(--ink); }
#article-dialog::backdrop { background: rgb(5 15 25 / .8); }
.article-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem; }
.article-dialog-bar h2 { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.article-dialog-bar button { background: var(--navy); color: white; padding: .6rem .9rem; border-radius: .2rem; border: 0; font: inherit; cursor: pointer; white-space: nowrap; }
.article-dialog-scroll { overflow: auto; max-height: calc(92vh - 10rem); }
.original-link { margin: 0; padding: 0 1.1rem .85rem; font-size: .9rem; }
.article-dialog-scroll img { display: block; width: 100%; height: auto; }
@media (max-width: 750px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.5rem var(--pad); }
  .hero-image { position: static; width: 100%; height: clamp(12rem, 42vw, 18rem); object-position: center 35%; }
  .overview, .series { grid-template-columns: 1fr; gap: 1rem; }
  .headshot { width: 4rem; height: 4rem; }
  .partner-list > div { grid-template-columns: 1fr; gap: .15rem; }
  .lessons { gap: 0 1.25rem; }
}
@media (max-width: 560px) {
  .masthead, footer { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .identity img { width: 5.1rem; }
  .lessons { grid-template-columns: 1fr; }
  nav { gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
