@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/fraunces-400-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: 'Karla';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/karla-400-700-italic.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: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/karla-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;
}

/* TheGarageBand.net v3 - skeleton E: warm photo mosaic, film grain, low sun. */

:root,
.scheme-golden-hour {
  --bg: #FDF2E0;
  --bg-2: #FAE6C6;
  --ink: #2B1008;
  --ink-2: #5A4636;
  --rule: #DCCDB6;
  --slash: #B9A184;
  --accent-text: #A3360F;
  --underline: #F5A623;
  --focus: #A3360F;
  --sun-1: #FFD27A;
  --sun-2: #F5A623;
  --sun-3: #E4572E;
  --chip: #F7DDB3;
  --grain-paper: .05;
}
.scheme-dusk {
  --bg: #3B2414;
  --bg-2: #4A2F1B;
  --ink: #FFF4E0;
  --ink-2: #E6D0B2;
  --rule: #6B4D33;
  --slash: #A4825F;
  --accent-text: #F5A623;
  --underline: #E4572E;
  --focus: #F5A623;
  --sun-1: #FFD27A;
  --sun-2: #F5A623;
  --sun-3: #E4572E;
  --chip: #563720;
  --grain-paper: .07;
}
.scheme-amber {
  --bg: #F6B544;
  --bg-2: #F2A535;
  --ink: #2B1008;
  --ink-2: #4A2614;
  --rule: #D18A2A;
  --slash: #8E5418;
  --accent-text: #7A2208;
  --underline: #7A2208;
  --focus: #2B1008;
  --sun-1: #FFE3A6;
  --sun-2: #FFC65C;
  --sun-3: #E4572E;
  --chip: #F9C86A;
  --grain-paper: .06;
}

