/* ==========================================================================
   Daniel L Carpenter Law LLC
   Editorial layout for a text-heavy practice site. No CSS framework: the
   page shapes here are a prose column, a card grid, and a comparison table,
   and hand-rolling them removes a render-blocking CDN dependency.
   ========================================================================== */

:root {
  --navy:        #1d3350;
  --navy-deep:   #14243a;
  --navy-soft:   #2c4468;
  --ink:         #1b1f24;
  --ink-body:    #33393f;
  --ink-muted:   #5d666f;
  --rule:        #dcd8cf;
  --rule-soft:   #ebe8e1;
  --paper:       #ffffff;
  --paper-warm:  #f8f6f1;
  --paper-cool:  #f2f4f7;
  --brass:       #9c7c3c;
  --brass-soft:  #c8a961;
  --flag:        #8a4b2a;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --measure: 40rem;
  --wide:    68rem;

  /* Height of the sticky masthead. Anything that scrolls to a position has to
     know it, or it lands underneath the header. */
  --masthead-h: 4.6rem;

  --step--1: clamp(0.86rem, 0.84rem + 0.1vw, 0.92rem);
  --step-0:  clamp(1.02rem, 0.99rem + 0.15vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.13rem + 0.35vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.32rem + 0.62vw, 1.85rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.15vw, 2.6rem);
  --step-4:  clamp(2.15rem, 1.7rem + 2vw, 3.4rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--brass-soft); text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* Jumping to an in-page anchor — a section link, the skip link, a table of
   contents — must not park the target under the sticky masthead. */
[id] { scroll-margin-top: calc(var(--masthead-h) + 1rem); }

/* --------------------------------------------------------------- layout -- */

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }

.prose { max-width: var(--measure); }
.prose > * + h2 { margin-top: 2.2em; }
.prose > * + h3 { margin-top: 1.8em; }

.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section + .section { border-top: 1px solid var(--rule-soft); }
.section--warm { background: var(--paper-warm); border-top: 1px solid var(--rule-soft); }
.section--cool { background: var(--paper-cool); border-top: 1px solid var(--rule-soft); }
.section--navy {
  background: var(--navy);
  color: #e9edf3;
  border-top: 0;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--brass-soft); }
.section--navy a:hover { color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- header -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand__mark { width: 2.4rem; height: 2.4rem; flex-shrink: 0; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand__rule {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-body);
  text-decoration: none;
  border-radius: 3px;
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--navy); background: var(--paper-warm); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); }

.nav__cta {
  margin-left: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: var(--navy);
  color: #fff !important;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--navy-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 62rem) {
  .nav-toggle { display: block; flex-shrink: 0; margin-left: 0; }
  /* Open is a state worth seeing, not just announcing to a screen reader. */
  .nav-toggle[aria-expanded="true"] {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }

  /* The brand and the Menu button share one row.
     The brand used to be flex-shrink: 0, so on a phone it refused to give way
     and shoved the button onto a second row — the header rendered as two
     stacked lines. It now shrinks, and the wordmark scales with the viewport
     rather than overflowing it. */
  /* min-height stays at its 4.5rem default so the header matches
     --masthead-h, which scroll-margin and the panel's max-height depend on. */
  .masthead__inner { flex-wrap: wrap; gap: 0.9rem; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand__mark { width: 2.1rem; height: 2.1rem; }
  .brand__name { font-size: clamp(0.95rem, 3.4vw, 1.12rem); }

  /* flex: 0 0 100% puts the open panel on its own row, below both. */
  .nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    margin-left: 0;
    border-top: 1px solid var(--rule);
    padding-block: 0.75rem;
    /* A long menu on a short phone must scroll inside the header rather than
       run off the bottom of a sticky element. */
    max-height: calc(100dvh - var(--masthead-h) - 1.5rem);
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--rule-soft); }
  .nav__cta { margin: 0.9rem 0 0; text-align: center; padding-block: 0.8rem; }
}

/* Small phones. Below this the tagline costs more width than it earns, and the
   page gutters are worth reclaiming. */
