/* Separate course identities within the restored Box layout. */
@font-face{font-family:BoxFslRough;src:url('./assets/cheddar-gothic-rough.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:BoxFslDisplay;src:url('./assets/bebas-neue.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
.intro-transition{border-top:1px solid #ffffff24;border-bottom:1px solid #ffffff4a;background:#050505}
.manifesto::before{background:#0a1115;border-top:3px solid #4b6876;border-bottom:1px solid #4b68764d}
.products{padding-bottom:76px;border-top:1px solid #ffffff55;background:#080809}
.products::before{display:none}
.section-intro{padding-bottom:64px}
.section-intro .collection-intro{max-width:425px}
.course-nav a:first-child>span{color:#ff667f}
.bundle-map a:first-child{--card-edge:#681426}
.bundle-map a:first-child .map-number{color:#ff667f}
.product.course-chapter{position:relative;display:block;width:100%;max-width:none;margin:0;padding:0 0 64px;border:0;isolation:isolate;scroll-margin-top:calc(var(--header-height) + 12px);background:var(--chapter-bg);color:var(--chapter-ink,#fafafa)}
/* Curved surfaces connect the courses without cutting across the page. */
.course-passage{position:relative;width:100%;height:clamp(86px,8.4vw,128px);margin-bottom:-1px;background:var(--chapter-previous);overflow:hidden;pointer-events:none}
.course-passage>svg{display:block;width:100%;height:100%;overflow:visible}
.passage-underlay{fill:var(--chapter-edge);opacity:.2;transform:translateY(-11px)}
.passage-face{fill:var(--chapter-bg);filter:drop-shadow(0 -5px 6px #00000018)}
.passage-trace{fill:none;stroke:var(--chapter-edge);stroke-opacity:.55;stroke-width:1.2;vector-effect:non-scaling-stroke}
.course-chapter::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:100px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,transparent,var(--chapter-bg))}
.course-passage-out{--chapter-previous:#eee8dc;--chapter-bg:#080809;--chapter-edge:#9d3a9b;margin-bottom:0}
.course-chapter-head{display:flex;align-items:center;gap:28px;padding:25px 0 22px;border-bottom:1px solid var(--chapter-line,#ffffff35);margin-bottom:65px}
.course-chapter-count{display:flex;align-items:center;gap:13px;flex-shrink:0}
.course-chapter-count>b{font:52px/.9 var(--display);font-weight:400;color:var(--chapter-accent);letter-spacing:-1px}
.course-chapter-count>span{font-size:10px;letter-spacing:1px;line-height:1.6;color:var(--chapter-muted,#bcbcc9)}
.course-chapter-head>p{font-size:14px;line-height:1.4;letter-spacing:1.4px;text-transform:uppercase;font-weight:650;margin:0;padding-left:25px;border-left:1px solid var(--chapter-line,#ffffff35)}
.course-chapter-bundle{margin-left:auto;font-size:9px;line-height:1.6;letter-spacing:1.2px;color:var(--chapter-muted,#bcbcc9);text-align:right;max-width:145px}
.product-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(45px,6vw,85px)}
.course-chapter .product-visual{min-width:0}
.course-chapter .product-copy{min-width:0}
.course-chapter .course-identity::after{background:linear-gradient(90deg,var(--chapter-accent),transparent)}
.course-chapter .product-index::before{background:var(--chapter-accent)}
.course-chapter .art-play{--play-accent:var(--chapter-accent)}
.course-chapter .art-trigger{border-color:var(--chapter-control-line,#ffffff58)}
.course-chapter .art-trigger.has-played{border-color:var(--chapter-accent)}

/* Foda-se a Lógica: the existing LP's red, graphite and condensed type. */
.product-logic{--chapter-bg:var(--box-logic);--chapter-previous:#080809;--chapter-edge:#72081b;--chapter-accent:#fff;--chapter-muted:#f7d9de;--chapter-line:#ffffff45;--chapter-control-line:#ef12368a;--course-accent:#ef1236;background-image:radial-gradient(ellipse at 5% 75%,#8b0b212e,transparent 58%)}
.product-logic .course-chapter-count>b{font-family:BoxFslDisplay,Impact,sans-serif;color:#ef1236;font-size:59px}
.product-logic .course-chapter-head>p{font-family:BoxFslDisplay,Impact,sans-serif;font-size:25px;font-weight:400;letter-spacing:1.5px}
.product-logic .product-copy h3{font-family:BoxFslRough,BoxFslDisplay,Impact,sans-serif;font-size:clamp(70px,7vw,101px);line-height:.93;text-transform:uppercase;letter-spacing:.5px;margin:20px 0 27px}
.product-logic .product-copy h3 em{color:#ef1236}
.product-logic .product-copy p{color:#c0c3c4}
.product-logic .product-copy p.product-lead{color:#f7f5f1}
.product-logic .product-index{color:#e0c5cb}
.product-logic .topic-list{color:#e4dedf}
.product-logic .topic-list li{border-color:#ffffff2c}
.product-logic .topic-list li::before{color:#ff748b}
.product-logic .product-facts span{border-color:#ef12366b;background:#8b0b2118;color:#eee}
.product-logic .text-link{color:#ff8a9d;border-color:#ef1236}
.product-logic .logic-art{background:radial-gradient(ellipse at 75% 70%,#8b0b2160,transparent 62%),#171b1c;border:1px solid #ef123691;border-radius:12px 45px 10px 28px;box-shadow:7px 10px 0 #050708,8px 11px 0 #ef123647}
.product-logic .logic-art::after{border-color:#ef123640}
.product-logic .art-word{font-family:BoxFslDisplay,Impact,sans-serif;letter-spacing:1px;color:#f7f5f1;line-height:.95;font-size:78px;top:100px;left:27px}
.product-logic .art-corner{color:#f5c6cf}
.product-logic .logic-sketch{color:#ff748b}
.product-logic .logic-art.is-reframed .art-word{color:#ff748b}
.product-logic .art-trigger{background:#1b2021;color:#f7f5f1}
.product-logic .art-trigger:hover{background:#272123}
.product-logic .art-play-note{color:#c0c3c4}

/* Vieses: an analytical blue field, optical depth and a fine reference grid. */
.product-bias{--chapter-bg:var(--box-bias);--chapter-previous:var(--box-logic);--chapter-edge:#5167fa;--chapter-accent:#a5b2ff;--chapter-muted:#bdc7e7;--chapter-line:#9cafff4a;--chapter-control-line:#91a4f07a;--course-accent:#a5b2ff;background-image:linear-gradient(#b5c2ff05 1px,transparent 1px),linear-gradient(90deg,#b5c2ff05 1px,transparent 1px),radial-gradient(ellipse at 85% 65%,#304cab33,transparent 65%);background-size:48px 48px,48px 48px,auto}
.product-bias .product-copy h3 em{color:#a5b2ff}
.product-bias .product-copy p{color:#c5cde1}
.product-bias .product-copy p.product-lead{color:#fafafa}
.product-bias .product-index{color:#b9c7ea}
.product-bias .perspective{background:#09122d;border-color:#8ca0ff;box-shadow:0 1px 0 #ffffff0b}
.product-bias .perspective>span{color:#b3c1e2}
.product-bias .perspective p{color:#edf1ff}
.product-bias .course-topics{color:#cbd5f2}
.product-bias .text-link{color:#c4ceff;border-color:#9caeff}
.product-bias .bias-art{background:radial-gradient(circle at 50% 50%,#25347e55,transparent 68%),#080f23;border-color:#91a4f0;box-shadow:7px 10px 0 #080e21,8px 11px 0 #9cafff4a}
.product-bias .bias-art::after{border-color:#8d9fdd7a}
.product-bias .bias-sketch{color:#bcc9ff}
.product-bias .bias-note{background:#101b3c;border-color:#9aacec}
.product-bias .art-trigger{background:#101b3e;color:#edf1ff}
.product-bias .art-trigger:hover{background:#192855}
.product-bias .art-play-note{color:#bdc7e7}

/* Narrativa: a lighter paper chapter, visible layers and ink-colored text. */
.product-narrative{--chapter-bg:#eee8dc;--chapter-previous:#111b3b;--chapter-edge:#9d3a9b;--chapter-accent:#822c80;--chapter-ink:#2c2330;--chapter-muted:#65576c;--chapter-line:#6e47674a;--chapter-control-line:#8c5d897a;--course-accent:#822c80;background-image:linear-gradient(115deg,#ffffff2b,transparent 60%)}
.product-narrative .product-copy h3{color:#2c2330}
.product-narrative .product-copy h3 em{color:#822c80}
.product-narrative .product-copy p{color:#62566a}
.product-narrative .product-copy p.product-lead{color:#2c2330}
.product-narrative .product-index{color:#6f4a70}
.product-narrative .perspective{background:#ffffff85;border-color:#822c80}
.product-narrative .perspective>span{color:#755a79}
.product-narrative .perspective p{color:#36273b}
.product-narrative .course-topics{color:#69536f}
.product-narrative .course-topics span::before{background:#822c80}
.product-narrative .text-link{color:#75246f;border-color:#a95ba4}
.product-narrative .narrative-art{background:linear-gradient(135deg,#fffaf2,#e8dfcf);border:1px solid #7d5c7159;box-shadow:7px 10px 0 #c5b7c7,8px 11px 0 #7a506c40}
.product-narrative .product-art::after{border-color:#765e7559}
.product-narrative .sheet-front{background:#faf6ec;color:#2c2330;border-color:#3c2c459c;box-shadow:2px 4px 0 #998693,6px 12px 18px #33203525}
.product-narrative .sheet-front>span{color:#2c2330}
.product-narrative .sheet-front>b{color:#9d3a9b}
.product-narrative .narrative-art[data-frame="1"] .sheet-front{background:#e2e7ff;color:#292236}
.product-narrative .narrative-art[data-frame="2"] .sheet-front{background:#f1d9f1;color:#292236}
.product-narrative .art-trigger{background:#fffaf1;color:#44304c}
.product-narrative .art-trigger>i{color:#755779}
.product-narrative .art-trigger:hover{background:#fff}
.product-narrative .art-trigger.has-played{background:#f7eff7}
.product-narrative .art-play-note{color:#6a5a71}
.product-narrative :focus-visible{outline-color:#822c80}

/* More explicit boundaries for the surrounding chapters, without replacing them. */
.bonus{padding-top:35px;margin-top:0}
.teacher::before{border-top:3px solid #54515e}
.purchase{border-block:2px solid #ffffff40;background:#10151c}
.whatsapp-section{border-block:2px solid #385866;background:#08171b}
.faq::before{border-top:3px solid #a7a0b5}
.closing{border-top:2px solid #686174}

@media(max-width:1100px){.course-chapter-head{gap:22px;margin-bottom:52px}.course-chapter-head>p{font-size:12px;padding-left:22px}.course-chapter-bundle{font-size:7px;letter-spacing:1px}.product-inner{gap:45px}.product-logic .art-word{font-size:67px;top:96px;left:23px}}
@media(max-width:900px){.product-inner{grid-template-columns:1fr;gap:38px}.product-bias .product-visual,.product-bias .product-copy{grid-column:auto;grid-row:auto}.course-chapter .product-visual{width:100%;max-width:560px;margin-inline:auto}.course-chapter .product-copy{max-width:690px}.course-chapter-head{margin-bottom:45px}.course-chapter-bundle{max-width:120px}.product-logic .product-copy h3{font-size:90px}.product-logic .art-word{font-size:78px;left:28px;top:95px}.section-intro{padding-bottom:48px}}
@media(max-width:600px){.product.course-chapter{padding-bottom:54px}.course-chapter-head{display:grid;grid-template-columns:1fr auto;gap:16px 15px;padding:23px 0 20px;margin-bottom:37px}.course-chapter-count{gap:10px}.course-chapter-count>b{font-size:43px}.course-chapter-count>span{font-size:9px;letter-spacing:.7px}.course-chapter-head>p{grid-column:1/-1;grid-row:2;border-left:0;padding-left:0;font-size:12px;letter-spacing:1.3px}.course-chapter-bundle{grid-column:2;grid-row:1;max-width:105px;font-size:8px;letter-spacing:.8px}.product-inner{gap:31px}.course-chapter .product-index{font-size:8px;letter-spacing:1px}.product-logic .course-chapter-count>b{font-size:48px}.product-logic .course-chapter-head>p{font-size:24px;letter-spacing:1.3px}.product-logic .product-copy h3{font-size:78px;line-height:.95;margin:17px 0 24px}.product-logic .art-word{font-size:57px;left:21px;top:92px}.product-logic .art-corner{font-size:6px;max-width:80%}.course-chapter .art-play-note{min-height:3.2em}.product-narrative .product-copy h3{font-size:57px}.section-intro{padding-bottom:40px}.bonus{padding-top:28px}.teacher::before{border-top-width:2px}.purchase,.whatsapp-section{border-width:1px}.intro-transition{padding-bottom:15px}}
@media(max-width:360px){.course-chapter-head{gap:15px 10px}.course-chapter-count>span{font-size:8px;letter-spacing:.5px}.course-chapter-bundle{font-size:7px;max-width:94px}.product-logic .art-word{font-size:50px}.product-logic .product-copy h3{font-size:72px}}
@media(forced-colors:active){.product.course-chapter{background:Canvas;color:CanvasText;border-top-color:Highlight}.course-chapter-head,.course-chapter-head>p{border-color:CanvasText}.course-chapter-head *,.course-chapter .product-copy *,.course-chapter .art-play-note{color:CanvasText}.course-chapter .product-art{background:Canvas;border-color:CanvasText;box-shadow:none}.product-narrative .sheet-front{color:CanvasText;background:Canvas;border-color:CanvasText}}

.chapter-action-arrow{display:block;width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.bundle-map b .chapter-action-arrow{width:16px;height:16px}.product-logic .topic-list li::before{content:'';width:8px;height:8px;left:1px;top:18px;border-top:1px solid currentColor;border-right:1px solid currentColor}

.product-narrative .sheet-back,.product-narrative .sheet-middle{color:#fff}

.chapter-spark{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.course-chapter .art-trigger>i{color:var(--chapter-accent)}.mobile-cta a{gap:8px}.mobile-cta .chapter-action-arrow{width:14px;height:14px}

@media(max-width:600px){.course-passage{height:86px}.passage-underlay{transform:translateY(-8px)}.passage-trace{stroke-opacity:.45;stroke-width:1}.course-passage-out{height:74px}}
@media(forced-colors:active){.course-passage{background:Canvas}.passage-underlay,.passage-face{fill:Canvas;filter:none}.passage-trace{stroke:CanvasText;stroke-opacity:1}.course-chapter::after{display:none}}

/* Red chapter from FSL's .red-section, with its graphite panels and pale ink. */
.product-logic{background-image:radial-gradient(circle at 88% 15%,#ffffff08,transparent 42%),linear-gradient(115deg,transparent 0 54%,#0000000d 54% 55%,transparent 55% 100%)}
.product-logic .course-chapter-count>b,.product-logic .product-copy h3 em{color:#fff}
.product-logic .product-copy h3{text-shadow:3px 5px 0 #72081b55}
.product-logic .product-copy p,.product-logic .topic-list,.product-logic .art-play-note{color:#f7d9de}
.product-logic .product-copy p.product-lead{color:#fff;font-weight:650}
.product-logic .product-index{color:#ffe1e6}
.product-logic .product-index::before{background:#fff}
.product-logic .topic-list li{border-color:#ffffff40}
.product-logic .topic-list li::before{color:#fff}
.product-logic .product-facts span{color:#fff;background:#72081b45;border-color:#ffffff65}
.product-logic .text-link{color:#fff;border-color:#fff}
.product-logic .text-link:hover{color:#fff;background:#72081b33}
.product-logic .logic-art{background:radial-gradient(ellipse at 75% 70%,#8b0b2150,transparent 62%),#111516;border-color:#ffffff45;box-shadow:7px 10px 0 #72081b,8px 11px 0 #ffffff35}
.product-logic .art-trigger{background:#1b2021;border-color:#f7d9de99;color:#fff}
.product-logic .art-trigger.has-played{background:#111516;border-color:#fff}
.product-logic .art-play-note{padding-inline:3px}
.product-logic :focus-visible{outline-color:#75e8e1}
.product-bias .perspective p,.product-narrative .perspective p{font-size:clamp(19px,1.65vw,23px);line-height:1.5}

/* Optional syllabus within each course introduction. */
.course-program { margin-block: 1rem; }
.course-program > summary {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 56px;
  padding: .75rem 1rem;
  border: 1px solid var(--chapter-line);
  border-radius: .55rem;
  background: var(--list-paper);
  color: var(--list-ink);
  cursor: pointer;
  list-style: none;
  font: 700 1rem/1.3 BoxSans, Arial, sans-serif;
}
.course-program > summary::-webkit-details-marker { display: none; }
.course-program > summary:is(:hover, :active), .course-program[open] > summary { background: var(--list-active); }
.course-program > summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.program-list-icon { flex: none; fill: none; stroke: var(--list-accent); stroke-width: 1.8; stroke-linecap: round; }
.program-count { margin-inline-start: auto; font-size: .85rem; color: var(--list-muted); white-space: nowrap; }
.program-chevron {
  flex: none; width: .55rem; height: .55rem; margin-inline: .2rem;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.course-program[open] .program-chevron { transform: rotate(225deg); }
.program-hide, .course-program[open] .program-show { display: none; }
.course-program[open] .program-hide { display: inline; }
.course-program .syllabus-list { margin-block-start: .6rem; }
@media (min-width: 901px) {
  .course-chapter .product-inner:has(.course-program[open]) { align-items: start; }
}
@media (min-width: 901px) and (min-height: 700px) {
  .course-chapter .product-inner:has(.course-program[open]) > .product-visual {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .program-chevron { transition: transform 150ms ease; }
}
.module-label small {
  font: 700 .75rem/1.5 BoxSans, Arial, sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.syllabus-list {
  min-width: 0;
  color: var(--list-ink);
  background: var(--list-paper);
  border: 1px solid var(--list-rule);
  border-radius: var(--list-radius, 0);
  overflow: clip;
}
.syllabus-module + .syllabus-module { border-top: 1px solid var(--list-rule); }
.syllabus-module summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: .85rem clamp(1rem, 2.1vw, 1.75rem);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.syllabus-module summary::-webkit-details-marker { display: none; }
.syllabus-module summary:focus-visible { outline: 3px solid var(--list-accent); outline-offset: -4px; }
.syllabus-module[open] summary {
  background: var(--list-active);
  box-shadow: inset 3px 0 var(--list-accent);
}
.syllabus-module[open] .module-toggle { background: var(--list-accent); color: var(--list-paper); }
.module-label { display: grid; min-width: 0; gap: .18rem; }
.module-label small, .syllabus-preview { color: var(--list-muted); }
.module-label strong { font: 700 clamp(1.1rem, 1.55vw, 1.5rem)/1.2 BoxSans, Arial, sans-serif; }
.syllabus-preview { font-size: .875rem; line-height: 1.4; }
.module-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--list-rule);
  color: var(--list-accent);
}
.module-toggle::before, .module-toggle::after {
  content: '';
  grid-area: 1/1;
  width: .7rem;
  height: 2px;
  background: currentColor;
}
.module-toggle::after { transform: rotate(90deg); }
.syllabus-module[open] .module-toggle::after { transform: rotate(0deg); }
.syllabus-module ol {
  margin: 0;
  padding: .45rem clamp(1rem, 2.1vw, 1.75rem) .9rem clamp(3.1rem, 5vw, 4rem);
  list-style: decimal-leading-zero outside;
  font: 400 1rem/1.5 BoxSans, Arial, sans-serif;
}
.syllabus-module li { padding: .48rem 0 .48rem .25rem; overflow-wrap: break-word; }
.syllabus-module li + li { border-top: 1px solid var(--list-rule); }
.syllabus-module li::marker { font: 700 .85em monospace; color: var(--list-accent); }
.syllabus-module li small { font: inherit; color: var(--list-muted); }
.product-logic {
  --list-paper: #161416; --list-active: #302126; --list-ink: #fff6f6;
  --list-rule: #57434a; --list-accent: #ff9bab; --list-muted: #e4cbd0;
}
.product-logic .module-label strong { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.05 BoxFslDisplay, Impact, sans-serif; }
.product-logic .syllabus-list { border-top: 4px solid #181618; box-shadow: 4px 4px 0 #72081b; }
.product-bias {
  --list-paper: #152142; --list-active: #21345e; --list-ink: #f3f5ff; --list-radius: 1rem;
  --list-rule: #42547e; --list-accent: #bdcaff; --list-muted: #cdd7f6;
}
.product-narrative {
  --list-paper: #fffcf4; --list-active: #f3eaf0; --list-ink: #312333;
  --list-rule: #ccb9c5; --list-accent: #77356b; --list-muted: #695564;
}
.product-narrative .module-label strong { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.product-narrative .module-label strong { font-size: clamp(1.38rem, 2.1vw, 1.85rem); }
.product-narrative .syllabus-list { border-block: 4px double #987e91; }
@media (hover: hover) {
  .syllabus-module summary:hover { background: var(--list-active); }
}
@media (prefers-reduced-motion: no-preference) {
  .module-toggle::after { transition: transform 180ms ease; }
  .syllabus-module summary { transition: background-color 150ms ease; }
}
@media (max-width: 760px) {
  .syllabus-module summary { min-height: 58px; padding: .7rem .85rem; gap: .65rem; }
  .syllabus-preview { font-size: .8125rem; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports selector(details::details-content) and (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
    .syllabus-module::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: clip;
      transition: block-size 240ms cubic-bezier(.25,.78,.28,1), content-visibility 240ms allow-discrete;
    }
    .syllabus-module[open]::details-content { block-size: auto; }
  }
}

/* Course scenes: the artwork itself is the control; the label is inside its hit area. */
.course-scene [hidden] { display: none !important; }
.course-scene-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.course-scene-trigger {
  position: absolute; z-index: 6; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: inherit; background: transparent; color: #fff;
  font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.course-chapter .course-scene-trigger:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.course-scene-action {
  position: absolute; inset-inline-end: clamp(.65rem, 3vw, 1.75rem); inset-block-end: clamp(.65rem, 3vw, 1.5rem);
  display: inline-flex; min-height: 44px; align-items: center; gap: .65rem; max-width: calc(100% - 1.3rem); padding: .45rem .9rem;
  border: 1px solid #ffffffb3; border-radius: 3px; background: var(--scene-action, #161418); color: #fff;
  font: 700 clamp(.79rem, 1.2vw, .91rem)/1.2 BoxSans, Arial, sans-serif;
  text-align: start; box-shadow: 2px 3px 0 #0006;
}
.course-scene-action svg { flex: none; }
.course-scene-trigger:focus-visible .course-scene-action { box-shadow: 0 0 0 2px #161418, 0 0 0 4px #fff; }
@media (hover: hover) {
  .course-scene-trigger:hover .course-scene-action { background: #fff; color: #21192a; }
}
.course-scene-copy, .narrative-case-label {
  position: absolute; z-index: 4; inset-inline-start: clamp(.75rem, 3vw, 1.8rem); inset-block-start: clamp(1.55rem, 4vw, 2.75rem);
  text-align: start; line-height: 1.35;
}
.course-scene-kicker {
  width: fit-content; margin: 0 0 .7rem; padding: .33rem .48rem;
  color: #fff; background: #20192a; border: 1px solid #ffffff8a;
  font: 700 .68rem/1.3 BoxSans, Arial, sans-serif; letter-spacing: .075em; text-transform: uppercase;
}
.course-dialogue {
  display: grid; gap: .43rem; margin: 0; padding: 0; list-style: none;
  font-size: clamp(.83rem, 1.44vw, 1.12rem); font-weight: 650;
}
.course-dialogue li {
  width: fit-content; max-width: 100%; padding: .48rem .65rem;
  border-inline-start: 2px solid var(--scene-dialogue-edge); border-radius: 0 .3rem .3rem 0;
  background: var(--scene-dialogue-bg); color: #fff;
}
.course-dialogue li:nth-child(2) { margin-inline-start: .7rem; }
.course-scene-question, .course-scene-response {
  width: fit-content; margin: .6rem 0 0; padding: .5rem .65rem; border-radius: .25rem;
  color: var(--scene-response-ink); background: var(--scene-response-bg);
  font-size: clamp(.78rem, 1.34vw, .98rem); font-weight: 750;
}
.logic-art.course-scene {
  --scene-dialogue-edge: #ff849b; --scene-dialogue-bg: #21151b;
  --scene-response-bg: #ffe3e9; --scene-response-ink: #481327; --scene-action: #79122c;
}
.logic-dialogue { width: min(65%, 20rem); }
.bias-art.course-scene {
  --scene-dialogue-edge: #a5b2ff; --scene-dialogue-bg: #121d42;
  --scene-response-bg: #e1e6ff; --scene-response-ink: #141c42; --scene-action: #23367e;
}
.bias-dialogue { width: min(64%, 20rem); }
.bias-art.course-scene .bias-optical { inset-inline-start: 19%; }
.bias-art.course-scene .optical-center { width: clamp(3.75rem, 13vw, 7rem); height: auto; aspect-ratio: 1; }

/* Narrative chapter and its outgoing wave. */
.product-narrative {
  --chapter-bg: var(--box-narrative); --chapter-previous: var(--box-bias); --chapter-edge: #c97eb9;
  --chapter-ink: #fff7ff; --chapter-accent: #f4b5e3; --chapter-muted: #ead4ec;
  --chapter-line: #cf9ec25e; --chapter-control-line: #d8a1cf99; --course-accent: #f4b5e3;
  background-image: radial-gradient(ellipse at 86% 5%, #9958a72e, transparent 62%);
}
.course-passage-out { --chapter-previous: var(--box-narrative); --chapter-edge: #c97eb9; }
.product-narrative .product-copy h3, .product-narrative .product-copy p.product-lead { color: var(--chapter-ink); }
.product-narrative .product-copy h3 em, .product-narrative .product-copy .box-secondary-action { color: var(--chapter-accent); }
.product-narrative .product-copy p, .product-narrative .course-topics { color: var(--chapter-muted); }
.product-narrative :focus-visible { outline-color: #f7beea; }
.narrative-art.course-scene {
  --scene-action: #46204f;
  background: radial-gradient(ellipse at 62% 19%, #4f2c5d, #21132e 83%);
  border-color: #a370a6; box-shadow: 7px 10px 0 #170c24, 8px 11px 0 #c97eb947;
}
.narrative-case-label { z-index: 4; }
.product-narrative .course-scene .story-stack { inset: 0; }
.product-narrative .course-scene .story-sheet {
  inset-inline-start: 8%; inset-block-start: 28%; width: 80%; height: auto;
  min-height: clamp(10rem, 50%, 13rem); padding: clamp(.85rem, 2.5vw, 1.4rem);
}
.product-narrative .course-scene .sheet-back { inset-block-start: 23%; inset-inline-start: 11%; background: #7c4e80; border-color: #bd86bd; }
.product-narrative .course-scene .sheet-middle { inset-block-start: 25%; inset-inline-start: 10%; background: #342455; border-color: #ac8ac8; }
.product-narrative .course-scene .sheet-front {
  justify-content: center; background: #fff6fc; color: #27162c; border-color: #44224f;
  box-shadow: 3px 5px 0 #261337, 6px 12px 18px #1e102b77;
}
.product-narrative .course-scene[data-frame="1"] .sheet-front { background: #f2ddf5; color: #27162c; }
.product-narrative .course-scene .story-headline {
  margin: 0; font: 700 clamp(1.06rem, 2.27vw, 1.8rem)/1.2 Georgia, serif;
}
.product-narrative .course-scene .story-question {
  margin: .55rem 0 0; color: #51335e; font-size: clamp(.72rem, 1.2vw, .96rem); font-weight: 650;
}
.product-narrative .product-copy .course-brand:not([hidden]) {
  width: fit-content; max-width: 100%; padding: .35rem .55rem; border-radius: .3rem; background: #fff;
}
@media (max-width: 600px) {
  .course-scene-copy, .narrative-case-label { inset-block-start: 1.55rem; }
  .course-scene-kicker { font-size: .62rem; }
  .logic-dialogue { width: min(68%, 19rem); }
  .bias-dialogue { width: min(72%, 19rem); }
  .product-narrative .course-scene .story-sheet { width: 82%; inset-block-start: 29%; }
  .product-narrative .course-scene .sheet-back { inset-block-start: 22%; }
  .product-narrative .course-scene .sheet-middle { inset-block-start: 25%; }
}
@media (prefers-reduced-motion: reduce) {
  .course-scene .optical-center, .course-scene .story-sheet { animation: none; transition: none; }
}
@media (forced-colors: active) {
  .product-narrative .course-scene .sheet-front, .course-dialogue li, .course-scene-kicker,
  .course-scene-question, .course-scene-response, .course-scene-action {
    background: Canvas; color: CanvasText; border: 1px solid ButtonText;
  }
  .product-narrative .course-scene .story-question { color: CanvasText; }
  .course-chapter .course-scene-trigger:focus-visible { outline-color: Highlight; }
}
