/* ============================================================
   Grokkist Press — Reading Room theme
   Built on the Grokkist design system (tokens.css + components.css).
   Ground: cream paper for reading, deep forest for frames.
   ============================================================ */
@import url("tokens.css");
@import url("components.css");

:root {
  --gutter: clamp(20px, 6vw, 72px);
  --wrap: 1200px;
  --measure: 680px;
  --read-font: var(--font-serif);
  --read-size: 22px;
  --read-lh: 1.62;
}
.read-sans { --read-font: var(--font-sans); --read-size: 19px; --read-lh: 1.7; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
figure { margin: 0; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* ---------- Shared type ---------- */
.eyebrow {
  font: 500 var(--t-eyebrow)/1.4 var(--font-sans);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--fg-1); }
.eyebrow-ribbon { display: inline-flex; align-items: center; gap: 12px; }
.ribbon {
  display: inline-block; width: 48px; height: 12px; flex: none; background: var(--fg-3);
  -webkit-mask: var(--weave-mono) center / 100% 100% no-repeat; mask: var(--weave-mono) center / 100% 100% no-repeat;
}
.serif-display {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.01em;
}
.quiet-link {
  font: 500 15px var(--font-sans); text-decoration: none; color: var(--fg-1);
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px;
  transition: color var(--dur-base) var(--ease-emerge), border-color var(--dur-base) var(--ease-emerge);
}
.quiet-link:hover { color: var(--action-deep); border-color: var(--action); }
.dark .quiet-link:hover { color: var(--action-lift); border-color: var(--action-lift); }

/* ---------- Header ---------- */
.gh-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--ground-forest) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  color: var(--fg-1);
}
.gh-head-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg-1); }
.gh-head-brand img { width: 30px; height: 30px; object-fit: contain; }
.gh-head-lockup { font: 700 19px/1 var(--font-sans); letter-spacing: -.01em; white-space: nowrap; }
.gh-head-lockup em { font-family: var(--font-serif); font-weight: 500; font-size: 22px; }
.gh-head-room {
  font: 500 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-3); padding-left: 12px; border-left: 1px solid var(--rule-strong); white-space: nowrap;
}
.gh-head-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.gh-head-nav .nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); list-style: none; margin: 0; padding: 0; }
.gh-head-nav .nav li { display: flex; align-items: center; }
.gh-head-nav .nav li > a { display: block; }
.gh-head-nav a, .gh-head-search {
  font: 500 14px var(--font-sans); color: var(--fg-2); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.gh-head-nav a:hover, .gh-head-search:hover, .gh-head-nav .nav-current a { color: var(--fg-1); }
.gh-head-nav .gh-head-join {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--rule-strong); color: var(--fg-1); font-size: 13px; white-space: nowrap;
}
.gh-head-nav .gh-head-join:hover { border-color: var(--action-lift); color: var(--action-lift); }
.gh-burger {
  display: none; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: var(--r-2); border: 1px solid var(--rule-strong); background: transparent;
  color: var(--fg-1); cursor: pointer; font-size: 18px;
}
@media (max-width: 1080px) { .gh-head-room { display: none; } }
@media (max-width: 860px) {
  .gh-burger { display: inline-flex; }
  .gh-head-nav { display: none; }
  .gh-head-nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ground-forest); border-bottom: 1px solid var(--rule);
    padding: 24px var(--gutter) 28px;
  }
  .gh-head-nav.is-open .nav { flex-direction: column; gap: 18px; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--bg); color: var(--fg-1); padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.hero::after { content: none; } /* the header wave is the glimmer line here */
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.015em;
  margin: 8px 0 24px; text-wrap: balance;
}
.hero-lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--fg-2);
  max-width: 56ch; margin: 0 auto;
}
.hero-lede a { color: var(--fg-1); }
.hero-lede p { margin: 0 0 1em; }
.hero-links { display: flex; gap: 28px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Bands ---------- */
.band { padding: clamp(64px, 8vw, 112px) 0; }
.band-paper { background: var(--ground-paper); }
.band-bone { background: var(--ground-bone); }
.band.dark { background: var(--bg); color: var(--fg-1); }
.band-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 18px 48px; margin-bottom: clamp(36px, 5vw, 56px);
}
.band-head h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.band-aside { font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--fg-2); max-width: 36ch; margin: 0; }
.band-more { margin: 48px 0 0; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(28px, 3vw, 44px); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-lead { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; }
.grid-lead .pc-feature { grid-row: span 2; }
.grid-series { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-series { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-lead { grid-template-columns: 1fr; }
  .grid-lead .pc-feature { grid-row: auto; }
}
@media (max-width: 560px) { .grid-three, .grid-series { grid-template-columns: 1fr; } }

/* ---------- Post card ---------- */
.pc-link { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--fg-1); height: 100%; }
.pc-image { aspect-ratio: 16 / 9; border-radius: var(--r-4); overflow: hidden; background: var(--ground-mist); }
.pc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-emerge); }
.pc-link:hover .pc-image img { transform: scale(1.025); }
.pc-eyebrow { font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--biome-moss); margin: 0 0 8px; }
.pc-title { font-size: 22px; line-height: 1.22; letter-spacing: -.01em; margin-bottom: 10px; transition: color var(--dur-base) var(--ease-emerge); }
.pc-link:hover .pc-title { color: var(--action-deep); }
.pc-excerpt { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { font: 500 13px var(--font-sans); color: var(--biome-stone); opacity: .85; margin: 0; }
.pc-feature .pc-image { aspect-ratio: 16 / 10; border-radius: var(--r-leaf); }
.pc-feature .pc-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.pc-feature .pc-excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.grid-lead .pc:not(.pc-feature) .pc-link { flex-direction: row; gap: 20px; }
.grid-lead .pc:not(.pc-feature) .pc-image { flex: 0 0 42%; aspect-ratio: 3 / 2; align-self: flex-start; }
@media (max-width: 560px) { .grid-lead .pc:not(.pc-feature) .pc-link { flex-direction: column; } .grid-lead .pc:not(.pc-feature) .pc-image { aspect-ratio: 3/2; } }

/* ---------- Series card ---------- */
.sc-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--fg-1);
  background: var(--ground-cream); border: 1px solid var(--rule); border-radius: var(--r-4); overflow: hidden;
  transition: transform var(--dur-base) var(--ease-emerge), box-shadow var(--dur-base) var(--ease-emerge);
}
.sc-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.sc-image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground-mist); }
.sc-image img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sc-count { font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--action-deep); margin: 0 0 8px; }
.sc-title { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.sc-desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sc-cta { margin-top: auto; font: 500 14px var(--font-sans); }
.sc-link:hover .sc-cta { color: var(--action-deep); }

/* ---------- Realms ---------- */
.band-realms { background: var(--ground-ink) !important; }
.realms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.realms .realm:first-child { grid-column: span 2; grid-row: span 2; }
.realms .realm:nth-child(n+6) { grid-column: span 2; min-height: 200px; }
@media (max-width: 1080px) { .realms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .realms .realm:first-child { grid-row: auto; } .realms .realm:nth-child(n+6) { grid-column: auto; } .realms .realm:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .realms { grid-template-columns: 1fr; } .realms .realm:first-child, .realms .realm:last-child { grid-column: auto; } }
.realm {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; border-radius: var(--r-4); overflow: hidden; text-decoration: none; color: var(--ground-cream);
  border: 1px solid var(--rule);
  transition: transform var(--dur-base) var(--ease-emerge), border-color var(--dur-base) var(--ease-emerge);
}
.realm:hover { transform: translateY(-3px); border-color: var(--realm); }
.realm-art { position: absolute; inset: 0; }
.realm-art img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-drift) var(--ease-drift); }
.realm:hover .realm-art img { transform: scale(1.04); }
.realm-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,19,19,0) 25%, rgba(12,19,19,.88) 100%); }
.realm-body { position: relative; padding: 20px 22px; }
.realm-tag { display: flex; align-items: center; gap: 8px; font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(248,242,230,.78); margin: 0 0 6px; }
.realm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--realm); box-shadow: 0 0 0 3px color-mix(in srgb, var(--realm) 30%, transparent); }
.realm-name { font-size: 22px; line-height: 1.15; }
.realm:first-child .realm-name { font-family: var(--font-serif); font-weight: 500; font-size: 38px; }
.realm-desc { font-size: 14.5px; line-height: 1.5; color: rgba(248,242,230,.78); margin: 6px 0 0; max-width: 40ch; }

/* ---------- Books band ---------- */
.band-books { background: var(--ground-forest); }
.books-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.books-copy p:not(.eyebrow) { color: var(--fg-2); font-size: 17px; max-width: 42ch; margin: 18px 0 28px; }
.books-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1500px; }
.cover { display: block; border-radius: 2px 6px 6px 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(248,242,230,.25), 0 22px 48px -16px rgba(0,0,0,.7); transition: transform var(--dur-base) var(--ease-emerge); }
.cover:hover { transform: translateY(-6px) rotateY(-4deg); }
.cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 860px) { .books-wrap { grid-template-columns: 1fr; } }

/* ---------- Tag / channel hero ---------- */
.tag-hero { position: relative; background: var(--bg); color: var(--fg-1); padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(56px, 7vw, 96px); overflow: hidden; }
.tag-hero-inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.tag-hero.has-image .tag-hero-art { position: absolute; inset: 0; }
.tag-hero.has-image .tag-hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.85); }
.tag-hero.has-image .tag-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,42,.55), rgba(14,42,42,.92)); }
.tag-hero .hero-title { font-size: clamp(42px, 5.4vw, 72px); }
.tag-hero .quiet-link { display: inline-block; margin-top: 28px; }
.realm-hero .tag-hero-art img { opacity: .62; }

/* ---------- Series list (tag page) ---------- */
.series-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.series-item a {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--fg-1);
}
.series-num { font-family: var(--font-serif); font-size: 34px; line-height: 1; color: var(--action); font-weight: 500; }
.series-title { display: block; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.series-meta { display: block; font-size: 14px; color: var(--fg-2); margin-top: 6px; }
.series-dek { display: block; font-family: var(--font-serif); font-size: 17px; line-height: 1.45; color: var(--fg-2); margin-top: 6px; max-width: 58ch; }
.series-arrow { color: var(--fg-3); }
.series-item a:hover .series-title, .series-item a:hover .series-arrow { color: var(--action-deep); }

/* ---------- Article ---------- */
.article { background: var(--ground-paper); }
.article-head { padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(36px, 4vw, 56px); }
.article-head-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.article-head .eyebrow a { color: var(--biome-moss); }
.article-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.015em;
  margin: 6px 0 22px; text-wrap: balance;
}
.article-dek { font-family: var(--font-serif); font-style: italic; font-size: clamp(21px, 2vw, 26px); line-height: 1.4; color: var(--fg-2); max-width: 40ch; margin: 0 auto 32px; }
.byline { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.byline-avatars { display: flex; }
.byline-avatars .av-img + .av-img { margin-left: -10px; }
.av-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ground-paper); background: var(--ground-mist); }
.av-blank { display: inline-block; }
.byline-names { font: 700 15px var(--font-sans); margin: 0; }
.byline-names a { text-decoration: none; }
.byline-names a:hover { color: var(--action-deep); }
.byline-meta { font-size: 13.5px; color: var(--fg-2); margin: 2px 0 0; }
.article-image { max-width: 1100px; margin: 0 auto clamp(40px, 5vw, 64px); padding: 0 var(--gutter); }
.article-image img { width: 100%; border-radius: var(--r-5); }
.article-image figcaption { font-size: 13px; color: var(--fg-2); text-align: center; margin-top: 12px; font-style: italic; }

.series-ribbon {
  display: flex; align-items: center; gap: 14px; max-width: var(--measure);
  margin: 0 auto 40px; padding: 14px 20px; border-radius: var(--r-3);
  background: var(--ground-cream); border: 1px solid var(--rule);
  font-size: 15px;
}
.series-ribbon p { margin: 0; color: var(--fg-2); }
.series-ribbon a { color: var(--fg-1); font-weight: 700; text-decoration-color: var(--action); text-underline-offset: 3px; }
@media (max-width: 760px) { .series-ribbon { margin-left: var(--gutter); margin-right: var(--gutter); } }

/* ---------- Content (Koenig) ---------- */
.gh-content {
  display: grid;
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 120px) [main-start] min(var(--measure), calc(100% - 2 * var(--gutter))) [main-end] minmax(0, 120px) [wide-end] minmax(var(--gutter), 1fr) [full-end];
  font-family: var(--read-font);
  font-size: var(--read-size);
  line-height: var(--read-lh);
  color: #1B2E2E;
  padding-bottom: 32px;
}
.gh-content > * { grid-column: main; margin: 0 0 1.05em; }
.gh-content > .kg-width-wide { grid-column: wide; }
.gh-content > .kg-width-full { grid-column: full; }
.gh-content > .kg-width-full img { border-radius: 0; }
.gh-content h2, .gh-content h3, .gh-content h4 { font-family: var(--font-sans); font-weight: 700; color: var(--fg-1); letter-spacing: -.015em; line-height: 1.2; }
.gh-content h2 { font-size: 30px; margin-top: 1.5em; }
.gh-content h3 { font-size: 23px; margin-top: 1.3em; }
.gh-content h4 { font-size: 19px; margin-top: 1.2em; }
.gh-content a { color: var(--action-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content a:hover { color: var(--action); }
.gh-content strong { font-weight: 600; }
.read-sans .gh-content strong { font-weight: 700; }
.gh-content blockquote:not(.kg-blockquote-alt) {
  border-left: 3px solid var(--action); padding: 2px 0 2px 24px; margin-left: 0;
  font-style: italic; color: var(--fg-1);
}
.gh-content blockquote.kg-blockquote-alt {
  font-family: var(--font-serif); font-style: italic; text-align: center;
  font-size: 1.45em; line-height: 1.35; color: var(--fg-1); padding: 0.4em 0; position: relative;
}
.gh-content blockquote.kg-blockquote-alt::before {
  content: ""; display: block; width: 56px; height: 2px; margin: 0 auto 20px; background: var(--signal-duet); border-radius: 999px;
}
.gh-content hr { border: 0; height: 12px; margin: 2.2em auto; width: 100%; background: center / 120px 12px no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 6 Q 7.5 0, 15 6 T 30 6 T 45 6 T 60 6 T 75 6 T 90 6 T 105 6 T 120 6' fill='none' stroke='%23C68A3A' stroke-width='1.5' stroke-linecap='round'/></svg>"); }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li { margin-bottom: .4em; }
.gh-content li::marker { color: var(--action); }
.gh-content figure img { border-radius: var(--r-3); margin: 0 auto; }
.gh-content figcaption { font: 400 14px/1.5 var(--font-sans); color: var(--fg-2); text-align: center; margin-top: 12px; }
.gh-content code { font-family: var(--font-mono); font-size: .8em; background: var(--ground-bone); padding: 2px 6px; border-radius: var(--r-1); }
.gh-content pre { background: var(--ground-forest); color: var(--ground-cream); padding: 20px 24px; border-radius: var(--r-3); overflow-x: auto; font-size: 15px; }
.gh-content pre code { background: none; padding: 0; }
.gh-content > p:first-of-type::first-letter { }

/* Cards Ghost ships with card_assets — we restyle the ones people actually use. */
.gh-content .kg-callout-card { border-radius: var(--r-3); font-family: var(--font-sans); font-size: 17px; line-height: 1.6; padding: 20px 24px; }
.gh-content .kg-callout-card-grey, .gh-content .kg-callout-card-white { background: var(--ground-cream); border: 1px solid var(--rule); }
.gh-content .kg-toggle-card { background: var(--ground-cream); border: 1px solid var(--rule); border-radius: var(--r-3); box-shadow: none; font-family: var(--font-sans); }
.gh-content .kg-toggle-heading-text { font-family: var(--font-sans); font-size: 18px; }
.gh-content .kg-toggle-content { font-size: 16px; }
.gh-content .kg-bookmark-card a.kg-bookmark-container { border-radius: var(--r-4); border: 1px solid var(--rule); background: var(--ground-cream); color: var(--fg-1); font-family: var(--font-sans); box-shadow: none; text-decoration: none; }
.gh-content .kg-bookmark-title { font-weight: 700; }
.gh-content .kg-bookmark-description { color: var(--fg-2); }
.gh-content .kg-button-card a.kg-btn, .gh-content .kg-btn-accent { background: var(--action) !important; color: var(--action-fg) !important; border-radius: var(--r-3); font-family: var(--font-sans); font-weight: 500; text-decoration: none; }
.gh-content .kg-button-card a.kg-btn:hover { background: var(--action-lift) !important; }
.gh-content .kg-header-card { border-radius: var(--r-4); font-family: var(--font-sans); }
.gh-content .kg-audio-card, .gh-content .kg-file-card-container { border-radius: var(--r-3); font-family: var(--font-sans); background: var(--ground-cream); box-shadow: none; border: 1px solid var(--rule); }
.gh-content .kg-gallery-image img { border-radius: var(--r-2); }
.gh-content .kg-embed-card { align-items: center; }
.gh-content .kg-product-card-container { background: var(--ground-cream); border-radius: var(--r-4); box-shadow: none; border: 1px solid var(--rule); }
.gh-content .kg-signup-card { border-radius: var(--r-5); }

/* ---------- Article foot ---------- */
.series-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: var(--measure); margin: 24px auto 0; padding: 0 0; }
.series-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r-3); border: 1px solid var(--rule-strong); text-decoration: none; color: var(--fg-1); background: var(--ground-cream); }
.series-nav-link .eyebrow { margin: 0; }
.series-nav-next { text-align: right; grid-column: 2; }
.series-nav-title { font-weight: 700; line-height: 1.3; }
.series-nav-link:hover { border-color: var(--action); }
@media (max-width: 760px) { .series-nav { grid-template-columns: 1fr; margin-left: var(--gutter); margin-right: var(--gutter); } .series-nav-next { grid-column: auto; } }

.article-foot { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) clamp(64px, 8vw, 96px); }
.author-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--rule); }
.author-card-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-card .eyebrow { margin-bottom: 4px; }
.author-card-name { font-size: 22px; }
.author-card-name a { text-decoration: none; }
.author-card-bio { font-size: 15.5px; color: var(--fg-2); margin: 8px 0 14px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 8px; border-top: 1px solid var(--rule); }
.article-tags .tag { text-decoration: none; }
.invite { margin-top: 40px; padding: 36px 32px 32px; border-radius: var(--r-5); background: var(--ground-forest); color: var(--ground-cream); text-align: center; position: relative; overflow: hidden; }
.invite .weave { display: none; } /* a rounded card doesn't take a wave; the page's header and footer carry the glimmer */
.invite-line { font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.35; max-width: 30ch; margin: 0 auto 22px; }

/* ---------- Author / contributors ---------- */
.author-hero { background: var(--ground-bone); padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.author-hero-inner { display: flex; gap: 32px; align-items: flex-start; }
.author-hero-img { width: 120px; height: 120px; border-radius: var(--r-leaf); object-fit: cover; flex: none; }
.author-hero h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin-bottom: 14px; }
.author-hero .hero-lede { margin: 0; }
.author-hero-meta { font-size: 14px; color: var(--fg-2); margin-top: 16px; }
@media (max-width: 560px) { .author-hero-inner { flex-direction: column; } }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 28px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--fg-1); }
.person img, .person .av-blank { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--ground-mist); }
.person-name { font-weight: 700; line-height: 1.25; }
.person-count { font-size: 13px; color: var(--fg-2); }
.person:hover .person-name { color: var(--action-deep); }

/* ---------- Pagination ---------- */
.pagination, .pager { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); font: 500 15px var(--font-sans); }
.pagination a, .pager a { text-decoration: none; color: var(--fg-1); }
.pagination a:hover, .pager a:hover { color: var(--action-deep); }
.page-number { color: var(--fg-2); }

/* ---------- Footer ---------- */
.gh-foot { background: var(--ground-ink); color: var(--fg-1); position: relative; }
.gh-foot .weave { position: absolute; top: 0; left: 0; right: 0; }
.gh-foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter) 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.gh-foot-line { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--fg-2); max-width: 36ch; margin: 0; }
.gh-foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gh-foot-cols a { display: block; text-decoration: none; color: var(--fg-2); font-size: 15px; margin-bottom: 10px; }
.gh-foot-cols a:hover { color: var(--signal-amber); }
.gh-foot-meta { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 36px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--fg-3); flex-wrap: wrap; }
.gh-foot-meta .nav { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.gh-foot-meta a { color: var(--fg-3); text-decoration: none; }
.gh-foot-meta a:hover { color: var(--fg-1); }
@media (max-width: 760px) { .gh-foot-inner { grid-template-columns: 1fr; } }

/* ---------- Error ---------- */
.error-hero { min-height: 60vh; display: flex; align-items: center; justify-content: center; }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Ghost's Brand > Typography setting: honour it if someone picks a font in Admin. */
body { font-family: var(--gh-font-body, var(--font-sans)); }
.gh-content { font-family: var(--gh-font-body, var(--read-font)); }
h1, h2, h3, .pc-title, .sc-title { font-family: var(--gh-font-heading, inherit); }

/* ============================================================
   v0.2 — feedback from the Elves (Oct 2026)
   ============================================================ */

/* ---------- The seam: a colour that flows right into the rainbow wave ----------
   Fill shape = the area above the wave line, painted in --seam (the colour above).
   The stroke sits on top. Below the curve, whatever is underneath shows. */
:root {
  --wave-fill: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'><path d='M0 8 Q 15 0, 30 8 T 60 8 T 90 8 T 120 8 T 150 8 T 180 8 T 210 8 T 240 8 V0 H0 Z' fill='black'/></svg>");
  --wave-line: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'><path d='M0 8 Q 15 0, 30 8 T 60 8 T 90 8 T 120 8 T 150 8 T 180 8 T 210 8 T 240 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  --weave-mono: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12' preserveAspectRatio='none'><path d='M1 6 Q 6.5 1, 12.5 6 T 24 6 T 35.5 6 T 47 6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/></svg>");
}
.seam { position: relative; height: 16px; margin-top: -1px; }
.seam::before { content: ""; position: absolute; inset: 0; background: var(--seam, var(--ground-forest));
  -webkit-mask: var(--wave-fill) repeat-x 0 0 / 240px 16px; mask: var(--wave-fill) repeat-x 0 0 / 240px 16px; }
.seam::after { content: ""; position: absolute; inset: 0; background: var(--glimmer);
  -webkit-mask: var(--wave-line) repeat-x 0 0 / 240px 16px; mask: var(--wave-line) repeat-x 0 0 / 240px 16px; }

/* Header: the bar's own green pours into a wave at its lower edge */
.gh-head { border-bottom: 0; background: var(--ground-forest); backdrop-filter: none; }
.gh-head::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
  background: var(--glimmer);
  -webkit-mask: var(--wave-line) repeat-x 0 0 / 200px 12px; mask: var(--wave-line) repeat-x 0 0 / 200px 12px;
}
.gh-head::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
  background: var(--ground-forest);
  -webkit-mask: var(--wave-fill) repeat-x 0 0 / 200px 12px; mask: var(--wave-fill) repeat-x 0 0 / 200px 12px;
}

/* Footer: the band above flows into the wave (Will: "the green meets the wave") */
.gh-foot { background: var(--ground-forest); }
.gh-foot > .weave { display: none; }
.gh-foot .seam { --seam: var(--ground-bone); }
.paper-end .gh-foot .seam { --seam: var(--ground-paper); }
.gh-foot-meta { border-top-color: var(--rule); }

/* ---------- Books: bigger, higher, talking to the writing ---------- */
.band-books { background: var(--ground-forest); padding-block: clamp(72px, 9vw, 120px); }
.books-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.books-head .serif-display { font-size: clamp(38px, 4.6vw, 60px); margin-top: 6px; }
.books-lede { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--fg-2); max-width: 34ch; margin: 0; }
.books-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); perspective: 1500px; }
.book { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fg-1); }
.book .cover { margin-bottom: 14px; }
.book:hover .cover { transform: translateY(-6px) rotateY(-4deg); }
.book-status { font: 500 11px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.book-status-new { color: var(--action-lift); }
.book-title { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; }
.book-author { font-size: 14px; color: var(--fg-2); }
.books-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--rule); }
.books-rooting { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.books-rooting .eyebrow { margin: 0 8px 0 0; }
.chip { display: inline-flex; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--rule-strong); color: var(--fg-1); text-decoration: none; font-size: 14px; }
.chip:hover { border-color: var(--action-lift); color: var(--action-lift); }
@media (max-width: 860px) { .books-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Registers ---------- */
.registers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.register { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: var(--r-4);
  background: var(--ground-cream); border: 1px solid var(--rule); text-decoration: none; color: var(--fg-1);
  transition: transform var(--dur-base) var(--ease-emerge), box-shadow var(--dur-base) var(--ease-emerge); }
.register:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.register-mark { width: 28px; height: 4px; border-radius: 4px; background: var(--reg); }
.register-name { font-family: var(--font-serif); font-weight: 500; font-size: 30px; line-height: 1.05; }
.register-desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; flex: 1; }
.register-count { font: 500 13px var(--font-sans); color: var(--action-deep); margin: 6px 0 0; }
.registers-scale { display: flex; align-items: center; gap: 14px; margin-top: 22px; font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.registers-line { flex: 1; height: 2px; border-radius: 2px; background: var(--rule-strong); }
@media (max-width: 1080px) { .registers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .registers-scale { display: none; } }
@media (max-width: 640px) { .registers { grid-template-columns: 1fr; } }

/* ---------- Taxonomy line on cards and articles ---------- */
.pc-eyebrow { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.tx { display: inline-flex; align-items: center; gap: 6px; }
.tx-form { color: var(--action-deep); }
.tx-realm { color: var(--biome-stone); }
.pc .tx-realm ~ .tx-realm { display: none; }
.tx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--realm, var(--biome-stone)); flex: none; }
.tx-realm-crossroads { --realm: #3568AC; } .tx-realm-unfolding { --realm: #9B72C2; } .tx-realm-entangled-vale { --realm: #62B88D; }
.tx-realm-makers-forge { --realm: #F39702; } .tx-realm-soma-isles { --realm: #E6458F; } .tx-realm-wild-margin { --realm: #E42128; }
.tx-realm-hearthlands { --realm: #F8B000; }
.article-tax { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.article-tax a, .article-tax span { text-decoration: none; }
.tx-con { color: var(--biome-moss); }

.filed { padding: 26px 0 8px; border-top: 1px solid var(--rule); }
.filed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 10px 0 0; }
.filed-grid dt { font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.filed-grid dd { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.filed-grid a { color: var(--fg-1); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.filed-grid a:hover { color: var(--action-deep); }
.filed-none { color: var(--fg-3); }
@media (max-width: 640px) { .filed-grid { grid-template-columns: 1fr 1fr; } }

/* stacks shuffle: fade the swap so it never jumps */
[data-stacks-grid] { transition: opacity var(--dur-slow) var(--ease-emerge); }
[data-stacks-grid].is-shuffling { opacity: .35; }

/* ---------- Gatherings ---------- */
.gathering-hero { position: relative; background: var(--bg); color: var(--fg-1); padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(56px, 7vw, 88px); overflow: hidden; }
.gathering-hero.has-image .tag-hero-art { position: absolute; inset: 0; }
.gathering-hero.has-image .tag-hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.gathering-hero.has-image .tag-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,42,.5), rgba(14,42,42,.94)); }
.gathering-hero-inner { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.gathering-host { color: var(--fg-2); margin: 18px 0 0; font-size: 15px; }
.gathering-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter); align-items: start; }
.gathering-body .gh-content { display: block; order: 1; }
.gathering-body .gh-content > * { margin: 0 0 1.05em; }
.gathering-panel { order: 2; position: sticky; top: 96px; padding: 26px; border-radius: var(--r-4); background: var(--ground-cream); border: 1px solid var(--rule); }
.g-dates { list-style: none; margin: 0 0 10px; padding: 0; }
.g-date { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.g-day { font-weight: 700; }
.g-time { color: var(--action-deep); font-weight: 500; font-variant-numeric: tabular-nums; }
.g-cal { grid-column: 1 / -1; font-size: 13px; color: var(--fg-2); text-decoration: none; }
.g-cal:hover { color: var(--action-deep); }
.g-date-empty { color: var(--fg-2); font-size: 15px; padding: 8px 0; }
.g-tz { font-size: 13px; color: var(--fg-3); margin: 0 0 18px; }
.g-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.g-access { font-size: 14px; color: var(--fg-2); margin: 18px 0 0; display: flex; align-items: center; gap: 8px; }
.g-badge { display: inline-flex; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(92,122,62,.14); color: var(--biome-moss); font: 500 12px var(--font-sans); }
.g-badge-members { background: rgba(107,77,122,.14); color: var(--biome-violet); }
@media (max-width: 960px) { .gathering-body { grid-template-columns: 1fr; } .gathering-panel { order: 0; position: static; } }

.gatherings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gcard { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 18px; border-radius: var(--r-4); background: var(--ground-cream); border: 1px solid var(--rule); text-decoration: none; color: var(--fg-1); transition: transform var(--dur-base) var(--ease-emerge), box-shadow var(--dur-base) var(--ease-emerge); }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.gcard-image { border-radius: var(--r-3); overflow: hidden; aspect-ratio: 1 / 1; background: var(--ground-mist); }
.gcard-image img { width: 100%; height: 100%; object-fit: cover; }
.gcard-title { font-size: 22px; line-height: 1.2; margin: 4px 0 8px; }
.gcard-text { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gcard-next { font: 500 14px var(--font-sans); color: var(--action-deep); margin: 0; }
@media (max-width: 860px) { .gatherings { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gcard { grid-template-columns: 1fr; } }

/* ---------- Recordings ---------- */
.recording-frame { position: relative; }
.recording-lock { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 10px 18px; border-radius: var(--r-pill); background: rgba(12,19,19,.82); color: var(--ground-cream); font: 500 14px var(--font-sans); white-space: nowrap; }
.gh-content .gh-post-upgrade-cta, .gh-content .gh-post-upgrade-cta-content { border-radius: var(--r-4); background: var(--ground-forest) !important; font-family: var(--font-sans); }
.gh-content .gh-post-upgrade-cta h2 { color: var(--ground-cream); font-family: var(--font-serif); font-weight: 500; }
.gh-content .gh-post-upgrade-cta a.gh-btn { background: var(--action) !important; color: var(--action-fg) !important; border-radius: var(--r-3); }

/* ---------- Snackables ---------- */
.snacks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.snack { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-leaf); background: var(--ground-cream); border: 1px solid var(--rule); }
.snack-date { font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 0; }
.snack-title { font-size: 20px; line-height: 1.25; }
.snack-title a { text-decoration: none; color: var(--fg-1); }
.snack-title a:hover { color: var(--action-deep); }
.snack-text { font-size: 15px; line-height: 1.55; color: var(--fg-2); flex: 1; }
.snack-more { font: 500 14px var(--font-sans); color: var(--fg-1); text-decoration: none; margin-top: 6px; }
.snack-more:hover { color: var(--action-deep); }
@media (max-width: 960px) { .snacks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .snacks { grid-template-columns: 1fr; } }
.snack-single { background: var(--ground-paper); padding: clamp(64px, 8vw, 112px) var(--gutter); }
.snack-single-inner { max-width: 640px; margin: 0 auto; }
.snack-single-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; margin: 8px 0 28px; }
.snack-content { display: block; font-size: 20px; }
.snack-content > * { margin: 0 0 1em; }
.snack-by { color: var(--fg-2); font-size: 14px; }
.snack-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 15px; }
.snack-nav a { color: var(--fg-1); text-decoration: none; }
.snack-nav a:hover { color: var(--action-deep); }
.gh-content .gh-post-upgrade-cta { padding: 40px 32px; text-align: center; color: var(--ground-cream); }
.gh-content .gh-post-upgrade-cta .eyebrow { color: var(--fg-on-dark-2); }
.gh-content .gh-post-upgrade-cta h2 { margin: 0 0 12px; font-size: 32px; }
.gh-content .gh-post-upgrade-cta .cta-line { font-family: var(--font-sans); font-size: 16px; color: var(--fg-on-dark-2); max-width: 46ch; margin: 0 auto 22px; }
.gh-content .gh-post-upgrade-cta a.gh-btn { display: inline-flex; padding: 12px 22px; text-decoration: none; font: 500 15px var(--font-sans); }
.gh-content .gh-post-upgrade-cta .cta-signin { font: 400 14px var(--font-sans); color: var(--fg-on-dark-2); margin: 16px 0 0; }
.gh-content .gh-post-upgrade-cta .cta-signin a { color: var(--ground-cream); }
.article-comments { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 64px; background: var(--ground-paper); }

/* ---------- Gatherings v0.3: landscape cards, families, coming-up board ---------- */
.gatherings { display: grid; gap: 24px; }
.gatherings-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gatherings-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gatherings-pair { grid-template-columns: 1fr; }
.g-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.g-split .band-head { margin-bottom: 28px; }
@media (max-width: 1080px) { .gatherings-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gatherings-main, .gatherings-rooms, .g-split { grid-template-columns: 1fr; } }

.gcard { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; grid-template-columns: none; }
.gcard-image { position: relative; aspect-ratio: 16 / 9; border-radius: 0; background: var(--ground-forest); }
.gcard-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-emerge); }
.gcard:hover .gcard-image img { transform: scale(1.03); }
.gcard-big .gcard-image { aspect-ratio: 16 / 8; }
.gcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.gcard-title { font-size: 21px; margin: 6px 0 8px; }
.gcard-big .gcard-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.08; }
.gcard-big .gcard-text { -webkit-line-clamp: 2; font-size: 16px; }
.gcard-next { margin-top: auto; padding-top: 6px; }
.gcard-when { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 10px 7px;
  border-radius: var(--r-3); background: var(--ground-cream); color: var(--ground-forest); box-shadow: var(--shadow-2); line-height: 1; }
