/* The family bar (Includes/FamilyBar.ss): the strip across the top of every Gong Logic
   site that says which one this is and links to the others.

   A static file on purpose. The main and music sites are built from the theme's
   stylesheet and the studio is not, and the bar has to be identical on all three —
   so it brings its own styles and depends on nobody's. The colours are the brand's:
   ink (#15151b) and the amber gold of the logo (#c8962f). */
.family { background: #15151b; color: #d3c8ac; font: 500 13px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.family__inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.family__name { letter-spacing: .08em; text-transform: uppercase; font-size: 11px; font-weight: 600; color: #a89e88; white-space: nowrap; }
.family__list { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.family__link { display: block; padding: 10px 12px; color: #e6dcc6; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.family__link:hover, .family__link:focus-visible { color: #ffffff; }
.family__link:focus-visible { outline: 2px solid #c8962f; outline-offset: -2px; }
.family__link[aria-current] { color: #ffffff; border-bottom-color: #c8962f; }
@media (max-width: 420px) {
    .family__name { display: none; }
    .family__inner { justify-content: center; }
}

/* Phones: the main site narrows its gutter to 1.25rem, so the bar does too. */
@media (max-width: 47.9375rem) {
    .family__inner { padding: 0 1.25rem; }
}

/* Light · Dark · Auto (Includes/FamilyBar.ss, static/family/family.js). Three icons in one pill,
   the chosen one lit in the logo's amber. */
.family__theme { display: inline-flex; flex: none; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.family__theme[hidden] { display: none; }
.family__mode { display: grid; place-items: center; width: 28px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #a89e88; cursor: pointer; }
.family__mode svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.family__mode .family__half { fill: currentColor; stroke: none; }
.family__mode[data-theme-choice="dark"] svg path { fill: currentColor; stroke: none; }
.family__mode:hover { color: #ffffff; }
.family__mode:focus-visible { outline: 2px solid #c8962f; outline-offset: 1px; }
.family__mode[aria-pressed="true"] { background: #c8962f; color: #15151b; }
.family__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 47.9375rem) {
    .family__link { padding: 10px 8px; }
    .family__inner { gap: 8px; }
}
@media (max-width: 420px) {
    .family__inner { justify-content: space-between; padding: 0 10px; }
    .family__link { padding: 10px 6px; font-size: 12.5px; }
    .family__mode { width: 24px; }
}
@media (max-width: 380px) {
    .family__inner { gap: 4px; padding: 0 6px; }
    .family__link { padding: 10px 4px; font-size: 12px; }
    .family__theme { gap: 0; }
    .family__mode { width: 24px; }
}

/* SIX SITES DO NOT FIT ACROSS A PHONE (code.gonglogic.com made the sixth, 2026-10-30): at 390px
   the bar was 18px wider than the screen and the whole page scrolled sideways. The padding above
   is already as tight as a tap target allows, so instead the LIST scrolls inside the bar, and
   the page never does. A seventh site needs nothing here. */
@media (max-width: 47.9375rem) {
    .family__list { min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
    .family__list::-webkit-scrollbar { display: none; }
}

/* Six sites and the theme switch have to fit a phone, or the last link is cut off under the switch. */
@media (max-width: 440px) {
    .family__list { gap: 0; min-width: 0; }
    .family__link { padding: 10px 4px; font-size: 12px; }
    .family__inner { gap: 4px; padding: 0 6px; }
    .family__mode { width: 24px; }
}

/* The accounts, at the foot of every site's pages (Includes/SocialFollow.ss). Here because this sheet is
   the one all the sites load; it takes each footer's own colour and size. */
.social-follow { margin: 0.5rem 0 0; font-size: inherit; color: inherit; line-height: 1.8; }
.social-follow a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
/* Hover keeps the footer's own text colour: the bare a:hover colour from main.css is near the dark
   footer background on music.gonglogic.com (1.27:1, check:music-hover, 2026-11-11). */
.social-follow a:hover, .social-follow a:focus-visible { color: inherit; text-decoration-thickness: 2px; }
/* A word page's line sending the reader to that word's own posts (WordsPageController_word.ss). */
.word-talk { margin: 1rem 0; font-size: 0.95rem; }
.word-talk a { white-space: nowrap; }
/* A row of the channel's videos, and the "playlist · subscribe" links beside any video (VideoStrip.ss,
   MusicVideo.ss, LibraryStoryVideo.ss; 2026-11-14). Colours are inherited, so it sits in either site's theme. */
.video-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.video-links a { display: inline-block; padding-block: 4px; }
.video-strip { margin: 2rem 0; }
.video-strip__title { margin: 0 0 0.75rem; font-size: 1.25rem; }
.video-strip__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.video-strip__link { display: flex; flex-direction: column; gap: 0.35rem; color: inherit; text-decoration: none; }
.video-strip__link:hover .video-strip__name { text-decoration: underline; }
.video-strip__poster { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.5rem; background: rgba(128, 128, 128, 0.15); }
.video-strip__name { font-weight: 600; line-height: 1.3; }
.video-strip__len { font-size: 0.85rem; opacity: 0.75; }
/* The Gong Logic email list's sign-up, the same on every site (EmailSignup.ss, 2026-11-14). */
.email-signup { margin: 2rem 0; padding: 1.25rem; max-width: 40rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-m); font-family: var(--font-ui); }
.email-signup.email-signup--compact { background: none; }
.email-signup .email-signup__title { margin: 0 0 0.35rem; font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; letter-spacing: 0; color: var(--ink); }
.email-signup__what { margin: 0 0 0.75rem; }
/* The theme draws every form as a centred card (_form-container.scss); this one is a row in its box. */
.email-signup .email-signup__form { width: auto; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.email-signup__form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.email-signup__label { flex-basis: 100%; font-weight: 600; font-size: 0.95rem; }
.email-signup .email-signup__input { flex: 1 1 14rem; min-height: 2.75rem; padding: 0.5rem 0.75rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-s); }
/* The site's accent, with its own text colour (tokens.css: at least 6:1 in both schemes). Written `.email-signup .email-signup__button` (0,2,0)
   because library.css's form reset `[data-area="library"] :where(…) :where(button…)
   { color: inherit }` is (0,1,0) and loads later, so it won: in dark mode the button took
   the page's light ink on gold, 2.15:1 (site checks, read-hover, 2026-11-13). */
.email-signup .email-signup__button { min-height: 2.75rem; padding: 0.5rem 1.1rem; font: inherit; font-weight: 600; color: var(--on-accent); background: var(--accent); border: 0; border-radius: var(--radius-pill); cursor: pointer; }
.email-signup .email-signup__button:hover { color: var(--on-accent); background: var(--accent-hover); }
/* The honeypot's wrapper is .visually-hidden, which library.css, music.css and shop.css define and
   the word pages' words.css does not, so there the "Website" trap field was on screen (site-basics,
   2026-11-14). Hidden here, so the form does not depend on the page's stylesheet. */
.email-signup .visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The trap field itself has no size: inside the clipped 1×1 box it still measured 19px tall, and the
   site check (site-basics, 2026-11-14) read it as a tap target under 24px. Not display:none, so a bot
   that skips hidden fields still fills it; a person can neither see it nor tab to it. */
.email-signup .email-signup__trap { display: block !important; width: 0 !important; height: 0 !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 0 !important; line-height: 0 !important; }
.email-signup .email-signup__small { margin: 0.6rem 0 0; font-size: var(--fs-1); color: var(--muted); }
.email-signup .email-signup__small a { color: var(--accent-ink); }
.email-signup .email-signup__small a:hover { color: var(--ink); }
.email-list-page { padding-block: 2rem 3rem; max-width: 44rem; }
.email-list-page__downloads { padding-left: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   THE SHARED COMPONENTS (redesign phase C, 2026-11-16)
   ═══════════════════════════════════════════════════════════════════════════════════════════════
   One header, one footer, and the few pieces every site draws: buttons, a card, a chip, the notice
   row, the buy box and the email box (above). Colours and sizes are tokens.css's; a site's
   personality is its --accent and nothing else.

   EVERY SELECTOR IS (0,2,0) OR MORE. The theme's main.css styles bare elements (h1, a, a:hover,
   ul, `* { margin: 0 }`) and may load after this file, so a single class would lose to `a:hover`
   (0,1,1). Hover rules change PAINT only (colour, background, border colour), never size or
   position: check:read-hover and its music, audio and main twins measure every link for that. */

/* ── THE HEADER: two rows (2026-11-16). The first, 56px on a phone and 64 on a wider screen, is WHICH
   SITE: the logo and the site bar, a tab for every site (Includes/SiteBar.ss). The second, 48px and
   quieter, is WHERE ON THIS SITE: its places, then the visitor's account or cart. The colour switch
   ends the header: in the first row on a wider screen, in the second on a phone, where the first row
   is the tabs'. One grid, so the switch is drawn once and only its cell moves. */
.gl-head.gl-head {
  position: relative;
  z-index: 30;
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: var(--fs-2);
  line-height: 1.3;
}
/* The second row is the page's paper under a hairline, full width: the quieter level. */
.gl-head.gl-head::before {
  content: '';
  position: absolute;
  inset: var(--head-h) 0 0 0;
  z-index: -1;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.gl-head .gl-head__in {
  display: grid;
  /* One row for which site (the logo, three tabs and More, the colours) on every width since
     2026-11-24: four items fit a phone, so the colours came up from the second row and a page with no
     places of its own (the front page) has no second row at all. */
  /* Four columns, so the account at the end of the second row (the Library's "Join free", the shop's
     cart) can be as wide as it needs without narrowing the tabs above it: the bar spans the third
     column, which only the account sizes. With three, the Library's tabs got 170px of a phone's 390
     and "Languages" was cut to "Lang…". */
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-rows: var(--head-h) auto;
  grid-template-areas:
    "home bar bar theme"
    "nav nav you you";
  align-items: center;
  column-gap: var(--s-1);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 48rem) {
  .gl-head .gl-head__in { column-gap: var(--s-2); }
}

/* The logo: this site's own front page. The mark alone on a phone; the name beside it where it fits. */
.gl-head .gl-bar__home {
  grid-area: home;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin-right: var(--s-1);
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
}
.gl-head .gl-bar__home:hover { color: var(--ink); text-decoration: none; }
.gl-head .gl-bar__home .header__logo-mark { display: block; width: 32px; height: 32px; flex: none; margin: 0 0 0 6px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.gl-head .gl-bar__word { display: none; color: var(--ink); }
.gl-head .gl-wordmark { display: block; width: auto; height: 17px; }
@media (min-width: 64rem) {
  .gl-head .gl-bar__word { display: block; }
  .gl-head .gl-bar__home { margin-right: var(--s-4); }
  .gl-head .gl-bar__home .header__logo-mark { margin-left: 0; }
}

/* ── THE SITE BAR: a tab for each site, by its plain name and picture. This site's is ink, a little
   heavier, and underlined in its accent (--accent-ink: at least 5.4:1 on the header, tokens.css). The
   row scrolls sideways inside itself when the tabs do not fit, never the page; a fade at an edge says
   there is more that way, and the end padding lets the last tab scroll clear of the fade. */
.gl-head .gl-bar { grid-area: bar; align-self: stretch; display: flex; min-width: 0; margin: 0; padding: 0; }
.gl-head .gl-bar__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gl-head .gl-bar__list > li { display: flex; flex: none; margin: 0; padding: 0; }
.gl-head .gl-bar__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink-2);
  font: 500 0.9375rem/1 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
}
.gl-head .gl-bar__tab::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}
.gl-head .gl-bar__tab:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.gl-head .gl-bar__tab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -3px; }
.gl-head .gl-bar__tab[aria-current] { color: var(--ink); font-weight: 600; }
.gl-head .gl-bar__tab[aria-current]::after { background: var(--accent-ink); }
.gl-head .gl-bar__icon { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gl-head .gl-bar__icon .gl-bar__dot { fill: currentColor; stroke: none; }
.gl-head .gl-bar__tab[aria-current] .gl-bar__icon { color: var(--accent-ink); }
/* The fades (family.js marks a row that overflows: gl-scroll--more while there is more to its right,
   gl-scroll--start once it has moved from its start). Before the script runs, a phone's tab row fades
   at its end anyway, since there it always overflows. Both rows of the header use them. */
@media (max-width: 47.9375rem) {
  .gl-head .gl-bar__tab { gap: 5px; padding: 0 9px; font-size: 0.90625rem; }
  .gl-head .gl-bar__icon { width: 18px; height: 18px; }
}
/* A phone (2026-11-23, "the website navigation is getting a bit busy"): six tabs as picture over word,
   so every site is in view at once and nothing hides past a fade. Each tab keeps a 44px target. */
@media (max-width: 30rem) {
  .gl-head .gl-bar { flex: 1; }
  .gl-head .gl-bar__list { justify-content: space-between; flex: 1; width: 100%; }
  .gl-head .gl-bar__list > li { flex: 1 1 0; min-width: 0; }
  .gl-head .gl-bar__tab { flex-direction: column; justify-content: center; gap: 2px; width: 100%; min-height: 48px; padding: 4px 2px; font-size: 0.6875rem; line-height: 1.1; }
  .gl-head .gl-bar__tab::after { left: 8px; right: 8px; }
  .gl-head .gl-bar__icon { width: 20px; height: 20px; }
  .gl-head .gl-bar__label { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  /* The second row: ONE line (2026-11-24, tidying the headers). Wrapped, it made the header 147px on
     every site with places of its own, a sixth of the first screen, under the 57px it is without. It
     scrolls sideways inside itself where it does not fit, fading at the edge with more beyond it
     (gl-scroll--more, family.js), and this page's place is brought into view. */
  .gl-head .gl-head__nav { margin-left: calc(-1 * var(--s-1)); }
  .gl-head .gl-head__link { min-height: 40px; padding: 0 9px; }
  .gl-head .gl-head__ask { min-height: 36px; padding: 0 12px; }
}
.gl-head .gl-scroll--more {
  padding-right: 28px;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
}
.gl-head .gl-scroll--start {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28px);
  mask-image: linear-gradient(to right, transparent, #000 28px);
}
.gl-head .gl-scroll--more.gl-scroll--start {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 36px), transparent);
}

/* ── THE SECOND ROW: this site's places, then the visitor. Quieter: smaller type, ink-2, no rule. */
.gl-head .gl-head__nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  margin: 0 0 0 calc(-1 * var(--s-2));
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gl-head .gl-head__nav::-webkit-scrollbar { display: none; }
.gl-head .gl-head__link {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-2);
  border-radius: var(--radius-pill);
  font-size: var(--fs-1);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 48rem) {
  .gl-head .gl-head__link { min-height: 36px; padding: 0 var(--s-3); font-size: 0.9375rem; }
}
.gl-head .gl-head__link:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.gl-head .gl-head__link:focus-visible,
.gl-head .gl-head__quiet:focus-visible,
.gl-head .gl-head__ask:focus-visible,
.gl-head .gl-bar__home:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.gl-head .gl-head__link[aria-current] { color: var(--ink); background: var(--accent-wash); }
.gl-head .gl-head__you { grid-area: you; display: flex; align-items: center; gap: var(--s-1); justify-self: end; flex: none; }
.gl-head .gl-head__quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 var(--s-3);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.gl-head .gl-head__quiet:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.gl-head .gl-head__quiet svg { display: block; width: 1.15em; height: 1.15em; flex: none; }
.gl-head .gl-head__ask {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--s-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-1);
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.gl-head .gl-head__ask:hover { color: var(--on-accent); background: var(--accent-hover); text-decoration: none; }
.gl-head .gl-head__short { display: none; }
.gl-head .gl-head__quiet--icon svg { display: none; }
@media (max-width: 40rem) {
  .gl-head .gl-head__long { display: none; }
  .gl-head .gl-head__short { display: inline; }
  .gl-head .gl-head__quiet--icon span { display: none; }
  .gl-head .gl-head__quiet--icon svg { display: block; }
  .gl-head .gl-head__quiet { min-height: 44px; padding: 0 var(--s-2); font-size: var(--fs-1); }
  .gl-head .gl-head__quiet--icon { min-width: 44px; justify-content: center; }
  .gl-head .gl-head__ask { min-height: 44px; padding: 0 var(--s-3); }
}

/* The blog's trip picker (Header.ss): a place in the second row that opens the trips. */
.gl-head .gl-trips { position: relative; }
.gl-head .gl-trips__btn { cursor: pointer; list-style: none; user-select: none; gap: 6px; }
.gl-head .gl-trips__btn::-webkit-details-marker { display: none; }
.gl-head .gl-trips__btn::marker { content: ''; }
.gl-head .gl-trips__caret { font-size: 0.75em; color: var(--muted); }
.gl-head .gl-trips__panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 40;
  width: max-content;
  max-width: min(20rem, calc(100vw - 2 * var(--gutter)));
  margin: 0;
  padding: var(--s-1);
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-3);
}
.gl-head .gl-trips__panel > li { margin: 0; padding: 0; }
.gl-head .gl-trips__link { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 44px; padding: 6px 10px; color: var(--ink); border-radius: var(--radius-s); text-decoration: none; }
.gl-head .gl-trips__link:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.gl-head .gl-trips__link:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -2px; }
.gl-head .gl-trips__link[aria-current] { background: var(--accent-wash); }
.gl-head .gl-trips__n { color: var(--muted); font-size: var(--fs-1); font-variant-numeric: tabular-nums; }

/* ── LIGHT · DARK · AUTO (Includes/ThemeSwitch.ss): a 44px button opening the three choices. */
.gl-head .gl-themes { grid-area: theme; position: relative; justify-self: end; flex: none; }
.gl-head .gl-themes[hidden] { display: none; }
.gl-head .gl-themes__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.gl-head .gl-themes__btn::-webkit-details-marker { display: none; }
.gl-head .gl-themes__btn::marker { content: ''; }
.gl-head .gl-themes__btn:hover { color: var(--ink); background: var(--surface-2); }
.gl-head .gl-themes__btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -2px; }
.gl-head .gl-themes__btn svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gl-head .gl-themes__btn .gl-theme__fill { fill: currentColor; stroke: none; }
.gl-head .gl-themes__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  padding: var(--s-2) var(--s-3) var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-3);
}
.gl-head .gl-themes__label { margin: 0 0 var(--s-2); font-size: var(--fs-1); color: var(--muted); }
.gl-head .gl-theme { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-pill); background: var(--surface-2); }
.gl-head .gl-theme__mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-2);
  font: 500 0.8125rem/1 var(--font-ui);
  cursor: pointer;
}
.gl-head .gl-theme__mode svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gl-head .gl-theme__mode .gl-theme__fill { fill: currentColor; stroke: none; }
.gl-head .gl-theme__mode:hover { color: var(--ink); background: transparent; }
.gl-head .gl-theme__mode:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 1px; }
.gl-head .gl-theme__mode[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }

