/* Many Business Solutions · blog (listing + article)
   Loaded after style.css and reuses its tokens, buttons, header, CTA and footer.
   Everything renders complete without JavaScript; js/blog.js adds motion,
   filtering, scroll spy and the mobile reading bar. */

:root {
  --prose: #25252D;
  --hdr-h: 96px;
  --r-xs: 10px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header on inner pages: solid from the first paint ---------- */
.hdr--page::before { opacity: 1; }
.hdr--page .hdr__nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* First-paint guard for intro elements (js/blog.js adds .is-ready; head script has a failsafe) */
.js:not(.is-ready) [data-intro], .js:not(.is-ready) [data-split-intro] { visibility: hidden; }

/* Page top spacing under the fixed header */
.page-top { padding-top: clamp(116px, 13vw, 168px); }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before {
  content: ""; width: 5px; height: 5px; margin-inline: 12px;
  border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.crumbs a { display: inline-block; padding-block: 12px; transition: color var(--t-fast); }
.crumbs a:hover { color: var(--indigo); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Tag / meta atoms ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 32px; padding: 6px 12px; border-radius: 999px;
  background: var(--indigo-soft); color: var(--indigo-deep);
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  transition: background-color var(--t-fast), color var(--t-fast);
}
a.tag:hover { background: var(--indigo); color: #fff; }
.tag--glass { background: rgba(255, 255, 255, .92); color: var(--ink); }
.dot-sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; vertical-align: middle; margin-inline: 10px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; color: var(--ink-3); }

/* =====================================================================
   BLOG LISTING
   ===================================================================== */
.bh { padding-bottom: clamp(40px, 5vw, 72px); }
.bh .crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.bh__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.bh__title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12; letter-spacing: -.03em; font-weight: 460;
  text-wrap: balance; max-width: 17ch;
}
.bh__title em, .ah__title em, .feat__title em, .prose h2 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: 1.1em; line-height: 1; letter-spacing: -.005em; color: var(--indigo);
}
.bh__aside p { color: var(--ink-2); font-size: 17px; max-width: 44ch; }

.search { position: relative; margin-top: 24px; max-width: 460px; }
.search input {
  width: 100%; min-height: 54px; padding: 0 56px 0 22px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink);
  font: inherit; font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--ink-3); }
.search input:hover { border-color: rgba(15, 15, 20, .36); }
.search input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(30, 0, 215, .12); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__icon {
  position: absolute; right: 7px; top: 7px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; pointer-events: none;
}
.search__icon svg { width: 18px; height: 18px; }

.bh__facts {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.bh__facts div { padding: 20px 24px 0 0; }
.bh__facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.bh__facts dt { color: var(--ink-3); }
.bh__facts dd { margin: 8px 0 0; font-size: 20px; letter-spacing: -.015em; font-weight: 480; font-variant-numeric: tabular-nums; }

/* ---------- Featured post ---------- */
.feat { padding-inline: 10px; }
.feat__frame {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 74vh, 720px);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff; background: #1A1822;
}
.feat__media { position: absolute; inset: 0; z-index: -2; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.4s var(--ease-out); }
.feat__frame:hover .feat__media img { transform: scale(1.03); }
.feat__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 9, 16, .9) 0%, rgba(10, 9, 16, .5) 42%, rgba(10, 9, 16, .08) 75%),
    radial-gradient(80% 80% at 0% 100%, rgba(10, 9, 16, .55), transparent 70%);
}
.feat__inner {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px;
  padding-block: clamp(36px, 5vw, 64px);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
}
.feat__copy { max-width: 700px; }
.feat__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.feat__title {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.12; letter-spacing: -.028em; font-weight: 460;
  text-wrap: balance;
}
.feat__title a { background: linear-gradient(currentColor, currentColor) left 96% / 0% 1.5px no-repeat; transition: background-size .7s var(--ease-out); }
.feat__title a:hover { background-size: 100% 1.5px; }
.feat__title em { color: #fff; }
.feat__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.feat__lead { margin-top: 18px; max-width: 54ch; color: rgba(255, 255, 255, .84); font-size: 17px; }
.feat__meta { margin-top: 24px; color: rgba(255, 255, 255, .72); }
.feat__cta { position: relative; z-index: 1; margin-top: 28px; }

.inbox {
  position: relative; z-index: 1;
  width: 340px; padding: 20px 20px 16px;
  border-radius: var(--r-md);
  background: rgba(20, 18, 30, .46);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.inbox__head { display: flex; justify-content: space-between; align-items: center; color: rgba(255, 255, 255, .72); }
.inbox__tag { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: 11px; }
.inbox ol { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); counter-reset: ib; }
.inbox li {
  display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 10px;
  min-height: 42px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px; color: rgba(255, 255, 255, .9); line-height: 1.35;
}
.inbox li .mono { color: var(--indigo-light); }
.inbox__foot { margin-top: 12px; color: rgba(255, 255, 255, .66); font-size: 11px; }

/* ---------- Topic filter ---------- */
.list { padding-top: clamp(64px, 8vw, 120px); }
.list__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end;
  margin-bottom: 28px;
}
.list__count { color: var(--ink-3); }
.list__count strong { color: var(--ink); font-weight: 500; }

