@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/outfit-300-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* RevitClub.net: fieldnotes-revit 3.1.0. Skeleton E (mosaic), drafting-sheet motif, three colour schemes. */

:root, .scheme-bluehour {
  --paper: #F3F7FA; --paper-2: #F7FAFD; --ink: #0A1D3A; --brand: #0F4282; --link-strong: #1C3A68; --link: #23589E;
  --muted: #5F6774; --grid: #D7E6F9; --grid-2: #E6EDF4; --dimtext: #9EA6B5; --rule: #E0E3E8; --rule-2: #CBCED3;
  --deep: #13293D; --seam: #E6E8EF; --focus: #FF6A13; --code-bg: #E8EEF5; --callout-bg: #E3EDF8; --callout-edge: #1F5AA6;
  --head-bg: #F3F7FA; --fade: #F3F7FA; --scrim: 8, 20, 38;
}
.scheme-blueprint {
  --paper: #0F2A4A; --paper-2: #12305A; --ink: #F3F7FA; --brand: #FFFFFF; --link-strong: #DCE9FA; --link: #A9CBF4;
  --muted: #AEBBCD; --grid: #284A75; --grid-2: #1D3B61; --dimtext: #6E8DB6; --rule: #284A75; --rule-2: #3A5D8A;
  --deep: #0A1F38; --seam: #0F2A4A; --code-bg: #0A1F38; --callout-bg: #163763; --callout-edge: #A9CBF4;
  --head-bg: #0F2A4A; --fade: #0F2A4A; --scrim: 6, 18, 36;
}
.scheme-architect {
  --paper: #1F5AA6; --paper-2: #2462B1; --ink: #FFFFFF; --brand: #FFFFFF; --link-strong: #FFFFFF; --link: #E6F0FC;
  --muted: #D9E5F6; --grid: #3D73B9; --grid-2: #3069B0; --dimtext: #8DB2E2; --rule: #4A7EC2; --rule-2: #6E97CF;
  --deep: #0F2A4A; --seam: #1F5AA6; --code-bg: #184C8E; --callout-bg: #1A4F94; --callout-edge: #FFFFFF;
  --head-bg: #1F5AA6; --fade: #1F5AA6; --scrim: 10, 28, 56;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--gh-font-body, Outfit), "Helvetica Neue", Arial, sans-serif; font-optical-sizing: auto;
  --gut: clamp(16px, 4.6vw, 66px); overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--focus); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.015em; }
h1, h2, h3, h4, .mark { font-family: var(--gh-font-heading, Outfit), "Helvetica Neue", Arial, sans-serif; }
p { margin: 0; }
button { font: inherit; }
code, pre, kbd, samp { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head { background: var(--head-bg); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.head-in { display: flex; align-items: center; gap: 16px; min-height: clamp(58px, 4.8vw, 70px); padding: 0 var(--gut); }
.mark { font-weight: 700; font-size: clamp(23px, 2.15vw, 31px); letter-spacing: -.035em; color: var(--brand); text-decoration: none; white-space: nowrap; line-height: 1; }
.mark:hover { color: var(--brand); }
.site-nav { margin-left: auto; margin-right: clamp(20px, 5.6vw, 82px); }
.site-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.1vw, 31px); }
.site-nav a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: clamp(13px, 1.04vw, 15px); white-space: nowrap; }
.site-nav a:hover, .site-nav .nav-current a { color: var(--ink); text-decoration: underline; }
.search-btn, .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn { display: none; }