/* ── BUTTONS: one shape, three weights. A tap target is at least 44px. */
.gl-btn.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font: 600 var(--fs-2)/1.2 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.gl-btn.gl-btn:hover { color: var(--ink); background: var(--surface-2); border-color: var(--muted); text-decoration: none; }
.gl-btn.gl-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gl-btn.gl-btn--primary:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.gl-btn.gl-btn--quiet { border-color: transparent; background: transparent; color: var(--accent-ink); }
.gl-btn.gl-btn--quiet:hover { color: var(--ink); background: var(--surface-2); border-color: transparent; }

/* ── A CARD: a surface on the paper. */
.gl-card.gl-card {
  display: block;
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  color: var(--ink);
}
a.gl-card.gl-card { text-decoration: none; }
a.gl-card.gl-card:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-2); text-decoration: none; }

/* ── A CHIP: a small link or label in a row. */
.gl-chip.gl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font: 500 var(--fs-1)/1.2 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
}
a.gl-chip.gl-chip:hover { color: var(--ink); border-color: var(--muted); background: var(--surface-2); text-decoration: none; }
.gl-chip.gl-chip[aria-current] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* ── THE NOTICE ROW: one quiet line under the header, about this visitor or this page. */
.gl-notice.gl-notice { background: var(--paper); border-bottom: 1px solid var(--line); font: var(--fs-1)/1.45 var(--font-ui); color: var(--muted); }
.gl-notice .gl-notice__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-4); max-width: var(--wrap); margin-inline: auto; padding: 6px var(--gutter); }
.gl-notice .gl-notice__in p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.gl-notice a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.gl-notice a:hover { color: var(--ink); }

