/* Anchor the section's own ground at the viewport edge, with room for the header. */
body.sober-home :is(#parcours,#contact) {
  scroll-margin-top:0;
  padding-top:calc(var(--gn-header-height,var(--header,76px)) + clamp(28px,3.5vw,48px));
}
body.sober-home #contact {
  min-height:100svh;
  padding-bottom:clamp(64px,6vw,96px);
}

/* A clear, fully clickable route from each story to its case study. */
#malakoff-experience {--study-surface:#263e5d}
#interface-en-contexte {--study-surface:#244e38}
#allianz-trade-pay {--study-surface:#164763}
#apphalt-produit {--study-surface:#243655}
html.has-js body.sober-home .story-next-panel--compact,
html.has-js:not(.gn93-reading) body.sober-home .story-next-panel--compact,
body.sober-home .story-next-panel--compact {
  background:var(--study-surface,#263e5d);
  border-color:rgba(209,224,245,.32);
  box-shadow:0 6px 18px #0a183018;
}
body.sober-home .story-next-panel--compact .story-next-link {
  min-height:84px;
  padding:17px 22px;
  gap:18px;
  color:#fff;
  transition:background-color 160ms ease;
}
body.sober-home .story-next-panel--compact .story-next-copy {gap:5px}
body.sober-home .story-next-panel--compact .story-next-copy span {
  color:#dbe7f5;
  font-size:11px;
  letter-spacing:.06em;
}
body.sober-home .story-next-panel--compact .story-next-copy strong {
  font-size:18px;
  line-height:1.3;
}
body.sober-home .story-next-panel--compact .story-next-link>svg {
  flex:0 0 42px;
  width:42px;height:42px;padding:11px;
  background:#ffffff14;border-color:#ffffff52;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  transition:transform 160ms ease,background-color 160ms ease;
}
body.sober-home .story-next-panel--compact .story-next-link:hover,
body.sober-home .story-next-panel--compact .story-next-link:focus-visible {background:#ffffff12}
body.sober-home .story-next-panel--compact .story-next-link:is(:hover,:focus-visible)>svg {transform:translateX(3px);background:#ffffff24}
body.sober-home .story-next-panel--compact .story-next-link:focus-visible {outline:3px solid #c5dcff;outline-offset:4px}
@media(max-width:700px) {
  body.sober-home .story-next-panel--compact .story-next-link {padding:15px 18px;min-height:80px;gap:14px}
  body.sober-home .story-next-panel--compact .story-next-copy strong {font-size:17px}
}
@media(prefers-reduced-motion:reduce) {
  body.sober-home .story-next-panel--compact :is(.story-next-link,.story-next-link>svg) {transition:none}
  body.sober-home .story-next-panel--compact .story-next-link>svg {transform:none!important}
}
html:is(.motion-reduced,.gn93-reading) body.sober-home .story-next-panel--compact :is(.story-next-link,.story-next-link>svg) {transition:none;transform:none}
@media(forced-colors:active) {
  body.sober-home .story-next-panel--compact {border-color:ButtonText;background:Canvas;box-shadow:none}
  body.sober-home .story-next-panel--compact :is(.story-next-link,.story-next-copy span) {color:LinkText}
}
@media print {
  body.sober-home :is(#parcours,#contact) {padding-block:30px;min-height:0}
}
