/* Round two: warm comic paper + editor teaser + hands-on examples. */
.scene-direction { background: var(--pf-paper); }
.scene-direction .site-header { background: #faf6e9; border-bottom-color: #bab5a6; }
.scene-direction .hero-paper { background-color: #f5efdc; background-image: radial-gradient(#8f805414 .65px,transparent .8px); background-size: 7px 7px; border-bottom: 2px solid var(--pf-ink); }
.scene-direction .container { max-width: 1230px; }
.scene-direction .site-nav { gap: 22px; }
.scene-direction .hero-note { margin: 0; }
.scene-direction .hero-note span { margin-right: 15px; }
.scene-direction .hero-note span::before { content: '✓'; margin-right: 5px; color: var(--pf-action); font-weight: 800; }
.scene-hero { display: grid; grid-template-columns: .91fr 1.18fr; gap: 48px; align-items: center; padding: 46px 0 40px; }
.scene-hero h1 { font-size: clamp(48px,5.2vw,71px); line-height: .99; margin-bottom: 23px; }
.scene-hero h1 em { font-style: normal; color: var(--pf-action); }
.scene-hero .lead { max-width: 420px; font-size: 14px; margin-bottom: 25px; }
.scene-hero .eyebrow { font-size: 9px; }
.scene-hero .hero-actions { margin-bottom: 24px; }
.scene-hero .hero-note { font-size: 10px; line-height: 2.2; }
.feature-showcase { min-width: 0; }
.showcase-window { background: var(--pf-paper); border: 2px solid var(--pf-ink); border-radius: 7px; overflow: hidden; box-shadow: 6px 6px 0 var(--pf-ink); }
.showcase-top { min-height: 33px; padding: 8px 13px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #e7efff; border-bottom: 1px solid #a8b6d3; font-size: 9px; font-weight: 750; letter-spacing: .07em; }
.showcase-top > span:first-child { display: flex; align-items: center; gap: 8px; }
.showcase-top i { width: 6px; height: 6px; border-radius: 50%; background: var(--pf-action); }
.showcase-stage { min-width: 0; }
.showcase-stage > :first-child { height: 224px; }
.showcase-description { padding: 13px 16px 14px; border-top: 1px solid var(--pf-line); background: var(--pf-paper); }
.showcase-description h3 { font-size: 14px; margin-bottom: 4px; }
.showcase-description p { font-size: 11px; line-height: 1.6; margin: 0; }
.showcase-kicker { display: none; }
.showcase-hint { display: block; margin-top: 7px; font-size: 10px; font-weight: 600; color: var(--pf-action); }
.showcase-switcher { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; padding-top: 17px; }
.showcase-switcher button { border: 1px solid #b8b29f; background: #fffef8bb; border-radius: 4px; min-height: 39px; padding: 5px 3px; text-align: center; font-size: 9px; font-weight: 700; white-space: nowrap; }
.showcase-switcher button span { display: block; font-size: 8px; line-height: 1.3; font-weight: 500; color: #797362; margin-bottom: 2px; }
.showcase-switcher button:hover { background: #fffdf5; }
.showcase-switcher button[aria-selected=true] { background: var(--pf-primary); border: 2px solid var(--pf-ink); box-shadow: 2px 2px 0 var(--pf-ink); }
.showcase-status { min-height: 15px; margin: 10px 0 0; color: #6a675b; font-size: 9px; text-align: center; }
.example-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; padding: 8px 11px; background: var(--pf-paper); border-top: 1px solid var(--pf-line); }
.example-controls > span { margin-right: auto; font-size: 9px; color: var(--pf-muted); }
.example-controls button { min-height: 29px; padding: 5px 8px; border: 1px solid var(--pf-ink); border-radius: 4px; background: var(--pf-paper); font-size: 9px; font-weight: 650; line-height: 1.3; }
.example-controls button[aria-pressed=true] { background: var(--pf-primary); }
.example-controls button:hover { background: var(--pf-tint); }
.example-editor { display: grid; grid-template-columns: 68px minmax(0,1fr) 88px; min-width: 0; background: var(--pf-stage); }
.example-library { padding: 13px 8px; border-right: 1px solid var(--pf-line); background: #fffdf5; }
.example-library > span { display: block; font-size: 7px; font-weight: 800; margin-bottom: 11px; }
.example-library img { width: 100%; display: block; height: 37px; object-fit: cover; border: 1px solid var(--pf-ink); margin-bottom: 7px; }
.example-library .layer-label { font-size: 7px; line-height: 2; color: var(--pf-muted); margin-top: 12px; }
.example-editor-canvas { min-width: 0; display: grid; place-items: center; padding: 13px; background-image: var(--pf-canvas-pattern); background-size: 7px 7px; }
.example-inspector { padding: 14px 8px; background: #fffdf5; border-left: 1px solid var(--pf-line); }
.example-inspector b { display: block; font-size: 7px; margin-bottom: 14px; }
.example-inspector > span { display: block; font-size: 7px; color: #6a675b; margin: 10px 0 6px; }
.example-inspector i { display: block; height: 10px; width: 100%; background: #f3edda; border: 1px solid var(--pf-line); margin-bottom: 5px; border-radius: 2px; }
.example-inspector p { margin: 0 0 5px; padding: 4px; font-size: 6px; background: #e7efff; }
.example-page { width: 220px; max-width: 100%; height: 193px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; background: white; border: 1px solid var(--pf-ink); box-shadow: 3px 3px 0 var(--pf-ink); }
.example-panel { min-width: 0; min-height: 0; position: relative; overflow: hidden; border: 1px solid var(--pf-ink); background: #d9dedf; padding: 0; border-radius: 0; }
.example-panel:first-child { grid-column: span 2; }
.example-page--four .example-panel:first-child { grid-column: auto; }
.example-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.example-caption { position: absolute; left: 7px; right: 7px; top: 7px; padding: 5px 7px; border: 1px solid var(--pf-ink); color: var(--pf-ink); background: #fff9db; font-size: 7px; line-height: 1.4; text-align: left; }
.example-speech { position: absolute; top: 8px; left: 6px; right: 6px; padding: 5px 6px; border: 1px solid var(--pf-ink); border-radius: 40%; background: #fffef8; color: var(--pf-ink); font-size: 7px; line-height: 1.35; text-align: center; }
.example-focus { display: flex; align-items: center; justify-content: center; gap: 36px; background: #e6edfa; padding: 16px 25px; }
.focus-side-note { display: flex; flex-direction: column; gap: 13px; width: 106px; }
.example-eyebrow { font-size: 8px; letter-spacing: .08em; font-weight: 750; }
.focus-side-note strong { font: 500 36px/1 var(--pf-font-display); text-transform: uppercase; }
.focus-side-note small { display: block; font: 10px/1.4 var(--pf-font-body); color: var(--pf-muted); margin-top: 6px; }
.focus-side-note > span:last-child { font-size: 9px; color: var(--pf-action); }
.example-focus .example-page { width: 220px; flex-shrink: 0; }
.example-focus .example-panel:not(.is-active) { filter: saturate(.35); opacity: .65; }
.example-focus .example-panel.is-active { outline: 3px solid var(--pf-primary); outline-offset: 0; z-index: 2; }
.example-page--zoom .example-panel.is-active { transform: scale(1.07); box-shadow: 2px 3px 0 #24262b55; }
.example-motion { position: relative; background: #23324d; overflow: hidden; }
.motion-sky { position: absolute; inset: 0; background: linear-gradient(#182138,#3c5574); }
.motion-moon { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #ffe7a3; right: 70px; top: 28px; }
.motion-stars { position: absolute; top: 42px; left: 45px; letter-spacing: 26px; color: #fff6d4; font-size: 15px; }
.motion-buildings { position: absolute; display: flex; align-items: flex-end; gap: 8px; bottom: 37px; left: 0; right: 0; opacity: .72; }
.motion-buildings i { flex: 1; min-width: 25px; background-color: #172337; background-image: radial-gradient(#dcc47d 1.8px,transparent 2px); background-size: 14px 19px; border: 1px solid #121c2c; }
.motion-rail { position: absolute; left: 0; right: 0; bottom: 31px; height: 6px; background: #8a969b; border-block: 2px solid #1a2435; }
.motion-train { display: flex; align-items: center; justify-content: center; gap: 8px; position: absolute; bottom: 35px; left: 23%; width: 210px; height: 65px; border: 3px solid #24262b; border-radius: 14px 20px 7px 7px; background: #d4b46d; box-shadow: inset 0 -11px 0 #758a91; }
.motion-train i { width: 32px; height: 25px; border: 2px solid #24262b; border-radius: 4px; background: #293b54; margin-top: -9px; }
.motion-train b { position: absolute; bottom: -10px; left: 28px; width: 19px; height: 19px; background: #333c49; border: 3px solid #172337; border-radius: 50%; }
.motion-train b:last-child { left: auto; right: 28px; }
.motion-label { position: absolute; bottom: 8px; left: 13px; color: #d8e3f0; font-size: 8px; letter-spacing: .1em; }
.example-motion .example-caption { left: 13px; right: auto; max-width: 65%; font-size: 8px; }
.example-motion.is-playing .motion-train { animation: scene-train 3.6s ease-in-out both; }
@keyframes scene-train { 0%{transform:translateX(-170%)} 30%,65%{transform:translateX(0)} 100%{transform:translateX(240%)} }
.example-audio { display: grid; grid-template-columns: .8fr 1fr; background: #e7efff; }
.audio-picture { position: relative; overflow: hidden; }
.audio-picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.audio-picture .example-speech { top: 17px; left: 18px; right: 18px; font-size: 10px; padding: 11px; }
.audio-name { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #fffef8; background: #24262baa; padding: 6px; font-size: 7px; }
.audio-tracks { padding: 18px; display: flex; flex-direction: column; min-width: 0; }
.example-wave { height: 64px; display: flex; gap: 4px; align-items: center; justify-content: center; margin: 8px 0; }
.example-wave i { display: block; width: 4px; max-height: 90%; border-radius: 3px; background: var(--pf-action); }
.audio-track { display: flex; align-items: center; gap: 7px; font-size: 8px; padding: 7px 0; border-top: 1px solid #b5c4e2; }
.audio-track > span { color: var(--pf-action); font-size: 7px; }
.audio-track i { font-style: normal; color: #697388; margin-left: auto; font-size: 7px; }
.audio-tracks small { font-size: 7px; color: #697388; margin-top: 6px; }
.example-import { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 15px 22px; background: #f2eddf; }
.example-import > aside { width: 155px; flex-shrink: 0; }
.import-formats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.import-formats b { display: grid; place-items: center; padding: 8px; border: 1px solid var(--pf-ink); border-radius: 3px; background: var(--pf-paper); font-size: 10px; }
.example-import p { margin: 12px 0 0; font-size: 10px; }
.import-arrow { display: block; color: var(--pf-action); font-size: 24px; margin-top: 2px; }
.import-result { position: relative; }
.example-page--detected .example-panel { outline: 2px dashed var(--pf-action); outline-offset: -2px; }
.detected-tag { position: absolute; left: 4px; bottom: 4px; background: var(--pf-action); color: white; padding: 2px 4px; border-radius: 2px; font-size: 6px; }
.import-text-tag { position: absolute; right: -8px; bottom: -6px; padding: 4px 7px; border: 1px solid var(--pf-action); background: #e7efff; font-size: 7px; color: var(--pf-action); }
.example-player { display: flex; align-items: center; justify-content: center; gap: 35px; padding: 16px 27px; background: #e7efff; }
.example-player > aside { flex-shrink: 0; width: 115px; display: flex; align-items: center; flex-direction: column; }
.player-file { width: 85px; padding: 8px 7px; border: 1px solid var(--pf-ink); border-radius: 4px; background: var(--pf-paper); transform: rotate(-5deg); text-align: center; box-shadow: 2px 2px 0 var(--pf-ink); }
.player-file > span { font-size: 7px; display: block; margin-bottom: 4px; }
.player-file strong { font-size: 10px; }
.player-file--yellow { background: var(--pf-primary); transform: rotate(4deg); }
.player-plus { line-height: 1.6; font-size: 14px; }
.example-player aside > small { margin-top: 13px; text-align: center; font-size: 9px; color: var(--pf-muted); }
.mini-reader { flex: 1; min-width: 0; border: 2px solid var(--pf-ink); background: var(--pf-paper); box-shadow: 3px 3px 0 var(--pf-ink); }
.mini-reader-header { padding: 7px 8px; display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 7px; }
.mini-reader-header > b { white-space: nowrap; }
.mini-reader-scene { position: relative; height: 125px; overflow: hidden; border-block: 1px solid var(--pf-ink); }
.mini-reader-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-reader-options { display: flex; justify-content: center; gap: 15px; padding: 6px; font-size: 6px; }
.example-figures { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 28px; background: #f2eddf; }
.example-figures > aside { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.profile-portrait { width: 65px; height: 70px; border: 1px solid var(--pf-ink); border-radius: 6px; background: var(--pf-primary); overflow: hidden; }
.example-character { width: 75px; height: 118px; }
.profile-portrait .example-character { width: 65px; height: 95px; margin-top: 12px; }
.example-figures aside > b { font-size: 12px; margin-top: 5px; }
.example-figures aside > span { font-size: 8px; color: var(--pf-action); }
.example-figures aside > small { font-size: 8px; text-align: center; color: var(--pf-muted); margin-top: 7px; }
.figure-instance { flex: 1; height: 184px; position: relative; overflow: hidden; border: 1px solid var(--pf-ink); background: #30485d; }
.figure-instance > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.figure-instance > .example-character { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
.instance-tag { position: absolute; top: 8px; left: 8px; right: 8px; padding: 4px 6px; background: var(--pf-paper); border: 1px solid var(--pf-ink); font-size: 7px; }
/* Alternative 05: the reader example becomes a wide scene stage. */
.flow-hero { padding: 37px 0 31px; }
.flow-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: end; margin-bottom: 24px; }
.flow-heading h1 { font-size: clamp(44px,4.5vw,62px); line-height: 1.02; margin: 0; }
.flow-heading h1 em { font-style: normal; background: linear-gradient(transparent 63%,#ffe052 63%,#ffe052 92%,transparent 92%); }
.flow-heading .eyebrow { font-size: 9px; margin-bottom: 13px; }
.flow-heading .lead { font-size: 13px; line-height: 1.7; margin-bottom: 17px; max-width: 455px; }
.flow-heading .hero-actions { margin-bottom: 0; }
.feature-showcase--wide .showcase-content { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); }
.feature-showcase--wide .showcase-stage { background: #e7efff; }
.feature-showcase--wide .showcase-stage > :first-child { height: 244px; }
.feature-showcase--wide .showcase-description { display: flex; flex-direction: column; justify-content: center; border-top: 0; border-left: 1px solid var(--pf-ink); padding: 24px 29px; }
.feature-showcase--wide .showcase-kicker { display: block; font-size: 8px; letter-spacing: .1em; font-weight: 800; color: var(--pf-action); margin-bottom: 13px; }
.feature-showcase--wide .showcase-description h3 { font: 500 29px/1.1 var(--pf-font-display); text-transform: uppercase; margin-bottom: 14px; }
.feature-showcase--wide .showcase-description p { font-size: 12px; line-height: 1.7; }
.feature-showcase--wide .showcase-hint { padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--pf-line); line-height: 1.6; }
.feature-showcase--wide .showcase-switcher { max-width: 820px; margin: auto; padding-top: 14px; gap: 7px; }
.feature-showcase--wide .example-page { height: 208px; width: 240px; }
.feature-showcase--wide .example-controls { min-height: 44px; }
.feature-showcase--wide .mini-reader-scene { height: 145px; }
.feature-showcase--wide .figure-instance { height: 210px; }
.scene-proof-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; background: var(--pf-paper); border-bottom: 1px solid var(--pf-line); }
.scene-proof-strip > span { padding: 18px 30px; border-right: 1px solid var(--pf-line); font-size: 11px; }
.scene-proof-strip > span:last-child { border: 0; }
.scene-proof-strip b { margin-right: 7px; color: var(--pf-action); }
.scene-direction .section-heading p { max-width: 370px; }
.example-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px 26px; }
.example-feature-card { position: relative; min-width: 0; }
.feature-card-preview { width: 100%; height: 165px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 18px; border: 2px solid var(--pf-ink); border-radius: 5px; background: var(--pf-stage); margin-bottom: 19px; box-shadow: 2px 2px 0 var(--pf-ink); }
.feature-card-preview:hover { border-color: var(--pf-action); }
.card-example-cta { position: absolute; right: 9px; bottom: 8px; border: 1px solid var(--pf-ink); border-radius: 3px; padding: 3px 7px; background: var(--pf-paper); font-size: 8px; font-weight: 600; }
.example-feature-card h3 { margin: 7px 0 9px; font-size: 16px; }
.example-feature-card p { font-size: 12px; line-height: 1.7; margin: 0; }
.card-feature-num { color: var(--pf-action); font-size: 9px; font-weight: 800; }
.feature-card-preview--audio, .feature-card-preview--focus { background: #e7efff; }
.feature-card-preview--import { background: #24262b; }
.feature-card-preview--player { background: #fff8d3; }
.mini-layout { width: 110px; height: 112px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; padding: 7px; border: 2px solid var(--pf-ink); background: var(--pf-paper); transform: rotate(-5deg); box-shadow: 4px 5px 0 var(--pf-primary); }
.mini-layout i { border: 1px solid var(--pf-ink); background: #b3c4e2; }
.mini-layout i:first-child { grid-column: span 2; background: #7189ac; }
.card-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-play { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--pf-ink); background: var(--pf-primary); border-radius: 50%; font-size: 24px; }
.mini-focus { display: flex; gap: 6px; align-items: center; }
.mini-focus img { display: block; width: 59px; height: 78px; object-fit: cover; border: 1px solid var(--pf-ink); opacity: .45; }
.mini-focus img:nth-child(2) { transform: scale(1.14); opacity: 1; outline: 4px solid var(--pf-primary); z-index: 1; }
.mini-file-row { display: flex; gap: 8px; align-items: center; }
.mini-file-row span { display: grid; place-items: center; width: 45px; height: 63px; border: 1px solid var(--pf-ink); border-radius: 4px; background: #fffef8; color: var(--pf-ink); font-size: 10px; font-weight: 750; transform: rotate(-5deg); }
.mini-file-row .mini-file-out { background: var(--pf-primary); transform: rotate(4deg); }
.mini-file-row b { font-size: 15px; color: #9daec8; }
.figures-note { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 26px 30px; margin-top: 40px; border: 1px solid var(--pf-line); border-radius: 5px; background: var(--pf-soft); }
.figures-note h3 { font-size: 16px; margin: 0 0 6px; }
.figures-note p { font-size: 12px; margin: 0; }
.figures-note button { font-size: 12px; white-space: nowrap; }
.scene-editor-note { font-size: 11px; color: var(--pf-muted); margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.scene-editor-note > span { max-width: 660px; }
.scene-editor-note a { font-weight: 650; color: var(--pf-action); white-space: nowrap; }
.workflow-ribbon { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 2px solid var(--pf-ink); border-radius: 6px; overflow: hidden; }
.workflow-ribbon article { padding: 28px; border-right: 1px solid var(--pf-line); }
.workflow-ribbon article:last-child { border: 0; }
.workflow-ribbon .display { font-size: 32px; color: var(--pf-action); opacity: .5; }
.workflow-ribbon h3 { font-size: 16px; margin: 13px 0 10px; }
.workflow-ribbon p { font-size: 12px; margin: 0; }
.flow-reasons { background: var(--pf-soft); border-block: 1px solid var(--pf-line); }
.comparison--new .concept-grid { grid-template-columns: 1fr 1fr; }
.comparison--new .concept-thumbnail { height: 240px; }
.comparison--new .concept-card p { min-height: 48px; }
.round-links { font-size: 12px; margin-top: 24px; color: var(--pf-action); }
.scene-direction .tour-band { box-shadow: 4px 4px 0 var(--pf-ink); }
@media(max-width:1100px){
  .scene-hero { gap: 30px; grid-template-columns: .85fr 1.15fr; }
  .scene-hero h1 { font-size: 57px; }
  .scene-hero .lead { font-size: 13px; }
  .example-controls > span { display: none; }
  .scene-proof-strip > span { padding-inline: 22px; }
  .flow-heading { gap: 38px; }
  .feature-showcase--wide .showcase-description { padding: 22px; }
}
@media(max-width:780px){
  .scene-hero { grid-template-columns: 1fr; padding: 37px 0 31px; gap: 30px; }
  .scene-hero h1 { font-size: clamp(46px,9vw,62px); }
  .scene-hero .lead { max-width: 600px; font-size: 14px; }
  .scene-hero .eyebrow { line-height: 1.6; }
  .scene-hero .hero-actions { margin-bottom: 17px; }
  .showcase-stage > :first-child { height: 232px; }
  .example-controls { min-height: 45px; }
  .example-controls button { min-height: 33px; font-size: 10px; }
  .showcase-description h3 { font-size: 15px; }
  .showcase-description p { font-size: 12px; }
  .showcase-switcher { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
  .showcase-switcher button { font-size: 10px; min-height: 42px; }
  .showcase-switcher button span { display: inline; margin: 0 4px 0 0; }
  .showcase-status { line-height: 1.6; font-size: 9px; }
  .example-editor { grid-template-columns: 53px 1fr; }
  .example-inspector { display: none; }
  .example-focus { gap: 16px; padding-inline: 15px; }
  .focus-side-note { width: 66px; gap: 12px; }
  .focus-side-note strong { font-size: 28px; }
  .focus-side-note .example-eyebrow { font-size: 6px; }
  .example-focus .example-page { width: 190px; height: 190px; flex-shrink: 1; }
  .example-audio { grid-template-columns: 1fr 1fr; }
  .audio-tracks { padding: 16px 10px; }
  .audio-tracks .example-eyebrow { font-size: 7px; }
  .audio-track i { display: none; }
  .audio-picture .example-speech { top: 17px; left: 10px; right: 10px; font-size: 9px; }
  .example-wave { gap: 3px; }
  .example-import { gap: 16px; padding: 16px 13px; }
  .example-import > aside { width: 100px; }
  .example-import .example-eyebrow { font-size: 7px; }
  .import-formats b { font-size: 8px; padding: 5px; }
  .example-import .example-page { height: 190px; }
  .example-import p { font-size: 8px; }
  .example-player { gap: 18px; padding: 17px 13px; }
  .example-player > aside { width: 82px; }
  .player-file { width: 73px; }
  .mini-reader-header { font-size: 6px; padding: 6px; }
  .mini-reader-options { gap: 9px; }
  .example-figures { gap: 18px; padding: 17px 13px; }
  .example-figures > aside { min-width: 90px; }
  .flow-hero { padding-top: 33px; }
  .flow-heading { grid-template-columns: 1fr; gap: 21px; margin-bottom: 30px; }
  .flow-heading h1 { font-size: clamp(43px,8.6vw,61px); }
  .flow-heading .lead { font-size: 14px; }
  .feature-showcase--wide .showcase-content { grid-template-columns: 1fr; }
  .feature-showcase--wide .showcase-description { padding: 18px; border-left: 0; border-top: 1px solid var(--pf-line); }
  .feature-showcase--wide .showcase-kicker { display: none; }
  .feature-showcase--wide .showcase-description h3 { font-family: var(--pf-font-body); text-transform: none; font-size: 15px; font-weight: 750; margin-bottom: 6px; }
  .feature-showcase--wide .showcase-description p { font-size: 12px; }
  .feature-showcase--wide .showcase-hint { margin-top: 10px; padding-top: 10px; }
  .feature-showcase--wide .showcase-stage > :first-child { height: 232px; }
  .feature-showcase--wide .example-page { width: 195px; height: 192px; }
  .feature-showcase--wide .mini-reader-scene { height: 125px; }
  .feature-showcase--wide .figure-instance { height: 192px; }
  .scene-proof-strip { justify-content: flex-start; }
  .scene-proof-strip > span { width: 50%; padding: 13px 18px; font-size: 10px; }
  .scene-proof-strip > span:nth-child(-n+2) { border-bottom: 1px solid var(--pf-line); }
  .scene-proof-strip > span:nth-child(2) { border-right: 0; }
  .example-feature-grid { grid-template-columns: 1fr 1fr; gap: 26px 19px; }
  .feature-card-preview { height: 145px; }
  .mini-focus { gap: 4px; }
  .mini-focus img { width: 35px; height: 64px; }
  .mini-file-row { gap: 4px; }
  .mini-file-row span { width: 32px; height: 52px; font-size: 7px; }
  .mini-file-row b { font-size: 11px; }
  .figures-note { grid-template-columns: 1fr; gap: 16px; padding: 23px; }
  .figures-note button { justify-self: start; }
  .scene-editor-note { display: block; line-height: 1.7; }
  .scene-editor-note a { display: block; margin-top: 12px; }
  .workflow-ribbon { grid-template-columns: 1fr; }
  .workflow-ribbon article { border-right: 0; border-bottom: 1px solid var(--pf-line); padding: 24px; }
  .comparison--new .concept-grid { grid-template-columns: 1fr; }
}
@media(max-width:390px){
  .scene-direction .container { padding-inline: 20px; }
  .scene-hero h1 { font-size: 49px; }
  .scene-hero .hero-note span { display: inline-block; margin-right: 12px; }
  .scene-hero .hero-actions .pf-button { font-size: 12px; }
  .example-feature-grid { grid-template-columns: 1fr; }
  .feature-card-preview { height: 165px; }
  .mini-file-row span { width: 44px; height: 61px; font-size: 10px; }
  .mini-focus img { width: 60px; height: 79px; }
}
@media(prefers-reduced-motion:reduce){.example-motion.is-playing .motion-train{animation:none;transform:none}.example-page--zoom .example-panel.is-active{transition:none}}
.flow-hero { padding-top: 27px; }
.flow-heading { margin-bottom: 16px; }
@media(max-width:780px){.flow-hero{padding-top:33px}.flow-heading{margin-bottom:27px}}
.feature-showcase { overflow-anchor: none; }
.showcase-description { min-height: 112px; }
.feature-showcase--wide .showcase-description { min-height: 0; }
.showcase-audio-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scene-hero { padding-top: 35px; padding-bottom: 30px; }
@media(max-width:780px){.showcase-description{min-height:145px}.feature-showcase--wide .showcase-description{min-height:145px}.scene-hero{padding-top:37px;padding-bottom:31px}}
@media(pointer:coarse){.example-controls button,.showcase-switcher button{min-height:44px}}
.comparison--new .concept-thumbnail { height: 258px; }
.comparison--new .concept-thumbnail img { object-fit: contain; background: #f5efdc; }
.comparison--new { padding-top: 34px; }
.comparison--new > h1 + p { max-width: 930px; font-size: 14px; }
/* Direction 04 refinement: actual editor, live speech, illustrated character. */
.scene-hero { grid-template-columns: .8fr 1.3fr; gap: 37px; }
.showcase-stage > :first-child,.feature-showcase--wide .showcase-stage > :first-child { height: 310px; }
.showcase-switcher { grid-template-columns: repeat(7,minmax(0,1fr)); }
.example-live-editor { position: relative; background: var(--pf-stage); overflow: hidden; }
.demo-frame-scaler { position: absolute; inset: 0; }
.demo-frame-scaler iframe { width: 1280px; height: 720px; border: 0; transform-origin: 0 0; display: block; background: var(--pf-paper); }
.example-focus { padding: 14px 18px; gap: 14px; }
.focus-side-note { width: 87px; flex-shrink: 0; }
.focus-viewport { flex: 1; min-width: 0; height: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.example-focus .example-page { width: 235px; height: 258px; margin: 8px auto; }
.example-focus .example-page--zoom { width: 470px; max-width: none; height: 516px; margin: 135px 120px; padding: 12px; gap: 10px; }
.example-page--zoom .example-panel.is-active { transform: none; box-shadow: 0 0 0 4px var(--pf-primary),0 5px 18px #0004; }
.example-page--zoom .example-caption,.example-page--zoom .example-speech { font-size: 13px; padding: 9px; }
.example-focus .example-panel { cursor: pointer; }
.live-bubble { position: absolute; left: 12px; right: 12px; top: 17px; padding: 15px 12px 10px; background: #fffef8; border: 2px solid #24262b; border-radius: 22px; box-shadow: 2px 3px 0 #24262b; }
.live-bubble::after { content:''; position: absolute; bottom:-13px; left:28px; width:16px; height:20px; background:#fffef8; border-right:2px solid #24262b; transform:skew(-23deg); clip-path:polygon(0 0,100% 0,0 100%); }
.live-bubble textarea { display:block; width:100%; padding:0; border:0; resize:vertical; min-height:70px; max-height:170px; background:transparent; color:#24262b; font:600 12px/1.5 var(--pf-font-body); text-align:center; border-radius:3px; }
.live-bubble textarea:focus-visible { outline:2px solid var(--pf-action); outline-offset:3px; }
.bubble-edit-hint { display:block; text-align:center; font-size:9px; color:var(--pf-action); margin-top:5px; }
.audio-tracks { justify-content:center; }
.audio-explainer { font-size:14px; font-weight:700; line-height:1.6; margin:12px 0; }
.audio-tracks small { font-size:10px; line-height:1.7; }
.audio-track { font-size:11px; padding:12px 0; }
.audio-track i { font-size:9px; }
.audio-name { font-size:9px; padding:8px; }
.example-figures { gap:20px; padding:15px; }
.example-figures > aside { width:130px; }
.profile-portrait { width:88px; height:96px; background:#e7efff; }
.character-art { display:block; width:140px; height:210px; background:url('./samples/mika-poses.png') no-repeat; background-size:300% 100%; }
.character-art--standing { background-position:0 0; }
.character-art--pointing { background-position:50% 0; }
.character-art--walking { background-position:100% 0; }
.profile-portrait .character-art { width:150px; height:225px; margin:-2px 0 0 -31px; }
.figure-instance { height:278px; }
.figure-instance > .character-art { height:240px; width:160px; bottom:0; filter:drop-shadow(2px 4px 3px #10152488); }
.example-figures aside > b { font-size:16px; }
.example-figures aside > span,.example-figures aside > small { font-size:10px; }
.instance-tag { right:auto; font-size:8px; }
.speech-activity-actions button { padding:10px 17px; font:600 14px var(--pf-font-body); background:var(--pf-paper); border:2px solid var(--pf-ink); border-radius:5px; cursor:pointer; }
@media(max-width:780px){
  .scene-hero { grid-template-columns:1fr; }
  .showcase-switcher { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .showcase-stage > :first-child,.feature-showcase--wide .showcase-stage > :first-child { height:270px; }
  .example-figures > aside { min-width:80px; width:80px; }
  .figure-instance,.feature-showcase--wide .figure-instance { height:240px; }
  .figure-instance > .character-art { height:210px; width:140px; }
  .audio-tracks { padding:12px; }
  .audio-tracks small { font-size:9px; }
  .audio-explainer { font-size:12px; }
  .live-bubble { left:8px; right:8px; padding:12px 8px 9px; }
  .live-bubble textarea { font-size:11px; }
  .example-focus .example-page { width:185px; height:233px; }
  .example-focus .example-page--zoom { width:370px; height:466px; }
  .focus-side-note { width:62px; }
}
@media(prefers-reduced-motion:reduce){.focus-viewport{scroll-behavior:auto}}
.scene-hero { grid-template-columns:.91fr 1.18fr; }
.tour-figure.character-art { aspect-ratio:2/3; width:auto; height:85%; }
@media(max-width:780px){.scene-hero{grid-template-columns:1fr}}
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%); white-space:nowrap; border:0!important; }

/* One shared geometry for every slide: media, controls, description and status. */
.feature-showcase {
  --showcase-media-height: clamp(270px, 28vw, 360px);
  --showcase-controls-height: 48px;
  --showcase-description-height: 128px;
}
.showcase-stage {
  display: grid;
  grid-template-rows: var(--showcase-media-height) var(--showcase-controls-height);
  height: calc(var(--showcase-media-height) + var(--showcase-controls-height));
  min-height: 0;
}
.feature-showcase .showcase-stage > :first-child {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  aspect-ratio: auto;
}
.feature-showcase .example-controls {
  height: 100%;
  min-height: 0;
  flex-wrap: nowrap;
  overflow: auto;
}
.feature-showcase .example-controls button { flex-shrink: 0; }
.demo-frame-scaler iframe { position: absolute; }
.showcase-description {
  height: var(--showcase-description-height);
  min-height: 0;
  overflow: auto;
}
.feature-showcase--wide .showcase-description {
  height: calc(var(--showcase-media-height) + var(--showcase-controls-height));
  min-height: 0;
}
.showcase-status { height: 32px; min-height: 0; overflow: auto; }
@media(max-width:780px) {
  .feature-showcase {
    --showcase-media-height: 270px;
    --showcase-controls-height: 56px;
    --showcase-description-height: 184px;
  }
  .feature-showcase .showcase-description {
    height: var(--showcase-description-height);
    min-height: 0;
  }
}
@media(pointer:coarse) {
  .feature-showcase { --showcase-controls-height: 56px; }
}

body > .pf-site-footer { display:none; }
#landing-account button { padding:8px 12px; background:transparent; border:0; font:600 12px var(--pf-font-body); }
#landing-account .pf-account-panel button { font-size:14px; }
@media(max-width:780px) {
  #landing-account > #account-button { display:none; }
  #landing-account .pf-account-name { display:none; }
  .header-actions { gap:10px; }
  .header-actions .pf-button { white-space:nowrap; }
}
.brand,.brand-name { text-transform:none; }
.brand .brand-mark { display:inline-block; width:32px; height:32px; transform:rotate(-4deg); }
.brand .brand-mark i { display:none; }
.brand .brand-mark::after { content:''; position:absolute; top:7px; left:10px; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:11px solid var(--pf-action); }
.brand .brand-name { font-size:38px; }
.brand-definition { max-width:420px; margin-top:13px; color:var(--pf-muted); font-size:11px; }
@media(max-width:780px) { .brand .brand-mark { width:26px; height:26px; } .brand .brand-mark::after { top:5px; left:7px; } .brand .brand-name { font-size:31px; } }

.nav-free-accent { color:var(--pf-action); }
.site-header a[href="/#kosten"] { white-space:nowrap; }
