/* The original sections keep their published styles; only the new hero/chapter adapt. */
body.continuity-site{--continuity-bg:var(--bg2,#101419)}
body[data-hero-background] #hero-particle-canvas{translate:10% 0}
body.continuity-site #continuity-story{background:linear-gradient(180deg,#29323b 0%,#202830 44%,var(--bg2,#101419) 100%)}
body.continuity-site #continuity-story h2{text-transform:uppercase}
body[data-hero-background="texture"] #hero.hero-particles-ready .hero-overlay{background:linear-gradient(90deg,#090d12f5 0%,#0b1016ed 35%,#0d131abb 68%,#0b1019bf 100%),url('/images/hero-poster-4.webp') center/cover,#111820}
body[data-hero-background="grid"] #hero.hero-particles-ready .hero-overlay{background:linear-gradient(90deg,#0d141bf5 0%,#101923bd 42%,#15202c66 100%),linear-gradient(#9eb7c012 1px,transparent 1px),linear-gradient(90deg,#9eb7c012 1px,transparent 1px),radial-gradient(ellipse at 76% 38%,#394a59 0%,#16222c 60%,#0d141b 100%);background-size:auto,56px 56px,56px 56px,auto}
body[data-hero-background="texture"] #hero.hero-particles-ready::after{background:linear-gradient(180deg,transparent,#101419)}
body[data-hero-background="grid"] #hero.hero-particles-ready::after{background:linear-gradient(180deg,transparent,#16212c)}
body[data-hero-background="texture"] #continuity-story{background:linear-gradient(180deg,#101419,#101419)}
body[data-hero-background="grid"] #continuity-story{background:linear-gradient(180deg,#16212c00 0%,#10141955 72%,var(--bg2,#101419) 100%),linear-gradient(#9eb7c012 1px,transparent 1px),linear-gradient(90deg,#9eb7c012 1px,transparent 1px),linear-gradient(180deg,#16212c,var(--bg2,#101419) 100%);background-size:auto,56px 56px,56px 56px,auto}
body.particle-morph-enabled #continuity-story.continuity-story-enhanced .continuity-story-step{min-height:140vh;min-height:140svh}
body[data-hero-background="photo"] #particle-scroll-sequence{background:#101419}
body[data-hero-background="photo"] #particle-scroll-sequence::before{content:"";grid-area:1/1;align-self:start;position:sticky;top:0;height:100vh;height:100svh;z-index:0;order:-2;pointer-events:none;background:linear-gradient(90deg,#0a1016f0 0%,#0b121bdc 40%,#0e1724b3 75%,#0d1623b8 100%),linear-gradient(180deg,#10141919 0%,#1014190d 65%,#101419bd 100%),url('/images/mould-rubber-cyclone-cavity.webp') center 48%/cover;filter:saturate(.4)}
/* Soften the workshop above the mould and feather into the machined rim. */
body[data-hero-background="photo"] #particle-scroll-sequence::after {
  content: "";
  grid-area: 1 / 1;
  align-self: start;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  z-index: 0;
  order: -1;
  pointer-events: none;
  background: #090d13b8;
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(#000 5%, #000e 11%, transparent 25%);
}
body[data-hero-background="photo"] #hero{background:transparent}
body[data-hero-background="photo"] #hero :is(.hero-slide,.hero-video,.hero-grid-bg,.hero-dots){display:none}
body[data-hero-background="photo"] #hero .hero-overlay{background:linear-gradient(90deg,#0b111633 0%,transparent 64%)}
body[data-hero-background="photo"] #hero::after{background:none}
body[data-hero-background="photo"] #continuity-story{background:transparent}
body[data-hero-background="photo"] #continuity-story::after{content:"";position:absolute;left:0;right:0;bottom:0;height:24vh;height:24svh;z-index:0;pointer-events:none;background:linear-gradient(180deg,transparent,var(--bg2,#101419))}
@media(min-width:1101px) and (max-width:1400px){body.continuity-site.particle-morph-enabled #particle-stage-rail>#hero-particle-stage{width:50%;margin-left:50%}}
@media(min-width:901px) and (max-width:1100px){body.continuity-site.particle-morph-enabled #particle-stage-rail>#hero-particle-stage{width:40%;margin-left:60%}body[data-hero-background] #hero-particle-canvas{translate:13% 0}}
@media(min-width:901px) and (max-width:1000px){body.continuity-site.particle-morph-enabled #particle-stage-rail>#hero-particle-stage{width:33%;margin-left:67%}}

body.continuity-site.particle-morph-enabled #particle-stage-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow-x: clip;
}
body.continuity-site.particle-morph-enabled #particle-stage-rail > #hero-particle-stage {
  overflow: visible;
  mask-image: none;
}
body.particle-morph-enabled #continuity-story .continuity-story-step[data-continuity-step="0"] {
  margin-left: auto;
}
#particle-stage-rail > :is(#hero-particle-stage, .particle-callouts) {
  grid-area: 1 / 1;
  align-self: start;
}
.particle-callouts {
  --callout-reveal-duration: 180ms;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--callout-reveal-duration) ease;
}
.particle-callouts[data-visible] { opacity: 1; }
.particle-callout-label {
  position: absolute;
  width: max-content;
  transform: translateY(-50%);
  font-size: clamp(12px, .93vw, 15px);
  font-weight: 650;
  line-height: 1.25;
  color: #ffe4cb;
  text-shadow: 0 1px 3px #080c12, 0 0 8px #080c12;
}
.particle-callout-label[data-above] {
  transform: translateY(-100%);
  text-wrap: balance;
}
.particle-callouts:not([data-visible]) .particle-callout-label { visibility: hidden; }
.particle-callout {
  --leader-direction: to right;
  position: absolute;
  height: 1px;
  color: #f1c5a0;
}
.particle-callout[data-side="left"] {
  --leader-direction: to left;
}
.particle-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--leader-direction),
    #f1c5a0ce 0,
    #edbf9866 min(14px, var(--model-span)),
    #edbf9866 var(--model-span),
    #f1c5a0c9 var(--model-span),
    #f1c5a000 100%);
  transform: scaleX(0);
  transition: transform var(--callout-reveal-duration) cubic-bezier(.2,.7,.25,1);
}
.particle-callout[data-side="left"]::before { transform-origin: right; }
.particle-callout[data-side="right"]::before { transform-origin: left; }
.particle-callouts[data-visible] .particle-callout::before { transform: scaleX(1); }
.particle-callout::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe5ce 0 1px, #101217e0 1.4px);
  box-shadow: 0 0 0 1px #101217b3;
}
.particle-callout[data-side="left"]::after {
  right: 0;
  transform: translate(50%, -50%);
}
.particle-callout[data-side="right"]::after {
  left: 0;
  transform: translate(-50%, -50%);
}
