.home-return .return-grid {
  gap: clamp(56px, 8vw, 104px);
}

.home-return .return-grid article {
  max-width: 820px;
}

.home-return .return-group {
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg-elevated);
}

.home-return .return-group > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.home-return .return-group > summary::-webkit-details-marker {
  display: none;
}

.home-return .return-heading-copy {
  display: block;
}

.home-return .return-heading-copy .return-number,
.home-return .return-heading-copy h3 {
  display: block;
}

.home-return .return-heading-copy h3 {
  margin: 8px 0 0;
}

.home-return .return-toggle {
  color: var(--brand-glow);
  font-size: 22px;
  line-height: 1;
}

.home-return .return-group[open] .return-toggle::before {
  transform: rotate(45deg);
}

.home-return .return-group-body {
  padding: 0 20px 20px;
}

.home-return .problem-pairs {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-return .problem-pairs li {
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.home-return .problem-pairs p {
  margin: 8px 0 0;
}

.home-return .problem-pairs strong {
  display: block;
  color: var(--text-primary);
}

.home-return .problem-pairs .pain-label {
  display: inline;
  color: var(--brand-glow);
  font: 600 11px/1.5 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-return .return-group > summary:focus-visible,
.home-return .return-more:focus-visible,
.home-return .return-chat a:focus-visible {
  outline: 3px solid var(--brand-glow);
  outline-offset: 3px;
}

.home-return .return-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

.home-return .return-more {
  color: var(--brand-glow);
  border-color: var(--brand-glow);
}

.home-return .return-caveat {
  margin-top: clamp(72px, 10vw, 140px);
}

[data-page="home"] #return-on-work .return-research a {
  color: var(--role-proof, #CE9C1B);
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

[data-page="home"] #return-on-work .return-research a:focus-visible {
  outline: 3px solid var(--role-proof, #CE9C1B);
  outline-offset: 3px;
}

/* Match the former 5% proof-gold tint composited over #proof's #0A0C0F,
   while preventing the homepage strand field from showing through cards. */
[data-page="home"] #proof .tb-proof {
  background: #141310;
}

[data-page="home"] #magazine .latest {
  background: #1a1f27;
}

/* site.css makes proof logos white. Reset that before the shared engine records
   the source filter, then let its arrival progress reveal each SVG's colours. */
[data-page="home"] #proof .tb-logo {
  filter: brightness(1);
  opacity: 1;
}

[data-page="home"] #proof .tb-logo[data-home-image] {
  filter: grayscale(calc(1 - var(--home-image-colour, 1))) var(--home-image-filter, brightness(1));
}

@media (max-width: 760px) {
  .home-return .return-group > summary,
  .home-return .return-group-body {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce), print {
  [data-page="home"] #proof .tb-logo[data-home-image] {
    --home-image-colour: 1 !important;
  }
}

@media print {
  .home-return .return-group::details-content {
    display: block;
  }
}

/* Homepage round 2. The shared People component's dimensions, scoped here. */
[data-page="home"] { --role-proof: #CE9C1B; }
[data-page="home"] .home-hero .hero-route-word {
  color: var(--text-primary);
  animation: home-word-light 6.4s linear infinite;
  animation-delay: .1s;
}
[data-page="home"] .home-hero .hero-route-word:nth-child(2) { animation-delay: 1.7s; }
[data-page="home"] .home-hero .hero-route-word:nth-child(3) { animation-delay: 3.3s; }
[data-page="home"] .home-hero .hero-route-word:nth-child(4) { animation-delay: 4.9s; }
/* The next word lights at 25%; the previous does not fade until 28%. */
@keyframes home-word-light {
  0%, 36%, 100% { color: var(--text-primary); }
  3%, 28% { color: var(--brand-glow); }
}
@media (prefers-reduced-motion: reduce) {
  [data-page="home"] .home-hero .hero-route-word { animation: none; }
  [data-page="home"] .home-hero .hero-route-word:first-child { color: var(--brand-glow); }
}
[data-page="home"] .bridge-art {
  height: max(1000px, calc(100vw * 941 / 1672));
  overflow: visible;
}
@media (min-width: 1000px) {
  [data-page="home"] .home-hero { min-height: calc(100vw * 941 / 1672 + 64px); }
}
[data-page="home"] .choice-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
[data-page="home"] .choice-group,
[data-page="home"] .choice-grid { display: contents; }
[data-page="home"] .choice-card {
  border: 0;
  border-left: 1px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
[data-page="home"] .choice-card:first-child { border-left: 0; }
[data-page="home"] .choice-group:last-child .choice-card { border-left: 1px solid var(--border-strong); }
[data-page="home"] .home-hero details.choice-card > summary { min-height: 112px; padding: 16px 20px; gap: 0; background: transparent; }
[data-page="home"] .choice-card .choice-service {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-secondary);
}
[data-page="home"] .choice-card .choice-description { display: none; }
.home-return .return-grid { max-width: none; margin: 80px 0 0; gap: 0; }
.home-return .return-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  max-width: none;
  padding: 32px 0;
  border: 0;
  border-top: 1px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
}
.home-return .return-work { min-width: 0; }
.home-return .return-group { border: 0; background: transparent; }
/* Keep hover feedback within the copy, not across the two node gutters. */
[data-page="home"] .return-group > summary[data-home-ink]:hover {
  background-color: transparent !important;
}
.home-return .return-group > summary:hover h3 { text-decoration: underline; }
.home-return .return-group > summary {
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: 20px;
  align-items: start;
  min-height: 44px;
  padding: 0;
}
.home-return .return-node-number {
  position: static;
  width: 48px;
  margin: 0;
  padding-top: 5px;
  font: 400 18px/27px var(--font-mono);
  text-align: center;
}
.home-return .return-number { font: 400 11px/1.5 var(--font-mono); color: var(--brand-glow); }
.home-return .return-heading-copy h3 { font-size: 26px; line-height: 1.3; letter-spacing: -.02em; margin: 6px 0 0; }
.home-return .changes { display: block; font-size: 17px; line-height: 1.6; margin-top: 20px; max-width: 60ch; }
.home-return .mini-label { display: block; color: var(--brand-glow); font: 400 11px/1.5 var(--font-mono); margin-bottom: 6px; letter-spacing: .06em; }
.home-return .return-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; font-size: 0; }
/* SVG owns the only ring. Centre People's glyph independently of the hidden
   source text's grid row; compensate Inter's ink below its line-box centre. */
