/* ===========================================================================
   marcusdrzal.com
   Aesthetic: printed equity-research tearsheet. Warm paper, ink-navy type,
   hairline rules, tabular figures. The data is the ornament.
   =========================================================================== */

:root {
  /* paper & ink */
  --paper:        #f6f4ee;
  --paper-raised: #fffdf8;
  --paper-deep:   #efece3;
  --ink:          #14181d;
  --ink-2:        #414a55;
  --ink-3:        #757e89;
  --ink-4:        #9aa2ab;

  /* rules */
  --rule:         #ddd8cb;
  --rule-2:       #c8c1af;
  --rule-strong:  #14181d;

  /* semantic colour, earned by the data, never decorative */
  --pos:          #15594e;
  --pos-soft:     #15594e1a;
  --neg:          #9b2c22;
  --neg-soft:     #9b2c221a;

  /* type */
  --display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:    "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* barely-there paper grain */
  background-image:
    radial-gradient(circle at 18% 12%, #ffffff9c 0%, transparent 38%),
    radial-gradient(circle at 82% 78%, #e7e3d780 0%, transparent 44%);
  background-attachment: fixed;
}

/* numbers are tabular everywhere: the single most important detail here */
.n, .kpi-v, .tbl td, .tbl th.n, .mono, .ch-ytick, .ch-xtick, .ch-vlab {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap.narrow { max-width: 760px; }
.narrow-p { max-width: 720px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 20px;
  font: 500 13px/1 var(--mono);
}
.skip:focus { left: 0; }

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

a { color: inherit; }

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

.eyebrow {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.014em; }

.sec-h {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
}
.sec-lede { max-width: 620px; color: var(--ink-2); margin: 0; font-size: 17px; }
.sec-note { color: var(--ink-2); margin: 0 0 30px; }

/* -- topbar ---------------------------------------------------------------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(9px);
  border-bottom: 1px solid var(--rule);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 24px; }

.mark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; min-width: 0; }
.mark-i {
  font: 500 12px/1 var(--mono); letter-spacing: .12em;
  border: 1px solid var(--rule-2); padding: 6px 7px; color: var(--ink);
  flex: none;
}
.mark-n { font-family: var(--display); font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }

.nav { display: flex; gap: clamp(14px, 2.4vw, 30px); }
.nav a {
  font: 400 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color .18s, border-color .18s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 560px) {
  .mark-n { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: 11px; }
}

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

.hero { padding: clamp(56px, 11vw, 130px) 0 clamp(40px, 7vw, 78px); }
.hero-rule { height: 3px; background: var(--ink); }
.hero-rule.thin { height: 1px; background: var(--rule-2); margin-top: clamp(38px, 6vw, 62px); }
.hero-eyebrow { margin-top: 18px; }

.hero-h {
  font-size: clamp(52px, 13vw, 152px);
  line-height: .9;
  letter-spacing: -.032em;
  margin: 0 0 clamp(30px, 5vw, 54px);
}

.hero-sub { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .hero-sub { grid-template-columns: 1fr; } }

.hero-lede {
  font-family: var(--display);
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.38; color: var(--ink); margin: 0; text-wrap: balance;
}

.hero-meta, .about-meta, .foot-meta { margin: 0; display: grid; gap: 14px; }
.hero-meta > div, .about-meta > div, .foot-meta > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px;
  padding-top: 11px; border-top: 1px solid var(--rule);
}
.hero-meta dt, .about-meta dt, .foot-meta dt {
  font: 400 10.5px/1.6 var(--mono); letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero-meta dd, .about-meta dd, .foot-meta dd { margin: 0; font-size: 14.5px; color: var(--ink); }

/* -- sections -------------------------------------------------------------- */

.section { padding: clamp(58px, 9vw, 108px) 0; }
.section.alt { background: var(--paper-deep); border-block: 1px solid var(--rule); }
.sec-head { margin-bottom: clamp(34px, 5vw, 56px); }

/* -- project tearsheet cards ----------------------------------------------- */

.tear { border-top: 1px solid var(--ink); }
.tear:last-of-type { border-bottom: 1px solid var(--ink); }

.tear-link {
  display: block; text-decoration: none; color: inherit;
  padding: clamp(28px, 4vw, 42px) 0 clamp(30px, 4vw, 44px);
  transition: background .25s ease, padding-left .25s ease;
}
.tear-link:hover { background: var(--paper-raised); padding-left: 18px; padding-right: 18px; }

.tear-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.tear-h {
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 6px;
  text-wrap: balance;
}
.tear-sub { margin: 0; font: 400 13px/1 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.tear-idx {
  font-family: var(--display); font-size: clamp(34px, 5vw, 62px);
  line-height: .84; color: var(--rule-2); flex: none;
}
.tear-lede { max-width: 660px; color: var(--ink-2); margin: 20px 0 28px; }
.tear-cta {
  display: inline-block; margin-top: 26px;
  font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 5px;
}
.tear-cta span { display: inline-block; transition: transform .22s ease; }
.tear-link:hover .tear-cta span { transform: translateX(5px); }

.work-note {
  margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--rule);
  font: 400 13px/1.6 var(--mono); color: var(--ink-3); letter-spacing: .02em;
}

/* -- KPI strip ------------------------------------------------------------- */

.kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.kpis.six { grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 0; }
@media (max-width: 900px) { .kpis.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .kpis, .kpis.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.kpi {
  display: flex; flex-direction: column; gap: 5px;
  padding: 18px 20px 18px 0; border-right: 1px solid var(--rule);
}
.kpi:last-child { border-right: 0; }
.kpis.six .kpi { padding: 20px 16px; border-top: 1px solid var(--rule); }
.kpis.six .kpi:first-child { padding-left: 0; }

.kpi-l {
  font: 400 10.5px/1.5 var(--mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
.kpi-v {
  font-family: var(--display); font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.06; letter-spacing: -.02em;
}
.kpi-v.pos { color: var(--pos); }
.kpi-v.neg { color: var(--neg); }
.kpi-n { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }

/* -- project page head ----------------------------------------------------- */

.proj-head { padding: clamp(34px, 5vw, 56px) 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--rule); }

.crumb { display: flex; gap: 10px; align-items: center; margin-bottom: 26px;
  font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 3px; }
.crumb a:hover { border-bottom-color: var(--ink); color: var(--ink); }

.proj-h {
  font-size: clamp(34px, 5.6vw, 62px); line-height: 1.03; letter-spacing: -.024em;
  margin: 0 0 20px; max-width: 15ch; text-wrap: balance;
}
.proj-lede {
  max-width: 660px; font-size: clamp(17px, 1.9vw, 19.5px);
  color: var(--ink-2); margin: 0 0 clamp(34px, 5vw, 50px);
}

.tearsheet { border: 1px solid var(--ink); background: var(--paper-raised); }
.tearsheet-bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--ink); color: var(--paper);
  padding: 9px 16px;
  font: 400 10.5px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase;
}
.tearsheet-bar span:last-child { color: #b3bcc6; letter-spacing: .08em; }
.tearsheet .kpis.six { padding-inline: 16px; }
.tearsheet .kpis.six .kpi:first-child { padding-left: 0; }
.tearsheet .kpis.six .kpi { border-right: 1px solid var(--rule); }
.tearsheet .kpis.six .kpi:nth-child(6n) { border-right: 0; }
@media (max-width: 900px) { .tearsheet .kpis.six .kpi:nth-child(3n) { border-right: 0; } }
@media (max-width: 620px) { .tearsheet .kpis.six .kpi:nth-child(2n) { border-right: 0; } }

/* verdict callout */
.verdict {
  margin-top: clamp(26px, 4vw, 38px); padding: 22px 26px;
  border-left: 3px solid var(--ink); background: var(--paper-raised);
  display: grid; gap: 10px; max-width: 900px;
}
.verdict.pos { border-left-color: var(--pos); }
.verdict.neg { border-left-color: var(--neg); }
.verdict-tag {
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.verdict.pos .verdict-tag { color: var(--pos); }
.verdict.neg .verdict-tag { color: var(--neg); }
.verdict p { margin: 0; font-size: 16.5px; color: var(--ink); }
.verdict strong { font-weight: 500; }

/* -- project body sections ------------------------------------------------- */

.proj-sec { padding: clamp(48px, 7vw, 84px) 0; border-bottom: 1px solid var(--rule); }
.proj-sec:last-child { border-bottom: 0; }
.proj-sec h2 {
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; margin: 0 0 20px;
  max-width: 20ch; text-wrap: balance;
}
.proj-sec p { max-width: 760px; }
.proj-sec .wrap.narrow p { max-width: none; }
.sub-h { font-size: clamp(20px, 2.4vw, 26px); margin: clamp(40px, 5vw, 58px) 0 14px; }

.callout {
  border: 1px solid var(--rule-2); background: var(--paper-raised);
  padding: 18px 22px; font-size: 15px; color: var(--ink-2); margin-top: 30px;
}
.callout strong { color: var(--ink); font-weight: 500; }

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

.tbl-wrap { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.tbl-wrap.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 900px) { .tbl-wrap { overflow-x: auto; } }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 14px; text-align: left; vertical-align: baseline; }
.tbl thead th {
  font: 500 10.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--ink); white-space: nowrap;
  font-weight: 500;
}
.tbl tbody th {
  font-weight: 400; color: var(--ink); white-space: nowrap;
  padding-left: 0;
}
.tbl thead th:first-child { padding-left: 0; }
.tbl td.n, .tbl th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td.c, .tbl th.c { text-align: center; }
.tbl tbody tr { border-bottom: 1px solid var(--rule); }
.tbl tbody tr:last-child { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--paper-raised); }

.tbl tr.sub th, .tbl tr.sub td { font-weight: 500; border-top: 1px solid var(--rule-2); }
.tbl tr.total th, .tbl tr.total td {
  font-weight: 500; border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink); background: #14181d07;
}
.tbl tr.muted th, .tbl tr.muted td { color: var(--ink-3); }
.tbl td.pct { color: var(--ink-3); font-size: 13px; }
.tbl td.neg { color: var(--neg); }
.tbl td.pos { color: var(--pos); }
.tbl td.strong { font-weight: 500; }
.tbl td.cat {
  font: 400 10.5px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap; padding-left: 0;
}
.tbl td.note { color: var(--ink-2); font-size: 13px; line-height: 1.5; min-width: 240px; padding-right: 0; }
.tbl .grp-h {
  text-align: center; border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
  color: var(--ink); letter-spacing: .14em;
}
.tbl.assump tbody th { white-space: normal; min-width: 150px; }
.tbl.var { min-width: 1100px; }
.tbl.var tbody th { min-width: 170px; }

.fu {
  display: inline-block; min-width: 19px; padding: 2px 0;
  font: 500 10.5px/1.4 var(--mono); text-align: center; letter-spacing: .04em;
}
.fu.fav { color: var(--pos); background: var(--pos-soft); }
.fu.unf { color: var(--neg); background: var(--neg-soft); }

.figref { font: 400 11.5px/1.6 var(--mono); color: var(--ink-3); margin: 12px 0 0; letter-spacing: .01em; }

/* -- figures & charts ------------------------------------------------------ */

.fig { margin: clamp(40px, 5.5vw, 62px) 0 0; }
.chart {
  display: block; width: 100%; height: auto;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  padding: 8px 6px 4px;
}
.fig-cap {
  margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  max-width: 780px; border-left: 2px solid var(--rule-2); padding-left: 14px;
}
.fig-n {
  font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); margin-right: 9px;
}