.gcard-when b { font-family: var(--font-serif); font-weight: 500; font-size: 28px; }
.gcard-when span { font: 500 10px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; color: var(--biome-stone); }
.gcard.is-members .gcard-image::after { content: "Members"; position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(43, 27, 64, .88); color: var(--ground-cream); font: 500 12px var(--font-sans); }
.tx-cadence { color: var(--biome-moss); }
.tx-cadence:empty { display: none; }

.gatherings-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.coming { position: relative; max-width: var(--wrap); margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gutter); }
.coming .eyebrow { text-align: left; }
.coming-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.coming-item { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; border-radius: var(--r-3);
  background: var(--bg-raised); border: 1px solid var(--rule); text-decoration: none; color: var(--fg-1); transition: border-color var(--dur-base) var(--ease-emerge); }
.coming-item:hover { border-color: var(--action-lift); }
.coming-date { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 40px; }
.coming-date b { font-family: var(--font-serif); font-weight: 500; font-size: 30px; color: var(--action-lift); }
.coming-date span { font: 500 10px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-top: 4px; text-align: center; }
.coming-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.coming-title { font-weight: 700; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.coming-room { font-size: 12.5px; color: var(--fg-2); line-height: 1.35; }
.coming-item.is-members .coming-date b { color: #C9A7E0; }
@media (max-width: 1080px) { .coming-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .coming-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .coming-list li { flex: 0 0 78%; scroll-snap-align: start; } }

.g-session { grid-column: 1 / -1; font: 500 11px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--biome-moss); }
.gathering-body .gh-content h3 { font-size: 20px; margin-top: 1.4em; }
.gathering-body .gh-content ul { padding-left: 1.2em; }

/* ---------- Letters archive ---------- */
.letters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.letter a { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--fg-1); }
.letter-date { display: flex; flex-direction: column; line-height: 1.1; }
.letter-date span:first-child { font-family: var(--font-serif); font-size: 22px; color: var(--action-deep); }
.letter-date span:last-child { font-size: 12px; color: var(--fg-3); letter-spacing: .08em; }
.letter-title { display: block; font-weight: 700; font-size: 19px; line-height: 1.3; }
.letter-excerpt { display: block; color: var(--fg-2); font-size: 15px; margin-top: 4px; }
.letter a:hover .letter-title { color: var(--action-deep); }
/* banners are 2.8:1, so show them whole */
.gcard-image, .gcard-big .gcard-image { aspect-ratio: 2.8 / 1; }
.gcard-head { display: flex; gap: 14px; align-items: flex-start; }
.gcard-when { position: static; flex: none; box-shadow: none; border: 1px solid var(--rule); background: var(--ground-paper); }
.gcard-title { margin-top: 4px; }
.gatherings-rooms > .gcard:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
.gatherings-rooms > .gcard:last-child:nth-child(3n+1) .gcard-image { flex: 0 0 55%; }
@media (max-width: 1080px) { .gatherings-rooms > .gcard:last-child:nth-child(3n+1) { grid-column: auto; flex-direction: column; } }
.coming-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.coming-title { -webkit-line-clamp: 2; font-size: 15px; }
.gathering-hero.has-image .tag-hero-art img { object-position: center; }

/* ===== v0.4: registers (3), affect, fingerprints, map ===== */
.registers.registers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.registers-line { background: var(--rule-strong); }
@media (max-width: 860px) { .registers.registers-3 { grid-template-columns: 1fr; } }
.band-head-sub { margin-top: 56px; }