.home-return .return-toggle::before { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 3px; font: 400 16px/1 var(--font-sans); color: var(--home-node-ink, var(--text-secondary)); }
.home-return .return-group-body { padding: 0; margin: 24px 64px 0 68px; }
.home-return .return-actions { margin: 24px 64px 0 68px; }
.home-return .return-stat { min-width: 0; background: var(--bg-elevated); padding: 18px 20px 8px; border-left: 1px solid var(--role-proof); }
.home-return .stat-line { font-size: 14px; line-height: 1.6; margin: 0; }
.home-return .stat-number { display: block; font: 500 40px/1.1 var(--font-mono); letter-spacing: -.05em; color: var(--role-proof); margin-bottom: 12px; }
.home-return .source { margin-top: 8px; }
.home-return .source summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; color: var(--role-proof); }
.home-return .source summary::-webkit-details-marker { display: none; }
.home-return .source summary span { font-size: 22px; }
.home-return .source[open] summary span { transform: rotate(45deg); }
.home-return .source > div { font-size: 14px; line-height: 22px; padding: 8px 0 16px; }
[data-page="home"] #return-on-work .source a { color: var(--role-proof); overflow-wrap: anywhere; font-size: 13px; }
.home-return .source summary:focus-visible { outline: 3px solid var(--role-proof); outline-offset: 3px; }
@media (max-width: 999px) {
  [data-page="home"] .choice-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page="home"] .choice-card:nth-child(3) { border-left: 0; }
  .home-return .return-grid article { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 700px) {
  [data-page="home"] .choice-card > summary { padding: 16px 10px; }
  .home-return .return-grid article { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px; }
  .home-return .return-group > summary { grid-template-columns: 28px minmax(0, 1fr) 44px; gap: 10px; }
  .home-return .return-node-number { width: 28px; font-size: 14px; padding-top: 3px; }
  .home-return .return-heading-copy h3 { font-size: 22px; }
  .home-return .changes { font-size: 15px; line-height: 1.65; margin-top: 16px; }
  .home-return .return-group-body, .home-return .return-actions { margin-left: 38px; margin-right: 54px; }
  .home-return .return-stat { margin-left: 38px; margin-right: 54px; padding: 16px 16px 6px; }
  .home-return .stat-number { font-size: 36px; }
}
@media (max-width: 600px) {
  [data-page="home"] .choice-nav { grid-template-columns: minmax(0, 1fr); }
  [data-page="home"] .choice-card,
  [data-page="home"] .choice-group:last-child .choice-card { border-left: 0; border-top: 1px solid var(--border-strong); }
  [data-page="home"] .home-hero details.choice-card > summary { min-height: 0; padding: 16px 0; }
}

/* Hero arrival (Luke 15-17 Nov: text and image too low on large desktops).
   The hero box is tall because the bridge art scales with screen width; content was
   centred in that tall box, so on wide screens it sat near the fold. Centre it in the
   FIRST SCREEN instead. Desktop only; phone/tablet untouched; bridge unchanged. */
@media (min-width: 1000px) {
  [data-page="home"] .home-hero { align-items: start; }
  [data-page="home"] .home-hero > .shell {
    min-height: calc(100svh - 97px - 48px - 24px);
    display: grid; align-content: center;
  }
}

/* Luke 17 Nov: no hover/tap grey on the homepage expandable boxes ("I'd rather it not have a hover grey
   and it just be cleaner"). The pulsing plus is the affordance. Background stays exactly as at rest;
   keyboard users keep a thin teal focus ring. Homepage-only file. */
.home-return details > summary,
.home-return details > summary:hover,
.home-return details > summary:active,
.home-return details[open] > summary {
  background-color: color-mix(in srgb, var(--home-grey-background, transparent), var(--home-full-background, transparent) var(--home-colour, 100%)) !important;
  -webkit-tap-highlight-color: transparent;
}
.home-return details > summary:focus { outline: none; }
.home-return details > summary:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 4px; }