:root {
  --on-photo: #FFF6E6;
  --scrim: 34, 13, 4;
  --serif: var(--gh-font-heading, "Fraunces", Georgia, "Times New Roman", serif);
  --sans: var(--gh-font-body, "Karla", system-ui, -apple-system, "Segoe UI", sans-serif);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut: clamp(16px, 3.5vw, 56px);
  --seam: 3px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-paper);
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.mast { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.mast-in { display: flex; align-items: center; gap: 20px; min-height: 66px; padding: 0 var(--gut); max-width: 1600px; margin: 0 auto; }
.wordmark {
  margin-right: auto;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(23px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.mast-nav .nav { list-style: none; display: flex; gap: clamp(16px, 1.9vw, 30px); }
.mast-nav a {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
}
.mast-nav a:hover, .mast-nav .nav-current a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.search-btn, .menu-btn {
  appearance: none;
  border: 0;
  background: none;
  color: var(--ink);
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  flex: none;
}
.search-btn:hover, .menu-btn:hover { background: var(--bg-2); }
.menu-btn { display: none; }
.menu-bars { display: grid; gap: 5px; width: 22px; }
.menu-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.mast.open .menu-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mast.open .menu-bars i:nth-child(2) { opacity: 0; }
.mast.open .menu-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1179px) {
  .menu-btn { display: inline-grid; }
  .mast-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gut) 22px;
    box-shadow: 0 18px 30px -18px rgba(var(--scrim), .45);
  }
  .mast.open .mast-nav { display: block; }
  .mast-nav .nav { flex-direction: column; gap: 0; }
  .mast-nav a { display: block; font-size: 21px; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
  .mast-nav li:last-child a { border-bottom: 0; }
}

/* ---------------------------------------------------------------- shared photo treatment */
.hero, .tile, .taghead-photo, .post-feature, .gh-content .kg-image-card { position: relative; }
.grain::after,
.hero::after,
.tile::after,
.taghead-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .13;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* ---------------------------------------------------------------- hero */
.hero { height: clamp(560px, 55vw, 820px); overflow: hidden; background: #3B2414; color: var(--on-photo); }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 55%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 222, 150, .8) 0, rgba(255, 196, 96, .44) 14%, rgba(245, 166, 35, .16) 30%, rgba(245, 166, 35, 0) 46%),
    radial-gradient(ellipse 58% 74% at 14% 92%, rgba(var(--scrim), .82) 0%, rgba(var(--scrim), .66) 38%, rgba(var(--scrim), .26) 72%, rgba(var(--scrim), 0) 100%),
    linear-gradient(to top, rgba(var(--scrim), .4) 0%, rgba(var(--scrim), 0) 30%);
}
.hero-in {
  position: absolute;
  z-index: 3;
  left: var(--gut);
  right: var(--gut);
  bottom: clamp(40px, 5vw, 76px);
  max-width: 720px;
}
.hero h1 { font-weight: 800; text-shadow: 0 2px 24px rgba(var(--scrim), .35); }
.h1-display {
  display: block;
  font-size: clamp(50px, 7.2vw, 106px);
  line-height: .95;
  letter-spacing: -0.025em;
}
.h1-display .ln { display: block; } /* the mockup break at every width */
.h1-lead {
  display: block;
  margin-top: 22px;
  max-width: 22.5em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.3;
  letter-spacing: 0;
}
.hero-links { display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 3vw, 44px); margin-top: 30px; }
.hero-links a {
  font-weight: 700;
  font-size: clamp(18px, 1.55vw, 22px);
  color: var(--on-photo);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(255, 246, 230, .8);
}
.hero-links a:hover { text-decoration-color: #F5A623; }
.hero a:focus-visible, .tile a:focus-visible, .taghead a:focus-visible { outline-color: #F5A623; }

/* ---------------------------------------------------------------- mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: clamp(250px, 21.7vw, 340px) clamp(240px, 20.8vw, 330px) clamp(260px, 22.2vw, 350px);
  grid-template-areas: "a b" "a c" "d e";
  gap: var(--seam);
  padding-top: var(--seam);
  background: var(--bg);
}
.tile { overflow: hidden; background: #4A2B16; color: var(--on-photo); min-height: 0; }
.tile-1 { grid-area: a; }
.tile-2 { grid-area: b; }
.tile-3 { grid-area: c; }
.tile-4 { grid-area: d; }
.tile-5 { grid-area: e; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover > img { transform: scale(1.025); }
.tile-sun {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 35%, var(--sun-1) 0, var(--sun-2) 18%, var(--sun-3) 42%, #3B2414 78%);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .72) 45%, rgba(var(--scrim), .35) 75%, rgba(var(--scrim), 0) 92%);
}
.tile-text { position: absolute; z-index: 3; left: clamp(20px, 2.8vw, 42px); right: clamp(20px, 2.8vw, 42px); bottom: clamp(20px, 2.4vw, 36px); }
.tile h3 { font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; max-width: 22ch; text-shadow: 0 1px 18px rgba(var(--scrim), .4); }
.tile-1 h3 { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.04; max-width: 16ch; letter-spacing: -0.02em; }
.tile-link { color: var(--on-photo); text-decoration: none; }
.tile-link::after { content: ""; position: absolute; inset: -2000px; z-index: 4; }
.tile .tile-text { position: absolute; }
.tile { isolation: isolate; }
.tile:hover .tile-link { text-decoration: underline; text-decoration-color: #F5A623; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tile:focus-within { outline: 3px solid #F5A623; outline-offset: -6px; }
.tile:focus-within .tile-link:focus-visible { outline: none; }
.tile p { margin-top: 10px; font-size: 16px; line-height: 1.45; max-width: 48ch; color: rgba(255, 246, 230, .92); }
.tile-1 p { font-size: clamp(16px, 1.3vw, 19px); margin-top: 14px; }
.fb { display: none; }
.mosaic[data-n="0"] .fb,
.mosaic[data-n="1"] .fb-2, .mosaic[data-n="1"] .fb-3, .mosaic[data-n="1"] .fb-4, .mosaic[data-n="1"] .fb-5,
.mosaic[data-n="2"] .fb-3, .mosaic[data-n="2"] .fb-4, .mosaic[data-n="2"] .fb-5,
.mosaic[data-n="3"] .fb-4, .mosaic[data-n="3"] .fb-5,
.mosaic[data-n="4"] .fb-5 { display: block; }

/* ---------------------------------------------------------------- topic index */
.topics { max-width: 1600px; margin: 0 auto; padding: clamp(48px, 5.6vw, 84px) var(--gut) clamp(56px, 6vw, 92px); }
.topics > h2 { font-size: clamp(30px, 2.8vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: clamp(26px, 2.6vw, 40px); }
.topic-cols { display: grid; grid-template-columns: 1fr 1fr; }
.topic-col { list-style: none; display: grid; gap: clamp(24px, 2.4vw, 34px); align-content: start; }
.topic-col + .topic-col { border-left: 1px solid var(--rule); padding-left: clamp(28px, 4vw, 64px); }
.topic-col:first-child { padding-right: clamp(28px, 4vw, 64px); }
.topic h3 { font-size: clamp(20px, 1.6vw, 23px); font-weight: 700; margin-bottom: 8px; }
.topic h3 a { text-decoration: none; }
.topic h3 a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.topic-links { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.topic-links a { color: var(--ink-2); text-decoration: none; }
.topic-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.slash { color: var(--slash); padding: 0 .2em; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--rule); background: var(--bg); }
.foot-in {
  max-width: 1600px;
  margin: 0 auto;
  padding: 22px var(--gut) 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 40px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.foot-note { max-width: 860px; }
.foot-mark { font-family: var(--serif); font-weight: 600; color: var(--ink); margin-right: .35em; }
.foot-nav .nav { list-style: none; display: flex; gap: 26px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- sun disc motif */
.about-sun, .row-dot {
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--sun-1) 0, var(--sun-2) 58%, var(--sun-3) 100%);
}

/* ---------------------------------------------------------------- post */
.post-head { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gut) 0; }
.post-head::after {
  content: "";
  position: absolute;
  right: calc(-1 * clamp(80px, 12vw, 200px));
  top: clamp(48px, 6vw, 90px);
  width: clamp(90px, 9vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--sun-1) 0, var(--sun-2) 58%, var(--sun-3) 100%);
  opacity: .92;
  box-shadow: 0 0 0 16px rgba(245, 166, 35, .10), 0 0 70px 26px rgba(245, 166, 35, .26);
}
.crumbs { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); text-decoration-color: var(--rule); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); text-decoration-color: var(--underline); }
.crumb-sep { padding: 0 .35em; color: var(--slash); }
.post-head h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.025em; }
.post-dek { margin-top: 20px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); }
.byline { margin-top: 22px; font-weight: 700; font-size: 16px; }
.byline a { text-decoration: none; }
.post-meta { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.post-feature { max-width: 1320px; margin: clamp(30px, 4vw, 52px) auto 0; padding: 0 var(--gut); }
.post-feature img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.post-feature figcaption { font-size: 15px; color: var(--ink-2); padding-top: 10px; }

.post-body { max-width: 720px; margin: 0 auto; padding: clamp(34px, 4vw, 56px) var(--gut) 10px; font-size: 19px; line-height: 1.72; }
.gh-content > * + * { margin-top: 1.15em; }
.gh-content h2 { font-size: clamp(26px, 2.3vw, 34px); margin-top: 1.9em; letter-spacing: -0.015em; }
.gh-content h3 { font-size: clamp(22px, 1.8vw, 26px); margin-top: 1.6em; }
.gh-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gh-content a:hover { color: var(--accent-text); }
.gh-content ol, .gh-content ul { padding-left: 1.3em; }
.gh-content li + li { margin-top: .45em; }
.gh-content li::marker { color: var(--accent-text); font-weight: 700; }
.gh-content blockquote { margin-left: 0; padding-left: 22px; border-left: 3px solid var(--underline); font-family: var(--serif); font-size: 1.15em; }
.gh-content hr { border: 0; height: 1px; background: var(--rule); margin: 2.4em 0; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content figcaption { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding-top: 10px; }
.gh-content .kg-image-card img { width: 100%; }
.gh-content .kg-width-wide, .kg-width-wide { width: min(1120px, calc(100vw - 2 * var(--gut))); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full, .kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full figcaption { padding-left: var(--gut); padding-right: var(--gut); }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16.5px; line-height: 1.5; }
.gh-content th { text-align: left; font-family: var(--serif); font-weight: 700; border-bottom: 2px solid var(--ink); padding: 10px 14px 10px 0; }
.gh-content td { border-bottom: 1px solid var(--rule); padding: 11px 14px 11px 0; vertical-align: top; }
.gh-content td:first-child { font-weight: 700; white-space: normal; }
code, kbd, pre { font-family: var(--mono); }
.gh-content code { font-size: .86em; background: var(--chip); padding: .1em .35em; border-radius: 5px; }
.gh-content pre { background: #2B1008; color: #FFF4E0; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.gh-content pre code { background: none; padding: 0; color: inherit; }
kbd {
  display: inline-block;
  font-size: .8em;
  line-height: 1.3;
  padding: .12em .5em;
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--slash);
  box-shadow: 0 2px 0 var(--slash);
}
.callout, .gh-content .kg-callout-card {
  position: relative;
  background: var(--bg-2);
  border-radius: 18px;
  padding: 20px 24px 20px 74px;
  font-size: 17.5px;
}
.callout::before, .gh-content .kg-callout-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--sun-1) 0, var(--sun-2) 58%, var(--sun-3) 100%);
}