/* ---------- homepage hero ---------- */
.hero-top { position: relative; overflow: hidden; background: linear-gradient(var(--paper-2), var(--paper)); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-grid svg { position: absolute; top: 0; }
.hg-lines { left: 0; width: 100%; height: 100%; }
.hg-left { left: clamp(8px, 2.6vw, 40px); top: clamp(10px, 3.6vw, 52px) !important; height: 78%; width: auto; aspect-ratio: 230 / 290; }
.hg-right { right: 0; height: 100%; width: auto; aspect-ratio: 274 / 336; }
.hero-grid path, .hero-grid circle { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-lines path { stroke: var(--grid-2); }
.g-dim path { stroke: var(--grid); }
.g-dim .faint { stroke: var(--grid-2); }
.g-dim .dot { fill: var(--grid); stroke: none; }
.g-text text { fill: var(--dimtext); font-size: 13px; letter-spacing: .02em; }
.hero-text { position: relative; text-align: center; padding: clamp(40px, 5.1vw, 74px) var(--gut) clamp(34px, 4.3vw, 62px); }
.hero h1 { display: block; }
.nb { white-space: nowrap; }
.h1-display { display: block; font-weight: 700; font-size: clamp(40px, 5.45vw, 80px); line-height: 1.02; letter-spacing: -.032em; color: var(--ink); }
.h1-lead { display: block; margin: clamp(12px, 1.25vw, 18px) auto 0; max-width: 40em; font-weight: 300; font-size: clamp(17px, 1.72vw, 25px); line-height: 1.35; letter-spacing: 0; color: var(--muted); }
.hero-links { list-style: none; margin: clamp(16px, 1.7vw, 26px) 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px clamp(24px, 2.8vw, 42px); }
.hero-links a { color: var(--link-strong); font-size: clamp(16px, 1.5vw, 22px); text-underline-offset: .24em; }
.hero-links a:hover { text-decoration-color: var(--focus); }

.hero-photo { position: relative; background: var(--deep); overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; object-position: 50% 50%; }
.hero-photo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(28px, 5.5vw, 80px); z-index: 1; background: linear-gradient(var(--fade), transparent); pointer-events: none; }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; background: linear-gradient(to top, rgba(19, 41, 61, .82), rgba(19, 41, 61, 0)); pointer-events: none; }
.hero-photo .linework { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
.hero-photo .linework img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* ---------- mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 48.5fr 25.75fr 25.75fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--seam); border-top: 3px solid var(--seam); aspect-ratio: 2.215 / 1; }
.mosaic > .tile:first-child { grid-row: span 2; }
.tile { position: relative; overflow: hidden; background: var(--deep); min-height: 0; }
.tile-link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.tile img, .tile-blank { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile-blank { background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 1px, transparent 1px 14px), linear-gradient(160deg, #1F5AA6, var(--deep)); }
.tile-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .88) 0, rgba(var(--scrim), .6) 40%, rgba(var(--scrim), 0) 72%); }
.tile-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 22px); }
.tile-title { color: #fff; text-shadow: 0 1px 2px rgba(8, 20, 38, .6); font-weight: 700; font-size: clamp(16px, 1.62vw, 23px); line-height: 1.18; letter-spacing: -.012em; }
.tile-sub { display: block; margin-top: 5px; color: rgba(255, 255, 255, .9); font-size: clamp(13px, 1.05vw, 15.5px); line-height: 1.4; }
.mosaic > .tile:first-child .tile-text { padding: 0 clamp(16px, 2.1vw, 30px) clamp(18px, 2.3vw, 32px); }
.mosaic > .tile:first-child .tile-title { font-size: clamp(22px, 2.5vw, 36px); max-width: 16em; }
.mosaic > .tile:first-child .tile-sub { font-size: clamp(14px, 1.2vw, 17px); }
.tile-link:hover img { transform: scale(1.03); }
.tile-link:hover .tile-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.tile-link:focus-visible { outline: none; box-shadow: none; }
.tile-link:focus-visible::before { content: ""; position: absolute; inset: 3px; z-index: 2; border: 3px solid #fff; box-shadow: 0 0 0 3px #0A1D3A, inset 0 0 0 3px #0A1D3A; pointer-events: none; }

/* ---------- cover sheet: title block with the issue schedule (latest guides) + sheet index (hubs) ---------- */
.sheet { background: var(--paper); }
.sheet-in { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: clamp(40px, 4.4vw, 68px); padding: clamp(36px, 4.1vw, 60px) var(--gut) clamp(76px, 7vw, 104px); }
.tb-h, .si-h { position: relative; padding-bottom: 16px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.012em; }
.tb-h::after, .si-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 7px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2);
  background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }
.title-block { flex: 0 0 32.5%; min-width: 0; padding: clamp(20px, 1.9vw, 28px) clamp(18px, 1.7vw, 26px) clamp(16px, 1.5vw, 22px); background: var(--paper-2); border: 3px double var(--rule-2); }
.schedule { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 16.5px; line-height: 1.4; }
.schedule th { padding: 0 14px 7px 0; border-bottom: 1px solid var(--rule-2); text-align: left; font-weight: 400; font-size: 14px; color: var(--muted); }
.schedule td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.schedule th:last-child, .schedule td:last-child { padding-right: 0; }
.schedule tr:last-child td { border-bottom: 0; }
.sc-date { width: 1%; white-space: nowrap; font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-date time { display: block; padding-top: 2px; }
.sc-title { display: inline-block; padding: 2px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.sc-title:hover { text-decoration: underline; }
.sc-tag { display: table; padding: 2px 0; font-size: 14.5px; text-decoration: none; }
.sc-tag:hover { text-decoration: underline; }
.tb-more { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--rule-2); font-size: 16px; }
.tb-more a { display: inline-block; padding: 2px 0; font-weight: 500; }
.sheet-index { flex: 1 1 auto; min-width: 0; }
.hub-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 3.6vw, 56px); margin-top: clamp(22px, 2.2vw, 30px); }
.hub { position: relative; }
.hub + .hub { margin-top: clamp(20px, 1.9vw, 26px); padding-top: clamp(22px, 2.1vw, 28px); }
.hub + .hub::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2);
  background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }
