/* Light editorial: white paper, charcoal serif, one deep green. */
:root {
  --paper: #fbfbf9;
  --paper-2: #f1f2ee;
  --sage: #dfe6e0;
  --ink: #1b1d1f;
  --ink-2: #35393d;
  --muted: #5b6065;
  --rule: #dcded8;
  --rule-strong: #1b1d1f;
  --green: #1f4d3a;
  --green-hover: #173b2c;
  --green-soft: #e4ece6;
  --on-green: #f4f6f2;
  --on-green-muted: #c3d3c9;

  --serif: "Newsreader", "Iowan Old Style", "Georgia", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --mast-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 16px); scrollbar-color: #b9bcb5 var(--paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: var(--on-green); }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 16px; top: -64px; background: var(--green); color: var(--on-green); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Links and buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65em; min-height: 50px; padding: 0 1.6em;
  background: var(--green); color: var(--on-green); border-radius: 2px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  transition: background-color .3s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: scale(.98); }
.btn .ico, .link-arrow .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  color: var(--green); font: 500 .95rem/1.3 var(--sans); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

/* ---------- Masthead ---------- */
.mast {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 249, .94);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(8px)) { .mast { background: rgba(251, 251, 249, .82); backdrop-filter: blur(10px); } }
.mast-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--mast-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.wordmark { font: 500 1.3rem/1 var(--serif); letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.mast-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.mast-links a {
  display: inline-flex; align-items: center; min-height: 44px; position: relative;
  font: 500 .9rem/1 var(--sans); color: var(--ink-2); text-decoration: none; transition: color .25s;
}
.mast-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.mast-links a:hover, .mast-links a.is-active { color: var(--green); }
.mast-links a:hover::after, .mast-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.mast-links .mast-contact { color: var(--green); }
.mast-links .mast-contact::after { transform: scaleX(1); }
.mast-toggle { display: none; }
.mast-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green);
  transform: scaleX(var(--sp, 0)); transform-origin: left;
}

/* ---------- Hero ----------
   Everything that matters on arrival (name, portrait, both actions) is sized against the
   screen's height as well as its width, so it all fits without scrolling. */
.hero {
  --hero-pad: clamp(14px, 4.5svh, 64px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: var(--hero-pad) var(--gutter) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head photo" "body photo" "actions photo";
  grid-template-rows: auto auto auto;
  column-gap: clamp(28px, 5vw, 96px);
  align-content: center;
  min-height: calc(100svh - var(--mast-h) - 2 * var(--hero-pad));
}
.hero-fold { display: contents; }
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; }
.hero-actions { grid-area: actions; align-self: start; }
.hero-photo {
  grid-area: photo; align-self: center; justify-self: end; min-width: 0;
  /* the square never outgrows the screen height left over below the masthead */
  width: min(100%, calc(100svh - var(--mast-h) - 2 * var(--hero-pad) - 44px));
}