@media (max-width: 26rem) {
  .brand__rule { display: none; }
  .wrap { width: min(100% - 2rem, var(--wide)); }
  .wrap--narrow { width: min(100% - 2rem, var(--measure)); }
  .btn-row .btn { flex: 1 1 100%; text-align: center; }
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  background: var(--navy);
  color: #dfe6ef;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-soft) 45%, transparent 100%);
}
.hero h1 { color: #fff; max-width: 22ch; }
.hero--page h1 { max-width: 26ch; }
.hero__lead {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 48ch;
  color: #cfd9e6;
  margin-bottom: 1.75rem;
}
.hero__eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1rem;
}
.hero__meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--step--1);
  color: #a9b7c9;
  max-width: 60ch;
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 3px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--primary:hover { background: #866729; border-color: #866729; color: #fff; }
.btn--secondary { background: transparent; border-color: currentColor; color: inherit; }
.btn--secondary:hover { background: rgba(255, 255, 255, 0.1); color: inherit; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ----------------------------------------------------------------- cards -- */

/* min() inside minmax() is load-bearing on small phones: a bare minmax(21rem, …)
   keeps a 21rem track even when the viewport is narrower than that, and the
   whole page then scrolls sideways. */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}
.grid--two { grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  color: inherit;
}
a.card:hover { border-color: var(--brass-soft); border-top-color: var(--brass); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.card p { font-size: 0.97rem; color: var(--ink-muted); }
.card__more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
a.card:hover .card__more { color: var(--brass); }

/* Compact list of category links used on hub pages. */
.stack { list-style: none; margin: 0; padding: 0; }
.stack > li { border-bottom: 1px solid var(--rule-soft); }
.stack > li:first-child { border-top: 1px solid var(--rule-soft); }
.stack a {
  display: block;
  padding: 1.05rem 0.25rem;
  text-decoration: none;
  color: inherit;
}
.stack a:hover { background: var(--paper-warm); }
.stack__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.stack__blurb { font-size: 0.94rem; color: var(--ink-muted); display: block; margin-top: 0.2rem; }

/* ------------------------------------------------------- content blocks -- */

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink);
  max-width: 46ch;
}

.blocks { margin: 0; }
.blocks > div + div { margin-top: 1.5rem; }
.blocks dt, .block__title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.08rem;
}
.blocks dd { margin: 0.3rem 0 0; }

.bullets { padding-left: 1.15rem; margin: 0 0 1.15em; }
.bullets li { margin-bottom: 0.55rem; }
.bullets li::marker { color: var(--brass); }

.callout {
  border-left: 3px solid var(--brass);
  background: var(--paper-warm);
  padding: 1.15rem 1.35rem;
  margin: 1.75rem 0;
  max-width: var(--measure);
}
.callout__title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
}
.callout p { font-size: 0.98rem; margin: 0; }

.cite {
  font-size: var(--step--1);
  color: var(--ink-muted);
  font-style: italic;
  border-top: 1px solid var(--rule-soft);
  padding-top: 0.7rem;
  margin-top: 1.5rem;
  max-width: var(--measure);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.inline-links a { text-decoration: none; }
.inline-links a::after { content: " \2192"; color: var(--brass); }
.inline-links a:hover { text-decoration: underline; }

/* -------------------------------------------------- portrait and copy -- */

.split {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 54rem) {
  .split { grid-template-columns: 1fr; }
  .portrait { max-width: 19rem; }
}

.portrait figure { margin: 0; }
.portrait img {
  width: 100%;
  border: 1px solid var(--rule);
  border-bottom: 3px solid var(--brass);
}
.portrait figcaption {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-muted);
}
.portrait figcaption b {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* ----------------------------------------------------------------- table -- */

.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--rule);
  -webkit-overflow-scrolling: touch;
}
table.data {
  border-collapse: collapse;
  width: 100%;
  min-width: 46rem;
  font-size: 0.92rem;
  background: var(--paper);
}
table.data th, table.data td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--rule-soft);
}
table.data thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 0;
  position: sticky;
  top: 0;
}
table.data tbody tr:nth-child(even) { background: var(--paper-warm); }
table.data tbody th, table.data td:first-child { font-weight: 600; color: var(--ink); }
.table-note { font-size: var(--step--1); color: var(--ink-muted); max-width: var(--measure); }

/* ------------------------------------------------------------------- rfe -- */

.rfe {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--navy);
  background: var(--paper-warm);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 2.5rem;
}
.rfe h2 { font-size: var(--step-2); }

/* --------------------------------------------------- editorial warnings -- */
/* Renders only when CONTENT_REVIEW_MODE is on. Never visible to clients. */