.hub-h { font-size: clamp(18px, 1.4vw, 20px); font-weight: 700; letter-spacing: -.008em; line-height: 1.3; }
.hub-h a { display: inline-block; padding: 2px 0; color: var(--ink); text-decoration: none; }
.hub-h a:hover { text-decoration: underline; }
.hub-line { margin-top: 3px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.hub-list { margin: 10px 0 0; padding: 0; list-style: none; }
.hub-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; align-items: baseline; padding: 3px 0; font-size: 16px; line-height: 1.4; }
.hub-list a { display: inline-block; padding: 2px 0; text-decoration: none; }
.hub-list a:hover { text-decoration: underline; color: var(--ink); }
.hub-list time { white-space: nowrap; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-tasks { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.hub-tasks .tk { white-space: normal; }
.topic-links { margin-top: 4px; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.55; color: var(--link); }
.topic-links a { text-decoration: none; }
.topic-links .tl { white-space: nowrap; }
.topic-links a:hover { text-decoration: underline; color: var(--ink); }
.sl { color: var(--rule-2); padding: 0 .2em; }

/* ---------- footer ---------- */
.site-foot { background: var(--paper); }
.foot-in { position: relative; padding: 0 var(--gut) clamp(20px, 2vw, 30px); }
.crosshair { position: absolute; right: calc(var(--gut) - 34px); top: -72px; width: 46px; height: 62px; }
.crosshair path, .crosshair circle { fill: none; stroke: var(--rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.foot-rule { position: relative; display: block; height: 1px; background: var(--rule-2); }
.foot-rule::after { content: ""; position: absolute; right: -1px; top: -6px; width: 1px; height: 13px; background: var(--rule-2); transform: rotate(45deg); }
.foot-rule::before { content: ""; position: absolute; right: -1px; top: -9px; width: 1px; height: 19px; background: var(--rule-2); }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 40px; padding-top: clamp(14px, 1.5vw, 22px); }
.foot-line { font-size: clamp(13px, 1vw, 14.5px); color: var(--muted); }
.foot-tm { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--muted); max-width: 62em; }
.foot-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 28px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); font-size: clamp(13px, 1vw, 14.5px); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.home-template .site-foot, .site-foot { border-top: 0; }

/* ---------- inner page headers (grid behind, like the hero) ---------- */
.post-head, .tag-head, .list-head, .error-head { position: relative; overflow: hidden; background: linear-gradient(var(--paper-2), var(--paper)); }
.head-text { position: relative; max-width: calc(820px + 2 * var(--gut)); margin: 0 auto; padding: clamp(36px, 5vw, 76px) var(--gut) clamp(30px, 3.6vw, 52px); }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.sep { padding: 0 .3em; color: var(--rule-2); }
.post-head h1, .tag-head h1, .list-head h1 { font-size: clamp(34px, 4.1vw, 58px); font-weight: 700; letter-spacing: -.028em; line-height: 1.05; }
.dek { margin-top: 14px; font-weight: 300; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--muted); max-width: 40em; }
.byline { margin-top: 18px; font-size: 15px; color: var(--muted); }
.byline a { color: var(--link-strong); }
.author-head .avatar { border-radius: 50%; margin-bottom: 16px; }
.author-meta { margin-top: 10px; display: flex; gap: 18px; font-size: 15px; color: var(--muted); }

.post-cover, .tag-cover { margin: 0; background: var(--deep); }
.post-cover img { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; }
.tag-cover img { width: 100%; aspect-ratio: 3.4 / 1; object-fit: cover; }
.dim { display: flex; align-items: center; gap: 14px; padding: 10px var(--gut) 0; background: var(--paper); font-size: 14px; color: var(--muted); }
.dim::before, .dim::after { content: ""; flex: 1; height: 7px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2);
  background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }

/* ---------- article body ---------- */
.gh-content { max-width: calc(720px + 2 * var(--gut)); margin: 0 auto; padding: clamp(36px, 4vw, 56px) var(--gut) 0; }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content h2 { position: relative; font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; margin-top: 1.7em; padding-bottom: 12px; }
.gh-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 7px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2);
  background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }
.gh-content h3 { font-size: 23px; font-weight: 600; margin-top: 1.5em; }
.gh-content p, .gh-content li { font-size: 18.5px; line-height: 1.7; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content figure { margin: 2em 0 0; }
.gh-content figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.gh-content pre { margin-top: 1.4em; background: var(--code-bg); color: var(--ink); border-left: 3px solid var(--callout-edge); overflow: hidden; font-size: 14.5px; line-height: 1.6; }
.gh-content pre code { display: block; padding: 16px 22px 16px 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: pre;
  background: linear-gradient(90deg, var(--code-bg) 30%, transparent) left center / 28px 100% no-repeat local,
    linear-gradient(270deg, var(--code-bg) 30%, transparent) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(var(--scrim), .3), transparent) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(var(--scrim), .3), transparent) right center / 14px 100% no-repeat scroll,
    var(--code-bg); }
.gh-content :not(pre) > code { background: var(--code-bg); padding: .1em .35em; font-size: .86em; overflow-wrap: anywhere; }
.gh-content kbd { display: inline-block; padding: .05em .45em; border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 4px; background: var(--paper-2); font-size: .82em; line-height: 1.4; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16.5px; display: block; overflow-x: auto; }
.gh-content th, .gh-content td { border-bottom: 1px solid var(--rule); padding: 10px 18px 10px 0; text-align: left; vertical-align: top; }
.gh-content th { font-weight: 600; border-bottom-color: var(--rule-2); }
.gh-content blockquote { margin: 1.6em 0 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--callout-edge); font-size: 20px; }
.gh-content hr { border: 0; height: 10px; margin: 2.4em 0 0; background: repeating-linear-gradient(135deg, var(--rule-2) 0 1px, transparent 1px 8px); }
.kg-image-card img, .kg-width-wide img, .kg-width-full img { width: 100%; }
.kg-callout-card { display: flex; gap: 12px; background: var(--callout-bg); border-left: 3px solid var(--callout-edge); padding: 16px 20px; }
.kg-callout-text { font-size: 17px; line-height: 1.6; }
.kg-toggle-card { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; }
.kg-toggle-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; }
.kg-toggle-heading-text { margin: 0; font-size: 20px; font-weight: 600; }
.kg-toggle-card-icon { flex: 0 0 auto; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--link); cursor: pointer; transition: transform .2s; }
.kg-toggle-card-icon svg { width: 14px; height: 14px; }
.kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-card-icon { transform: rotate(180deg); }
.kg-toggle-content { height: 0; overflow: hidden; }
.kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-content { height: auto; padding-top: 8px; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 3px; }
.kg-gallery-row { display: flex; gap: 3px; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card a { display: flex; border: 1px solid var(--rule); color: inherit; text-decoration: none; }
.kg-bookmark-content { padding: 16px; flex: 1; min-width: 0; }
.kg-bookmark-title { font-weight: 600; }
.kg-bookmark-description { color: var(--muted); font-size: 15px; }
.kg-bookmark-thumbnail { flex: 0 0 32%; position: relative; }
.kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-embed-card iframe, .kg-video-card video { max-width: 100%; }
.kg-button-card a, .kg-btn { display: inline-block; color: var(--link-strong); text-decoration: underline; }
@media (min-width: 1100px) { .gh-content .kg-width-wide { margin-left: -160px; margin-right: -160px; } }
.gh-content .kg-width-full { width: 100vw; margin-left: calc(50% - 50vw); }

.post-foot { max-width: calc(720px + 2 * var(--gut)); margin: 0 auto; padding: 36px var(--gut) 0; }
.post-tags { font-size: 16px; color: var(--muted); }
.post-tags span { margin-right: 6px; }
.bio { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.bio .avatar { border-radius: 50%; flex: 0 0 auto; }
.bio-name { font-weight: 600; }
.bio-name a { color: var(--ink); text-decoration: none; }
.bio p { font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.bio .bio-name { color: var(--ink); }

.related { margin-top: clamp(48px, 5vw, 72px); }
.related h2 { padding: 0 var(--gut) 16px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; }
.related-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--seam); border-top: 3px solid var(--seam); }
.related-mosaic .tile { aspect-ratio: 4 / 3; }

/* ---------- lists (tag, author, index) ---------- */
.list { max-width: calc(980px + 2 * var(--gut)); margin: 0 auto; padding: clamp(28px, 3vw, 44px) var(--gut) 24px; }
.row { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row:first-child { padding-top: 0; }
.row-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.row-text { min-width: 0; }
.row-text:only-child { grid-column: 1 / -1; }
.row-tag { font-size: 15px; color: var(--muted); }
.row-tag .sep { padding: 0 .45em; }
.row-tag a { text-decoration: none; }
.row-title { margin-top: 4px; font-size: clamp(21px, 1.8vw, 25px); font-weight: 600; letter-spacing: -.012em; }
.row-title a { color: var(--ink); text-decoration: none; }
.row-title a:hover { text-decoration: underline; }
.row-sub { margin-top: 6px; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.more-topics { max-width: calc(980px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut) clamp(40px, 4vw, 60px); }
.mt-h { position: relative; padding: 22px 0 0; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.mt-h::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2);
  background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }
.more-topics ul { display: flex; flex-wrap: wrap; margin: 6px 0 0; padding: 0; list-style: none; font-size: 16.5px; line-height: 1.55; }
.more-topics li + li::before { content: "/"; padding: 0 .45em; color: var(--rule-2); }
.more-topics a { display: inline-block; padding: 2px 0; text-decoration: none; }
.more-topics a:hover { text-decoration: underline; color: var(--ink); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: calc(980px + 2 * var(--gut)); margin: 0 auto; padding: 12px var(--gut) 56px; font-size: 16px; color: var(--muted); }

/* ---------- error ---------- */
.error-head .head-text { text-align: center; }
.err-code { display: block; font-size: clamp(64px, 9vw, 128px); font-weight: 700; letter-spacing: -.04em; color: var(--brand); line-height: 1; }
.err-msg { display: block; margin-top: 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; }
.error-head .dek { margin-left: auto; margin-right: auto; }
.search-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--paper-2); color: var(--ink); cursor: pointer; font-size: 17px; }
.search-pill:hover { border-color: var(--link); }
.err-hubs { margin-top: 22px; }
.error-band img { width: 100%; aspect-ratio: 3.4 / 1; object-fit: cover; }
.error-page + .site-foot, .error-band + * { margin-top: 0; }
.site-foot { padding-top: clamp(28px, 3vw, 44px); }
.home-template .site-foot { padding-top: 0; }

