/* Heliobond blog. Colours, type, space and shape all come from the main site's tokens in styles.css. */

.site-nav__list a.is-current { font-weight: 600; }
@media (min-width: 961px) { .site-nav__list a.is-current { color: var(--c-ink); } }

.hb-page { padding-top: var(--s-3); }

/* ---------- Hero and sun path ---------- */
.hb-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-6) var(--s-7);
  align-items: center;
  padding: clamp(1.5rem, 0.75rem + 3vw, 3.25rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 90% at 78% 0%, rgba(254, 178, 4, 0.13), transparent 62%),
    linear-gradient(160deg, var(--c-navy-2), var(--c-navy) 62%);
  color: var(--c-on-dark);
}
.hb-hero:not(:has(.hb-path)) { grid-template-columns: minmax(0, 1fr); }
.hb-hero:not(:has(.hb-path)) .hb-hero__copy { max-width: 720px; }
.hb-hero__copy .eyebrow { margin-bottom: var(--s-3); }
.hb-hero__title {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: #fff;
}
.hb-hero__lead {
  margin-top: var(--s-4);
  max-width: 46ch;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--c-on-dark-muted);
}

.hb-search { position: relative; margin-top: var(--s-5); max-width: 440px; }
.hb-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 56px 0 var(--s-4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.hb-search input::placeholder { color: var(--c-on-dark-muted); opacity: 1; }
.hb-search input:hover { border-color: rgba(255, 255, 255, 0.42); }
.hb-search input:focus { outline: 2px solid var(--c-amber); outline-offset: 1px; background: rgba(255, 255, 255, 0.12); }
.hb-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hb-search button {
  position: absolute;
  top: 6px; right: 6px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--c-amber);
  color: var(--c-navy);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.hb-search button:hover { background: #ffc433; }
.hb-search button svg { width: 18px; height: 18px; }

.hb-path { position: relative; min-width: 0; padding-bottom: 26px; }
.hb-path__arc { width: 100%; height: auto; overflow: visible; }
.hb-path__horizon { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
.hb-path__track { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 2.5; stroke-dasharray: 2 11; stroke-linecap: round; }
.hb-path__trail {
  fill: none;
  stroke: var(--c-amber);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--sun-number, 0));
  transition: stroke-dashoffset 0.7s var(--ease);
}
.hb-path__sun {
  offset-path: path('M30 320 A544.1 544.1 0 0 1 970 320');
  offset-distance: var(--sun);
  offset-rotate: 0deg;
  transition: offset-distance 0.7s var(--ease);
}
.hb-path__core { fill: var(--c-amber); }
.hb-path__glow { fill: var(--c-amber); opacity: 0.2; }

.hb-path__stops { position: absolute; inset: 0 0 26px; }
.hb-path__stops li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 19%;
  transform: translate(-50%, -18px);
}
.hb-path__stops a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-radius: var(--r-sm);
  color: var(--c-on-dark);
  text-align: center;
  text-decoration: none;
}
.hb-path__step {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: var(--c-navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hb-path__label { font-size: 0.8125rem; font-weight: 500; line-height: 1.25; text-wrap: balance; transform: translateX(var(--shift, 0)); }
.hb-path__stops a:hover .hb-path__step,
.hb-path__stops a:focus-visible .hb-path__step,
.hb-path__stops a[aria-current] .hb-path__step { border-color: var(--c-amber); background: var(--c-amber); color: var(--c-navy); }
.hb-path__stops a[aria-current] .hb-path__label { font-weight: 600; color: #fff; }

.hb-path__ends {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  padding-inline: 4.5%;
  font-size: var(--fs-xs);
  color: var(--c-on-dark-muted);
}

/* ---------- Page layout ---------- */
.hb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--s-7) clamp(2rem, 1rem + 3vw, 4rem);
  align-items: stretch;
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--s-4);
  scroll-margin-top: var(--header-h);
}
.hb-main { min-width: 0; }
.hb-main__heading {
  margin-top: var(--s-7);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hb-main__heading:first-child { margin-top: 0; }

/* ---------- Guide cards ---------- */
.hb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
  margin-top: var(--s-5);
}
.hb-grid > li { display: flex; min-width: 0; }
.hb-grid__ask { display: none !important; }
.hb-card { position: relative; display: flex; flex-direction: column; width: 100%; }
.hb-card__media { flex: none; aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.hb-card__media img { transition: transform 0.5s var(--ease); }
.hb-card:hover .hb-card__media img { transform: scale(1.03); }
.hb-card__body { display: flex; flex: 1; flex-direction: column; padding-top: var(--s-4); }
.hb-card__title {
  margin: var(--s-2) 0 0;
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.hb-card__title a { color: inherit; text-decoration: none; }
.hb-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.hb-card:hover .hb-card__title a { text-decoration: underline; text-decoration-color: var(--c-amber-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hb-card__excerpt {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hb-card--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  transition: border-color 0.2s var(--ease);
}
.hb-card--feature:hover { border-color: #c9c7bc; }
.hb-card--feature .hb-card__media { aspect-ratio: 4 / 3.4; border-radius: var(--r-md); }
.hb-card--feature .hb-card__body { padding: var(--s-3) var(--s-4) var(--s-3) 0; }
.hb-card--feature .hb-card__title { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.15; letter-spacing: -0.018em; text-wrap: balance; }
.hb-card--feature .hb-card__title a::after { border-radius: var(--r-lg); }
.hb-card--feature .hb-card__excerpt { margin-top: var(--s-3); font-size: var(--fs-base); -webkit-line-clamp: 4; }
.hb-card__flag {
  margin-bottom: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #8a5f00;
}
.hb-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.hb-card__more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.hb-card:hover .hb-card__more svg { transform: translateX(3px); }

/* ---------- Authors ---------- */
.hb-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--c-surface-2);
}
.hb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hb-avatar--initials { background: var(--c-navy); color: #fff; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.02em; }
.hb-byline, .hb-card__author { display: inline-flex; align-items: center; gap: var(--s-2); }
.hb-card__author { margin-top: auto; padding-top: var(--s-4); font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-2); }
.hb-card--feature .hb-card__author { margin-top: 0; }

.hb-author {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--s-5);
  align-items: center;
  max-width: 68ch;
  margin-top: var(--s-7);
  padding: var(--s-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
/* The sun path passes over the author's picture. */
.hb-author__portrait { position: relative; display: grid; place-items: center; width: 112px; height: 112px; }
.hb-author__arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hb-author__arc path { fill: none; stroke: var(--c-amber); stroke-width: 2.5; stroke-dasharray: 1 7; stroke-linecap: round; }
.hb-author__arc circle { fill: var(--c-amber); }
.hb-avatar--large { width: 84px; height: 84px; }
.hb-avatar--large.hb-avatar--initials { font-family: var(--f-display); font-size: 1.625rem; letter-spacing: -0.01em; }
.hb-author__label { font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); }
.hb-author__name { margin-top: 2px; font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.hb-author__role { margin-top: 2px; font-size: var(--fs-sm); font-weight: 500; color: #8a5f00; }
.hb-author__bio { margin-top: var(--s-3); font-size: var(--fs-sm); line-height: 1.6; color: var(--c-muted); }

/* ---------- Sidebar ---------- */
.hb-side { display: flex; flex-direction: column; gap: var(--s-6); min-width: 0; }
.hb-side__title {
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hb-picks { display: grid; gap: var(--s-4); }
.hb-pick { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--s-3); align-items: center; }
.hb-pick__media { width: 76px; height: 76px; border-radius: var(--r-sm); }
.hb-pick__title { display: block; font-family: var(--f-display); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.hb-pick__title::after { content: ""; position: absolute; inset: 0; }
.hb-pick:hover .hb-pick__title { text-decoration: underline; text-decoration-color: var(--c-amber-2); text-underline-offset: 2px; }
.hb-pick__meta { margin-top: 2px; font-size: var(--fs-xs); color: var(--c-muted); }

.hb-topics { display: grid; gap: 2px; }
.hb-topics a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: var(--s-2);
  align-items: center;
  min-height: 44px;
  padding: 4px var(--s-2);
  margin-inline: calc(var(--s-2) * -1);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s var(--ease);
}
.hb-topics a:hover { background: var(--c-surface-2); }
.hb-topics a[aria-current] { background: var(--c-surface-2); font-weight: 600; }
.hb-topics__step {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-surface);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.hb-topics a[aria-current] .hb-topics__step { border-color: var(--c-amber); background: var(--c-amber); }
.hb-topics__count { font-size: var(--fs-xs); color: var(--c-muted); font-variant-numeric: tabular-nums; }

.hb-ask {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(254, 178, 4, 0.24), transparent 65%),
    linear-gradient(160deg, var(--c-navy-2), var(--c-navy) 70%);
  color: var(--c-on-dark);
}
.hb-side > .hb-ask { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
.hb-ask__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.018em; text-wrap: balance; color: #fff; }
.hb-ask__text { margin: var(--s-3) 0 var(--s-5); font-size: var(--fs-sm); line-height: 1.55; color: var(--c-on-dark-muted); }
.hb-ask .btn { width: 100%; justify-content: space-between; }

/* ---------- The close: above the footer on every page ---------- */
.hb-closer { margin-top: var(--s-7); }
.hb-closer + .site-footer { padding-top: var(--s-5); }
.hb-closer__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2rem, 1rem + 4vw, 4.5rem);
  border-radius: var(--r-lg);
  background: var(--c-amber);
  color: var(--c-navy);
}
/* The sun itself: rings spreading from behind the quotes. */
.hb-closer__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, #ffd25e 0 26%, #ffc62f 26% 44%, #ffbc17 44% 66%, transparent 66%);
}
.hb-closer__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.2rem + 2.9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hb-closer__text { margin: var(--s-4) 0 var(--s-5); max-width: 50ch; font-size: var(--fs-base); line-height: 1.55; color: var(--c-ink-2); }

.hb-closer__quotes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; padding-inline: var(--s-3); }
.hb-q {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 14px 34px rgba(4, 36, 57, 0.16);
  transition: transform 0.5s var(--ease);
}
.hb-q:nth-child(1) { transform: translateX(5%) rotate(-5deg) scale(0.94); }
.hb-q:nth-child(3) { transform: translateX(-5%) rotate(5deg) scale(0.94); }
.hb-q--chosen { position: relative; z-index: 1; padding-block: var(--s-5); box-shadow: 0 22px 50px rgba(4, 36, 57, 0.28); outline: 2px solid var(--c-navy); }
.hb-closer__panel:hover .hb-q:nth-child(1) { transform: translateX(1%) rotate(-3deg) scale(0.94); }
.hb-closer__panel:hover .hb-q:nth-child(3) { transform: translateX(-1%) rotate(3deg) scale(0.94); }
.hb-q__name { display: flex; align-items: center; justify-content: space-between; min-height: 24px; font-family: var(--f-display); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.hb-q__pick { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-amber); color: var(--c-navy); }
.hb-q__pick svg { width: 14px; height: 14px; }
.hb-q__row { display: grid; gap: 5px; font-size: 0.6875rem; font-weight: 500; line-height: 1.2; color: var(--c-muted); }
.hb-q__row i { display: block; height: 7px; border-radius: var(--r-pill); background: var(--c-surface-2); }
.hb-q--chosen .hb-q__row i { background: var(--c-navy); }

/* ---------- Pagination ---------- */
.hb-pages { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-7); }
.hb-pages .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px; min-height: 44px;
  padding-inline: var(--s-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s var(--ease);
}
.hb-pages a.page-numbers:hover { border-color: var(--c-navy); }
.hb-pages .current { border-color: var(--c-navy); background: var(--c-navy); color: #fff; }
.hb-pages .dots { border-color: transparent; background: none; }

/* ---------- Empty states ---------- */
.hb-empty { padding: clamp(2rem, 1rem + 4vw, 3.5rem); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); }
.hb-empty__title { font-family: var(--f-display); font-size: 1.625rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.hb-empty p { margin: var(--s-3) 0 var(--s-5); max-width: 48ch; color: var(--c-muted); }
.hb-empty--page { margin-block: var(--s-6) var(--s-8); }
.hb-empty--page .hb-search { margin-bottom: var(--s-4); }
.hb-empty--page .hb-search input { border-color: var(--c-line); background: var(--c-bg); color: var(--c-ink); }
.hb-empty--page .hb-search input::placeholder { color: var(--c-muted); }

/* ---------- Breadcrumb ---------- */
.hb-crumbs ol { display: flex; flex-wrap: wrap; gap: 2px var(--s-2); font-size: var(--fs-xs); font-weight: 500; color: var(--c-muted); }
.hb-crumbs li { display: flex; gap: var(--s-2); }
.hb-crumbs li + li::before { content: "/"; opacity: 0.6; }
.hb-crumbs a { text-underline-offset: 2px; }
.hb-crumbs--light { margin-bottom: var(--s-3); }
.hb-crumbs--light ol { color: var(--c-on-dark-muted); }

/* ---------- A single guide ---------- */
.hb-article__title { margin-top: var(--s-2); font-family: var(--f-display); font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.875rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; }
.hb-article > .blog-card__meta { margin-top: var(--s-4); flex-wrap: wrap; }
.hb-article__media { aspect-ratio: 16 / 10; margin-top: var(--s-5); border-radius: var(--r-lg); }
.hb-article--page { max-width: 760px; margin-block: var(--s-6) var(--s-8); }
.hb-prose { margin-top: var(--s-6); max-width: 68ch; font-size: 1.0625rem; line-height: 1.7; color: var(--c-ink-2); }
.hb-prose > * + * { margin-top: 1.1em; }
.hb-prose h2, .hb-prose h3 { font-family: var(--f-display); line-height: 1.2; letter-spacing: -0.015em; color: var(--c-ink); }
.hb-prose h2 { margin-top: 1.8em; font-size: 1.625rem; }
.hb-prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.hb-prose ul, .hb-prose ol { padding-left: 1.3em; }
.hb-prose ul { list-style: disc; }
.hb-prose ol { list-style: decimal; }
.hb-prose li + li { margin-top: 0.4em; }
.hb-prose a { color: var(--c-ink); text-decoration-color: var(--c-amber-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hb-prose img { border-radius: var(--r-md); }
.hb-prose figure { margin-inline: 0; }
.hb-note { padding: var(--s-5); border-left: 4px solid var(--c-amber); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-surface); }
.hb-note > * + * { margin-top: var(--s-3); }
.hb-note ul { padding-left: 1.2em; list-style: disc; }
.hb-note strong { color: var(--c-ink); }
.hb-formula { padding: var(--s-4); border-radius: var(--r-sm); background: var(--c-surface-2); font-size: var(--fs-base); font-weight: 600; line-height: 1.45; color: var(--c-ink); }
.hb-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hb-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.4; }
.hb-table th { padding: var(--s-3); background: var(--c-navy); color: #fff; font-weight: 600; text-align: left; white-space: nowrap; }
.hb-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.hb-table th:last-child { border-radius: 0 var(--r-sm) 0 0; }
.hb-table td { padding: var(--s-3); border: 0; border-bottom: 1px solid var(--c-line); background: var(--c-surface); }
.hb-table figcaption { position: sticky; left: 0; margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--c-muted); text-align: left; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .hb-hero { grid-template-columns: minmax(0, 1fr); }
  .hb-layout { grid-template-columns: minmax(0, 1fr); }
  .hb-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); }
  .hb-grid__ask { display: flex !important; grid-column: 1 / -1; }
  .hb-grid__ask .hb-ask { width: 100%; }
  .hb-side > .hb-ask { display: none; }
  .hb-closer__panel { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .hb-closer__panel::before { right: -30%; top: auto; bottom: -30%; width: 100%; transform: none; }
  .hb-closer__quotes { max-width: 560px; width: 100%; margin-inline: auto; }
}

