/* =========================================================
   Jared Scott: site styles
   One file styles every page. Colors come from the landing photo:
   night-teal wall, powder-blue jacket, brass lamp glow.
   ========================================================= */

@font-face {
  font-family: "Archivo Variable";
  src: url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --deep: #0a1822;      /* the wall behind him */
  --deep-2: #12293a;
  --teal: #1d4256;
  --blue: #a9c5e2;      /* the jacket */
  --mist: #e7eef5;
  --paper: #f6f8f9;
  --white: #ffffff;
  --ink: #0f1b25;
  --muted: #4d5d6a;
  --line: #d3dce3;
  --brass: #cf953f;     /* the lamp: used only for things to click */
  --brass-hover: #ddA650;
  --focus: #0b5cad;

  --sans: "Archivo Variable", "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4 Variable", "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-stretch: 108%;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .page-head :focus-visible,
.cover :focus-visible, .band :focus-visible, .section--deep :focus-visible { outline-color: var(--brass); }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brass); color: var(--ink); padding: .6rem 1rem; font-family: var(--sans); font-weight: 650;
  text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-stretch: 105%; font-weight: 650; font-size: 1rem; line-height: 1.1;
  padding: .95rem 1.55rem;
  background: var(--brass); color: var(--ink);
  border: 2px solid var(--brass); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--brass-hover); border-color: var(--brass-hover); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: currentColor; }
