/* C+ iteration 2. Local story prototype; the original HBF pages do not load it. */
body[data-variant="cplus"] {
  --cp-edge: var(--hbf-link);
  --cp-line: var(--hbf-accent-support);
  --cp-plane: var(--hbf-accent-warm);
  --cp-rule: color-mix(in srgb, var(--hbf-text) 19%, transparent);
  --cp-quiet-rule: color-mix(in srgb, var(--hbf-text) 9%, transparent);
  background: var(--hbf-bg);
  color: var(--hbf-text);
  font-family: var(--hbf-font-family);
  transition: none;
}

body[data-variant="cplus"] .prototype-toolbar-inner {
  min-height: 88px;
}

body[data-variant="cplus"] .prototype-note {
  padding-block: 10px;
}

#cplus-main {
  overflow: clip;
  outline: none;
}

#cplus-main :where(h1, h2, p, figure) { margin: 0; }
#cplus-main :where(h1, h2) { text-wrap: balance; }
#cplus-main p { overflow-wrap: break-word; }

#cplus-main .cp-layout,
#cplus-main .cp-finale,
#cplus-main .cp-contact {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

#cplus-main .cp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr);
  grid-template-areas: "copy visual";
  align-items: start;
  gap: clamp(40px, 6vw, 92px);
}

#cplus-main .cp-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.78;
  color: var(--hbf-text-soft);
}

#cplus-main .cp-copy h1,
#cplus-main .cp-copy h2 { color: var(--hbf-text); }

#cplus-main .cp-copy p + p { margin-top: 1.35em; }

#cplus-main .cp-hero {
  position: relative;
  padding-block: clamp(48px, 5.5vw, 80px) 72px;
}

#cplus-main .cp-hero .cp-layout {
  min-height: 470px;
  align-items: center;
}

#cplus-main h1 {
  max-width: 11.6ch;
  font-size: clamp(54px, 6.65vw, 96px);
  line-height: .99;
  font-weight: 500;
  letter-spacing: -.061em;
}

#cplus-main .cp-hero .intro {
  max-width: 35ch;
  margin-top: 30px;
  color: var(--hbf-text-soft);
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.55;
  letter-spacing: -.02em;
}

#cplus-main .cp-hero .cp-copy > p:not(.intro) {
  max-width: 58ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--hbf-muted);
}

#cplus-main .cp-visual {
  grid-area: visual;
  position: relative;
  align-self: start;
  min-width: 0;
  width: 100%;
  height: clamp(350px, 34vw, 490px);
  margin: 10px 0 58px;
  color: var(--cp-edge);
  isolation: isolate;
}

#cplus-main .cp-hero .cp-visual {
  align-self: center;
  height: clamp(390px, 37vw, 520px);
  margin-top: 0;
}

#cplus-main .cp-canvas,
#cplus-main .cp-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  pointer-events: none;
}

#cplus-main .cp-canvas { opacity: 0; }
#cplus-main .cp-fallback { opacity: 1; overflow: hidden; }
#cplus-main .cp-visual[data-canvas-ready="true"] .cp-canvas { opacity: 1; }
#cplus-main .cp-visual[data-canvas-ready="true"] .cp-fallback { opacity: 0; }

#cplus-main .cp-scene-note {
  max-width: 56ch;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cp-quiet-rule);
  color: var(--hbf-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-wrap: pretty;
}

#cplus-main .cp-visual > .cp-scene-note {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

#cplus-main .cp-layout > .cp-scene-note { grid-column: 2; }

#cplus-main .cp-chapter {
  position: relative;
  padding-block: clamp(68px, 7.5vw, 108px);
  scroll-margin-top: 28px;
}

#cplus-main .cp-chapter::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(32px, calc((100% - 1280px) / 2));
  right: max(32px, calc((100% - 1280px) / 2));
  height: 1px;
  background: var(--cp-rule);
}

#cplus-main .cp-chapter h2 {
  max-width: 20ch;
  margin-bottom: 32px;
  font-size: clamp(36px, 3.7vw, 53px);
  font-weight: 500;
  line-height: 1.085;
  letter-spacing: -.045em;
}