.gh-content .kg-callout-card { display: block; margin: 1.8em 0; color: var(--ink); }
.gh-content .kg-callout-card[class*="kg-callout-card-"] { background: var(--bg-2); }
.gh-content .kg-callout-emoji { display: none; }
.gh-content .kg-callout-text { font-size: inherit; line-height: 1.6; }
.gh-content .kg-callout-text > :first-child { margin-top: 0; }

.post-tags { max-width: 720px; margin: 36px auto 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.post-tags-label { color: var(--ink-2); margin-right: 4px; }
.post-tags a { text-decoration: none; background: var(--chip); color: var(--ink); padding: 5px 14px; border-radius: 999px; font-weight: 600; }
.post-tags a:hover { background: var(--bg-2); text-decoration: underline; }
.post-about { max-width: 720px; margin: 34px auto 0; padding: 26px var(--gut) 0; display: flex; gap: 22px; align-items: flex-start; border-top: 1px solid var(--rule); }
.post-about .about-sun, .post-about .about-dot { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.post-about h2 { font-size: 21px; margin-bottom: 6px; }
.post-about h2 a { text-decoration: none; }
.post-about p { font-size: 16.5px; color: var(--ink-2); line-height: 1.55; }

.related { max-width: 980px; margin: clamp(48px, 5vw, 72px) auto 0; padding: clamp(36px, 4vw, 54px) var(--gut) clamp(56px, 6vw, 84px); border-top: 1px solid var(--rule); }
.related > h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 22px; }

/* rows: round thumbnails, used by related, tag, author and index lists */
.rows { list-style: none; display: grid; }
.row { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.2vw, 30px); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.row:first-child { padding-top: 6px; }
.row-img, .row-dot { width: clamp(76px, 8vw, 116px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: none; }
.row-img img, .row .thumb { width: 100%; height: 100%; object-fit: cover; }
.row-tag { font-size: 14.5px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.row-tag:hover { text-decoration: underline; }
.row h3 { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.18; margin: 3px 0 6px; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row p { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }

/* ---------------------------------------------------------------- tag / author / index */
.taghead { position: relative; }
.taghead-photo { height: clamp(320px, 34vw, 500px); overflow: hidden; background: #3B2414; }
.taghead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.taghead-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 196, 92, .45) 0, rgba(245, 166, 35, 0) 30%),
    linear-gradient(28deg, rgba(var(--scrim), .82) 0%, rgba(var(--scrim), .45) 34%, rgba(var(--scrim), 0) 64%);
}
.taghead-in { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: clamp(28px, 3.4vw, 52px); max-width: 760px; color: var(--on-photo); }
.taghead h1 { font-weight: 800; font-size: clamp(42px, 6vw, 86px); line-height: .98; letter-spacing: -0.025em; text-shadow: 0 2px 22px rgba(var(--scrim), .35); }
.taghead-in p { margin-top: 14px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; max-width: 52ch; }
.taghead-plain .taghead-in { position: static; color: var(--ink); max-width: 860px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gut) clamp(26px, 3vw, 40px); }
.taghead-plain h1 { text-shadow: none; }
.taghead-plain .about-dot { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.author-meta { color: var(--ink-2); font-size: 16px; }
.taglist { max-width: 980px; margin: 0 auto; padding: clamp(30px, 4vw, 52px) var(--gut) clamp(56px, 6vw, 88px); }
.list-title { font-weight: 800; font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -0.02em; margin-bottom: 18px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; font-size: 16px; color: var(--ink-2); }
.pagination a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pagination .older { margin-left: auto; }

/* ---------------------------------------------------------------- error */
.errpage { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--gut) clamp(60px, 7vw, 110px); display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.err-fig { margin: 0; position: relative; }
.err-fig img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--bg), 0 0 0 16px var(--sun-2); }
.err-fig::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; right: -4%; top: -4%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--sun-1) 0, var(--sun-2) 58%, var(--sun-3) 100%); }
.err-code { font-weight: 700; color: var(--accent-text); font-size: 17px; }
.err-text h1 { font-weight: 800; font-size: clamp(40px, 5vw, 70px); letter-spacing: -0.025em; line-height: 1; margin: 8px 0 18px; }
.err-text > p { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.err-search { margin-top: 24px; appearance: none; border: 2px solid var(--ink); background: none; color: var(--ink); font: 700 17px/1 var(--sans); padding: 13px 22px; border-radius: 999px; cursor: pointer; }
.err-search:hover { background: var(--ink); color: var(--bg); }
.err-hubs { list-style: none; margin-top: 30px; border-top: 1px solid var(--rule); }
.err-hubs a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink-2); font-size: 16.5px; }
.err-hubs strong { font-family: var(--serif); color: var(--ink); font-size: 19px; margin-right: .4em; }
.err-hubs a:hover strong { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 999px) {
  .mosaic { grid-template-rows: 280px 270px 290px; }
  .post-head::after { display: none; }
  .foot-in { flex-direction: column; }
}
@media (max-width: 759px) {
  body { font-size: 17px; }
  .hero { height: 620px; }
  .hero-photo img { object-position: 46% 50%; }
  .hero::before {
    background:
      radial-gradient(circle at 90% 6%, rgba(255, 214, 128, .66) 0, rgba(245, 166, 35, .2) 18%, rgba(245, 166, 35, 0) 36%),
      linear-gradient(to top, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .7) 40%, rgba(var(--scrim), .2) 62%, rgba(var(--scrim), 0) 78%);
  }
  .h1-display { font-size: clamp(44px, 12.4vw, 56px); }
  .h1-lead { margin-top: 16px; font-size: 19px; }
  .hero-links { gap: 8px 22px; margin-top: 22px; }
  .hero-links a { font-size: 17.5px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; grid-template-areas: none; }
  .tile { grid-area: auto; height: 300px; }
  .tile-1 { height: 420px; }
  .tile h3, .tile-1 h3 { max-width: none; }
  .tile-1 h3 { font-size: 31px; }
  .tile h3 { font-size: 24px; }
  .tile p, .tile-1 p { font-size: 15.5px; }
  .topic-cols { grid-template-columns: 1fr; }
  .topic-col:first-child { padding-right: 0; padding-bottom: 28px; }
  .topic-col + .topic-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
  .post-body { font-size: 18px; }
  .callout, .gh-content .kg-callout-card { padding: 18px 18px 18px 60px; }
  .callout::before, .gh-content .kg-callout-card::before { left: 18px; width: 26px; height: 26px; }
  .gh-content td:first-child { white-space: normal; }
  .errpage { grid-template-columns: 1fr; }
  .err-fig { max-width: 260px; }
  .foot-nav .nav { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .tile:hover > img { transform: none; }
}