.section:not(.section--deep) .btn--ghost:hover { background: rgba(15,27,37,.06); }
.btn--small { padding: .6rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.75rem; }
.link {
  font-family: var(--sans); font-weight: 650; color: inherit;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em;
  text-decoration-color: var(--brass);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- header (injected by site.js) ---------- */
.site-header { background: var(--deep); color: #fff; position: relative; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand {
  font-family: var(--sans); font-stretch: 118%; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav a:not(.btn) {
  font-family: var(--sans); font-size: .95rem; font-weight: 550; color: #dfe8ef; text-decoration: none;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: #fff; border-bottom-color: var(--blue); }
.nav a[aria-current="page"]:not(.btn) { color: #fff; border-bottom-color: var(--brass); }
.menu-btn {
  display: none; font-family: var(--sans); font-weight: 650; font-size: .95rem; color: #fff;
  background: transparent; border: 1.5px solid rgba(255,255,255,.55); border-radius: var(--radius);
  padding: .5rem .9rem; cursor: pointer;
}
@media (max-width: 920px) {
  .js .menu-btn { display: inline-block; }
  .js .site-header .wrap { flex-wrap: wrap; }
  .js .nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 0 1.25rem;
  }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.05rem; }
  .js .nav .btn { margin-top: 1rem; text-align: center; }
  .no-js .site-header .wrap { flex-wrap: wrap; padding: .75rem 0; }
  .no-js .nav { flex-wrap: wrap; row-gap: .25rem; }
}
/* compact bar used on older article pages */
.site-header--bar .wrap { min-height: 52px; width: min(1180px, calc(100% - 2.5rem)); }
.site-header--bar .brand { font-size: 1rem; }
.site-header--bar .nav a:not(.btn) { font-size: .85rem; }
.site-header--bar .btn { padding: .45rem .85rem; font-size: .85rem; }
@media (max-width: 920px) { .js .site-header--bar .wrap { min-height: 52px; } }

/* ---------- landing (index.html) ---------- */
body.cover { background: var(--deep); color: #fff; min-height: 100vh; min-height: 100svh; overflow-x: hidden; }
.cover-photo { position: fixed; inset: 0; z-index: 0; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 35%; }
.cover-shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,24,34,.94) 0%, rgba(10,24,34,.82) 28%, rgba(10,24,34,.35) 48%, rgba(10,24,34,0) 62%);
}
.cover-copy {
  position: relative; z-index: 2; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 3rem clamp(1.5rem, 8vw, 8rem);
}
.cover h1 {
  font-size: clamp(3.6rem, 10.5vw, 9rem); font-stretch: 122%; font-weight: 820; line-height: .86; letter-spacing: -0.035em;
  margin: 0 0 1.75rem;
}
.cover h1 span { display: block; }
.cover .tagline {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.4; color: #dbe6ef; max-width: 25ch; margin: 0 0 2.25rem;
}
.cover .btn { font-size: 1.2rem; padding: 1.1rem 2.6rem; }
.cover-leave { position: fixed; inset: 0; z-index: 5; background: var(--deep); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
body.is-leaving .cover-leave { opacity: 1; }
@media (max-width: 720px) {
  .cover-photo img { object-position: 52% 0%; }
  .cover-shade { background: linear-gradient(180deg, rgba(10,24,34,0) 30%, rgba(10,24,34,.78) 58%, rgba(10,24,34,.96) 78%, #0a1822 100%); }
  .cover-copy { justify-content: flex-end; padding: 2rem 1.5rem calc(2.25rem + env(safe-area-inset-bottom)); }
  .cover h1 { font-size: clamp(3.4rem, 17vw, 5.2rem); margin-bottom: 1.1rem; }
  .cover h1 span { display: inline; }
  .cover .tagline { max-width: 26ch; margin-bottom: 1.6rem; }
  .cover .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .cover-photo img { animation: photo-in 1.8s cubic-bezier(.2,.6,.2,1) both; }
  .cover-copy > * { animation: copy-in 1s cubic-bezier(.2,.6,.2,1) .55s both; }
  @keyframes photo-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
  @keyframes copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- page heads and the home band ---------- */
.page-head { background: var(--deep); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.page-head h1 { max-width: 20ch; margin-bottom: .45em; }
.page-head .lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; color: #d5e1eb; max-width: 40rem; margin: 0; }
.page-head--wide h1 { max-width: 26ch; }

.band { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.band-photo { position: absolute; inset: 0; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 28%; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,24,34,.96) 0%, rgba(10,24,34,.85) 34%, rgba(10,24,34,.2) 62%, rgba(10,24,34,0) 78%);
}
.band .wrap { position: relative; z-index: 2; padding: clamp(3rem, 9vw, 7rem) 0 clamp(3.5rem, 9vw, 7rem); }
.band h1 { max-width: 11ch; }
.band .lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: #dbe6ef; max-width: 34rem; margin: 0; }
@media (max-width: 720px) {
  .band-photo, .band::after { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--mist { background: var(--mist); }
.section--deep { background: var(--deep); color: #fff; }
.section--deep .muted, .section--deep p { color: #d5e1eb; }
.section-intro { max-width: 40rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-intro p { color: var(--muted); font-size: 1.15rem; }
.section--deep .section-intro p { color: #d5e1eb; }
.muted { color: var(--muted); }
.prose { max-width: 40rem; }
.prose p { font-size: 1.12rem; }

/* a row: heading on the left, detail on the right */
.rows { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: .75rem clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line);
}
.row > :first-child h3 { margin-bottom: .35em; }
.row p:last-child, .row ul:last-child { margin-bottom: 0; }
.section--deep .rows, .section--deep .row { border-color: rgba(255,255,255,.2); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.ticks li { position: relative; padding: .28em 0 .28em 1.35em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .95em; width: .5rem; height: .5rem; background: var(--teal); }
.section--deep .ticks li::before { background: var(--blue); }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 5vw, 4rem); }
.cols-2 .row { grid-template-columns: 1fr; }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 3vw, 2.5rem); margin: 0; }
.facts div { border-top: 3px solid var(--blue); padding-top: .9rem; }
.facts dt { font-family: var(--sans); font-weight: 760; font-stretch: 106%; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: .25rem; }
.facts dd { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

.split-media { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split-media figure { margin: 0; }
.split-media img { border-radius: var(--radius); width: 100%; }
@media (max-width: 820px) { .split-media { grid-template-columns: 1fr; } }
figcaption { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* the one real sequence on the site */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem clamp(1rem, 2.5vw, 2rem); }
.steps li { counter-increment: step; border-top: 1px solid rgba(255,255,255,.3); padding-top: 1rem; }
.steps li::before {
  content: counter(step); display: block; font-family: var(--sans); font-stretch: 118%; font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: var(--blue); margin-bottom: .6rem;
}
.steps h3 { font-size: 1.25rem; margin-bottom: .35em; }
.steps p { font-size: .98rem; line-height: 1.5; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

details.outline { margin: 1.1rem 0 1rem; border-top: 1px solid var(--line); }
details.outline summary {
  cursor: pointer; font-family: var(--sans); font-weight: 650; padding: .85rem 0; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
details.outline summary::-webkit-details-marker { display: none; }
details.outline summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
details.outline[open] summary::after { content: "\2212"; }
details.outline ul { margin-top: .25rem; }
.small-note { font-family: var(--sans); font-size: .92rem; color: var(--muted); }

.credential { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-top: 1.5rem; }
.credential img { width: 160px; height: auto; }
@media (max-width: 560px) { .credential { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; } .credential img { width: 96px; } }

/* call to action band */
.cta { background: var(--deep); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.cta h2 { max-width: 20ch; margin-bottom: .35em; }
.cta p { color: #d5e1eb; max-width: 38rem; margin: 0; font-size: 1.12rem; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- home: where to go ---------- */
.paths { list-style: none; margin: 0 -.85rem; padding: 0; border-top: 2px solid var(--ink); }
.paths a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .35rem 2rem; align-items: baseline;
  padding: 1.5rem .85rem; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color .15s;
}
.paths a:hover { background: var(--mist); }
.paths strong { font-family: var(--sans); font-stretch: 108%; font-weight: 760; font-size: clamp(1.45rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; }
.paths a:hover strong { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 3px; text-underline-offset: .18em; }
.paths span { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 720px) { .paths a { grid-template-columns: 1fr; } }

/* ---------- article lists ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; margin: 0 0 1.5rem; padding: 0; border-bottom: 1px solid var(--line); }
.tabs button {
  font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--muted); background: none; border: 0;
  border-bottom: 3px solid transparent; padding: .7rem 0 .6rem; margin-bottom: -1px; cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--brass); }
.tabs .count { font-weight: 400; color: var(--muted); margin-left: .3em; font-size: .9em; }
.search { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.search label { font-family: var(--sans); font-weight: 600; font-size: .95rem; }
.search input {
  font: inherit; font-family: var(--sans); font-size: 1rem; padding: .7rem .9rem; width: min(26rem, 100%);
  border: 1.5px solid #9fb0bd; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.search .status { font-family: var(--sans); font-size: .92rem; color: var(--muted); }

.entries { border-bottom: 1px solid var(--line); }
.entry { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: .35rem 2rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.entry-meta { font-family: var(--sans); font-size: .85rem; line-height: 1.45; color: var(--muted); padding-top: .35em; }
.entry-meta b { display: block; font-weight: 650; color: var(--teal); }
.entry h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .3em; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.entry p { margin: 0; color: var(--muted); max-width: 44rem; }
.series-head { margin: 2.5rem 0 0; padding-top: .5rem; }
.series-head h2 { font-size: 1.5rem; margin-bottom: .2em; }
.series-head p { color: var(--muted); margin: 0 0 .75rem; font-family: var(--sans); font-size: .92rem; }
.empty { padding: 2rem 0; color: var(--muted); }
@media (max-width: 700px) {
  .entry { grid-template-columns: 1fr; gap: .15rem; }
  .entry-meta { order: -1; display: flex; gap: .6rem; padding-top: 0; }
  .entry-meta b { display: inline; }
}

/* ---------- books ---------- */
.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem); }
.book { display: flex; flex-direction: column; }
.book .cover-img { background: var(--mist); border-radius: var(--radius); padding: 1.25rem; display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 1rem; }
.book .cover-img img { max-height: 100%; width: auto; max-width: 100%; box-shadow: 0 14px 28px -12px rgba(10,24,34,.45); }
.book h3 { font-size: 1.3rem; margin-bottom: .2em; }
.book .sub { font-family: var(--sans); font-size: .92rem; color: var(--teal); font-weight: 600; margin: 0 0 .6rem; line-height: 1.35; }
.book p.desc { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }
.book .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .books { grid-template-columns: 1fr; } .book .cover-img { aspect-ratio: 5 / 4; } }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-aside img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin-bottom: 1.25rem; }
.contact-aside h2 { font-size: 1.6rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-card h2 { font-size: 1.7rem; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-top: 1.25rem; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-family: var(--sans); font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem; padding: .75rem .85rem;
  border: 1.5px solid #9fb0bd; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.form-status { font-family: var(--sans); margin: 1rem 0 0; min-height: 1.5em; }
.form-status.ok { color: #1c6b3a; font-weight: 600; }
.form-status.err { color: #a3281d; font-weight: 600; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- footer (injected by site.js) ---------- */
.site-footer { background: var(--deep); color: #cdd9e3; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; font-family: var(--sans); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem 4rem; }
.footer-brand strong { display: block; font-stretch: 118%; font-weight: 800; font-size: 1.25rem; color: #fff; margin-bottom: .5rem; letter-spacing: -0.01em; }
.footer-brand p { margin: 0; max-width: 32rem; line-height: 1.55; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-content: flex-start; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .2em; }
.footer-legal { display: flex; align-items: center; gap: .85rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .88rem; }
.footer-legal img { width: 44px; height: 44px; flex: none; }
.footer-legal p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- new-style article pages (see _templates/new-article.html) ---------- */
.article-head { background: var(--deep); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.article-head .wrap, .article-body.wrap { max-width: 46rem; }
.article-head .crumb { font-family: var(--sans); font-size: .95rem; margin: 0 0 1.25rem; }
.article-head .crumb a { color: var(--blue); text-decoration: none; }
.article-head .crumb a:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .4em; }
.article-head .dek { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: #d5e1eb; margin: 0 0 1.25rem; }
.article-head .byline { font-family: var(--sans); font-size: .92rem; color: #b6c6d4; margin: 0; }
.article-body { padding: clamp(2.5rem, 6vw, 4rem) 0; font-size: 1.2rem; line-height: 1.72; }
.article-body > * { max-width: 40rem; }
.article-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2em 0 .5em; }
.article-body h3 { margin: 1.8em 0 .4em; }
.article-body blockquote {
  margin: 1.8em 0; padding: .2em 0 .2em 1.4rem; border-left: 4px solid var(--brass);
  font-size: 1.3rem; line-height: 1.5; font-style: italic;
}
.article-body img { border-radius: var(--radius); margin: 1.8em 0 .4em; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.article-end { border-top: 1px solid var(--line); padding: 2rem 0 0; margin-top: 3rem; }
.article-end p { font-family: var(--sans); font-size: 1rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { padding: clamp(3rem, 8vw, 6rem) 0; }
.notfound p { max-width: 36rem; }

@media print {
  .site-header, .site-footer, .cta, .menu-btn, .skip { display: none !important; }
  body { background: #fff; }
}
