/* ==========================================================================
   Chartline Health IT
   Design register: the record. Paper ground, printed ink, hairline rules,
   mono for anything that is evidence (citations, dates, figures, IDs).
   Two accents, both semantic: seal green = on record. flag rust = gap.
   ========================================================================== */

:root {
  --paper: #f5f6f3;
  --paper-2: #eeefeb;
  --card: #ffffff;
  --ink: #11201a;
  --ink-2: #3e4a44;
  --muted: #5d665f;
  --faint: #636c65;
  /* Boundary colour for interactive components. WCAG 1.4.11 wants 3:1;
     --rule-2 is a decorative hairline and does not reach it. */
  --border-ui: #828a83;
  --rule: #dde1db;
  --rule-2: #c7cdc4;
  --seal: #17624b;
  --seal-deep: #0f4635;
  --seal-lt: #e6efe9;
  --flag: #a9481d;
  --flag-lt: #f6ebe3;

  --radius: 3px;
  --radius-lg: 5px;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad-x: clamp(20px, 4.5vw, 52px);
  --wrap: 1200px;
  --rail-w: 172px;
  --rail-gap: 40px;

  --header-h: 108px;
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button { font: inherit; color: inherit; }

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

::selection { background: var(--seal); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font: 500 13px/1 var(--sans);
}
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------- type ------ */

.display,
h1.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.021em; line-height: 1.06; }

h1.display { font-size: clamp(2.25rem, 4.6vw, 3.55rem); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  letter-spacing: -0.019em;
  line-height: 1.12;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.014em;
  line-height: 1.2;
}
.h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.008em;
  line-height: 1.4;
}

.display em, .h2 em, .h3 em { font-style: italic; font-weight: 400; }

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.body { color: var(--ink-2); max-width: 68ch; }
.body + .body { margin-top: 1em; }
.small { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.tiny { font-size: 0.75rem; line-height: 1.55; color: var(--faint); }

.label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.cite {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--seal);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.05em 0.32em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--seal);
  flex: none;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-n { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 var(--pad-x); }

.section { padding: clamp(56px, 7vw, 92px) 0; }
.section--tight { padding: clamp(38px, 4.5vw, 58px) 0; }
.section--alt { background: var(--paper-2); }
.section--card { background: var(--card); }
.section + .section--alt,
.section--alt + .section { border-top: 1px solid var(--rule); }

.stack > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: 26px; }

.head { max-width: 68ch; }
.head .h2 { margin-top: 14px; max-width: 20ch; }
.head .lede { margin-top: 18px; }

/* Heading left, lede right. Stops every section from leaving a dead
   right-hand half, which is the most common failure in this layout. */
.head--split { max-width: none; }
@media (min-width: 940px) {
  .head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 5vw, 72px);
    align-items: end;
  }
  .head--split .eyebrow { grid-column: 1 / -1; }
  .head--split .h2 { max-width: 15ch; margin-top: 16px; }
  .head--split .lede { margin-top: 0; max-width: 54ch; padding-bottom: 4px; }
}

.grid { display: grid; gap: 1px; }