/* ── THE BUY BOX (Includes/BuyBox.ss): what it is, then its one button; a second store is a quiet
   link with no price. Was the music site's own; every site that sells draws it now. */
.buybox.buybox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  margin: var(--s-5) 0;
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-m);
  font-family: var(--font-ui);
}
.buybox .buybox__what { flex: 1 1 18rem; margin: 0; color: var(--ink-2); line-height: 1.45; }
.buybox .buybox__lead { color: var(--ink-2); }
.buybox .buybox__name { font-weight: 600; color: var(--ink); }
.buybox .buybox__note { display: block; margin-top: 2px; font-size: 0.9rem; }
.buybox a.buybox__name { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.buybox a.buybox__name:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.buybox .buybox__act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s-3); margin: 0; }
.buybox .buybox__buy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-5);
  font-weight: 600;
  white-space: nowrap;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.buybox .buybox__buy:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.buybox .buybox__store { font-size: var(--fs-1); color: var(--muted); }
.buybox .buybox__quiet { display: inline-block; padding-block: 4px; font-size: var(--fs-1); color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.buybox .buybox__quiet:hover { color: var(--ink); text-decoration-color: currentColor; }
.buybox .buybox__more { flex-basis: 100%; margin: 0; font-size: var(--fs-1); color: var(--muted); }
.buybox .buybox__more a { display: inline-block; padding-block: 4px; color: var(--accent-ink); }
.buybox .buybox__more a:hover { color: var(--ink); }

/* ── THE FOOTER: one shape on every site. Where to go next, and the studio, which is in every
   footer and in no learner's menu (phase C, step 7). */
.gl-foot.gl-foot {
  margin: 0;               /* a page's last section brings its own space (studio-layout, 2026-11-16) */
  padding: 0;
  background: var(--paper-2);
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  font: var(--fs-1)/1.55 var(--font-ui);
}
.gl-foot .gl-foot__in {
  display: grid;
  gap: var(--s-8);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--s-8) var(--gutter) var(--s-6);
}
@media (min-width: 60rem) {
  .gl-foot .gl-foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-12); }
}
.gl-foot .gl-foot__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-text);
  font-size: var(--fs-4);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  text-decoration: none;
}
.gl-foot .gl-foot__mark:hover { color: var(--ink); text-decoration: none; }
.gl-foot .gl-foot__mark svg { display: block; width: 32px; height: 32px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.gl-foot .gl-foot__line { margin: var(--s-3) 0 0; max-width: 26rem; color: var(--ink-2); font-size: var(--fs-1); line-height: 1.6; }
.gl-foot .gl-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); margin: 0; padding: 0; }
@media (min-width: 40rem) {
  .gl-foot .gl-foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gl-foot .gl-foot__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gl-foot .gl-foot__head { margin: 0 0 var(--s-1); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.gl-foot .gl-foot__col a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.gl-foot .gl-foot__col a:hover { color: var(--accent-ink); text-decoration: underline; }
.gl-foot .gl-foot__base {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--s-4) var(--gutter) var(--s-6);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}
.gl-foot .gl-foot__base a { color: var(--ink-2); }
.gl-foot .gl-foot__base a:hover { color: var(--ink); }
.gl-foot .social-follow { color: var(--muted); }
