
header.masthead {
  min-height: 4.75rem;
  border-bottom: 2px solid var(--accent);
}
:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --fg: #12161C;
  --muted: #5E6A78;
  --border: #DCE1E7;
  --accent: #9A6B12;
  --accent-fg: #FFFFFF;
  --content-max: 42rem;
  --measure: 66ch;
  --space: 1.25rem;
  --card-gap: 1.75rem;
  --radius: 0;
  --border-w: 2px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --font-display: "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: Georgia, "Palatino Linotype", serif;
  --font-ui: "Segoe UI", system-ui, sans-serif;
  --h1: 2.75rem;
  --h2: 1.9rem;
  --h3: 1.3rem;
  --body: 1rem;
  --small: 0.85rem;
  --lh: 1.75;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--lh);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: var(--h1); margin: 0 0 var(--space); }
h2 { font-size: var(--h2); margin: 1.1rem 0 0.5rem; }
h3 { font-size: var(--h3); margin: 0 0 0.4rem; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
p { margin: 0 0 var(--space); }
.skip {
  position: absolute;
  left: var(--space);
  top: -4rem;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.4rem 0.7rem;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(1080px, calc(100% - 2 * var(--space))); margin-inline: auto; }
.masthead { background: var(--surface); }
.masthead-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0.75rem 0 0;
  text-align: left;
}
.masthead-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding-bottom: 0.6rem;
}
.mast-contact {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--small);
  display: none;
}
.mast-contact a { color: var(--muted); text-decoration-color: var(--accent); }
.mast-contact a:hover { color: var(--fg); }
.brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.brand { color: var(--fg); text-decoration: none; }
.logo { display: block; width: 11rem; max-width: 46vw; height: auto; margin: 0; }
.tag { margin: 0; color: var(--muted); font-family: var(--font-ui); font-size: var(--small); }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.35rem 1.35rem; width: 100%; margin: 0; padding: 0.55rem 0; border-top: var(--border-w) solid var(--border); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--border-w) solid var(--border);
  padding: var(--space);
}
.card > p { margin: 0; }
.card-media { display: block; margin: calc(var(--space) * -1) calc(var(--space) * -1) var(--space); overflow: hidden; }
.card-media .card-img { width: 100%; height: 11rem; object-fit: cover; }
.card h2 {
  margin: 0.3rem 0 0.4rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  hyphens: auto;
  min-height: calc(1.25em * 2);
}
.card .excerpt {
  margin: 0 0 0.7rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.55em * 3);
}
.card .more-row { margin: auto 0 0; padding-top: 0.25rem; }
.card .eyebrow { margin-bottom: 0.15rem; }
.featured h2 { height: auto; overflow: visible; font-size: var(--h2); margin-top: 0.2rem; }
.featured .excerpt { height: auto; overflow: visible; max-width: 40rem; }
.featured .card-img { height: 18rem; }
.featured .more-row { margin-top: 1rem; }
.rail { display: flex; flex-direction: column; gap: 0.75rem; }
.rail-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.85rem;
  align-items: center;
  flex: 1;
  padding: 0.75rem;
  background: var(--surface);
  border: var(--border-w) solid var(--border);
  color: var(--fg);
  text-decoration: none;
}
.rail-item .eyebrow { margin: 0; }
.rail-item .date { margin: 0.2rem 0 0; }
.rail-img { width: 6.5rem; height: 6.5rem; object-fit: cover; display: block; }
.rail-title { display: block; margin-top: 0.15rem; font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--fg); }
.rail-item .date { display: block; margin-top: 0.25rem; }
.card h2 a, .featured h2 a { color: var(--fg); text-decoration: none; }
.list.grid, .list.pair { margin: calc(var(--space) * 0.6) auto; }
.band h2:first-child, .band .wrap > h2:first-child { margin-top: 0; }
.card h2 a:hover, .featured h2 a:hover, .rail-item:hover .rail-title { text-decoration: none; }
.article-hero { text-align: center; }
.article-hero .deck { margin-inline: auto; }
.nav a { color: var(--fg); font-family: var(--font-ui); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; }
.more { display: inline-flex; align-items: center; min-height: 44px; }
.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.date { color: var(--muted); font-family: var(--font-ui); font-size: var(--small); }
.deck { max-width: 42rem; }
.offer { background: var(--surface); }
.offer .wrap { padding: calc(var(--space) * 0.9) 0; }
.offer h2 { margin-top: 0; }
.icon-grid { display: grid; gap: var(--card-gap); }
.step-rail {
  display: grid;
  gap: 0;
  list-style: none;
  margin: var(--space) 0 0;
  padding: 0;
  border-top: var(--border-w) solid var(--border);
}
.step-cell {
  position: relative;
  padding: var(--space);
  border-bottom: var(--border-w) solid var(--border);
  border-left: 6px solid var(--accent);
  background: var(--surface);
}
.step-cell .index { margin: 0 0 0.35rem; color: var(--accent); font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.step-cell h3 { margin: 0 0 0.35rem; }
.step-cell p { margin: 0; color: var(--fg); }
.icon-card {
  background: var(--surface);
  border: var(--border-w) solid var(--border);
  padding: var(--space);
}
.index {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}
.icon-card h3 { margin-bottom: 0.35rem; }
.icon-card p { margin: 0; color: var(--fg); }
.home-hero {
  position: relative;
  overflow: hidden;
  height: 32rem;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0;
}
.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px);
  transform: scale(1.08);
  z-index: 0;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  opacity: 0.45;
  z-index: 1;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(64rem, calc(100% - 2 * var(--space)));
  margin-inline: auto;
  padding: calc(var(--space) * 2) 0;
  color: var(--accent-fg);
}
.home-hero .eyebrow,
.home-hero .deck { color: var(--accent-fg); }
.home-hero h1 { font-size: clamp(2.75rem, 6vw, 4.4rem); }
.home-hero .deck { max-width: 48rem; margin-inline: auto; }
.hero-action { margin: 0.4rem 0 0; }
.hero-img, .card-img { display: block; width: 100%; height: auto; object-fit: cover; }
.hero-img { min-height: 12rem; max-height: 22rem; }
.card-img { height: 10rem; }
.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.band { background: var(--surface); }
.band.alt { background: var(--bg); border-top: var(--border-w) solid var(--border); }
.band .wrap, .cta .wrap { padding: calc(var(--space) * 0.8) 0; }
.magazine { display: grid; gap: var(--card-gap); align-items: stretch; }
.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--card-gap); }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.prose a:hover { text-decoration-color: var(--fg); }
.prose p { max-width: var(--measure); }
.more { font-family: var(--font-ui); font-weight: 700; }
.cta { text-align: center; }
.cta h2 { margin-top: 0; margin-bottom: 0.5rem; }
.cta .eyebrow { margin-bottom: 0.25rem; }
.cta p { margin: 0; }
.prose { max-width: var(--content-max); margin: calc(var(--space) * 0.9) auto; padding-bottom: 0; }
.prose.closing { margin-top: calc(var(--space) * 1.4); padding-top: var(--space); border-top: var(--border-w) solid var(--border); }
.closing h2::before { content: none; }
.closing > p:first-of-type::first-letter { font-size: inherit; float: none; color: inherit; margin: 0; font-family: inherit; }
.article-body { counter-reset: section; }
.article-body h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero) " / ";
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--small);
  font-weight: 700;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}