#cplus-main .cp-reverse .cp-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  grid-template-areas: "visual copy";
}

#cplus-main .cp-reverse .cp-layout > .cp-scene-note { grid-column: 1; }

#cplus-main #chapter-home .cp-copy p:nth-of-type(2) {
  color: var(--hbf-text);
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: -.015em;
}

#cplus-main #chapter-home .cp-visual,
#cplus-main .cp-assembly {
  height: clamp(390px, 39vw, 555px);
  max-height: calc(58svh - 24px);
}

#cplus-main #chapter-exhibition .cp-copy,
#cplus-main #chapter-nature .cp-copy { max-width: 58ch; }

#cplus-main .cp-finale {
  position: relative;
  padding-block: clamp(68px, 8vw, 120px) 56px;
  border-top: 1px solid var(--cp-rule);
}

#cplus-main .cp-finale > :where(h2, p, .cp-actions),
#cplus-main .cp-finale .cp-finale-copy {
  max-width: 860px;
  margin-left: clamp(0px, 7vw, 100px);
}

#cplus-main .cp-finale h2 {
  margin-bottom: 36px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--hbf-muted);
}

#cplus-main .cp-finale :where(p, blockquote) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.025em;
  color: var(--hbf-text);
  text-wrap: pretty;
}

#cplus-main .cp-finale p + p { margin-top: .9em; }

#cplus-main .cp-finale > p:last-of-type,
#cplus-main .cp-finale .cp-finale-copy > p:last-of-type {
  max-width: 24ch;
  margin-top: 1.05em;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

#cplus-main .cp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  margin-top: 38px;
}

#cplus-main .cp-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  max-width: 100%;
  padding: 11px 0;
  border-bottom: 1px solid var(--cp-rule);
  color: var(--hbf-text);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 5px;
}

#cplus-main .cp-actions a:first-child,
#cplus-main .cp-actions .cp-action-primary {
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--hbf-btn-primary-bg);
  color: var(--hbf-btn-primary-text);
}

#cplus-main .cp-actions a:hover { border-bottom-color: var(--hbf-link); }
#cplus-main .cp-actions a:first-child:hover,
#cplus-main .cp-actions .cp-action-primary:hover { background: var(--hbf-accent-primary-hover); }

#cplus-main .cp-contact {
  padding-block: 36px 64px;
  border-top: 1px solid var(--cp-quiet-rule);
}

#cplus-main .cp-contact p {
  max-width: 58ch;
  margin-bottom: 18px;
  color: var(--hbf-muted);
  font-size: 14px;
  line-height: 1.6;
}

#cplus-main .cp-contact :where(.cp-contact-row, .cp-email-row) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#cplus-main .cp-contact button,
#cplus-main .cp-email-copy {
  max-width: 100%;
  min-height: 48px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--hbf-text);
  font-family: var(--hbf-font-family);
  font-size: clamp(19px, 2.15vw, 29px);
  font-weight: 450;
  letter-spacing: -.025em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  cursor: pointer;
}

#cplus-main .cp-contact button:hover { color: var(--hbf-link); }

#cplus-main .cp-email-open,
#cplus-main .cp-contact a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  min-height: 46px;
  padding: 11px;
  border: 1px solid var(--cp-rule);
  border-radius: 50%;
  color: var(--hbf-link);
  text-decoration: none;
}

#cplus-main .cp-email-open svg { width: 20px; height: 20px; }

#cplus-main .cp-contact .cp-copy-status,
#cplus-main .cp-contact [role="status"] {
  min-height: 1.6em;
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--hbf-link);
  font-size: 13px;
  line-height: 1.6;
}

#cplus-main :where(a, button):focus-visible {
  outline: 2px solid var(--hbf-link);
  outline-offset: 5px;
}

body[data-variant="cplus"] .prototype-footer { margin-top: 0; }