.affects { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.affect { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; border-radius: var(--r-4); background: var(--ground-cream);
  text-decoration: none; color: var(--fg-1); border-top: 4px solid var(--aff); box-shadow: var(--shadow-1, 0 1px 2px rgba(14,42,42,.06)); transition: transform .2s, box-shadow .2s; }
.band-paper .affect { background: #fff; }
.affect:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.affect-mark { display: none; }
.affect-name { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.05; margin: 0; }
.affect-desc { font-size: 14px; line-height: 1.5; color: var(--fg-2); margin: 0; flex: 1; }
.affect-count { font: 500 13px var(--font-sans); color: var(--action-deep); margin: 4px 0 0; }
@media (max-width: 1080px) { .affects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .affects { grid-template-columns: 1fr 1fr; } }

.tx-affect { color: var(--action-deep); }
.dark .tx-affect { color: var(--biome-ochre-lift); }

/* fingerprint */
.fp { margin: 0; }
.fp-sm { flex: none; line-height: 0; }
.fp-sm svg { display: block; }
.fp-desk { display: block; max-width: 100%; height: auto; overflow: visible; }
.fp-track { stroke: var(--fg-1); stroke-opacity: .14; stroke-width: 2; stroke-linecap: round; }
.fp-desk-sm .fp-track { stroke-opacity: .12; stroke-width: 1; }
.fp-stop { stroke: var(--fg-1); stroke-opacity: .16; stroke-width: 1; }
.fp-end { font: 400 10.5px var(--font-sans); fill: var(--fg-2); letter-spacing: .02em; }
.fp-lab { font: 600 10px var(--font-sans); fill: var(--fg-1); letter-spacing: .1em; text-transform: uppercase; }
.fp:not(.fp-sm) { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.fp:not(.fp-sm) .fp-svg { line-height: 0; }
.fp-sig { display: block; }
.fp-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; width: 100%; }
.fp-row { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 0 10px; align-items: baseline; font-size: 14px; }
.fp-row .fp-v { grid-column: 2; }
.fp-sw { width: 10px; height: 5px; border-radius: 1.5px; transform: translateY(-1px); }
.fp-sw-knob { border-radius: 50%; border: 2.5px solid; background: #fff; }
.fp-sw-line { height: 3.5px; width: 14px; border-radius: 2px; transform: translateY(-2px); }
.fp-k { color: var(--fg-2); }
.fp-v { color: var(--fg-1); font-weight: 500; }
@media (max-width: 560px) { .fp-legend { grid-template-columns: 1fr; } .fp:not(.fp-sm) { grid-template-columns: 1fr; } }
.filed-print { margin-top: 26px; padding: 22px 24px; background: var(--ground-cream); border-radius: var(--r-4); }
.filed-print-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.filed-print-note { margin: 16px 0 0; font-size: 13.5px; color: var(--fg-3); }
.filed-print-note a { color: var(--action-deep); }
.filed-grid small { color: var(--fg-3); font-size: 12px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pc-foot .pc-meta { margin: 0; }

/* series & collections */
.sc-book { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--biome-ochre); color: var(--ground-ink); font-size: 11px; letter-spacing: .04em; text-transform: none; }
.sc-collection .sc-body { border-top: 4px solid var(--biome-teal); }

/* map */
.map-controls { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 18px; font-size: 14px; color: var(--fg-2); }
.map-controls select { margin-left: 8px; font: inherit; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--rule-strong); background: #fff; color: var(--fg-1); }
.map-stage { position: relative; background: #fff; border-radius: var(--r-4); padding: 10px; box-shadow: var(--shadow-1, 0 1px 2px rgba(14,42,42,.06)); }
.map-svg { width: 100%; height: auto; display: block; }
.map-bg { fill: var(--ground-cream); }
.map-grid { stroke: var(--rule); stroke-width: 1; }
.map-tick { font: 400 12.5px var(--font-sans); fill: var(--fg-2); }
.map-axis { font: 500 12px var(--font-sans); fill: var(--fg-3); letter-spacing: .08em; text-transform: uppercase; }
.map-dot { fill-opacity: .82; stroke: #fff; stroke-width: 1.2; cursor: pointer; transition: r .15s; }
.map-svg a:hover .map-dot { r: 9; fill-opacity: 1; }
.map-tip { position: absolute; pointer-events: none; background: var(--ground-forest); color: var(--ground-cream); padding: 8px 12px; border-radius: 10px; max-width: 280px; font-size: 13.5px; line-height: 1.35; z-index: 3; }
.map-tip b { display: block; font-weight: 500; }
.map-tip span { color: rgba(248,242,230,.7); font-size: 12.5px; }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font-size: 13.5px; color: var(--fg-2); }
.map-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.map-count { margin-left: auto; color: var(--fg-3); }
.map-slider { margin-top: 56px; }
.map-slider h2 { margin: 4px 0 18px; }
.map-slider input[type=range] { width: 100%; accent-color: var(--biome-ochre); }
.map-slide-ends { display: flex; justify-content: space-between; font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 6px 0 26px; }

/* pull quotes: make the difference from block quotes unmistakable */
.gh-content blockquote.kg-blockquote-alt { color: var(--biome-ochre-deep); font-size: 1.55em; }
.gh-content .gk-compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; margin: 1.6em 0; }
.gh-content .gk-compare th, .gh-content .gk-compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.gh-content .gk-compare thead th { font: 500 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.gh-content .gk-compare tbody th { font-weight: 500; color: var(--fg-2); width: 22%; }
.gh-content .gk-compare td:last-child { color: var(--fg-1); background: var(--ground-cream); }
@media (max-width: 640px) { .gh-content .gk-compare { font-size: 13.5px; } .gh-content .gk-compare th, .gh-content .gk-compare td { padding: 8px; } }
.gh-content .gk-guide-fp { margin: 1.6em 0; padding: 24px; background: var(--ground-cream); border-radius: var(--r-4); }
.gh-content .fp-legend, .gh-content .fp-row { text-align: left; }
.sc-count .sc-book { margin-left: 4px; }

/* ===== v0.5: Snackables shelf ===== */
.snack-arc { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: rgba(248,242,230,.82); }
.snack-arc li { display: flex; gap: 8px; align-items: center; }
.snack-arc li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--aff); }
.snack-arc b { font-weight: 600; color: #F8F2E6; }
.snack-tools { display: grid; gap: 12px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.snack-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.snack-filter-k { font: 500 13px var(--font-sans); color: var(--fg-2); width: 120px; flex: none; }
.snack-filter .chip { cursor: pointer; background: transparent; font-family: var(--font-sans); padding: 6px 13px; font-size: 13.5px; }
.snack-filter .chip[style]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aff); margin: 5px 7px 0 0; }
.snack-filter .chip.is-on { background: var(--fg-1); border-color: var(--fg-1); color: var(--bg); }
.snack-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.snack-count { margin: 0; font: 500 14px var(--font-sans); color: var(--fg-2); }
.snack { position: relative; border-top: 4px solid var(--aff, var(--rule)); }
.snack-kicker { display: flex; gap: 12px; align-items: center; margin: 0; font: 600 11px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.snack-mood { color: var(--aff); filter: saturate(.9) brightness(.85); }
.snack-kicker .tx-realm { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.snack-kicker .tx-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.snack-head { display: flex; gap: 12px; align-items: flex-start; }
.snack-emoji { font-size: 28px; line-height: 1; flex: none; margin-top: 2px; }
.snack-go { margin: 6px 0 0; }
.snack-go a { font: 500 14px var(--font-sans); color: var(--fg-1); text-decoration: none; border-bottom: 1.5px solid var(--aff); padding-bottom: 1px; }
.snack-go a:hover { color: var(--action-deep); }
.snack-dip { max-width: 520px; margin: 0 auto; grid-column: 1 / -1; transform: rotate(-1deg); }
.snack-dip .snack { padding: 32px; box-shadow: var(--shadow-3); background: #fff; }
.snack-more-wrap { text-align: center; margin: 32px 0 0; }
.snack-none { grid-column: 1 / -1; color: var(--fg-2); }
@media (max-width: 640px) { .snack-filter-k { width: 100%; } .snacks { grid-template-columns: 1fr; } }

/* ===== v0.5: signup ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sub { display: grid; gap: 16px; max-width: 640px; }
.sub-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.01em; }
.sub fieldset { border: 0; padding: 0; margin: 0; }
.sub-letters { display: grid; gap: 10px; }
.sub-opt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: 16px; }
.sub-opt input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--action-deep); }
.sub-opt small { display: block; color: var(--fg-2); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.sub-realms legend { font: 500 14px var(--font-sans); color: var(--fg-1); margin-bottom: 10px; }
.sub-realms legend small { color: var(--fg-3); font-weight: 400; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); font-size: 13.5px; cursor: pointer; }
.sub-chip input { appearance: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c); margin: 0; }
.sub-chip input:checked { background: var(--c); }
.sub-chip:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.sub-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 10px; }
.sub-input { font: 400 16px var(--font-sans); padding: 13px 16px; border-radius: var(--r-pill); border: 1px solid var(--rule-strong); background: #fff; color: var(--fg-1); min-width: 0; }
.sub-btn { white-space: nowrap; }
.sub-btn-wait, .sub-msg { display: none; }
.sub.loading .sub-btn-go { display: none; } .sub.loading .sub-btn-wait { display: inline; }
.sub.success .sub-msg-ok, .sub.error .sub-msg-err { display: block; }
.sub.success .sub-row, .sub.success .sub-fine { display: none; }
.sub-msg { margin: 0; padding: 14px 18px; border-radius: var(--r-3, 10px); background: var(--ground-cream); font-size: 15px; }
.sub-fine { margin: -4px 0 0; font-size: 13px; color: var(--fg-3); }
.sub-compact .sub-letters { grid-template-columns: 1fr 1fr; }
.dark .sub-input, .sub-dark .sub-input { background: rgba(255,255,255,.96); }
.dark .sub-opt small, .dark .sub-realms legend small { color: rgba(248,242,230,.7); }
.dark .sub-msg { background: rgba(255,255,255,.08); }
@media (max-width: 720px) { .sub-row { grid-template-columns: 1fr; } .sub-compact .sub-letters { grid-template-columns: 1fr; } }

/* ===== v0.5: submissions ===== */
.submit-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.submit { display: grid; gap: 36px; }
.sx-step { border: 0; margin: 0; padding: 0 0 32px; border-bottom: 1px solid var(--rule); display: grid; gap: 16px; }
.sx-step legend { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.sx-step legend small { font: 400 14px var(--font-sans); color: var(--fg-3); }
.sx-n { font: 600 13px var(--font-sans); width: 26px; height: 26px; border-radius: 50%; background: var(--fg-1); color: var(--bg); display: inline-grid; place-items: center; transform: translateY(-4px); }
.sx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sx-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1.5px solid var(--rule-strong); border-radius: var(--r-leaf); cursor: pointer; background: #fff; }
.sx-card input { position: absolute; opacity: 0; }
.sx-card b { font-size: 17px; } .sx-card small { color: var(--fg-2); font-size: 13.5px; line-height: 1.45; }
.sx-card:has(input:checked) { border-color: var(--action-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--action-deep) 18%, transparent); }
.sx-field { display: grid; gap: 7px; font-size: 15px; }
.sx-field > span { font-weight: 500; } .sx-field small { color: var(--fg-3); font-weight: 400; }
.sx-field input, .sx-field textarea, .sx-field select { font: 400 16px var(--font-sans); padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 10px; background: #fff; color: var(--fg-1); width: 100%; }
.sx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sx-hint { margin: -6px 0 0; color: var(--fg-2); font-size: 15px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); font-size: 14px; cursor: pointer; background: #fff; }
.sx-field .sx-chip input { appearance: none; width: 10px; height: 10px; padding: 0; flex: none; border-radius: 50%; border: 2px solid var(--c, var(--fg-2)); margin: 0; }
.sx-field .sx-chip input:checked { background: var(--c, var(--fg-1)); }
.sx-chip:has(input:checked) { border-color: var(--c, var(--fg-1)); background: color-mix(in srgb, var(--c, #0E2A2A) 9%, #fff); }
.sx-check { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.sx-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--action-deep); }
.sx-missing > span, .sx-missing.sx-check, .sx-step.sx-missing legend { color: #B3261E; }
.sx-missing input, .sx-missing textarea { border-color: #B3261E; }
.sx-send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.sx-fine { margin: 0; font-size: 14px; color: var(--fg-2); max-width: 42ch; }
.sx-done { padding: 36px; border-radius: var(--r-4); background: var(--ground-cream); outline: none; }
.sx-done h2 { font-family: var(--font-serif); font-weight: 500; font-size: 36px; margin: 6px 0 12px; }
.sx-preview { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--rule-strong); font-size: 14px; }
.sx-preview dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; margin: 12px 0 0; }
.sx-preview dt { color: var(--fg-3); } .sx-preview dd { margin: 0; }
.sx-err { color: #B3261E; }
.submit-aside { position: sticky; top: 110px; padding: 28px; border-radius: var(--r-4); background: var(--ground-cream); }
.submit-aside h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin-bottom: 12px; }
.submit-aside ol { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.submit-aside b { color: var(--fg-1); }
@media (max-width: 1000px) { .submit-wrap { grid-template-columns: 1fr; } .submit-aside { position: static; } .sx-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sx-cards, .sx-two { grid-template-columns: 1fr; } }

/* ===== v0.5: letters ===== */
.desks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.desk { display: flex; flex-direction: column; gap: 12px; padding: 36px; border-radius: var(--r-leaf); text-decoration: none; color: var(--fg-1); min-height: 300px; transition: transform .2s, box-shadow .2s; }
.desk:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.desk-editor { background: #fff; border: 1px solid var(--rule); }
.desk-letter { background: var(--ground-forest); color: #F8F2E6; }
.desk-letter .eyebrow { color: var(--biome-ochre-lift); }
.desk-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.desk-dek { font-size: 16px; line-height: 1.55; opacity: .85; flex: 1; margin: 0; }
.desk-by { display: flex; align-items: center; gap: 10px; font: 500 14px var(--font-sans); margin: 0; }
.desk-by img, .desk-by .av-blank { width: 30px; height: 30px; border-radius: 50%; background: var(--ground-cream); display: inline-block; }
.desk-video { display: inline-flex; gap: 6px; align-items: center; }
.desk-video::before { content: ""; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.letter-kind { display: block; font: 600 11px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
.gk-video-ph { margin: 0 0 1.4em; }
.gk-video-ph-frame { aspect-ratio: 16 / 9; border-radius: var(--r-4); background: radial-gradient(circle at 50% 45%, #1d4a48, #0E2A2A 70%); color: #F8F2E6; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 24px; }
.gk-video-ph-frame p { font: 400 15px var(--font-sans); max-width: 36ch; margin: 0; opacity: .85; }
.gk-play { width: 72px; height: 72px; border-radius: 50%; background: rgba(248,242,230,.14); position: relative; }
.gk-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid #F8F2E6; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.gk-video-ph figcaption { font: 400 13px var(--font-sans); color: var(--fg-3); margin-top: 10px; text-align: center; }
.gk-sample-note { font: 400 14px var(--font-sans); padding: 12px 16px; border-radius: 10px; background: var(--ground-cream); border-left: 3px solid var(--action-deep); margin-bottom: 1.6em; }
.article-editor .article-head { background: #fff; }
.sub-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.sub-explain { padding: 28px; border-radius: var(--r-4); background: var(--ground-cream); }
.sub-explain h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin-bottom: 10px; }
.sub-explain dt { font-weight: 600; margin-top: 14px; } .sub-explain dd { margin: 4px 0 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.article-comments { padding: 64px var(--gutter); background: var(--bg); }
.comments-inner { max-width: var(--measure); margin: 0 auto; }
.invite .sub { margin: 0 auto; text-align: left; }
@media (max-width: 900px) { .desks, .sub-page { grid-template-columns: 1fr; } }
.sub-dark { color: #F8F2E6; }
.sub-dark .sub-opt small, .sub-dark .sub-realms legend small, .sub-dark .sub-fine { color: rgba(248,242,230,.72); }
.sub-dark .sub-realms legend { color: #F8F2E6; }
.sub-dark .sub-chip { border-color: rgba(248,242,230,.3); }
.sub-dark .sub-msg { background: rgba(255,255,255,.08); }
.sub-dark .eyebrow { color: var(--biome-ochre-lift); }
.follow { margin: 18px 0 10px; }
.follow summary { list-style: none; cursor: pointer; display: inline-flex; }
.follow summary::-webkit-details-marker { display: none; }
.follow[open] summary { margin-bottom: 18px; }
.follow-note { font-size: 13.5px; color: var(--fg-3); margin: 10px 0 0; }

/* ===== v0.5: the home spread ===== */
.mast { background: var(--ground-forest); color: #F8F2E6; padding: clamp(48px, 6vw, 80px) var(--gutter) 0; }
.mast-inner { max-width: var(--wrap); margin: 0 auto; }
.mast-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px 56px; align-items: end; }
.mast-top .eyebrow { grid-column: 1 / -1; }
.mast-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.015em; }
.mast-lede { font-size: 17px; line-height: 1.55; color: rgba(248,242,230,.78); margin: 0 0 8px; }
.arrange { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(248,242,230,.14); padding: 14px 0 18px; }
.arrange-k { font: 500 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(248,242,230,.55); margin-right: 12px; }
.arrange-b { font: 500 15px var(--font-sans); color: rgba(248,242,230,.8); background: none; border: 0; padding: 8px 14px; border-radius: var(--r-pill); cursor: pointer; }
.arrange-b:hover { color: #fff; background: rgba(248,242,230,.08); }
.arrange-b.is-on { background: #F8F2E6; color: var(--ground-forest); }
.sp-front { padding-top: clamp(36px, 4vw, 56px); }
.sp-front-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
.sp-lead-link { display: grid; gap: 22px; text-decoration: none; color: inherit; }
.sp-lead-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-leaf); }
.sp-kicker { font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; background: var(--fg-1); color: var(--bg); padding: 3px 8px; border-radius: 4px; margin-right: 10px; }
.sp-lead-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -.01em; margin: 8px 0 12px; }
.sp-lead-link:hover .sp-lead-title { color: var(--action-deep); }
.sp-lead-dek { font-size: 18px; line-height: 1.55; color: var(--fg-2); margin: 0 0 14px; max-width: 60ch; }
.sp-side { display: grid; gap: 18px; align-content: start; }
.sp-letter { display: block; padding: 26px; border-radius: var(--r-leaf); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.sp-letter:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.sp-editor { background: #fff; border: 1px solid var(--rule); }
.sp-video { background: var(--ground-forest); color: #F8F2E6; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.sp-video .eyebrow { color: var(--biome-ochre-lift); }
.sp-play { width: 56px; height: 56px; border-radius: 50%; background: rgba(248,242,230,.12); position: relative; }
.sp-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid #F8F2E6; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.sp-letter-title { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.12; margin: 6px 0 8px; }
.sp-letter-dek { font-size: 15px; line-height: 1.5; color: var(--fg-2); margin: 0 0 10px; }
.sp-letter-by { font: 500 13px var(--font-sans); opacity: .75; margin: 0; }
.sp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule); }
.band-aside-wrap { display: grid; gap: 14px; justify-items: start; }
.stacks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; transition: opacity .2s; }
.stacks.is-shuffling { opacity: .3; }
.pc-because { margin: 0 0 4px; font: 600 11.5px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ac, var(--action-deep)); }
.pc-stack { border-top: 3px solid var(--ac, var(--rule)); padding-top: 14px; }
.pc-aff-delight { --ac: #C98E00; } .pc-aff-unsettle { --ac: #C21C22; } .pc-aff-give-pause { --ac: #2F7F86; }
.pc-aff-orient { --ac: #3568AC; } .pc-aff-keep-company { --ac: #3F9A6D; } .pc-aff-wonder { --ac: #8457AF; }
.sp-mid-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; }
/* This week's question, in the letters column: small, warm, for a quick answer rather than a read. */
.sp-question { position: relative; border-left: 3px solid #C68A3A; background: rgba(198, 138, 58, .08); }
.sp-question .sp-letter-title { font-style: italic; font-weight: 400; }
.sp-question .sp-letter-by { font-weight: 600; color: #9a6420; }
.sp-mini-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.sp-mini-head .eyebrow { width: 100%; margin: 0; }
.sp-mini-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: 34px; line-height: 1.1; margin-right: auto; }
.sp-snack-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-snack .snack { height: calc(100% - 22px); padding: 18px; }
.sp-snack .snack-title { font-size: 17px; }
.sp-coming .coming-list { grid-template-columns: 1fr; }
.coming-empty { color: var(--fg-3); font-size: 14px; }
.shelf-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 22px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.shelf-scroll > * { scroll-snap-align: start; }
.sp-ways-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sp-way { display: block; padding: 28px; border-radius: var(--r-leaf); background: rgba(248,242,230,.06); border: 1px solid rgba(248,242,230,.12); color: #F8F2E6; text-decoration: none; }
.sp-way:hover { background: rgba(248,242,230,.1); }
.sp-way .eyebrow { color: var(--biome-ochre-lift); }
.sp-way h3 { font-family: var(--font-serif); font-weight: 500; font-size: 28px; margin: 6px 0 8px; }
.sp-way p:last-child { color: rgba(248,242,230,.75); font-size: 15px; line-height: 1.5; margin: 0; }
.sp-way-art { width: 100%; max-width: 220px; height: auto; margin-bottom: 8px; }
.edge { background: var(--bg); padding: 56px var(--gutter) 64px; text-align: center; border-top: 1px solid var(--rule); }
.edge-inner { display: grid; gap: 18px; justify-items: center; }
.edge-line { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; margin: 0; color: var(--fg-1); }
.edge-line::before { content: ""; display: block; width: 64px; height: 10px; margin: 0 auto 22px; background: var(--fg-3); -webkit-mask: var(--weave-mono) center / 100% 100% no-repeat; mask: var(--weave-mono) center / 100% 100% no-repeat; }
.edge-ways { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font: 500 15px var(--font-sans); }
.edge-ways a { color: var(--fg-2); }
.depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.dept { display: flex; flex-direction: column; gap: 16px; border-top: 3px solid var(--dc, var(--fg-1)); padding-top: 16px; }
.dept-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: 30px; display: flex; align-items: center; gap: 10px; }
.dept-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dc, var(--fg-1)); }
.dept-head p { margin: 4px 0 0; color: var(--fg-2); font-size: 14.5px; }
.dept-list { list-style: none; margin: 0; padding: 0; display: grid; }
.dept-list a { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--rule); text-decoration: none; color: inherit; }
.dept-list a:hover .dept-t { color: var(--action-deep); }
.dept-t { font-weight: 600; line-height: 1.3; } .dept-m { font-size: 13.5px; color: var(--fg-3); }
.dept-all { align-self: start; }
@media (max-width: 1000px) { .mast-top, .sp-front-grid, .sp-mid-grid { grid-template-columns: 1fr; } .sp-row, .stacks, .depts, .sp-ways-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sp-row, .stacks, .depts, .sp-ways-grid, .sp-snack-list { grid-template-columns: 1fr; } }
.gh-head-nav a { white-space: nowrap; }
@media (max-width: 1000px) { .mast-top, .sp-front-grid, .sp-mid-grid { grid-template-columns: minmax(0, 1fr); } .sp-snack-list > * { min-width: 0; } .snack-go a { word-break: break-word; } }
.sc-book-done { background: var(--biome-ochre-lift); color: var(--ground-forest); }
.tag-book { margin: 18px 0 0; display: flex; gap: 12px; justify-content: center; align-items: center; font: 500 15px var(--font-sans); }
.tag-book a { color: #F8F2E6; }
.newhere { background: var(--ground-cream); border-bottom: 1px solid var(--rule); }
.newhere-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.newhere-lead { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--fg-2); max-width: 78ch; }
.newhere-lead b { color: var(--fg-1); }
.newhere-ways { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 500 14.5px var(--font-sans); grid-column: 1; }
.newhere-ways a { color: var(--fg-1); text-decoration-color: var(--action-deep); text-underline-offset: 3px; }
.newhere-x { grid-column: 2; grid-row: 1 / span 2; background: none; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); padding: 8px 14px; font: 500 13.5px var(--font-sans); color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.newhere-x:hover { color: var(--fg-1); border-color: var(--fg-1); }
.newhere-link { margin-left: auto; background: none; border: 0; color: rgba(248,242,230,.7); font: 500 14px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 720px) { .newhere-inner { grid-template-columns: 1fr; } .newhere-x { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ===== v0.6: realm accents (first realm on a piece) ===== */
.article { --realm: var(--action-deep); }
.article[data-realm^="realm-crossroads"] { --realm: #3568AC; }
.article[data-realm^="realm-unfolding"] { --realm: #9B72C2; }
.article[data-realm^="realm-entangled-vale"] { --realm: #3F9A6D; }
.article[data-realm^="realm-makers-forge"] { --realm: #E08A00; }
.article[data-realm^="realm-soma-isles"] { --realm: #D63C80; }
.article[data-realm^="realm-wild-margin"] { --realm: #D21F26; }
.article[data-realm^="realm-hearthlands"] { --realm: #D99A00; }
.article .article-head-inner::after { content: ""; display: block; width: 72px; height: 10px; margin: 30px auto 0;
  --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 10'><path d='M0 5 Q 9 0, 18 5 T 36 5 T 54 5 T 72 5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>");
  -webkit-mask: var(--m) no-repeat center / 72px 10px; mask: var(--m) no-repeat center / 72px 10px; background: var(--realm); }
.article .gh-content a { text-decoration-color: var(--realm); }
.article .gh-content blockquote:not(.kg-blockquote-alt) { border-left-color: var(--realm); }

/* ===== v0.6: register textures (character, not finish) ===== */
/* Field notes: a dispatch. Dated, a little narrower, a notebook margin, no drop cap. */
.fn-dateline { display: inline-flex; gap: 10px; align-items: baseline; margin: 0 0 14px; font: 400 15px var(--font-sans); color: var(--fg-2); }
.fn-dateline span { font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--realm); }
.tag-form-field-notes { --measure: 620px; }
.tag-form-field-notes .article-title { font-size: clamp(36px, 4.6vw, 58px); }
.tag-form-field-notes .gh-content > p:first-of-type::first-letter { all: unset; }
/* Notebook margin: a faint double rule set well out from the text, so it can't be mistaken for a block quote */
.tag-form-field-notes .gh-content { --fn-rule: color-mix(in srgb, var(--realm) 45%, transparent); background:
    linear-gradient(var(--fn-rule), var(--fn-rule)) no-repeat calc(50% - var(--measure) / 2 - 64px) 0 / 1px 100%,
    linear-gradient(var(--fn-rule), var(--fn-rule)) no-repeat calc(50% - var(--measure) / 2 - 59px) 0 / 1px 100%; }
.tag-form-field-notes .article-image img { max-width: 860px; margin: 0 auto; transform: rotate(-.6deg); box-shadow: 0 1px 0 #fff, 0 10px 24px rgba(14,42,42,.12); border: 8px solid #fff; border-radius: 3px; }
/* Syntheses: composed. A larger title, a drop cap, room for an epigraph, and an end mark. */
.tag-form-syntheses .article-title { font-size: clamp(44px, 6.2vw, 84px); }
.tag-form-syntheses .gh-content > p:first-of-type::first-letter { float: left; font-family: var(--font-serif); font-weight: 500; font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--realm); }
.tag-form-syntheses .gh-content > blockquote:first-child { border: 0; padding: 0; margin: 0 0 2em auto; max-width: 30em; text-align: right; font-style: italic; color: var(--fg-2); font-size: .92em; }
.tag-form-syntheses .gh-content > p:last-of-type::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .4em; border-radius: 50%; background: var(--realm); vertical-align: .05em; }
/* Studies: the standard essay; long ones get a contents list (built by main.js). */
.toc { position: sticky; top: 100px; float: right; width: 220px; margin: 0 calc(-220px - 48px) 0 0; font: 400 14px/1.45 var(--font-sans); }
.toc p { font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1.5px solid var(--rule); display: grid; gap: 8px; }
.toc a { color: var(--fg-2); text-decoration: none; } .toc a:hover, .toc a.is-here { color: var(--realm); }
.gh-content .toc-wrap { grid-column: main; position: relative; height: 0; }
@media (max-width: 1240px) { .toc { position: static; float: none; width: auto; margin: 0 0 2em; padding: 16px 20px; background: var(--ground-cream); border-radius: 12px; } .toc ol { border: 0; padding: 0; } .gh-content .toc-wrap { height: auto; } }

/* ===== v0.6: form templates ===== */
/* Poem: centred, line breaks kept, generous air, no drop cap. */
.article-poem .gh-content { --measure: 560px; font-size: calc(var(--read-size) * .98); }
.article-poem .gh-content > p { white-space: pre-line; text-align: left; margin-left: auto; margin-right: auto; width: fit-content; max-width: 100%; }
.article-poem .gh-content > p:first-of-type::first-letter { all: unset; }
.article-poem .gh-content > p:last-of-type::after { display: none; }
/* Talk or recording: the player first and wide, then the transcript. */
.article-talk .gh-content > figure:first-child { grid-column: wide; margin-bottom: 1.2em; }
.article-talk .gh-content > figure:first-child + * { margin-top: 0; }
.gh-content .transcript-label { font: 600 11px var(--font-sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: .4em 0 1em !important; }
/* Visual work: images go wide by default; text stays in the column. */
.article-visual .gh-content > figure.kg-image-card, .article-visual .gh-content > .kg-gallery-card { grid-column: wide; }
.article-visual .gh-content > figure.kg-width-full { grid-column: full; }
.article-visual .article-image { max-width: 1400px; }
.gh-content .kg-header-card { padding: clamp(48px, 7vw, 96px) 24px; min-height: 0; }
.gh-content .kg-header-card.kg-style-dark { background: var(--ground-forest); color: #F8F2E6; }
.gh-content .kg-header-card.kg-style-light { background: var(--ground-cream); color: var(--fg-1); }
.gh-content .kg-header-card.kg-style-accent { background: var(--action); color: var(--ground-ink); }
.gh-content .kg-header-card-header { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; }
.gh-content .kg-header-card-subheader { font-family: var(--font-sans); font-weight: 400; opacity: .8; }
.gh-content .kg-callout-card-accent { background: var(--ground-forest); color: #F8F2E6; }
.gh-content .kg-file-card-title, .gh-content .kg-product-card-title { font-family: var(--font-sans); }

/* ===== v0.6: the reading desk ===== */
.desk-hero { background: var(--ground-forest); color: #F8F2E6; padding: 56px var(--gutter) 40px; }
.rd-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; }
.rd-list { position: sticky; top: 90px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-4); overflow: hidden; }
.rd-list-tools { padding: 14px; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; }
.rd-list-tools input { font: 400 15px var(--font-sans); padding: 9px 12px; border: 1px solid var(--rule-strong); border-radius: 10px; }
.rd-tabs { display: flex; gap: 4px; }
.rd-tabs button { flex: 1; font: 500 13px var(--font-sans); padding: 7px; border: 0; border-radius: 8px; background: var(--ground-cream); cursor: pointer; color: var(--fg-2); }
.rd-tabs button.is-on { background: var(--fg-1); color: var(--bg); }
.rd-items { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.rd-items button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; padding: 10px; border: 0; background: none; border-radius: 10px; cursor: pointer; font-family: var(--font-sans); }
.rd-items button:hover { background: var(--ground-cream); } .rd-items button.is-on { background: var(--ground-bone); }
.rd-it { font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--fg-1); } .rd-im { font-size: 12.5px; color: var(--fg-3); grid-column: 1; }
.rd-sig, .rd-new { grid-column: 2; grid-row: 1 / span 2; align-self: center; } .rd-new { font-size: 11px; color: #B3261E; }
.rd-empty, .rd-pick p, .rd-hint { color: var(--fg-3); padding: 14px; margin: 0; }
.rd-head { margin-bottom: 18px; } .rd-title { font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 1.1; margin: 4px 0 8px; }
.rd-preview { padding: 22px; background: var(--ground-cream); border-radius: var(--r-4); margin-bottom: 24px; }
.rd-fields { display: grid; gap: 18px; }
.rd-k { font: 600 12px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 8px; } .rd-k small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--fg-3); }
.rd-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-opt { font: 500 14px var(--font-sans); padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--rule-strong); background: #fff; cursor: pointer; color: var(--fg-1); display: inline-flex; gap: 6px; align-items: center; }
.rd-opt[style]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.rd-opt.is-on { background: var(--fg-1); color: var(--bg); border-color: var(--fg-1); }
.rd-opt b { font-size: 11px; background: var(--action); color: var(--ground-ink); border-radius: 50%; width: 17px; height: 17px; display: inline-grid; place-items: center; }
.rd-save { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule); }
.rd-msg { margin: 0; font-size: 14.5px; color: var(--fg-2); }
.rd-signin { padding: 32px; background: var(--ground-cream); border-radius: var(--r-4); } .rd-signin h2 { font-family: var(--font-serif); font-weight: 500; font-size: 30px; }
@media (max-width: 900px) { .rd-grid { grid-template-columns: 1fr; } .rd-list { position: static; max-height: 360px; } }
.gh-content .kg-embed-card { width: 100%; }
.gh-content .kg-embed-card iframe[src*="youtube"], .gh-content .kg-embed-card iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-3); }
.article-talk .gh-content > figure.kg-embed-card:first-of-type, .article-talk .gh-content > figure.kg-audio-card:first-of-type { grid-column: wide; }

/* ===== v0.7: seven moods in the reader's voice ===== */
.affects.affects-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.affects-7 .affect { border-top: 4px solid var(--aff); }
.affects-7 .affect-name { font-size: 24px; line-height: 1.12; }
.affects-7 .affect-desc { font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.4; }
@media (max-width: 1000px) { .affects.affects-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .affects.affects-7 { grid-template-columns: 1fr; } }
.stacks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .stacks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stacks { grid-template-columns: 1fr; } }
.pc-aff-surprise { --ac: #7E55AE; } .pc-aff-wonder { --ac: #2F8A64; } .pc-aff-imagine { --ac: #C97A00; } .pc-aff-move { --ac: #C93576; }
.pc-aff-less-alone { --ac: #3568AC; } .pc-aff-grounded { --ac: #B04A33; } .pc-aff-make-sense { --ac: #2F7F86; }

@media (max-width: 860px) { .tag-form-field-notes .gh-content { background: none; } }

/* Long reads and talks: when there's a contents list, media stays in the column so nothing sits over it */
.gh-content:has(.toc-wrap) > figure.kg-width-wide,
.gh-content:has(.toc-wrap) > figure.kg-embed-card,
.gh-content:has(.toc-wrap) > figure.kg-audio-card,
.gh-content:has(.toc-wrap) > .kg-gallery-card,
.article-talk .gh-content:has(.toc-wrap) > figure.kg-embed-card:first-of-type { grid-column: main !important; }
.toc { z-index: 2; background: var(--ground-paper); }

/* ===== v0.8: header tools — search, new to Grokkist, subscribe ===== */
.gh-head-tools { display: inline-flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); }
.gh-head-search { display: inline-flex; align-items: center; gap: 7px; }
.gh-head-search svg { flex: none; }
.gh-head-nav .gh-head-new { font-size: 13px; color: var(--fg-3); white-space: nowrap; }
.gh-head-nav .gh-head-new:hover { color: var(--fg-1); }
.hd-sub { position: relative; }
.hd-sub summary { list-style: none; cursor: pointer; background: var(--action); border-color: var(--action) !important; color: var(--ground-ink) !important; font-weight: 500; }
.hd-sub summary::-webkit-details-marker { display: none; }
.hd-sub summary:hover { background: var(--action-lift); }
.hd-sub-panel { position: absolute; right: 0; top: calc(100% + 14px); width: min(420px, 92vw); padding: 22px 22px 18px; border-radius: var(--r-4); background: var(--ground-paper); color: var(--fg-1); box-shadow: 0 24px 48px rgba(0,0,0,.28); z-index: 60; }
.hd-sub-title { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 0 0 12px; color: var(--fg-1); }
.hd-sub-panel .sub-compact .sub-letters { grid-template-columns: 1fr; }
.hd-sub-panel .sub-row { grid-template-columns: 1fr; }
.hd-sub-panel .sub-opt small { font-size: 13px; }
.gh-head-nav .hd-sub-panel a.hd-sub-more { display: block; margin-top: 12px; font-size: 13px; color: var(--action-deep); }
@media (max-width: 1380px) { .gh-head-search span { display: none; } }
@media (max-width: 1240px) { .gh-head-nav .gh-head-new { display: none; } }
.gh-head-nav.is-open .gh-head-new { display: inline; }
.gh-head-nav.is-open .gh-head-tools { flex-wrap: wrap; }
.gh-head-nav.is-open .hd-sub-panel { position: static; width: auto; margin-top: 10px; box-shadow: none; }
/* Search fallback (used only where Ghost's own search isn't loaded, e.g. the static preview) */
.gks { position: fixed; inset: 0; z-index: 100; background: rgba(14,42,42,.55); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px; }
.gks-box { width: min(680px, 100%); background: var(--ground-paper); border-radius: var(--r-4); box-shadow: 0 30px 60px rgba(0,0,0,.3); overflow: hidden; }
.gks-box input { width: 100%; font: 400 20px var(--font-sans); padding: 20px 22px; border: 0; border-bottom: 1px solid var(--rule); background: #fff; outline: none; }
.gks-list { list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow-y: auto; }
.gks-list a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--fg-1); }
.gks-list a:hover, .gks-list a.is-on { background: var(--ground-cream); }
.gks-t { font-weight: 600; } .gks-m { font-size: 13px; color: var(--fg-3); }
.gks-empty { padding: 16px; color: var(--fg-3); }
.hd-sub-panel { --fg-1: #0E2A2A; --fg-2: #4F6463; --fg-3: #7A8A88; --rule: rgba(14,42,42,.14); --rule-strong: rgba(14,42,42,.24); --bg: #F3ECDE; color: var(--fg-1); }
.hd-sub-panel .hd-sub-title, .hd-sub-panel .sub-opt, .hd-sub-panel .sub-opt b { color: #0E2A2A; }
.hd-sub-panel .sub-opt small, .hd-sub-panel .sub-fine { color: #4F6463; }
.hd-sub-panel .sub-msg { background: var(--ground-cream); color: #0E2A2A; }

/* v0.9 — whole thumbnails on a blur of themselves */
.pc-image.is-whole, .sc-image.is-whole, .sp-lead-img.is-whole { position: relative; isolation: isolate; overflow: hidden; }
.sp-lead-img.is-whole { border-radius: var(--r-leaf); aspect-ratio: 16 / 9; }
.is-whole::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--thumb) center / cover no-repeat; filter: blur(18px) saturate(1.1); opacity: .75; }
.is-whole::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--ground-mist) 35%, transparent); }
.pc-image.is-whole img, .sc-image.is-whole img, .sp-lead-img.is-whole img { object-fit: contain; aspect-ratio: auto; height: 100%; border-radius: 0; filter: drop-shadow(0 4px 14px rgb(0 0 0 / .18)); }
.pc-link:hover .pc-image.is-whole img { transform: scale(1.015); }

/* v0.9 — audio card art */
.gh-content .kg-audio-thumbnail.placeholder { border-radius: var(--r-2); background-color: color-mix(in srgb, var(--realm, var(--accent, #F39702)) 16%, var(--ground-cream)); background-size: cover; background-position: center; }
.gh-content .kg-audio-thumbnail.placeholder svg { opacity: .55; }
.gh-content .kg-audio-thumbnail.placeholder.has-art svg { display: none; }

/* v0.9 — launch note */
.launch { background: var(--ground-cream); border-bottom: 1px solid var(--rule); font-family: var(--font-sans); }
.launch-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-block: 10px; }
.launch p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.launch p b { color: var(--fg-1); font-weight: 600; }
.launch a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.launch-x { flex: none; background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; font: 500 13px var(--font-sans); color: var(--fg-2); cursor: pointer; }
.launch-x:hover { border-color: var(--fg-3); color: var(--fg-1); }
@media (max-width: 560px) { .launch-inner { align-items: flex-start; } }
/* ==========================================================================
   Unforgetting — Grokkist's own sequence. A dusk river you read your way down.
   Palette from its illustrations: river teal, sun gold, paper cream.
   ========================================================================== */
.unf-piece, .unf-path {
  --u-deep: #0B3236; --u-river: #134A4F; --u-teal: #1F6B6F; --u-gold: #F2B233; --u-sun: #F7C65A; --u-ochre: #C68A3A;
  --u-cream: #F6ECD6; --u-paper: #FBF5E8; --u-ink: #10292B; --u-mute: #4E6466;
  --ghost-accent-color: var(--u-ochre);
}
.unf-l, .unf-m { position: absolute; pointer-events: none; user-select: none; will-change: transform; }

/* ---------- Hero: dusk sky over the river; the sun sinks as you scroll ---------- */
.unf-hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: grid; align-items: start;
  background: linear-gradient(180deg, #071F23 0%, #0D3438 40%, #1D5A5B 60%, #6F8A63 68%, #D9A04A 74%); color: var(--u-cream); --hz: 74%; }
.unf-sky, .unf-water { position: absolute; inset: 0; }
.unf-sky { z-index: -2; }
.unf-water { z-index: -1; top: var(--hz); background: linear-gradient(180deg, #1F6066 0%, #134A4F 30%, #0B3236 100%); }
.unf-sun { width: min(34vw, 440px); left: 74%; top: var(--hz); translate: -50% -52%; }
.unf-cloud-a { width: min(30vw, 400px); left: 58%; top: calc(var(--hz) - 12%); opacity: .95; }
.unf-cloud-b { width: min(20vw, 260px); left: 4%; top: 20%; transform: scaleX(-1); opacity: .5; }
.unf-star { width: 40px; left: 88%; top: 15%; opacity: .9; animation: unf-twinkle 5s ease-in-out infinite; }
.unf-gull { width: min(11vw, 140px); left: 60%; top: 14%; }
.unf-feather { width: 56px; left: 48%; top: 6%; z-index: 2; }
.unf-rocks { width: min(26vw, 340px); left: -2%; top: -38px; }
.unf-glint { width: min(40vw, 520px); left: 74%; translate: -50% 0; top: 2px; opacity: .95; }
.unf-wave { width: max(1100px, 100vw); left: 50%; translate: -50% 0; }
.unf-wave-b { top: 38%; width: max(700px, 60vw); left: 30%; opacity: .7; }
.unf-wave-a { bottom: -10px; opacity: .95; }
.unf-hero-text { position: relative; z-index: 3; width: min(760px, 100%); margin-left: max(24px, calc(50vw - 560px)); padding: 13vh 24px 34vh 0; text-align: left; }
.unf-hero-text .unf-dek { margin-left: 0; }
.unf-hero-text .unf-hero-actions { justify-content: flex-start; }
@media (max-width: 760px) { .unf-hero-text { margin: 0 auto; padding: 12vh 24px 46vh; text-align: center; } .unf-hero-text .unf-dek { margin: 20px auto 0; } .unf-hero-text .unf-hero-actions { justify-content: center; } .unf-sun { left: 50%; width: 58vw; } .unf-glint { left: 50%; width: 80vw; } .unf-cloud-a { left: 40%; width: 46vw; } }
.unf-kicker { font: 600 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--u-sun); margin: 0 0 22px; }
.unf-kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--u-sun) 50%, transparent); }
.unf-dot { margin: 0 .5em; opacity: .7; }
.unf-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(54px, 10vw, 136px); line-height: .92; letter-spacing: -.02em; margin: 0;
  text-wrap: balance; text-shadow: 0 2px 40px rgb(5 25 28 / .55); }
.unf-dek { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35; max-width: 34ch; margin: 24px auto 0;
  color: color-mix(in srgb, var(--u-cream) 88%, transparent); text-wrap: balance; }
.unf-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.unf-btn { display: inline-flex; align-items: center; gap: .4em; font: 600 15px var(--font-sans); padding: 12px 22px; border-radius: 999px; border: 1px solid var(--u-gold);
  background: var(--u-gold); color: var(--u-ink); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.unf-btn span { font-weight: 400; opacity: .75; }
.unf-btn:hover { transform: translateY(-2px); }
.unf-btn-ghost { background: rgb(8 30 33 / .35); color: var(--u-cream); backdrop-filter: blur(6px); }
.unf-btn-ghost[aria-pressed=true] { background: var(--u-cream); color: var(--u-ink); border-color: var(--u-cream); }
.unf-down { position: absolute; z-index: 3; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid color-mix(in srgb, var(--u-cream) 60%, transparent); border-radius: 14px; }
.unf-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--u-cream); animation: unf-scroll 2s ease-in-out infinite; }
@keyframes unf-scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes unf-twinkle { 50% { opacity: .45; transform: scale(.85) rotate(12deg); } }

/* ---------- The river you read down ---------- */
.unf-river { position: relative; background: var(--u-paper); color: var(--u-ink); padding: 0 0 12vh; overflow-x: clip; }
.unf-river::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 60px; background: linear-gradient(var(--u-deep), transparent); opacity: .18; pointer-events: none; }
.unf-thread { position: absolute; top: 0; bottom: 0; left: max(24px, calc(50% - var(--measure) / 2 - 110px)); width: 2px; background: color-mix(in srgb, var(--u-teal) 18%, transparent); }
.unf-thread span { position: sticky; top: 0; display: block; width: 2px; height: 0; background: linear-gradient(var(--u-gold), var(--u-ochre)); box-shadow: 0 0 12px var(--u-gold); }
.unf-margin { position: absolute; inset: 0; pointer-events: none; }
.unf-m-leaves { width: 120px; right: max(10px, calc(50% - var(--measure) / 2 - 230px)); top: 34%; opacity: .8; }
.unf-m-feather { width: 70px; left: max(10px, calc(50% - var(--measure) / 2 - 250px)); top: 58%; opacity: .75; rotate: -18deg; }
.unf-m-star { width: 34px; right: max(30px, calc(50% - var(--measure) / 2 - 150px)); top: 80%; opacity: .7; }
@media (max-width: 1100px) { .unf-margin, .unf-thread { display: none; } }

.unf-content { position: relative; z-index: 1; max-width: var(--measure); margin: 0 auto; padding: 8vh 24px 0; font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); }
.unf-content > p { margin: 0 0 1.1em; }
.unf-content > p:first-of-type::first-letter { float: left; font-size: 4.6em; line-height: .82; margin: .06em .1em 0 0; color: var(--u-ochre); font-weight: 500; }
.unf-content em { color: color-mix(in srgb, var(--u-ink) 88%, var(--u-teal)); }
.unf-content strong { font-weight: 600; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--u-gold) 45%, transparent) 62%); }

/* Section heads: a knot on the thread, a number, the title */
.unf-content > h2 { position: relative; font-family: var(--font-serif); font-weight: 500; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 2.2em 0 .6em; color: var(--u-ink); }
.unf-content > h2 .unf-sec-n { display: block; font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--u-ochre); margin-bottom: 10px; }
.unf-content > h2::before { content: ""; position: absolute; top: 34px; left: calc(-110px - 7px); width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--u-teal); background: var(--u-paper); transition: background .4s, border-color .4s, box-shadow .4s; }
.unf-content > h2.is-past::before { background: var(--u-gold); border-color: var(--u-gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--u-gold) 25%, transparent); }
@media (max-width: 1100px) { .unf-content > h2::before { display: none; } }

/* The epigraph */
.unf-content > .kg-blockquote-alt, .unf-content > blockquote.kg-blockquote-alt { position: relative; border: 0; margin: 0 auto 3em; padding: 0 0 0 0; text-align: center; font-family: var(--font-serif); font-style: italic;
  font-size: 1.15em; color: var(--u-mute); max-width: 30ch; }

/* A pull quote breaks the banks: full width, the river behind it */
.unf-content > blockquote:not(.kg-blockquote-alt) { position: relative; margin: 2.4em calc(50% - 50vw); padding: clamp(60px, 10vw, 120px) max(24px, calc(50vw - 520px)); border: 0;
  background: radial-gradient(ellipse at 50% 120%, #2C6A66, var(--u-deep) 70%); color: var(--u-cream); font-family: var(--font-serif); font-style: normal;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; text-align: center; overflow: hidden; isolation: isolate; text-wrap: balance; }
.unf-content > blockquote:not(.kg-blockquote-alt)::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -10px; width: min(110vw, 1500px); height: 140px; translate: -50% 0;
  background: url("../images/unf/water-sun.webp") center bottom / contain no-repeat; opacity: .55; }
.unf-content > blockquote:not(.kg-blockquote-alt)::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 34px; width: 36px; height: 44px; translate: -50% 0; background: url("../images/unf/star.webp") center / contain no-repeat; }
.unf-content > blockquote:not(.kg-blockquote-alt) em { color: var(--u-sun); font-style: italic; }
.unf-content > blockquote:not(.kg-blockquote-alt) .w { opacity: .18; transition: opacity .5s; }
.unf-content > blockquote:not(.kg-blockquote-alt) .w.on { opacity: 1; }

/* Scenes: wide images leave the column and hold still while the page moves past */
.unf-scene { position: relative; margin: 3.5em calc(50% - 50vw); height: 150vh; }
.unf-scene > img, .unf-scene .kg-image { position: sticky; top: 0; width: 100vw; height: 100vh; max-width: none; object-fit: cover; border-radius: 0; margin: 0; }
.unf-scene figcaption { position: absolute; left: 50%; bottom: 18vh; translate: -50% 0; margin: 0; max-width: min(90vw, 520px); padding: 16px 22px; border-radius: 14px;
  background: rgb(10 38 41 / .72); backdrop-filter: blur(8px); color: var(--u-cream); font: italic 400 clamp(19px, 2vw, 24px)/1.3 var(--font-serif); text-align: center; }
.unf-opening { margin-top: 0; height: 130vh; }
.unf-scene.unf-scene-alt figcaption { left: auto; right: 6vw; translate: 0 0; }
@media (max-width: 700px) { .unf-scene { height: auto; } .unf-scene > img, .unf-scene .kg-image { position: static; height: 62vh; } .unf-scene figcaption { position: static; translate: none; margin: -40px 16px 0; position: relative; } }

/* ---------- Try this: down into the water, where you work ---------- */
.unf-try { position: relative; margin: 4em calc(50% - 50vw) -12vh; padding: 140px max(24px, calc(50vw - var(--measure) / 2 - 24px)) 6vh; background: linear-gradient(180deg, var(--u-river), var(--u-deep) 60%); color: var(--u-cream); }
.unf-try::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 120px; background: url("../images/unf/wave-a.webp") center top / 1700px auto repeat-x; transform: scaleY(-1); opacity: .9; }
.unf-try > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.unf-try > h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(44px, 6vw, 72px); color: var(--u-sun); margin: 0 auto .3em; line-height: 1; }
.unf-try > h2 .unf-sec-n { display: block; font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--u-cream); opacity: .7; margin-bottom: 12px; }
.unf-try > h2::before { display: none; }
.unf-try > p { font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); margin-bottom: 1em; }
.unf-try > p em { color: color-mix(in srgb, var(--u-cream) 80%, transparent); }
.unf-try > ol, .unf-try > ol li, .unf-try > ul li { color: var(--u-cream); }
.unf-try > ol em, .unf-try > ul em, .unf-try li em { color: var(--u-sun); font-style: italic; }
.unf-try > ul { list-style: none; padding: 0; display: grid; gap: 12px; margin: 1.2em auto 1.8em; counter-reset: unf; }
.unf-try > ul > li { counter-increment: unf; position: relative; padding: 18px 20px 18px 62px; border-radius: 16px; background: color-mix(in srgb, var(--u-cream) 9%, transparent); border: 1px solid color-mix(in srgb, var(--u-cream) 16%, transparent);
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.4; }
.unf-try > ul > li::before { content: counter(unf); position: absolute; left: 20px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--u-gold); color: var(--u-ink); font: 600 14px/28px var(--font-sans); text-align: center; }
.unf-try .unf { --unf-line: color-mix(in srgb, var(--u-cream) 18%, transparent); --unf-soft: color-mix(in srgb, var(--u-cream) 7%, transparent); --unf-accent: var(--u-gold); font-family: var(--font-sans); font-size: 17px; }
.unf-try .unf button[aria-pressed=true], .unf-try .unf .unf-primary { color: var(--u-ink); }
.unf-try .unf h3.unf-title { font-family: var(--font-serif); font-weight: 500; font-size: 2rem; color: var(--u-sun); }
.unf-try .unf textarea { background: rgb(4 22 24 / .35); }
.unf-try .unf-part { background: color-mix(in srgb, var(--u-cream) 7%, transparent); }
.unf-try .unf-page { background: var(--u-cream); color: var(--u-ink); }
.unf-try .kg-audio-card { display: none; }
.unf-paper { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 1.4em; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--u-ochre) 10%, transparent); border: 1px dashed color-mix(in srgb, var(--u-ochre) 45%, transparent); font-size: .9em; line-height: 1.45; }
.unf-paper-ico { width: 22px; height: 26px; flex: none; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; background: linear-gradient(currentColor, currentColor) 4px 7px / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 4px 12px / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 4px 17px / 7px 1.5px no-repeat; }
.unf-paper-txt { flex: 1 1 220px; }
.unf-paper-btn { flex: none; padding: 8px 14px; border-radius: 10px; border: 1px solid currentColor; text-decoration: none !important; font-weight: 600; font-size: .92em; white-space: nowrap; }
.unf-paper-btn:hover { background: var(--u-ochre); border-color: var(--u-ochre); color: #fff; }

/* ---------- The narration: docks to the bottom once it starts ---------- */
.unf-content > .kg-audio-card { margin: 0 0 2.5em; background: var(--u-cream); border-color: color-mix(in srgb, var(--u-ochre) 30%, transparent); }
.unf-content > .kg-audio-card.is-docked { position: fixed; z-index: 60; left: 50%; bottom: 16px; translate: -50% 0; width: min(680px, calc(100vw - 32px)); margin: 0; box-shadow: 0 18px 48px rgb(5 25 28 / .35); }

/* ---------- The nine stones ---------- */
.unf-path { position: relative; background: linear-gradient(180deg, var(--u-deep), #08272A); color: var(--u-cream); padding: 8vh 24px 0; overflow: hidden; }
.unf-path-inner { position: relative; max-width: 1100px; margin: 0 auto; padding-bottom: 210px; }
.unf-path .unf-kicker { text-align: center; }
.unf-path-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 5vw, 58px); text-align: center; margin: 0 0 56px; text-wrap: balance; }
.unf-stones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; align-items: end; }
.unf-stone { position: relative; text-align: center; }
.unf-stone:nth-child(odd) { transform: translateY(-26px); }
.unf-stone a, .unf-stone > span { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.unf-stone-n { display: grid; place-items: center; width: clamp(44px, 6vw, 72px); aspect-ratio: 1.3; border-radius: 48% 52% 46% 54% / 60% 58% 42% 40%; background: linear-gradient(160deg, #2E6E6A, #174749);
  box-shadow: inset 0 -6px 0 rgb(0 0 0 / .18), 0 10px 0 -4px rgb(242 178 51 / .18); font: 600 17px var(--font-sans); color: var(--u-cream); transition: transform .25s, background .25s; }
.unf-stone-t { font: 500 14px/1.3 var(--font-sans); max-width: 12ch; opacity: .85; }
.unf-stone a:hover .unf-stone-n { transform: translateY(-4px); }
.unf-stone.is-here .unf-stone-n { background: linear-gradient(160deg, var(--u-sun), var(--u-ochre)); color: var(--u-ink); box-shadow: 0 0 0 6px rgb(242 178 51 / .2), 0 0 40px rgb(242 178 51 / .45); }
.unf-stone.is-here .unf-stone-t { opacity: 1; color: var(--u-sun); }
.unf-stone.is-next .unf-stone-t::before { content: "Next "; display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--u-sun); }
.unf-stone.is-waiting .unf-stone-n { background: transparent; border: 1.5px dashed color-mix(in srgb, var(--u-cream) 30%, transparent); box-shadow: none; color: color-mix(in srgb, var(--u-cream) 50%, transparent); }
.unf-stone.is-waiting .unf-stone-t { opacity: .45; font-style: italic; }
.unf-greg { position: absolute; bottom: 116px; width: 220px; left: 0; transition: left 1.6s cubic-bezier(.3,.7,.2,1); }
.unf-path-water { position: absolute; left: -10vw; right: -10vw; bottom: 0; height: 140px; }
.unf-path-water img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
@media (max-width: 760px) {
  .unf-stones { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .unf-stone:nth-child(odd) { transform: none; } .unf-stone:nth-child(3n+2) { transform: translateY(-16px); }
  .unf-greg { width: 150px; }
}

/* ---------- Foot ---------- */
.unf-foot { background: #08272A; color: var(--u-cream); padding: 40px 24px 90px; }
.unf-foot-inner { max-width: var(--measure); margin: 0 auto; }
.unf-sign { display: flex; align-items: center; gap: 14px; justify-content: center; font: 400 15px var(--font-sans); opacity: .85; margin: 0 0 40px; }
.unf-sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.unf-sign a { color: var(--u-sun); }
.unf-foot .sub { --fg-1: var(--u-cream); --fg-2: color-mix(in srgb, var(--u-cream) 80%, transparent); --fg-3: color-mix(in srgb, var(--u-cream) 60%, transparent); --rule: color-mix(in srgb, var(--u-cream) 20%, transparent); color: var(--u-cream); }

/* ---------- Landing ---------- */
.unf-about { background: var(--u-paper); color: var(--u-ink); padding: 14vh 24px; }
.unf-about-inner { max-width: 980px; margin: 0 auto; }
.unf-big { font-family: var(--font-serif); font-size: clamp(30px, 4.2vw, 52px); line-height: 1.15; margin: 0 0 1.2em; text-wrap: pretty; }
.unf-big em { color: var(--u-ochre); }
.unf-about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; font-size: 17px; line-height: 1.6; color: var(--u-mute); }
.unf-about-cols p { margin: 0; padding-top: 18px; border-top: 2px solid var(--u-gold); }
@media (max-width: 760px) { .unf-about-cols { grid-template-columns: 1fr; gap: 20px; } }

/* Gentle entrances */
.unf-in { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.unf-in.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .unf-l, .unf-m, .unf-greg { transform: none !important; transition: none !important; animation: none !important; }
  .unf-in { opacity: 1; transform: none; }
  .unf-content > blockquote:not(.kg-blockquote-alt) .w { opacity: 1; }
  .unf-down span, .unf-star { animation: none; }
}

/* v0.10 — Friends of Grokkist */
.fr-top { background: var(--ground-forest); color: var(--ground-cream); padding: clamp(48px, 8vh, 84px) 0 clamp(40px, 6vh, 64px); }
.fr-top-inner { display: grid; gap: 28px; }
.fr-top-head { max-width: 760px; }
.fr-top .hero-title { margin: 10px 0 12px; }
.fr-top .hero-lede { margin: 0; }
.fr-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fr-tier { background: var(--ground-cream, #FBF5E8); color: var(--ground-forest); border-radius: var(--r-4, 18px); padding: 22px 22px 20px; display: flex; flex-direction: column; }
.fr-tier-patron { box-shadow: 0 0 0 3px #F2B233; }
.fr-tier-once { background: transparent; color: var(--ground-cream); border: 1.5px dashed color-mix(in srgb, var(--ground-cream) 45%, transparent); }
.fr-tier-name { font: 600 13px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.fr-price { font-family: var(--font-serif); font-size: 20px; margin: 0; }
.fr-price b { font-size: 44px; font-weight: 500; line-height: 1; }
.fr-price-alt { font-size: 15px; opacity: .75; margin: 6px 0 18px; }
.fr-tier-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.fr-tier .btn-secondary { color: var(--ground-forest); border-color: color-mix(in srgb, var(--ground-forest) 55%, transparent); background: transparent; }
.fr-tier-once .btn-secondary { color: var(--ground-cream); border-color: color-mix(in srgb, var(--ground-cream) 70%, transparent); }
.fr-thanks-line { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.7; }
.fr-thanks-line li { display: inline; }
.fr-thanks-line li + li:not(:nth-child(2))::before { content: "·"; margin: 0 .55em; opacity: .6; }
.fr-thanks-line li:first-child { margin-right: .4em; }
.fr-top-fine { margin: -14px 0 0; font-size: 14px; opacity: .7; }
.fr-top-fine a { color: inherit; }
.fr-button { --bc: #C9A13B; display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; background:
    radial-gradient(circle at 36% 36%, #3b2f1a 0 1.2px, transparent 1.6px), radial-gradient(circle at 64% 36%, #3b2f1a 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 36% 64%, #3b2f1a 0 1.2px, transparent 1.6px), radial-gradient(circle at 64% 64%, #3b2f1a 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 40% 35%, #F7D57A, var(--bc)); box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / .18), 0 1px 1px rgb(0 0 0 / .3); }
.fr-h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin: 8px 0 14px; }
.fr-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.fr-why-col p:not(.eyebrow), .fr-seed > p:not(.eyebrow) { font-family: var(--font-serif); font-size: 20px; line-height: 1.55; margin: 0 0 .7em; }
.fr-lounge { padding: 14px 16px; border-left: 3px solid #F2B233; background: var(--ground-cream, #FBF5E8); border-radius: 0 12px 12px 0; font-size: 18px !important; }
.fr-seed { position: relative; }
.fr-seed-mark { display: none; position: absolute; right: 0; top: -6px; width: 84px; height: 84px; transform: scale(.8); transform-origin: right top; }
.fr-seed-mark span { position: absolute; border-radius: 60% 40% 55% 45% / 60% 50% 50% 40%; background: radial-gradient(circle at 35% 30%, #F7C65A, #C68A3A); }
.fr-seed-mark span:nth-child(1) { width: 40px; height: 50px; left: 4px; top: 26px; rotate: -20deg; }
.fr-seed-mark span:nth-child(2) { width: 32px; height: 42px; left: 42px; top: 4px; rotate: 18deg; background: radial-gradient(circle at 35% 30%, #8FCDAE, #3FA27A); }
.fr-seed-mark span:nth-child(3) { width: 30px; height: 36px; left: 48px; top: 48px; rotate: 40deg; background: radial-gradient(circle at 35% 30%, #F09AC2, #E6458F); }
.fr-seed-uses { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 8px; font-size: 16px; color: var(--fg-2); }
.fr-seed-uses li { padding-left: 22px; position: relative; }
.fr-seed-uses li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 12px; border-radius: 60% 40% 55% 45%; background: #C68A3A; rotate: -20deg; }
.fr-seed-uses b { color: var(--fg-1); }
.fr-seed-ask { font-family: var(--font-sans) !important; font-size: 16px !important; color: var(--fg-2); }

/* The quilt: a patch for every Friend, a row for every year */
.fr-quilt-band { background: var(--bg); }
.fr-quilt { margin-top: 16px; padding: 16px; border-radius: 10px; background: #3E5C5A; box-shadow: inset 0 0 0 6px #2F4A48, 0 10px 30px rgb(0 0 0 / .12); position: relative; }
.fr-quilt::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgb(246 236 214 / .5); border-radius: 6px; pointer-events: none; }
.fr-row, .fr-quilt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; position: relative; }
.fr-patch { --c1: #E7B65C; --c2: #F2D49A; position: relative; min-height: 112px; display: grid; place-items: center; padding: 18px 10px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.fr-patch::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgb(255 255 255 / .55); border-radius: 2px; pointer-events: none; }
.fr-patch.p-plain { background: var(--c1); }
.fr-patch.p-gingham { background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 55%, transparent) 50%, transparent 50%) 0 0 / 16px 16px, linear-gradient(color-mix(in srgb, var(--c1) 55%, transparent) 50%, transparent 50%) 0 0 / 16px 16px, var(--c2); }
.fr-patch.p-stripe { background: repeating-linear-gradient(45deg, var(--c1) 0 8px, var(--c2) 8px 16px); }
.fr-patch.p-dots { background: radial-gradient(circle, var(--c2) 0 3px, transparent 3.5px) 0 0 / 14px 14px, var(--c1); }
.fr-patch.p-cord { background: repeating-linear-gradient(90deg, var(--c1) 0 4px, color-mix(in srgb, var(--c1) 82%, black) 4px 6px); }
.fr-patch.p-check { background: conic-gradient(var(--c1) 25%, var(--c2) 0 50%, var(--c1) 0 75%, var(--c2) 0) 0 0 / 22px 22px; }
.fr-patch.p-flower { background: radial-gradient(circle at 50% 50%, var(--c2) 0 2px, transparent 2.5px) 0 0 / 18px 18px, radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c2) 60%, transparent) 0 5px, transparent 5.5px) 9px 9px / 18px 18px, var(--c1); }
.fr-tag { position: relative; z-index: 1; max-width: 100%; padding: 6px 12px 7px; background: #FBF4E4; border-radius: 3px; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transform: rotate(var(--rot, 0deg));
  font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 18px; line-height: 1.15; color: #2B2420; text-align: center; overflow-wrap: anywhere; }
.fr-tag::after { content: ""; position: absolute; inset: 2px; border: 1px dashed rgb(43 36 32 / .35); border-radius: 2px; pointer-events: none; }
.fr-patch .fr-button { position: absolute; z-index: 2; right: 12px; top: 12px; }
.fr-yr { --c1: #F6ECD6; background: #F6ECD6; }
.fr-yr .fr-yr-n { position: relative; z-index: 1; text-align: center; font-family: var(--font-serif); color: #2F4A48; line-height: 1; }
.fr-yr .fr-yr-n b { display: block; font-size: 34px; font-weight: 500; }
.fr-yr .fr-yr-n small { font: 600 10px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.fr-yr::before { border-color: rgb(47 74 72 / .4); }
.fr-count { font-size: 15px; color: var(--fg-2); margin: 20px 0 0; }
.fr-sample { font-size: 14px; color: var(--fg-2); background: var(--ground-cream, #FBF5E8); border: 1px dashed var(--rule-strong, #bbb); border-radius: 10px; padding: 8px 12px; margin: 0 0 12px; display: inline-block; }
@media (max-width: 760px) { .fr-why-grid { grid-template-columns: 1fr; gap: 36px; } .fr-quilt-grid, .fr-pots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fr-patch { min-height: 96px; } .fr-tag { font-size: 16px; } .fr-seed-mark { display: none; } }

/* ==========================================================================
   First Sparks — bouncy and many-sided: seven balls, one for each spark,
   a squiggly path, a court to play on. Being a grokkist is fun.
   ========================================================================== */
.fs-piece, .fs-path {
  --u-ink: #13252A; --u-paper: #FFF8EA; --u-cream: #F6ECD6; --u-sun: #F8B000; --u-ochre: #E08A00; --u-pink: #E6458F; --u-red: #E42128;
  --u-green: #3FA27A; --u-blue: #3568AC; --u-plum: #4A2E5E; --u-court: #2F7D57; --u-mute: #4E5F63;
  --ghost-accent-color: var(--u-ochre);
}

/* A tennis-ish ball in any colour: felt shading and two seams */
.fs-ball { --s: 64px; position: relative; display: block; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--b) 55%, white) 0, var(--b) 45%, color-mix(in srgb, var(--b) 70%, black) 100%);
  box-shadow: inset -4px -6px 10px rgb(0 0 0 / .18), 0 6px 14px rgb(0 0 0 / .18); }
.fs-ball::before, .fs-ball::after { content: ""; position: absolute; top: -8%; width: 80%; height: 116%; border-radius: 50%; border: calc(var(--s) * .05) solid rgb(255 255 255 / .85); }
.fs-ball::before { left: -56%; }
.fs-ball::after { right: -56%; }
.fs-ball b { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; font: 700 calc(var(--s) * .34) var(--font-sans); color: rgb(20 20 20 / .78); }

/* ---------- Hero: the feature image, the title as a sticker stack, the balls ---------- */
.fs-hero { position: relative; min-height: min(100svh, 940px); overflow: hidden; isolation: isolate; display: grid; align-items: end;
  background: var(--u-ink); color: #fff; }
.fs-hero:not(.has-image) { background: radial-gradient(circle at 80% 20%, #2A4A52, var(--u-ink) 70%); }
.fs-hero-img { position: absolute; inset: 0; z-index: -2; margin: 0; }
.fs-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.fs-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 22 26 / .82) 0%, rgb(10 22 26 / .45) 45%, rgb(10 22 26 / 0) 75%), linear-gradient(0deg, rgb(10 22 26 / .7), transparent 45%); }
.fs-court { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fs-court .fs-ball { position: absolute; left: 0; top: 0; --s: clamp(44px, 6vw, 84px); pointer-events: auto; cursor: grab; touch-action: none; will-change: transform; }
.fs-court .fs-ball:active { cursor: grabbing; }
.fs-hero-text { position: relative; z-index: 2; width: min(820px, 100%); margin-left: max(24px, calc(50vw - 580px)); padding: 18vh 24px 22vh 0; pointer-events: none; }
.fs-hero-text a, .fs-hero-text button { pointer-events: auto; }
.fs-sticker { display: inline-flex; gap: 0; margin: 0 0 22px; transform: rotate(-3deg); font: 700 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.fs-sticker > * { padding: 9px 14px; }
.fs-sticker > :first-child { background: var(--u-sun); color: var(--u-ink); border-radius: 999px 0 0 999px; text-decoration: none; }
.fs-sticker > :last-child { background: var(--u-pink); color: #fff; border-radius: 0 999px 999px 0; }
.fs-title { font-family: var(--font-sans); font-weight: 800; font-size: clamp(52px, 9.5vw, 132px); line-height: .9; letter-spacing: -.035em; margin: 0; text-wrap: balance; text-shadow: 0 3px 30px rgb(0 0 0 / .35); }
.fs-dek { font-family: var(--font-serif); font-style: italic; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; max-width: 30ch; margin: 22px 0 0; color: rgb(255 255 255 / .92); text-wrap: balance; }
.fs-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fs-btn { display: inline-flex; align-items: center; gap: .4em; font: 700 16px var(--font-sans); padding: 13px 24px; border-radius: 999px; border: 2px solid var(--u-sun);
  background: var(--u-sun); color: var(--u-ink); text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 4px 0 #B87A00; }
.fs-btn span { font-weight: 500; opacity: .75; }
.fs-btn:hover { transform: translateY(-3px) rotate(-1.5deg); }
.fs-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #B87A00; }
.fs-btn-ghost { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .7); box-shadow: none; backdrop-filter: blur(6px); }
.fs-btn-ghost[aria-pressed=true] { background: #fff; color: var(--u-ink); }
.fs-play-hint { position: absolute; z-index: 2; right: 28px; bottom: 18px; margin: 0; font: italic 400 16px var(--font-serif); color: rgb(255 255 255 / .7); transform: rotate(-2deg); transition: opacity .6s; }
.fs-hero.played .fs-play-hint { opacity: 0; }
@media (max-width: 760px) { .fs-hero-text { margin: 0; padding: 14vh 22px 26vh; } .fs-play-hint { left: 22px; right: auto; } }

/* ---------- The page: paper, a squiggly path, a ball riding it ---------- */
.fs-river { position: relative; background: var(--u-paper); color: var(--u-ink); padding: 0 0 12vh; overflow-x: clip; }
.fs-squiggle { position: absolute; left: 0; top: 0; width: 120px; height: 100%; overflow: visible; pointer-events: none; }
.fs-squiggle path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fs-sq-bg { stroke: color-mix(in srgb, var(--u-ink) 10%, transparent); stroke-width: 3; stroke-dasharray: 2 9; }
.fs-sq-fg { stroke: url(#fs-rainbow); stroke-width: 4; stroke-linecap: round; }
.fs-rider { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.fs-rider .fs-ball { --s: 30px; margin: -15px 0 0 -15px; }
@media (max-width: 1100px) { .fs-squiggle, .fs-rider { display: none; } }

.fs-content { position: relative; z-index: 1; max-width: var(--measure); margin: 0 auto; padding: 9vh 24px 0; font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); }
.fs-content > p { margin: 0 0 1.1em; }
.fs-content > p:first-of-type::first-letter { float: left; font: 800 4.1em/.8 var(--font-sans); margin: .08em .12em 0 0; color: var(--u-pink); }
.fs-content strong { font-weight: 600; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--u-sun) 55%, transparent) 58%); }
.fs-content a { text-decoration-color: var(--u-pink); text-decoration-thickness: 2px; }

/* Section heads: a numbered ball, a chunky title */
.fs-content > h2 { position: relative; font-family: var(--font-sans); font-weight: 800; letter-spacing: -.025em; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; margin: 2.2em 0 .6em; color: var(--u-ink); }
.fs-sec-ball { display: block; margin: 0 0 14px; }
.fs-sec-ball .fs-ball { --s: 44px; transition: transform .6s cubic-bezier(.3,1.8,.5,1); }
.fs-content > h2.is-past .fs-sec-ball .fs-ball { transform: translateY(-6px) rotate(200deg); }

/* The epigraph */

/* A pull quote breaks the banks: full width, word by word */
.fs-content > blockquote.kg-blockquote-alt { position: relative; margin: 2.4em calc(50% - 50vw); padding: clamp(70px, 11vw, 130px) max(24px, calc(50vw - 540px)); border: 0;
  background: var(--u-plum); color: #fff; font-family: var(--font-sans); font-weight: 700; font-style: normal; letter-spacing: -.02em;
  font-size: clamp(28px, 3.8vw, 50px); line-height: 1.12; text-align: center; overflow: hidden; isolation: isolate; text-wrap: balance; }
.fs-content > blockquote.kg-blockquote-alt::before, .fs-content > blockquote.kg-blockquote-alt::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.fs-content > blockquote.kg-blockquote-alt::before { width: 180px; height: 180px; left: 6%; top: -50px; background: radial-gradient(circle at 32% 28%, #ff9ac6, var(--u-pink) 50%, #a3245f); opacity: .9; }
.fs-content > blockquote.kg-blockquote-alt::after { width: 110px; height: 110px; right: 8%; bottom: -30px; background: radial-gradient(circle at 32% 28%, #fff1a8, var(--u-sun) 50%, #b07a00); opacity: .9; }
.fs-content > blockquote.kg-blockquote-alt .w { opacity: .2; transition: opacity .4s, color .4s; }
.fs-content > blockquote.kg-blockquote-alt .w.on { opacity: 1; }
.fs-content > blockquote.kg-blockquote-alt .w.on.key { color: var(--u-sun); }

/* Scenes: wide images leave the column and hold still while the page moves past */
.fs-scene { position: relative; margin: 3.5em calc(50% - 50vw); height: 150vh; }
.fs-scene > img, .fs-scene .kg-image { position: sticky; top: 0; width: 100vw; height: 100vh; max-width: none; object-fit: cover; border-radius: 0; margin: 0; }
.fs-scene figcaption { position: absolute; left: 50%; bottom: 18vh; translate: -50% 0; rotate: -2deg; margin: 0; max-width: min(90vw, 520px); padding: 12px 20px; border-radius: 12px;
  background: var(--u-sun); color: var(--u-ink); font: 700 clamp(17px, 1.8vw, 21px)/1.3 var(--font-sans); text-align: center; box-shadow: 0 6px 0 #B87A00; }
.fs-scene.fs-scene-alt figcaption { left: auto; right: 6vw; translate: 0 0; rotate: 2deg; background: var(--u-pink); color: #fff; box-shadow: 0 6px 0 #A3245F; }
@media (max-width: 700px) { .fs-scene { height: auto; } .fs-scene > img, .fs-scene .kg-image { position: static; height: 62vh; } .fs-scene figcaption { position: relative; translate: none; left: auto; margin: -30px 16px 0; display: inline-block; } }

/* ---------- Try this: out onto the court ---------- */
.fs-try { position: relative; margin: 4em calc(50% - 50vw) -12vh; padding: 120px max(24px, calc(50vw - var(--measure) / 2 - 24px)) 10vh; color: #fff;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), rgb(255 255 255 / .5) calc(50% - 2px), rgb(255 255 255 / .5) calc(50% + 2px), transparent calc(50% + 2px)) center 0 / 100% 70px no-repeat,
    linear-gradient(rgb(255 255 255 / .5), rgb(255 255 255 / .5)) center 70px / min(92vw, 1100px) 4px no-repeat,
    linear-gradient(90deg, rgb(255 255 255 / .5) 4px, transparent 4px, transparent calc(100% - 4px), rgb(255 255 255 / .5) calc(100% - 4px)) center 0 / min(92vw, 1100px) 100% no-repeat,
    repeating-linear-gradient(90deg, #2F7D57 0 120px, #2B754F 120px 240px); }
.fs-try > * { max-width: var(--measure); margin-left: auto; margin-right: auto; position: relative; }
.fs-try > h2 { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.03em; font-size: clamp(46px, 6.4vw, 78px); color: #fff; margin: 0 auto .3em; line-height: .95; }
.fs-try > h2 .fs-sec-ball { margin-bottom: 18px; }
.fs-try > h2 .fs-sec-ball .fs-ball { --s: 56px; }
.fs-try > p { font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); margin-bottom: 1em; }
.fs-try > ul { list-style: none; padding: 0; display: grid; gap: 12px; margin: 1.2em auto 1.8em; counter-reset: unf; }
.fs-try > ul > li { counter-increment: unf; position: relative; padding: 18px 20px 18px 66px; border-radius: 18px; background: var(--u-paper); color: var(--u-ink);
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.4; box-shadow: 0 5px 0 rgb(0 0 0 / .18); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.fs-try > ul > li:nth-child(odd) { rotate: -.6deg; } .fs-try > ul > li:nth-child(even) { rotate: .5deg; }
.fs-try > ul > li:hover { transform: translateY(-3px); }
.fs-try > ul > li::before { content: counter(unf); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--u-sun); color: var(--u-ink); font: 800 15px/32px var(--font-sans); text-align: center; }
.fs-try > ul > li:nth-child(3n+2)::before { background: var(--u-pink); color: #fff; } .fs-try > ul > li:nth-child(3n)::before { background: var(--u-blue); color: #fff; }
.fs-try .unf { --fs-line: rgb(19 37 42 / .14); --fs-soft: rgb(19 37 42 / .03); --fs-accent: var(--u-ochre); font-family: var(--font-sans); font-size: 17px; color: var(--u-ink);
  background: var(--u-paper); border-radius: 22px; padding: 6px 26px 26px; box-shadow: 0 6px 0 rgb(0 0 0 / .2); }
.fs-try .unf .fs-head { border-top: 0; }
.fs-try .unf h3.fs-title { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em; font-size: 2rem; color: var(--u-ink); text-shadow: none; }
.fs-try .fs-part { background: #fff; }
.fs-try .fs-page { background: var(--u-cream); }
.fs-try > p:has(em:only-child) { font-size: 18px; opacity: .9; }

/* ---------- The narration: docks to the bottom once it starts ---------- */
.fs-content > .kg-audio-card { margin: 0 0 2.5em; background: #fff; border: 2px solid var(--u-ink); border-radius: 18px; box-shadow: 0 5px 0 var(--u-ink); }
.fs-content > .kg-audio-card.is-docked { position: fixed; z-index: 60; left: 50%; bottom: 16px; translate: -50% 0; width: min(680px, calc(100vw - 32px)); margin: 0; }

/* ---------- The nine stones ---------- */
.fs-path { position: relative; background: var(--u-cream); color: var(--u-ink); padding: 12vh 24px 8vh; overflow: hidden; }
.fs-path-inner { position: relative; max-width: 1100px; margin: 0 auto; padding-top: 10px; }
.fs-path .fs-kicker { text-align: center; font: 700 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--u-ochre); margin: 0 0 14px; }
.fs-path-title { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.03em; font-size: clamp(34px, 5vw, 60px); text-align: center; margin: 0 0 70px; }
.fs-stones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; align-items: end; }
.fs-stone { position: relative; text-align: center; }
.fs-stone:nth-child(odd) { transform: translateY(-26px); }
.fs-stone a, .fs-stone > span { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.fs-stone-n { --st: #7BA49A; display: grid; place-items: center; width: clamp(44px, 6vw, 74px); aspect-ratio: 1.3; border-radius: 48% 52% 46% 54% / 60% 58% 42% 40%;
  background: linear-gradient(160deg, color-mix(in srgb, var(--st) 70%, white), var(--st)); box-shadow: inset 0 -6px 0 rgb(0 0 0 / .14), 0 6px 0 rgb(0 0 0 / .08);
  font: 800 18px var(--font-sans); color: var(--u-ink); transition: transform .3s cubic-bezier(.3,1.7,.5,1); }
.fs-stone:nth-child(9n+1) .fs-stone-n { --st: #F08A8E; } .fs-stone:nth-child(9n+2) .fs-stone-n { --st: #F09AC2; } .fs-stone:nth-child(9n+3) .fs-stone-n { --st: #F6B860; }
.fs-stone:nth-child(9n+4) .fs-stone-n { --st: #F8CF5A; } .fs-stone:nth-child(9n+5) .fs-stone-n { --st: #8FCDAE; } .fs-stone:nth-child(9n+6) .fs-stone-n { --st: #7CC3A2; }
.fs-stone:nth-child(9n+7) .fs-stone-n { --st: #8AA9D6; } .fs-stone:nth-child(9n+8) .fs-stone-n { --st: #BBA2D8; } .fs-stone:nth-child(9n+9) .fs-stone-n { --st: #DDE88A; }
.fs-stone-t { font: 600 14px/1.3 var(--font-sans); max-width: 12ch; }
.fs-stone a:hover .fs-stone-n { transform: translateY(-6px) rotate(-4deg); }
.fs-stone.is-here .fs-stone-n { outline: 3px solid var(--u-ink); outline-offset: 4px; }
.fs-stone.is-next .fs-stone-t::before { content: "Next"; display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--u-pink); }
.fs-stone.is-waiting .fs-stone-n { background: transparent; border: 2px dashed rgb(19 37 42 / .25); box-shadow: none; color: rgb(19 37 42 / .4); }
.fs-stone.is-waiting .fs-stone-t { color: var(--u-mute); font-weight: 400; font-style: italic; }
.fs-hopper { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; z-index: 2; }
.fs-hopper .fs-ball { --s: 34px; }
@media (max-width: 760px) {
  .fs-stones { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .fs-stone:nth-child(odd) { transform: none; } .fs-stone:nth-child(3n+2) { transform: translateY(-16px); }
}

/* ---------- Foot ---------- */
.fs-foot { background: var(--u-ink); color: #fff; padding: 56px 24px 90px; }
.fs-foot-inner { max-width: var(--measure); margin: 0 auto; }
.fs-sign { display: flex; align-items: center; gap: 14px; justify-content: center; font: 400 15px var(--font-sans); opacity: .9; margin: 0 0 40px; }
.fs-sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.fs-sign a { color: var(--u-sun); }
.fs-foot .sub { --fg-1: #fff; --fg-2: rgb(255 255 255 / .8); --fg-3: rgb(255 255 255 / .6); --rule: rgb(255 255 255 / .2); color: #fff; }

/* ---------- Landing ---------- */
.fs-about { background: var(--u-paper); color: var(--u-ink); padding: 14vh 24px; }
.fs-about-inner { max-width: 1000px; margin: 0 auto; }
.fs-big { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.02em; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.15; margin: 0 0 1.4em; text-wrap: pretty; }
.fs-big em { font-family: var(--font-serif); font-weight: 500; color: var(--u-pink); }
.fs-about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; font-size: 17px; line-height: 1.6; color: var(--u-mute); }
.fs-about-cols p { margin: 0; padding-top: 20px; border-top: 6px solid var(--b, var(--u-sun)); border-radius: 3px; }
@media (max-width: 760px) { .fs-about-cols { grid-template-columns: 1fr; gap: 20px; } }

.fs-in { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.3,1.5,.5,1); }
.fs-in.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fs-in { opacity: 1; transform: none; }
  .fs-content > blockquote.kg-blockquote-alt .w { opacity: 1; }
  .fs-sec-ball .fs-ball, .fs-btn { transition: none; }
}

/* First Sparks specifics */
.fs-content > blockquote:not(.kg-blockquote-alt) { position: static; margin: 0 auto 3em !important; padding: 0 !important; background: none !important; color: var(--u-mute) !important; text-align: center; font: italic 400 1.15em/1.5 var(--font-serif) !important; letter-spacing: 0 !important; max-width: 32ch; overflow: visible; }
.fs-content > blockquote:not(.kg-blockquote-alt)::before, .fs-content > blockquote:not(.kg-blockquote-alt)::after { display: none; }
.fs-content > blockquote:not(.kg-blockquote-alt) strong { font-weight: 500; font-style: normal; font-size: .85em; display: block; margin-top: 6px; }
.fs-content > h3 { position: relative; font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 2em 0 .5em; }
.fs-content > h3 .fs-sec-ball .fs-ball { --s: 38px; }
.fs-content > h3.is-past .fs-sec-ball .fs-ball { transform: translateY(-6px) rotate(200deg); }
.fs-content > .kg-audio-card + .kg-audio-card, .fs-content > h3 ~ .kg-audio-card { background: var(--u-sun); border-color: var(--u-ink); }
.fs-hero:not(.has-image) { background: radial-gradient(circle at 78% 18%, #33505A 0, #1A3036 35%, var(--u-ink) 70%); }
.fs-sparkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fs-sparkles i { position: absolute; width: 18px; height: 18px; background: #F7C65A; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .85; animation: fs-tw 3.5s ease-in-out infinite; }
.fs-sparkles i:nth-child(2) { animation-delay: -1.2s; } .fs-sparkles i:nth-child(3) { animation-delay: -2.1s; } .fs-sparkles i:nth-child(4) { animation-delay: -.6s; }
@keyframes fs-tw { 50% { transform: scale(.5) rotate(25deg); opacity: .35; } }
.fs-try > .fs-q { list-style: none; padding: 0; display: grid; gap: 12px; margin: 1.2em auto 1.8em; counter-reset: unf; }
@media (prefers-reduced-motion: reduce) { .fs-sparkles i { animation: none; } }

.fs-title { font-size: clamp(48px, 8vw, 112px); }
.fs-hero-text { padding-top: 9vh; padding-bottom: 17vh; }

/* v0.10b — Friends: larger gifts, Seedbank choices, choose your patch */
.fr-tier-more { margin: 12px 0 0; font-size: 13px; line-height: 1.4; opacity: .8; }
.fr-tier-more a { color: inherit; }
.fr-pots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 16px; }
.fr-pot { display: block; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--rule); background: var(--ground-cream, #FBF5E8); text-decoration: none; color: var(--fg-2); font-size: 15px; line-height: 1.45; transition: border-color .2s, transform .2s; }
.fr-pot b { display: block; color: var(--fg-1); font-size: 16px; margin-bottom: 2px; }
.fr-pot b::after { content: " →"; color: #C68A3A; }
.fr-pot:hover { border-color: #C68A3A; transform: translateY(-2px); }
.fr-mypatch { margin: 0 0 16px; border: 1.5px dashed var(--rule-strong, #bbb); border-radius: 14px; background: var(--ground-cream, #FBF5E8); }
.fr-mypatch > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; }
.fr-mypatch > summary::-webkit-details-marker { display: none; }
.fr-mypatch > summary::after { content: " ✂"; color: #C68A3A; }
.fr-mypatch-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 4px 16px 16px; align-items: start; }
.fr-mypatch-body .fr-patch { min-height: 150px; border-radius: 4px; }
.fr-pick-k { font: 600 12px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 6px; }
.fr-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.fr-pick { width: 42px; height: 42px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.fr-pick[aria-pressed=true] { border-color: var(--fg-1); }
.fr-pick.fr-patch { min-height: 0; padding: 0; }
.fr-pick.fr-patch::before { display: none; }
.fr-mypatch-msg { font-size: 14px; color: var(--fg-2); margin: 8px 0 0; }
@media (max-width: 600px) { .fr-mypatch-body { grid-template-columns: 1fr; } }

/* ==========================================================================
   First Sparks, the sparks version: a night sky; each entry has its own spark.
   Piece 2 keeps the tennis balls (its song is Too Many Tennis Balls).
   ========================================================================== */
.fs-piece { --acc: #F7C65A; --acc2: #F39702; }
.fs-mode-1 { --acc: #F7C65A; --acc2: #F39702; }
.fs-mode-3 { --acc: #F09AC2; --acc2: #7CC3A2; }
.fs-mode-4 { --acc: #A9C8F5; --acc2: #6F95D8; }
.fs-mode-5 { --acc: #F6B860; --acc2: #E6458F; }
.fs-mode-6 { --acc: #FFE08A; --acc2: #F8B000; }
.fs-mode-7 { --acc: #F1DFA8; --acc2: #B59A55; }
.fs-piece:not(.fs-mode-2) .fs-hero { background: radial-gradient(ellipse at 70% 110%, color-mix(in srgb, var(--acc2) 22%, #2B1B40) 0, #1A1530 38%, #0B0F1C 80%); }
.fs-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; cursor: crosshair; }
.fs-piece:not(.fs-mode-2) .fs-court { display: none; }
.fs-piece:not(.fs-mode-2) .fs-sticker > :last-child { background: color-mix(in srgb, var(--acc2) 85%, black); }
.fs-hero-text { z-index: 2; }
.fs-play-hint { z-index: 3; }
.fs-mode-2 .fs-sky { display: none; }

/* Stars instead of balls everywhere but piece 2 */
.fs-piece:not(.fs-mode-2) .fs-ball, .fs-mode-x .fs-ball { border-radius: 0; overflow: visible; box-shadow: none;
  background: radial-gradient(circle, #fff 0 12%, var(--acc) 30%, var(--acc2) 70%);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 6px var(--acc)); }
.fs-piece:not(.fs-mode-2) .fs-ball::before, .fs-piece:not(.fs-mode-2) .fs-ball::after { display: none; }
.fs-piece:not(.fs-mode-2) .fs-rider .fs-ball { --s: 26px; animation: fs-flicker 1.2s ease-in-out infinite; }
@keyframes fs-flicker { 50% { transform: scale(.82) rotate(18deg); } }
.fs-piece:not(.fs-mode-2) .fs-sq-fg { stroke: var(--acc2); filter: drop-shadow(0 0 3px var(--acc)); }
.fs-piece:not(.fs-mode-2) .fs-content > p:first-of-type::first-letter { color: var(--acc2); }

/* Pull quote: a band of night with a few stars */
.fs-piece:not(.fs-mode-2) .fs-content > blockquote.kg-blockquote-alt { background:
    radial-gradient(circle at 12% 30%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 80% 22%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 64% 78%, #fff 0 1.4px, transparent 2.2px), radial-gradient(circle at 30% 82%, #fff 0 .9px, transparent 1.6px),
    radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--acc2) 30%, #2B1B40), #110E22 70%); }
.fs-piece:not(.fs-mode-2) .fs-content > blockquote.kg-blockquote-alt::before { width: 60px; height: 60px; left: 9%; top: 30px; background: radial-gradient(circle, #fff 0 8%, var(--acc) 30%, transparent 70%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 1; }
.fs-piece:not(.fs-mode-2) .fs-content > blockquote.kg-blockquote-alt::after { width: 40px; height: 40px; right: 11%; bottom: 34px; background: radial-gradient(circle, #fff 0 8%, var(--acc2) 30%, transparent 70%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 1; }
.fs-piece:not(.fs-mode-2) .fs-content > blockquote.kg-blockquote-alt .w.on.key { color: var(--acc); }

/* The questions: out under the night sky */
.fs-piece:not(.fs-mode-2) .fs-try { background:
    radial-gradient(circle at 8% 20%, #fff 0 1px, transparent 1.8px) 0 0 / 260px 220px, radial-gradient(circle at 60% 70%, rgb(255 255 255 / .8) 0 1px, transparent 1.6px) 0 0 / 190px 170px,
    linear-gradient(180deg, #0B0F1C, color-mix(in srgb, var(--acc2) 18%, #1A1530)); }
.fs-piece:not(.fs-mode-2) .fs-try > h2 { color: var(--acc); }
.fs-piece:not(.fs-mode-2) .fs-try > ul > li { box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 8px 30px rgb(0 0 0 / .35); }
.fs-piece:not(.fs-mode-2) .fs-try > ul > li::before { background: radial-gradient(circle, #fff 0 15%, var(--acc) 45%, var(--acc2)); color: #1A1530; box-shadow: 0 0 12px var(--acc); }

/* The seven: stars in a row across the night */
.fs-piece:not(.fs-mode-2) ~ .fs-path, .fs-piece:not(.fs-mode-2) .fs-path { background: linear-gradient(180deg, #110E22, #0B0F1C); color: #F8F2E6; }
.fs-piece:not(.fs-mode-2) .fs-path .fs-stone-n { --st: var(--acc); background: radial-gradient(circle, #fff 0 10%, color-mix(in srgb, var(--st) 80%, transparent) 40%, transparent 72%); box-shadow: none; border-radius: 50%; aspect-ratio: 1; color: #1A1530; }
.fs-piece:not(.fs-mode-2) .fs-path .fs-stone.is-here .fs-stone-n { outline: 2px solid var(--acc); outline-offset: 6px; }
.fs-piece:not(.fs-mode-2) .fs-path .fs-stone-t { color: #F8F2E6; }
.fs-piece:not(.fs-mode-2) .fs-path .fs-kicker { color: var(--acc); }

/* First Sparks fixes: epigraph breathing room, audio card fit */
.fs-content > blockquote:not(.kg-blockquote-alt) { border: 0 !important; margin: .4em auto 3.2em !important; padding: 0 .5em !important; line-height: 1.6 !important; font-size: 1.2em !important; max-width: 34ch; }
.fs-content > blockquote:not(.kg-blockquote-alt) strong, .fs-content > blockquote:not(.kg-blockquote-alt) b { background: none; font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: .62em; letter-spacing: .14em; text-transform: uppercase; display: block; margin-top: 14px; color: var(--u-ochre); }
.fs-content > blockquote:not(.kg-blockquote-alt)::before { content: "" !important; display: block !important; position: static !important; width: 22px; height: 22px; margin: 0 auto 16px; background: var(--acc, #F7C65A) !important; border-radius: 0 !important; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); opacity: .9 !important; }
.gh-content .kg-audio-card { overflow: hidden; padding-right: 18px; box-sizing: border-box; max-width: 100%; }
.gh-content .kg-audio-player-container { min-width: 0; }
.gh-content .kg-audio-player { min-width: 0; }
.gh-content .kg-audio-title { overflow-wrap: anywhere; }
.gh-content .kg-audio-seek-slider { min-width: 40px; }
.gh-content .kg-audio-volume-slider { width: 56px; min-width: 0; flex: none; }
.fs-content .kg-audio-thumbnail.placeholder { background: radial-gradient(circle, #fff 0 8%, var(--acc, #F7C65A) 26%, color-mix(in srgb, var(--acc2, #F39702) 60%, #1A1530) 62%, #1A1530 100%) !important; }
.fs-content .kg-audio-thumbnail.placeholder svg { display: none; }
@media (max-width: 600px) { .gh-content .kg-audio-volume-slider, .gh-content .kg-audio-unmute-icon, .gh-content .kg-audio-mute-icon { display: none; } }

/* First Sparks series page */
.fsx { --acc: #F7C65A; --acc2: #F39702; --u-ink: #13252A; --u-sun: #F8B000; --u-pink: #E6458F; --u-paper: #FFF8EA; }
.fsx-hero { position: relative; min-height: min(calc(100svh - 72px), 860px); overflow: hidden; display: grid; align-items: end; color: #fff;
  background: radial-gradient(ellipse at 70% 110%, #4A2E5E 0, #1A1530 40%, #0B0F1C 82%); }
.fsx-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.fsx-hero-text { position: relative; z-index: 2; width: min(720px, 100%); margin-left: max(24px, calc(50vw - 580px)); padding: 10vh 24px 16vh 0; pointer-events: none; }
.fsx-hero-text a { pointer-events: auto; }
.fsx-title { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.035em; font-size: clamp(56px, 10vw, 140px); line-height: .9; margin: 0; text-shadow: 0 3px 30px rgb(0 0 0 / .4); }
.fsx-dek { font-family: var(--font-serif); font-style: italic; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; max-width: 30ch; margin: 20px 0 28px; color: rgb(255 255 255 / .9); }
.fsx .fs-sticker > :first-child { background: #F8B000; color: #13252A; }
.fsx .fs-sticker > :last-child { background: #7E6BA8; color: #fff; }
.fsx .fs-sticker, .fsx .fs-btn { font-family: var(--font-sans); }
.fsx-hint { position: absolute; z-index: 2; right: 28px; bottom: 22px; margin: 0; font: italic 400 16px var(--font-serif); color: rgb(255 255 255 / .65); }
.fsx-label { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -130%); padding: 8px 14px; border-radius: 12px; background: rgb(12 10 26 / .82); backdrop-filter: blur(6px); color: #fff; text-align: center; white-space: nowrap; font: 600 15px var(--font-sans); }
.fsx-label small { display: block; font: 600 10px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: 2px; }
.fsx-lens { background: #FFF8EA; padding: 12vh 24px; }
.fsx-lens p { max-width: 900px; margin: 0 auto; font-family: var(--font-sans); font-weight: 700; letter-spacing: -.02em; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.2; color: #13252A; text-wrap: pretty; }
.fsx-list-band { background: linear-gradient(180deg, #110E22, #0B0F1C); padding: 10vh 24px 12vh; }
.fsx-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.fsx-item a { position: relative; display: grid; gap: 6px; padding: 26px 24px 22px 76px; border-radius: 20px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); color: #F8F2E6; text-decoration: none; min-height: 100%; transition: transform .25s, border-color .25s, background .25s; }
.fsx-item a:hover { transform: translateY(-4px); border-color: var(--acc); background: rgb(255 255 255 / .07); }
.fsx-star { position: absolute; left: 22px; top: 24px; width: 34px; height: 34px; background: radial-gradient(circle, #fff 0 12%, var(--acc) 34%, var(--acc2) 72%); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 8px var(--acc)); }
.fsx-n { font: 600 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.fsx-t { font: 800 24px/1.1 var(--font-sans); letter-spacing: -.02em; }
.fsx-d { font: italic 400 18px/1.4 var(--font-serif); color: rgb(248 242 230 / .82); }
.fsx-m { font: 500 13px var(--font-sans); color: rgb(248 242 230 / .55); margin-top: 6px; }
.fsx-item:nth-child(1) { --acc: #F7C65A; --acc2: #F39702; } .fsx-item:nth-child(2) { --acc: #D8E84A; --acc2: #3FA27A; } .fsx-item:nth-child(3) { --acc: #F09AC2; --acc2: #7CC3A2; }
.fsx-item:nth-child(4) { --acc: #A9C8F5; --acc2: #6F95D8; } .fsx-item:nth-child(5) { --acc: #F6B860; --acc2: #E6458F; } .fsx-item:nth-child(6) { --acc: #FFE08A; --acc2: #F8B000; } .fsx-item:nth-child(7) { --acc: #F1DFA8; --acc2: #B59A55; }
@media (max-width: 760px) { .fsx-hero-text { margin: 0; padding: 12vh 22px 22vh; } .fsx-hint { left: 22px; right: auto; } }

/* ==========================================================================
   Red Thread Talk — the speaker following a thread that is still live in them.
   One red thread runs the length of the page and is tied off in their name.
   ========================================================================== */
.rtt { --red: #C42A30; --red-2: #E2484C; --rtt-ink: #1E1A17; --rtt-paper: #F7F0E3; --rtt-wine: #2A1416; }
.rtt-hero { position: relative; background: var(--rtt-paper); color: var(--rtt-ink); overflow: hidden; padding: clamp(48px, 9vh, 96px) 0 clamp(64px, 11vh, 120px); }
.rtt-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.rtt-hero:not(:has(.rtt-window)) .rtt-hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.rtt-kicker { margin: 0 0 18px; font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; }
.rtt-kicker a { color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.rtt-kicker a::before { content: ""; width: 34px; height: 2px; background: var(--red); border-radius: 2px; }
.rtt-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.rtt-dek { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: #4A423C; margin: 20px 0 0; max-width: 34ch; }
.rtt-speaker { display: flex; align-items: center; gap: 14px; margin: 32px 0 0; }
.rtt-speaker p { margin: 0; display: flex; flex-direction: column; }
.rtt-speaker p > span { font: 600 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #7A6E64; }
.rtt-speaker p > a { font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--font-serif); color: var(--rtt-ink); text-decoration: none; background: linear-gradient(var(--red), var(--red)) left 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.rtt-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--rtt-paper), 0 0 0 5px var(--red); }
.rtt-meta { margin: 18px 0 0; font: 400 15px var(--font-sans); color: #7A6E64; }
.rtt-meta a { color: var(--red); }
.rtt-window { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(30 26 23 / .5); }
.rtt-window img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) sepia(.12); }
.rtt-window::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); border-radius: inherit; }
@media (max-width: 860px) { .rtt-hero-inner { grid-template-columns: 1fr; gap: 32px; } .rtt-window { aspect-ratio: 16 / 10; border-radius: 18px; max-width: 520px; } }

/* The body: paper, and one wild red thread in the margins */
.rtt-body { position: relative; background: var(--rtt-paper); color: var(--rtt-ink); padding: 2vh 0 10vh; overflow-x: clip; }
.rtt-thread { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.rtt-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rtt-thread path.rtt-bg { stroke: rgb(196 42 48 / .13); stroke-width: 1.4; stroke-dasharray: 1 6; }
.rtt-thread path.rtt-t, .rtt-knot path { stroke: var(--red); stroke-width: 2.4; filter: drop-shadow(0 1.2px .8px rgb(60 10 10 / .28)); }
.rtt-content { position: relative; z-index: 1; max-width: var(--measure); margin: 0 auto; padding: 0 24px; font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); }
.rtt-content > p { margin: 0 0 1.1em; }
.rtt-content > h3, .rtt-content > h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 2.3em 0 .6em; position: relative; }
.rtt-content .rtt-turn { display: block; font: 600 11px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.rtt-content > hr { display: none; }
.rtt-content a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.rtt-content strong { font-weight: 600; }
.rtt-content > blockquote:not(.kg-blockquote-alt) { border: 0; margin: 1.6em 0; padding: 0 0 0 28px; position: relative; font-style: italic; font-size: 1.28em; line-height: 1.38; color: #3A2420; }
.rtt-content > blockquote:not(.kg-blockquote-alt)::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: var(--red); }
.rtt-content > blockquote.kg-blockquote-alt { border: 0; text-align: left; padding: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; margin: 1.4em -6vw; max-width: none; color: var(--red); font-style: normal; }
.rtt-content > blockquote.kg-blockquote-alt::before { content: ""; display: block; width: 60px; height: 3px; border-radius: 3px; background: var(--red); margin-bottom: 18px; }
@media (max-width: 900px) { .rtt-content > blockquote.kg-blockquote-alt { margin: 1.4em 0; } }

/* The note: where the piece came from, kept short; the old invitation folds into it */
.rtt-note.kg-callout-card { background: none; padding: 0; margin: 3vh 0 2.6em; display: block; }
.rtt-note .kg-callout-emoji { display: none; }
.rtt-note .kg-callout-text { font: italic 400 16px/1.55 var(--font-serif); color: #6D625A; }
.rtt-note .kg-callout-text br + br { display: none; }
.rtt-invite { margin-top: .6em; font: 400 15px/1.6 var(--font-sans); font-style: normal; }
.rtt-invite summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.rtt-invite summary::-webkit-details-marker { display: none; }
.rtt-invite summary::before { content: "+"; font-size: 14px; }
.rtt-invite[open] summary::before { content: "–"; }
.rtt-invite p { margin: .7em 0 0; color: #5A5049; }

/* The red thread: the opening statement, beside the spool */
.rtt-open { position: relative; margin: 0 0 2.2em; }
.rtt-open.is-empty { margin: 0; height: 0; }
.rtt-open-lab { margin: 0 0 12px !important; font: 600 11px var(--font-sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.rtt-open > p:not(.rtt-open-lab) { font-size: 1.24em; line-height: 1.45; margin: 0 0 .7em; color: var(--rtt-ink); }
.rtt-spool { display: block; width: 58px; }
.rtt-spool svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 8px rgb(60 30 10 / .22)); }
.rtt-open .rtt-spool { position: absolute; left: -148px; top: -6px; transform: rotate(-8deg); }
.rtt-open.is-empty .rtt-spool { top: -40px; }
@media (max-width: 1100px) { .rtt-open .rtt-spool { position: static; width: 40px; margin: 0 0 14px -2px; transform: rotate(-90deg); transform-origin: 20px 24px; } .rtt-open.is-empty { height: auto; } }
.rtt-wind { animation: rtt-wind 1.1s linear infinite; animation-play-state: paused; }
@keyframes rtt-wind { to { transform: translateY(4px); } }

/* The room: a stage for a clip in the speaker's own voice, or the whole evening's recording */
.rtt-room { margin: 3em calc(50% - 50vw); padding: 10vh max(24px, calc(50vw - 560px)) 11vh; background: radial-gradient(ellipse at 30% 0%, #4A2226 0, var(--rtt-wine) 55%, #170B0C 100%); color: #F7EDE4; position: relative; z-index: 2; }
.rtt-room.is-clip { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 56px; align-items: start; }
.rtt-room .rtt-spool { width: 110px; margin: 8px auto 0; }
.rtt-room.is-playing .rtt-wind { animation-play-state: running; }
.rtt-room.is-playing .rtt-spool svg { animation: rtt-bob 2.2s ease-in-out infinite; }
@keyframes rtt-bob { 50% { transform: translateY(-3px) rotate(1.5deg); } }
.rtt-room-stage > h2, .rtt-room-stage > h3 { margin: 0 0 22px; font: 500 clamp(30px, 3.4vw, 44px)/1.1 var(--font-serif); color: #F7EDE4; }
.rtt-room-stage > h2::before, .rtt-room-stage > h3::before { content: attr(data-kick); display: block; font: 600 11px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red-2); margin-bottom: 12px; }
.rtt-room .rtt-turn { display: none; }
.rtt-room iframe, .rtt-room .kg-embed-card, .rtt-room video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 40px 80px -30px #000, 0 0 120px -20px rgb(226 72 76 / .35); display: block; }
.rtt-room .kg-audio-card { background: #F7EDE4; border: 0; box-shadow: 0 30px 60px -30px #000, 0 0 90px -30px rgb(226 72 76 / .45); margin: 0 0 30px; }
.rtt-room a[id] { display: none; }
.rtt-content .rtt-room blockquote.rtt-lyric { margin: 0; padding: 26px 0 0; border: 0; border-top: 1px solid rgb(247 237 228 / .14); font: italic 400 19px/1.6 var(--font-serif); color: rgb(247 237 228 / .86); columns: 2 280px; column-gap: 48px; max-width: none; position: relative; }
.rtt-content .rtt-room blockquote.rtt-lyric::before { display: none; }
.rtt-content .rtt-room blockquote.rtt-lyric.is-folded { max-height: 340px; overflow: hidden; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.rtt-lyric-btn { margin-top: 14px; background: none; border: 1px solid rgb(247 237 228 / .35); color: #F7EDE4; border-radius: 999px; padding: 8px 16px; font: 500 14px var(--font-sans); cursor: pointer; }
.rtt-lyric-btn:hover { border-color: var(--red-2); color: #fff; }
@media (max-width: 760px) { .rtt-room.is-clip { grid-template-columns: 1fr; } .rtt-room .rtt-spool { position: static; width: 60px; margin: 0 0 18px; } }

/* The tie-off */
.rtt-tie { position: relative; z-index: 1; max-width: var(--measure); margin: 6em auto 0; padding: 0 24px; text-align: center; }
.rtt-knot { width: 120px; height: 80px; margin: 0 auto 12px; display: block; overflow: visible; }
.rtt-knot path { fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s cubic-bezier(.5,.1,.2,1); }
.rtt-tie.on .rtt-knot path { stroke-dashoffset: 0; }
.rtt-tie-line { font: 500 clamp(22px, 2.4vw, 28px)/1.3 var(--font-serif); margin: 0; }
.rtt-tie-line a { color: var(--red); text-decoration: none; }
.rtt-tie-bio { font: 400 16px/1.6 var(--font-sans); color: #6D625A; margin: 12px auto 0; max-width: 48ch; }

/* More talks: tags hung on a thread that winds onto a spool */
.rtt-more { background: #EFE4D0; color: var(--rtt-ink); padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 10vw, 128px); overflow: hidden; }
.rtt-more-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.rtt-more-kick { margin: 0 0 10px; font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.rtt-more-head h2 { margin: 0 0 36px; font: 500 clamp(34px, 4vw, 52px)/1.05 var(--font-serif); }
.rtt-line { position: relative; display: flex; align-items: flex-start; gap: 24px; }
.rtt-line-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.rtt-line-svg path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 2px 1px rgb(60 10 10 / .2)); }
.rtt-line-svg circle { fill: var(--red); }
.rtt-tags { list-style: none; margin: 0; padding: 0 0 0 12px; display: flex; flex: 1; gap: 22px; align-items: flex-start; }
.rtt-tag { flex: 1 1 0; min-width: 0; position: relative; margin-top: 40px; }
.rtt-tag::before { content: ""; position: absolute; left: 50%; bottom: calc(100% - 20px); width: 2px; height: calc(var(--string, 24px) + 20px); margin-left: -1px; background: #8A6B4E; border-radius: 2px; }
.rtt-tag a { display: flex; flex-direction: column; gap: 6px; padding: 34px 20px 22px; background: #FFFBF3; color: var(--rtt-ink); text-decoration: none; border-radius: 6px 6px 14px 14px; clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); box-shadow: 0 1px 0 rgb(30 26 23 / .08); transform: rotate(var(--tilt, 0deg)); transform-origin: 50% 0; transition: transform .6s cubic-bezier(.3,.7,.2,1), background .3s; filter: drop-shadow(0 14px 18px rgb(60 30 10 / .16)); min-height: 230px; }
.rtt-tag a:hover { transform: rotate(calc(var(--tilt, 0deg) * -1.4)); background: #fff; }
.rtt-tag-hole { position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #EFE4D0; box-shadow: inset 0 0 0 2px var(--red); }
.rtt-tag-face { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #E7D8C0; box-shadow: 0 0 0 2px #FFFBF3, 0 0 0 4px var(--red); margin: 6px 0 8px; flex: none; }
.rtt-tag-face img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) sepia(.1); }
.rtt-tag-who { font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.rtt-tag-title { font: 500 22px/1.15 var(--font-serif); }
.rtt-tag-meta { margin-top: auto; padding-top: 8px; font: 400 13px var(--font-sans); color: #7A6E64; }
.rtt-spool-link { flex: none; width: 128px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; text-decoration: none; color: var(--rtt-ink); font: 500 15px/1.35 var(--font-serif); font-style: italic; }
.rtt-spool-link .rtt-spool { width: 66px; }
.rtt-spool-link:hover .rtt-wind { animation-play-state: running; }
.rtt-spool-link b { color: var(--red); font-style: normal; }
@media (max-width: 980px) { .rtt-tags { flex-wrap: wrap; } .rtt-tag { flex: 1 1 calc(50% - 22px); } }
@media (max-width: 760px) {
  .rtt-line { flex-direction: column; }
  .rtt-tags { flex-direction: column; padding: 0 0 0 18px; border-left: 2px solid var(--red); }
  .rtt-tag { margin-top: 0 !important; } .rtt-tag::before { display: none; }
  .rtt-tag a { min-height: 0; clip-path: none; border-radius: 6px 14px 14px 6px; transform: none; padding: 20px; }
  .rtt-tag-hole { top: 50%; left: -26px; margin: -6px 0 0; }
  .rtt-spool-link { flex-direction: row; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .rtt-knot path { stroke-dashoffset: 0; transition: none; } .rtt-wind, .rtt-room.is-playing .rtt-spool svg { animation: none; } }

/* The Crossroads: the navigation realm */
.xr-group + .xr-group { margin-top: clamp(40px, 6vw, 72px); }
.xr-h { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); margin: 0 0 20px; }
.xr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.xr-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: var(--r-4); background: var(--ground-cream); border: 1px solid var(--rule); text-decoration: none; color: var(--fg-1); border-top: 3px solid #3568AC; transition: transform var(--dur-base) var(--ease-emerge), box-shadow var(--dur-base) var(--ease-emerge); }
.xr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.xr-card b { font-family: var(--font-serif); font-weight: 500; font-size: 23px; line-height: 1.15; }
.xr-card span { font-size: 15px; line-height: 1.55; color: var(--fg-2); }

/* Unforgetting: when a scene runs right up to the Try this, let it pour straight into the water */
.unf-content > .unf-scene:has(+ .unf-try) { margin-bottom: 0; }
.unf-content > .unf-scene + .unf-try { margin-top: 0; }

/* ==========================================================================
   The Grokkist letter — a monthly letter on paper, with a postmark and a signature
   ========================================================================== */
.lt { --lt-paper: #FBF6EC; --lt-ink: #1F2A2A; --lt-stamp: #B07424; background: var(--ground-paper); }
.lt-head { padding: clamp(56px, 9vh, 104px) 24px 0; }
.lt-head-inner { position: relative; max-width: 760px; margin: 0 auto; }
.lt-kicker { margin: 0 0 18px; font: 600 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-stamp); }
.lt-kicker a { color: inherit; text-decoration: none; }
.lt-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.015em; margin: 0; max-width: 15ch; text-wrap: balance; color: var(--lt-ink); }
.lt-dek { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.4; color: var(--fg-2); margin: 18px 0 0; max-width: 34ch; }
.lt-postmark { position: absolute; right: -10px; top: -14px; width: 132px; transform: rotate(9deg); opacity: .85; }
.lt-postmark svg { width: 100%; height: auto; overflow: visible; }
.lt-pm-ring { fill: none; stroke: var(--lt-stamp); stroke-width: 2.2; }
.lt-pm-arc { font: 600 9.5px var(--font-sans); letter-spacing: .14em; fill: var(--lt-stamp); }
.lt-pm-m { font: 700 20px var(--font-sans); letter-spacing: .12em; text-anchor: middle; fill: var(--lt-stamp); text-transform: uppercase; }
.lt-pm-y { font: 500 14px var(--font-sans); letter-spacing: .16em; text-anchor: middle; fill: var(--lt-stamp); }
@media (max-width: 700px) { .lt-postmark { position: static; width: 92px; margin: 0 0 16px; transform: rotate(-6deg); } .lt-head-inner { display: flex; flex-direction: column; } .lt-postmark { order: -1; } }

.lt-sheet { position: relative; max-width: 760px; margin: clamp(32px, 5vh, 56px) auto 0; padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 80px) clamp(40px, 6vw, 72px); background: var(--lt-paper); border-radius: 4px; box-shadow: 0 1px 0 rgb(30 26 23 / .06), 0 30px 60px -36px rgb(30 26 23 / .35); }
.lt-sheet::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 31px, rgb(30 60 60 / .035) 31px 32px); }
.lt-content { position: relative; font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); color: var(--lt-ink); }
.lt-content > * { max-width: none; }
.lt-content > p { margin: 0 0 1.05em; }
.lt-content > p.lt-salute { font-family: var(--font-serif); font-style: italic; font-size: 1.5em; margin-bottom: .6em; color: var(--lt-ink); }
.lt-content > p.lt-label { margin: 2em 0 .7em; font: 600 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-stamp); }
.lt-content > p.lt-label strong, .lt-content > p.lt-label b { font-weight: inherit; }
.lt-content h2, .lt-content h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 32px); line-height: 1.15; margin: 1.8em 0 .5em; }
.lt-content a { color: inherit; text-decoration-color: var(--lt-stamp); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lt-content .kg-image-card img { border-radius: 6px; }
.lt-links { list-style: none; margin: 0 0 1.6em; padding: 0; border-top: 1px solid var(--rule); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
.lt-links li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule); color: var(--fg-2); }
.lt-links li::before { content: "→"; position: absolute; left: 2px; top: 11px; color: var(--lt-stamp); }
.lt-links li a { font-weight: 500; color: var(--lt-ink); text-decoration: none; }
.lt-links li a:hover { color: var(--lt-stamp); }
.lt-watch { margin: 0 0 clamp(28px, 4vw, 44px); }
.lt-watch-lab { margin: 0 0 12px; font: 600 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-stamp); }
.lt-watch-lab span { color: var(--fg-3); letter-spacing: .1em; }
.lt-watch .kg-embed-card, .lt-watch iframe { margin: 0; width: 100%; }
.lt-watch iframe { aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; box-shadow: 0 24px 50px -28px rgb(30 26 23 / .55); display: block; }
.lt-sign { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 2.4em; padding-top: 1.6em; border-top: 1px dashed rgb(176 116 36 / .4); }
.lt-sign img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.lt-sign p { margin: 0; display: flex; flex-direction: column; font-family: var(--font-serif); }
.lt-sign span { font-style: italic; font-size: 18px; color: var(--fg-2); }
.lt-sign b { font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--lt-ink); }

.lt-foot { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vh, 64px) 24px clamp(56px, 8vh, 96px); }
.lt-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lt-nav-a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r-3); border: 1px solid var(--rule); text-decoration: none; color: var(--fg-1); background: var(--ground-cream); }
.lt-nav-a span { font: 600 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lt-stamp); }
.lt-nav-a b { font: 500 20px/1.2 var(--font-serif); }
.lt-next { grid-column: 2; text-align: right; }
.lt-nav-a:hover { border-color: var(--rule-strong); }
.lt-sub { margin-top: clamp(32px, 5vh, 48px); padding: 32px; border-radius: var(--r-5); background: var(--ground-cream); border: 1px solid var(--rule); }
.lt-all { text-align: center; margin: 28px 0 0; }
@media (max-width: 600px) { .lt-nav { grid-template-columns: 1fr; } .lt-next { grid-column: 1; text-align: left; } }
/* An editor's letter still to come: same card, dashed and quieter */
.sp-letter.is-waiting, .desk.is-waiting { border-style: dashed !important; background: transparent !important; box-shadow: none !important; }
.sp-letter.is-waiting .sp-letter-title, .desk.is-waiting .desk-title { color: var(--fg-2); }
.lt-content.gh-content { display: block; }
.lt-content > p.lt-signoff { margin-top: 2em; padding-top: 1.4em; border-top: 1px dashed rgb(176 116 36 / .4); font-style: italic; font-size: 1.1em; }
.lt-content > p.lt-signoff img { float: left; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin: 2px 16px 0 0; }

/* Red Thread Talk: the speaker, stylised — a red-and-paper duotone, wound round with the thread */
.rtt-speaker { gap: 22px; }
.rtt-avatar { display: none; }
.rtt-portrait { position: relative; flex: none; width: 128px; height: 128px; display: block; }
.rtt-portrait img, .rtt-mono { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: 50%; object-fit: cover; }
.rtt-portrait img { filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.rtt-portrait::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F7E2D2, #E98B80 55%, var(--red) 100%); }
.rtt-mono { display: grid; place-items: center; font: 500 40px/1 var(--font-serif); letter-spacing: .02em; color: #FFF6EC; background: radial-gradient(circle at 35% 30%, #D9534F, var(--red) 60%, #7E161B 100%); }
.rtt-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rtt-ring path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 1.5px 1px rgb(60 10 10 / .25)); stroke-dasharray: 900; stroke-dashoffset: 900; animation: rtt-wind-in 2.2s .4s cubic-bezier(.5,.1,.2,1) forwards; }
@keyframes rtt-wind-in { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rtt-ring path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 600px) { .rtt-portrait { width: 96px; height: 96px; } .rtt-mono { font-size: 30px; } }

/* Red Thread Talk images follow the width chosen in the Ghost editor, and open full size on click.
   Regular = sits in the text column, never taller than most of the screen. Wide = breaks out of the text. Full = edge to edge. */
.rtt-content > figure.kg-image-card { margin: 2em 0; }
.rtt-content > figure.kg-image-card img { display: block; width: auto; max-width: 100%; height: auto; max-height: 72vh; margin: 0 auto; border-radius: 10px; cursor: zoom-in; box-shadow: 0 18px 40px -28px rgb(30 26 23 / .45); }
.rtt-content > figure.kg-width-wide, .rtt-content > figure.kg-gallery-card { width: min(1040px, calc(100vw - 48px)); max-width: none; margin: 2.2em 0 2.2em 50%; transform: translateX(-50%); }
.rtt-content > figure.kg-width-wide img { width: 100%; max-height: none; box-shadow: 0 24px 50px -30px rgb(30 26 23 / .45); }
.rtt-content > figure.kg-width-full { width: 100vw; max-width: none; margin: 2.6em 0 2.6em 50%; transform: translateX(-50%); }
.rtt-content > figure.kg-width-full img { width: 100%; max-height: 85vh; object-fit: cover; border-radius: 0; box-shadow: none; }
.rtt-content > figure figcaption { max-width: var(--measure); margin: 12px auto 0; text-align: center; font: italic 400 16px/1.5 var(--font-serif); color: #6D625A; }
.rtt-zoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgb(23 11 12 / .92); cursor: zoom-out; opacity: 0; transition: opacity .25s; }
.rtt-zoom.on { opacity: 1; }
.rtt-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px #000; }
.unf-roomchips .unf-add { display: none; } /* the map has its own "add a room" box below */
.unf-try .unf-summary em { color: inherit; font-style: italic; }
.rtt-portrait img, .rtt-tag-face img { object-position: 50% 28%; }
/* Portraits: the person in their own colours, softened towards the paper; only the thread is red */
.rtt-portrait::before { background: #EFE4D0; }
.rtt-portrait img { filter: sepia(.22) saturate(.85) contrast(1.03); mix-blend-mode: normal; box-shadow: 0 0 0 3px #FFFBF3; }
.rtt-mono { background: radial-gradient(circle at 35% 30%, #FFFBF3, #EFE4D0 70%); color: var(--rtt-ink); box-shadow: 0 0 0 3px #FFFBF3; }

/* Signup: a quiet explainer for the letters and the Realms */
.sub-help { margin: 4px 0 6px; font-size: 14px; line-height: 1.55; }
.sub-help summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--font-sans); color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.sub-help summary::-webkit-details-marker { display: none; }
.sub-help summary::before { content: "?"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; font-size: 10px; text-decoration: none; }
.sub-help[open] summary { margin-bottom: 8px; }
.sub-help p, .sub-help ul { margin: 0 0 8px; color: var(--fg-2); }
.sub-help ul { padding-left: 18px; }
.sub-help li { margin: 2px 0; }
.sub-help a { color: inherit; }
.sub-dark .sub-help summary, .sub-dark .sub-help p, .sub-dark .sub-help ul { color: rgba(248,242,230,.78); }
.sub-dark .sub-help b { color: #F8F2E6; }
.sub-help { max-width: 62ch; }
.unf-pr { margin-top: 1.4em; } .unf-pr-model { margin-top: 1.6em; }

/* Unforgetting: a side note for a reference not everyone will know */
.unf-content .unf-aside { position: relative; margin: -.4em 0 1.6em; padding: .7em 1em .75em 1.1em; font: 400 15px/1.55 var(--font-sans); color: var(--fg-2); border-left: 2px solid color-mix(in srgb, var(--u-ochre) 55%, transparent); background: color-mix(in srgb, var(--u-ochre) 7%, transparent); border-radius: 0 8px 8px 0; }
.unf-content .unf-aside b { color: var(--fg-1); font-weight: 600; }
.unf-content .unf-aside a { color: inherit; }
.unf-content .unf-aside { max-width: 34em; }

/* The lore: Grokkist's own series, in their own colours */
.lore { background: var(--ground-paper); }
.lore-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.lore-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-5); overflow: hidden; text-decoration: none; min-height: 440px; transition: transform var(--dur-base) var(--ease-emerge), box-shadow var(--dur-base) var(--ease-emerge); box-shadow: var(--shadow-2); }
.lore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.lore-art { display: block; height: 210px; overflow: hidden; }
.lore-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-emerge); }
.lore-card:hover .lore-art img { transform: scale(1.04); }
.lore-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.lore-kick { font: 600 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.lore-title { font: 500 28px/1.1 var(--font-serif); }
.lore-dek { font-size: 15.5px; line-height: 1.55; opacity: .86; }
.lore-go { margin-top: auto; padding-top: 10px; font: 600 14px var(--font-sans); }
.lore-badge { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; font: 600 12px var(--font-sans); letter-spacing: .04em; background: #F8B000; color: #13252A; box-shadow: 0 4px 14px rgb(0 0 0 / .25); }
.lore-fs { background: radial-gradient(ellipse at 30% 0%, #2C2A55, #15142B 70%); color: #FFF8EA; }
.lore-fs .lore-kick, .lore-fs .lore-go { color: #F7C65A; }
.lore-unf { background: linear-gradient(180deg, #0F3E40, #08272A); color: #F6ECD6; }
.lore-unf .lore-kick, .lore-unf .lore-go { color: #E3B45B; }
.lore-rtt { background: #F7F0E3; color: #1E1A17; box-shadow: var(--shadow-2), inset 0 0 0 1px rgb(196 42 48 / .18); }
.lore-rtt .lore-kick, .lore-rtt .lore-go { color: #C42A30; }
@media (max-width: 960px) { .lore-grid { grid-template-columns: 1fr; } .lore-card { min-height: 0; } .lore-art { height: 180px; } }
.sub-lede { margin: -4px 0 14px; font-size: 15px; line-height: 1.55; color: var(--fg-2); max-width: 52ch; }
.sub-dark .sub-lede { color: rgba(248,242,230,.75); }
.lore-art { position: relative; }
.lore-art-fs { background: radial-gradient(ellipse at 50% 120%, #4B3A7A 0, #1D1B3D 55%, #15142B 100%); }
.lore-art-fs i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #FFF8EA; box-shadow: 0 0 8px 2px rgb(255 240 200 / .6); }
.lore-art-fs i:nth-child(1) { left: 12%; top: 28%; } .lore-art-fs i:nth-child(2) { left: 26%; top: 62%; width: 3px; height: 3px; } .lore-art-fs i:nth-child(3) { left: 41%; top: 22%; }
.lore-art-fs i:nth-child(4) { left: 63%; top: 40%; width: 3px; height: 3px; } .lore-art-fs i:nth-child(5) { left: 78%; top: 18%; } .lore-art-fs i:nth-child(6) { left: 88%; top: 58%; width: 3px; height: 3px; } .lore-art-fs i:nth-child(7) { left: 52%; top: 72%; width: 3px; height: 3px; }
.lore-art-fs b { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: radial-gradient(circle, #fff 0 12%, #F7C65A 30%, rgb(247 198 90 / .35) 55%, transparent 72%); animation: lore-pulse 3.4s ease-in-out infinite; }
@keyframes lore-pulse { 50% { transform: scale(1.25); opacity: .85; } }
.lore-art-unf { background: linear-gradient(180deg, #2E6E6A 0%, #E9B86A 78%, #F3D08E 100%); }
.lore-art-unf img { position: absolute; }
.lore-art-unf img { height: auto; object-fit: contain; transform: none !important; }
.lore-art-unf .la-sun { width: 90px; left: 58%; top: 18%; opacity: .95; } .lore-art-unf .la-gull { width: 46px; left: 18%; top: 20%; }
.lore-art-unf .la-wave { left: -5%; width: 110%; bottom: -10px; height: 74px; object-fit: cover; } .lore-art-unf .la-greg { width: 120px; left: 22%; bottom: 30px; }
.lore-art-rtt { background: #EFE4D0; display: flex; align-items: center; justify-content: flex-end; padding-right: 34px; }
.lore-art-rtt svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lore-art-rtt path { fill: none; stroke: #C42A30; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 1.5px 1px rgb(60 10 10 / .25)); }
.lore-art-rtt .rtt-spool-svg { position: relative; width: 74px; height: auto; filter: drop-shadow(0 6px 8px rgb(60 30 10 / .25)); transform: rotate(-8deg); }
.lore-card:hover .rtt-wind { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .lore-art-fs b { animation: none; } }

/* ===== v0.12: field notes — photos sit over the notebook margin like prints taped in ===== */
.tag-form-field-notes .gh-content > figure.kg-image-card:not(.kg-width-full) img { border: 7px solid #fff; border-radius: 2px; box-shadow: 0 1px 0 #fff, 0 10px 22px rgba(14,42,42,.12); transform: rotate(-.5deg); }
.tag-form-field-notes .gh-content > figure.kg-image-card:not(.kg-width-full):nth-of-type(even) img { transform: rotate(.45deg); }
.tag-form-field-notes .gh-content > figure.kg-image-card figcaption { font-family: var(--font-hand, var(--font-serif)); font-style: italic; }
.tag-form-field-notes .gh-content:has(.toc-wrap) > figure.kg-image-card img { transform: none; }

/* ===== v0.12: Guide page — who you'll work with ===== */
.press-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 1.6em 0 1em; }
.pp-person { position: relative; margin: 0; padding: 20px; background: var(--ground-cream); border-radius: 16px; }
.pp-person > img:first-child { display: block; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; image-rendering: pixelated; background: #F5ECD6; margin: 0 0 14px; }
.pp-tree { position: absolute; top: 16px; right: 18px; width: 64px; height: auto; border-radius: 10px; image-rendering: pixelated; box-shadow: 0 6px 14px rgba(14,42,42,.14); transform: rotate(3deg); }
.pp-person figcaption { font: inherit; text-align: left; margin: 0; }
.pp-person b { display: block; font: 700 20px/1.2 var(--font-sans); color: var(--fg-1); }
.pp-role { display: block; font: 600 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--action-deep); margin: 4px 0 10px; }
.pp-bio { display: block; font-size: .92em; line-height: 1.5; color: var(--fg-2); }
.gh-content .pp-note { font-size: .85em; color: var(--fg-3); }
@media (max-width: 640px) { .press-people { grid-template-columns: 1fr; } }

/* ===== v0.12: provenance notes — every kept top/bottom callout reads as one quiet note ===== */
.gh-content .kg-callout-card-grey { background: none; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; padding: 14px 2px; font: 400 15.5px/1.6 var(--font-sans); color: var(--fg-2); }
.gh-content .kg-callout-card-grey .kg-callout-emoji:empty { display: none; }
.gh-content .kg-callout-card-grey .kg-callout-text { font: inherit; }
.gh-content .kg-callout-card-grey a { color: var(--fg-1); }
.gh-content > .kg-callout-card-grey:first-child { margin-top: 0; }

/* ===== v0.12: Browse — the whole Press on one filterable shelf ===== */
.browse-tools { display: grid; gap: 12px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.browse-q input { width: 100%; max-width: 520px; font: 400 16px var(--font-sans); padding: 11px 16px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); background: #fff; color: var(--fg-1); }
.browse-q input:focus { outline: 2px solid var(--action); outline-offset: 1px; }
.browse-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.browse-actions .snack-count { margin: 0 auto 0 0; }
.browse-sort { font: 500 13px var(--font-sans); color: var(--fg-2); display: inline-flex; gap: 8px; align-items: center; }
.browse-sort select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--rule-strong); background: #fff; color: var(--fg-1); }
.browse-reset { background: none; border: 0; font: 500 13px var(--font-sans); color: var(--action-deep); text-decoration: underline; cursor: pointer; padding: 0; }
.browse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 28px; }
.br-card { position: relative; display: flex; flex-direction: column; padding-top: 14px; border-top: 3px solid var(--aff, var(--rule)); }
.br-img { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; margin-bottom: 12px; background: var(--ground-cream); }
.br-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.br-kicker { display: flex; flex-wrap: wrap; gap: 6px 12px; font: 600 11.5px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 8px; }
.br-mood { color: var(--aff, var(--fg-2)); }
.br-title { font: 700 20px/1.25 var(--font-sans); letter-spacing: -.01em; margin: 0 0 8px; }
.br-title a { color: var(--fg-1); text-decoration: none; } .br-title a:hover { color: var(--action-deep); }
.br-text { font: 400 16px/1.5 var(--font-serif); color: var(--fg-2); margin: 0 0 10px; }
.br-meta { font: 400 13px var(--font-sans); color: var(--fg-3); margin: auto 0 0; padding-right: 64px; }
.br-series { font-style: italic; }
.br-fp { position: absolute; right: 0; bottom: 0; opacity: .9; }
.br-dip { grid-column: 1 / -1; max-width: 460px; margin: 0 auto; }
@media (max-width: 1000px) { .browse-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .browse-grid { grid-template-columns: 1fr; } }
@media (min-width: 641px) { .browse-tools .snack-filter { position: relative; padding-left: 128px; } .browse-tools .snack-filter-k { position: absolute; left: 0; top: 7px; width: 120px; } }

/* ===== v0.12: Healing Fragmentation releases and contents ===== */
.hf-contents { list-style: none; padding: 0; margin: 1.4em 0; border-top: 1px solid var(--rule); font-family: var(--font-sans); counter-reset: none; }
.hf-contents li { display: grid; grid-template-columns: 110px 1fr; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--fg-3); font-size: 16px; margin: 0; }
.hf-contents li span { font: 600 11.5px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; padding-top: 4px; grid-row: span 2; }
.hf-contents li em { grid-column: 2; font-style: normal; font-size: 13px; color: var(--fg-3); }
.hf-contents li.is-out, .hf-contents li.is-now { color: var(--fg-1); font-weight: 600; }
.hf-contents li.is-now span { color: var(--action-deep); }
.hf-contents li:not(.is-out):not(.is-now) { opacity: .55; }
.hf-contents-big li { font-size: 19px; }
.hf-release { padding: 22px 24px; margin: 1.2em 0; border-radius: 16px; background: var(--ground-forest, #0E2A2A); color: #F8F2E6; font-family: var(--font-sans); }
.hf-release-k { font: 600 11.5px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin: 0 0 4px; }
.gh-content .hf-release-t { font: 500 26px/1.2 var(--font-serif); margin: 0 0 8px; color: #F8F2E6; }
.hf-release-d { font-size: 15px; opacity: .85; margin: 0 0 14px; }
.gh-content .hf-release-btn { display: inline-block; padding: 10px 18px; border-radius: var(--r-pill); background: var(--action); color: var(--ground-ink); font-weight: 600; text-decoration: none; font-size: 15px; }

/* ===== v0.12: comments behind a door ===== */
.cm-door { padding-top: 40px; padding-bottom: 56px; }
.cm-door-row { border-top: 1px solid var(--rule); padding-top: 26px; text-align: center; }
.cm-door-row .eyebrow { margin-bottom: 10px; }
.cm-open { display: inline-flex; align-items: baseline; gap: 10px; background: none; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); padding: 12px 22px; font: 500 17px var(--font-sans); color: var(--fg-1); cursor: pointer; }
.cm-open:hover { border-color: var(--action); }
.cm-open:hover .cm-arrow { transform: translateX(3px); }
.cm-arrow { transition: transform .2s; color: var(--action-deep); }
.cm-count { font-size: 14px; color: var(--fg-3); }
.cm-count:empty { display: none; }
.cm-door-note { font: 400 13.5px var(--font-sans); color: var(--fg-3); margin: 12px auto 0; max-width: 46ch; }
.cm-shade { position: fixed; inset: 0; background: rgba(14,42,42,.35); opacity: 0; transition: opacity .25s; z-index: 90; }
.cm-shade.is-open { opacity: 1; }
.cm-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--ground-paper); box-shadow: -18px 0 40px rgba(14,42,42,.16); z-index: 91; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .26s ease; }
.cm-panel.is-open { transform: none; }
.cm-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 16px; border-bottom: 1px solid var(--rule); }
.cm-panel-head h2 { font: 500 28px/1.15 var(--font-serif); margin: 4px 0 0; }
.cm-close { background: none; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); padding: 7px 14px; font: 500 13px var(--font-sans); color: var(--fg-1); cursor: pointer; flex: none; }
.cm-panel-body { flex: 1; overflow-y: auto; padding: 18px 28px 40px; }
.cm-panel-body .pv-comments { margin: 0; }
.cm-empty { color: var(--fg-3); font: 400 15px var(--font-sans); }
html.cm-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .cm-panel, .cm-shade { transition: none; } }

/* ===== v0.13: the spread's front is the latest drop and the one before ===== */
.sp-drops { display: grid; gap: clamp(30px, 3.4vw, 46px); align-content: start; min-width: 0; }
.sp-drop-pool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.sp-drop-pool > .sp-drop-item:nth-child(n+7) { display: none; }
.sp-drop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.sp-drop-head .eyebrow { margin: 0; }
.sp-drop:first-child .sp-drop-head .eyebrow { color: var(--action-deep); }
.sp-drop-n { font: 500 13px var(--font-sans); color: var(--fg-3); }
.sp-drop-grid { display: grid; gap: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-drop-grid.n-1 { grid-template-columns: minmax(0, 1fr); }
.sp-drop-grid.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-drop-grid.n-1 .pc-link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.sp-drop-grid.n-1 .pc-title { font-size: clamp(26px, 2.6vw, 34px); }
.sp-drop-prev .pc-excerpt { display: none; }
.sp-drop-prev .sp-drop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-drop-more { margin: 16px 0 0; }
@media (max-width: 1000px) { .sp-drop-grid.n-3, .sp-drop-prev .sp-drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sp-drop-pool, .sp-drop-grid, .sp-drop-grid.n-3, .sp-drop-prev .sp-drop-grid { grid-template-columns: minmax(0, 1fr); } .sp-drop-grid.n-1 .pc-link { grid-template-columns: 1fr; } }

/* ===== v0.13: home Snackables cards stay inside their edges ===== */
.sp-snack { display: flex; position: relative; min-width: 0; }
.sp-snack .snack { height: auto; flex: 1; min-width: 0; overflow: hidden; border-top: 0; box-shadow: inset 0 4px 0 var(--aff, var(--rule)); padding: 20px 18px 18px; }
.sp-snack .snack-go { margin-top: auto; padding-top: 6px; }
.sp-snack .snack-go a { display: inline; overflow-wrap: anywhere; }
.snack { border-top: 0; box-shadow: inset 0 4px 0 var(--aff, var(--rule)); overflow: hidden; }
.snack-when { margin-left: auto; font-weight: 500; letter-spacing: .06em; color: var(--fg-3); }
.sp-snack.is-new::after { content: "New"; position: absolute; top: -9px; right: 14px; font: 700 10.5px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; background: var(--action); color: var(--ground-ink); padding: 3px 8px; border-radius: var(--r-pill); }

/* ===== v0.13: price tag codes ===== */
.pt-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.4em 0; }
.pt-code { display: grid; gap: 4px; text-align: left; padding: 18px 20px; border-radius: 14px; border: 1.5px dashed var(--action); background: var(--ground-cream); cursor: pointer; font-family: var(--font-sans); color: var(--fg-1); }
.pt-code b { font: 700 20px/1.1 var(--font-sans); letter-spacing: .04em; color: var(--action-deep); }
.pt-code span { font-size: 15px; color: var(--fg-2); }
.pt-code em { font-style: normal; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.pt-code:hover { background: #fff; }
.pt-code.is-copied em { color: var(--action-deep); }
@media (max-width: 560px) { .pt-codes { grid-template-columns: 1fr; } }

/* ===== v0.13: map — controls sit on their axes, bands read as places ===== */
.map-how { font: 400 15.5px/1.5 var(--font-sans); color: var(--fg-2); max-width: 68ch; margin: 0 0 22px; }
.map-frame { display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-areas: "y stage" ". x"; gap: 12px 14px; align-items: center; }
.map-ctl { display: grid; gap: 6px; font: 600 11.5px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--action-deep); }
.map-ctl select { font: 500 14px var(--font-sans); letter-spacing: 0; text-transform: none; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--action); background: #fff; color: var(--fg-1); max-width: 100%; }
.map-ctl-y { grid-area: y; align-self: center; }
.map-ctl-x { grid-area: x; justify-self: center; text-align: center; min-width: min(320px, 100%); }
.map-frame .map-stage { grid-area: stage; }
.map-cell { fill: var(--ground-cream); }
.map-cell.is-alt { fill: color-mix(in srgb, var(--ground-cream) 70%, #e9dfc9); }
.map-tick { font: 500 13px var(--font-sans); fill: var(--fg-2); }
.map-svg a.is-dim .map-dot { fill-opacity: .12; stroke-opacity: .3; }
.map-keyrow { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 24px; margin-top: 18px; }
.map-key { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; margin: 0; }
.map-key button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--rule-strong); background: transparent; font: 500 13px var(--font-sans); color: var(--fg-1); cursor: pointer; }
.map-key button small { color: var(--fg-3); font-size: 12px; }
.map-key button.is-on { background: var(--fg-1); color: var(--bg); border-color: var(--fg-1); }
.map-key button.is-off { opacity: .45; }
.map-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0; }
.map-count { margin-left: auto; font-size: 13px; color: var(--fg-3); }
.map-count button { border: 0; padding: 0; text-decoration: underline; color: var(--action-deep); background: none; }
.map-slide-help { color: var(--fg-2); max-width: 62ch; margin: 0 0 18px; font-size: 16px; }
.map-stops { display: grid; grid-template-columns: repeat(5, 1fr); margin: 8px 0 18px; font: 600 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.map-stops span { text-align: center; cursor: pointer; } .map-stops span:first-child { text-align: left; } .map-stops span:last-child { text-align: right; }
.map-stops span.is-on { color: var(--action-deep); }
.map-slide-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.map-slide-now { margin: 0; font: 400 15px var(--font-sans); color: var(--fg-2); }
@media (max-width: 760px) {
  .map-frame { grid-template-columns: minmax(0, 1fr); grid-template-areas: "y" "stage" "x"; }
  .map-ctl-x { justify-self: stretch; text-align: left; }
  .map-stage { padding: 4px; }
  .map-stops { font-size: 9.5px; letter-spacing: .04em; }
}
.map-svg.is-narrow .map-tick { font-size: 21px; }
.map-svg.is-narrow .map-dot { r: 8; }
@media (min-width: 761px) { .map-frame { grid-template-columns: 150px minmax(0, 1fr); } .map-ctl-y { align-self: start; margin-top: 30%; } }

/* ===== v0.13: the lay of the land ===== */
.land-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.land-how { margin: 0; color: var(--fg-2); font: 400 15px/1.5 var(--font-sans); max-width: 64ch; }
.land-tools .chip { cursor: pointer; background: transparent; font-family: var(--font-sans); }
.land-tools .chip.is-on { background: var(--fg-1); color: var(--bg); border-color: var(--fg-1); }
.land-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.land-stage { position: relative; background: #FBF7EE; border-radius: var(--r-4); box-shadow: 0 1px 2px rgba(14,42,42,.06); overflow: hidden; }
.land-svg { display: block; width: 100%; height: auto; }
.land-dot { cursor: pointer; transition: r .15s; }
.land-svg a:hover .land-dot { r: 8; }
.land-svg a.is-dim .land-dot { opacity: .18; }
.land-label text { font: 700 15px var(--font-sans); fill: var(--fg-1); paint-order: stroke; stroke: #FBF7EE; stroke-width: 5px; stroke-linejoin: round; cursor: pointer; }
.land-label:hover text, .land-label:focus text { fill: var(--action-deep); outline: none; }
.land-label.is-dim text { opacity: .3; }
.land-side { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 4px; }
.land-regions { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.land-regions > li > button { width: 100%; display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 9px 10px; border-radius: 10px; border: 0; background: transparent; font: 500 15px var(--font-sans); color: var(--fg-1); cursor: pointer; }
.land-regions > li > button:hover, .land-regions > li.is-open > button { background: var(--ground-cream); }
.land-regions i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.land-regions small { color: var(--fg-3); }
.land-blurb { margin: 4px 10px 8px; font-size: 14px; color: var(--fg-2); line-height: 1.45; }
.land-pieces { list-style: none; margin: 0 0 10px; padding: 0 10px; display: grid; gap: 8px; }
.land-pieces a { font: 500 14.5px/1.3 var(--font-sans); color: var(--fg-1); text-decoration: none; display: block; }
.land-pieces a:hover { color: var(--action-deep); }
.land-pieces span { font-size: 12.5px; color: var(--fg-3); }
.land-wanders { padding: 10px 0; margin-bottom: 8px; border-bottom: 1px solid var(--rule); }
.land-wanders > b { display: block; padding: 0 10px; font: 700 15px var(--font-sans); }
@media (max-width: 900px) { .land-grid { grid-template-columns: minmax(0, 1fr); } .land-side { position: static; max-height: none; } .land-label text { font-size: 24px; stroke-width: 7px; } }
.sp-snack .snack-when { display: none; }
.sp-snack .snack-kicker { flex-wrap: wrap; row-gap: 4px; }

/* ===== v0.14: series shelf without a scrollbar, book links, folded series runs, series page glance ===== */
.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shelf-grid { grid-template-columns: minmax(0, 1fr); } }
.sc { position: relative; display: flex; flex-direction: column; }
.sc-booklink { display: inline-flex; align-self: flex-start; margin: 10px 0 0; font: 600 13px var(--font-sans); padding: 7px 14px; border-radius: 999px; background: var(--action); color: var(--ink, #0E2A2A); text-decoration: none; }
.sc-booklink:hover { background: var(--action-deep); color: #fff; }
.sp-run-link { display: grid; gap: 14px; text-decoration: none; color: inherit; padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--action) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--action) 30%, transparent); height: 100%; }
.sp-run-img { margin: 0; } .sp-run-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }
.sp-run-list { margin: 8px 0 12px; padding-left: 1.2em; font: 400 14.5px/1.45 var(--font-sans); color: var(--fg-2); }
.sp-run-list li { margin: 2px 0; } .sp-run-more { list-style: none; margin-left: -1.2em; opacity: .7; font-style: italic; }
.tag-hero.is-series.has-image .tag-hero-art { display: none; }
.tag-hero.is-series .tag-hero-inner { max-width: 1120px; text-align: left; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tag-hero.is-series:not(.has-image) .tag-hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.tag-hero-cover { margin: 0; display: none; }
.tag-hero.is-series .tag-hero-cover { display: block; }
.tag-hero-cover img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tag-hero.is-series .eyebrow-ribbon { justify-content: flex-start; }
.tag-book { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 800px) { .tag-hero.is-series .tag-hero-inner { grid-template-columns: minmax(0, 1fr); } .tag-hero-cover { order: -1; max-width: 520px; } }
.series-glance-band { padding-bottom: 0; }
.series-glance { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding: 22px 0 6px; border-bottom: 1px solid var(--rule); }
.sg-facts { display: flex; gap: 26px; flex-wrap: wrap; }
.sg-facts p { margin: 0; font: 400 14px var(--font-sans); color: var(--fg-3); }
.sg-facts b { display: block; font: 500 26px/1.1 var(--font-serif); color: var(--fg-1); }
.sg-people .eyebrow { margin: 0 0 10px; }
.sg-list { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.sg-person { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg-1); font: 500 14px var(--font-sans); }
.sg-person img, .sg-initial { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--action); color: #fff; display: inline-grid; place-items: center; font-weight: 600; }
@media (max-width: 700px) { .series-glance { grid-template-columns: minmax(0, 1fr); } }
/* Map: the Up control sits above the stage so its menu is never covered */
.map-ctl-y { position: relative; z-index: 3; }
.map-frame { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "y" "stage" "x" !important; }
.map-ctl-y { display: flex !important; align-items: center; gap: 12px; justify-self: start; margin-top: 0 !important; align-self: auto !important; flex-wrap: wrap; }
.map-ctl-y select { width: auto; min-width: 280px; max-width: 100%; }
.sc-booklink[hidden] { display: none; }
.shelf-grid .sc-link { height: 100%; }
.tag-hero.is-series .tag-book { justify-content: flex-start; }

/* ===== v0.15 Red Thread Talks: speaker-led hero, recording at the end, standard footer ===== */
.rtt-hero .rtt-hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.rtt-speaker { align-items: flex-start; }
.rtt-speaker .rtt-speaker-text { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.rtt-speaker p.rtt-speaker-name { display: flex; flex-direction: column; }
.rtt-speaker p.rtt-speaker-bio { display: block; font: 400 16px/1.55 var(--font-sans); color: #5E544C; max-width: 52ch; margin: 0; }
.rtt-recording:empty { display: none; }
.rtt-recording .rtt-room { margin: 4em 0 0; }
.rtt-about { background: var(--rtt-paper); border-top: 1px solid rgb(30 26 23 / .1); padding: clamp(48px, 8vh, 80px) 24px; }
.rtt-recording:empty + .rtt-about { margin-top: 4em; }
.rtt-about-inner { max-width: var(--measure, 680px); margin: 0 auto; }
.rtt-about-kick { font: 600 11px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.rtt-about-text { font: 400 clamp(19px, 2vw, 22px)/1.5 var(--font-serif); color: var(--rtt-ink); margin: 0; }
.rtt-about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 26px 0 0; }
.rtt-about-more { font: 500 15px var(--font-sans); color: var(--rtt-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.rtt-recording .rtt-room { margin: 0; }
.rtt-recording .rtt-room-stage { max-width: 880px; margin: 0 auto; }
/* Big pull quote (html card): <figure class="pull-quote"><blockquote>…</blockquote><figcaption>Who</figcaption></figure> */
.gh-content figure.pull-quote { margin: 1.2em 0 1.6em; padding: 0; text-align: center; }
.gh-content figure.pull-quote blockquote { border: 0; margin: 0 auto; padding: 0; max-width: 26ch; font: italic 400 clamp(30px, 4.4vw, 46px)/1.18 var(--font-serif); color: var(--ink, #1E1A17); }
.gh-content figure.pull-quote blockquote::before { content: "“"; display: block; font: 400 1.9em/0.6 var(--font-serif); color: var(--ochre, #C08A3E); margin-bottom: .1em; }
.gh-content figure.pull-quote figcaption { margin-top: 18px; font: 600 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: #7A6E64; }

/* v0.15 The newest drop is big; the one before stays small */
.sp-drop.is-new .sp-drop-grid, .sp-drop.is-new .sp-drop-grid.n-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
.sp-drop.is-new .sp-drop-item.is-lead { grid-column: 1 / -1; }
.sp-drop.is-new .is-lead .pc-link { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.sp-drop.is-new .is-lead .pc-title { font-size: clamp(30px, 3vw, 40px); line-height: 1.08; }
.sp-drop.is-new .is-lead .pc-excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.sp-drop.is-new .pc-title { font-size: clamp(22px, 2vw, 27px); }
.sp-drop.is-new .pc-image img, .sp-drop.is-new .pc-media img { aspect-ratio: 16 / 10; }
.sp-drop.is-new .sp-drop-head .eyebrow { font-size: 13px; }
@media (max-width: 640px) { .sp-drop.is-new .sp-drop-grid { grid-template-columns: minmax(0, 1fr); } .sp-drop.is-new .is-lead .pc-link { grid-template-columns: 1fr; } }
/* v0.15 series shelf */
.shelf-grid .sc { position: relative; }
.shelf-grid .sc-booklink { position: absolute; top: 12px; right: 12px; margin: 0; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .35); }
.sc-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--rule); }
.sc-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: auto !important; }
.sc-mosaic:not(:has(img)) { display: none; }
.sc-mosaic img:only-child { grid-column: 1 / -1; grid-row: 1 / -1; }
.sc-mosaic:has(> img:nth-child(2):last-child) img { grid-row: 1 / -1; }
.sc-mosaic:has(> img:nth-child(3):last-child) img:first-child { grid-row: 1 / -1; }
/* v0.15 lore cards: equal widths, every piece listed */
.lore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.lore-card { min-height: 0; }
.lore-art { height: 150px; }
.lore-card a { color: inherit; text-decoration: none; }
.lore-title:hover, .lore-go:hover { text-decoration: underline; text-underline-offset: 3px; }
.lore-list { margin: 10px 0 4px; padding: 12px 0 0 1.3em; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); font: 400 14.5px/1.4 var(--font-sans); display: grid; gap: 6px; }
.lore-list-plain, .lore-list-talks { list-style: none; padding-left: 0; }
.lore-list li::marker { opacity: .6; font-size: 13px; }
.lore-list a { opacity: .9; } .lore-list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.lore-list-talks span { display: block; font-size: 12.5px; opacity: .65; margin-top: 1px; }

/* ===== v0.15 Lore essay (custom-lore-essay) ===== */
.lore-essay { --le-ink: #13252A; --le-paper: #FBF5E8; --le-ochre: #C68A3A; --le-teal: #1F6B6F; background: var(--le-paper); color: var(--le-ink); }
.le-hero { position: relative; min-height: min(88svh, 900px); display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #FFF8EA; background: #10292B; }
.le-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.le-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 30 32 / 0) 30%, rgb(10 30 32 / .55) 62%, rgb(10 30 32 / .92) 100%); }
.le-hero.no-image { min-height: 0; padding-top: 12vh; }
.le-hero-text { width: min(1100px, 100%); margin: 0 auto; padding: 0 24px clamp(48px, 9vh, 96px); }
.le-kicker { font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: #F7C65A; margin: 0 0 18px; }
.le-kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid rgb(247 198 90 / .5); }
.le-kicker span { margin: 0 .4em; opacity: .7; }
.le-title { font: 500 clamp(52px, 9vw, 124px)/.94 var(--font-serif); letter-spacing: -.02em; margin: 0; max-width: 12ch; text-wrap: balance; }
.le-dek { font: italic 400 clamp(20px, 2.3vw, 27px)/1.38 var(--font-serif); max-width: 40ch; margin: 22px 0 0; color: rgb(255 248 234 / .9); }
.le-by { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font: 500 15px var(--font-sans); }
.le-by img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgb(255 248 234 / .6); }
.le-by a { color: #FFF8EA; text-decoration: none; } .le-by span { opacity: .75; }
.le-caption { position: absolute; right: 20px; bottom: 16px; margin: 0; font: italic 400 14px var(--font-serif); color: rgb(255 248 234 / .75); }
.le-body { display: grid; grid-template-columns: 220px minmax(0, var(--measure)); gap: 0 64px; justify-content: center; padding: clamp(56px, 9vh, 96px) 24px 40px; }
.le-rail { position: sticky; top: 110px; align-self: start; font: 400 14px/1.35 var(--font-sans); }
.le-rail-head { font: 600 11px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--le-ochre); margin: 0 0 14px; }
.le-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid rgb(19 37 42 / .1); }
.le-rail a { display: grid; grid-template-columns: 24px 1fr; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: #5A6B6D; text-decoration: none; transition: color .2s, border-color .2s; }
.le-rail a b { font-weight: 600; color: var(--le-ochre); font-size: 12px; padding-top: 1px; }
.le-rail a:hover { color: var(--le-ink); }
.le-rail a.is-on { color: var(--le-ink); border-left-color: var(--le-ochre); font-weight: 500; }
.le-content > p:first-of-type::first-letter { float: left; font: 500 4.6em/.8 var(--font-serif); margin: .08em .1em 0 0; color: var(--le-teal); }
.le-content h2 { position: relative; font: 500 clamp(32px, 3.4vw, 44px)/1.1 var(--font-serif); margin: 2.2em 0 .6em; padding-top: 1.1em; border-top: 1px solid rgb(19 37 42 / .12); }
.le-content h2::before { content: attr(data-n); display: block; font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--le-ochre); margin-bottom: 12px; }
.le-content > p:last-child em:only-child, .le-content > p:last-child:has(> em) { font-size: .9em; }
.le-content > p:last-child:has(> em) { margin-top: 2.4em; padding: 22px 26px; border-radius: 16px; background: #F1E6CF; font-style: italic; }
.le-foot { background: #F1E6CF; padding: clamp(56px, 9vh, 96px) 24px; }
.le-foot-inner { max-width: 960px; margin: 0 auto; display: grid; gap: 28px; }
.le-sign { display: flex; gap: 18px; align-items: center; max-width: var(--measure); }
.le-sign img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.le-sign-name { font: 500 22px var(--font-serif); margin: 0; } .le-sign-name a { color: var(--le-teal); }
.le-sign-bio { font: 400 15px/1.55 var(--font-sans); color: #5A6B6D; margin: 4px 0 0; }
.le-more-head { font: 600 11px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--le-ochre); margin: 16px 0 -12px; }
.le-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.le-more a { display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px; background: var(--le-paper); text-decoration: none; color: var(--le-ink); box-shadow: 0 1px 0 rgb(19 37 42 / .08); transition: transform .2s; }
.le-more a:hover { transform: translateY(-3px); }
.le-more b { font: 500 22px var(--font-serif); } .le-more span { font: 400 14.5px/1.45 var(--font-sans); color: #5A6B6D; }
@media (max-width: 1000px) { .le-body { grid-template-columns: minmax(0, var(--measure)); } .le-rail { display: none; } .le-more { grid-template-columns: 1fr; } }
.le-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 30 32 / .55) 0%, rgb(10 30 32 / .15) 55%, transparent 75%); }

/* ===== v0.15 Red Thread Talks landing (tag-red-thread-talks) ===== */
.rtl-hero { background: #F7F0E3; color: #1E1A17; padding: clamp(56px, 10vh, 110px) 0 clamp(48px, 8vh, 90px); overflow: hidden; }
.rtl-hero-inner, .rtl-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.rtl-hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.rtl-title { font: 500 clamp(52px, 8vw, 104px)/.95 var(--font-serif); letter-spacing: -.02em; margin: 0; }
.rtl-dek { font: italic 400 clamp(20px, 2.2vw, 26px)/1.4 var(--font-serif); color: #4A423C; max-width: 36ch; margin: 22px 0 0; }
.rtl-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin: 30px 0 0; }
.rtl-link { font: 600 15px var(--font-sans); color: #C42A30; text-decoration: none; }
.rtl-hero-art { position: relative; display: flex; justify-content: flex-end; align-items: center; min-height: 240px; }
.rtl-hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rtl-hero-art path { fill: none; stroke: #C42A30; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 2px 1px rgb(60 10 10 / .2)); }
.rtl-hero-art .rtt-spool-svg { position: relative; width: 120px; height: auto; transform: rotate(-8deg); margin-right: 8%; filter: drop-shadow(0 8px 10px rgb(60 30 10 / .25)); }
.rtl-band { padding: clamp(56px, 9vh, 96px) 0; }
.rtl-next { background: #2A1215; color: #F7EDE4; background: radial-gradient(ellipse at 20% 0%, #4A2226 0, #2A1215 60%, #170B0C 100%); }
.rtl-next .eyebrow { color: #F08A8D; }
.rtl-next-grid, .rtl-give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.rtl-h2 { font: 500 clamp(32px, 3.6vw, 46px)/1.08 var(--font-serif); margin: 8px 0 14px; }
.rtl-p { font: 400 16px/1.6 var(--font-sans); opacity: .85; max-width: 38ch; }
.rtl-coming { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rtl-coming li { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgb(247 237 228 / .07); box-shadow: inset 0 0 0 1px rgb(247 237 228 / .12); }
.rtl-coming .coming-empty { display: block; opacity: .7; font: italic 400 17px var(--font-serif); }
.rtl-date { text-align: center; line-height: 1; } .rtl-date b { display: block; font: 500 34px var(--font-serif); } .rtl-date span { font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rtl-ses b { display: block; font: 500 21px/1.25 var(--font-serif); } .rtl-ses span { display: block; font: 400 14px/1.5 var(--font-sans); opacity: .75; margin-top: 4px; }
.rtl-ses a { color: #F08A8D; }
.rtl-small { margin: 18px 0 0; font: 500 14px var(--font-sans); } .rtl-small a { color: #F7EDE4; opacity: .8; }
.rtl-give { background: #F7F0E3; }
.rtl-give .eyebrow, .rtl-all .eyebrow { color: #C42A30; }
.rtl-steps { display: grid; gap: 18px; }
.rtl-steps > div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.rtl-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #C42A30; color: #fff; font: 600 16px var(--font-sans); }
.rtl-steps p { margin: 6px 0 0; font: 400 17px/1.55 var(--font-sans); color: #3E3630; }
.rtl-steps a { color: #C42A30; }
.rtl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 28px; }
.rtl-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 18px; background: #FBF7EF; text-decoration: none; color: #1E1A17; box-shadow: 0 1px 0 rgb(30 26 23 / .06), inset 0 0 0 1px rgb(196 42 48 / .12); transition: transform .2s, box-shadow .2s; }
.rtl-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgb(30 26 23 / .35), inset 0 0 0 1px rgb(196 42 48 / .3); }
.rtl-face { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; box-shadow: 0 0 0 3px #FBF7EF, 0 0 0 5px #C42A30; background: #EFE4D0; display: grid; place-items: center; }
.rtl-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.rtl-mono { font: 500 12px var(--font-sans); text-align: center; padding: 6px; }
.rtl-who { font: 600 12px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #C42A30; }
.rtl-ttl { font: 500 24px/1.18 var(--font-serif); }
.rtl-ex { font: 400 15px/1.5 var(--font-sans); color: #5E544C; }
.rtl-meta { margin-top: auto; padding-top: 10px; font: 400 13px var(--font-sans); color: #7A6E64; }
@media (max-width: 860px) { .rtl-hero-inner, .rtl-next-grid, .rtl-give-grid { grid-template-columns: 1fr; } .rtl-hero-art { min-height: 160px; } }
.rtl-hero .rtt-kicker { color: #C42A30; font: 600 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.rtl-steps a.btn { color: #13252A; }
.rtl-ex { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* v0.15 RTT feature image: a wide still under the speaker, not a window */
.rtt-still { position: relative; z-index: 2; max-width: 1180px; margin: clamp(36px, 6vh, 56px) auto 0; padding: 0 24px; }
.rtt-still img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -34px rgb(30 26 23 / .55); filter: saturate(.92); }
.rtt-still figcaption { margin-top: 10px; font: italic 400 15px var(--font-serif); color: #7A6E64; text-align: right; }
@media (max-width: 700px) { .rtt-still img { aspect-ratio: 16 / 10; } }

.rtl-offer { display: grid; gap: 6px; margin-top: 26px; padding: 18px 20px; border-radius: 14px; max-width: 420px; text-decoration: none; color: #3E3630; border-left: 3px solid #C42A30; background: rgb(196 42 48 / .05); transition: background .2s; }
.rtl-offer:hover { background: rgb(196 42 48 / .1); }
.rtl-offer-kick { font: 600 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #C42A30; }
.rtl-offer-what { font: 400 15.5px/1.5 var(--font-sans); }
.rtl-offer-go { font: 600 14.5px var(--font-sans); color: #C42A30; }
/* Draft questions box (temporary, for author review on previews) */
.gh-content .draft-questions { margin: 0 0 2.4em; padding: 22px 26px; border-radius: 14px; background: #FFF4D6; border: 1.5px dashed #C68A3A; font: 400 15.5px/1.55 var(--font-sans); color: #3E3630; }
.gh-content .draft-questions .dq-kick { font: 600 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #9A5B12; margin: 0 0 10px; }
.gh-content .draft-questions ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.gh-content .draft-questions li { font-size: 15.5px; }
.unf-btn[hidden],[data-unf-listen][hidden]{display:none!important}

/* v0.17 front page: the new writing takes the full width; letters become a slim strip underneath */
.sp-front-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 34px; }
.sp-drop.is-new .sp-drop-grid, .sp-drop.is-new .sp-drop-grid.n-3 { gap: 40px 36px; }
.sp-drop.is-new .pc-title { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; }
.sp-drop.is-new .pc-excerpt { font-size: 17px; }
.sp-drop.is-new .pc-image img, .sp-drop.is-new .pc-media img { aspect-ratio: 3 / 2; }
.sp-drop.is-new .is-lead .pc-title { font-size: clamp(32px, 3.4vw, 46px); }
.sp-drop-prev .sp-drop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; border-top: 1px solid var(--rule); padding-top: 22px; }
.sp-side .sp-letter { padding: 16px 20px; }
.sp-side .sp-letter-title { font-size: 20px; margin: 4px 0 4px; }
.sp-side .sp-letter-dek { font-size: 14px; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-side .sp-editor.is-waiting { padding: 14px 18px; }
.sp-side .sp-video { grid-template-columns: 44px 1fr; align-items: center; }
.sp-side .sp-video.is-video { grid-template-columns: 168px 1fr; padding: 12px 18px 12px 12px; }
.sp-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: rgba(248,242,230,.1) center / cover no-repeat; }
.sp-thumb .sp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: rgba(14,42,42,.55); }
.sp-thumb .sp-play::after { left: 17px; top: 12px; border-left-width: 14px; border-top-width: 10px; border-bottom-width: 10px; }
.sp-side .sp-play { width: 44px; height: 44px; }
.sp-side .sp-play::after { left: 17px; top: 12px; border-left-width: 14px; border-top-width: 10px; border-bottom-width: 10px; }
@media (max-width: 1000px) { .sp-drop-prev .sp-drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sp-side { grid-template-columns: minmax(0, 1fr); } .sp-side .sp-video.is-video { grid-template-columns: 120px 1fr; } }

/* Unforgetting lore art: a sea band behind the wave so its brushed ends never show the sky */
.lore-art-unf { background: linear-gradient(180deg, #2E6E6A 0%, #C9A866 50%, #F0C987 64%, #2F8C92 65%, #1F6A72 100%); }
.lore-art-unf .la-wave { left: -24%; width: 150%; max-width: none; height: 92px; bottom: -10px; object-fit: fill; }
.sp-coming-note { font-size: 16px; line-height: 1.55; color: var(--fg-2); margin: 0 0 16px; max-width: 34ch; }
.quiet-link-soft { margin-left: 14px; opacity: .75; } .author-hero .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rd-token { display: grid; gap: 10px; max-width: 460px; margin-top: 18px; }
.rd-token label { font: 600 14px var(--font-sans); }
.rd-token input { font: 15px ui-monospace, Menlo, monospace; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; }
.rd-token .btn { justify-self: start; }

/* v0.18 following */
.follow-btn.is-on { background: var(--ground-forest); color: #F8F2E6; border-color: var(--ground-forest); }
.follow-member { display: grid; gap: 8px; justify-items: start; margin: 14px 0 6px; }
.realm-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; }
.tag-hero .follow-btn { margin: 4px 0 10px; }
.fl { padding-block: 10px; }
.fl-sec { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.fl-h { font: 500 clamp(24px, 2.4vw, 30px)/1.15 var(--font-serif); margin: 0 0 14px; }
.fl-choice { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer; }
.fl-choice small { display: block; color: var(--fg-2); font-size: 14px; }
.fl-realms { margin: 12px 0 0 28px; }
.fl-realms.is-off { opacity: .45; }
.fl-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.fl-list li { display: flex; gap: 12px; align-items: baseline; }
.fl-empty { color: var(--fg-2); font-style: italic; }
.fl-x { background: none; border: 0; padding: 0; font: 500 13px var(--font-sans); color: var(--fg-3); text-decoration: underline; cursor: pointer; }
.fl-small { font-size: 14px; margin: 8px 0 0; }
.fl-save { display: flex; gap: 16px; align-items: center; padding-top: 24px; }
.fl-msg { margin: 0; color: var(--fg-2); }
.fl-signin { padding: 30px 0; }

/* Account (/account/) — 0.25.0. The member's own settings, in place of Portal's account screen. */
.ac [hidden] { display: none !important; }
.ac-top { background: var(--ground-forest); color: var(--ground-cream); padding: clamp(44px, 7vh, 76px) 0 0; overflow: hidden; }
.ac-top-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; padding-bottom: clamp(34px, 5vh, 54px); }
.ac-top .hero-title { margin: 10px 0 12px; }
.ac-top .hero-lede { margin: 0; max-width: 560px; }
.ac-top-mark { transform: rotate(-6deg); filter: drop-shadow(0 10px 18px rgb(0 0 0 / .35)); }
.ac .fl-h { display: flex; align-items: center; gap: 12px; }
.ac .fl-h::before { content: ""; width: 13px; height: 13px; flex: none; transform: rotate(8deg); border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1);
  background: linear-gradient(90deg, rgb(226 168 75 / .6) 50%, transparent 50%) 0 0 / 6px 6px, linear-gradient(rgb(226 168 75 / .6) 50%, transparent 50%) 0 0 / 6px 6px, #F3D79C; }
.ac .fl-sec:nth-of-type(3n+1) .fl-h::before { background: repeating-linear-gradient(45deg, #4F8C82 0 3px, #9CC8BC 3px 6px); }
.ac .fl-sec:nth-of-type(3n+2) .fl-h::before { background: radial-gradient(circle, #F2C2CC 0 1.2px, transparent 1.6px) 0 0 / 5px 5px, #D9788E; }

/* Marks: a round patch with a letter or emblem appliquéd on */
.gk-mark { --s: 42px; width: var(--s); height: var(--s); min-height: 0 !important; padding: 0 !important; border-radius: 50%; display: inline-grid !important; place-items: center; overflow: hidden; flex: none; position: relative; }
.gk-mark.fr-patch::before { inset: 7%; border-radius: 50%; border-width: max(1px, calc(var(--s) * .018)); }
.gk-mark-app { position: relative; z-index: 1; width: 58%; height: 58%; border-radius: 50%; display: grid; place-items: center; background: #FBF5E8; color: color-mix(in srgb, var(--c1) 62%, #0E2A2A); box-shadow: 0 1px 2px rgb(0 0 0 / .18), inset 0 0 0 max(1px, calc(var(--s) * .014)) color-mix(in srgb, var(--c1) 35%, transparent); }
.gk-mark-app b { font: 600 calc(var(--s) * .34)/1 var(--font-serif); transform: translateY(-.03em); }
.gk-mark-app svg { width: 64%; height: 64%; }
.gk-mark.is-photo { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
.gk-mark.is-photo .gk-mark-app { display: none; }
.ac-mark-xl { --s: 168px; }
.ac-mark-lg { --s: 132px; }
.gk-mark.is-sewn { animation: gk-sew .55s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes gk-sew { 0% { transform: scale(.82) rotate(-10deg); } 60% { transform: scale(1.05) rotate(3deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gk-mark.is-sewn, .ac-shuffle.is-rolling .ac-die { animation: none; } }

/* Header: the mark in the account circle */
.gh-head-avatar .gk-mark { --s: 26px; position: absolute; inset: 0; }
.gh-head-avatar .gk-mark.fr-patch::before { inset: 2px; border-width: 1px; }
.gh-head-avatar .gk-mark-app { width: 66%; height: 66%; box-shadow: none; }
.gh-head-avatar .gk-mark-app b { font-size: 11px; font-family: var(--font-sans); font-weight: 700; }
.gh-head-avatar.has-mark img { display: none; }

/* The maker */
.ac-maker { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 30px; padding: 24px 24px 22px; margin: 6px 0 10px; border: 1.5px dashed var(--rule-strong); border-radius: 18px; background: var(--ground-cream, #FBF5E8); }
.ac-maker-stage { position: relative; display: grid; justify-items: center; align-content: start; gap: 18px; padding-top: 8px; }
.ac-maker-stage .ac-photo { position: absolute; z-index: 2; top: 8px; left: 50%; margin-left: -66px; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #FBF5E8, 0 0 0 5.5px var(--rule-strong); }
.ac-maker .ac-mark-lg { box-shadow: 0 6px 14px rgb(14 42 42 / .18); }
.ac-shuffle .ac-die { display: inline-block; font-size: 18px; line-height: 1; }
.ac-shuffle.is-rolling .ac-die { animation: gk-roll .35s linear infinite; }
@keyframes gk-roll { to { transform: rotate(360deg); } }
.ac-maker-controls .fl-h { margin-bottom: 6px; }
.ac-maker-lede { margin: 0 0 16px; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.ac-maker .fr-picks { gap: 7px; margin-bottom: 12px; }
.ac-maker .fr-pick { width: 36px; height: 36px; }
.ac-col { border-radius: 50% !important; }
.ac-emb.gk-mark { --s: 42px; width: 42px !important; height: 42px !important; border: 2px solid transparent; box-sizing: border-box; background: #FFFDF6; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.ac-emb .gk-mark-app { width: 100%; height: 100%; background: none; box-shadow: none; color: color-mix(in srgb, var(--c1, #4F8C82) 62%, #0E2A2A); }
.ac-emb .gk-mark-app b { font-size: 17px; }
.ac-emb-photo { border-radius: 50% !important; background-size: cover; background-position: center; }
.ac-maker .fr-pick[aria-pressed=true] { border-color: var(--fg-1); transform: translateY(-1px); }
.ac-maker-save { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 6px; }
.ac-maker-save .fr-mypatch-msg { margin: 0; }
.ac-pic { grid-column: 1 / -1; color: var(--fg-2); margin: 10px 0 0; max-width: 64ch; }

/* The rest */
.ac-email .fl-x { color: var(--fg-2); }
.ac-who { display: grid; gap: 18px; min-width: 0; }
.ac-field { display: grid; gap: 6px; }
.ac-label { font: 500 13px var(--font-sans); color: var(--fg-2); letter-spacing: .02em; }
.ac-field .sub-input { width: 100%; max-width: 420px; border-radius: 12px; }
.ac-email { margin: 0; overflow-wrap: anywhere; }
.ac-email-change { display: grid; gap: 10px; justify-items: start; margin-top: 6px; }
.ac-note { color: var(--fg-2); margin: 0; }
.ac-letters { display: grid; gap: 14px; margin-bottom: 14px; }
.ac-suppressed { border: 1px solid var(--rule-strong); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.ac-suppressed p { margin: 0 0 10px; }
.ac-save { padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.ac-giving { border-bottom: 0; }
.ac-friend-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: start; }
.ac-friend-patch.fr-patch { min-height: 0; padding: 0; width: 76px; height: 76px; border-radius: 4px; transform: rotate(-4deg); }
.ac-friend-patch.fr-patch::before { inset: 5px; }
.ac-friend { margin: 0 0 14px; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.ac-out { padding: 10px 0 0; font-size: 14px; }
@media (max-width: 680px) {
  .ac-top-inner { grid-template-columns: 1fr; }
  .ac-top-mark { justify-self: start; order: -1; }
  .ac-mark-xl { --s: 96px; }
  .ac-maker { grid-template-columns: 1fr; padding: 20px 16px; }
  .ac-friend-card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .ac-friend-patch.fr-patch { width: 56px; height: 56px; }
}

/* v0.18.1 header: Sign in for visitors, an account menu for members */
.gh-head-signin { font: 500 14px var(--font-sans); color: rgba(248,242,230,.82); text-decoration: none; padding: 6px 4px; }
.gh-head-signin:hover { color: #F8F2E6; text-decoration: underline; text-underline-offset: 3px; }
.gh-head-me { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid rgba(248,242,230,.3); color: #F8F2E6; font: 500 14px var(--font-sans); }
.gh-head-me::-webkit-details-marker { display: none; }
.gh-head-me img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.gh-head-initial { width: 26px; height: 26px; border-radius: 50%; background: var(--action, #C68A3A); color: #0E2A2A; display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; overflow: hidden; text-indent: 0; max-width: 26px; white-space: nowrap; }
.gh-head-initial::first-letter { text-transform: uppercase; }
.hd-me-panel { display: grid; gap: 4px; min-width: 220px; }
.hd-me-panel a { color: var(--ink, #0E2A2A); text-decoration: none; padding: 7px 4px; border-radius: 8px; font: 500 15px var(--font-sans); }
.hd-me-panel a:hover { background: rgba(14,42,42,.06); }
.hd-me-who { font: 500 13px var(--font-sans); color: var(--fg-3, #6b7b7a); margin: 0 4px 6px; overflow: hidden; text-overflow: ellipsis; }
.gh-head-nav .hd-me .gh-head-me, .hd-me > summary.gh-head-me { background: transparent !important; color: #F8F2E6 !important; border: 1px solid rgba(248,242,230,.35) !important; box-shadow: none !important; }
.hd-me .gh-head-initial:not(.gk-mark) { background: #F2D9A8; color: #0E2A2A; }
.gh-head-avatar { position: relative; width: 26px; height: 26px; display: inline-block; flex: none; }
.gh-head-avatar img { position: absolute; inset: 0; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.gh-head-avatar .gh-head-initial { position: absolute; inset: 0; }

/* Author social links (0.18.3) */
.author-socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.author-socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--fg-2); border: 1px solid var(--ground-fog); background: transparent; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.author-socials a:hover, .author-socials a:focus-visible { color: var(--ground-cream); background: var(--ground-ink); border-color: var(--ground-ink); }
.author-socials svg { width: 17px; height: 17px; display: block; }

/* ---------- Snackable single page: blurb first, then the card that goes there ---------- */
.snack-page { background: var(--bg); }
.snack-page-head { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.snack-page-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin: 14px 0 0; text-wrap: balance; }
.snack-page-dest { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 0; font: 400 15px var(--font-sans); color: var(--fg-2); }
.snack-page-dest a { color: var(--fg-1); text-decoration-color: var(--realm, var(--action)); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.snack-page-dest [data-snack-where]:empty { display: none; }
.snack-page-content { max-width: 760px; margin: 0 auto; padding: 30px var(--gutter) 8px; display: flex; flex-direction: column; font-family: var(--font-serif); font-size: var(--read-size); line-height: var(--read-lh); }
.snack-page-content > * { order: 1; margin: 0 0 1em; max-width: none; }
.snack-page-content > .kg-bookmark-card, .snack-page-content > .kg-embed-card { order: 2; margin: 1.4em 0 0; width: 100%; }
.snack-page .kg-bookmark-card a.kg-bookmark-container { display: flex; flex-direction: column-reverse; min-height: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--rule); background: var(--ground-cream); box-shadow: 0 26px 50px -34px rgb(14 42 42 / .5); transition: transform .25s, box-shadow .25s; }
.snack-page .kg-bookmark-card a.kg-bookmark-container:hover { transform: translateY(-3px); box-shadow: 0 34px 60px -34px rgb(14 42 42 / .6); }
.snack-page .kg-bookmark-thumbnail { position: relative; width: 100%; min-width: 0; max-height: none; aspect-ratio: 1.91 / 1; flex: none; }
.snack-page .kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.snack-page .kg-bookmark-content { padding: 22px 26px 24px; }
.snack-page .kg-bookmark-title { font: 500 clamp(22px, 2.4vw, 27px)/1.2 var(--font-serif); }
.snack-page .kg-bookmark-description { font: 400 15.5px/1.5 var(--font-sans); margin-top: 8px; -webkit-line-clamp: 3; max-height: none; }
.snack-page .kg-bookmark-metadata { margin-top: 14px; font: 500 13.5px var(--font-sans); color: var(--fg-2); }
.snack-page .kg-bookmark-content::after { content: "Go to it \2197"; display: inline-block; margin-top: 16px; font: 600 14px var(--font-sans); letter-spacing: .02em; color: var(--fg-1); border-bottom: 2px solid var(--realm, var(--action)); padding-bottom: 2px; }
/* No preview image from the other site: a designed card, so a bare link still has presence */
.snack-page .kg-bookmark-card.is-bare a.kg-bookmark-container { flex-direction: column; justify-content: flex-end; min-height: 300px; border: 0; color: #F8F2E6;
  background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / .16), transparent 55%), repeating-linear-gradient(115deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 16px), linear-gradient(150deg, var(--realm, #3F9A6D), color-mix(in srgb, var(--realm, #3F9A6D) 45%, #0E2A2A)); }
.snack-bare-site { padding: 30px 26px 0; font: 500 clamp(34px, 5vw, 54px)/1 var(--font-serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.snack-page .is-bare .kg-bookmark-title, .snack-page .is-bare .kg-bookmark-metadata, .snack-page .is-bare .kg-bookmark-description { color: inherit; }
.snack-page .is-bare .kg-bookmark-description, .snack-page .is-bare .kg-bookmark-metadata { opacity: .8; }
.snack-page .is-bare .kg-bookmark-content::after { color: inherit; border-color: currentColor; }
.snack-page-nav { max-width: 760px; margin: 28px auto 0; padding: 22px var(--gutter) 56px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: start; border-top: 1px solid var(--rule); font: 400 15px/1.35 var(--font-sans); }
.snack-page-nav a { color: var(--fg-1); text-decoration: none; }
.snack-page-nav a:hover { color: var(--action-deep); }
.snack-page-nav small { display: block; font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.snack-page-nav a:last-child:not(.snack-page-all) { text-align: right; grid-column: 3; }
.snack-page-all { grid-column: 2; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .snack-page-nav { grid-template-columns: 1fr; } .snack-page-nav a:last-child:not(.snack-page-all), .snack-page-all { grid-column: auto; text-align: left; } }
.snack-page .snack-page-head .article-tax { justify-content: flex-start; text-align: left; }
.snack-page-report { max-width: 760px; margin: 0 auto; padding: 14px var(--gutter) 0; font: 400 13.5px var(--font-sans); color: var(--fg-3); }
.snack-page-report a { color: var(--fg-2); text-underline-offset: 3px; }

/* ---------- 0.18.9: Snackables lead, Surprise me, home strip ---------- */
.snack-hero-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.snack-surprise { font-size: 17px; padding: 15px 32px; }
.snack-hero-note { margin: 0; max-width: 520px; font: 400 14.5px/1.5 var(--font-sans); color: rgba(248,242,230,.72); }
.snack-hero-note a { color: inherit; text-underline-offset: 3px; }
.snack-lead { margin: 0 0 44px; scroll-margin-top: 96px; }
.snack-lead[hidden] { display: none; }
.snack-lead .eyebrow { margin: 0 0 14px; }
.snack-lead-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.snack-lead-main .snack { padding: clamp(24px, 3vw, 38px); background: #fff; box-shadow: inset 0 5px 0 var(--aff, var(--rule)), var(--shadow-3); }
.snack-lead-main .snack-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.snack-lead-main .snack-emoji { font-size: 40px; }
.snack-lead-main .snack-text { font-size: 17.5px; line-height: 1.6; }
.snack-lead-main .snack-go a { font-size: 16px; }
.is-dip .snack-lead-main .snack { animation: snack-flip .45s ease-out; }
/* The newest (or picked) Snackable shows its picture: the video's thumbnail or the link's own image. */
.snack-pic { position: relative; display: block; margin: 0 0 20px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2, #efe9dd); }
.snack-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.snack-pic:hover img { transform: scale(1.03); }
.snack-pic.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(10, 20, 22, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") center / 30px no-repeat;
  box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .3s; }
.snack-pic.is-video:hover::after { transform: scale(1.08); }
@keyframes snack-flip { from { opacity: 0; transform: translateY(10px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
.snack-lead-again { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.snack-lead-side ul { list-style: none; margin: 0; padding: 0; }
.snack-lead-side a { display: flex; gap: 12px; align-items: flex-start; padding: 13px 2px; text-decoration: none; color: var(--fg-1); border-bottom: 1px solid var(--rule); }
.snack-lead-side li:first-child a { border-top: 1px solid var(--rule); }
.snack-lead-side a:hover b { color: var(--action-deep); }
.snack-lead-e { font-size: 22px; line-height: 1.15; flex: none; }
.snack-lead-side b { display: block; font: 500 16px/1.3 var(--font-sans); }
.snack-lead-side small { display: block; margin-top: 4px; font: 600 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--aff); filter: saturate(.9) brightness(.85); }
@media (max-width: 860px) { .snack-lead-grid { grid-template-columns: minmax(0, 1fr); } }
.sp-mini-head .sp-snack-dip { font-weight: 600; }
.sp-front + .sp-mid { padding-top: clamp(8px, 2vw, 24px); }

/* 0.18.10: bookmark icon sits with the site name, not centred like a content image */
.kg-bookmark-card .kg-bookmark-metadata img.kg-bookmark-icon { margin: 0 8px 0 0; flex: none; border-radius: 4px; }

/* Ebooks for Friends (custom-ebooks.hbs): a gallery of covers built from Product cards */
.eb-top { background: var(--ground-forest); color: var(--ground-cream); }
.eb-top .wrap { padding-block: clamp(44px, 7vh, 76px) clamp(36px, 5vh, 56px); }
.eb-top .hero-title { margin: 10px 0 12px; }
.eb-top .hero-lede { margin: 0; }
.eb-top .hero-lede { max-width: 38em; }
.eb-shelf { background: var(--bg); }
.eb-shelf > .wrap { padding-block: clamp(36px, 6vh, 64px); }
.eb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 24px; max-width: none; align-items: start; }
.eb-gallery > * { grid-column: 1 / -1; margin: 0; }
.eb-gallery > p { font-family: var(--font-serif); font-size: 21px; line-height: 1.5; max-width: 36em; }
.eb-gallery > .kg-product-card { grid-column: auto; width: 100%; margin: 0; }
.eb-gallery .kg-product-card-container { display: flex; flex-direction: column; height: 100%; padding: 0; gap: 0; border: 0; background: transparent; border-radius: 0; max-width: none; }
.eb-gallery .kg-product-card-image { order: 0; width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: -4px 0 0 rgba(0,0,0,.18) inset, 0 14px 30px -12px rgba(30,40,38,.45), 0 2px 6px rgba(30,40,38,.18); margin: 0 0 18px; transition: transform .25s ease, box-shadow .25s ease; }
.eb-gallery .kg-product-card:hover .kg-product-card-image { transform: translateY(-4px) rotate(-.6deg); box-shadow: -4px 0 0 rgba(0,0,0,.18) inset, 0 22px 40px -14px rgba(30,40,38,.5), 0 2px 6px rgba(30,40,38,.18); }
.eb-gallery .kg-product-card-header { margin: 0 0 6px; }
.eb-gallery .kg-product-card-title { font-family: var(--font-serif) !important; font-weight: 500; font-size: 24px; line-height: 1.15; margin: 0; }
.eb-gallery .kg-product-card-description { font-size: 15px; line-height: 1.5; color: var(--fg-2); margin: 0 0 16px; }
.eb-gallery .kg-product-card-description p { margin: 0; }
.eb-gallery .kg-product-card-button { text-decoration: none; font-family: var(--font-sans); margin-top: auto; align-self: flex-start; width: auto; height: auto; padding: 10px 18px; border-radius: 999px; background: #C68A3A; color: #fff; font-size: 14px; font-weight: 600; }
.eb-gallery .kg-product-card-button:hover { background: #A9732C; opacity: 1; }
.eb-gallery .kg-product-card-rating { display: none; }
.eb-not-yet { margin: 28px 0 0; font-size: 16px; color: var(--fg-2); }
@media (max-width: 520px) { .eb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .eb-gallery .kg-product-card-title { font-size: 19px; } .eb-gallery .kg-product-card-description { font-size: 14px; } }
.eb-gallery .gh-post-upgrade-cta { display: none; }


/* Friends page (Nov 2026): swatches, the patch strip, what Friends get, how Grokkist keeps going, kindred organisations */
.fr-show { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 14px; cursor: pointer; }
.fr-show input { width: 18px; height: 18px; accent-color: #3E5C5A; }
.fr-top { padding-bottom: 0; }
.fr-top-inner { padding-bottom: clamp(36px, 5vh, 56px); }
.fr-tier { gap: 0; }
.fr-swatch { width: 56px; height: 56px; min-height: 0; padding: 0; border-radius: 6px; margin: 0 0 16px; --c1: #E2A84B; --c2: #F3D79C; }
.fr-tier-patron .fr-swatch { --c1: #4F8C82; --c2: #9CC8BC; }
.fr-swatch .fr-button { position: absolute; right: -5px; top: -5px; }
.fr-swatch::before { inset: 4px; }
.fr-swatch-thread { border: 1.5px dashed color-mix(in srgb, var(--ground-cream) 60%, transparent); background: radial-gradient(circle at 50% 50%, transparent 0 14px, color-mix(in srgb, var(--ground-cream) 18%, transparent) 15px 16px, transparent 17px); }
.fr-tier-name { opacity: .85; }
.fr-tier-desc { font-size: 15px; line-height: 1.45; margin: -6px 0 18px; opacity: .85; }
.fr-top-fine { margin: 0; }
.fr-strip { display: grid; grid-template-columns: repeat(12, 1fr); height: 34px; overflow: hidden; }
.fr-strip .fr-patch { min-height: 0; padding: 0; height: 34px; }
.fr-strip .fr-patch::before { inset: 4px; }
.fr-gets-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fr-get { background: var(--bg); border: 1.5px solid var(--rule); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fr-get-mark { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 6px; margin-bottom: 10px; }
.fr-get-mark::before { inset: 4px; }
.fr-get h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; line-height: 1.15; margin: 0; }
.fr-get p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.fr-how-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 16px; margin-top: 8px; align-items: stretch; }
.fr-how-col { border-radius: 16px; padding: 24px 22px; min-width: 0; }
.fr-how-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--font-serif); font-size: 21px; line-height: 1.3; }
.fr-how-col li { padding-left: 22px; position: relative; }
.fr-how-col li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 2px; background: currentColor; opacity: .55; }
.fr-how-k { font: 600 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; opacity: .8; }
.fr-how-free { background: var(--ground-cream, #FBF5E8); border: 1.5px solid var(--rule); }
.fr-how-paid { background: var(--ground-forest); color: var(--ground-cream); }
.fr-how-note { margin: 16px 0 0; font-size: 15px; opacity: .8; }
.fr-how-friends { border: 1.5px dashed #C68A3A; }
.fr-how-friends p:not(.fr-how-k) { font-family: var(--font-serif); font-size: 20px; line-height: 1.5; margin: 0; }
.fr-allies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.fr-ally { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; border: 1.5px solid var(--rule); background: var(--ground-cream, #FBF5E8); color: var(--fg-2); text-decoration: none; font-size: 15px; line-height: 1.45; transition: border-color .2s, transform .2s; min-width: 0; }
.fr-ally b { color: var(--fg-1); font-size: 17px; }
.fr-ally:hover { border-color: #3E5C5A; transform: translateY(-2px); }
.fr-ally-logo { height: 64px; display: flex; align-items: center; margin-bottom: 8px; }
.fr-ally-logo img { max-height: 64px; max-width: 180px; object-fit: contain; }
.fr-ally-mono { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #3E5C5A; color: var(--ground-cream, #FBF5E8); font: 600 20px var(--font-sans); letter-spacing: .04em; overflow: hidden; }
.fr-allies-ask { font-size: 15px; color: var(--fg-2); margin: 18px 0 0; }
@media (max-width: 960px) { .fr-gets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fr-how-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fr-gets-grid { grid-template-columns: 1fr; } .fr-strip { grid-template-columns: repeat(6, 1fr); } .fr-strip .fr-patch:nth-child(n+7) { display: none; } }




/* ===== Friends page: Lars's pass, 13 Nov 2026 ===== */
/* Kindred organisations: five or more fit on one row on a laptop */
.fr-allies-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
/* Tier cards: a stitched inner seam, like the patches */
.fr-tier { position: relative; }
.fr-tier:not(.fr-tier-once)::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgb(47 74 72 / .22); border-radius: 13px; pointer-events: none; }

/* What Friends get: each thank-you is a piece of cloth with its own small object */
.fr-gets-grid { gap: 18px; }
.fr-get.fr-get2 { padding: 0; overflow: hidden; gap: 0; background: var(--ground-cream, #FBF5E8); }
.fr-get-cloth { min-height: 0; height: 120px; padding: 0; display: grid; place-items: center; border-radius: 0; }
.fr-get-cloth::before { inset: 7px; }
.fr-get-ic { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: #FBF4E4; display: grid; place-items: center; box-shadow: 0 2px 6px rgb(0 0 0 / .18); color: #2F4A48; }
.fr-get-ic::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgb(43 36 32 / .35); border-radius: 50%; }
.fr-get-ic svg { width: 30px; height: 30px; }
.fr-get-txt { padding: 18px 20px 22px; display: grid; gap: 6px; }
.fr-same { margin: 26px 0 0; display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--fg-2); max-width: 46rem; }
.fr-same .fr-same-patch { width: 56px; height: 56px; min-height: 0; padding: 0; flex: none; border-radius: 3px; }
.fr-same .fr-same-patch::before { inset: 4px; }
.fr-same .fr-same-patch .fr-button { right: 6px; top: 6px; }

/* How Grokkist keeps going: three directions to choose from */
.fr-how [data-dir] { display: none; }
.fr-how[data-show="ab"] [data-dir="ab"], .fr-how[data-show="a"] [data-dir="a"], .fr-how[data-show="b"] [data-dir="b"], .fr-how[data-show="c"] [data-dir="c"] { display: block; }
.fr-how[data-show="c"] { padding-block: clamp(32px, 5vh, 52px); }
/* A: follow the thread */
.fr-flow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1.2fr); align-items: stretch; margin-top: 8px; }
.fr-flow-col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.fr-flow-k { font: 600 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 2px; }
.fr-node { border-radius: 16px; padding: 18px 18px 16px; min-width: 0; position: relative; }
.fr-node h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
.fr-node p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--fg-2); }
.fr-node a { color: inherit; font-weight: 600; }
.fr-node-in { background: var(--ground-cream, #FBF5E8); border: 1.5px solid var(--rule); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.fr-node-in .fr-patch { width: 34px; height: 34px; min-height: 0; padding: 0; border-radius: 6px; }
.fr-node-in .fr-patch::before { inset: 3px; }
.fr-node-cost { background: #F6ECD6; border: 1.5px dashed #C68A3A; }
.fr-node-free { background: var(--ground-forest); color: var(--ground-cream); }
.fr-node-free p, .fr-node-free li { color: color-mix(in srgb, var(--ground-cream) 86%, transparent); }
.fr-node-free ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-family: var(--font-serif); font-size: 20px; line-height: 1.25; }
.fr-node-free li { padding-left: 22px; position: relative; }
.fr-node-free li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; border-radius: 2px; background: #F2B233; }
.fr-thread { position: relative; }
.fr-thread::before { content: ""; position: absolute; left: 8px; right: 14px; top: 50%; border-top: 2.5px dashed #C68A3A; }
.fr-thread::after { content: ""; position: absolute; right: 6px; top: calc(50% - 6px); border: 6px solid transparent; border-left: 10px solid #C68A3A; border-right: 0; transform: translateY(1px); }
.fr-seedrow { grid-column: 3 / 6; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--rule); background: var(--bg); position: relative; }
.fr-seedrow::before { content: ""; position: absolute; left: 22%; top: -20px; height: 18px; border-left: 2.5px dashed #C68A3A; }
.fr-seedrow .fr-seeds { width: 40px; height: 40px; position: relative; }
.fr-seedrow .fr-seeds span { position: absolute; border-radius: 60% 40% 55% 45% / 60% 50% 50% 40%; }
.fr-seedrow .fr-seeds span:nth-child(1) { width: 18px; height: 23px; left: 2px; top: 13px; rotate: -20deg; background: radial-gradient(circle at 35% 30%, #F7C65A, #C68A3A); }
.fr-seedrow .fr-seeds span:nth-child(2) { width: 15px; height: 19px; left: 20px; top: 2px; rotate: 18deg; background: radial-gradient(circle at 35% 30%, #8FCDAE, #3FA27A); }
.fr-seedrow .fr-seeds span:nth-child(3) { width: 14px; height: 17px; left: 23px; top: 22px; rotate: 40deg; background: radial-gradient(circle at 35% 30%, #F09AC2, #E6458F); }
.fr-seedrow p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.fr-seedrow b { color: var(--fg-1); }
.fr-flow-sum { margin: 26px 0 0; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.4; max-width: 46ch; }
/* B: a year of the free part, as twelve patches */
.fr-year { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 40px; align-items: center; margin-top: 8px; }
.fr-year-n { font-family: var(--font-serif); font-weight: 500; font-size: clamp(56px, 7vw, 88px); line-height: .95; margin: 0; }
.fr-year-n small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 17px; color: var(--fg-2); margin-top: 10px; line-height: 1.4; }
.fr-year-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-radius: 10px; overflow: hidden; background: #3E5C5A; padding: 8px; gap: 0; box-shadow: inset 0 0 0 4px #2F4A48; }
.fr-year-strip .fr-patch { min-height: 0; height: 70px; padding: 0; }
.fr-year-strip .fr-patch::before { inset: 4px; }
.fr-year-strip .fr-gap { height: 70px; border: 1.5px dashed rgb(246 236 214 / .45); margin: 4px; border-radius: 3px; }
.fr-year-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); font: 600 10px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); text-align: center; margin-top: 6px; }
.fr-year-cap { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.fr-year-cap b { color: var(--fg-1); }
.fr-example { display: inline-block; font: 600 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #F2B233; color: #2F2410; vertical-align: middle; margin-left: 8px; }
/* C: one sentence */
.fr-one { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 22px 26px; border-radius: 18px; background: var(--ground-cream, #FBF5E8); border: 1.5px solid var(--rule); }
.fr-one p { margin: 0; font-family: var(--font-serif); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.4; }

/* The quilt before anyone is named */
.fr-quilt-empty { display: none; }
.fr-quilt-band[data-quilt="empty"] .fr-quilt, .fr-quilt-band[data-quilt="empty"] .fr-sample, .fr-quilt-band[data-quilt="empty"] .fr-count { display: none; }
.fr-quilt-band[data-quilt="empty"] .fr-quilt-empty { display: block; }
.fr-quilt-empty { margin-top: 16px; padding: 16px; border-radius: 10px; background: #3E5C5A; box-shadow: inset 0 0 0 6px #2F4A48; position: relative; }
.fr-quilt-empty::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgb(246 236 214 / .5); border-radius: 6px; pointer-events: none; }
.fr-ghosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fr-ghosts span { height: 112px; margin: 5px; border: 1.5px dashed rgb(246 236 214 / .32); border-radius: 3px; }
.fr-ghosts .fr-first { border: 0; margin: 5px; height: 112px; min-height: 0; padding: 0; border-radius: 3px; }
.fr-empty-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-1deg); width: min(440px, calc(100% - 48px)); background: #FBF4E4; border-radius: 6px; padding: 26px 26px 22px; text-align: center; box-shadow: 0 10px 30px rgb(0 0 0 / .3); color: #2B2420; }
.fr-empty-card::after { content: ""; position: absolute; inset: 6px; border: 1px dashed rgb(43 36 32 / .35); border-radius: 3px; pointer-events: none; }
.fr-empty-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 28px; margin: 8px 0 6px; line-height: 1.1; }
.fr-empty-card p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: #5B5148; }
.fr-empty-card .fr-needle { width: 46px; height: 46px; color: #C68A3A; }
.fr-empty-card .btn { position: relative; z-index: 1; }

/* Three more fabrics for the patch picker. Port: add plaid|wave|herring to FABRIC in main.js and PATCH_OK in the Worker. */
.fr-patch.p-plaid { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c1) 70%, transparent) 0 7px, transparent 7px 20px), repeating-linear-gradient(0deg, color-mix(in srgb, var(--c1) 55%, transparent) 0 7px, transparent 7px 20px), repeating-linear-gradient(90deg, transparent 0 13px, rgb(255 255 255 / .35) 13px 14px, transparent 14px 20px), var(--c2); }
.fr-patch.p-wave { background: radial-gradient(circle at 50% 100%, transparent 5.5px, var(--c1) 6px 9px, transparent 9.5px) 0 0 / 20px 11px, var(--c2); }
.fr-patch.p-herring { background: linear-gradient(135deg, var(--c1) 25%, transparent 25%) -8px 0 / 16px 16px, linear-gradient(225deg, var(--c1) 25%, transparent 25%) -8px 0 / 16px 16px, linear-gradient(315deg, var(--c1) 25%, transparent 25%) 0 0 / 16px 16px, linear-gradient(45deg, var(--c1) 25%, transparent 25%) 0 0 / 16px 16px, var(--c2); }

@media (max-width: 960px) {
  .fr-flow { grid-template-columns: minmax(0, 1fr); }
  .fr-thread { height: 44px; }
  .fr-thread::before { left: 50%; right: auto; top: 6px; bottom: 12px; border-top: 0; border-left: 2.5px dashed #C68A3A; }
  .fr-thread::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 2px; border: 6px solid transparent; border-top: 10px solid #C68A3A; border-bottom: 0; transform: none; }
  .fr-seedrow { grid-column: 1; }
  .fr-seedrow::before { left: 50%; }
  .fr-year { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .fr-one { grid-template-columns: 1fr; }
  .fr-year-strip .fr-patch, .fr-year-strip .fr-gap { height: 44px; }
  .fr-year-months { font-size: 8px; letter-spacing: 0; }
  .fr-get-cloth { height: 96px; }
}
/* How Grokkist keeps going: the money as one quilt bar, read left to right; the frame shows through as a seam between the four groups. */
.fr-qflow { display: grid; grid-template-columns: 2fr 1.5fr 4fr 1.5fr; column-gap: 14px; margin-top: 16px; }
.fr-qframe { grid-row: 2; grid-column: 1 / -1; border-radius: 10px; background: #3E5C5A; box-shadow: inset 0 0 0 4px #2F4A48; }
.fr-qgroup { display: contents; }
.fr-qgroup > * { grid-column: var(--col); }
.fr-qk { grid-row: 1; margin: 0 0 14px; padding-left: 8px; font: 600 11px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.fr-qstrip { grid-row: 2; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); padding: 8px 0; position: relative; }
.fr-qframe + .fr-qgroup .fr-qstrip { padding-left: 8px; }
.fr-qflow > .fr-qgroup:last-child .fr-qstrip { padding-right: 8px; }
.fr-qstrip .fr-patch { min-height: 0; height: 150px; padding: 0; display: grid; place-items: center; }
.fr-qstrip .fr-patch::before { inset: 4px; }
.fr-qtag { position: relative; max-width: calc(100% - 16px); padding: 7px 8px 8px; background: #FBF4E4; color: #2B2420; border-radius: 3px; font-family: var(--font-serif); font-size: 15px; line-height: 1.15; text-align: center; hyphens: manual; box-shadow: 0 1px 3px rgb(0 0 0 / .18); }
.fr-qtag::after { content: ""; position: absolute; inset: 3px; border: 1px dashed rgb(43 36 32 / .28); border-radius: 2px; }
.fr-qcap { grid-row: 3; margin: 16px 0 0; padding-left: 8px; font-size: 15px; line-height: 1.55; color: var(--fg-2); max-width: 34ch; }
.fr-qcap a { color: var(--fg-1); font-weight: 600; }
.fr-qflow + .fr-flow-sum { margin-top: 40px; }
@media (max-width: 1180px) { .fr-qtag { font-size: 13.5px; padding: 6px 6px 7px; max-width: calc(100% - 10px); } }
/* Below laptop width: the same bar in two rows. Comes in + Pays first on top; Keeps free + Anything left underneath. */
.fr-qframe2 { display: none; }
@media (max-width: 1023px) {
  .fr-qflow { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; }
  .fr-qframe { grid-row: 2; grid-column: 1 / -1; }
  .fr-qframe2 { display: block; grid-row: 5; grid-column: 1 / -1; }
  .fr-qg1 > *, .fr-qg3 > * { padding-left: 8px; }
  .fr-qg1 > * { grid-column: 1 / 8; } .fr-qg2 > * { grid-column: 8 / 13; }
  .fr-qg3 > * { grid-column: 1 / 10; } .fr-qg4 > * { grid-column: 10 / 13; }
  .fr-qg1 .fr-qk, .fr-qg2 .fr-qk { grid-row: 1; } .fr-qg1 .fr-qstrip, .fr-qg2 .fr-qstrip { grid-row: 2; } .fr-qg1 .fr-qcap, .fr-qg2 .fr-qcap { grid-row: 3; }
  .fr-qg3 .fr-qk, .fr-qg4 .fr-qk { grid-row: 4; margin-top: 28px; } .fr-qg3 .fr-qstrip, .fr-qg4 .fr-qstrip { grid-row: 5; } .fr-qg3 .fr-qcap, .fr-qg4 .fr-qcap { grid-row: 6; }
  .fr-qstrip { padding: 8px 0 !important; }
  .fr-qg1 .fr-qstrip, .fr-qg3 .fr-qstrip { padding-left: 8px !important; }
  .fr-qg2 .fr-qstrip, .fr-qg4 .fr-qstrip { padding-right: 8px !important; }
  .fr-qk, .fr-qcap { padding-left: 8px; }
  .fr-qstrip .fr-patch { height: 128px; }
  .fr-qcap { max-width: none; margin-top: 12px; font-size: 14.5px; }
  .fr-qtag { hyphens: none; }
}
@media (max-width: 640px) {
  .fr-qflow { column-gap: 10px; }
  .fr-qg1 > * { grid-column: 1 / 9; } .fr-qg2 > * { grid-column: 9 / 13; }
  .fr-qg3 > * { grid-column: 1 / 9; } .fr-qg4 > * { grid-column: 9 / 13; }
  .fr-qk { font-size: 10px; letter-spacing: .1em; }
  .fr-qstrip .fr-patch { height: 100px; }
  .fr-qg3 .fr-qstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-qg4 .fr-qstrip { grid-template-rows: 1fr; } .fr-qg4 .fr-qstrip .fr-patch { height: auto; min-height: 200px; }
  .fr-qtag { font-size: 13px; padding: 5px 6px 6px; max-width: calc(100% - 10px); }
  .fr-qcap { font-size: 13.5px; line-height: 1.5; }
}
@media (max-width: 359px) { .fr-qtag { hyphens: manual; font-size: 12px; } }
.fr-word { white-space: nowrap; }
.fr-i { position: relative; display: inline-block; }
.fr-heart { position: absolute; left: 50%; top: .12em; width: .25em; height: .24em; translate: -50% 0; rotate: -8deg; pointer-events: none; }
.fr-heart svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); }

/* For organisations: sponsorship and accompaniment, under the kindred organisations */
.fr-orgs { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 32px; align-items: start; padding: 24px 26px; border-radius: 16px; background: var(--ground-cream, #FBF5E8); border: 1.5px dashed #C68A3A; }
.fr-orgs h3 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 6px 0 0; }
.fr-orgs p:not(.eyebrow) { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fg-2); }
.fr-orgs a { color: var(--fg-1); font-weight: 600; }
@media (max-width: 720px) { .fr-orgs { grid-template-columns: 1fr; } }

/* Friends page: currency, manage line (Nov 2026) */
.fr-cur { font-size: .5em; font-weight: 600; letter-spacing: .08em; text-decoration: none; opacity: .7; vertical-align: .35em; }
.fr-manage { margin: -20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; opacity: .85; }
.fr-manage a { color: inherit; font-weight: 600; }
.fr-manage-note { opacity: .7; }
.fr-manage-dot { opacity: .5; }
.fr-manage-patch { width: 18px; height: 18px; min-height: 0; padding: 0; border-radius: 2px; flex: none; }
.fr-manage-patch::before { display: none; }
.fr-wait { margin: 0 0 14px; padding: 12px 16px; border-radius: 4px; background: color-mix(in srgb, #D9A04A 16%, transparent); border: 1.5px dashed #D9A04A; font-size: 15px; }
.fr-wait a { color: inherit; font-weight: 600; }
.fr-young { margin: 0 0 16px; font-size: 15px; opacity: .8; max-width: 46rem; font-style: italic; }
.fr-name-in { display: grid; gap: 4px; margin: 10px 0 4px; font-size: 14px; }
.fr-name-in input { font: inherit; padding: 8px 10px; border: 1.5px solid currentColor; border-radius: 4px; background: transparent; color: inherit; max-width: 22rem; }

/* ---------- Event page (custom-event.hbs): one dated gathering, in the Network's daylight world ---------- */
.post-template-custom-event .site-main { background: #FBF6E6; }
.event { --ev-paper: #FBF6E6; --ev-paper-2: #F3EBD2; --ev-card: #FFFDF6; --ev-ink: #163C40; --ev-muted: #4D6966; --ev-rule: rgba(22,60,64,.14); --ev-teal: #0B7F92;
  color: var(--ev-ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; }
.event .wrap { max-width: 1120px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.ev-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 13px var(--font-sans); color: var(--ev-muted); padding-block: 18px 0; }
.ev-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--ev-rule); }
.ev-banner-wrap { position: relative; margin: 18px 0 0; }
.ev-banner-wrap::before { content: ""; position: absolute; inset: -8px; border: 2px solid #fff; border-radius: 28px; transform: rotate(-.7deg); box-shadow: 0 0 0 1px var(--ev-rule); }
.ev-banner { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 2.8 / 1; box-shadow: 0 18px 40px rgba(22,60,64,.18); }
.ev-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: 34px 70px; }
.ev-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.ev-kind { font: 500 12.5px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ev-teal); display: inline-flex; align-items: center; gap: 8px; }
.ev-kind::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ev-dot, #34D99C); }
.ev-pill { font: 500 12px var(--font-sans); letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--ev-paper-2); color: var(--ev-muted); }
.ev-pill:empty { display: none; }
.ev-pill.is-friends { background: rgba(188,102,243,.14); color: #7535A8; }
.ev-title { font: 400 clamp(34px, 4.6vw, 56px)/1.05 "Fraunces", var(--font-serif); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.ev-title em { color: var(--ev-teal); }
.ev-when { font: 500 14.5px var(--font-sans); margin: 14px 0 0; }
.ev-when:empty { display: none; }
.ev-lead { font: italic 400 clamp(20px, 2vw, 23px)/1.5 "Fraunces", var(--font-serif); margin: 26px 0 8px; }
.ev-body { font-family: var(--font-sans); font-size: 17px; }
.ev-body > * { max-width: 62ch; }
.ev-body p { margin: 0 0 16px; }
.ev-body h2 { font: 400 28px/1.15 "Fraunces", var(--font-serif); margin: 34px 0 14px; }
.ev-host-wrap h2 { font: 400 28px/1.15 "Fraunces", var(--font-serif); margin: 34px 0 14px; }
.ev-host { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--ev-card); border: 1px solid var(--ev-rule); border-radius: 18px; padding: 18px; max-width: 62ch; }
.ev-av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #FA47A6, #F9B804); display: grid; place-content: center; color: #fff; font: 800 24px var(--font-sans); }
.ev-host h3 { font: 600 18px var(--font-sans); margin: 0; }
.ev-host p { margin: 6px 0 0; color: var(--ev-muted); font-size: 15.5px; }
.ev-host p:empty { display: none; }
.ev-side { position: sticky; top: 76px; display: grid; gap: 14px; }
.ev-ticket { background: var(--ev-card); border: 1px solid var(--ev-rule); border-radius: 22px; padding: 20px; box-shadow: 0 10px 30px rgba(22,60,64,.08); }
.ev-date { display: flex; gap: 14px; align-items: center; }
.ev-cal { width: 62px; flex: none; border-radius: 14px; overflow: hidden; text-align: center; border: 1px solid var(--ev-rule); background: #fff; }
.ev-cal small { display: block; background: #F72A2A; color: #fff; font: 600 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 0; }
.ev-cal b { display: block; font: 800 26px/1.3 var(--font-sans); }
.ev-d1 { font-weight: 600; } .ev-d2 { font: 500 13px var(--font-sans); color: var(--ev-muted); }
.ev-seat { width: 100%; margin-top: 14px; font: 600 15px var(--font-sans); border: 0; border-radius: 10px; padding: 13px 16px; cursor: pointer; background: #FFDE59; color: #3a2d00; transition: box-shadow .2s; }
.ev-seat:hover { box-shadow: 0 0 0 6px rgba(255,222,89,.35); }
.ev-seat:disabled { background: rgba(52,217,156,.2); color: #1f6e48; box-shadow: none; cursor: default; }
.ev-seat:focus-visible, .ev-alt a:focus-visible, .ev-alt button:focus-visible { outline: 2px solid var(--ev-teal); outline-offset: 3px; }
.ev-seat-msg { margin: 10px 0 0; font-size: 14px; color: var(--ev-muted); }
.ev-facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ev-muted); }
.ev-facts li { display: flex; gap: 10px; } .ev-facts li span:first-child { width: 18px; flex: none; text-align: center; }
.ev-alt { display: flex; justify-content: space-between; margin-top: 12px; font: 500 12.5px var(--font-sans); }
.ev-alt a, .ev-alt button { color: var(--ev-muted); background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.ev-series { background: var(--ev-card); border: 1px solid var(--ev-rule); border-radius: 22px; padding: 18px 20px; }
.ev-series[hidden] { display: none; }
.ev-series h3 { font: 600 15px var(--font-sans); margin: 0 0 10px; }
.ev-more-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-more-dates span { font: 500 13px var(--font-sans); padding: 6px 10px; border-radius: 10px; background: var(--ev-paper-2); }
.ev-series a { display: inline-block; margin-top: 12px; font-size: 14.5px; color: var(--ev-ink); }
.ev-room { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: var(--ev-card); border: 1px solid var(--ev-rule); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ev-ink); }
.ev-room img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.ev-room div { padding: 10px 14px 10px 0; font-size: 14.5px; }
.ev-room:not(:has(img)) { grid-template-columns: 1fr; } .ev-room:not(:has(img)) div { padding: 14px 18px; }
.ev-room b { display: block; font: 900 14px var(--font-sans); text-transform: uppercase; }
.ev-seatbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--ev-card); border-top: 1px solid var(--ev-rule); box-shadow: 0 -8px 24px rgba(22,60,64,.1); align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.ev-seatbar b { display: block; font-size: 15px; } .ev-seatbar small { font: 500 12px var(--font-sans); color: var(--ev-muted); }
.ev-seatbar .ev-seat { width: auto; margin: 0; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } .ev-side { position: static; } }
@media (max-width: 560px) { .ev-seatbar { display: flex; } .event { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }
.event .ev-body.gh-content { grid-template-columns: [full-start wide-start main-start] minmax(0, 1fr) [main-end wide-end full-end]; padding: 0; margin: 0; }
.event .ev-body.gh-content > * { grid-column: main-start / main-end; }
.event .ev-body ol, .event .ev-body ul { padding-left: 1.3em; }
/* Event page: time zones, host link, calendar options, cancelled */
.ev-when { display: grid; gap: 2px; }
.ev-when-zone { color: var(--ev-muted); font-size: 13.5px; }
.ev-zone { margin-top: 12px; font: 500 12.5px var(--font-sans); color: var(--ev-ink); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.ev-zone-change { background: none; border: 0; padding: 0; font: inherit; color: var(--ev-teal); text-decoration: underline; cursor: pointer; }
.ev-zone-pick { display: grid; gap: 4px; margin-top: 8px; font: 500 12px var(--font-sans); color: var(--ev-muted); }
.ev-zone-pick[hidden] { display: none; }
.ev-zone-pick select { font: 400 14px var(--font-sans); padding: 8px 10px; border: 1px solid var(--ev-rule); border-radius: 10px; background: #fff; color: var(--ev-ink); max-width: 100%; }
.ev-hosttime { margin: 8px 0 0; font-size: 14px; color: var(--ev-muted); }
.ev-hosttime:empty { display: none; }
.ev-host h3 a { color: inherit; text-decoration: none; }
.ev-host h3 a:hover { text-decoration: underline; }
.ev-host .ev-host-loc { margin-top: 2px; font: 500 12.5px var(--font-sans); }
.ev-host-more { display: inline-block; margin-top: 10px; font-size: 14.5px; color: var(--ev-teal); }
img.ev-av { object-fit: cover; padding: 0; }
.ev-cal-more { margin-top: 14px; border-top: 1px solid var(--ev-rule); padding-top: 12px; font-size: 14px; }
.ev-cal-more summary { cursor: pointer; color: var(--ev-ink); font-weight: 500; }
.ev-cal-more p { margin: 8px 0; color: var(--ev-muted); }
.ev-cal-more a { display: block; padding: 4px 0; color: var(--ev-teal); }
.ev-alt span:empty { display: none; }
.ev-cancelled { margin: 12px 0 0; display: inline-block; padding: 6px 12px; border-radius: 10px; background: rgba(247,42,42,.12); color: #A11717; font-weight: 600; font-size: 15px; }
.event.is-cancelled .ev-title { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(161,23,23,.5); }
.event.is-cancelled .ev-banner { filter: grayscale(.8); opacity: .75; }
.gathering-host { display: flex; align-items: center; gap: 10px; }
.gathering-host:empty { display: none; }
.gathering-host a { color: inherit; }
.gathering-host-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.r-host-img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: -6px; margin-right: 2px; }
/* Author page: gatherings they host */
.author-events .ae-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ae-card { display: flex; flex-direction: column; background: var(--ground-cream, #FFFDF8); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--fg-1); }
.ae-card img { aspect-ratio: 2.8 / 1; object-fit: cover; width: 100%; }
.ae-text { display: grid; gap: 4px; padding: 12px 16px 16px; }
.ae-when { font: 500 13px var(--font-mono, ui-monospace, monospace); color: var(--fg-2); }
.ae-text b { font: 500 20px/1.2 var(--font-serif); }
.ae-text span:last-child:not(.ae-when) { color: var(--fg-2); font-size: 15px; }
.ae-past { margin-top: 22px; } .ae-past summary { cursor: pointer; font-weight: 500; margin-bottom: 14px; }
.ae-none { color: var(--fg-2); }
.ev-cancelled[hidden] { display: none; }
.rooms-card-host { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .86rem; opacity: .85; }
.rooms-card-host img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }


/* ---------- Author page: writing leads, gatherings in a side rail (0.22.0) ---------- */
.author-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.author-split.has-rail { grid-template-columns: minmax(0, 1fr) 300px; }
.author-split.has-rail .author-main .grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.author-split.has-rail.no-pieces { grid-template-columns: minmax(0, 1fr); }
.no-pieces .author-rail { position: static; max-width: 640px; }
.author-rail { position: sticky; top: 96px; display: grid; gap: 10px; padding: 20px; background: var(--ground-cream, #F8F2E6); border: 1px solid var(--rule); border-radius: 16px; }
.author-rail h2 { font: 400 22px/1.15 "Fraunces", var(--font-serif); margin: 0 0 4px; }
.author-rail .eyebrow { margin: 0; }
.ar-list { display: grid; gap: 4px; }
.ar-item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 8px 6px; margin: 0 -6px; border-radius: 10px; text-decoration: none; color: var(--fg-1); }
.ar-item:hover { background: rgba(14, 42, 42, 0.05); }
.ar-cal { display: grid; text-align: center; border: 1px solid var(--rule); border-radius: 8px; background: var(--bg, #FFFDF8); line-height: 1; padding: 5px 0 6px; }
.ar-cal small { font: 500 10px var(--font-mono, ui-monospace, monospace); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.ar-cal b { font: 500 19px var(--font-serif); margin-top: 3px; }
.ar-text { display: grid; gap: 2px; }
.ar-text b { font: 500 15.5px/1.25 var(--font-serif); }
.ar-text span { font-size: 13px; color: var(--fg-2); }
.ar-more { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--link, inherit); text-decoration: underline; cursor: pointer; }
.ar-past summary { cursor: pointer; font-size: 14px; color: var(--fg-2); }
.ar-past div { display: grid; gap: 6px; margin-top: 8px; }
.ar-past a { font-size: 14px; color: var(--fg-1); text-decoration: none; }
.ar-past a span { display: block; font: 500 11px var(--font-mono, ui-monospace, monospace); color: var(--fg-2); }
.ar-all { font-size: 14px; }
@media (max-width: 900px) {
  .author-split.has-rail { grid-template-columns: minmax(0, 1fr); }
  .author-rail { position: static; }
  .author-rail.is-inline { grid-column: 1 / -1; margin: 6px 0; }
  .author-rail.is-inline .ar-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 16px; }
}

/* ---------- Event page: From this gathering ---------- */
.ev-from { margin: 30px 0 8px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: 16px; background: var(--ground-cream, #F8F2E6); }
.has-from .ev-from { margin-top: 18px; }
.ev-from h2 { font: 400 24px/1.15 "Fraunces", var(--font-serif); margin: 0 0 10px; }
.ev-from-list { display: grid; gap: 6px; }
.ev-from-link { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--fg-1); }
.ev-from-link:first-child { border-top: 0; }
.ev-from-link small { grid-column: 1; font: 500 11px var(--font-mono, ui-monospace, monospace); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.ev-from-link b { grid-column: 1; font: 500 18px/1.25 var(--font-serif); }
.ev-from-link span { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ar-item[hidden], .author-rail[hidden], .ev-from[hidden], .ar-more[hidden] { display: none; }