.hero-kicker { font: 500 clamp(.85rem, .8rem + .2vw, .95rem)/1.4 var(--sans); color: var(--green); margin-bottom: clamp(12px, 2.6svh, 32px); }
.hero-name {
  font-size: clamp(2.4rem, min(1.2rem + 6vw, 11.5svh), 7.4rem); font-weight: 350; line-height: .94; letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
}
.nl { display: block; overflow: hidden; padding: 0 .14em .06em 0; margin-right: -.14em; white-space: nowrap; }
.nl > span { display: inline-block; }
.hero-name .nl:last-child > span { font-style: italic; font-weight: 300; }
.hero-name::after { content: ""; display: block; width: 72px; height: 2px; background: var(--green); margin-top: clamp(14px, 3svh, 36px); }
.hero-tag { font: italic 400 clamp(1.15rem, min(1rem + .9vw, 3.4svh), 1.6rem)/1.35 var(--serif); color: var(--ink-2); margin-top: clamp(12px, 2.6svh, 32px); }
.hero-lede { font: 400 clamp(1rem, min(.95rem + .3vw, 2.6svh), 1.2rem)/1.6 var(--serif); color: var(--ink-2); max-width: 46ch; margin-top: clamp(8px, 1.4svh, 14px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: clamp(18px, 4svh, 44px); }

.photo-frame { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sage); }
.photo-frame img {
  position: absolute; bottom: 0; left: 50%;
  height: 90%; width: auto; max-width: none;
  transform: translateX(-47.5%);
}
.hero-photo figcaption {
  display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap;
  padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--rule);
  font-size: .85rem; line-height: 1.3; color: var(--muted);
}
.regions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: var(--green); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--rule-strong); }
.stat { display: flex; flex-direction: column; padding: 22px 24px 4px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--rule); }
.stat dd { order: -1; font: 350 clamp(2.4rem, 1.6rem + 2.6vw, 4rem)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat dt { margin-top: 10px; font-size: .9rem; color: var(--muted); max-width: 24ch; line-height: 1.45; }

.affil {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: baseline;
  margin-top: clamp(48px, 6vw, 80px); padding: 22px 0; border-block: 1px solid var(--rule);
}
.affil-label { font-size: .85rem; color: var(--muted); }
.affil ul { display: flex; flex-wrap: wrap; gap: 8px 0; }
.affil li { font: 400 1.15rem/1.3 var(--serif); padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--rule); }
.affil li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* ---------- Load sequence ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .nl > span { transform: translateY(105%); }
  .js .in { opacity: 0; transform: translateY(14px); }
  .js .photo-frame { clip-path: inset(100% 0 0 0); }
  .js .photo-frame img { transform: translateX(-47.5%) scale(1.06); }
  .js .hero-name::after { transform: scaleX(0); transform-origin: left; }
  .is-loaded .nl > span { transform: none; transition: transform 1.1s var(--ease); }
  .is-loaded .nl:nth-child(2) > span { transition-delay: .1s; }
  .is-loaded .in { opacity: 1; transform: none; transition: opacity .9s ease var(--d, .2s), transform .9s var(--ease) var(--d, .2s); }
  .is-loaded .photo-frame { clip-path: inset(0); transition: clip-path 1.3s var(--ease) .15s; }
  .is-loaded .photo-frame img { transform: translateX(-47.5%); transition: transform 1.8s var(--ease) .15s; }
  .is-loaded .hero-name::after { transform: none; transition: transform .9s var(--ease) .45s; }

  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s ease var(--rd, 0s), transform 1s var(--ease) var(--rd, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.sec { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter); }
.sec-tint { max-width: none; background: var(--paper-2); }
.sec-tint > * { max-width: var(--max); margin-inline: auto; }
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-label { font: 500 .85rem/1.4 var(--sans); color: var(--green); padding-top: .9em; border-top: 2px solid var(--green); width: fit-content; }
.sec-head h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em; max-width: 17ch; }
.sec-lede { margin: 0 0 clamp(32px, 4vw, 56px) calc(25% + 6px); max-width: 52ch; font: italic 400 1.3rem/1.45 var(--serif); color: var(--ink-2); }

/* Perspective: an article with a pull quote */
.article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.pull { align-self: start; position: sticky; top: calc(var(--mast-h) + 40px); }
.pull blockquote p { font: italic 300 clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem)/1.22 var(--serif); letter-spacing: -.01em; color: var(--green); }
.pull figcaption { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.article-body p { font: 400 clamp(1.1rem, 1rem + .3vw, 1.25rem)/1.65 var(--serif); color: var(--ink-2); max-width: 62ch; }
.article-body p + p { margin-top: 1.2em; }
.article-body > p:first-child::first-letter { float: left; font: 400 4.4em/.78 var(--serif); color: var(--green); margin: .06em .1em 0 0; }
.sector-line { margin-top: 40px; padding-top: 0; }
.sector-line .sec-label { margin-bottom: 14px; }
.sector-line ul { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-line li { font-size: .9rem; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); background: #fff; transition: border-color .25s, color .25s; }
.sector-line li:hover { border-color: var(--green); color: var(--green); }

/* Expertise: ruled rows */
.rows { border-top: 1px solid var(--rule-strong); }
.row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--rule);
}
.row h3 { grid-column: 2; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; transition: color .3s, transform .5s var(--ease); }
.row p { grid-column: 2; max-width: 56ch; color: var(--muted); font-size: 1.02rem; margin-top: -8px; }
.row:hover h3 { color: var(--green); transform: translateX(6px); }