/* ---------- narrower screens ---------- */
@media (max-width: 1099.98px) {
  .mosaic > .tile:not(:first-child) .tile-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .menu-btn { display: grid; }
  .search-btn { margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--head-bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 18px; }
  .nav-open .site-nav { display: block; }
  .site-nav .nav { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 11px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--rule); }
}
@media (max-width: 1199.98px) {
  .sheet-in { flex-direction: column; align-items: stretch; }
  .title-block { flex: none; width: 100%; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .mosaic > .tile:not(:first-child) .tile-sub { display: none; }
}
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .mosaic > .tile:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; }
  .mosaic > .tile { aspect-ratio: 1 / 1.1; }
  .tile-link::after { background: linear-gradient(to top, rgba(var(--scrim), .92) 0, rgba(var(--scrim), .66) 45%, rgba(var(--scrim), 0) 78%); }
  .hub-cols { grid-template-columns: 1fr; }
  .hub-col + .hub-col { margin-top: clamp(22px, 2.2vw, 30px); padding-top: clamp(24px, 2.4vw, 32px); position: relative; }
  .hub-col + .hub-col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2);
    background: linear-gradient(var(--rule-2), var(--rule-2)) center / 100% 1px no-repeat; }
  .hub-tasks .tk { white-space: normal; }
  .related-mosaic { grid-template-columns: 1fr; }
  .row { grid-template-columns: 34% 1fr; gap: 16px; align-items: start; }
  .crosshair { display: none; }
  .foot-row { flex-direction: column; }
}
@media (max-width: 700px) {
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .hg-left, .hg-right { display: none; }
  .gh-content p, .gh-content li { font-size: 17.5px; }
  .tag-cover img, .error-band img { aspect-ratio: 2 / 1; }
  .post-cover img { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* tap targets >= 24px for short links (FLEET-SPEC accessibility) */
.topic-links a, .hero-links a, .foot-nav a, .crumbs a, .byline a, .row-tag a, .post-tags a, .foot-legal a { display: inline-block; padding: 2px 0; }
.foot-nav a { padding: 4px 0; }

/* Published topic availability: labels stay visible without dead links. */
a[data-empty-topic] { cursor: default; text-decoration: none; }

.sc-tag { min-height: 24px; padding-block: 4px; margin-top: 4px; }

/* 3.1.4: empty topics are not rendered; the mosaic keeps four small tiles, reserve tiles beyond that stay hidden */
.mosaic > .tile:nth-child(n+6) { display: none; }
.mosaic > .tile:nth-child(4):last-child { grid-column: span 2; }
.err-hubs > .sl:last-child { display: none; }
@media (max-width: 760px) { .mosaic > .tile:nth-child(4):last-child { aspect-ratio: 2 / 1.1; } }