#cplus-main .cp-editorial-note{font:13px/1.6 var(--hbf-font-family);color:var(--hbf-muted);max-width:70ch;margin:26px 0 0 clamp(0px,7vw,100px)}
.cp-lab{padding-block:42px 80px}
#cplus-main .cp-lab h1{max-width:none;font-size:clamp(40px,5vw,64px);margin-bottom:24px}
.cp-lab p{max-width:90ch;font-size:16px;line-height:1.7;margin-block:20px!important}
.cp-lab-controls{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:24px 0;border-block:1px solid var(--hbf-border-strong);margin-top:28px}
.cp-lab-controls input{width:min(500px,100%);accent-color:var(--hbf-link);height:44px}
.cp-lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:90px 48px;margin-block:44px 90px}
.cp-lab-grid h2{font-size:24px;margin-bottom:20px!important}
#cplus-main .cp-lab .cp-visual{height:470px;margin-bottom:70px}
@media(max-width:900px){.cp-lab-grid{grid-template-columns:1fr}#cplus-main .cp-editorial-note{margin-left:0}}

@media (max-width: 1100px) {
  #cplus-main .cp-layout { gap: 42px; }
  #cplus-main .cp-hero { padding-top: 52px; padding-bottom: 64px; }
  #cplus-main .cp-hero .cp-layout { min-height: 440px; }
  #cplus-main h1 { font-size: clamp(52px, 7.3vw, 78px); }
  #cplus-main .cp-chapter h2 { font-size: 40px; }
  #cplus-main .cp-visual { height: 360px; }
  #cplus-main .cp-hero .cp-visual { height: 410px; }
  #cplus-main #chapter-home .cp-visual,
  #cplus-main .cp-assembly { height: 410px; }
}

@media (max-width: 900px) {
  #cplus-main .cp-layout,
  #cplus-main .cp-reverse .cp-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual";
    gap: 32px;
  }
  #cplus-main .cp-hero .cp-layout { min-height: 0; }
  #cplus-main .cp-copy { max-width: 66ch; }
  #cplus-main h1 { max-width: 15ch; font-size: clamp(52px, 8vw, 74px); }
  #cplus-main .cp-hero .intro { max-width: 44ch; font-size: 21px; }
  #cplus-main .cp-visual,
  #cplus-main .cp-hero .cp-visual,
  #cplus-main #chapter-home .cp-visual,
  #cplus-main .cp-assembly {
    width: min(100%, 500px);
    height: 340px;
    margin: 0 auto 52px;
  }
  #cplus-main .cp-chapter { padding-block: 64px; }
  #cplus-main .cp-chapter h2 { max-width: 24ch; font-size: 42px; }
  #cplus-main .cp-layout > .cp-scene-note,
  #cplus-main .cp-reverse .cp-layout > .cp-scene-note { grid-column: 1; }
  #cplus-main .cp-finale > :where(h2, p, .cp-actions),
  #cplus-main .cp-finale .cp-finale-copy { margin-left: 0; }
  #cplus-main .cp-finale { padding-top: 72px; }
}

