/* Native design demos. Active content-first layout revision: 2026-11-09. */
/* Shared roles; the existing component styles consume this single palette. */
:root {
 --otf-paper:#f8f9f4; --otf-surface:#fff; --otf-tint:#eef2e8;
 --otf-ink:#20271f; --otf-muted:#5f6c5d; --otf-accent:#365c43;
 --otf-line:#dce3d6; --otf-selected:#dbe9cd; --otf-content:1200px;
 --demo-ink:var(--otf-ink); --demo-green:var(--otf-accent);
 --demo-soft:var(--otf-tint); --demo-line:var(--otf-line);
 --home-section-background:var(--otf-paper);
}
[hidden] { display:none !important; }
.brand-draft a:not([class]) { color:inherit; }
.brand-draft .brand-announcement a { color:#365c43; }
.brand-draft .nav-links>li>a[aria-current], .brand-draft .nav-links>li>a.is-active { color:#2e613c; }
.brand-draft .cap-step.is-active, .brand-draft .about-download, .brand-draft .cap-step.is-active:visited { color:#fff; text-decoration:none; border:0; font:inherit; cursor:pointer; }
.brand-draft .cap-step.is-active .cap-step-label { color:inherit; }
.brand-draft .hero { padding:108px 16px 32px; }
.brand-draft .hero>.container { max-width:1600px; padding-inline:0; }
.brand-draft .hero-grid { display:block; }
.brand-draft .hero-copy.hero-surface { max-width:none; width:100%; padding:32px 32px 24px; border-radius:28px; isolation:isolate; }
/* Only the decorative layer is rounded; editable content/focus stays in normal flow. */
.brand-draft .hero-surface::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; border-radius:inherit; background:linear-gradient(to bottom,rgba(239,243,233,.97) 0,rgba(239,243,233,.94) 340px,rgba(239,243,233,.18) 700px),#e9eee5 url('/assets/hero-background-v1.webp') center/cover; }
.brand-draft .hero h1.hero-title { margin:0 auto; padding:0; max-width:100%; }
/* Hero type and wrapping have one owner; size never drops at a layout breakpoint. */
.brand-draft .hero-title-position { font-size:clamp(34px,calc(26px + 2vw),48px); line-height:1.12; letter-spacing:-.025em; white-space:normal; text-wrap:balance; }
.brand-draft .hero-title .blur-word { max-width:100%; white-space:normal; opacity:1; filter:none; transform:none; animation:none; }
.brand-draft .hero-title[data-revealed=true] .blur-word { animation:otf-title-enter .4s ease-out both; }
@keyframes otf-title-enter { from { transform:translateY(6px); } to { transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .brand-draft .hero-title[data-revealed=true] .blur-word { animation:none; } }
.brand-draft .hero-title br { display:inline; }
@media(min-width:1000px) { .brand-draft .hero-title br { display:none; } }
.brand-draft .hero-supporting-text { margin:14px auto 20px; font-size:16px; line-height:1.7; }
.brand-draft .brand-hero-status { margin-top:10px; font-size:12px; color:#526049; }
.brand-draft .hero-artwork.refinement-hero-stage { width:100%; max-width:1040px; margin:24px auto 0; padding:0; background:none; border-radius:0; overflow:visible; pointer-events:auto; scroll-margin-top:112px; }
.workbench { width:100%; max-width:1080px; margin:auto; background:#fff; border:1px solid #ffffffd9; border-radius:14px; box-shadow:0 20px 50px #35423224; overflow:hidden; text-align:left; }
.workbench-bar { min-height:44px; padding:12px 18px; display:flex; gap:24px; align-items:center; border-bottom:1px solid var(--demo-line); color:#63705f; font-size:11px; }
.workbench-bar>b { color:var(--demo-ink); font-size:14px; letter-spacing:-.4px; }
.workbench-bar>.sample-status { margin-left:auto; }
.workbench-body { display:grid; grid-template-columns:180px minmax(0,1fr); }
.workbench-sidebar { padding:24px 16px; border-right:1px solid var(--demo-line); display:flex; flex-direction:column; gap:12px; font-size:12px; color:#63705f; background:#fafbf8; }
.workbench-sidebar>small { margin-bottom:7px; font-size:10px; letter-spacing:.04em; color:#7b8377; }
.workbench-sidebar>span { padding:6px 10px; }
.workbench-sidebar>.selected-file { color:#365c43; background:#e5ecdf; border-radius:5px; font-weight:650; }
.workbench-task { margin-top:auto; padding:16px 9px 0; display:flex; flex-direction:column; gap:8px; border-top:1px solid var(--demo-line); }
.workbench-task small { color:#7b8377; }
.workbench-task b { color:var(--demo-ink); font-size:13px; }
.workbench-task span { font-size:11px; line-height:1.7; }
.workbench-main { min-width:0; padding:0 18px 18px; }
.preview-tabs { display:flex; gap:22px; padding:0 4px; border-bottom:1px solid #ecede7; margin-bottom:16px; }
.preview-tabs button { border:0; border-bottom:2px solid transparent; padding:13px 0 11px; color:#6e756a; background:none; font:inherit; font-size:12px; cursor:pointer; }
.preview-tabs button[aria-selected=true] { border-color:#3b6848; color:#304f37; font-weight:650; }
.scene-demo { width:100%; min-width:0; line-height:1.5; }
.scene-visual { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; border-radius:7px; background:#e9e8e0; text-align:left; isolation:isolate; }
.brand-draft .scene-visual img, .scene-visual img { position:absolute; inset:0; width:100%; height:100%; margin:0; object-fit:cover; border-radius:0; }
.scene-heading { position:absolute; top:27%; left:6%; max-width:58%; color:#293b31; }
.scene-heading small { display:block; font-size:9px; letter-spacing:.18em; font-weight:600; margin-bottom:12px; }
.scene-heading strong { display:block; font-size:clamp(24px,3.2vw,48px); letter-spacing:-.04em; font-weight:650; transform-origin:left center; transition:transform .55s cubic-bezier(.22,.61,.36,1),color .4s; }
.scene-heading strong.is-emphasized { transform:scale(1.16); color:#204d2e; }
.scene-heading p { font-size:11px; margin-top:12px; color:#4e5b4d; }
.scene-directory { position:absolute; bottom:7%; left:6%; right:6%; display:flex; gap:16px; flex-wrap:wrap; color:#596151; font-size:8px; }
.scene-directory b { color:#26432d; border-bottom:1px solid currentColor; padding-bottom:3px; }
.scene-art-label { position:absolute; top:12px; right:12px; padding:3px 7px; border-radius:4px; font-size:8px; color:#56604e; background:#ffffffe0; }
.scene-tools { display:flex; justify-content:space-between; gap:12px; align-items:center; min-height:48px; padding:10px 2px 0; font-size:11px; color:#66705f; }
.scene-tools button, .demo-play-row button { padding:8px 13px; border:1px solid #c8d2bf; border-radius:6px; background:#f6f8f1; color:#304e36; cursor:pointer; font:inherit; font-size:11px; white-space:nowrap; }
.scene-tools button[aria-pressed=true], .demo-play-row button[aria-pressed=true] { background:#2f513a; color:white; border-color:#2f513a; }
.sample-status { display:inline-flex; padding:3px 7px; border-radius:4px; font-size:10px; color:#66705f; background:#f0f3e9; white-space:nowrap; font-weight:400; }
.sample-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; border-bottom:1px solid var(--demo-line); margin-bottom:22px; font-size:12px; color:#56604f; }
.sample-footnote { font-size:10px; color:#5f6c5d; line-height:1.7; margin-top:20px; }
.script-view, .sources-view, .voice-view, .timeline-view, .review-view { padding:24px; border:1px solid #e2e6dc; border-radius:9px; background:#fff; text-align:left; color:#2c3a2f; line-height:1.65; }
.workbench-main>.script-view { min-height:340px; }
.script-context { font-size:10px; color:#7f8977; margin-bottom:20px; }
.script-paragraph { font-size:clamp(14px,1.4vw,19px); margin:16px 0; line-height:1.8; color:#354432; }
mark { color:inherit; background:#e2ecd6; padding:3px 0; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.script-shot { display:flex; gap:18px; margin-top:24px; padding:14px; border-left:2px solid #7e9a6c; background:#f5f7ef; font-size:11px; }
.script-shot b { color:#5f6c5d; font-weight:400; }
.sources-view>small { color:#5f6c5d; font-size:11px; }
.sources-view h3 { font-size:clamp(16px,1.8vw,24px); line-height:1.4; margin:12px 0 24px; }
.excerpt { display:flex; gap:18px; padding:18px; background:#f7f8f3; border-radius:6px; font-size:15px; line-height:2; }
.line-no { color:#5f6c5d; font-size:10px; padding-top:4px; }
.source-match { border-top:1px solid #dce3d3; padding-top:17px; margin-top:22px; font-size:12px; }
.source-match b { color:#537347; font-size:11px; }
.source-match p { margin-top:6px; }
.delivery-image { max-width:560px; margin:auto; }
.delivery-image .scene-heading strong { font-size:30px; }
.delivery-image .scene-directory { font-size:7px; gap:9px; }
.timeline-ruler { display:flex; justify-content:space-between; padding:12px 0 6px 42px; color:#5f6c5d; font-size:9px; }
.timeline-track { display:flex; gap:4px; align-items:stretch; font-size:9px; margin-top:4px; }
.timeline-track>b { width:35px; flex:0 0 35px; padding-block:11px; font-weight:400; color:#5f6c5d; }
.timeline-track>span { flex:1; padding:11px 8px; background:#e7eddc; border:1px solid #d9e2ce; border-radius:3px; }
.timeline-track>.selected-clip { background:#365c43; color:#fff; border-color:#365c43; }
.timeline-track.voice-track>span { background:#e5e9e6; border-color:#d4ddd5; }
.brand-draft .hero-artwork figcaption { padding:12px 10px 0; color:#5e6d57; font-size:10px; }
.brand-draft .about-panel-img { background:#f4f6ef; border-radius:8px; line-height:1.5; }
.sample-panel { width:100%; height:100%; min-width:0; display:flex; align-items:center; padding:14px; }
.sample-panel>div { width:100%; }
.sample-panel .scene-visual { aspect-ratio:16/10; }
.sample-panel .timeline-view { padding:16px; }
.sample-panel .timeline-view .delivery-image { max-width:400px; }
.sample-panel .timeline-view .sample-toolbar { margin-bottom:10px; }
.brand-draft .about-panel { background:#f9faf6; }
/* Thumbnail contents adapt to the existing eleven frame sizes, never resize the stack. */
.brand-draft .cap-media { overflow:hidden; }
.case-cover { height:100%; min-height:0; overflow:hidden; background:#f4f6ed; container-type:inline-size; }
.case-thumb { position:relative; height:100%; padding:12px 14px; overflow:hidden; display:flex; flex-direction:column; justify-content:center; gap:8px; color:var(--demo-ink); text-align:left; line-height:1.45; }
.case-thumb h3, .case-thumb p { margin:0; }
.case-thumb h3 { font-size:16px; font-weight:600; letter-spacing:-.02em; }
.thumb-identity { font-size:11px; color:#64715b; }
.thumb-detail { font-size:12px; color:#64715b; }
.thumb-key { font-size:23px; font-weight:600; }
.thumb-brief { background:#fafbf8; }
.thumb-brief .thumb-key { border-left:3px solid #789267; padding-left:10px; }
.thumb-script { background:#fff; }
.thumb-script .thumb-script { padding:8px 0; font-size:25px; line-height:1.65; font-weight:550; color:#365c43; }
.thumb-outline { margin:0; padding:0; list-style:none; font-size:16px; line-height:1.9; }
.thumb-outline b { color:#365c43; border-bottom:1px solid #8ba47c; }
.thumb-retake { background:#f7f8f3; }
.thumb-cut { display:flex; flex-direction:column; gap:13px; font-size:17px; }
.thumb-cut del { color:#74766c; text-decoration-thickness:1px; }
.thumb-cut ins { text-decoration:none; color:#365c43; background:#e2ebda; padding:6px; }
.thumb-seam { font-size:16px; line-height:1.7; }
.thumb-seam b { display:block; border-top:1px solid #b5c6aa; margin-top:8px; padding-top:8px; color:#365c43; font-weight:550; }
.thumb-chapter { isolation:isolate; }
.brand-draft .thumb-chapter img { position:absolute; inset:0; z-index:-1; object-fit:cover; }
.thumb-chapter h3 { font-size:24px; }
.thumb-chapter .thumb-identity { color:#4c5e46; }
.thumb-focus { background:#e7eddf; }
.thumb-current { font-size:20px; color:#365c43; font-weight:650; }
.thumb-pair { display:flex; gap:8px; font-size:14px; }
.thumb-pair p { flex:1; min-width:0; padding:7px; background:#fff; border-left:2px solid #a3b898; }
.thumb-pair span { display:block; margin-bottom:3px; color:#66745d; font-size:11px; }
.thumb-pair b { font-weight:550; }
.case-thumb.thumb-match { gap:5px; padding:8px 12px; }
.thumb-match p { font-size:14px; line-height:1.5; }
.thumb-match b { color:#365c43; font-weight:550; }
.thumb-subtitle { background:#fff; }
.thumb-subtitle .thumb-subtitle { padding:9px 7px; background:#e7eddf; font-size:16px; line-height:1.8; }
.thumb-package { background:#e0e9d6; }
.thumb-package .thumb-package { font-size:30px; line-height:1.3; letter-spacing:-.04em; font-weight:600; }
.brand-draft .cap-media figcaption { position:static; min-height:32px; padding:7px 10px; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.brand-draft .cap-media figcaption .thumb-caption { margin:0; font-size:12px; line-height:1.4; color:#33472f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.brand-draft .cap-media figcaption .thumb-open { margin:0; font-size:12px; color:#365c43; flex-shrink:0; }
.brand-draft .cap-media .case-card-open { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:inherit; padding:0; background:transparent; transform:none; cursor:pointer; }
.brand-draft .cap-media .case-card-open:hover { box-shadow:inset 0 0 0 2px #8ba47c; }
.brand-draft .cap-media .case-card-open:focus-visible { outline:2px solid #365c43; outline-offset:-4px; }
.brand-draft .cap-media .case-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@container (max-width:260px) {
 .case-thumb { padding:10px; gap:6px; }
 .case-thumb:is(.thumb-retake,.thumb-seam) { padding:8px; gap:5px; }
 .case-thumb .thumb-cut { gap:6px; font-size:14px; }
 .case-thumb .thumb-seam { font-size:14px; line-height:1.45; }
 .case-thumb .thumb-seam b { padding-top:5px; margin-top:5px; }
 .case-thumb .thumb-detail { font-size:11px; }
 .case-thumb h3 { font-size:14px; }
 .thumb-chapter h3 { font-size:22px; }
 .thumb-identity span { display:none; }
 .thumb-key { font-size:20px; }
}
@container (max-width:150px) {
 .case-thumb { padding:8px; gap:9px; }
 .case-thumb h3 { font-size:13px; }
 .thumb-identity { font-size:11px; }
 .thumb-outline { font-size:14px; }
 .thumb-script .thumb-script { font-size:20px; }
 .thumb-package .thumb-package { font-size:26px; }
 .thumb-subtitle .thumb-subtitle { padding:6px; font-size:14px; }
}
.voice-view h3 { font-size:20px; margin-bottom:20px; line-height:1.4; }
.voice-line { display:flex; gap:14px; margin:8px 0; padding:13px; background:#f0f3ec; border-radius:5px; font-size:13px; }
.voice-line>span { font-size:9px; min-width:25px; color:#75826a; }
.removed-line { background:#f5e8e1; color:#97725e; }
.removed-line p { text-decoration:line-through; }
.kept-line { background:#e2ebda; color:#335039; }
.seam-cover { display:flex; flex-direction:column; justify-content:center; gap:25px; background:#f1f4e9; }
.seam-cover small { color:#7b886c; font-size:10px; }
.seam-cover h3 { font-size:24px; line-height:1.5; }
.seam-cover p { font-size:19px; line-height:2.2; }
.seam-cover>span { font-size:10px; color:#8b7969; }
.subtitle-cover { position:relative; padding:0!important; }
.subtitle-line { padding:10px 18px; font-size:14px; text-align:center; color:#fff; background:#29372ce8; border-radius:4px; line-height:1.7; }
.subtitle-cover>.subtitle-line { position:absolute; bottom:16%; left:5%; right:5%; font-size:11px; }
.brand-draft .brand-lab-backdrop { background:#e9eee4 url('/assets/labs-background-v1.webp') center/cover; }
.brand-draft .lab-stage-accordion .lab-artifact { display:none!important; }
.refinement-lab-demo { grid-column:2; grid-row:1; width:100%; min-width:0; z-index:3; }
.refinement-lab-demo>div>div { box-shadow:0 16px 40px #52614512; }
.refinement-lab-demo .sample-toolbar { margin-bottom:18px; }
.refinement-lab-demo .sources-view, .refinement-lab-demo .script-view { padding:25px; }
.refinement-lab-demo .scene-demo { padding:12px; background:white; border-radius:10px; }
.refinement-lab-demo .scene-heading strong { font-size:33px; }
.refinement-lab-demo .scene-tools { font-size:10px; }
.refinement-lab-demo .scene-tools>span { display:none; }
.refinement-lab-demo .scene-tools button { margin-left:auto; }
.review-issue { padding:12px; margin:14px 0; border-left:2px solid #b58d5d; background:#f9f4e9; font-size:12px; color:#816842; }
.review-view h3 { font-size:17px; }
.brand-draft .lab-mobile-preview { display:none!important; }
.brand-draft .cta { background:#26392e url('/assets/hero-background-v1.webp') center/cover; }
.brand-draft .cta::before { background:#20372be8; opacity:1; }
.brand-draft .nav a[aria-current=location], .brand-draft .nav .nav-links a.active { color:#365f3b; }
.case-dialog { width:min(900px,calc(100% - 32px)); max-height:90vh; border:1px solid #dce3d3; border-radius:16px; padding:30px; margin:auto; background:#fafbf7; color:#29392e; overflow:auto; }
.case-dialog::backdrop { background:#26342bb8; backdrop-filter:blur(6px); }
.case-dialog .scene-visual { max-height:40vh; }
.case-dialog-header { position:sticky; top:-30px; z-index:5; background:#fafbf7; padding-block:8px; }
.case-dialog-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:18px; }
.case-dialog-header small { font-size:9px; color:#839077; letter-spacing:.12em; }
.case-dialog-header h2 { font-size:25px; margin-top:6px; letter-spacing:-.04em; }
.case-dialog-header button { border:1px solid #c9d3c1; color:#3c573b; background:#fff; border-radius:6px; padding:8px 12px; font:inherit; font-size:12px; cursor:pointer; }
.dialog-intro { font-size:12px; color:#6a7961; margin-bottom:22px; line-height:1.8; }
.case-dialog [data-case-panel] { padding:0; margin:0; min-height:0; }
.case-dialog [data-case-panel=source] { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.case-dialog [data-case-panel=voice] { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; }
.case-explainer p { margin-top:15px; color:#6e7d64; font-size:14px; line-height:1.9; }
.demo-play-row { display:flex; justify-content:space-between; align-items:center; gap:15px; font-size:11px; color:#68785f; margin-top:16px; }
.demo-play-row button { font-size:12px; }
.demo-play-row button:disabled { opacity:.6; cursor:default; }
.scene-demo.is-playing .scene-heading { animation:chapter-arrive 4s ease-in-out infinite; }
.scene-demo.is-playing .scene-directory b { animation:chapter-focus 4s ease-in-out infinite; }
@keyframes chapter-arrive { 0%{opacity:0;transform:translateY(14px)} 22%,80%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(-5px)} }
@keyframes chapter-focus { 0%,12%{opacity:.2} 35%,85%{opacity:1} 100%{opacity:.2} }
@media(min-width:1400px) { .workbench-body { grid-template-columns:200px minmax(0,1fr); } }
@media(max-width:880px) {
 .brand-draft .hero { padding-top:124px; padding-inline:12px; }
 .brand-draft .hero-copy.hero-surface { padding:36px 20px 20px; border-radius:24px; }
 .workbench-body { grid-template-columns:1fr; }
 .workbench-sidebar { display:none; }
 .workbench-bar { gap:12px; padding:12px; }
 .workbench-bar>span:not(.sample-status) { display:none; }
 .workbench-main { padding:0 12px 12px; }
 .scene-heading strong { font-size:35px; }
 .refinement-lab-demo { grid-column:1; grid-row:2; margin-top:16px; width:min(100%,600px); justify-self:center; }
 .brand-draft .lab-stage-accordion { padding-bottom:52px; }
 .brand-draft .lab-stage-accordion .lab-dock-item { min-height:0; }
 .brand-draft .lab-stage-accordion .lab-dock { padding-bottom:0; }
 .brand-draft .lab-stage-accordion .lab-dock-description { font-size:12px; }
 .brand-draft .lab-stage-accordion .brand-lab-label { right:16px; bottom:16px; }
 .case-cover>div { padding:18px; }
}
@media(max-width:600px) {
 .brand-draft .hero { padding:112px 8px 20px; }
 .brand-draft .hero-copy.hero-surface { padding:30px 12px 18px; border-radius:20px; }
 .brand-draft .hero h1.hero-title { padding:0; }
 .brand-draft .hero-title-position { line-height:1.18; }
 .brand-draft .hero-supporting-text { font-size:14px; padding-inline:10px; max-width:370px; }
 .brand-draft .hero-actions { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:8px; padding-inline:0; }
 .brand-draft .hero-actions :is(.hm-dl-hero,.hero-community-cta) { padding:11px 12px; font-size:14px; min-height:44px; }
 .brand-draft .brand-hero-status { font-size:10px; padding-inline:12px; }
 .workbench { border-radius:9px; }
 .workbench-bar { min-height:38px; padding:10px; gap:6px; }
 .workbench-bar>b { font-size:12px; }
 .workbench-bar>.sample-status { font-size:8px; }
 .workbench-main { padding-inline:10px; }
 .preview-tabs { gap:18px; margin-bottom:10px; }
 .preview-tabs button { font-size:10px; padding:11px 0 9px; min-height:40px; }
 .scene-visual { aspect-ratio:1.3; }
 .scene-visual img { object-position:left center; }
 .scene-heading { top:25%; left:7%; max-width:67%; }
 .scene-heading strong { font-size:30px; }
 .scene-heading small { font-size:7px; letter-spacing:.12em; margin-bottom:10px; }
 .scene-heading p { font-size:10px; max-width:120px; line-height:1.8; margin-top:12px; }
 .scene-directory { bottom:7%; font-size:7px; gap:8px; }
 .scene-directory span { display:none; }
 .scene-directory b { font-size:9px; }
 .scene-art-label { right:8px; top:8px; font-size:7px; }
 .scene-tools { flex-wrap:wrap; gap:8px; padding-top:9px; }
 .scene-tools>span { display:none; }
 .scene-tools>button { width:100%; min-height:38px; font-size:11px; }
 .brand-draft .hero-artwork figcaption { padding-top:10px; font-size:8px; line-height:1.8; }
 .script-view, .sources-view, .voice-view, .timeline-view, .review-view { padding:18px; }
 .sample-toolbar { font-size:11px; margin-bottom:15px; }
 .sample-footnote { font-size:10px; margin-top:14px; }
 .script-paragraph { font-size:14px; margin-block:14px; }
 .script-shot { margin-top:15px; font-size:10px; padding:10px; }
 .sources-view h3 { font-size:19px; margin-bottom:16px; }
 .excerpt { font-size:13px; padding:12px; gap:12px; }
 .source-match { font-size:11px; margin-top:15px; padding-top:13px; }
 .sample-panel { padding:0; }
 .brand-draft .about-panel { padding:14px; }
 .sample-panel .scene-visual { aspect-ratio:1.3; }
 .sample-panel .timeline-view { padding:12px; }
 .sample-panel .timeline-view .scene-directory { display:none; }
 .timeline-track { font-size:8px; }
 .timeline-track>b { flex-basis:26px; width:26px; }
 .timeline-track>span { padding:9px 5px; }
 .brand-draft .cap-media figcaption { padding:8px 10px; min-height:38px; font-size:12px; }
 .cap-media figcaption button { font-size:10px; min-height:34px; }
 .case-cover .scene-heading strong { font-size:28px; }
 .case-cover .scene-heading p { font-size:11px; }
 .case-cover .sample-toolbar { font-size:10px; }
 .case-cover .sources-view h3 { font-size:20px; }
 .case-cover .excerpt { font-size:13px; }
 .case-cover .source-match { font-size:11px; }
 .case-cover .sample-footnote { font-size:10px; }
 .brand-draft .lab-stage-accordion .lab-dock { align-items:stretch; }
 .brand-draft .lab-stage-accordion .lab-dock-item { min-height:145px; }
 .brand-draft .lab-stage-accordion .lab-dock-description { font-size:12px; }
 .refinement-lab-demo { padding-inline:4px; }
 .refinement-lab-demo .scene-heading strong { font-size:28px; }
 .refinement-lab-demo .sources-view, .refinement-lab-demo .script-view { padding:18px; }
 .brand-draft .labs-head .labs-lead { font-size:14px; max-width:33ch; margin-inline:auto; }
 .case-dialog { padding:19px; width:calc(100% - 20px); max-height:92dvh; }
 .case-dialog-header h2 { font-size:22px; }
 .case-dialog [data-case-panel=source], .case-dialog [data-case-panel=voice] { grid-template-columns:1fr; }
 .case-dialog .scene-heading strong { font-size:30px; }
 .case-dialog .scene-tools>span { display:none; }
 .case-dialog .scene-tools>button { width:100%; }
 .dialog-intro { font-size:11px; }
 .demo-play-row { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
 .scene-demo.is-playing .scene-heading, .scene-demo.is-playing .scene-directory b { animation:none; }
 .scene-heading strong { transition:none; }
}
/* Component fallback is governed by refinement-ready/lab-ready in resilience.css,
   not runtime.js's unrelated brand-js flag. */

/* Iteration 2: one editable chapter, shared across its preview and handoff. */
.brand-draft .hero-supporting-text br { display:none; }
.workbench[data-workbench-editor] { max-width:1040px; }
[data-workbench-editor] .workbench-bar { min-height:40px; padding:10px 16px; }
[data-workbench-editor] .workbench-body { grid-template-columns:224px minmax(0,1fr); }
[data-workbench-editor] .workbench-sidebar { display:block; grid-column:1; grid-row:1; padding:18px; }
.editor-disclosure[open]>summary { margin-bottom:12px; }
.editor-heading small { color:#5f6c5d; font-size:11px; letter-spacing:.04em; }
.editor-heading h2 { font-size:18px; line-height:1.4; font-weight:600; letter-spacing:-.03em; margin:5px 0 7px; }
.editor-heading p { font-size:12px; color:#697461; line-height:1.65; }
[data-scene-form] { display:flex; flex-direction:column; gap:10px; margin:0; }
[data-scene-form]>label:not(.editor-checkbox) { display:flex; justify-content:space-between; gap:8px; color:#46573e; font-size:12px; }
[data-scene-form]>label>span { font-size:11px; color:#5f6c5d; }
[data-scene-form] input[type=text], [data-scene-form] input[name=chapterTitle] { width:100%; min-width:0; height:40px; border:1px solid #cdd6c4; background:#fff; border-radius:6px; padding:8px 11px; font:inherit; font-size:15px; color:#293a2d; }
[data-scene-form] .editor-checkbox { display:flex; gap:8px; align-items:center; min-height:25px; cursor:pointer; }
[data-scene-form] .editor-checkbox span { font-size:12px; color:#4c5f43; }
.editor-checkbox input { accent-color:#365c43; width:16px; height:16px; flex-shrink:0; }
.editor-apply { border:1px solid #2e4b35; background:#2e4b35; color:white; border-radius:6px; min-height:40px; font:inherit; font-size:13px; font-weight:550; cursor:pointer; transition:background .18s,transform .18s; }
.editor-apply:hover { background:#243c2b; }
.editor-apply:active { transform:translateY(1px); }
.editor-local-note { font-size:11px; color:#5f6c5d; line-height:1.5; margin:0; }
[data-workbench-editor] .workbench-main { padding:0 14px 14px; }
[data-workbench-editor] .preview-tabs { margin-bottom:12px; }
[data-workbench-editor] .preview-tabs button { min-height:44px; font-size:12px; }
[data-workbench-editor] .scene-visual { height:auto; aspect-ratio:16/9; }
[data-workbench-editor] .scene-visual img { object-position:center; }
[data-workbench-editor] .scene-heading { top:20%; max-width:58%; }
[data-workbench-editor] .scene-heading strong { font-size:34px; line-height:1.2; overflow-wrap:anywhere; }
[data-workbench-editor] .scene-heading small { font-size:10px; margin-bottom:13px; }
[data-workbench-editor] .scene-directory { font-size:10px; gap:13px; }
[data-workbench-editor] .scene-heading p { font-size:12px; }
[data-workbench-editor] .scene-art-label { font-size:10px; }
[data-workbench-editor] .script-view { padding:16px 20px; height:250px; overflow:auto; }
[data-workbench-editor] .script-view .sample-toolbar { margin-bottom:10px; padding-bottom:9px; }
[data-workbench-editor] .script-context { margin-bottom:8px; font-size:12px; }
[data-workbench-editor] .script-paragraph { font-size:15px; margin:10px 0; }
[data-workbench-editor] .script-shot { margin-top:12px; padding:9px 12px; font-size:12px; }
.editor-result { border-top:1px solid var(--demo-line); background:#fbfcf8; padding:9px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; }
.editor-result p { font-size:12px; color:#627157; line-height:1.6; }
.editor-result>div { display:flex; gap:5px; flex-shrink:0; }
.editor-result button { font:inherit; font-size:12px; border:1px solid #dce3d6; border-radius:6px; background:#fff; color:#3e583c; padding:7px 10px; min-height:34px; cursor:pointer; }
.editor-result button:hover:not(:disabled) { background:#edf2e6; border-color:#b7c8ac; }
.editor-result button[aria-pressed=true] { background:#e2ead8; border-color:#aabf99; }
.editor-result button:disabled { opacity:.45; cursor:default; }
.editor-result [data-go-delivery] { color:#2d4c34; border-color:transparent; background:transparent; font-weight:600; }
[data-workbench-editor] :is(button,input):focus-visible { outline:2px solid #48704b; outline-offset:3px; }
.delivery-board { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; height:250px; }
.delivery-board > * { min-width:0; }
.delivery-board .delivery-image { width:100%; min-width:0; margin:0; }
[data-workbench-editor] .delivery-board .scene-visual { height:250px; }
[data-workbench-editor] .delivery-board .scene-heading { max-width:74%; top:26%; }
[data-workbench-editor] .delivery-board .scene-heading strong { font-size:28px; }
.delivery-board .scene-directory>span, .delivery-board .scene-heading>p { display:none; }
.delivery-manifest { padding:8px 2px; color:#384d33; overflow:auto; }
.delivery-manifest .sample-toolbar { padding-bottom:9px; margin-bottom:10px; }
.delivery-manifest dl { margin:0; }
.delivery-manifest dl>div { display:grid; grid-template-columns:56px minmax(0,1fr); gap:10px; padding:9px 0; border-bottom:1px solid #e9ede3; font-size:12px; line-height:1.6; }
.delivery-manifest dt { color:#819075; }
.delivery-manifest dd { margin:0; }
.delivery-manifest .sample-footnote { font-size:11px; margin-top:12px; }
.brand-draft .hero-artwork figcaption { font-size:11px; line-height:1.7; padding-top:9px; }
@media(min-width:881px) {
 .brand-draft .hero-actions :is(.hm-dl-hero,.hero-community-cta) { min-height:44px; padding-block:10px; }
}
@media(max-width:880px) {
 [data-workbench-editor] .workbench-body { grid-template-columns:1fr; }
 [data-workbench-editor] .workbench-main { grid-row:1; }
 [data-workbench-editor] .workbench-sidebar { grid-row:2; border-right:0; border-top:1px solid var(--demo-line); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px 20px; padding:18px; }
 .editor-local-note { grid-column:1/-1; }
 .editor-result { flex-wrap:wrap; }
 .editor-result>div { width:100%; justify-content:flex-end; }
 .editor-result button { min-height:40px; }
 .brand-draft .hero-supporting-text br { display:block; }
}
@media(max-width:600px) {
 [data-workbench-editor] .workbench-bar { padding:10px; }
 [data-workbench-editor] .workbench-bar>.sample-status { font-size:10px; }
 [data-workbench-editor] .workbench-main { padding:0 10px 12px; }
 [data-workbench-editor] .preview-tabs { gap:17px; margin-bottom:10px; }
 [data-workbench-editor] .preview-tabs button { font-size:12px; }
 [data-workbench-editor] .scene-visual { height:218px; }
 [data-workbench-editor] .scene-visual img { object-position:left center; }
 [data-workbench-editor] .scene-heading { top:23%; max-width:70%; }
 [data-workbench-editor] .scene-heading strong { font-size:29px; }
 [data-workbench-editor] .scene-heading small { font-size:9px; }
 [data-workbench-editor] .scene-directory b { font-size:10px; }
 [data-workbench-editor] .workbench-sidebar { display:flex; padding:16px; gap:12px; }
 .editor-heading h2 { font-size:18px; }
 .editor-heading p { font-size:12px; }
 [data-scene-form] { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
 [data-scene-form]>label:not(.editor-checkbox), [data-scene-form]>input { grid-column:1/-1; }
 [data-scene-form] input[name=chapterTitle] { font-size:16px; min-height:44px; }
 [data-scene-form] .editor-checkbox { min-height:44px; }
 .editor-apply { min-height:44px; }
 .editor-local-note { font-size:11px; }
 .editor-result { padding:12px; }
 .editor-result>div { gap:4px; justify-content:space-between; }
 .editor-result button { padding:6px 8px; font-size:11px; }
 [data-workbench-editor] .script-view { height:280px; padding:15px; }
 .delivery-board { grid-template-columns:minmax(0,1fr); height:auto; }
 [data-workbench-editor] .delivery-board .scene-visual { height:180px; aspect-ratio:auto; min-width:0; }
 .delivery-manifest { padding:4px; overflow:visible; }
 .brand-draft .hero-artwork figcaption { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) { .editor-apply { transition:none; } }

/* Native method-library preview; scoped to the third Labs panel. */
.refinement-lab-demo .lab-method-card {
  padding:24px;
  border:1px solid #e2e6dc;
  border-radius:9px;
  background:#fff;
  color:var(--demo-ink, #26332d);
  text-align:left;
  line-height:1.65;
}
.lab-method-card h3 {
  margin:0 0 12px;
  font-size:23px;
  line-height:1.4;
  letter-spacing:-.025em;
}
.lab-method-intro {
  margin:0;
  color:#63705f;
  font-size:14px;
  line-height:1.8;
}
.lab-method-spec {
  margin:20px 0;
  border-top:1px solid var(--demo-line, #dde2d8);
}
.lab-method-spec > div {
  display:grid;
  grid-template-columns:48px minmax(0, 1fr);
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--demo-line, #dde2d8);
}
.lab-method-spec dt {
  font-size:12px;
  font-weight:600;
  color:#63705f;
}
.lab-method-spec dd {
  margin:0;
  font-size:14px;
  overflow-wrap:anywhere;
}
.lab-method-card .lab-method-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  font-size:13px;
}
.lab-method-action:focus-visible {
  outline:2px solid #365c43;
  outline-offset:3px;
}
.lab-method-card .sample-footnote {
  margin-top:14px;
  font-size:12px;
  line-height:1.7;
}
@media(max-width:600px) {
  .refinement-lab-demo .lab-method-card { padding:18px; }
  .lab-method-card h3 { font-size:21px; }
  .lab-method-spec > div { gap:10px; }
}
/* Visible native previews share one restrained entry transition. */
@media(prefers-reduced-motion:no-preference) {
 [data-preview-panel]:not([hidden]), [data-lab-demo]:not([hidden]) { animation:preview-enter .3s cubic-bezier(.2,.65,.3,1) both; }
 @keyframes preview-enter { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
}
/* Results lead; controls may continue below the first viewport. */
.editor-result { margin:0; }
.editor-result p { margin:0; }
@media(min-width:881px) {
 [data-workbench-editor] .workbench-sidebar { padding:14px 18px; gap:8px; }
 .editor-heading h2 { margin:3px 0 5px; }
 .editor-heading p { line-height:1.5; }
 [data-scene-form] { gap:8px; }
 [data-workbench-editor] .script-view { height:auto; min-height:360px; }
 .delivery-board { height:auto; min-height:360px; }
 [data-workbench-editor] .delivery-board .scene-visual { height:100%; min-height:360px; aspect-ratio:auto; }
}
#chapter-editor { scroll-margin-top:112px; }
[data-workbench-editor] .scene-heading p { max-width:190px; }
[data-workbench-editor] .workbench-main { scroll-margin-top:112px; }
@media(max-width:600px) { .brand-draft .hero-supporting-text br { display:none; } }
/* Collapsible editor keeps the mobile result first; the native summary also works without JS. */
.editor-disclosure { min-width:0; width:100%; }
.editor-disclosure>summary { min-height:44px; cursor:pointer; color:var(--demo-ink); font-size:15px; font-weight:600; line-height:1.5; }
.editor-disclosure>summary>span { display:block; padding-left:16px; font-size:12px; font-weight:400; color:#697461; }
.editor-fields { display:flex; flex-direction:column; gap:14px; padding-top:14px; }
.editor-disclosure>summary:focus-visible { outline:2px solid #48704b; outline-offset:3px; }
.delivery-change { margin:0 0 6px; padding:12px; background:#e7eddf; border-left:2px solid #789267; font-size:12px; line-height:1.7; }
.delivery-change p { margin:0; overflow-wrap:anywhere; }
.delivery-change p:first-child { margin-bottom:5px; }
.delivery-change p span { display:block; color:#63705f; font-size:11px; }
.delivery-change b { font-size:14px; font-weight:600; }
@media(min-width:881px) {
 .editor-disclosure[open]>summary { font-size:13px; color:#63705f; }
 .editor-disclosure[open]>summary>span { display:none; }
}
@media(max-width:880px) {
 [data-workbench-editor] .workbench-sidebar { display:block; padding:14px 18px; }
 .editor-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; }
 .editor-fields .editor-local-note { grid-column:1/-1; }
}
@media(max-width:600px) {
 .editor-fields { display:flex; gap:12px; }
 [data-workbench-editor] .scene-heading { top:18%; }
 [data-workbench-editor] .scene-heading strong { font-size:26px; }
 [data-workbench-editor] .scene-heading p { margin-top:8px; font-size:11px; }
 [data-workbench-editor] .scene-directory b { max-width:100%; overflow-wrap:anywhere; }
 [data-workbench-editor] .delivery-board .scene-heading { top:15%; }
 [data-workbench-editor] .delivery-board .scene-heading strong { font-size:24px; }
}
.scene-demo.is-playing.is-paused .scene-heading,
.scene-demo.is-playing.is-paused .scene-directory b { animation-play-state:paused; }

/* Content-first layout. These sections replace the former pinned geometry.
   ID scopes keep the reference stylesheet out of active component sizing. */
body.brand-draft, .brand-draft .shell { background:var(--otf-paper); color:var(--otf-ink); }
.brand-draft .container { width:100%; max-width:var(--otf-content); padding-inline:32px; margin-inline:auto; }
.brand-draft :is(#about,#capabilities,#labs,#method,#pricing,#customer-stories,#faq) { padding-block:80px; }
.brand-draft :is(#about,#capabilities,#labs,#method,#pricing,#testimonial,#work,#customer-stories,#faq) h2 { color:var(--otf-ink); font-size:clamp(26px,2.6vw,36px); font-weight:600; line-height:1.3; letter-spacing:-.025em; }
.brand-draft .section-kicker { margin:0 0 16px; color:var(--otf-accent); font-size:13px; font-weight:600; line-height:1.5; letter-spacing:.08em; }
.brand-draft .section-intro { margin:16px 0 0; color:var(--otf-muted); font-size:16px; line-height:1.75; }
.brand-draft :is(.brand-lead,.labs-lead,.brand-cap-lead) { color:var(--otf-muted); line-height:1.75; }
.brand-draft :is(.btn,.hm-dl-hero,.hero-community-cta,.about-download,.cap-step) { min-height:44px; box-shadow:none; font-size:14px; font-weight:500; }
.brand-draft :is(.btn-primary,.hm-dl-hero,.about-download,.cap-step.is-active) { background:var(--otf-ink); color:#fff; border-color:var(--otf-ink); }
.brand-draft :is(.btn,.hm-dl-hero,.hero-community-cta,.about-download,.cap-step):hover { transform:translateY(-2px); box-shadow:none; }
.brand-draft :is(.btn,.hm-dl-hero,.hero-community-cta):active { transform:translateY(1px); }
.brand-draft .hero-actions .hm-dl-hero { animation:none; box-shadow:none; }
.brand-draft .hero-actions .hm-dl-hero::before, .brand-draft .hero-actions .hm-dl-hero::after { content:none; }
.brand-draft .brand-announcement { background:var(--otf-tint); }
.brand-draft .brand-announcement a { padding-block:6px; }
.brand-draft .nav .brand-lockup { min-height:44px; }
#top > .container { max-width:1600px; padding-inline:0; }
#top .hero-supporting-text { max-width:54ch; }
#top .brand-hero-status { font-size:13px; }
#top .hero-artwork > figcaption { font-size:13px; color:var(--otf-ink); line-height:1.6; }
#top .workbench { border:1px solid var(--otf-line); box-shadow:0 16px 48px #28352212; }
#top :is(.workbench-bar,.sample-status,.preview-tabs button,.editor-local-note,.editor-heading p,[data-scene-form]>label,[data-scene-form]>label>span,.editor-checkbox span,.editor-result p) { font-size:13px; }
#top .editor-heading small { font-size:12px; }
#top .editor-result button { min-height:44px; }
#top .editor-apply { min-height:44px; background:var(--otf-accent); }
#top .editor-result { flex-wrap:wrap; }
.scene-heading p, .scene-directory { color:#26392c; }
.scene-visual::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg,#f2f1e7aa,transparent 65%); }
.scene-visual img { z-index:-2; }
#top .scene-directory { font-size:11px; }
.sample-footnote, .script-context, .sources-view>small, .line-no, .script-shot, .timeline-ruler, .timeline-track { font-size:12px; }

/* Four native steps: one selection, one legible artifact, no scroll runway. */
#about .about-grid { display:block; }
#about .about-copy { max-width:none; width:100%; margin:0 0 36px; text-align:left; }
#about :is(.about-scrolly,.about-sticky,.about-tabs,.about-panels,.about-track,.about-panel) { position:relative; inset:auto; height:auto; min-height:0; transform:none; }
#about .about-scrolly { width:100%; margin:0; }
#about .about-tabs { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.45fr); align-items:start; gap:40px; padding:0; margin:0; background:none; border-radius:0; }
#about .about-tablist { display:flex; flex-direction:column; gap:8px; width:100%; height:auto; padding:0; border:0; background:none; counter-reset:workflow; }
#about .about-tab { position:relative; display:flex; padding:18px 18px 18px 56px; border:1px solid transparent; border-radius:12px; margin:0; color:var(--otf-muted); min-height:68px; background:none; counter-increment:workflow; cursor:pointer; }
#about .about-tab::before { content:"0" counter(workflow); position:absolute; left:18px; top:20px; font-size:12px; font-weight:500; font-variant-numeric:tabular-nums; }
#about .about-tab-title { font-size:18px; font-weight:600; line-height:1.4; }
#about .about-tab-description { display:none; color:inherit; font-size:14px; line-height:1.7; margin-top:10px; }
#about .about-tab-description strong { color:inherit; display:block; font-weight:500; }
#about .about-tab-description br { display:none; }
#about .about-download { margin:16px 0 0; display:inline-flex; align-self:flex-start; }
#about .about-panels { width:100%; margin:0; aspect-ratio:auto; overflow:visible; }
#about .about-panel { display:none; padding:0; border:0; box-shadow:none; transition:none; background:none; }
#about .sample-panel { padding:16px; height:auto; min-height:400px; background:var(--otf-tint); border-radius:16px; }
#about .about-panel-img { height:auto; background:none; overflow:visible; border-radius:16px; }
#about .sample-panel > div { width:100%; }
#about .sources-view, #about .script-view { min-height:368px; padding:28px; border-radius:10px; }
#about .sample-panel .scene-visual { aspect-ratio:16/10; }
#about .sample-panel .timeline-view { padding:22px; }
#about .sample-panel .timeline-view .delivery-image { max-width:360px; }
#about #about-tab-1:checked ~ .about-tablist label[for=about-tab-1],
#about #about-tab-2:checked ~ .about-tablist label[for=about-tab-2],
#about #about-tab-3:checked ~ .about-tablist label[for=about-tab-3],
#about #about-tab-4:checked ~ .about-tablist label[for=about-tab-4] { background:var(--otf-ink); color:#f8f9f4; margin:0; }
#about #about-tab-1:checked ~ .about-tablist label[for=about-tab-1] .about-tab-description,
#about #about-tab-2:checked ~ .about-tablist label[for=about-tab-2] .about-tab-description,
#about #about-tab-3:checked ~ .about-tablist label[for=about-tab-3] .about-tab-description,
#about #about-tab-4:checked ~ .about-tablist label[for=about-tab-4] .about-tab-description { display:block; }
#about #about-tab-1:checked ~ .about-panels .about-panel:nth-child(1),
#about #about-tab-2:checked ~ .about-panels .about-panel:nth-child(2),
#about #about-tab-3:checked ~ .about-panels .about-panel:nth-child(3),
#about #about-tab-4:checked ~ .about-panels .about-panel:nth-child(4) { display:block; }

/* Category catalog: the first artifact leads; its companions remain readable. */
#capabilities { background:#fff; border-block:1px solid var(--otf-line); }
#capabilities :is(.capabilities-grid,.capabilities-copy,.cap-scrolly,.cap-sticky,.capabilities-head,.cap-title-group,.cap-row,.cap-category-visual,.cap-frame,.cap-artwork) { position:relative; inset:auto; width:100%; height:auto; min-height:0; max-height:none; transform:none; container-type:normal; }
#capabilities :is(.capabilities-grid,.capabilities-copy,.cap-scrolly,.cap-sticky,.capabilities-head,.cap-title-group,.cap-row,.cap-category-visual) { display:block; margin:0; padding:0; }
#capabilities .cap-title-group { text-align:left; }
#capabilities .cap-title-group h2 { margin:0; max-width:none; text-align:left; }
#capabilities .brand-cap-lead { max-width:none; margin:16px 0 24px; font-size:16px; }
#capabilities .cap-category-list { display:flex; flex-direction:row; flex-wrap:wrap; gap:8px; padding:0 0 24px; margin:0; }
#capabilities .cap-category-label { min-height:44px; padding:10px 18px; border:1px solid var(--otf-line); background:#fff; border-radius:24px; color:var(--otf-muted); font-size:14px; font-weight:500; cursor:pointer; }
#capabilities .cap-category-label.is-active { background:var(--otf-ink); color:#fff; border-color:var(--otf-ink); }
#capabilities .cap-steps-col { position:absolute; right:0; top:6px; display:none; }
#capabilities .cap-artwork { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:20px; align-items:stretch; }
#capabilities .cap-frame { display:block; opacity:1; visibility:visible; margin:0; }
html.catalog-ready #capabilities .cap-frame:not(.is-active) { display:none; }
#capabilities .cap-category-visual .cap-frame .cap-media { position:relative; inset:auto; display:grid; grid-template-rows:minmax(0,1fr) auto; width:100%; max-width:none; height:auto; min-height:340px; aspect-ratio:auto; transform:none; opacity:1; visibility:visible; margin:0; border:1px solid var(--otf-line); border-radius:14px; box-shadow:none; overflow:hidden; }
#capabilities .cap-frame[data-cap-frame="0"] .cap-media:first-child { grid-row:span 2; grid-column:auto; }
#capabilities .cap-frame[data-cap-frame="0"] .cap-media:not(:first-child) { min-height:180px; }
#capabilities .case-cover { height:auto; min-height:0; overflow:visible; }
#capabilities .case-thumb { min-height:100%; height:auto; padding:28px; gap:16px; justify-content:center; overflow:visible; }
#capabilities .case-thumb h3 { font-size:18px; line-height:1.4; font-weight:500; }
#capabilities .case-thumb :is(.thumb-identity,.thumb-detail) { font-size:13px; line-height:1.6; color:#53654c; }
#capabilities .case-thumb :is(.thumb-key,.thumb-current,.thumb-package) { font-size:clamp(22px,2.5vw,34px); line-height:1.45; }
#capabilities .thumb-brief .brief-question { font-size:clamp(24px,2.2vw,32px); line-height:1.5; max-width:16ch; }
#capabilities .thumb-brief .brief-excerpt { border-left:2px solid #859c78; padding-left:20px; font-size:18px; line-height:2; color:var(--otf-muted); }
#capabilities .thumb-brief .brief-excerpt strong { color:var(--otf-accent); font-weight:600; }
#capabilities .thumb-script .thumb-script { font-size:20px; line-height:1.6; padding:0; }
#capabilities .thumb-outline { font-size:15px; line-height:1.9; }
#capabilities .thumb-cut { font-size:21px; }
#capabilities .thumb-chapter { min-height:280px; }
#capabilities .thumb-chapter img { object-position:center; }
#capabilities .thumb-chapter h3 { font-size:32px; }
#capabilities .thumb-pair { gap:16px; font-size:20px; }
#capabilities .thumb-pair p { padding:16px; }
#capabilities .thumb-match p, #capabilities .thumb-subtitle .thumb-subtitle { font-size:21px; }
#capabilities .cap-media figcaption { padding:12px 20px; min-height:48px; border-top:1px solid var(--otf-line); background:#fff; }
#capabilities .cap-media figcaption :is(.thumb-caption,.thumb-open) { font-size:13px; white-space:normal; text-overflow:clip; }
#capabilities .cap-media:hover { border-color:#859c78; }
#capabilities .cap-media .case-card-open:focus-visible { outline:3px solid var(--otf-accent); outline-offset:-4px; }
html:not(.cap-ready) #capabilities .cap-category-list { display:none; }
html:not(.cap-ready) #capabilities .cap-frame { margin-bottom:32px; }
html:not(.cap-ready) #capabilities .cap-frame::before { content:attr(aria-label); display:block; margin-bottom:16px; color:var(--otf-accent); font-size:16px; font-weight:600; }
#labs .labs-head { margin-bottom:32px; }
#labs .labs-head h2 { max-width:24ch; margin-inline:auto; }
#labs .lab-stage { border:1px solid var(--otf-line); box-shadow:none; }
#labs .lab-dock-item:focus-visible { outline:3px solid var(--otf-accent); outline-offset:5px; }

@media(max-width:880px) {
 .brand-draft .container { padding-inline:24px; }
 .brand-draft :is(#about,#capabilities,#labs,#method,#pricing,#customer-stories,#faq) { padding-block:56px; }
 #about .about-tabs { grid-template-columns:minmax(0,1fr); gap:24px; }
 #about .about-tablist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 #about .about-tab { padding:16px; min-height:64px; }
 #about .about-tab::before { position:static; margin-right:12px; padding-top:3px; }
 #about .about-tab-title { font-size:16px; }
 #about .about-tab-description { display:none !important; }
 #about .about-download { grid-column:1/-1; justify-self:start; margin:8px 0 0; }
 #about .sample-panel { min-height:0; padding:12px; }
 #about .sources-view, #about .script-view { min-height:320px; }
 #capabilities .cap-artwork { gap:12px; }
 #capabilities .case-thumb { padding:22px; }
 #capabilities .cap-category-label { padding:10px 14px; }
 #capabilities .cap-frame[data-cap-frame="0"] .cap-media:first-child { grid-row:span 2; }
}
@media(max-width:600px) {
 .brand-draft .container { padding-inline:20px; }
 .brand-draft :is(#about,#capabilities,#labs,#method,#pricing,#customer-stories,#faq) { padding-block:48px; }
 .brand-draft .section-intro, #capabilities .brand-cap-lead { font-size:15px; }
 #top .hero-supporting-text { padding-inline:6px; }
 #top .hero-copy.hero-surface { padding-top:28px; }
 #top .hero-actions { flex-wrap:wrap; }
 #top .hero-actions a { padding-inline:18px; }
 #top .scene-directory { font-size:11px; }
 #top .editor-result>div { flex-wrap:wrap; }
 #top .workbench-bar { gap:8px; }
 #top .sample-status { font-size:11px; }
 #top .hero-artwork > figcaption { text-align:left; font-size:12px; padding-inline:4px; }
 #about .about-copy { margin-bottom:28px; }
 #about .about-tab { padding:12px; }
 #about .about-tab::before { margin-right:8px; }
 #about .sources-view, #about .script-view { padding:20px; }
 #capabilities .cap-artwork { grid-template-columns:minmax(0,1fr); gap:16px; }
 #capabilities .cap-frame[data-cap-frame="0"] .cap-media:first-child { grid-row:auto; }
 #capabilities .cap-category-visual .cap-frame .cap-media { min-height:240px; }
 #capabilities .case-thumb { padding:24px; }
 #capabilities .case-thumb .thumb-key { font-size:28px; }
 #capabilities .thumb-chapter { min-height:260px; }
 #capabilities .thumb-pair { font-size:17px; }
}
@media(prefers-reduced-motion:reduce) {
 .brand-draft :is(.btn,.hm-dl-hero,.hero-community-cta,.about-download,.cap-step):hover { transform:none; }
}

/* The closing third changes rhythm: comparison, statement, ledger, directory. */
#pricing .home-pricing-inner { max-width:none; }
#pricing .home-pricing-heading { margin-bottom:32px; text-align:left; }
#pricing .home-pricing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto; gap:24px; }
#pricing .home-pricing-card { display:flex; flex-direction:column; grid-row:auto; grid-column:auto; padding:24px 0; border:0; border-top:2px solid var(--otf-line); border-radius:0; box-shadow:none; background:none; }
#pricing .home-pricing-card h3 { margin:0 0 16px; font-size:20px; font-weight:600; color:var(--otf-ink); }
#pricing .home-pricing-card p { margin:0 0 24px; font-size:14px; line-height:1.75; color:var(--otf-muted); }
#pricing .home-pricing-action { margin-top:auto; align-self:flex-start; width:auto; padding-inline:18px; }
#pricing .brand-delivery-status { background:var(--otf-tint); color:var(--otf-accent); font-size:12px; }
#testimonial { padding:40px 0; border-block:1px solid var(--otf-line); }
#testimonial .testimonial-grid { display:block; }
#testimonial .testimonial-lead-row { display:flex; align-items:center; justify-content:space-between; gap:48px; }
#testimonial .testimonial-intro { flex:1; min-width:0; }
#testimonial .testimonial-lead { margin-top:16px; font-size:15px; line-height:1.75; }
#testimonial .work-star-button { flex-shrink:0; }
#method .method-badges { max-width:none; gap:24px; }
#method .method-object-picker { max-width:none; }
#method .method-object-chip { border-radius:12px; box-shadow:none; }
#method .method-object-chip img { transform:none; }
#method .method-object-panel { border-radius:12px; }
#method .method-object-panel p, #method .method-object-panel dl>div { font-size:14px; }
#method .method-object-panel dt, #method .method-object-eyebrow { color:#52664b; }
#method .method-object-eyebrow { font-size:13px; }
#method .method-card-details { padding:24px; }
#method .method-card-action { background:var(--otf-accent); }
#method .method-card-heading>.method-card-status { font-size:12px; }
#contact .cta-dance { max-width:1000px; }
#contact .btn-primary { background:var(--otf-selected); color:var(--otf-ink); border-color:var(--otf-selected); }
#contact .brand-cta-note { display:none; }
#faq .faq-q { font-size:16px; line-height:1.6; }
#faq .faq-a { font-size:14px; color:var(--otf-muted); line-height:1.8; }
#faq .faq-list summary { min-height:60px; }
@media(max-width:880px) {
 #testimonial .testimonial-lead-row { display:block; }
 #testimonial .work-star-button { margin-top:24px; }
 #pricing .home-pricing-grid { grid-template-columns:1fr; gap:8px; }
 #pricing .home-pricing-card { padding:24px 0; }
 #pricing .home-pricing-card p { max-width:60ch; margin-bottom:16px; }
}