.divider { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* -------------------------------------------------- the citation rail ---- */

.rail-block { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-content: start;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.rail-item { display: flex; gap: 7px; align-items: baseline; }
.rail-k { color: var(--faint); text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.6875rem; }
.rail-v { color: var(--seal); }
.rail-body > * + * { margin-top: 16px; }

.keyfact {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.36;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 46ch;
}
.keyfact code { font-size: 0.82em; background: var(--seal-lt); border-color: #cfe0d6; color: var(--seal); }

@media (min-width: 1024px) {
  .rail-block {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: var(--rail-gap);
  }
  .rail { flex-direction: column; gap: 12px; padding-top: 6px; }
  .rail-item { flex-direction: column; gap: 1px; }
  .rail-body { border-left: 1px solid var(--rule); padding-left: var(--rail-gap); }
}

/* ------------------------------------------------------ status marks ----- */

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.mark::before {
  content: "";
  width: 9px; height: 9px;
  flex: none;
  background: var(--seal);
}
.mark--flag { color: var(--flag); }
.mark--flag::before { background: var(--flag); }
.mark--open::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.mark--open { color: var(--faint); }

/* ---------------------------------------------------------- ledger ------- */

.ledger { border-top: 1px solid var(--rule-2); }
.ledger-row {
  display: grid;
  gap: 4px 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
/* minmax(0, auto) rather than auto: an `auto` value column refuses to shrink and
   crushes the key column to a couple of pixels on a long value. */
.ledger-row--kv { grid-template-columns: minmax(8ch, 1fr) minmax(0, auto); }
.ledger-row--3 { grid-template-columns: minmax(0, 1fr); }
.ledger-k { font-weight: 500; min-width: 0; overflow-wrap: break-word; }
.ledger-v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
}
.ledger-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.875rem; max-width: 76ch; }

@media (min-width: 720px) {
  .ledger-row--3 { grid-template-columns: minmax(0, 22ch) minmax(0, 1fr) auto; }
  .ledger-row--3 .ledger-note { grid-column: auto; }
}

/* ---------------------------------------------------------- stats -------- */

.statbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule);
}
.stat {
  padding: 18px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-v {
  font-family: var(--mono);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--ink);
}
.stat-l { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
.stat--zero .stat-v { color: var(--seal); }

@media (min-width: 620px) { .statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .statbar { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

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

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
}
.card--flat { background: transparent; border: 0; padding: 0; }

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* linked card */
a.card-link {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 26px);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
a.card-link:hover { border-color: var(--rule-2); }
a.card-link .arrow { color: var(--seal); font-family: var(--mono); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.004em;
  line-height: 1.2;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn--primary { background: var(--seal); color: #fff; }
.btn--primary:hover { background: var(--seal-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-ui); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--invert { background: var(--paper); color: var(--ink); }
.btn--invert:hover { background: #fff; }
.btn--invert-ghost { background: transparent; color: var(--paper); border-color: rgba(245, 246, 243, 0.42); }
.btn--invert-ghost:hover { border-color: var(--paper); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 1px;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.textlink:hover { color: var(--seal); border-color: var(--seal); }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--seal);
  text-decoration: none;
}
.arrowlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------- tables ------- */

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tablewrap table { min-width: 640px; }

table.data {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
table.data th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 18px 10px 0;
  border-bottom: 1px solid var(--rule-2);
  vertical-align: bottom;
}
table.data td {
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 0.9375rem;
}
table.data th:last-child, table.data td:last-child { padding-right: 0; }
table.data td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ------------------------------------------------------------ notes ------ */

.note {
  border-left: 2px solid var(--seal);
  background: var(--seal-lt);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.note--flag { border-left-color: var(--flag); background: var(--flag-lt); }
.note strong { color: var(--ink); font-weight: 600; }

.callout {
  border: 1px solid var(--rule);
  border-top: 2px solid var(--ink);
  background: var(--card);
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 0 0 var(--radius) var(--radius);
}

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

.utilbar {
  background: var(--ink);
  color: rgba(245, 246, 243, 0.78);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.045em;
}
.utilbar .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  flex-wrap: wrap;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.utilbar a { text-decoration: none; white-space: nowrap; }
.utilbar a:hover { color: #fff; }
.utilbar .u-k { color: rgba(245, 246, 243, 0.52); text-transform: uppercase; margin-right: 6px; }
.utilbar .u-sep { color: rgba(245, 246, 243, 0.2); }

/* On phones the utility bar keeps the two tap-to-call numbers only. The portal
   and invoice links are in the mobile menu and the footer. */
@media (max-width: 700px) {
  .utilbar .wrap { justify-content: center; gap: 6px 16px; }
  .utilbar a[href="/support"],
  .utilbar a[href="/support#billing"],
  .utilbar .u-sep:nth-of-type(-n + 2) { display: none; }
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 243, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-lockup { display: block; }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.018em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  margin-top: 5px;
}

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-top:hover { background: rgba(17, 32, 26, 0.05); }
.nav-item[data-open="true"] > .nav-top { background: rgba(17, 32, 26, 0.05); }
.nav-caret { width: 8px; height: 8px; color: var(--faint); }

.nav-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 14px 30px -22px rgba(17, 32, 26, 0.35);
  display: none;
}
.nav-item[data-open="true"] .nav-panel { display: block; }
.nav-panel-inner {
  display: grid;
  gap: 2px 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  padding: 24px 0 28px;
}
.nav-link {
  display: block;
  padding: 9px 12px;
  margin-left: -12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-link span { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); margin-top: 1px; }
.nav-link:hover { background: var(--paper); }
.nav-panel-aside {
  border-left: 1px solid var(--rule);
  padding-left: 28px;
}

.nav-actions { display: none; align-items: center; gap: 10px; flex: none; }

.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--border-ui);
  border-radius: var(--radius);
  padding: 9px 13px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobilenav { display: none; border-bottom: 1px solid var(--rule); background: var(--card); }
.mobilenav[data-open="true"] { display: block; }
.mobilenav-group { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.mobilenav-group:last-child { border-bottom: 0; }
.mobilenav-group > .label { display: block; margin-bottom: 8px; }
.mobilenav a { display: block; padding: 8px 0; text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.mobilenav .m-actions { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 22px; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .nav-actions { display: flex; }
  .navtoggle { display: none; }
  .mobilenav { display: none !important; }
}

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

.closer { background: var(--ink); color: var(--paper); }

.closer-cta { padding: clamp(52px, 6.5vw, 84px) 0 clamp(44px, 5vw, 64px); }
.closer-cta .h2 { color: #fff; max-width: 18ch; }
.closer-cta .lede { color: rgba(245, 246, 243, 0.72); }
.closer-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .closer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; } }

.incident {
  border: 1px solid rgba(245, 246, 243, 0.16);
  border-left: 2px solid var(--flag);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
}
.incident .label { color: rgba(245, 246, 243, 0.56); }
.incident-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}
.incident-num:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer { border-top: 1px solid rgba(245, 246, 243, 0.14); padding: clamp(44px, 5vw, 60px) 0 0; }
.footer-cols {
  display: grid;
  gap: 34px 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
}
@media (min-width: 900px) {
  .footer-cols { grid-template-columns: 1.8fr repeat(5, minmax(0, 1fr)); }
}
.footer-brand { margin-bottom: 4px; }
.footer-col--addr p { max-width: 36ch; }
.footer-col--addr .footer-phones {
  max-width: none;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
}
.footer-phones span { color: rgba(245, 246, 243, 0.56); display: inline-block; min-width: 4.8em; }
.footer-phones a { display: inline; padding: 0; color: rgba(245, 246, 243, 0.86); }
.footer-col .label { color: rgba(245, 246, 243, 0.56); margin-bottom: 14px; display: block; }
.footer-col a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  font-size: 0.875rem;
  color: rgba(245, 246, 243, 0.72);
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.875rem; color: rgba(245, 246, 243, 0.72); }

.footer-base {
  margin-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(245, 246, 243, 0.14);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(245, 246, 243, 0.48);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: #fff; }

/* --------------------------------------------------------- breadcrumb ---- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 26px;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--seal); }
.crumbs .sep { color: var(--rule-2); }

/* ------------------------------------------------------------ pagehead --- */

.pagehead { padding: clamp(30px, 4vw, 44px) 0 clamp(38px, 5vw, 56px); }
.pagehead h1.display {
  margin-top: 16px;
  max-width: 20ch;
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 1.09;
}
.pagehead .lede { margin-top: 20px; }
.pagehead .btns { margin-top: 30px; }

/* Headline left, standfirst right. Same editorial device as .head--split,
   so page tops and section tops read as one system. */
@media (min-width: 940px) {
  .pagehead .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    column-gap: clamp(44px, 5vw, 76px);
    align-items: end;
  }
  .pagehead .eyebrow { grid-column: 1 / -1; }
  .pagehead h1.display { grid-column: 1; grid-row: 2; }
  .pagehead .lede { grid-column: 2; grid-row: 2; margin-top: 0; max-width: 52ch; padding-bottom: 5px; }
  .pagehead .btns { grid-column: 1 / -1; grid-row: 3; }
}

/* ------------------------------------------------------------ reveal ----- */

.rv { opacity: 0; transform: translateY(10px); }
.rv-on { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.rv-on.d1 { transition-delay: 0.07s; }
.rv-on.d2 { transition-delay: 0.14s; }
.rv-on.d3 { transition-delay: 0.21s; }
.rv-on.d4 { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rv-on { transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

.mt-s { margin-top: 12px; }
.mt-m { margin-top: 22px; }
.mt-l { margin-top: 34px; }
.mt-xl { margin-top: clamp(38px, 4.5vw, 56px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  .masthead, .utilbar, .closer-cta, .mobilenav, .btns { display: none !important; }
  body { background: #fff; }
  .rv { opacity: 1; transform: none; }
}
