@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-400-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;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(../fonts/inter-tight-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;
}

/* OBSGuides.com, fieldnotes-obs-studio 3.1.0, skeleton G photo essay with blog blocks.
   One near-black surface, photos carry the magenta, a lime marker stroke is the only accent. */

:root {
  /* Ghost custom fonts (Design > Typography) win when set; otherwise the site pair */
  --display: var(--gh-font-heading, 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif);
  --body: var(--gh-font-body, 'Inter', 'Helvetica Neue', Arial, sans-serif);
  --gut: clamp(16px, 4.1vw, 64px);

  /* scheme 1: Night lime (the mockup) */
  --bg: #0F1014;
  --fg: #FFFFFF;
  --text: #E6E7EA;
  --muted: #B4B6BD;
  --foot: #DCDDE1;
  --line: #37383C;
  --panel: #1A1B21;
  --field: #EFF0F2;
  --field-ink: #1A1B1F;
  --field-ph: #5F6063;
  --link: #BFE93F;
  --on-mark: #0F1014;
  --focus: #FF2E88;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M5 10 13 6 62 5 121 3 191 1 198 5 195 12 199 19 196 27 198 33 151 35 91 37 31 38 7 39 2 33 6 26 1 19 4 14Z' fill='%23BFE93F'/%3E%3C/svg%3E");
  /* hero, tag cover and error photo bands stay dark in every scheme */
  --hero-rgb: 15, 16, 20;
  --hero-fg: #FFFFFF;
  --hero-mark: var(--mark);
  --hero-on-mark: #0F1014;
  /* hub bands alternate two tones of the page surface */
  --band-a: #17181E;
  --band-b: #1E1F26;
}

.scheme-magenta {
  --bg: #16161A;
  --text: #E8E8EC;
  --muted: #B9B9C2;
  --line: #3A3A42;
  --panel: #202026;
  --link: #FF5C9F;
  --on-mark: #16161A;
  --focus: #C6F432;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M5 10 13 6 62 5 121 3 191 1 198 5 195 12 199 19 196 27 198 33 151 35 91 37 31 38 7 39 2 33 6 26 1 19 4 14Z' fill='%23FF2E88'/%3E%3C/svg%3E");
  --hero-rgb: 22, 22, 26;
  --hero-mark: var(--mark);
  --hero-on-mark: #16161A;
  --band-a: #1C1C21;
  --band-b: #232329;
}