@media (max-width: 720px) {
  .hb-page { padding-top: var(--s-2); }
  .hb-hero { gap: var(--s-5); }
  .hb-side { grid-template-columns: minmax(0, 1fr); }
  .hb-card--feature { display: flex; padding: 0; border: 0; background: none; }
  .hb-card--feature .hb-card__media { aspect-ratio: 16 / 10; }
  .hb-card--feature .hb-card__body { padding: 0; }
  .hb-card--feature .hb-card__excerpt { font-size: var(--fs-sm); -webkit-line-clamp: 3; }
  .hb-card__flag { margin-bottom: var(--s-2); }
  .hb-main__heading { margin-top: var(--s-6); }
  .hb-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-author { grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-4); align-items: start; padding: var(--s-4); }
  .hb-author__portrait { width: 88px; height: 88px; }
  .hb-avatar--large { width: 66px; height: 66px; }
  .hb-author__name { font-size: 1.1875rem; }
  .hb-closer { margin-top: var(--s-6); }
  .hb-q { padding: var(--s-3) 10px; gap: var(--s-2); }
  .hb-q__name { font-size: 0.8125rem; }
  .hb-q__pick { width: 18px; height: 18px; }
  .hb-q__pick svg { width: 11px; height: 11px; }
  .hb-q--chosen { padding-block: var(--s-4); }
  .hb-q__row { font-size: 0.625rem; }
  .hb-closer__quotes { padding-inline: 0; }
  .hb-closer .btn { width: 100%; justify-content: space-between; }

  /* On a phone the stages become a row to swipe, and the arc stays as a small picture above it. */
  .hb-path { padding-bottom: 0; margin-inline: calc(clamp(1.5rem, 0.75rem + 3vw, 3.25rem) * -1); }
  .hb-path__arc { display: block; width: calc(100% - 3rem); margin-inline: auto; }
  .hb-path__ends { display: none; }
  .hb-path__stops {
    position: static;
    display: flex;
    gap: var(--s-2);
    margin-top: var(--s-4);
    padding-inline: clamp(1.5rem, 0.75rem + 3vw, 3.25rem);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .hb-path__stops::-webkit-scrollbar { display: none; }
  .hb-path__label { transform: none; }
  .hb-path__stops li { position: static; flex: none; width: auto; transform: none; scroll-snap-align: center; }
  .hb-path__stops a {
    flex-direction: row;
    min-height: 44px;
    padding: 4px 14px 4px 5px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--r-pill);
    white-space: nowrap;
  }
  .hb-path__stops a[aria-current] { border-color: var(--c-amber); }
  .hb-path__step { width: 30px; height: 30px; font-size: var(--fs-xs); }
}

@media (prefers-reduced-motion: reduce) {
  .hb-q, .hb-path__sun, .hb-path__trail, .hb-card__media img, .hb-card__more svg { transition: none; }
}