/* Group */
.group-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.group-logo { background: #fff; border: 1px solid var(--rule); display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 12%; }
.group-role { font: 500 .9rem/1.4 var(--sans); color: var(--green); margin-bottom: 10px; }
.group-lede { font: 400 clamp(1.2rem, 1rem + .7vw, 1.55rem)/1.5 var(--serif); color: var(--ink-2); max-width: 46ch; margin-bottom: 18px; }
.directory-note { font-size: .88rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.entry {
  display: grid; grid-template-columns: 76px minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 2fr) 36px; gap: 24px; align-items: center;
  padding: 22px 12px 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: background-color .3s, padding .4s var(--ease);
}
.entry:hover, .entry:focus-visible { background: var(--paper-2); padding-left: 12px; }
.entry-logo { width: 76px; height: 56px; display: grid; place-items: center; background: #fff; border: 1px solid var(--rule); }
.entry-logo img { max-width: 64px; max-height: 42px; width: auto; object-fit: contain; }
.entry-name { font: 400 1.45rem/1.15 var(--serif); letter-spacing: -.01em; transition: color .3s; }
.entry-sector { font-size: .88rem; color: var(--green); }
.entry-body { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.entry-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.entry-go .ico { width: 15px; height: 15px; }
.entry:hover .entry-name { color: var(--green); }
.entry:hover .entry-go { background: var(--green); border-color: var(--green); color: var(--on-green); transform: rotate(45deg); }
.directory-more { margin-top: 24px; }

/* Experience: ruled career entries */
.career { border-top: 1px solid var(--rule-strong); }
.post {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 24px;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--rule);
}
.post-region { font: italic 400 1.25rem/1.3 var(--serif); }
.post-when { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.post-main h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.post-org { font: 500 .95rem/1.4 var(--sans); color: var(--green); margin-top: 8px; }
.post-body p:first-child { color: var(--ink-2); font-size: 1.02rem; }
.post-tag { display: inline-block; margin-top: 14px; font-size: .82rem; padding: 5px 12px; border: 1px solid var(--green); border-radius: 999px; color: var(--green); }

/* Advisory: the one green field */
.advisory { background: var(--green); color: var(--on-green); }
.advisory-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 24px clamp(24px, 4vw, 56px); align-items: end;
}
.advisory .sec-label { color: var(--on-green-muted); border-color: var(--on-green-muted); align-self: start; }
.advisory h2 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; font-style: italic; font-weight: 300; }
.advisory-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.advisory-body p { color: var(--on-green-muted); }

/* Principles */
.tenets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.tenets li { border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.tenets h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-style: italic; font-weight: 300; letter-spacing: -.015em; margin-bottom: 14px; color: var(--green); }
.tenets p { color: var(--ink-2); max-width: 34ch; }

/* Contact */
.contact { background: var(--paper-2); border-top: 1px solid var(--rule); }
.contact-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px);
  grid-template-areas: "label label" "title list" "note list" "email list";
}
.contact-inner > .sec-label { grid-area: label; }
.contact h2 { grid-area: title; }
.contact-note { grid-area: note; }
.contact-email { grid-area: email; justify-self: start; align-self: start; }
.contact-list { grid-area: list; align-self: end; }
.contact h2 { margin-top: 28px; font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.025em; max-width: 18ch; }
.contact-note { margin-top: 20px; font: italic 400 1.25rem/1.45 var(--serif); color: var(--ink-2); max-width: 46ch; }
.contact-email {
  display: inline-block; margin-top: clamp(32px, 4vw, 48px); max-width: 100%; overflow-wrap: anywhere;
  font: 300 clamp(1.9rem, 1rem + 4vw, 4.4rem)/1.1 var(--serif); letter-spacing: -.02em; color: var(--green); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 6px;
  transition: background-size .5s var(--ease);
}
.contact-email:hover { background-size: 30% 2px; }
.contact-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule-strong); }
.contact-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: center; min-height: 60px; border-bottom: 1px solid var(--rule); }
.contact-list li > span:first-child { font-size: .88rem; color: var(--muted); }
.contact-list a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font: 400 1.15rem/1.3 var(--serif); text-decoration: none; transition: color .25s; }
.contact-list a:hover { color: var(--green); }
.contact-list .ico { width: 15px; height: 15px; }
.clock { font: 400 1.15rem/1.3 var(--serif); font-variant-numeric: tabular-nums; }