.review-flag {
  border: 2px dashed var(--flag);
  background: #fdf6f1;
  color: #5c3018;
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
  font-size: 0.93rem;
}
.review-flag__label {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}
.review-flag ul { margin: 0.5rem 0 0; padding-left: 1.15rem; }
.review-flag li { margin-bottom: 0.3rem; }

/* Staff preview of an Insights article. Requires an admin session, so it can
   never appear to a visitor — but it is loud anyway, because the whole point
   is that a preview must not be mistaken for the published page. */
.preview-bar {
  background: var(--flag, #b4532a);
  color: #fff;
  padding: 0.7rem 0;
  font-size: 0.9rem;
}
.preview-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
}
.preview-bar a { color: #fff; text-decoration: underline; font-weight: 600; }

/* ------------------------------------------------------------------ form -- */

.field { margin-bottom: 1.4rem; }
.field > label,
.field legend {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  padding: 0;
}
.field__help { font-size: 0.86rem; color: var(--ink-muted); margin-top: 0.3rem; }
.field__error { font-size: 0.9rem; color: #9a2c1c; margin-top: 0.35rem; font-weight: 500; }

.form-control, .form-select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9bfc7;
  border-radius: 3px;
}
.form-control:focus, .form-select:focus { border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 8rem; }

.field fieldset { border: 0; margin: 0; padding: 0; }
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 0.45rem; font-weight: 400; }

.form-notice {
  border: 1px solid var(--rule);
  background: var(--paper-cool);
  padding: 1.25rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.94rem;
}
.form-notice strong { color: var(--ink); }

/* Turnstile renders a fixed-size iframe. Give it room, and let it shrink on a
   narrow screen rather than pushing the form sideways. */
.field--challenge { margin-bottom: 1.6rem; }
.field--challenge .field__help { margin: 0 0 0.5rem; }
.field--challenge .cf-turnstile { max-width: 100%; overflow: hidden; }

.errorlist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid #9a2c1c;
  background: #fdf3f1;
  color: #7d2416;
  font-size: 0.94rem;
}

/* ---------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--navy-deep);
  color: #b9c5d4;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 2rem;
  font-size: 0.94rem;
  margin-top: auto;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.9rem;
}
.site-footer a { color: #dce4ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.45rem; }
/* An email address is one unbroken word and the narrowest column here is
   13rem. Let it break rather than push the page sideways. */
.site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }

@media (max-width: 62rem) {
  /* Thumb-sized targets. These are 20px tall on a phone otherwise. */
  .footer-links li { margin-bottom: 0; }
  .footer-links a { display: inline-block; padding-block: 0.45rem; }
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #93a2b4;
}
.footer-legal p { margin-bottom: 0.85rem; max-width: 78ch; }
.footer-legal strong { color: #cdd8e5; font-weight: 600; }

/* --------------------------------------------------------------- article -- */

.article-meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.article-body { max-width: var(--measure); }
.article-body h2 { font-size: var(--step-2); margin-top: 2em; }
.article-body h3 { font-size: var(--step-1); margin-top: 1.7em; }
.article-body ul, .article-body ol { padding-left: 1.15rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  margin: 1.75rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--brass);
  font-style: italic;
  color: var(--ink);
}
.article-body img { margin: 1.75rem 0; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list > li { padding: 1.75rem 0; border-bottom: 1px solid var(--rule-soft); }
.post-list > li:first-child { border-top: 1px solid var(--rule-soft); }
.post-list h2 { font-size: var(--step-2); margin-bottom: 0.35rem; }
.post-list h2 a { text-decoration: none; }

.pagination {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2.5rem;
  font-size: 0.94rem;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-muted);
  text-decoration: none;
}
.tag:hover { border-color: var(--brass-soft); color: var(--brass); }

/* ------------------------------------------------------------ utilities -- */

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
}
.muted { color: var(--ink-muted); }
.small { font-size: var(--step--1); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* dvh tracks the mobile address bar as it collapses; vh does not, and leaves a
   gap under the footer. The vh line is the fallback for anything older. */
.page-shell { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }

@media print {
  .masthead, .site-footer nav, .btn, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero { background: none; color: #000; padding: 0 0 1rem; }
  .hero h1, .hero__lead { color: #000; }
}