/* chart internals */
.ch-grid { stroke: var(--rule); stroke-width: 1; }
.ch-grid-zero { stroke: var(--ink-4); stroke-width: 1.2; }
.ch-ytick, .ch-xtick { font: 400 10.5px var(--mono); fill: var(--ink-3); }
.ch-xtick { font-size: 11px; }
.ch-legend-t { font: 400 11px var(--mono); fill: var(--ink-2); }
.ch-vlab { font: 400 10.5px var(--mono); fill: var(--ink-2); }
.ch-vlab.neg { fill: var(--neg); }
.ch-vlab.pos { fill: var(--pos); }

.ch-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-line-plan { stroke: var(--ink-4); stroke-dasharray: 5 4; }
.ch-line-actual { stroke: var(--ink); }
.ch-line-fcst { stroke: var(--neg); stroke-dasharray: 6 4; }
.ch-band { fill: var(--neg); opacity: .09; }
.ch-area { fill: var(--ink); opacity: .07; }
.ch-dot { stroke: var(--paper-raised); stroke-width: 1.5; }
.ch-dot-actual { fill: var(--ink); }
.ch-dot-fcst { fill: var(--neg); }
.ch-dot-breach { fill: none; stroke: var(--neg); stroke-width: 1.8; }
.ch-bar { shape-rendering: crispEdges; }
.ch-bar-plan { fill: var(--ink-4); opacity: .45; }
.ch-bar-actual { fill: var(--ink); }
.ch-bar-pos { fill: var(--pos); }
.ch-bar-neg { fill: var(--neg); }
.ch-bar-total { fill: var(--ink); }
.ch-connect { stroke: var(--ink-4); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-policy { stroke: var(--neg); stroke-width: 1.4; stroke-dasharray: 7 4; }
.ch-policy-t { font: 400 10.5px var(--mono); fill: var(--neg); letter-spacing: .04em; }
.ch-breach { fill: var(--neg); opacity: .07; }
.ch-divider { stroke: var(--rule-2); stroke-width: 1; }
.ch-divider-t { font: 400 10px var(--mono); fill: var(--ink-4); letter-spacing: .1em; text-transform: uppercase; }
.ch-annot { font: 400 11px var(--mono); fill: var(--ink); }
.ch-annot.end { fill: var(--ink-2); }
.ch-payback { stroke: var(--pos); stroke-width: 1.3; stroke-dasharray: 5 4; }

/* -- mechanics grid -------------------------------------------------------- */

.mech {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink); margin-top: 34px;
}
@media (max-width: 860px) { .mech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mech { grid-template-columns: 1fr; } }
.mech-i { padding: 20px 22px 24px 0; border-right: 1px solid var(--rule); }
.mech-i:last-child { border-right: 0; }
.mech-n {
  display: block; margin-bottom: 8px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink);
}
.mech-i p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* -- steps / approach ------------------------------------------------------ */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 30px 34px 34px 0; border-top: 1px solid var(--ink); }
@media (min-width: 781px) { .steps li:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 44px; } .steps li:nth-child(even) { padding-left: 44px; } }
.step-n { font: 400 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.steps h3 { font-size: clamp(20px, 2.3vw, 25px); margin: 12px 0 10px; line-height: 1.18; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* -- findings -------------------------------------------------------------- */

.findings { list-style: none; margin: 0; padding: 0; }
.findings li {
  padding: 20px 0 22px 0; border-top: 1px solid var(--rule);
  font-size: 16px; color: var(--ink-2);
}
.findings li:first-child { border-top: 1px solid var(--ink); }
.findings li:last-child { border-bottom: 1px solid var(--rule); }
.findings strong { color: var(--ink); font-weight: 500; }

/* -- workbook download ----------------------------------------------------- */

.dl {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  margin-top: clamp(38px, 5vw, 54px); padding: 22px 24px;
  border: 1px solid var(--ink); background: var(--paper-raised);
}
.dl-k {
  display: block; margin-bottom: 6px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.dl-t p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 52ch; }
.dl-a {
  flex: none; display: inline-flex; align-items: baseline; gap: 10px;
  padding: 13px 22px; background: var(--ink); color: var(--paper);
  text-decoration: none;
  font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s;
}
.dl-a:hover { background: var(--pos); }
.dl-s { font-size: 10.5px; letter-spacing: .06em; color: #b3bcc6; }

/* -- about ----------------------------------------------------------------- */

.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.about-r p { color: var(--ink-2); margin: 0 0 18px; }
.lead-p {
  font-family: var(--display); font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.44; color: var(--ink) !important;
}
.about-meta { margin-top: 30px; }

.creds { list-style: none; margin: 30px 0 0; padding: 0; }
.creds li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px;
  padding: 16px 0; border-top: 1px solid var(--rule);
}
.cred-h { font-size: 15px; color: var(--ink); font-weight: 400; }
.cred-w {
  grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap;
  font: 400 10.5px/1.6 var(--mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}
.cred-d { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 520px) {
  .creds li { grid-template-columns: 1fr; }
  .cred-w { grid-column: 1; grid-row: auto; text-align: left; }
}

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

.btn {
  display: inline-block; margin-top: 20px; padding: 13px 26px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s;
}
.btn:hover { background: var(--pos); }

/* -- error page ------------------------------------------------------------ */

.err { padding: clamp(80px, 16vw, 180px) 0; }

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

.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 92px) 0 34px; }
.foot .eyebrow { color: #8f99a4; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-h {
  font-family: var(--display); font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08; margin: 0; letter-spacing: -.02em; max-width: 14ch;
}
.foot-meta > div { border-top: 1px solid #ffffff26; }
.foot-meta dt { color: #8f99a4; }
.foot-meta dd { color: var(--paper); }
.foot-meta a { text-decoration: none; border-bottom: 1px solid #ffffff40; padding-bottom: 2px; transition: border-color .18s; }
.foot-meta a:hover { border-bottom-color: var(--paper); }
.foot-fine {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: clamp(50px, 7vw, 80px) 0 0; padding-top: 20px;
  border-top: 1px solid #ffffff26;
  font: 400 11px/1.6 var(--mono); letter-spacing: .05em; color: #8f99a4;
}

/* -- entrance motion , one orchestrated load, nothing scattered ------------ */

@media (prefers-reduced-motion: no-preference) {
  .hero-rule { animation: sweep .9s cubic-bezier(.22,1,.36,1) both; transform-origin: left; }
  .hero-eyebrow { animation: rise .7s cubic-bezier(.22,1,.36,1) .12s both; }
  .hero-h       { animation: rise .8s cubic-bezier(.22,1,.36,1) .2s both; }
  .hero-sub     { animation: rise .8s cubic-bezier(.22,1,.36,1) .32s both; }
  .hero-rule.thin { animation: sweep .9s cubic-bezier(.22,1,.36,1) .44s both; transform-origin: left; }

  .proj-head .crumb    { animation: rise .6s cubic-bezier(.22,1,.36,1) both; }
  .proj-head .eyebrow  { animation: rise .6s cubic-bezier(.22,1,.36,1) .07s both; }
  .proj-h              { animation: rise .7s cubic-bezier(.22,1,.36,1) .14s both; }
  .proj-lede           { animation: rise .7s cubic-bezier(.22,1,.36,1) .22s both; }
  .tearsheet           { animation: rise .8s cubic-bezier(.22,1,.36,1) .3s both; }
  .verdict             { animation: rise .8s cubic-bezier(.22,1,.36,1) .4s both; }
}

@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* -- print: it should survive being printed, because finance people print -- */

@media print {
  .topbar, .skip, .tear-cta { display: none; }
  body { background: #fff; font-size: 10.5pt; }
  .proj-sec, .section { padding: 18pt 0; break-inside: avoid; }
  .fig, .tbl-wrap { break-inside: avoid; }
  .foot { background: #fff; color: #000; border-top: 1pt solid #000; }
  .foot-meta dt, .foot .eyebrow, .foot-fine { color: #444; }
}