/* Footer */
.foot { border-top: 1px solid var(--rule); }
.foot-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
}
.foot-name { font: 500 1.15rem/1 var(--serif); }
.foot-note { font-size: .85rem; color: var(--muted); flex: 1; max-width: 70ch; }

/* 404 */
.lost { min-height: 70svh; display: grid; place-content: center; justify-items: start; gap: 20px; padding: var(--gutter); max-width: 900px; margin: 0 auto; }
.lost-code { font: 300 6rem/1 var(--serif); color: var(--green); }
.lost h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }

/* ---------- Large screens ---------- */
@media (min-width: 1700px) { :root { --max: 1400px; } }

/* ---------- Tablets ---------- */
@media (max-width: 1040px) {
  .mast-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    font: 500 .9rem/1 var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer;
  }
  .mast-links { display: none; }
  .mast.is-open .mast-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgba(27, 29, 31, .25);
  }
  .mast.is-open .mast-links li + li { border-top: 1px solid var(--rule); }
  .mast.is-open .mast-links a { min-height: 56px; font: 400 1.5rem/1 var(--serif); color: var(--ink); }
  .mast.is-open .mast-links a::after { display: none; }
  .mast.is-open .mast-links .mast-contact { color: var(--green); font-style: italic; }

  .entry { grid-template-columns: 76px minmax(0, 1fr) 36px; grid-template-areas: "logo name go" "logo sector go" ". body body"; row-gap: 4px; align-items: start; }
  .entry-logo { grid-area: logo; }
  .entry-name { grid-area: name; }
  .entry-sector { grid-area: sector; }
  .entry-body { grid-area: body; max-width: 60ch; margin-top: 8px; }
  .entry-go { grid-area: go; align-self: center; }
  .post { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .post-body { grid-column: 2; }
  .advisory-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .advisory .sec-label { grid-column: 1 / -1; }
}