.scheme-acid {
  --bg: #C6F432;
  --fg: #16161A;
  --text: #1E1F24;
  --muted: #33361F;
  --foot: #16161A;
  --line: rgba(22, 22, 26, .35);
  --panel: #B3E01F;
  --field: #FFFFFF;
  --field-ink: #16161A;
  --field-ph: #46474D;
  --link: #16161A;
  --on-mark: #C6F432;
  --focus: #16161A;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M5 10 13 6 62 5 121 3 191 1 198 5 195 12 199 19 196 27 198 33 151 35 91 37 31 38 7 39 2 33 6 26 1 19 4 14Z' fill='%2316161A'/%3E%3C/svg%3E");
  --hero-rgb: 22, 22, 26;
  --hero-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M5 10 13 6 62 5 121 3 191 1 198 5 195 12 199 19 196 27 198 33 151 35 91 37 31 38 7 39 2 33 6 26 1 19 4 14Z' fill='%23C6F432'/%3E%3C/svg%3E");
  --hero-on-mark: #16161A;
  --band-a: #BDEB29;
  --band-b: #B3E01F;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--fg); margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--field); color: var(--field-ink); border-radius: 6px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- signature motif: lime marker stroke ---------- */
.hl {
  background: var(--mark) center / 100% 100% no-repeat;
  color: var(--on-mark);
  padding: 0 .16em; margin: 0 -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .hl, .tag-head .hl, .error-page .hl { background-image: var(--hero-mark); color: var(--hero-on-mark); }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 20; background: var(--bg); }
.head-in { display: flex; align-items: center; gap: 26px; min-height: 66px; padding: 0 var(--gut); }
.brand { margin-right: auto; color: var(--fg); text-decoration: none; font: 800 26px/1 var(--display); letter-spacing: -.025em; }
.brand-logo { height: 34px; width: auto; }
.site-nav .nav { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--fg); text-decoration: none; font: 500 15px/1 var(--body); opacity: .92; }
.site-nav a:hover, .site-nav .nav-current a { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.search-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; }
.search-btn { margin-right: -8px; }
.menu-btn { display: none; flex-direction: column; gap: 6px; margin-right: -8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- search fields (open Ghost search) ---------- */
.field {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 62px; padding: 0 20px;
  background: var(--field); color: var(--field-ph); border: 0; border-radius: 8px;
  font: 400 19px/1 var(--body); text-align: left; cursor: text;
}
.field svg { flex: none; width: 22px; height: 22px; color: var(--field-ink); }
.field:hover { box-shadow: 0 0 0 3px rgba(198, 244, 50, .55); }
.scheme-magenta .field:hover { box-shadow: 0 0 0 3px rgba(255, 46, 136, .6); }
.scheme-acid .field:hover { box-shadow: 0 0 0 3px #16161A; }
.scheme-acid .find-field { box-shadow: inset 0 0 0 2px #16161A; } /* white field on lime needs an edge (1.28:1 fill contrast) */
.scheme-acid .find-field:hover { box-shadow: inset 0 0 0 2px #16161A, 0 0 0 3px #16161A; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(520px, 41.7vw, 800px); overflow: hidden; background: rgb(var(--hero-rgb)); color: var(--hero-fg); }
.hero-ph { position: absolute; inset: 0; display: block; }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 30%; }
.hero-ph::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--hero-rgb), .94) 0%, rgba(var(--hero-rgb), .84) 26%, rgba(var(--hero-rgb), .42) 46%, rgba(var(--hero-rgb), 0) 64%),
    linear-gradient(0deg, rgba(var(--hero-rgb), .85) 0%, rgba(var(--hero-rgb), 0) 20%);
}
.hero-in { position: relative; z-index: 1; width: 100%; padding: 56px var(--gut) 64px; }
.hero h1 { color: var(--hero-fg); }
.h1-display { display: block; font: 800 clamp(44px, 6vw, 94px)/1.0 var(--display); letter-spacing: -.035em; }
.h1-lead { display: block; max-width: 22em; margin-top: 24px; font: 400 clamp(18px, 1.68vw, 26px)/1.42 var(--body); letter-spacing: 0; color: rgba(255, 255, 255, .93); }
.hero-field { width: min(100%, 540px); margin-top: 34px; }
.scheme-acid .hero-field:focus-visible { outline-color: #C6F432; }

/* ---------- photo essay rows ---------- */
.essay { position: relative; }
.erow { position: relative; display: flex; align-items: center; min-height: clamp(330px, 26.2vw, 470px); overflow: hidden; }
.erow-ph {
  position: absolute; top: 0; bottom: 0; left: 0; width: 54%; display: block;
  -webkit-mask-image: linear-gradient(90deg, #000 42%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.18) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 42%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.18) 88%, transparent 100%);
}
.erow-ph img { width: 100%; height: 100%; object-fit: cover; }
.erow-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--hero-rgb), 0) 38%, rgba(var(--hero-rgb), .5) 100%); }
.erow-flip .erow-ph::after { background: linear-gradient(270deg, rgba(var(--hero-rgb), 0) 38%, rgba(var(--hero-rgb), .5) 100%); }
.essay-new .erow:last-child .erow-ph::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%); } /* last photo melts into the timeline */
.scheme-acid .erow-ph::after { display: none; } /* light page: the photo fades straight into the lime */
.erow-tx { position: relative; width: min(40%, 620px); margin-left: 56%; padding: 48px 0; }
.erow-flip .erow-ph {
  left: auto; right: 0; width: 56%;
  -webkit-mask-image: linear-gradient(270deg, #000 42%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.18) 88%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 42%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.18) 88%, transparent 100%);
}
.erow-flip .erow-tx { margin-left: 5%; width: min(39%, 600px); }
.erow h2 { font: 800 clamp(28px, 2.75vw, 44px)/1.1 var(--display); letter-spacing: -.022em; }
.erow h2 a { text-decoration: none; }
.erow h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.erow p { margin: 16px 0 0; font-size: clamp(17px, 1.32vw, 20px); line-height: 1.5; color: var(--text); }
.erow-link { display: inline-block; margin-top: 18px; color: var(--fg); font-size: clamp(17px, 1.32vw, 20px); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.erow-link:hover { text-decoration-thickness: 2px; }
.erow .erow-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 14px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.erow-meta a { color: var(--link); font-weight: 600; text-decoration: none; }
.erow-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- centre-spine timeline: posts 3 to 8 of the feed ---------- */
.spine { padding: clamp(56px, 6vw, 96px) var(--gut) clamp(36px, 4vw, 60px); }
.spine-in { max-width: 1120px; margin: 0 auto; }
.spine-h { margin: 0 0 clamp(34px, 3.6vw, 56px); text-align: center; font: 800 clamp(32px, 3.4vw, 52px)/1.06 var(--display); letter-spacing: -.028em; }
.sp-list { position: relative; margin: 0; padding: 0; list-style: none; }
.sp-item:not(:last-child)::after { content: ""; position: absolute; top: 12px; bottom: -12px; left: 50%; width: 2px; margin-left: -1px; background: var(--line); } /* spine runs dot to dot */
.sp-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 76px; align-items: start; padding-bottom: clamp(28px, 2.8vw, 44px); }
.sp-item::before { content: ""; position: absolute; top: 5px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--link); box-shadow: 0 0 0 6px var(--bg); z-index: 1; }
.sp-date { grid-column: 1; grid-row: 1; padding-top: 1px; text-align: right; font: 600 16px/1.3 var(--body); color: var(--muted); white-space: nowrap; }
.sp-txt { grid-column: 2; grid-row: 1; max-width: 30em; }
.sp-item:nth-child(even) .sp-date { grid-column: 2; text-align: left; }
.sp-item:nth-child(even) .sp-txt { grid-column: 1; justify-self: end; text-align: right; }
.sp-hub { display: inline-block; margin-bottom: 6px; color: var(--link); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.sp-hub:hover { text-decoration: underline; text-underline-offset: 4px; }
.sp-txt h3 { font: 800 clamp(21px, 1.85vw, 28px)/1.18 var(--display); letter-spacing: -.016em; }
.sp-txt h3 a { text-decoration: none; }
.sp-txt h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sp-older { display: table; margin: 6px auto 0; color: var(--fg); font-size: 18px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sp-older:hover { text-decoration-thickness: 2px; }

/* ---------- hub bands: one full-bleed band per hub, two alternating tones ---------- */
.hubs { padding-top: clamp(48px, 5vw, 80px); }
.hubs-h { max-width: 1360px; margin: 0 auto clamp(24px, 2.6vw, 40px); padding: 0 var(--gut); font: 800 clamp(32px, 3.4vw, 52px)/1.06 var(--display); letter-spacing: -.028em; }
.hub { background: var(--band-a); }
.hub:nth-child(even) { background: var(--band-b); }
.hub-in { display: grid; grid-template-columns: 5fr 7fr; gap: 20px clamp(28px, 5vw, 96px); align-items: start; max-width: 1360px; margin: 0 auto; padding: clamp(30px, 3vw, 46px) var(--gut); }
.hub-head h3 { font: 800 clamp(30px, 3.1vw, 48px)/1.02 var(--display); letter-spacing: -.03em; }
.hub-head h3 a { text-decoration: none; }
.hub-head h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.hub-head p { max-width: 30em; margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--text); }
.hub-list { margin: 0; padding: 4px 0 0; list-style: none; }
.hub-list li + li { margin-top: 20px; }
.hub-list a { color: var(--fg); font: 700 clamp(18px, 1.5vw, 22px)/1.3 var(--display); letter-spacing: -.01em; text-decoration: none; }
.hub-list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hub-list time { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.hub-tasks li { font-size: 17px; line-height: 1.45; color: var(--text); }

/* ---------- search band ---------- */
.find { padding: clamp(48px, 5vw, 80px) var(--gut) clamp(52px, 5.6vw, 84px); }
.find-in { max-width: 940px; margin: 0 auto; text-align: center; }
.find-field { height: 64px; }

/* ---------- footer ---------- */
.site-foot { padding: 0 var(--gut); }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 22px 0 30px; border-top: 1px solid var(--line); }
.foot-legal p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--foot); }
.foot-legal .foot-tm { margin-top: 2px; font-size: 13px; opacity: .78; }
.foot-nav .nav { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.foot-nav a { color: var(--foot); font-size: 14px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }

/* ---------- post ---------- */
.post-head { padding: clamp(40px, 5.2vw, 84px) 0 34px; }
.post-head-inner { max-width: 940px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { color: var(--fg); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.post-head h1, .list-head h1 { font: 800 clamp(36px, 4.7vw, 70px)/1.04 var(--display); letter-spacing: -.03em; }
.post-dek { max-width: 36em; margin: 20px 0 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: var(--text); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.byline-author { color: var(--fg); font-weight: 600; text-decoration: none; }
.post-feature { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.post-feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.post-feature figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.post-body { max-width: calc(720px + 2 * var(--gut)); margin: 0 auto; padding: 48px var(--gut) 0; }

.gh-content { font-size: 19px; line-height: 1.68; color: var(--text); }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content p, .gh-content ol, .gh-content ul { margin-bottom: 0; }
.gh-content h2 { margin-top: 2em; font: 800 clamp(26px, 2.6vw, 36px)/1.14 var(--display); letter-spacing: -.02em; }
.gh-content h3 { margin-top: 1.6em; font: 800 clamp(21px, 2vw, 26px)/1.2 var(--display); }
.gh-content a { color: var(--link); text-underline-offset: 3px; }
.gh-content strong { color: var(--fg); }
.gh-content li + li { margin-top: .4em; }
.gh-content blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 4px solid var(--link); color: var(--fg); }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.gh-content th, .gh-content td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gh-content th { color: var(--fg); font-weight: 700; border-bottom-width: 2px; }
.gh-content code, .gh-content kbd, .gh-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84em;
}
.gh-content code, .gh-content kbd { padding: .12em .38em; background: var(--panel); border-radius: 4px; color: var(--fg); overflow-wrap: anywhere; }
.gh-content kbd { border: 1px solid var(--line); border-bottom-width: 2px; }
.gh-content pre { padding: 18px 20px; overflow-x: auto; background: var(--panel); border-radius: 6px; }
.gh-content pre code { padding: 0; background: none; }
.gh-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.gh-content figure { margin: 2em 0; }
.gh-content figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.kg-width-wide { position: relative; width: min(1100px, 100vw - 2 * var(--gut)); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img { width: 100%; }
.kg-callout-card { display: flex; gap: 12px; padding: 20px 22px; background: var(--panel); border-left: 6px solid var(--link); border-radius: 0 6px 6px 0; color: var(--fg); font-size: 18px; }
.kg-callout-emoji { flex: none; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.post-tags a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); font-size: 14px; text-decoration: none; }
.post-tags a:hover { border-color: var(--fg); }
.bio { display: flex; gap: 18px; align-items: flex-start; margin-top: 44px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bio-mark { flex: none; width: 60px; height: 22px; margin-top: 4px; background: var(--mark) center / 100% 100% no-repeat; }
.bio-img { flex: none; border-radius: 50%; }
.bio p { margin: 0; font-size: 16px; color: var(--text); }
.bio .bio-name { margin-bottom: 6px; font: 800 20px/1.2 var(--display); }
.bio-name a { color: var(--fg); text-decoration: none; }

/* ---------- lists: related, tag, author, index ---------- */
.related { margin-top: 72px; padding: 0 0 64px; }
.related h2 { margin-bottom: 18px; font: 800 clamp(28px, 3vw, 42px)/1.1 var(--display); letter-spacing: -.02em; }
.rows { margin: 0; padding: 0; list-style: none; }
.row { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.row.no-image { grid-template-columns: 1fr; }
.row .ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.row-tag { color: var(--link); font-size: 14px; font-weight: 600; text-decoration: none; }
.row h2, .row h3 { margin: 6px 0 8px; font: 800 clamp(22px, 2vw, 29px)/1.15 var(--display); letter-spacing: -.015em; }
.row h2 a, .row h3 a { text-decoration: none; }
.row h2 a:hover, .row h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.row-excerpt { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.row-meta { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.list-head { padding: clamp(44px, 5vw, 80px) 0 20px; }
.list-head p { max-width: 36em; margin: 16px 0 0; font-size: 19px; }
.list-head .avatar { border-radius: 50%; margin-bottom: 18px; }
.author-location { color: var(--muted); }
.more { color: var(--fg); font-weight: 500; text-underline-offset: 5px; }
.list-body { padding: 24px 0 80px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 16px; }
.pagination a { color: var(--fg); font-weight: 500; text-underline-offset: 5px; }
.page-number { color: var(--muted); }
.other-topics { margin-top: 44px; }
.other-topics h2 { margin-bottom: 12px; font: 800 24px/1.2 var(--display); letter-spacing: -.015em; }
.other-topics p { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.other-topics a { color: var(--fg); font-size: 17px; font-weight: 500; text-decoration: none; }
.other-topics a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* tag cover band and error page share the hero treatment */
.tag-head, .error-page { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: rgb(var(--hero-rgb)); color: var(--hero-fg); }
.tag-head { min-height: clamp(320px, 31vw, 480px); }
.tag-cover, .error-photo { position: absolute; inset: 0; margin: 0; }
.tag-cover img, .error-photo img { width: 100%; height: 100%; object-fit: cover; }
.tag-cover::after, .error-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--hero-rgb), .92) 0%, rgba(var(--hero-rgb), .7) 34%, rgba(var(--hero-rgb), .1) 70%),
    linear-gradient(0deg, rgba(var(--hero-rgb), .9) 0%, rgba(var(--hero-rgb), 0) 45%);
}
.tag-head .wrap, .error-page .wrap { position: relative; z-index: 1; width: 100%; max-width: none; padding: 0 var(--gut); }
.tag-panel { max-width: 700px; padding: 64px 0 48px; }
.tag-panel h1 { color: var(--hero-fg); font: 800 clamp(44px, 6vw, 94px)/1 var(--display); letter-spacing: -.035em; }
.tag-panel p { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: rgba(255, 255, 255, .93); }
.tag-head .crumbs ol, .tag-head .crumbs a { color: rgba(255, 255, 255, .85); }
.error-page { min-height: 72vh; align-items: center; }
.error-panel { padding: 80px 0; }
.error-panel h1 { color: var(--hero-fg); font: 900 clamp(96px, 15vw, 220px)/1 var(--display); letter-spacing: -.04em; }
.error-panel p { margin: 18px 0 0; font-size: 21px; color: rgba(255, 255, 255, .93); }
.error-panel .more { color: #fff; }

/* ---------- tablet ---------- */
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .search-btn { margin-right: 0; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gut) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: block; }
  .site-nav .nav { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 13px 0; font-size: 18px; }
}

/* ---------- timeline on one side, hub bands stacked ---------- */
@media (max-width: 820px) {
  .spine-h { text-align: left; }
  .sp-item, .sp-item:nth-child(even) { grid-template-columns: 1fr; padding-left: 42px; }
  .sp-item::before, .sp-item:not(:last-child)::after { left: 7px; }
  .sp-date, .sp-item:nth-child(even) .sp-date { grid-column: 1; grid-row: 1; text-align: left; margin-bottom: 4px; }
  .sp-txt, .sp-item:nth-child(even) .sp-txt { grid-column: 1; grid-row: 2; justify-self: start; text-align: left; }
  .sp-older { margin: 0 0 0 42px; }
  .hub-in { grid-template-columns: 1fr; }
}

/* ---------- phone: photo first, text under it ---------- */
@media (max-width: 700px) {
  .erow-ph::after { display: none; }
  body { font-size: 17px; }
  .head-in { gap: 8px; min-height: 58px; }
  .brand { font-size: 22px; }
  .hero { display: block; min-height: 0; }
  .hero-ph { position: relative; aspect-ratio: 4 / 3; }
  .hero-ph::after { background: linear-gradient(0deg, rgb(var(--hero-rgb)) 0%, rgba(var(--hero-rgb), .6) 24%, rgba(var(--hero-rgb), 0) 52%); }
  .hero-ph img { object-position: 50% 30%; }
  .hero-in { margin-top: -84px; padding: 0 var(--gut) 40px; }
  .h1-display { font-size: clamp(40px, 11.4vw, 56px); }
  .h1-lead { margin-top: 16px; font-size: 18px; }
  .hero-field { height: 56px; margin-top: 24px; font-size: 17px; }
  .erow { display: block; min-height: 0; }
  .erow-ph, .erow-flip .erow-ph {
    position: relative; width: 100%; aspect-ratio: 16 / 10;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .erow-tx, .erow-flip .erow-tx { width: auto; margin: -8px 0 0; padding: 0 var(--gut) 44px; }
  .erow h2 { font-size: 29px; }
  .find { padding: 40px var(--gut) 48px; }
  .find-field { height: 56px; font-size: 17px; }
  .sp-item { padding-bottom: 26px; }
  .sp-txt h3 { font-size: 21px; }
  .hubs-h, .spine-h { font-size: 31px; }
  .hub-head h3 { font-size: 30px; }
  .hub-list a { font-size: 18px; }
  .foot-in { flex-direction: column; gap: 14px; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .post-body { padding-top: 32px; }
  .gh-content { font-size: 18px; }
  .post-feature { padding: 0; }
  .post-feature img { aspect-ratio: 16 / 10; }
  .tag-panel { padding: 120px 0 36px; }
  .crumbs [aria-current] { max-width: 22ch; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

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

/* Keep wide article tables independently scrollable. */
.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; }

/* Long author names must fit the narrow list header. */
.author-template .list-head h1 { overflow-wrap: anywhere; }

/* Image-only anchors need a block box for the inherited keyboard focus outline. */
.gh-content .kg-image-card > a,
.gh-content figure > a { display: block; }

/* hide-empty: topics without a published guide are not rendered (06.11.2026).
   No rules needed: hub bands alternate with .hub:nth-child(even), which counts only the rendered bands, so the
   tones still alternate with any number of topics; Other topics is a wrapping flex row. */

/* 3.1.6 topic navigation (08.11.2026): a topic strip under the header on every page, a topic index right under the
   hero (#topics) and a hero link to it; the bands at the bottom keep the newest guides of each topic. */
.topic-bar { position: relative; z-index: 19; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topic-row { display: flex; align-items: center; gap: 0 22px; min-height: 48px; padding: 0 var(--gut); }
.topic-label { flex: none; color: var(--link); font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.topic-list { display: flex; align-items: center; min-width: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.topic-list::-webkit-scrollbar { display: none; }
.topic-list li { flex: none; display: flex; align-items: center; }
.topic-list li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--muted); opacity: .7; }
.topic-list a { display: block; padding: 13px 0; color: var(--fg); font: 500 15px/1.2 var(--body); text-decoration: none; }
.topic-list a:hover, .topic-list a[aria-current] { text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.topic-list a[aria-current] { font-weight: 700; }
.topic-bar :focus-visible { outline-offset: -3px; }
.hero-more { display: table; margin-top: 20px; color: var(--hero-fg); font: 600 clamp(17px, 1.3vw, 19px)/1.3 var(--body); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.scheme-acid .hero-more { text-decoration-color: #C6F432; }
.t-index { scroll-margin-top: 12px; }
.t-index-in { max-width: 1360px; margin: 0 auto; padding: clamp(44px, 4.6vw, 76px) var(--gut) clamp(40px, 4.2vw, 68px); }
.t-index-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; }
.t-index-head h2 { font: 800 clamp(32px, 3.4vw, 52px)/1.06 var(--display); letter-spacing: -.028em; }
.t-index-head p { margin: 0; color: var(--muted); font-size: 17px; }
.topic-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 4vw, 72px); margin: clamp(24px, 2.6vw, 38px) 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.topic-index li { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 18px 0 20px; border-top: 1px solid var(--line); }
.topic-index h3 { grid-column: 1; font: 800 clamp(21px, 1.7vw, 26px)/1.15 var(--display); letter-spacing: -.016em; }
.topic-index h3 a { text-decoration: none; }
.topic-index h3 a::after { content: ""; position: absolute; inset: 0; }
.topic-index li:hover h3 a { text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.topic-index p { grid-column: 1; margin: 7px 0 0; color: var(--text); font-size: 16px; line-height: 1.5; }
.topic-index .ti-count { grid-column: 2; grid-row: 1; align-self: baseline; color: var(--link); font-size: 15px; font-weight: 600; white-space: nowrap; }
@media (max-width: 1100px) {
  .topic-list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .topic-list li:last-child { padding-right: 28px; }
}
@media (max-width: 760px) {
  .topic-row { gap: 0 14px; min-height: 44px; }
  .topic-list a { padding: 12px 0; }
  .topic-index { grid-template-columns: 1fr; }
  .t-index-head h2 { font-size: 31px; }
}
