/* Scoped to the independent Complete Home 05B section. */
#expertise.ch05{background:#f7f9fb;color:#24394b;padding-top:76px;padding-bottom:76px;scroll-margin-top:100px}
.ch05 *{box-sizing:border-box}
.ch05 .ch05-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:32px}
.ch05 .ch05-intro h2{font-size:clamp(38px,4vw,58px);font-weight:300;letter-spacing:-.035em;line-height:1.1;margin:18px 0 0}
.ch05 .ch05-tagline{font-size:20px;line-height:1.6;max-width:380px;margin:0 0 5px}
.ch05 .ch05-hint{font-size:13px;color:#596c7b;margin:0 0 18px}
.ch05 .ch05-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:34px;align-items:start}
.ch05 figure{min-width:0;margin:0}
.ch05 .ch05-view{position:relative;height:460px;overflow:hidden;background:#e8edf1}
.ch05 .ch05-frame{position:absolute;inset:0}
.ch05 [hidden]{display:none!important}
.ch05 .ch05-frame img,.ch05 .ch05-frame svg{display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%}
.ch05 .ch05-frame svg{overflow:hidden}
.ch05 figcaption{display:flex!important;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;background:#edf2f6;font-size:14px}
.ch05 figcaption strong{display:block;font-size:16px;font-weight:500}
.ch05 figcaption [data-ch05-subtitle]{display:block;margin-top:5px;color:#596c7b;font-size:13px}
.ch05 figcaption a{font-size:13px;white-space:nowrap;text-underline-offset:5px}
.ch05 figcaption a span{margin-left:6px}
.ch05 .ch05-choices{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.ch05 .ch05-choices button{min-width:0;min-height:115px;padding:17px 12px;border:0;border-bottom:1px solid #ccd5dd;text-align:left;background:transparent;color:inherit;cursor:pointer;font:inherit;transition:background .18s}
.ch05 .ch05-choices button:hover,.ch05 .ch05-choices button:focus-visible{background:#edf2f6}
.ch05 .ch05-choices button[aria-pressed=true]{background:#e7eef4;box-shadow:inset 0 -3px #294d68}
.ch05 .ch05-name{display:block;font-size:21px}
.ch05 .ch05-sub{display:block;font-size:13px;line-height:1.5;margin-top:9px;color:#596c7b}
.ch05 button:focus-visible,.ch05 a:focus-visible{outline:2px solid #436783;outline-offset:3px}
.ch05 .ch05-motion{display:flex;align-items:center;gap:15px;min-height:48px;font-size:12px;color:#596c7b}
.ch05 .ch05-motion button{font:inherit;min-height:44px;padding:7px 0;border:0;background:transparent;color:#294d68;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
@media(max-width:1000px){.ch05 .ch05-layout{grid-template-columns:1fr;gap:24px}.ch05 .ch05-name{font-size:19px}.ch05 .ch05-choices{gap:0 12px}.ch05 .ch05-tagline{font-size:18px}.ch05 .ch05-view{height:auto;aspect-ratio:1.5}.ch05 .ch05-choices button{min-height:110px}}
@media(max-width:760px){#expertise.ch05{padding:48px 20px}.ch05 .ch05-intro{display:block;margin-bottom:26px}.ch05 .ch05-intro h2{font-size:40px}.ch05 .ch05-tagline{margin-top:22px;font-size:17px}.ch05 .ch05-layout{grid-template-columns:1fr;gap:16px}.ch05 .ch05-view{height:auto;aspect-ratio:1.4}.ch05 .ch05-choices button{min-height:96px;padding:15px 10px}.ch05 .ch05-name{font-size:18px}.ch05 .ch05-sub{font-size:12px}.ch05 figcaption{padding:15px 12px;gap:10px}.ch05 figcaption a{font-size:12px}.ch05 .ch05-hint{font-size:12px;line-height:1.6}}
@media(prefers-reduced-motion:reduce){.ch05 *{animation:none!important;transition:none!important}}

/* Reuse original scene classes, registration and native cinema styling. */
.ch05 .ch05-frame{position:absolute;inset:0}
.ch05 .ch05-frame .gate-scene{position:absolute;inset:0;transform:none;width:100%;height:100%}
.ch05 .ch05-frame .lighting-scene{background:#edf2f6}
.ch05 .fixture-light{opacity:1;transition:opacity 3.8s ease}
.ch05 .preview-frame.is-engaged .fixture-light{opacity:0}
.ch05 .ch05-tools{position:relative;min-height:48px}
.ch05 .ch05-cinema-tools{position:absolute;inset:0;display:flex;align-items:center;gap:18px;font-size:12px;color:#596c7b}
.ch05 .ch05-cinema-tools button{font:inherit;min-height:44px;padding:7px 0;border:0;background:transparent;color:#294d68;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.ch05 .ch05-frame[data-ch05-frame="control"]>img{object-position:20% center}
@media(prefers-reduced-motion:reduce){.ch05 .fixture-light{opacity:0}.ch05 .preview-frame.is-engaged .gate-leaf{transform:none}}

/* Existing living-room renderer, fitted into the current Home Control frame. */
.ch05 .ch05-frame.dc-live-preview{aspect-ratio:auto}
.ch05 .ch05-frame.dc-live-preview iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;opacity:0}
.ch05 .ch05-frame.dc-live-preview.is-ready iframe{opacity:1}
.ch05 .ch05-control-tools{position:absolute;inset:0;display:flex;align-items:center;gap:18px;font-size:12px;color:#596c7b}
.ch05 .ch05-control-tools button{font:inherit;min-height:44px;padding:7px 0;border:0;background:transparent;color:#294d68;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
@media(max-width:760px){.ch05 .ch05-control-tools{gap:12px;font-size:11px}}

/* Each discipline owns a persistent navigation link, separate from preview. */
.ch05 .ch05-choice{min-width:0;border-bottom:1px solid #ccd5dd;transition:background .18s}
.ch05 .ch05-choice:hover,.ch05 .ch05-choice:focus-within{background:#edf2f6}
.ch05 .ch05-choice:has(button[aria-pressed=true]){background:#e7eef4;box-shadow:inset 0 -3px #294d68}
.ch05 .ch05-choices .ch05-choice button{display:block;width:100%;min-height:0;padding:17px 12px 4px;border:0;background:transparent;box-shadow:none}
.ch05 .ch05-explore{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px 12px;font-size:13px;line-height:1.5;color:#294d68;text-decoration:underline;text-underline-offset:4px}
.ch05 .ch05-explore:hover{text-decoration-thickness:2px}
@media(max-width:760px){.ch05 .ch05-choices .ch05-choice button{padding:15px 10px 4px}.ch05 .ch05-explore{padding-inline:10px}}