/* ---------- Phones and narrow tablets ---------- */
@media (max-width: 820px) {
  :root { --mast-h: 64px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 18px; }
  .stat { padding-bottom: 6px; }
  .affil, .sec-head, .article, .group-intro { grid-template-columns: minmax(0, 1fr); }
  .affil { gap: 10px; }
  .sec-head { gap: 20px; }
  .sec-lede { margin-left: 0; }
  .pull { position: static; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .row h3, .row p { grid-column: 1; }
  .row p { margin-top: 0; }
  .post { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .post-body { grid-column: 1; }
  .post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .post-when { margin-top: 0; }
  .advisory-inner { grid-template-columns: minmax(0, 1fr); }
  .tenets { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "title" "note" "email" "list"; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0; }
}
@media (max-width: 520px) {
  .wordmark { font-size: .95rem; white-space: nowrap; }
  .mast-inner { gap: 12px; }
  .mast-toggle { padding: 0 12px; }
  .entry { grid-template-columns: 60px minmax(0, 1fr) 36px; gap: 4px 14px; }
  .entry-logo { width: 60px; height: 46px; }
  .entry-logo img { max-width: 48px; max-height: 32px; }
  .entry-name { font-size: 1.25rem; }
  .affil li { font-size: 1.05rem; padding-right: 14px; margin-right: 14px; }
}

/* =====================================================================
   Hero on phones, small tablets and other tall narrow screens:
   name, portrait and both actions share exactly one screen; the portrait
   takes whatever height is left. Tagline and introduction follow below.
   ===================================================================== */
@media (max-width: 820px), (max-aspect-ratio: 3/4) {
  .hero-grid { display: block; min-height: 0; }
  .hero-head, .hero-actions { align-self: stretch; }
  .hero-fold {
    display: flex; flex-direction: column; gap: clamp(12px, 2.4svh, 24px);
    height: calc(100svh - var(--mast-h) - 2 * var(--hero-pad));
    min-height: 300px;
  }
  .hero-photo {
    flex: 1 1 0; min-height: 96px; width: 100%;
    display: flex; flex-direction: column; align-items: center;
  }
  .photo-frame { flex: 1 1 0; min-height: 0; height: auto; width: auto; max-width: 100%; aspect-ratio: 1; }
  .hero-photo figcaption { width: 100%; max-width: 100%; }
  .hero-actions { margin-top: 0; gap: 8px 22px; }
  .hero-body { margin-top: clamp(24px, 4svh, 40px); }
  .hero-tag { margin-top: 0; }
  .hero-name { font-size: clamp(2rem, min(12.4vw, 8.5svh), 5.6rem); }
}
/* short phones: drop the caption first, then tighten the actions */
@media (max-width: 820px) and (max-height: 700px), (max-aspect-ratio: 3/4) and (max-height: 700px) {
  .hero-photo figcaption { display: none; }
}
@media (max-width: 420px) {
  .btn { min-height: 46px; padding: 0 1.15em; font-size: .9rem; }
  .link-arrow { font-size: .9rem; }
}
/* mini and flip phones */
@media (max-width: 300px) {
  :root { --gutter: 14px; }
  .wordmark { font-size: .86rem; white-space: normal; line-height: 1.1; max-width: 9.5em; }
  .mast-toggle { padding: 0 10px; flex: none; }
  .hero-kicker { font-size: .78rem; }
  .btn { width: 100%; justify-content: center; min-height: 44px; }
  .hero-actions { gap: 2px 16px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--rule); margin-top: 14px; }
  .affil li { border-right: 0; margin-right: 0; padding-right: 14px; }
}
@media (max-width: 320px) and (max-height: 480px) {
  /* flip phones: a slimmer masthead and tighter fold so the portrait still fits */
  :root { --mast-h: 48px; }
  .hero { --hero-pad: 10px; }
  .hero-kicker, .hero-name::after { display: none; }
  .hero-fold { gap: 10px; min-height: 0; }
  .hero-name { font-size: 12.5vw; }
  .hero-photo { min-height: 72px; }
  .btn { min-height: 40px; font-size: .85rem; }
  .link-arrow { min-height: 40px; font-size: .85rem; }
  .hero-actions { gap: 0 14px; }
  .mast-toggle { min-height: 36px; font-size: .82rem; }
}

/* Short, wide screens: laptops with small windows, netbooks, phones held sideways */
@media (max-height: 640px) and (min-aspect-ratio: 3/4) {
  :root { --mast-h: 56px; }
  .hero-tag { display: none; }
  .hero-lede { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .hero-photo figcaption { display: none; }
  .hero-photo { width: min(100%, calc(100svh - var(--mast-h) - 2 * var(--hero-pad))); }
}
@media (max-height: 460px) and (min-aspect-ratio: 3/4) {
  .hero-lede { -webkit-line-clamp: 2; line-clamp: 2; }
  .hero-name::after { margin-top: 10px; }
  .btn { min-height: 44px; }
}

/* Very large and ultra-wide monitors: scale the whole system up, keep measures readable */
@media (min-width: 2200px) {
  html { font-size: 112.5%; }
  :root { --max: 1640px; }
}
@media (min-width: 3000px) {
  html { font-size: 131.25%; }
  :root { --max: 1960px; }
}
@media (min-width: 2200px) and (min-aspect-ratio: 2/1) {
  /* 21:9 and 32:9: use more of the width */
  :root { --max: 2080px; }
}
@media (min-width: 2200px) and (max-height: 1200px) {
  /* 21:9 and 32:9 screens are wide but not tall: let height lead the hero type */
  html { font-size: 106.25%; }
}
