@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(../fonts/red-hat-display-700-900-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;
}
@font-face {
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/red-hat-text-400-600-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;
}

/* fieldnotes-blender 3.1.0 - BlenderPro.net. Skeleton D: studio hero + colour-banded chapters.
   3.1.0 blog blocks: latest feed as a studio still life, studio index rows, one material ball per hub.
   Scheme 1 "Studio" = mockup palette (charcoal, studio orange, steel blue). */
:root {
  --hero: #1A1B1F; --hero-2: #24252A; --white: #FFFAF0; --nav: #D8D9DD; --lead: #E4E5E9; --foot: #C1C2C6;
  --orange: #E2681F; --orange-hi: #F5792A; --orange-dk: #B4511D; --glow: 245, 121, 42; --blue-glow: 61, 123, 196;
  --b1: #B4511D; --b1-hi: #CC6427; --b1-sub: #FFF6EF; --b1-rule: #FFB783;
  --b2: #366AA3; --b2-hi: #3D7BC4; --b2-sub: #DCEEFF; --b2-rule: #8FB1D7;
  --b3: #1A1B1F; --b3-hi: #2A2B30; --b3-sub: #D3D4D8; --b3-rule: #6E6F74;
  --paper: #F6F2EC; --text: #1A1B1F; --muted: #55565C; --line: #D9D2C8; --link: #A8471A; --chip: #EDE5DA;
  --display: var(--gh-font-heading, 'Red Hat Display', 'Avenir Next', 'Segoe UI', system-ui, sans-serif);
  --body: var(--gh-font-body, 'Red Hat Text', 'Avenir Next', 'Segoe UI', system-ui, sans-serif);
  --gut: clamp(16px, 2.8vw, 40px);
}
.scheme-steel {
  --hero: #13223A; --hero-2: #1B2D4A; --nav: #D6E2F2; --lead: #E2EAF5; --foot: #BFCBDB;
  --b1: #2F62A0; --b1-hi: #3D7BC4; --b1-sub: #DCEEFF; --b1-rule: #8FB1D7;
  --b2: #B4511D; --b2-hi: #CC6427; --b2-sub: #FFF6EF; --b2-rule: #FFB783;
  --b3: #13223A; --b3-hi: #1F3354; --b3-sub: #CFDAE8; --b3-rule: #5E7290;
  --paper: #F2F5F9; --line: #D3DBE6; --link: #2B5C96; --chip: #E1E8F1;
}
.scheme-ember {
  --hero: #20140F; --hero-2: #2D1D16; --nav: #EADCD2; --lead: #F1E5DC; --foot: #CDBDB1;
  --b1: #B4511D; --b1-hi: #CC6427; --b1-sub: #FFF6EF; --b1-rule: #FFB783;
  --b2: #7E3413; --b2-hi: #94401A; --b2-sub: #FFE3CF; --b2-rule: #D98C5F;
  --b3: #20140F; --b3-hi: #33221A; --b3-sub: #E0D2C8; --b3-rule: #7A6458;
  --paper: #F7EFE6; --line: #E0D2C3; --link: #A8471A; --chip: #F0E2D4;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.6 var(--body); overflow-x: hidden; }
body.home-template { background: var(--hero); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); }
:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { left: 16px; }
.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 30; background: var(--hero); color: var(--nav); }
.home-template .site-head { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(var(--hero) 0%, transparent 100%); }
.head-inner { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 var(--gut); }
.brand { font: 800 26px/1 var(--display); letter-spacing: -.015em; color: var(--white); text-decoration: none; white-space: nowrap; }
.brand-logo { max-height: 40px; width: auto; }
.topics { flex: 1; display: flex; justify-content: center; }
.topics .nav { display: flex; gap: clamp(14px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; }
.topics a { display: block; padding: 10px 0; color: var(--nav); font-size: 15px; text-decoration: none; white-space: nowrap; }
.topics a:hover, .topics .nav-current a { color: #fff; box-shadow: inset 0 -2px 0 var(--orange-hi); }
.search-btn, .menu-btn { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; }
.menu-btn { display: none; gap: 5px; align-content: center; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 48.6vw, 700px); background: var(--hero); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(42% 58% at 66% 62%, rgba(var(--glow), .22), transparent 70%), radial-gradient(30% 40% at 12% 92%, rgba(var(--glow), .12), transparent 70%); }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; margin: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%); mask-image: linear-gradient(to right, transparent 0, #000 24%); }
.hero-copy { position: relative; z-index: 3; width: 34%; margin-left: 4%; padding: 112px 0 64px; }
.hero-title { margin: 0; }
.h1-display { display: block; font: 880 clamp(64px, 7.5vw, 112px)/.94 var(--display); letter-spacing: -.028em; color: var(--white); }
.h1-display > span { display: block; }
.h1-lead { display: block; max-width: 17em; margin-top: 28px; font: 400 clamp(19px, 1.55vw, 23px)/1.42 var(--body); letter-spacing: 0; color: var(--lead); }
.btn-find { display: inline-flex; align-items: center; justify-content: center; min-height: 62px; margin-top: 34px; padding: 0 36px; border: 0; border-radius: 6px;
  background: var(--orange); color: #fff; font: 700 20px/1 var(--display); text-decoration: none; cursor: pointer; box-shadow: 0 12px 34px rgba(var(--glow), .32); }
.btn-find:hover { background: var(--orange-dk); }

/* floating spheres: the signature motif (decorative, aria-hidden) */
.sphere { position: absolute; z-index: 4; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.sp-orange { background: radial-gradient(circle at 34% 30%, #FFE6CF 0, #FFA45E 14%, #E2681F 44%, #8A3410 84%, #5A2008 100%); box-shadow: 0 18px 38px rgba(0, 0, 0, .35); }
.sp-blue { background: radial-gradient(circle at 34% 30%, #EAF4FF 0, #86B6EE 15%, #3D7BC4 46%, #1D3F6E 86%); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.sp-glass { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .32) 9%, rgba(170, 205, 245, .3) 38%, rgba(61, 123, 196, .66) 74%, rgba(255, 170, 110, .6) 100%);
  box-shadow: inset -8px -12px 20px rgba(var(--glow), .35), inset 5px 7px 14px rgba(255, 255, 255, .22), 0 18px 40px rgba(0, 0, 0, .3); }
.sp-h1 { width: clamp(46px, 5vw, 74px); left: 36.5%; top: 13%; }
.sp-h2 { width: clamp(24px, 2.4vw, 36px); left: 26%; bottom: 14%; }
.sp-h3 { width: clamp(14px, 1.3vw, 20px); left: 31%; bottom: 25%; }

/* ---------- chapters ---------- */
.chapter { position: relative; display: grid; grid-template-columns: 60% 1fr; min-height: clamp(420px, 33.3vw, 480px); background: var(--bg); color: var(--white); }
.band-orange { --bg: var(--b1); --hi: var(--b1-hi); --sub: var(--b1-sub); --rule: var(--b1-rule); }
.band-blue { --bg: var(--b2); --hi: var(--b2-hi); --sub: var(--b2-sub); --rule: var(--b2-rule); }
.band-ink { --bg: var(--b3); --hi: var(--b3-hi); --sub: var(--b3-sub); --rule: var(--b3-rule); }
.chapter::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 80% at 30% 45%, var(--hi), transparent 70%); }
.band-ink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none; background: radial-gradient(50% 100% at 40% 100%, rgba(var(--glow), .16), transparent 70%); }
.ch-photo { position: relative; grid-column: 1; grid-row: 1; margin: 0; overflow: hidden; }
.ch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, #000 58%, transparent 100%); mask-image: linear-gradient(to right, #000 58%, transparent 100%); }
.ch-word { position: absolute; z-index: 3; left: var(--gut); top: clamp(24px, 3.1vw, 46px); margin: 0; font: 880 clamp(56px, 8.2vw, 120px)/.9 var(--display); letter-spacing: -.035em; }
.ch-word a { color: var(--white); text-decoration: none; text-shadow: 0 2px 28px rgba(0, 0, 0, .28); }
.ch-word a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.ch-col { position: relative; z-index: 2; background: var(--bg); grid-column: 2; grid-row: 1; align-self: center; padding: 40px clamp(16px, 4vw, 58px) 40px clamp(16px, 2vw, 30px); }
.ch-intro { margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.45; color: var(--sub); }
.ch-intro b { font: 800 18px/1.3 var(--display); color: var(--white); }
.ch-links { list-style: none; margin: 0; padding: 0; }
.ch-links li { padding: 18px 0; }
.ch-links li + li { border-top: 1px solid var(--rule); }
.ch-link { display: block; font: 700 clamp(19px, 1.6vw, 23px)/1.22 var(--display); color: var(--white); text-decoration: none; }
.ch-links .lead .ch-link { font-size: clamp(22px, 1.9vw, 28px); font-weight: 800; line-height: 1.16; }
.ch-date { display: block; margin-top: 7px; font: 600 15px/1.3 var(--display); color: var(--sub); }
.ch-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ch-sub { margin: 7px 0 0; font-size: 17px; line-height: 1.45; color: var(--sub); }
.ch-tip { margin: 0; font-size: 17px; line-height: 1.45; color: var(--sub); }
.ch-tip b { display: block; margin-bottom: 5px; font: 700 clamp(19px, 1.6vw, 23px)/1.22 var(--display); color: var(--white); }
.ch-hub-sub { margin: 7px 0 0; font-size: 17px; line-height: 1.45; color: var(--sub); }
/* alternative schemes swap band colours: re-tint the graded chapter photos to their band */
.scheme-steel .band-orange .ch-photo::after, .scheme-steel .band-blue .ch-photo::after, .scheme-ember .band-blue .ch-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--bg); mix-blend-mode: color; opacity: .62; }
.sp-seam { width: clamp(40px, 4.4vw, 64px); left: 56%; top: calc(clamp(40px, 4.4vw, 64px) / -2); }
.band-ink .sp-seam { width: clamp(26px, 2.6vw, 38px); left: 60.5%; top: calc(clamp(26px, 2.6vw, 38px) / -2); }

/* ---------- 3.1.0 material balls: one studio material per hub (decorative, the date ball is a <time>) ---------- */
.ball { position: relative; flex: none; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 0 .32em;
  width: var(--d, 24px); height: var(--d, 24px); border-radius: 50%; color: var(--bt, #fff); text-align: center; line-height: 1; font-family: var(--display);
  background: var(--mat, radial-gradient(circle at 32% 26%, #FFE6CF 0, #FFA45E 9%, #E2681F 28%, #B4511D 62%, #6A2508 100%));
  box-shadow: inset -6px -10px 18px rgba(0, 0, 0, .2), inset 4px 6px 12px rgba(255, 255, 255, .14); text-shadow: var(--bts, 0 1px 3px rgba(0, 0, 0, .38)); }
.m-interface { --mat: radial-gradient(circle at 32% 26%, #FFE6CF 0, #FFA45E 9%, #E2681F 28%, #B4511D 62%, #6A2508 100%); --bt: #fff; }
.m-modeling { --mat: radial-gradient(circle at 32% 26%, #EAF4FF 0, #86B6EE 9%, #3D7BC4 30%, #2B5C96 62%, #142F55 100%); --bt: #fff; }
.m-sculpting { --mat: radial-gradient(circle at 36% 30%, #F4EFE9 0, #D9D2CA 20%, #B5ADA4 52%, #857D74 84%, #5F5850 100%); --bt: #241F1B; --bts: 0 1px 0 rgba(255, 255, 255, .45); }
.m-materials-uv { --mat: radial-gradient(circle at 32% 26%, #FFFFFF 0, rgba(255, 255, 255, .92) 7%, rgba(206, 230, 244, .9) 26%, rgba(136, 182, 214, .9) 62%, rgba(52, 92, 128, .96) 100%);
  --bt: #10263A; --bts: 0 1px 0 rgba(255, 255, 255, .5); }
.m-geometry-nodes { --mat: radial-gradient(circle at 50% 48%, #FFFCEB 0, #FFEA9A 26%, #FFBF4A 58%, #EE7A16 88%, #C25606 100%); --bt: #3A1A00; --bts: 0 1px 0 rgba(255, 255, 255, .45);
  box-shadow: 0 0 22px rgba(255, 176, 50, .55), inset -4px -6px 12px rgba(190, 80, 0, .25); }
.m-animation { --mat: radial-gradient(circle at 32% 26%, #FFFFFF 0, #9A9DA6 4%, #3A3C43 18%, #1E1F24 52%, #050506 100%); --bt: #fff; }
.m-rendering { --mat: radial-gradient(circle at 34% 28%, #FFFFFF 0, #EEF1F4 14%, #B8C0C9 36%, #E6EAEE 54%, #737C87 80%, #2E333A 100%); --bt: #14181D; --bts: 0 1px 0 rgba(255, 255, 255, .55); }
.m-import-export { --mat: radial-gradient(circle at 34% 30%, #EDB892 0, #B9653D 12%, #8A3B21 40%, #5A2313 76%, #351208 100%); --bt: #fff; }
.ball-dot { --d: 14px; box-shadow: inset -2px -3px 4px rgba(0, 0, 0, .22); }

/* ---------- 3.1.8 latest guides: useful titles and summaries, small publication dates ---------- */
.latest { padding: clamp(40px, 4vw, 60px) var(--gut); background: var(--paper); color: var(--text); }
.studio-index::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 72% at 30% 0%, rgba(255, 255, 255, .78), transparent 72%); }
.latest-title { margin: 0 0 28px; font: 850 clamp(32px, 3.3vw, 48px)/1.08 var(--display); letter-spacing: -.025em; }
.latest-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.latest-guide { min-width: 0; padding-top: 18px; border-top: 2px solid var(--text); }
.latest-guide-title { margin: 0; font: 800 clamp(22px, 1.8vw, 28px)/1.2 var(--display); letter-spacing: -.015em; }
.latest-guide-title a, .latest-more-title { color: var(--text); text-decoration: none; }
.latest-guide-title a:hover, .latest-more-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.latest-guide-excerpt { margin: 14px 0 0; max-width: 54ch; font: 400 16px/1.55 var(--body); color: var(--muted); }
.latest-guide-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 14px 0 0; font: 400 14px/1.5 var(--body); color: var(--muted); }
.latest-guide-meta a { color: var(--link); font-weight: 600; text-decoration: none; }
.latest-guide-meta a:hover { text-decoration: underline; }
.latest-guide-meta time { white-space: nowrap; }
.latest-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 44px); list-style: none; margin: 34px 0 0; padding: 0; }
.latest-more > li { min-width: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.latest-more-title { font: 700 19px/1.3 var(--display); }
.latest-more .latest-guide-meta { margin-top: 8px; }
.latest-older { display: inline-block; padding: 10px 0; font: 700 17px/1.4 var(--display); color: var(--link); }

/* ---------- 3.1.0 studio index: the other hubs as rows, hub ball and name standing on a mirrored floor ---------- */
.studio-index { position: relative; isolation: isolate; padding: clamp(26px, 3vw, 44px) var(--gut) clamp(40px, 4.6vw, 68px); background: var(--paper); color: var(--text); }
.hx-row { --fl: 40px; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 18px clamp(20px, 4vw, 64px); padding: clamp(24px, 2.6vw, 34px) 0 clamp(12px, 1.4vw, 18px); }
.hx-row + .hx-row { border-top: 1px solid var(--line); }
.hx-left { align-self: start; padding-bottom: var(--fl);
  background: linear-gradient(to bottom, transparent calc(100% - var(--fl)), rgba(26, 27, 31, .2) calc(100% - var(--fl)), rgba(26, 27, 31, .2) calc(100% - var(--fl) + 1px), rgba(26, 27, 31, .04) calc(100% - var(--fl) + 1px), transparent 100%); }
.hx-mark { display: flex; align-items: flex-end; gap: 18px; -webkit-box-reflect: below 1px linear-gradient(transparent 60%, rgba(0, 0, 0, .24)); }
.hx-ball { --d: clamp(46px, 4.4vw, 64px); box-shadow: inset -5px -8px 14px rgba(0, 0, 0, .22), inset 3px 5px 10px rgba(255, 255, 255, .14); }
.hx-name { min-width: 0; margin: 0; font: 850 clamp(26px, 2.5vw, 38px)/1.04 var(--display); letter-spacing: -.022em; }
.hx-name a { color: var(--text); text-decoration: none; }
.hx-sent { max-width: 40em; margin: 0; font-size: 18px; line-height: 1.5; color: #3A3B40; }
.hx-list { list-style: none; margin: 10px 0 0; padding: 0; }
.hx-list li { padding: 8px 0; }
.hx-list a { font: 700 clamp(18px, 1.4vw, 20px)/1.3 var(--display); color: var(--text); text-decoration: none; }
.hx-list time { margin-left: .45em; font: 600 15px/1.3 var(--display); color: var(--muted); white-space: nowrap; }
.hx-tasks li { font-size: 17px; line-height: 1.45; color: var(--muted); }

/* tag pages: "Other topics" line, each hub led by its tiny material ball */
.other-topics { max-width: 980px; margin-top: 46px; padding-top: 22px; border-top: 2px solid var(--text); }
.ot-title { margin: 0 0 8px; font: 800 24px/1.2 var(--display); }
.other-topics ul { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.other-topics a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 0; color: var(--link); font: 700 17px/1.3 var(--display); text-decoration: none; }
.other-topics a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { background: var(--hero); color: var(--foot); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding: 14px var(--gut); font-size: 14px; line-height: 1.5; }
.foot-legal { margin: 0; }
.foot-nav .nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.foot-nav a { display: inline-block; padding: 10px 0; color: var(--foot); text-decoration: none; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- article ---------- */
.post-head, .list-head { position: relative; overflow: hidden; background: var(--hero); color: var(--white); }
.post-head::before, .list-head::before, .tag-head::before, .error-page::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 70% at 82% 30%, rgba(var(--glow), .22), transparent 70%), radial-gradient(30% 50% at 8% 100%, rgba(var(--blue-glow), .18), transparent 70%); }
.post-head { padding: 52px 0 128px; }
.post-head.no-feature { padding-bottom: 56px; }
.post-head .wrap, .list-head .wrap { position: relative; z-index: 2; }
.post-head h1 { max-width: 15em; margin: 18px 0 0; font-size: clamp(38px, 5vw, 70px); font-weight: 850; line-height: 1.02; letter-spacing: -.025em; }
.post-dek { max-width: 34em; margin: 18px 0 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--lead); }
.byline { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 24px; font-size: 15px; color: var(--foot); }
.byline a { color: #fff; font-weight: 600; text-decoration: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 10px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--foot); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { display: inline-block; padding: 6px 0; color: var(--nav); }
.sp-post { width: clamp(54px, 6vw, 92px); right: 9%; top: 26%; }
.post-feature { position: relative; z-index: 2; width: min(1200px, calc(100% - 32px)); margin: -96px auto 0; }
.post-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--hero); border-radius: 6px; box-shadow: 0 26px 60px rgba(0, 0, 0, .22); }
.post-feature figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.post-body { width: min(720px, calc(100% - 32px)); margin: 52px auto 80px; }
.gh-content { font-size: 19px; line-height: 1.65; }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content h2 { margin: 1.9em 0 .4em; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.gh-content h3 { margin: 1.6em 0 .3em; font-size: 23px; }
.gh-content a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content ol, .gh-content ul { padding-left: 1.3em; }
.gh-content li + li { margin-top: .35em; }
.gh-content figure { margin: 2em 0; }
.gh-content img { border-radius: 4px; }
.gh-content figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.kg-width-wide { position: relative; width: min(1100px, calc(100vw - 32px)); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img { border-radius: 0; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.gh-content th { padding: 10px 14px 10px 0; text-align: left; font: 700 16px/1.3 var(--display); border-bottom: 2px solid var(--text); }
.gh-content td { padding: 11px 14px 11px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
kbd, code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
kbd { padding: .08em .42em; font-size: .82em; font-weight: 600; background: #fff; border: 1px solid #CFC6BA; border-bottom-width: 2px; border-radius: 4px; }
code { padding: .1em .3em; font-size: .88em; background: var(--chip); border-radius: 3px; }
pre { overflow-x: auto; padding: 18px 20px; background: var(--hero); color: #F1F1F1; border-radius: 6px; font-size: 15px; }
.kg-callout-card { display: flex; gap: 12px; padding: 18px 22px; background: var(--hero); color: #fff; border-left: 6px solid var(--orange); border-radius: 6px; }
.kg-callout-card kbd { background: #2C2D33; color: #fff; border-color: #5A5B61; }
.gh-content blockquote { margin: 1.8em 0; padding: 2px 0 2px 24px; border-left: 5px solid var(--orange); font: 600 23px/1.42 var(--display); letter-spacing: -.005em; color: var(--text); }
.gh-content blockquote p { margin: 0; }
.gh-content blockquote.kg-blockquote-alt { padding: 0 1em; border-left: 0; text-align: center; font-size: 27px; }
.gh-content hr { width: 72px; height: 4px; margin: 2.4em 0; border: 0; background: var(--orange); }
.gh-content .kg-gallery-container { display: flex; flex-direction: column; gap: 10px; }
.gh-content .kg-gallery-row { display: flex; gap: 10px; }
.gh-content .kg-gallery-image { flex: 1 1 0; min-width: 0; }
.gh-content .kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.gh-content .kg-bookmark-card a.kg-bookmark-container { display: flex; min-height: 148px; color: var(--text); text-decoration: none; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 6px; overflow: hidden; }
.gh-content .kg-bookmark-card a.kg-bookmark-container:hover .kg-bookmark-title { text-decoration: underline; text-underline-offset: 3px; }
.gh-content .kg-bookmark-content { flex: 1; min-width: 0; padding: 18px 20px; }
.gh-content .kg-bookmark-title { font: 700 19px/1.3 var(--display); color: var(--text); }
.gh-content .kg-bookmark-description { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gh-content .kg-bookmark-metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.gh-content .kg-bookmark-icon { width: 18px; height: 18px; border-radius: 0; }
.gh-content .kg-bookmark-thumbnail { position: relative; flex: 0 0 32%; }
.gh-content .kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gh-content .kg-toggle-card { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; box-shadow: none; border-radius: 0; }
.gh-content .kg-toggle-card + .kg-toggle-card { margin-top: 0; border-top: 0; }
.gh-content .kg-toggle-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.gh-content .kg-toggle-heading-text { margin: 0; font: 700 20px/1.3 var(--display); color: var(--text); }
.gh-content .kg-toggle-card-icon { flex: none; width: 34px; height: 34px; padding: 9px; border: 0; border-radius: 50%; background: var(--chip); color: var(--text); }
.gh-content .kg-toggle-content { margin-top: 10px; font-size: 18px; }
.gh-content .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.gh-content .kg-embed-card iframe, .gh-content .kg-video-card video { width: 100%; max-width: 100%; border: 0; border-radius: 4px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.post-tags a { padding: 9px 16px; border-radius: 999px; background: var(--chip); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.bio { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.bio-mark { flex: none; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FFE6CF 0, #FFA45E 14%, #E2681F 44%, #8A3410 84%); }
.bio-img { flex: none; border-radius: 50%; object-fit: cover; }
.bio-name { margin: 0 0 4px; font: 800 19px/1.3 var(--display); }
.bio-name a { color: var(--text); text-decoration: none; }
.bio p { margin: 0; font-size: 16px; color: #3A3B40; }

/* related guides: a steel-blue chapter band */
.related { position: relative; display: grid; grid-template-columns: 38% 1fr; gap: 24px; padding: clamp(44px, 5vw, 76px) var(--gut); background: var(--bg); color: var(--white); }
.related::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(30% 90% at 14% 40%, var(--hi), transparent 70%); }
.rel-word { position: relative; left: auto; top: auto; z-index: 2; font-size: clamp(36px, 3.9vw, 60px); line-height: .98; color: var(--white); }
.rel-list { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; }
.rel { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; padding: 16px 0; }
.rel + .rel { border-top: 1px solid var(--rule); }
.rel.no-image { grid-template-columns: 1fr; }
.rel-photo img { width: 160px; height: 112px; object-fit: cover; border-radius: 4px; }
.rel h3 { margin: 0; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.22; }
.rel h3 a { color: var(--white); text-decoration: none; }
.rel h3 a:hover { text-decoration: underline; }
.rel .lt-meta { margin: 6px 0 0; font-size: 15px; color: var(--sub); }
.rel .lt-meta time { font-family: var(--display); font-weight: 600; }
.rel .lt-tag { color: var(--sub); }
.sp-rel { width: clamp(30px, 3vw, 46px); left: 36%; top: calc(clamp(30px, 3vw, 46px) / -2); }

/* ---------- tag / index / author ---------- */
.tag-head { position: relative; overflow: hidden; padding-bottom: 44px; background: var(--hero); color: var(--white); }
.tag-cover { margin: 0; }
.tag-cover img { width: 100%; height: clamp(240px, 30vw, 440px); object-fit: cover; }
.tag-head .wrap { position: relative; z-index: 2; }
.tag-panel { position: relative; max-width: 780px; margin-top: -132px; padding: 30px clamp(20px, 3vw, 44px) 34px; background: var(--hero); border-top: 6px solid var(--orange); border-radius: 0 0 6px 6px; }
.tag-panel h1, .list-head h1 { margin: 12px 0 0; font-size: clamp(44px, 5.6vw, 84px); font-weight: 880; line-height: .97; letter-spacing: -.032em; }
.tag-panel p, .list-head p { max-width: 34em; margin: 14px 0 0; font-size: 20px; line-height: 1.45; color: var(--lead); }
.sp-tag { width: clamp(44px, 5vw, 76px); right: 12%; top: calc(clamp(240px, 30vw, 440px) - clamp(22px, 2.5vw, 38px)); }
.list-head { padding: 64px 0 56px; }
.list-head .bio-img { margin-bottom: 18px; }
.list-head .more { color: #fff; }
.list-body { padding: 52px 0 84px; }
.rows { max-width: 980px; list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding: 26px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row.no-image { grid-template-columns: 1fr; }
.row-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.row h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.row h2 a { color: var(--text); text-decoration: none; }
.row h2 a:hover { text-decoration: underline; }
.row-excerpt { margin: 8px 0 0; color: #3A3B40; }
.lt-meta { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.lt-tag { font-weight: 600; text-decoration: none; }
.row .lt-tag { color: var(--link); font-size: 15px; }
.pagination { display: flex; justify-content: space-between; align-items: center; max-width: 980px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; }
.pagination a { display: inline-block; padding: 10px 0; color: var(--link); font-weight: 700; }
.more { font-weight: 700; color: var(--link); }

/* ---------- error ---------- */
.error-page { position: relative; display: grid; grid-template-columns: 40% 1fr; min-height: 72vh; overflow: hidden; background: var(--hero); color: var(--white); }
.error-photo { margin: 0; }
.error-photo img { width: 100%; height: 100%; object-fit: cover; }
.error-panel { position: relative; z-index: 2; align-self: center; padding: clamp(40px, 6vw, 96px) var(--gut); }
.error-panel h1 { margin: 0; font-size: clamp(84px, 12vw, 180px); font-weight: 900; line-height: .9; color: var(--orange-hi); }
.error-panel p { color: var(--lead); }
.error-hubs { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 26px 0; padding: 0; }
.error-hubs a { display: inline-block; padding: 9px 0; color: #fff; font-weight: 600; }
.error-page .more { color: var(--nav); }
.sp-err { width: clamp(40px, 4.6vw, 70px); left: 38%; top: 14%; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .menu-btn { display: inline-grid; }
  .search-btn { margin-left: auto; }
  .topics { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 6px var(--gut) 18px; background: var(--hero); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
  .topics.is-open { display: block; }
  .topics .nav { flex-direction: column; gap: 0; }
  .topics a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .topics a:hover, .topics .nav-current a { box-shadow: none; color: #fff; }
}
@media (max-width: 860px) {
  .head-inner { gap: 8px; height: 64px; }
  .brand { font-size: 22px; }
  .topics { top: 64px; }
  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; width: 100%; aspect-ratio: 16 / 11; }
  .hero-art img { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
  .hero-copy { width: auto; margin: -28px 0 0; padding: 0 16px 52px; }
  .h1-display { font-size: clamp(48px, 13.6vw, 72px); }
  .h1-lead { margin-top: 20px; font-size: 19px; }
  .btn-find { width: 100%; max-width: 360px; margin-top: 26px; }
  .sp-h1 { left: auto; right: 6%; top: auto; bottom: 34%; }
  .sp-h2 { left: auto; right: 10%; bottom: 7%; }
  .sp-h3 { display: none; }
  .chapter { display: block; min-height: 0; }
  .chapter::before { background: radial-gradient(90% 30% at 50% 28%, var(--hi), transparent 70%); }
  .ch-word { position: relative; left: auto; top: auto; padding: 36px 16px 16px; font-size: clamp(54px, 15vw, 80px); }
  .ch-photo { aspect-ratio: 16 / 10; }
  .ch-photo img { -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .ch-col { padding: 4px 16px 40px; }
  .latest { padding: 36px 16px 40px; }
  .latest-title { margin-bottom: 22px; font-size: 34px; }
  .latest-featured { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .latest-guide { padding-top: 16px; }
  .latest-guide-title { font-size: 24px; }
  .latest-guide-excerpt { margin-top: 10px; }
  .studio-index { padding: 18px 16px 48px; }
  .hx-row { --fl: 30px; grid-template-columns: minmax(0, 1fr); padding: 26px 0 14px; }
  .hx-name { font-size: 28px; }
  .hx-sent { font-size: 17px; }
  .ch-links .lead .ch-link { font-size: 24px; }
  .ch-link { font-size: 20px; }
  .sp-seam, .band-ink .sp-seam { left: auto; right: 8%; }
  .foot-inner { flex-direction: column; align-items: flex-start; padding: 22px 16px 18px; }
  .post-head { padding: 36px 0 84px; }
  .post-feature { margin-top: -60px; }
  .sp-post { right: 4%; top: auto; bottom: 18%; z-index: 1; }
  .related { grid-template-columns: 1fr; }
  .related::before { background: radial-gradient(70% 18% at 30% 10%, var(--hi), transparent 70%); }
  .rel { grid-template-columns: 112px 1fr; gap: 16px; }
  .rel-photo img { width: 112px; height: 84px; }
  .sp-rel { left: auto; right: 10%; }
  .tag-panel { margin-top: -64px; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .gh-content .kg-bookmark-card a.kg-bookmark-container { flex-direction: column-reverse; }
  .gh-content .kg-bookmark-thumbnail { flex-basis: auto; aspect-ratio: 16 / 9; }
  .error-page { grid-template-columns: 1fr; }
  .error-photo img { height: 280px; }
  .sp-err { left: auto; right: 8%; top: 230px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ch-link, .btn-find, .topics a { transition: color .15s, background-color .15s; }
}

/* Unpublished topics retain their labels without leading to empty routes. */
a[data-empty-topic] { cursor: default; text-decoration: none; }

/* Wide tables scroll within the article, keeping every column accessible. */
.gh-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gh-content table:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Block code uses the dark pre surface and its readable text colour. */
.gh-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

/* hide-empty: topics without a published guide are not rendered. Chapters: the seam sphere marks a seam between two
   chapters, so the first rendered chapter never carries one (no-op while Interface is first). Studio index: hidden
   when no hub row is left (fallback without :has: an empty paper band) */
.chapters > .chapter:first-child > .sp-seam { display: none; }
.studio-index:not(:has(> .hx-row)) { display: none; }

/* Direct answers stay above the detailed walkthrough. */
.quick-answer { padding: 18px 22px; border-left: 4px solid #D95A19; border-radius: 0 8px 8px 0; background: #FFF4E9; }
.quick-answer p { margin: 0; }
.gh-content .version-scope { margin-top: .7em; font-size: 15px; color: #4B4B50; }
.hero-title .h1-display { font-size: clamp(58px, 6.5vw, 96px); }
@media (max-width: 860px) { .hero-title .h1-display { font-size: clamp(44px, 12.4vw, 66px); } .quick-answer { padding: 16px 18px; } }

@media (max-width: 600px) {
  .latest-more { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
}

/* Keep long inline API/property names within a narrow article column. */
.gh-content :not(pre) > code { overflow-wrap: anywhere; white-space: normal; }

/* Preserve contrast for this translucent liquid-role diagram on article paper. */
.gh-content img[src*="/domain-flow-effector-v1-q90.webp"] { background-color: #151719; }