/* v3.1 blog blocks: sunlight enters the mosaic and its open topic index. */
.mosaic-head { padding: 30px var(--gut) 25px; }
.mosaic-head h2 { font-size: clamp(29px, 3vw, 42px); }
.dated-mosaic .tile-latest-1 { grid-area: b; }
.dated-mosaic .tile-latest-2 { grid-area: c; }
.dated-mosaic .tile-latest-3 { grid-area: d; }
.dated-mosaic .tile-latest-4 { grid-area: e; }
.dated-mosaic .tile-link::after { display: none; }
.tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin-bottom: 12px; }
.tile-tag { color: var(--on-photo); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.sun-date { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: 15px; line-height: 1.5; font-weight: 500; white-space: nowrap; }
.sun-date::before { content: ""; flex: none; width: 17px; height: 9px; border-radius: 18px 18px 0 0; background: var(--underline); border-bottom: 1px solid currentColor; }
.tile-meta .sun-date { color: var(--on-photo); }
.tile-meta .sun-date::before { background: #F5A623; }
.sunset-feed { position: relative; max-width: 1600px; margin: 0 auto; padding: 44px var(--gut) 18px; }
.sunset-feed h2 { font-size: clamp(26px, 2.5vw, 36px); margin-bottom: 26px; }
.sunset-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px 36px; position: relative; padding-bottom: 76px; }
.sunset-list::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 76px; border: 2px solid var(--underline); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
.sunset-item { position: relative; min-width: 0; }
.sunset-item h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.17; margin-top: 10px; }
.sunset-item h3 a { text-decoration: none; }
.sunset-item h3 a:hover, .hub-list > li > a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 5px; }
.feed-meta { display: grid; gap: 4px; color: var(--ink-2); }
.feed-meta > a { font-size: 15px; color: var(--accent-text); text-decoration: none; }
.feed-more { display: block; width: fit-content; margin: 22px auto 0; font-family: var(--serif); font-size: 22px; text-decoration-color: var(--underline); text-underline-offset: 6px; }
.sun-topics { padding-top: 50px; }
.horizon-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 120px); padding: 54px 0 30px; }
.horizon-pair::before { content: ""; position: absolute; top: 16px; left: calc(50% - 46px); width: 92px; height: 46px; background: var(--sun-2); border-radius: 100px 100px 0 0; }
.horizon-pair::after { content: ""; position: absolute; top: 73px; bottom: 20px; left: 50%; width: 1px; background: var(--rule); }
.hub-horizon { min-width: 0; }
.hub-horizon > h3 { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.1; margin-bottom: 12px; max-width: 22ch; }
.hub-horizon > h3 a { text-decoration: none; }
.hub-horizon > h3 a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 6px; }
.hub-desc { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 48ch; }
.hub-list { list-style: none; display: grid; gap: 19px; margin-top: 24px; max-width: 48ch; }
.hub-list > li { display: grid; gap: 4px; }
.hub-list .sun-date { color: var(--ink-2); }
.hub-list > li > a { font-size: 18px; line-height: 1.45; text-decoration: none; }
.row-text > .sun-date { display: flex; width: fit-content; color: var(--ink-2); margin: 7px 0 6px; }
.other-topics { display: flex; flex-wrap: wrap; gap: 13px 20px; margin-top: 42px; font-size: 16px; }
.other-topics > span { font-family: var(--serif); font-weight: 700; width: 100%; font-size: 24px; }
.other-topics a { display: inline-flex; gap: 8px; align-items: baseline; text-decoration-color: var(--underline); text-underline-offset: 4px; }
.other-topics a::before { content: ""; flex: none; width: 12px; height: 6px; border-radius: 15px 15px 0 0; background: var(--underline); }
@media (min-width: 1200px) {
  .sunset-item:nth-child(1), .sunset-item:nth-child(4) { padding-top: 56px; }
}
@media (max-width: 1199px) {
  .sunset-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .dated-mosaic .tile-latest-1, .dated-mosaic .tile-latest-2, .dated-mosaic .tile-latest-3, .dated-mosaic .tile-latest-4 { grid-area: auto; }
  .sunset-list { grid-template-columns: 1fr; gap: 29px; }
  .sunset-list::after { height: 40px; }
  .sunset-list { padding-bottom: 48px; }
  .horizon-pair { grid-template-columns: 1fr; gap: 42px; padding-top: 55px; padding-bottom: 26px; }
  .horizon-pair::before { left: 0; width: 58px; height: 29px; top: 10px; }
  .horizon-pair::after { display: none; }
  .hub-horizon > h3 { font-size: 29px; }
  .hub-horizon + .hub-horizon { position: relative; padding-top: 41px; }
  .hub-horizon + .hub-horizon::before { content: ""; position: absolute; top: 0; left: 0; width: 58px; height: 29px; border-radius: 60px 60px 0 0; background: var(--sun-2); }
  .tile-meta { gap: 6px 14px; }
}