.article-body > p:first-of-type::first-letter {
  float: none;
  font-size: inherit;
  color: inherit;
}
.article-body.lead-piece > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  margin: 0.08em 0.1em 0 0;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--card-gap);
  margin-top: var(--space);
  align-items: stretch;
  width: min(1080px, calc(100% - 2 * var(--space)));
  margin-inline: auto;
}
.sources {
  max-width: var(--content-max);
  margin: var(--space) auto calc(var(--space) * 1.4);
  background: var(--surface);
  border: var(--border-w) solid var(--border);
  border-left: 4px solid var(--accent);
  padding: var(--space);
}
.sources .eyebrow { color: var(--accent); }
.sources ul { margin: 0; padding-left: 1.1rem; font-family: var(--font-ui); font-size: var(--small); }
.sources li { margin-bottom: 0.3rem; }
.sources-note { margin: 0.5rem 0 0; color: var(--muted); font-family: var(--font-ui); font-size: var(--small); }
.byline {
  margin: 0 auto var(--space);
  max-width: var(--content-max);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--small);
  border-top: var(--border-w) solid var(--border);
  padding-top: 0.5rem;
}
.byline a { color: var(--fg); text-decoration-color: var(--accent); }
.figure-strip {
  display: grid;
  gap: 0;
  border-top: var(--border-w) solid var(--border);
  border-bottom: var(--border-w) solid var(--border);
  margin-bottom: var(--space);
}
.figure-cell {
  padding: 0.9rem 0;
  border-bottom: var(--border-w) solid var(--border);
}
.figure-cell:last-child { border-bottom: 0; }
.figure-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.figure-label { margin: 0.15rem 0 0; color: var(--muted); font-family: var(--font-ui); font-size: var(--small); }
.route-grid {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0 0 var(--space);
  padding: 0;
  border-top: var(--border-w) solid var(--accent);
}
.route-cell {
  padding: var(--space) 0;
  border-bottom: var(--border-w) solid var(--border);
}
.route-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.route-note {
  margin: 0.25rem 0 0.5rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.route-cell p:last-child { margin: 0; max-width: var(--measure); }
.article-top {
  width: min(1080px, calc(100% - 2 * var(--space)));
  margin-inline: auto;
}
.article-top .figure { margin: 0 auto var(--space); max-width: var(--content-max); }
.article-body { margin: 0; max-width: none; }
.aside { display: flex; flex-direction: column; gap: 0.5rem; }
.aside .toc {
  display: block;
  background: var(--surface);
  border: var(--border-w) solid var(--border);
  border-top: var(--border-w) solid var(--accent);
  padding: var(--space);
  position: sticky;
  top: var(--space);
  margin: 0;
}
.aside .toc p { margin: 0 0 0.4rem; }
.aside .toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0;
  font-family: var(--font-ui);
  font-size: var(--small);
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.aside .toc a:last-child { border-bottom: 0; }
.aside .toc a:hover { color: var(--accent); }
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 var(--space);
  padding: 0.55rem var(--space);
  background: var(--surface);
  border-left: 4px solid var(--accent);
}
.toc a { font-family: var(--font-ui); font-size: var(--small); color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--border); }
.toc a:hover { color: var(--accent); }
.table-scroll {
  overflow-x: auto;
  margin: 0 0 var(--space);
  background: var(--surface);
  border-right: var(--border-w) solid var(--accent);
}
table { border-collapse: collapse; width: 100%; font-family: var(--font-ui); font-size: var(--small); }
th, td { border: var(--border-w) solid var(--border); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
th { background: var(--bg); font-weight: 700; border-bottom-color: var(--accent); }
tbody tr:nth-child(odd) td { background: var(--bg); }
tbody td:first-child {
  font-family: var(--font-display);
  font-size: var(--h3);
  color: var(--accent);
  font-weight: 700;
}
.prose ul, .prose ol { margin: 0 0 var(--space); padding-left: 1.2rem; max-width: var(--measure); }
.prose li { margin-bottom: 0.35rem; }
.prose h2:first-child { margin-top: 0.6rem; }
.figure { margin: 0 auto var(--space); max-width: var(--content-max); }
.article-hero .deck { max-width: 36rem; }
.form { display: grid; gap: 0.4rem; margin-top: var(--space); }
.form input, .form textarea, .form button {
  font: inherit;
  padding: 0.55rem;
  border: var(--border-w) solid var(--muted);
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--radius);
}
.form button {
  font-family: var(--font-ui);
  font-size: var(--h3);
  font-weight: 700;
  min-height: 44px;
  background: var(--accent);
  color: var(--accent-fg);
  border: 0;
  cursor: pointer;
}
.footer { background: var(--fg); color: var(--bg); border-top: var(--border-w) solid var(--accent); }
.footer a { color: var(--bg); }
.footer-brand { display: block; margin-bottom: 0.75rem; }
.footer-logo { display: block; width: 17rem; max-width: 100%; height: auto; }
.footer p { color: var(--bg); }
.footer-grid { display: grid; gap: var(--card-gap); padding: calc(var(--space) * 2) 0; }
.footer .eyebrow { color: var(--bg); }
.footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
@media (max-width: 600px) {
  .masthead-stack { flex-wrap: wrap; align-items: flex-start; }
  .masthead-top { flex-wrap: wrap; padding-bottom: 0.4rem; }
  .logo { width: 8.5rem; }
  .tag { font-size: 0.78rem; }
  .nav { width: 100%; justify-content: flex-start; margin-left: 0; padding: 0.2rem 0; gap: 0 1.1rem; }
  .nav a { min-height: 40px; }
  .home-hero { height: 21rem; }
  .home-hero-copy { padding: var(--space) 0; }
  .home-hero h1 { font-size: 2rem; }
  .home-hero .deck { font-size: var(--small); }
  .aside { order: -1; }
}
@media (min-width: 600px) {
  .list.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside { order: -1; }
  .figure-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figure-cell { padding: 0.9rem var(--space); border-bottom: 0; border-left: var(--border-w) solid var(--border); }
  .figure-cell:first-child { border-left: 0; padding-left: 0; }
  .step-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: var(--border-w) solid var(--border); }
  .route-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: var(--border-w) solid var(--border); }
  .route-cell { padding: var(--space); border-bottom: 0; border-right: var(--border-w) solid var(--border); }
}
@media (min-width: 900px) {
  .masthead-stack {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    padding: 0.6rem 0;
  }
  .masthead-top { width: auto; padding-bottom: 0; }
  .brand-block { flex-direction: row; align-items: center; gap: 0.9rem; }
  .logo { width: 8.5rem; }
  .tag {
    margin: 0;
    max-width: 13rem;
    line-height: 1.35;
    border-left: var(--border-w) solid var(--border);
    padding-left: 0.9rem;
  }
  .nav { width: auto; border-top: 0; padding: 0; gap: 0 1.25rem; }
  .nav a { min-height: 0; }
  .mast-contact { display: block; }
  .magazine { grid-template-columns: 1.35fr 0.85fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr) minmax(0, var(--content-max)) minmax(10rem, 1fr); gap: 0; }
  .article-body { grid-column: 2; }
  .aside { grid-column: 3; padding-left: var(--card-gap); order: 0; }
  .list.magazine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1.4fr 0.8fr; }
}
@media (min-width: 1200px) {
  .list.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .list.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