.filters {
  position: sticky; top: 0; z-index: 20;
  margin-inline: calc(var(--gutter) * -1);
  padding: 14px var(--gutter);
  background: rgba(244, 242, 237, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
  transition: top .6s var(--ease-out);
}
body.hdr-shown .filters { top: 84px; }
.filters__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.filters__row::-webkit-scrollbar { display: none; }
.fchip {
  flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  touch-action: manipulation;
}
.fchip .mono { font-size: 11px; color: var(--ink-3); transition: color var(--t-fast); }
.fchip:hover { border-color: var(--ink); color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip[aria-pressed="true"] .mono { color: var(--indigo-light); }

/* ---------- Post grid + card ---------- */
.grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 56px) clamp(20px, 2vw, 28px);
}
.post { position: relative; display: flex; flex-direction: column; }
.post[hidden] { display: none; }
.post__img {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--r-md); overflow: hidden; background: var(--paper-2);
}
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post__img .tag { position: absolute; left: 14px; top: 14px; }
.post__go {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  transform: translateY(8px) scale(.85); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s var(--ease-out), background-color var(--t-fast), color var(--t-fast);
}
.post__go svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.post__meta { margin-top: 20px; }
.post__title { margin-top: 10px; font-size: 21px; line-height: 1.3; letter-spacing: -.018em; font-weight: 500; }
.post__title a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size .6s var(--ease-out), color var(--t-fast);
}
.post__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.post__excerpt { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 46ch; }
@media (hover: hover) and (pointer: fine) {
  .post:hover .post__img img { transform: scale(1.05); }
  .post:hover .post__go { transform: none; opacity: 1; }
  .post:hover .post__title a { background-size: 100% 1px; }
}
.post:focus-within .post__go { transform: none; opacity: 1; }
.post__title a:focus-visible { outline: none; }
.post__title a:focus-visible::after { outline: 2px solid var(--indigo); outline-offset: 6px; }

/* Wide card: horizontal on large screens */
@media (min-width: 1024px) {
  .post--wide {
    grid-column: span 2;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto;
    gap: 0 28px;
  }
  .post--wide .post__img { grid-column: 1; grid-row: 1 / -1; aspect-ratio: auto; height: 100%; min-height: 340px; }
  .post--wide .post__meta { grid-column: 2; grid-row: 2; margin-top: 0; }
  .post--wide .post__title { grid-column: 2; grid-row: 3; }
  .post--wide .post__excerpt { grid-column: 2; grid-row: 4; }
  .post--wide .post__title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.22; letter-spacing: -.022em; }
}

/* Promo tile inside the grid */
.promo {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 100%;
  padding: 28px;
  border-radius: var(--r-md);
  background: var(--night); color: var(--on-night);
  overflow: hidden;
}
.promo::before {
  content: ""; position: absolute; right: -80px; top: -80px; z-index: -1;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 156, 255, .28), transparent 70%);
}
.promo .mono { color: var(--indigo-light); }
.promo__title { margin-top: 16px; font-size: 26px; line-height: 1.22; letter-spacing: -.022em; font-weight: 460; }
.promo__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.1em; line-height: 1; color: var(--indigo-light); }
.promo ul { margin-top: 18px; }
.promo li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--night-line); font-size: 14px; color: var(--on-night-2); }
.promo li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--indigo-light); transform: translateY(-2px) rotate(45deg); }
.promo .link { align-self: flex-start; }
.promo :focus-visible { outline-color: var(--indigo-light); }