/* 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; }

@media (max-width: 380px) { .mast-in { gap: 8px; } .wordmark { min-width: 0; font-size: 21px; } .search-btn, .menu-btn { flex-shrink: 0; } }

/* hide-empty: topics without a published guide are not rendered.
   Mosaic: with nothing featured and "Recording" empty there is no tile-1, so the first latest tile takes the large
   cell and the fourth spans the bottom row (no hole). Topic pairs: a pair with no hub is dropped; a pair with one
   hub loses its centre rule and its sun sits over that hub (fallback without :has: the rule stays). */
@media (min-width: 760px) {
  .dated-mosaic > .tile-latest-1:first-child { grid-area: a; }
  .dated-mosaic > .tile-latest-1:first-child ~ .tile-latest-4 { grid-area: d / d / e / e; }
}
.horizon-pair:empty { display: none; }
.horizon-pair:has(> .hub-horizon:only-child)::after { display: none; }
.horizon-pair:has(> .hub-horizon:only-child)::before { left: 0; }
@media (min-width: 760px) { .horizon-pair:has(> .hub-horizon:only-child) { padding-top: 80px; } }

/* Topic navigation (3.1.5): a topic strip under the header on every page and a topic index right under the hero. */
.topic-bar{position:relative;z-index:10;background:var(--bg);border-bottom:1px solid var(--rule)}
.topic-row{display:flex;align-items:center;gap:0 22px;min-height:48px;max-width:1600px;margin:0 auto;padding:0 var(--gut)}
.topic-label{flex:none;color:var(--accent-text);font-family:var(--sans);font-size:13px;font-weight:700;line-height:1;letter-spacing:.1em;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(--slash)}
.topic-list a{display:block;padding:13px 0;color:var(--ink-2);font-size:16px;line-height:1.2;text-decoration:none}
.topic-list a:hover,.topic-list a[aria-current]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--underline);text-decoration-thickness:3px;text-underline-offset:7px}
.topic-list a[aria-current]{font-weight:700}
.topic-bar :focus-visible{outline-offset:-3px}
.t-index{scroll-margin-top:12px;background:var(--bg-2);border-bottom:1px solid var(--rule);padding:clamp(36px,3.8vw,60px) var(--gut) clamp(34px,3.4vw,54px)}
.t-index-in{max-width:1600px;margin:0 auto}
.t-index-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px 30px}
.t-index-head h2{font-size:clamp(30px,3vw,44px);letter-spacing:-.02em}
.t-index-head p{color:var(--ink-2);font-size:17px}
.topic-index{display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(30px,4.5vw,80px);margin-top:clamp(22px,2.4vw,34px);list-style:none;border-bottom:1px solid var(--rule)}
.topic-index li{position:relative;display:grid;grid-template-columns:1fr auto;column-gap:16px;padding:18px 0 20px;border-top:1px solid var(--rule)}
.topic-index h3{grid-column:1;font-size:clamp(22px,1.8vw,27px);line-height:1.15}
.topic-index h3::before{content:"";display:inline-block;width:18px;height:9px;margin-right:11px;border-radius:18px 18px 0 0;background:var(--sun-2);vertical-align:.16em}
.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(--underline);text-decoration-thickness:3px;text-underline-offset:6px}
.topic-index p{grid-column:1;margin-top:6px;padding-left:29px;color:var(--ink-2);font-size:16.5px;line-height:1.5}
.topic-index .ti-count{grid-column:2;grid-row:1;align-self:baseline;color:var(--accent-text);font-size:15px;font-weight:700;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:759px){
 .topic-row{gap:0 16px}
 .topic-list a{font-size:15px}
 .topic-index{grid-template-columns:1fr}
 .t-index-head h2{font-size:30px}
 .topic-index p{padding-left:0}
}