@media (max-width: 520px) {
  #cplus-main .cp-layout,
  #cplus-main .cp-finale,
  #cplus-main .cp-contact { width: calc(100% - 40px); }
  #cplus-main .cp-hero { padding-block: 38px 42px; }
  #cplus-main h1 { max-width: 12.5ch; font-size: clamp(47px, 12.5vw, 63px); line-height: 1.01; letter-spacing: -.055em; }
  #cplus-main .cp-hero .intro { margin-top: 24px; font-size: 19px; line-height: 1.6; }
  #cplus-main .cp-hero .cp-copy > p:not(.intro) { font-size: 16px; }
  #cplus-main .cp-layout,
  #cplus-main .cp-reverse .cp-layout { gap: 24px; }
  #cplus-main .cp-copy { font-size: 18px; line-height: 1.75; }
  #cplus-main .cp-copy p + p { margin-top: 1.2em; }
  #cplus-main .cp-chapter { padding-block: 48px; }
  #cplus-main .cp-chapter::before { left: 20px; right: 20px; }
  #cplus-main .cp-chapter h2 { max-width: 20ch; margin-bottom: 26px; font-size: clamp(32px, 8.7vw, 40px); line-height: 1.12; letter-spacing: -.04em; }
  #cplus-main .cp-visual,
  #cplus-main .cp-hero .cp-visual,
  #cplus-main #chapter-home .cp-visual,
  #cplus-main .cp-assembly { height: clamp(280px, 78vw, 330px); margin-bottom: 58px; }
  #cplus-main .cp-scene-note { font-size: 11px; line-height: 1.6; }
  #cplus-main #chapter-home .cp-copy p:nth-of-type(2) { font-size: 19px; line-height: 1.7; }
  #cplus-main .cp-finale { padding-block: 52px 38px; }
  #cplus-main .cp-finale :where(p, blockquote) { font-size: 29px; line-height: 1.35; }
  #cplus-main .cp-finale > p:last-of-type,
  #cplus-main .cp-finale .cp-finale-copy > p:last-of-type { font-size: 39px; line-height: 1.17; }
  #cplus-main .cp-actions { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 30px; }
  #cplus-main .cp-actions a { justify-content: space-between; }
  #cplus-main .cp-actions a:first-child,
  #cplus-main .cp-actions .cp-action-primary { justify-content: center; }
  #cplus-main .cp-contact { padding-block: 28px 44px; }
  #cplus-main .cp-contact button { font-size: clamp(18px, 5.2vw, 24px); }
  #cplus-main .cp-contact :where(.cp-contact-row, .cp-email-row) { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-variant="cplus"],
  body[data-variant="cplus"] *,
  body[data-variant="cplus"] *::before,
  body[data-variant="cplus"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Iteration 3: the drawing is a companion to the reading timeline. */
body[data-iteration="6.1"]{--cp-edge:#284c70;--cp-rule:rgba(86,119,150,.2);--cp-quiet-rule:rgba(86,119,150,.1)}
html[data-site-theme="dark"] body[data-iteration="6.1"]{--cp-edge:#91b9dc;--cp-rule:rgba(144,181,215,.18);--cp-quiet-rule:rgba(144,181,215,.09)}
body[data-iteration="6.1"] .prototype-toolbar,body[data-iteration="6.1"] .prototype-footer{position:relative;z-index:2;background:transparent}
body[data-iteration="6.1"] .prototype-toolbar-inner{min-height:86px}
body[data-iteration="6.1"] .prototype-tools{margin-left:auto}
body[data-iteration="6.1"] #cplus-main{position:relative;z-index:1;overflow:clip}
#cplus-main .cp-stage{grid-area:visual;align-self:stretch;position:relative;min-width:0;min-height:430px}
#cplus-main .cp-stage .cp-visual{position:sticky;top:max(24px,calc(50svh - 250px));height:min(510px,65svh);max-height:none;margin:0;width:100%;align-self:auto}
#cplus-main .cp-hero .cp-stage{align-self:center;height:min(540px,70svh);min-height:380px}
#cplus-main .cp-hero .cp-visual{position:relative;top:0;height:100%}
#cplus-main .cp-hero{padding-bottom:60px}
#cplus-main #chapter-system .cp-stage{min-height:660px}
#cplus-main #chapter-system .cp-visual{height:min(590px,70svh);top:max(24px,calc(50svh - 295px))}
#cplus-main .cp-finale .cp-finale-copy{max-width:68ch;margin-left:clamp(0px,7vw,100px)}
#cplus-main .cp-finale .cp-finale-copy p,#cplus-main .cp-finale .cp-finale-copy p:last-of-type{max-width:none;font-family:var(--hbf-font-family);font-size:19px;line-height:1.8;letter-spacing:0;color:var(--hbf-text-soft);margin-top:1.2em}
#cplus-main .cp-final-statement{margin:100px 0 64px clamp(0px,7vw,100px);font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5.2vw,75px);line-height:1.12;letter-spacing:-.046em;color:var(--hbf-text)}
#cplus-main .cp-final-line{display:block;padding-block:.09em;opacity:var(--line-opacity,1);transform:translateY(var(--line-shift,0px));text-wrap:pretty}
:lang(pt) #cplus-main .cp-final-statement{font-size:clamp(40px,4.2vw,61px)}
:lang(ms) #cplus-main .cp-final-statement{font-size:clamp(38px,3.8vw,55px)}
#cplus-main .cp-finale .cp-actions{max-width:none;margin-left:clamp(0px,7vw,100px);align-items:flex-start;gap:24px 36px}
#cplus-main .cp-email-copy{font-size:21px;line-height:1.4;padding:10px 0}
#cplus-main .cp-copy-status{font:13px/1.5 var(--hbf-font-family);color:var(--hbf-muted);min-height:20px;letter-spacing:0;margin-top:5px}
body[data-iteration="6.1"] .prototype-footer-inner{justify-content:flex-end}
@media(max-width:900px){
 #cplus-main .cp-stage{min-height:100svh;width:100%;margin:0 auto}
 #cplus-main .cp-stage .cp-visual{width:min(100%,540px);height:min(380px,52svh);top:20svh;margin-inline:auto}
 #cplus-main #chapter-system .cp-stage{min-height:135svh}
 #cplus-main #chapter-home .cp-stage,#cplus-main #chapter-exhibition .cp-stage{min-height:115svh}
 #cplus-main #chapter-system .cp-visual{height:min(430px,56svh);top:18svh}
 #cplus-main .cp-hero .cp-stage{min-height:0;height:390px}
 #cplus-main .cp-hero .cp-visual{height:390px;top:0}
 #cplus-main .cp-final-statement,#cplus-main .cp-finale .cp-finale-copy,#cplus-main .cp-finale .cp-actions{margin-left:0}
 #cplus-main .cp-final-statement{margin-top:80px}
}
@media(max-width:520px){
 body[data-iteration="6.1"] .prototype-toolbar-inner{flex-wrap:nowrap;min-height:78px;gap:12px}
 body[data-iteration="6.1"] .prototype-tools{width:auto;border:0;padding:0;gap:4px}
 body[data-iteration="6.1"] .prototype-brand img{width:66px}
 body[data-iteration="6.1"] .prototype-languages{gap:0}
 body[data-iteration="6.1"] .prototype-languages a,body[data-iteration="6.1"] .prototype-theme{padding:6px;min-width:38px;min-height:44px;font-size:12px}
 #cplus-main .cp-hero .cp-stage,#cplus-main .cp-hero .cp-visual{height:340px}
 #cplus-main .cp-stage .cp-visual{height:min(330px,49svh);top:21svh;margin-bottom:0}
 #cplus-main #chapter-system .cp-visual{height:min(360px,52svh);top:20svh}
 #cplus-main .cp-stage{min-height:82svh}
 #cplus-main #chapter-system .cp-stage{min-height:108svh}
 #cplus-main #chapter-home .cp-stage,#cplus-main #chapter-exhibition .cp-stage{min-height:94svh}
 #cplus-main .cp-finale .cp-finale-copy p,#cplus-main .cp-finale .cp-finale-copy p:last-of-type{font-size:18px;line-height:1.75}
 #cplus-main .cp-final-statement{font-size:clamp(36px,9.2vw,48px);letter-spacing:-.04em;margin-top:72px;margin-bottom:44px}
 :lang(pt) #cplus-main .cp-final-statement,:lang(ms) #cplus-main .cp-final-statement{font-size:clamp(34px,8.5vw,44px)}
 #cplus-main .cp-actions{flex-direction:column;gap:16px}
 #cplus-main .cp-actions .cp-email-copy{font-size:clamp(17px,5vw,21px)}
}
@media(prefers-reduced-motion:reduce){
 #cplus-main .cp-stage,#cplus-main #chapter-system .cp-stage,#cplus-main #chapter-home .cp-stage,#cplus-main #chapter-exhibition .cp-stage{min-height:0;height:auto}
 #cplus-main .cp-stage .cp-visual{position:relative;top:0;height:400px;margin:0 auto 20px}
 #cplus-main .cp-final-line{opacity:1;transform:none}
}
/* Internal diagnostics are deliberately absent from the public package. */
#cplus-main .cp-lab .cp-stage{min-height:0;height:360px}
#cplus-main .cp-lab .cp-visual{position:relative;top:0;height:100%;margin:0}
@media(max-width:520px){#cplus-main .cp-lab .cp-stage{height:320px}}

/* Iteration 4: fixed scene anchors and compact chapter disclosure. */
#cplus-main .cp-exhibition-pair,#cplus-main .cp-exhibition-pin{display:contents}
#cplus-main .cp-exhibition-intro{grid-area:auto;grid-column:1;grid-row:1}
#cplus-main .cp-exhibition-reader{grid-column:1;grid-row:2;min-width:0}
#cplus-main .cp-exhibition-tail{grid-area:auto;margin-top:1.35em}
#cplus-main .cp-exhibition-pin>.cp-stage{grid-column:2;grid-row:1 / 3;grid-area:1 / 2 / 3 / 3}
#cplus-main #chapter-home .cp-visual,#cplus-main #chapter-exhibition .cp-visual,#cplus-main #chapter-nature .cp-visual{transform:none!important}
.cp-factory-logo-dark{display:none}
html[data-site-theme="dark"] .cp-factory-logo-light{display:none}
html[data-site-theme="dark"] .cp-factory-logo-dark{display:block}
.cp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cp-chapter-nav{position:fixed;right:24px;bottom:var(--cp-nav-bottom,24px);z-index:20;color:var(--hbf-text)}
.cp-chapter-nav summary{list-style:none;display:flex;width:46px;height:46px;align-items:center;justify-content:center;margin-left:auto;border:1px solid var(--hbf-border-strong);border-radius:50%;background:color-mix(in srgb,var(--hbf-bg) 88%,transparent);backdrop-filter:blur(16px);cursor:pointer}
.cp-chapter-nav summary::-webkit-details-marker{display:none}
.cp-chapter-nav summary svg{width:22px;height:22px;transition:transform .18s ease}
.cp-chapter-nav[open] summary svg{transform:rotate(180deg)}
.cp-chapter-nav nav{position:absolute;right:0;bottom:58px;width:min(340px,calc(100vw - 40px));max-height:min(520px,calc(100svh - 130px));overflow:auto;padding:10px;border:1px solid var(--hbf-border-strong);border-radius:14px;background:color-mix(in srgb,var(--hbf-bg) 89%,transparent);backdrop-filter:blur(20px);box-shadow:0 16px 50px rgba(0,0,0,.12)}
.cp-chapter-nav a{display:block;padding:11px 12px;min-height:44px;font-size:13px;line-height:1.55;border-radius:6px;text-decoration:none;color:var(--hbf-text-soft)}
.cp-chapter-nav a:hover,.cp-chapter-nav a[aria-current="location"]{color:var(--hbf-text);background:color-mix(in srgb,var(--hbf-text) 7%,transparent)}
.cp-chapter-nav :focus-visible{outline:2px solid var(--hbf-link);outline-offset:4px}
@media(max-width:900px){
 #cplus-main .cp-exhibition-layout{display:block}
 #cplus-main .cp-exhibition-pair,#cplus-main .cp-exhibition-pin{display:block}
 #cplus-main .cp-exhibition-pair{margin-top:30px}
 #cplus-main .cp-exhibition-reader{position:relative;min-width:0}
 #cplus-main .cp-exhibition-tail{margin-top:30px}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-pair{height:var(--cp-pair-height)}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-pin{position:sticky;top:12px;height:calc(100svh - 24px);display:grid;grid-template-rows:min(28svh,240px) minmax(0,1fr);gap:20px;overflow:clip}
 #cplus-main .cp-exhibition-enhanced .cp-stage{min-height:0!important;height:100%;grid-area:auto}
 #cplus-main .cp-exhibition-enhanced .cp-visual{position:relative;top:0;width:min(100%,500px);height:100%;margin:0 auto}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-reader{overflow:clip;grid-area:auto;min-height:0;margin-bottom:64px}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-tail{margin:0;will-change:transform}
 .cp-chapter-nav{right:18px;bottom:var(--cp-nav-bottom,18px)}
}
@media(prefers-reduced-motion:reduce){.cp-chapter-nav summary svg{transition:none}}
#cplus-main .cp-exhibition-layout{row-gap:0}
.cp-chapter-nav[data-obscured="true"]{visibility:hidden;pointer-events:none}
html:not([data-cplus-ready="true"]) .cp-chapter-nav{position:relative;right:auto;bottom:auto;margin:20px 24px 24px auto;width:46px}
@media(max-width:900px){
 #cplus-main #chapter-exhibition:not(.cp-exhibition-enhanced) .cp-stage{min-height:0;height:340px}
 #cplus-main #chapter-exhibition:not(.cp-exhibition-enhanced) .cp-visual{position:relative;top:0;height:100%}
}

/* Iteration 5: pre-fitted S tracks, no hard sticky stops on these scenes. */
#cplus-main .cp-flow-pair,#cplus-main .cp-flow-frame{display:contents}
#cplus-main .cp-flow-layout{row-gap:0}
#cplus-main .cp-flow-title{grid-area:auto;grid-column:1;grid-row:1}
#cplus-main .cp-flow-reader{grid-column:1;grid-row:2;min-width:0}
#cplus-main .cp-flow-tail{grid-area:auto}
#cplus-main .cp-flow-frame>.cp-stage{grid-area:1 / 2 / 3 / 3}
#cplus-main .cp-reverse .cp-flow-title,#cplus-main .cp-reverse .cp-flow-reader{grid-column:2}
#cplus-main .cp-reverse .cp-flow-frame>.cp-stage{grid-area:1 / 1 / 3 / 2}
#cplus-main #chapter-system .cp-stage,#cplus-main #chapter-home .cp-stage{min-height:0}
#cplus-main #chapter-system .cp-visual,#cplus-main #chapter-home .cp-visual,#cplus-main #chapter-exhibition .cp-visual{position:absolute;top:0;left:0;transform:translate3d(0,var(--cp-travel,0px),0)!important;will-change:transform}
#cplus-main #chapter-nature .cp-stage{align-self:start;min-height:0;padding-top:var(--cp-nature-offset,0px)}
#cplus-main #chapter-nature .cp-visual{position:relative;top:0;transform:none!important}
#cplus-main #chapter-industry .cp-stage{align-self:stretch;min-height:0}
#cplus-main #chapter-industry .cp-visual{position:absolute;top:var(--cp-industry-offset,0px);left:0;transform:none!important}
@media(max-width:900px){
 #cplus-main .cp-flow-layout{display:block}
 #cplus-main .cp-flow-pair,#cplus-main .cp-flow-frame{display:block}
 #cplus-main .cp-flow-pair{margin-top:0}
 #cplus-main .cp-flow-reader{position:relative}
 #cplus-main .cp-flow-frame>.cp-stage{grid-area:auto;min-height:0}
 #cplus-main .cp-flow-enhanced .cp-flow-pair{height:var(--cp-flow-pair-height);position:relative}
 #cplus-main .cp-flow-enhanced .cp-flow-frame{position:absolute;top:0;left:0;width:100%;height:calc(84svh - 24px);display:grid;grid-template-rows:min(44svh,360px) minmax(0,1fr);gap:20px;overflow:clip;will-change:transform}
 #cplus-main .cp-flow-enhanced .cp-stage{height:100%}
 #cplus-main .cp-flow-enhanced .cp-visual{height:calc(100% - 40px);width:min(100%,560px);margin:0 auto;left:50%;translate:-50% 0}
 #cplus-main .cp-flow-enhanced .cp-flow-reader{overflow:clip;min-height:0;margin-bottom:64px}
 #cplus-main .cp-flow-enhanced .cp-flow-tail{margin:0;will-change:transform}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-pair{position:relative}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-pin{position:absolute;top:0;left:0;width:100%;height:calc(84svh - 24px);grid-template-rows:calc(min(28svh,240px) + 16px) minmax(0,1fr);will-change:transform}
 #cplus-main .cp-exhibition-enhanced .cp-visual{height:calc(100% - 16px);left:50%;translate:-50% 0}
 #cplus-main #chapter-nature .cp-stage{padding-top:0;min-height:0;height:360px}
 #cplus-main #chapter-nature .cp-visual{height:100%;top:0}
 #cplus-main #chapter-industry .cp-stage{min-height:0;height:390px}
 #cplus-main #chapter-industry .cp-visual{position:relative;top:0;height:100%}
 #cplus-main .cp-flow-layout:not(.cp-flow-enhanced) .cp-stage{height:360px;min-height:0}
 #cplus-main .cp-flow-layout:not(.cp-flow-enhanced) .cp-visual{position:relative;top:0;height:100%;transform:none!important}
}
@media(prefers-reduced-motion:reduce){
 #cplus-main #chapter-system .cp-visual,#cplus-main #chapter-home .cp-visual,#cplus-main #chapter-exhibition .cp-visual{position:relative;top:0;transform:none!important;will-change:auto}
 #cplus-main .cp-flow-pair,#cplus-main .cp-flow-frame{display:contents}
}

/* Iteration6.1: original I5 flow, one local visual offset only. */
#cplus-main #chapter-system .cp-visual,#cplus-main #chapter-home .cp-visual{transform:translate3d(0,var(--cp-travel,-32px),0)!important}
@media(max-width:900px){
 /* Explicit existing grid cells prevent inherited reverse/grid-area rules
    from putting the reader on the drawing's row or creating extra columns. */
 #cplus-main .cp-flow-enhanced .cp-flow-frame>.cp-stage{grid-area:1 / 1 / 2 / 2;min-height:0;height:100%}
 #cplus-main .cp-flow-enhanced .cp-flow-reader{grid-area:2 / 1 / 3 / 2}
 #cplus-main #chapter-system .cp-flow-enhanced .cp-visual,
 #cplus-main #chapter-home .cp-flow-enhanced .cp-visual{height:calc(100% - 40px);top:0}
 #cplus-main #chapter-system .cp-flow-layout:not(.cp-flow-enhanced) .cp-visual,
 #cplus-main #chapter-home .cp-flow-layout:not(.cp-flow-enhanced) .cp-visual{height:100%;top:0}
 /* Preserve the established I6 Exhibition rows; neutralize inherited grid-area. */
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-reader{grid-area:2 / 1 / 3 / 2}
 #cplus-main .cp-exhibition-enhanced .cp-exhibition-pin>.cp-stage{grid-area:1 / 1 / 2 / 2}
 #cplus-main #chapter-exhibition.cp-exhibition-enhanced .cp-visual{height:calc(100% - 16px);top:0}
}
@media(prefers-reduced-motion:reduce){
 #cplus-main #chapter-system .cp-visual,#cplus-main #chapter-home .cp-visual{transform:translate3d(0,-32px,0)!important}
}

/* Mobile only: native reading flow, one centred drawing, no moving/clipped reader. */
@media(max-width:900px){
 #cplus-main :is(#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) .cp-layout{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:none;gap:24px;
 }
 #cplus-main :is(#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) :is(.cp-copy,.cp-flow-pair,.cp-flow-frame,.cp-flow-reader,.cp-exhibition-pair,.cp-exhibition-pin,.cp-exhibition-reader){
  display:contents;
 }
 #cplus-main :is(#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) h2{
  grid-area:1 / 1;max-width:100%;margin:0;
 }
 #cplus-main :is(#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) p{
  grid-column:1;margin:0;min-width:0;
 }
 #cplus-main :is(.cp-hero,#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) .cp-stage{
  grid-area:auto;position:relative;min-height:0;height:clamp(280px,38svh,360px);width:100%;margin:0;
 }
 #cplus-main :is(#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) .cp-stage{grid-area:2 / 1}
 #cplus-main :is(.cp-hero,#chapter-challenge,#chapter-system,#chapter-home,#chapter-exhibition) .cp-stage .cp-visual{
  position:relative;inset:auto;top:0;left:0;translate:none;transform:none!important;
  width:100%;height:100%;max-height:none;margin:0;will-change:auto;
 }
}