.list__more { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.list__more .mono { color: var(--ink-3); }
.list__more-bar { width: 180px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.list__more-bar span { display: block; height: 100%; background: var(--indigo); transform-origin: left; transition: transform .6s var(--ease-out); }

.empty {
  margin-top: 40px; padding: clamp(40px, 6vw, 72px) 24px;
  border: 1px dashed var(--line-2); border-radius: var(--r-md);
  text-align: center;
}
.empty[hidden] { display: none; }
.empty h3 { font-size: 22px; letter-spacing: -.018em; font-weight: 500; }
.empty p { margin: 10px auto 22px; color: var(--ink-2); max-width: 44ch; }

/* ---------- Official sources index ---------- */
.src { border-top: 1px solid var(--line-2); }
.src li { border-bottom: 1px solid var(--line-2); }
.src a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) 46px;
  gap: 28px; align-items: center;
  padding: 26px 0;
}
.src a::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); z-index: -1;
  background: var(--paper-2); border-radius: var(--r-sm);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.src__no { color: var(--ink-3); transition: color var(--t-fast); }
.src__title { font-size: clamp(20px, 2vw, 28px); line-height: 1.22; letter-spacing: -.022em; font-weight: 450; transition: transform .5s var(--ease-out); }
.src__desc { color: var(--ink-2); font-size: 15px; }
.src__desc .mono { display: block; color: var(--ink-3); margin-bottom: 4px; font-size: 11px; }
.src__ic {
  justify-self: end; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med), border-color var(--t-med);
}
.src__ic svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .src a:hover::before { transform: scaleY(1); }
  .src a:hover .src__title { transform: translateX(12px); }
  .src a:hover .src__no { color: var(--indigo); }
  .src a:hover .src__ic { background: var(--ink); border-color: var(--ink); color: #fff; }
}

/* =====================================================================
   ARTICLE
   ===================================================================== */
.ah .crumbs { margin-bottom: clamp(24px, 3.5vw, 44px); }
.ah__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.ah__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--ink-3); }
.ah__title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12; letter-spacing: -.03em; font-weight: 460;
  text-wrap: balance; max-width: 18ch;
}
.ah__lead { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; max-width: 46ch; }

.byline {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.byline__who { display: flex; align-items: center; gap: 14px; }
.byline__av {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--indigo);
}
.byline__av svg { width: 22px; height: 22px; color: #fff; }
.byline__name { font-weight: 520; font-size: 15px; line-height: 1.35; }
.byline__role { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.byline__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.byline__facts div { display: grid; gap: 2px; }
.byline__facts dt { color: var(--ink-3); font-size: 11px; }
.byline__facts dd { margin: 0; font-size: 15px; font-weight: 480; }

.share { display: flex; align-items: center; gap: 8px; }
.share__label { color: var(--ink-3); margin-right: 6px; }
.share a, .share button {
  position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.share a:hover, .share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share svg { width: 18px; height: 18px; }

/* Cover */
.cover { padding-inline: 10px; margin-top: clamp(32px, 4vw, 56px); }
.cover__frame {
  position: relative; aspect-ratio: 21 / 9;
  border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2);
}
.cover__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 45%; }
.cover figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 14px auto 0; padding-inline: var(--gutter);
  color: var(--ink-3); font-size: 14px;
}

/* ---------- Article layout: TOC | body | rail ---------- */
.art {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 270px;
  gap: clamp(40px, 4.5vw, 72px);
  padding-top: clamp(48px, 6vw, 96px);
  align-items: start;
}
.art__toc, .art__rail { position: sticky; top: 112px; transition: top .6s var(--ease-out); }
body.hdr-hidden .art__toc, body.hdr-hidden .art__rail { top: 32px; }