/* Topic task routes: keep the archive, with a musical task before the date order. */
.topic-paths{max-width:1100px;margin:0 auto;padding-left:var(--gut);padding-right:var(--gut);padding-top:clamp(30px,4vw,58px);padding-bottom:clamp(8px,2vw,26px)}
.topic-paths-intro{max-width:65ch;margin-bottom:30px;color:var(--ink-2);font-size:18px;line-height:1.55}
.topic-task{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:28px 64px;padding:30px 0;border-top:1px solid var(--rule)}
.topic-task-head h2{font-size:clamp(27px,2.5vw,36px);line-height:1.13;letter-spacing:-.02em}
.topic-task-head h2::before{content:"";display:block;width:36px;height:18px;margin-bottom:15px;border-radius:40px 40px 0 0;background:var(--sun-2)}
.topic-task-head p{margin-top:13px;max-width:40ch;color:var(--ink-2);font-size:17px;line-height:1.55}
.topic-task-links{list-style:none;display:grid;gap:22px;margin:0;padding:0}
.topic-task-links li{min-width:0}
.topic-task-links h3{font-size:clamp(23px,1.8vw,28px);line-height:1.25}
.topic-task-links h3 a{text-decoration-color:var(--underline);text-underline-offset:5px;text-decoration-thickness:2px}
.topic-task-links p{max-width:64ch;margin-top:7px;color:var(--ink-2);font-size:17px;line-height:1.55}
.topic-archive-heading{font-size:clamp(27px,2.7vw,38px);margin-bottom:26px}
.topic-paths+.taglist{padding-top:32px}
@media(max-width:759px){.topic-task{grid-template-columns:1fr;gap:22px;padding:27px 0}.topic-task-head h2::before{width:28px;height:14px;margin-bottom:12px}.topic-task-links{gap:23px}.topic-task-links p{font-size:16.5px}}
