/* Klio light lab, photo deck and mounting. Current component styles and responsive geometry. */
.light-lab { padding-block: 90px; background: var(--bg); border-block: 1px solid var(--line); }
.lab-layout { display: grid; grid-template-columns: 1.45fr 1fr; border: 1px solid var(--line); min-height: 630px; background: var(--surface); }
.lab-stage { position: relative; min-width: 0; display: flex; align-items: center; border-right: 1px solid var(--line); padding-bottom: 90px; overflow: hidden; background: #151915; border-color: var(--line); }
.lab-stage-label { position: absolute; top: 25px; left: 25px; right: 25px; display: flex; justify-content: space-between; letter-spacing: .09em; z-index: 2; color: #a1aa99; font: 11px/1.5 var(--font-mono); gap: 8px 20px; flex-wrap: wrap; }
.lab-stage-label b { font-weight: 400; color: var(--ink); }
.lab-svg { width: 100%; height: auto; display: block; overflow: visible; }
.lab-svg #lab-beam, .lab-svg #lab-pool, .lab-svg #lab-fixture { transition: opacity .25s,transform .15s; }
.lab-readouts { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); padding: 22px 25px; gap: 20px; background: #171c17; border-color: var(--line); }
.lab-readouts span { font: 10px var(--font-mono); letter-spacing: .05em; display: block; margin-bottom: 9px; color: var(--muted); }
.lab-readouts strong { font-size: 22px; font-weight: 400; line-height: 1.1; color: var(--ink); }
.lab-console { display: flex; flex-direction: column; min-width: 0; background: var(--surface); }
.lab-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.lab-tabs button { white-space: nowrap; }
.lab-panel { padding: 35px 35px 15px; flex: 1; }
.lab-panel .eyebrow { font-size: 8px; margin-bottom: 18px; }
.lab-panel h3 { font-size: 38px; margin-bottom: 22px; }
.lab-panel>p:not(.eyebrow):not(.lab-note):not(.optic-caption) { line-height: 1.85; max-width: 400px; font-size: var(--text-small); color: #aeb5a7; }
.lab-range-label { display: block; font-size: 10px; margin-top: 30px; color: #b6bcb0; }
.lab-range-label input { display: block; margin: 20px 0 12px; }
.lab-range-label output { float: right; font: 13px var(--font-mono); color: var(--ink); }
.lab-presets { display: flex; gap: 8px; }
.lab-panel .lab-note { margin-top: 20px; line-height: 1.8; max-width: 400px; color: #9fa69a; font-size: 15px; }
.lab-request { align-self: stretch; margin: 15px 35px 30px; min-height: 48px; }
.optic-options { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin: 24px 0 14px; }
.optic-caption { min-height: 20px; color: #b6bcb0; font-size: 15px; }
.lab-cct-label { display: flex; align-items: center; gap: 15px; margin-top: 22px; font-size: 9px; color: #b6bcb0; --field-surface: var(--bg); --field-ink: var(--ink); --field-border: #eeede730; }
.lab-cct-label select { flex: 1; min-width: 0; }
.lab-panel .text-link { margin-top: 12px; }
.dim-scale { display: flex; justify-content: space-between; font-size: 9px; color: #9fa69a; }
.feature-deck { overflow: hidden; padding-block: 90px; }
.deck-controls { display: flex; align-items: center; gap: 10px; }
.deck-controls>span { font: 12px var(--font-mono); margin-right: 25px; white-space: nowrap; color: var(--muted); }
.deck-viewport { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 570px; touch-action: pan-y; border: 0; background: var(--surface); }
.deck-picture { position: relative; min-width: 0; overflow: hidden; display: grid; place-items: center; cursor: grab; background: #e3e1d7; }
.deck-picture img { width: 88%; height: 475px; max-width: none; object-fit: contain; transition: transform .65s,transform-origin .65s; filter: drop-shadow(15px 25px 22px #0005); user-select: none; -webkit-user-drag: none; }
.deck-picture[data-crop=mount] img { transform: scale(1.55); transform-origin: 82% 70%; }
.deck-picture[data-crop=body] img { transform: scale(1.35); transform-origin: 40% 60%; }
.deck-photo-cross { display: none; }
.deck-copy { padding: 55px 60px; display: flex; flex-direction: column; align-items: start; }
.deck-copy>.eyebrow { font-size: 8px; margin-bottom: 26px; }
.deck-copy h3 { font-size: 45px; margin-bottom: 25px; }
.deck-copy>p:not(.eyebrow) { line-height: 1.9; max-width: 410px; font-size: var(--text-small); color: #aeb5a7; }
.deck-stat { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.deck-stat strong { font-size: 56px; font-weight: 400; color: var(--accent); letter-spacing: -.05em; line-height: 1; }
.deck-stat span { font-size: 9px; line-height: 1.7; max-width: 120px; color: var(--muted); }
.deck-copy>.text-link { margin-top: auto; }
.deck-pagination { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 25px; }
.deck-pagination button { display: flex; align-items: center; gap: 15px; padding: 10px 0; min-height: 44px; color: var(--muted); }
.deck-pagination button span { font: 9px var(--font-mono); }
.deck-pagination button i { height: 1px; flex: 1; background: #ffffff20; transition: background .3s; }
.deck-pagination button[aria-pressed=true] { color: var(--accent); }
.deck-pagination button[aria-pressed=true] i { background: var(--accent); }
.mount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.mount-grid article { position: relative; overflow: hidden; padding: 30px 0 0; background: transparent; border: 0; border-top: 1px solid #eeede740; }
.mount-glyph { display: block; line-height: 1; font-family: var(--font-document); font-weight: 300; font-size: 66px; margin-bottom: 32px; color: var(--accent); }
.mount-grid .eyebrow { font-size: 9px; margin-bottom: 18px; }
.mount-grid h3 { margin-bottom: 20px; font-size: 32px; }
.mount-grid p:not(.eyebrow) { line-height: 1.8; max-width: 340px; font-size: var(--text-label); color: var(--muted); }
.mount-grid .text-link { margin-top: 25px; }
.mounting-section { padding-block: 90px; }
.light-lab .section-heading h2, .mounting-section .section-heading h2, .feature-deck .section-heading h2 { font-size: clamp(38px,4.1vw,68px); }
.light-lab .section-heading>p, .mounting-section .section-heading>p, .feature-deck .section-heading>p { font-size: var(--text-small); color: var(--muted); }
.deck-controls button { min-width: 44px; }

@media (min-width:1900px) {
  .lab-stage { min-height: 680px; }
}

@media (max-width:1250px) {
  .lab-layout { grid-template-columns: 1.25fr 1fr; }
  .lab-panel { padding: 30px 25px 15px; }
  .lab-panel h3 { font-size: 34px; }
  .lab-request { margin-inline: 25px; }
  .lab-stage-label { left: 20px; right: 20px; }
  .lab-readouts { padding: 20px; }
  .lab-readouts strong { font-size: 19px; }
  .deck-copy { padding: 40px; }
  .deck-copy h3 { font-size: 38px; }
  .deck-picture img { height: 430px; }
  .deck-viewport { min-height: 540px; }
}

@media (max-width:900px) {
  .lab-layout { grid-template-columns: 1fr; min-height: 0; }
  .lab-stage { min-height: 480px; max-height: 530px; padding-bottom: 75px; border-right-width: 0; border-bottom: 1px solid var(--line); }
  .lab-svg { max-height: 480px; }
  .lab-readouts { padding: 20px 25px; }
  .lab-readouts strong { font-size: 22px; }
  .lab-console { min-height: 550px; }
  .lab-panel { padding: 35px; max-width: none; }
  .lab-panel h3 { font-size: 38px; }
  .lab-panel>p:not(.eyebrow):not(.lab-note):not(.optic-caption), .lab-range-label { max-width: 560px; }
  .lab-request { margin-inline: 35px; margin-top: 5px; align-self: start; min-width: 270px; }
  .lab-panel .lab-note { max-width: 560px; }
  .optic-options, .lab-cct-label { max-width: 480px; }
  .deck-viewport { grid-template-columns: 1fr 1fr; min-height: 500px; }
  .deck-copy { padding: 30px; }
  .deck-copy h3 { font-size: 32px; }
  .deck-stat strong { font-size: 45px; }
  .deck-stat { gap: 15px; }
  .deck-picture img { height: 370px; }
}

@media (max-width:600px) {
  .lab-layout { --lab-mobile-stage-height:340px; }
  .lab-stage { min-height: 300px; max-height: none; padding-bottom: 70px; height:var(--lab-mobile-stage-height); }
  .lab-stage-label { left: 14px; right: 14px; top: 18px; font-size: 10px; letter-spacing: .04em; }
  .lab-svg { height: 270px; max-height: none; width: 100%; }
  .lab-readouts { padding: 16px 12px; gap: 10px; }
  .lab-readouts span { letter-spacing: 0; margin-bottom: 7px; }
  .lab-readouts strong { font-size: 17px; }
  .lab-console { min-height: 535px; }
  .lab-panel { padding: 28px 22px 12px; }
  .lab-panel .eyebrow { font-size: 7px; }
  .lab-panel h3 { font-size: 32px; margin-bottom: 20px; }
  .lab-panel>p:not(.eyebrow):not(.lab-note):not(.optic-caption) { line-height: 1.8; }
  .lab-range-label { font-size: 9px; margin-top: 25px; }
  .lab-range-label input { margin-top: 15px; }
  .lab-request { margin: 12px 22px 25px; min-width: 0; align-self: stretch; gap: 20px; }
  .lab-panel .lab-note { margin-top: 18px; }
  .optic-options { gap: 5px; margin-top: 23px; }
  .lab-cct-label { font-size: 8px; gap: 10px; flex-wrap: wrap; }
  .lab-panel .text-link { margin-top: 15px; }
  .deck-controls { margin-top: 25px; gap: 10px; }
  .deck-controls>span { font-size: 10px; margin-right: auto; }
  .deck-viewport { grid-template-columns: 1fr; min-height: 0; }
  .deck-picture { height: 310px; }
  .deck-picture img { height: 290px; width: 90%; }
  .deck-picture[data-crop=mount] img { transform: scale(1.4); transform-origin: 76% 70%; }
  .deck-copy { min-height: 390px; }
  .deck-copy>.eyebrow { font-size: 7px; margin-bottom: 20px; }
  .deck-copy h3 { font-size: 34px; margin-bottom: 20px; }
  .deck-stat { margin: 27px 0; }
  .deck-stat span { font-size: 9px; max-width: 140px; }
  .deck-copy>.text-link { margin-top: 5px; }
  .deck-pagination { gap: 12px; margin-top: 17px; }
  .deck-pagination button { gap: 8px; }
  .deck-pagination button span { font-size: 7px; }
  .mount-grid { grid-template-columns: 1fr; }
  .mount-glyph { position: absolute; }
  .mount-grid .eyebrow { padding-right: 45px; }
  .mount-grid p:not(.eyebrow) { max-width: 300px; }
  .lab-tabs { background: #101a28; }
  .lab-stage-label>span { max-width: 100%; }
}

@media (max-width:600px) and (min-height:650px) {
  .lab-stage { position:sticky; top:68px; z-index:3; }
  .lab-tabs { position:sticky; top:calc(68px + var(--lab-mobile-stage-height)); z-index:4; }
  .lab-panel :focus-visible,.lab-request:focus-visible { scroll-margin-top:calc(var(--lab-mobile-stage-height) + 24px); }
}

@media (max-width:350px) {
  .lab-readouts strong { font-size: 15px; }
  .lab-panel { padding-inline: 18px; }
  .lab-request { margin-inline: 18px; }
  .lab-panel h3 { font-size: 29px; }
  .deck-copy h3 { font-size: 31px; }
  .deck-picture { height: 270px; }
  .deck-picture img { height: 250px; }
}


@media (max-width:760px) {
  .light-lab, .mounting-section, .feature-deck { padding-block: 62px; }
  .light-lab .section-heading h2, .mounting-section .section-heading h2, .feature-deck .section-heading h2 { font-size: 36px; }
  .light-lab .section-heading>p, .mounting-section .section-heading>p, .feature-deck .section-heading>p, .lab-panel>p:not(.eyebrow):not(.lab-note):not(.optic-caption) { font-size: var(--text-label); }
  .mount-grid { gap: 28px; }
  .mount-grid article { padding: 26px 0 0; }
  .mount-glyph { top: 22px; right: 0; font-size: 58px; opacity: .8; }
  .mount-grid .eyebrow { font-size: 8px; min-height: 30px; margin-bottom: 20px; }
  .mount-grid h3 { font-size: 31px; }
  .deck-copy { padding: 28px 23px; }
  .deck-copy>p:not(.eyebrow) { font-size: var(--text-label); }
}