/* TOC */
.toc__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--ink-3); }
.toc__pct { color: var(--indigo); font-variant-numeric: tabular-nums; }
.toc__list { position: relative; border-left: 1px solid var(--line-2); }
.toc__fill {
  position: absolute; left: -1px; top: 0; width: 2px; height: 100%;
  background: var(--indigo); transform-origin: top; transform: scaleY(0);
}
.toc__list a {
  display: grid; grid-template-columns: 26px 1fr; gap: 6px; align-items: baseline;
  padding: 9px 0 9px 16px;
  color: var(--ink-3); font-size: 14px; line-height: 1.4;
  transition: color var(--t-fast);
}
.toc__list a .mono { font-size: 11px; color: inherit; }
.toc__list a:hover { color: var(--ink); }
.toc__list a[aria-current="true"] { color: var(--ink); font-weight: 520; }
.toc__list a[aria-current="true"] .mono { color: var(--indigo); }
.toc__foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.toc__foot .share { flex-wrap: wrap; }

/* Right rail */
.rail-card {
  padding: 22px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line);
}
.rail-card + .rail-card { margin-top: 16px; }
.rail-card > .mono { color: var(--indigo); }
.quick { margin-top: 12px; }
.quick div { padding: 13px 0; border-top: 1px solid var(--line); }
.quick div:first-child { border-top: 0; }
.quick dt { color: var(--ink-3); font-size: 13px; }
.quick dd { margin: 2px 0 0; font-size: 22px; letter-spacing: -.02em; font-weight: 460; font-variant-numeric: tabular-nums; line-height: 1.3; }
.rail-card__src { margin-top: 10px; color: var(--ink-3); font-size: 12px; }
.rail-card--dark { background: var(--night); color: var(--on-night); border-color: var(--night); padding: 0; overflow: hidden; }
.rail-card--dark img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rail-card--dark .rail-card__in { padding: 20px 22px 22px; }
.rail-card--dark .mono { color: var(--indigo-light); }
.rail-card--dark h3 { margin-top: 10px; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.rail-card--dark p { margin-top: 8px; color: var(--on-night-2); font-size: 14px; }
.rail-card--dark .btn { margin-top: 18px; }
.rail-card--dark :focus-visible { outline-color: var(--indigo-light); }

/* Mobile inline TOC (no-JS friendly) */
.toc-m { display: none; }

/* ---------- Prose ---------- */
.prose { color: var(--prose); font-size: 18px; line-height: 1.75; min-width: 0; width: 100%; max-width: 700px; justify-self: center; }
.prose > * + *, .prose section > * + * { margin-top: 1.25em; }
.prose section > .sec-no + h2 { margin-top: 0; }
.prose em[lang] { font-family: var(--f-serif); font-style: italic; font-size: 1.12em; line-height: 1; letter-spacing: 0; }
.prose p { text-wrap: pretty; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a:not([class]) {
  color: var(--indigo-deep);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
  text-decoration-color: rgba(30, 0, 215, .35);
  transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
.prose a:not([class]):hover { color: var(--indigo); text-decoration-color: currentColor; }
.prose abbr[title] { text-decoration: underline dotted rgba(15, 15, 20, .4); text-underline-offset: .2em; cursor: help; }

.prose section { scroll-margin-top: 110px; }
.prose section + section { margin-top: clamp(56px, 6vw, 88px); }
.prose h2 {
  position: relative;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.024em; font-weight: 480;
  color: var(--ink); text-wrap: balance;
  scroll-margin-top: 110px;
}
.prose h2 em { font-size: 1.08em; }
.sec-no { display: flex; align-items: center; gap: 12px; color: var(--indigo); margin-bottom: 16px; }
.sec-no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prose h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.015em; font-weight: 540; color: var(--ink); margin-top: 2em; }
.h-anchor {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 32px; height: 32px; margin-left: 6px; border-radius: 8px;
  color: var(--ink-3); opacity: 0;
  transition: opacity var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.h-anchor svg { width: 16px; height: 16px; }
.prose h2:hover .h-anchor, .h-anchor:focus-visible { opacity: 1; }
.h-anchor:hover { background: var(--paper-2); color: var(--indigo); }
@media (hover: none) { .h-anchor { display: none; } }

/* Lists */
.prose ul:not([class]) > li, .prose ol:not([class]) > li { position: relative; padding-left: 30px; }
.prose ul:not([class]) > li + li, .prose ol:not([class]) > li + li { margin-top: .55em; }
.prose ul:not([class]) > li::before {
  content: ""; position: absolute; left: 6px; top: .72em;
  width: 7px; height: 7px; background: var(--indigo); transform: rotate(45deg);
}
.prose ol:not([class]) { counter-reset: ol; }
.prose ol:not([class]) > li { counter-increment: ol; padding-left: 40px; }
.prose ol:not([class]) > li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute; left: 0; top: .12em;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--indigo);
}

/* Summary box */
.tldr {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line);
}
.tldr__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink-3); }
.tldr__head .mono:first-child { color: var(--indigo); }
.tldr__title { margin-top: 12px; font-size: 21px; line-height: 1.35; letter-spacing: -.015em; font-weight: 520; color: var(--ink); }
.tldr ul { margin-top: 16px; }
.tldr li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 16px; line-height: 1.6;
}
.tldr li svg { width: 20px; height: 20px; margin-top: 3px; padding: 4px; border-radius: 50%; background: var(--indigo); color: #fff; }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-block: 1px solid var(--line-2); }
.stats > div { padding: 22px 18px 22px 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { color: var(--ink-3); font-size: 11px; line-height: 1.4; }
.stats dd { margin: 0; }
.stats .n { display: block; margin-top: 10px; white-space: nowrap; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -.035em; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats .d { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fig-src { margin-top: 10px !important; font-size: 13px; color: var(--ink-3); }

/* Figures */
.prose figure img { width: 100%; border-radius: var(--r-md); background: var(--paper-2); }
.prose figcaption { display: flex; gap: 12px; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.prose figcaption .mono { color: var(--indigo); flex: none; padding-top: 2px; font-size: 11px; }
.fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fig-pair img { aspect-ratio: 4 / 5; object-fit: cover; }
.fig-pair figure figcaption { font-size: 13px; }

/* Quotes */
.pull {
  position: relative;
  margin-block: clamp(40px, 5vw, 64px) !important;
  padding: 8px 0 8px clamp(24px, 3vw, 40px);
  border-left: 2px solid var(--indigo);
}
.pull p {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(27px, 2.6vw, 36px); line-height: 1.28; letter-spacing: -.01em;
  color: var(--ink); text-wrap: balance;
}
.pull footer { margin-top: 16px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); }
.pull footer::before { content: ""; width: 24px; height: 1px; background: currentColor; }

.cite {
  padding: 22px 24px; border-radius: var(--r-md);
  background: var(--paper-2);
}
.cite__src { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.cite__src svg { width: 18px; height: 18px; color: var(--indigo); }
.cite p.cite__src { margin-top: 0; font-size: 11px; line-height: 1.4; color: var(--ink-3); }
.cite p { margin-top: 10px; font-size: 19px; line-height: 1.55; color: var(--ink); letter-spacing: -.008em; }
.cite footer { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

/* Callouts */
.callout {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-md);
  font-size: 16px; line-height: 1.65;
}
.callout__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.callout__ic svg { width: 20px; height: 20px; }
.callout__t { display: block; margin-bottom: 4px; }
.callout p + p { margin-top: .6em; }
.callout--note { background: var(--indigo-soft); color: #231A63; }
.callout--note .callout__ic { background: var(--indigo); color: #fff; }
.callout--note .callout__t { color: var(--indigo-deep); }
.callout--warn { background: var(--card); border: 1px solid var(--line-2); border-left: 3px solid var(--ink); }
.callout--warn .callout__ic { background: var(--ink); color: #fff; }
.callout--warn .callout__t { color: var(--ink); }
.callout--tip { background: transparent; border: 1px dashed rgba(30, 0, 215, .4); }
.callout--tip .callout__ic { background: var(--indigo-soft); color: var(--indigo); }
.callout--tip .callout__t { color: var(--indigo); }

/* Table */
.table-wrap {
  position: relative;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--card);
  scrollbar-width: thin;
}
.table-wrap:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; min-width: 640px; table-layout: fixed; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose caption { text-align: left; padding: 16px 20px 0; color: var(--ink-3); caption-side: top; }
.prose th, .prose td { padding: 14px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding-top: 18px; }
.prose tbody th { font-weight: 560; color: var(--ink); }
.prose tbody th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.prose table.auto { table-layout: auto; }
.prose table.auto tbody th { min-width: 150px; }
.prose table.auto th, .prose table.auto td { min-width: 110px; }
.prose .tbl-cap { font-size: 11px; color: var(--ink-3); }
.prose .tbl-cap + .table-wrap { margin-top: 10px; }
.cell-note { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.prose tbody tr.is-pick { background: rgba(228, 224, 251, .45); }
.pick { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 6px; background: var(--indigo); color: #fff; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.table-hint { display: none; margin-top: 8px !important; font-size: 13px; color: var(--ink-3); }

/* Checklist */
.checklist { border-top: 1px solid var(--line-2); }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist label {
  position: relative;
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 14px 0; cursor: pointer;
  font-size: 16px; line-height: 1.55;
}
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist .box {
  width: 24px; height: 24px; margin-top: 1px; border-radius: 7px;
  border: 1.5px solid var(--line-2); background: var(--card);
  display: grid; place-items: center; color: transparent;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.checklist .box svg { width: 14px; height: 14px; }
.checklist input:checked + .box { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.checklist input:focus-visible + .box { outline: 2px solid var(--indigo); outline-offset: 3px; }
.checklist label:hover .box { border-color: var(--ink); }
.checklist b { display: block; font-weight: 560; color: var(--ink); }
.checklist small { display: block; color: var(--ink-3); font-size: 14px; }
.checklist input:checked ~ span b { text-decoration: line-through; text-decoration-color: rgba(15, 15, 20, .35); }
.checklist-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px !important; color: var(--ink-3); font-size: 14px; }
.checklist-foot button { padding: 10px 0; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; }
.checklist-foot button:hover { color: var(--indigo); }

/* Steps */
.steps { position: relative; counter-reset: st; padding-left: 44px; }
.steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.steps > li { position: relative; padding-bottom: 32px; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: -44px; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
}
.steps > li.is-key::before { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.step-card { padding: 20px 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.step-card__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.step-card__top .mono { color: var(--indigo); }
.step-card__time { padding: 4px 9px; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); font-size: 11px; }
.step-card h3 { margin-top: 10px !important; font-size: 20px; }
.step-card p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.step-card dl { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.step-card dl div { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.step-card dt { color: var(--indigo); font-size: 11px; margin-bottom: 4px; }
.step-card dd { margin: 0; color: var(--ink); }

/* Tax scale */
.scale { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 4px; }
.scale li { padding: 16px 16px 14px; border-radius: 12px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.scale li:nth-child(1) { background: var(--indigo-soft); color: var(--indigo-deep); }
.scale li:nth-child(2) { background: linear-gradient(90deg, #C9C0FA, #7D69F0); color: #140A5C; }
.scale li:nth-child(3) { background: var(--indigo); color: #fff; }
.scale .r { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; font-weight: 440; font-variant-numeric: tabular-nums; }
.scale .r small { font-size: 15px; letter-spacing: -.01em; font-weight: 500; }
.scale .mono { font-size: 11px; line-height: 1.4; opacity: .9; }

/* Duties timeline */
.duties { border-top: 1px solid var(--line-2); }
.duties li {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.duties .when { color: var(--indigo); font-size: 12px; padding-top: 4px; line-height: 1.5; }
.duties b { display: block; font-weight: 560; color: var(--ink); font-size: 17px; line-height: 1.45; }
.duties span.d { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.duties .who { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 10.5px; white-space: nowrap; }

/* FAQ inside article (details/summary) */
.afaq { border-top: 1px solid var(--line-2); }
.afaq details { border-bottom: 1px solid var(--line-2); }
.afaq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 1.45; letter-spacing: -.01em; font-weight: 520; color: var(--ink);
  transition: color var(--t-fast);
}
.afaq summary::-webkit-details-marker { display: none; }
.afaq summary:hover { color: var(--indigo); }
.afaq summary i {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med), color var(--t-med);
}
.afaq summary i::before, .afaq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px;
  background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease-out);
}
.afaq summary i::after { transform: rotate(90deg); }
.afaq details[open] summary i { background: var(--ink); border-color: var(--ink); color: #fff; }
.afaq details[open] summary i::after { transform: rotate(0deg); }
.afaq .a { padding: 0 56px 22px 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* Glossary */
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.gloss div { padding: 16px 0; border-top: 1px solid var(--line); }
.gloss dt { font-weight: 560; color: var(--ink); font-size: 16px; }
.gloss dt span { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--indigo); margin-left: 8px; }
.gloss dd { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Sources */
.refs { counter-reset: rf; }
.refs li { counter-increment: rf; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.refs li::before { content: "[" counter(rf) "]"; font-family: var(--f-mono); font-size: 12px; color: var(--indigo); padding-top: 2px; }
.refs a { word-break: break-word; }
.refs small { display: block; color: var(--ink-3); font-size: 13px; }

/* After-article blocks */
.art-end { margin-top: clamp(56px, 6vw, 88px) !important; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tags .mono { color: var(--ink-3); margin-right: 6px; }
.tags a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.tags a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.disclaimer { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--paper-2); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.disclaimer svg { width: 20px; height: 20px; color: var(--ink-3); margin-top: 1px; }

.author {
  display: grid; grid-template-columns: 72px 1fr; gap: 22px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line);
}
.author__av { width: 72px; height: 72px; border-radius: 20px; background: var(--indigo); display: grid; place-items: center; }
.author__av svg { width: 34px; height: 34px; color: #fff; }
.author .mono { color: var(--ink-3); }
.author h2 { margin-top: 6px; font-size: 22px !important; line-height: 1.3; letter-spacing: -.018em; font-weight: 520; }
.author p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.author__cta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn a {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line-2);
  color: var(--ink);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.pn a:hover { background: var(--card); border-color: var(--ink); }
.pn .mono { display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.pn .mono svg { width: 16px; height: 16px; }
.pn__next { text-align: right; align-items: flex-end; }
.pn__prev .mono svg { transform: rotate(180deg); }
.pn b { font-size: 17px; line-height: 1.4; font-weight: 520; letter-spacing: -.01em; }

/* Related */
.related { padding-block: var(--sec); }
html:not(.js) .list__more { display: none; }
.related .grid { margin-top: 0; }

/* Copy toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
  pointer-events: none;
}
.toast svg { width: 16px; height: 16px; color: var(--indigo-light); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* Mobile reading bar + TOC sheet */
.rbar, .sheet, .scrim { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1359px) {
  .art { grid-template-columns: 230px minmax(0, 1fr); }
  .art__rail { position: static; grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .art__rail .rail-card + .rail-card { margin-top: 0; }
}
@media (max-width: 1023px) {
  .bh__grid, .ah__grid { grid-template-columns: 1fr; gap: 24px; }
  .bh__facts { grid-template-columns: 1fr 1fr; }
  .bh__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .bh__facts div:nth-child(n+3) { margin-top: 16px; border-top: 1px solid var(--line); }
  .inbox { display: none; }
  .feat__inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .list__head { grid-template-columns: 1fr; }
  .src a { grid-template-columns: 44px minmax(0, 1fr) 46px; gap: 16px; }
  .src__desc { display: none; }

  .art { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .art__toc { display: none; }
  .art__rail { grid-column: 1; }
  .toc-m { display: block; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--card); }
  .toc-m summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    min-height: 56px; padding: 0 18px; cursor: pointer; list-style: none;
    font-weight: 520; color: var(--ink); font-size: 16px;
  }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary .mono { color: var(--ink-3); font-weight: 500; }
  .toc-m summary svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
  .toc-m[open] summary svg { transform: rotate(180deg); }
  .toc-m ol { padding: 0 18px 10px; }
  .toc-m a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .toc-m a .mono { color: var(--indigo); font-size: 11px; padding-top: 3px; }

  .cover__frame { aspect-ratio: 16 / 9; }

  /* reading bar */
  .js .rbar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    padding: 6px 6px 6px 8px; min-height: 56px;
    border-radius: 999px;
    background: rgba(15, 15, 20, .92); color: #fff;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px -18px rgba(15, 15, 20, .6);
    transform: translateY(160%); transition: transform .55s var(--ease-out);
  }
  .js .rbar.is-on { transform: none; }
  .rbar__ring { position: relative; width: 40px; height: 40px; flex: none; }
  .rbar__ring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
  .rbar__ring circle { fill: none; stroke-width: 2.5; }
  .rbar__ring .bg { stroke: rgba(255, 255, 255, .16); }
  .rbar__ring .fg { stroke: var(--indigo-light); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
  .rbar__ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; font-weight: 500; }
  .rbar__txt { min-width: 0; flex: 1; line-height: 1.3; }
  .rbar__txt .mono { display: block; color: rgba(255, 255, 255, .56); font-size: 10px; }
  .rbar__txt b { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 2px; }
  .rbar button {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px; border-radius: 999px;
    background: #fff; color: var(--ink); font-size: 13px; font-weight: 500;
  }
  .rbar button svg { width: 16px; height: 16px; }
  .rbar :focus-visible { outline-color: var(--indigo-light); }

  .js .scrim { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(10, 9, 16, .5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
  .js .scrim.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }
  .js .sheet {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    max-height: 78vh; max-height: 78dvh; overflow-y: auto;
    padding: 12px 20px max(24px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: var(--paper);
    transform: translateY(105%); visibility: hidden;
    transition: transform .55s var(--ease-out), visibility 0s linear .55s;
  }
  .js .sheet.is-on { transform: none; visibility: visible; transition: transform .55s var(--ease-out); }
  .sheet__grip { width: 44px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 14px; }
  .sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .sheet__head .mono { color: var(--ink-3); }
  .sheet__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
  .sheet__close svg { width: 18px; height: 18px; }
  .sheet a { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; color: var(--ink-2); }
  .sheet a .mono { color: var(--ink-3); font-size: 11px; padding-top: 3px; }
  .sheet a[aria-current="true"] { color: var(--ink); font-weight: 520; }
  .sheet a[aria-current="true"] .mono { color: var(--indigo); }
  body.has-rbar .toast { bottom: 84px; }
  /* Leave room for the floating contact button (css/contact-fab.css, 76px at 16px from the edge) */
  .js .rbar { right: 102px; bottom: max(26px, calc(env(safe-area-inset-bottom) + 26px)); }
  .rbar button { padding: 0 14px; }
}
@media (max-width: 767px) {
  .bh__facts dd { font-size: 17px; }
  .feat { padding-inline: 10px; }
  .feat__frame { min-height: 600px; }
  .feat__lead { font-size: 16px; }
  .feat__cta .btn { width: 100%; justify-content: space-between; }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .post__img { aspect-ratio: 16 / 11; }
  .post__go { opacity: 1; transform: none; }
  .src a { padding: 22px 0; }

  .byline { flex-direction: column; align-items: flex-start; }
  .byline__facts { gap: 8px 22px; }
  .cover__frame { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .art__rail { grid-template-columns: 1fr; }

  .prose { font-size: 17px; line-height: 1.72; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fig-pair { grid-template-columns: 1fr; }
  .fig-pair img { aspect-ratio: 4 / 3; }
  .scale { grid-template-columns: 1fr; }
  .scale li { min-height: 0; flex-direction: row; align-items: center; }
  .duties li { grid-template-columns: 1fr; gap: 6px; }
  .duties .who { justify-self: start; }
  .step-card dl { grid-template-columns: 1fr; }
  .step-card dl div + div { margin-top: 10px; }
  .afaq .a { padding-right: 0; }
  .gloss { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
  .pn__next { text-align: left; align-items: flex-start; }
  .table-hint { display: block; }
  .pull p { font-size: 26px; }
  .callout { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .callout__ic { width: 36px; height: 36px; border-radius: 10px; }
  .tldr li { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .rbar, .sheet, .toast { transition: none !important; }
}

/* Print: article only */
@media print {
  .hdr, .progress, .art__toc, .art__rail, .rbar, .sheet, .scrim, .cta, .ftr, .related, .share, .toc-m, .cover, .skip { display: none !important; }
  .art { display: block; padding: 0; }
  body { background: #fff; }
  .prose { font-size: 12pt; }
}
