/* A single editable photograph anchors the compact studio. */
.studio-section{padding-top:28px;scroll-margin-top:82px}
.workspace-toolbar{padding:13px 18px}
.workspace-brand h2{font-family:var(--display);font-size:20px;font-weight:600;letter-spacing:-.04em;line-height:1.2}
.workspace-tools{flex-wrap:nowrap}
.workspace-tools .tool-button{min-height:36px}
.reset-button{width:36px;padding:0}
.stage-column{padding:14px;top:84px;z-index:10;overflow:visible}
.stage-scale{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:8px}
.stage-scale .scene-hint{font-family:var(--sans);font-size:12px;font-weight:600;line-height:1.5;color:#675438;background:#f7f2e9;border:1px solid #bca78466;border-radius:20px;margin:0;padding:7px 12px;min-height:34px;white-space:nowrap;cursor:pointer}
.stage-scale .scene-hint:hover{background:#fff9ee;border-color:#ab8e5e}
.stage-scale-caption{font-size:11px;color:#89775d;line-height:1.4}
.inspector{padding:19px 20px}
.inspector-group{padding-bottom:18px;margin-bottom:18px}
.inspector-group h3{font-size:16px;margin-bottom:12px}
.photo-word-group .control-label{margin-bottom:6px}
.photo-word-group #word-input{font-size:30px;line-height:1.2;padding:10px 12px}
.photo-word-group .word-presets{margin-top:7px}
.photo-word-group .word-preset{min-height:35px}
.photo-choice-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:7px;margin-top:10px}
.photo-choice-actions .upload-button,.ambience-button{min-width:0;width:100%;min-height:41px;padding:10px 9px;display:flex;align-items:center;justify-content:center;border:1px solid #bfae90;border-radius:5px;background:#eee5d5;color:#55452e;text-align:center;font-family:var(--sans);font-size:12px;font-weight:600;line-height:1.4;cursor:pointer}
.photo-choice-actions .upload-button:hover,.ambience-button:hover{background:#e4d7c0}
.ambience-button{background:transparent}
.photo-word-group .privacy-note{font-size:11px;line-height:1.5;margin:8px 1px 0}
.light-group .night-presets{margin-bottom:14px}
.light-group .night-preset{min-height:38px}
.light-group .controls-pair{margin-top:16px;gap:22px}
.range-control label{margin-bottom:11px}
.light-group .lights-button{min-height:38px;margin-top:17px}
.light-group .advanced-controls{border-top:1px solid #dacdb8;margin-top:13px;padding-top:12px}
.light-group .advanced-controls+.advanced-controls{margin-top:12px}
.advanced-controls summary{min-height:30px;font-size:13px}
.advanced-content{padding-top:17px;gap:21px}
.advanced-content>p{line-height:1.6;font-size:12px}
.size-group .calibration-controls{border-top:1px solid #dacdb8;margin-top:18px;padding-top:13px}
.axis-group{padding-bottom:14px;margin-bottom:15px}
.inspector-actions{gap:8px}
.inspector-actions .button{min-height:43px;padding:12px 13px;font-size:12px}
.scene-status{min-height:0;font-size:11px;line-height:1.6;margin-top:9px}
.manipulation-mode{top:10px;padding:4px;gap:3px}
.gizmo-mode{display:flex;align-items:center;justify-content:center;min-height:34px;padding:8px 11px;font-size:11px}
.gizmo-mode.hand-mode{width:37px;padding:7px}
.gizmo-mode svg{display:block;flex:none}
.scene-dialog{color:#30281d;background:#f4efe6;border:1px solid #c8b89b;border-radius:12px;padding:22px;width:650px;max-width:calc(100vw - 28px);max-height:86svh;overflow:auto;box-shadow:0 24px 100px #0007}
.scene-dialog::backdrop{background:#17130ed1;backdrop-filter:blur(5px)}
.scene-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.scene-dialog-head h3{font-family:var(--display);font-size:25px;font-weight:600;letter-spacing:-.04em;line-height:1.2}
.scene-dialog-head .scene-count{font-size:11px;color:#8c795b;display:block;margin-top:4px}
.scene-dialog-close{height:40px;width:40px;display:grid;place-items:center;border:1px solid #c9b99c;border-radius:50%;background:transparent;color:#6c5735;font-size:27px;line-height:1;flex:none;cursor:pointer}
.scene-dialog .scene-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;overflow:visible;scroll-snap-type:none;padding:0}
.scene-dialog .scene-card{width:100%;padding:6px;flex:auto}
.scene-dialog .scene-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:3px}
.scene-dialog .scene-card>span{font-size:12px;line-height:1.4;margin:9px 4px 5px}
.scene-dialog-note{font-size:11px;color:#8b7759;line-height:1.6;margin-top:16px}
.studio-footnote{font-size:10px;line-height:1.6;margin-top:14px}
#studio-workspace:fullscreen .stage-column{position:sticky;top:0}

@media(max-width:820px){
  /* Landscape photography stays complete instead of filling a portrait crop. */
  .comparison-heading,.comparison-event-title{position:relative;inset:auto;left:auto;right:auto;top:auto;padding:22px 23px 17px;pointer-events:auto;text-shadow:none}
  .comparison-heading h2{font-size:39px;line-height:1.1;margin-top:8px}
  .comparison-heading .eyebrow,.comparison-event-title .eyebrow{font-size:10px;letter-spacing:.025em}
  .comparison-heading p{display:none}
  .comparison-event-title h2{font-size:33px;line-height:1.12;margin-top:8px;max-width:none}
  .comparison-section .before-after{height:auto;min-height:0;max-height:none;aspect-ratio:16/11}
  .comparison-event .before-after{height:auto;min-height:0;max-height:none;aspect-ratio:3/2}
  .ba-before,.ba-after img{object-fit:contain;object-position:center}
  .before-after::after{background:none}
  .ba-handle{width:44px}
  .ba-handle>span{width:36px;height:36px;font-size:19px}
  .ba-label-before,.ba-label-after{bottom:9px;font-size:10px;padding:4px 7px;line-height:1.3;background:#211d16bf;backdrop-filter:blur(6px)}
  .ba-label-before{left:10px}.ba-label-after{right:10px}
  .comparison-caption{display:none}
  .comparison-note{padding:12px 23px 16px;font-size:10px;line-height:1.6}
  .comparison-note>a{font-size:12px;margin-top:8px}
  .gallery-filmstrip{align-items:start}
  .gallery-filmstrip .gallery-photo{display:flex;flex-direction:column;flex:0 0 88vw;height:auto;min-height:0;max-height:none;border-radius:5px;background:#211e19}
  .gallery-photo .photo-frame{height:auto;aspect-ratio:3/2;flex:none}
  .gallery-photo .photo-frame img{object-fit:contain;object-position:center;transform:none;filter:none}
  .gallery-photo::after{display:none}
  .gallery-photo figcaption{position:static;padding:11px 13px;font-size:14px;line-height:1.4;min-height:42px;gap:14px}
  .gallery-photo figcaption>span:last-child{font-size:10px}
  .gallery-foot{padding-top:12px}
  .gallery-heading{padding-top:25px;padding-bottom:19px}
  .gallery-heading .signature-title{font-size:58px}

  /* The same canvas remains editable while its options pass underneath. */
  .studio-section{padding-top:18px;scroll-margin-top:74px}
  .studio-workspace{width:calc(100% - 22px);overflow:visible;border-radius:8px}
  .workspace-toolbar{padding:12px 12px;min-height:58px;gap:12px}
  .workspace-brand h2{font-size:17px}
  .workspace-tools{gap:5px}
  .workspace-tools .tool-button{min-height:34px;font-size:10px;padding:7px 9px;max-width:none}
  .workspace-tools #compare-original{max-width:none;font-size:10px}
  .workspace-tools .reset-button,.workspace-tools .fullscreen-button{width:34px;padding:0}
  .workspace-tools .tool-button>span:first-child{font-size:20px}
  .workspace-grid{display:block;position:relative;isolation:isolate}
  .stage-column{position:sticky;top:66px;z-index:10;align-self:auto;padding:8px 8px 0;border-radius:0;background:#e1dbd1;box-shadow:0 10px 18px #3d2c1512}
  .canvas-stage{aspect-ratio:16/10;border-radius:4px;max-height:none}
  .stage-scale{padding:7px 1px 8px;gap:10px}
  .stage-scale .scene-hint{font-size:11px;padding:5px 10px;min-height:31px}
  .stage-scale-caption{font-size:10px}
  .manipulation-mode{top:7px;padding:3px;gap:2px;max-width:calc(100% - 14px)}
  .gizmo-mode{font-size:10px;min-height:31px;padding:7px 10px}
  .gizmo-mode.hand-mode{width:34px;padding:6px}
  .inspector{position:relative;z-index:1;padding:14px 14px 17px;border:0;border-radius:0 0 7px 7px}
  .inspector-group{padding-bottom:17px;margin-bottom:17px}
  .inspector-group h3{font-size:16px;margin-bottom:12px}
  .photo-word-group .control-label{font-size:12px;margin-bottom:6px}
  .photo-word-group #word-input{font-size:27px;padding:9px 11px;min-height:49px}
  .photo-word-group .word-presets{margin-top:7px;gap:6px}
  .photo-word-group .word-preset{min-height:35px;font-size:11px}
  .photo-choice-actions{margin-top:9px;gap:7px}
  .photo-choice-actions .upload-button,.ambience-button{font-size:12px;min-height:41px;padding:10px 8px}
  .photo-word-group .privacy-note{font-size:10px;margin-top:7px}
  .light-group .night-preset{font-size:12px;min-height:39px}
  .light-group .controls-pair{margin-top:15px;gap:22px}
  .range-control label,.range-control output{font-size:12px}
  .range-control label{margin-bottom:12px}
  .range-control input{height:5px}
  .light-group .lights-button{font-size:12px;min-height:38px;margin-top:17px}
  .advanced-controls summary{font-size:13px;min-height:31px}
  .advanced-content{padding-top:16px;gap:23px}
  .advanced-content>p{font-size:12px;line-height:1.6}
  .reference-control{font-size:12px;gap:15px}
  .reference-control input{font-size:16px;min-height:40px}
  .calibration-actions{gap:12px;flex-wrap:wrap}
  .scale-status{font-size:11px!important;line-height:1.6}
  .inspector-actions{flex-direction:row;gap:8px}
  .inspector-actions .button{font-size:12px;min-height:43px;padding:12px 10px}
  .scene-status{font-size:11px;margin-top:9px}
  .design-inquiry{margin-top:16px;padding:24px 18px;scroll-margin-top:78px}
  .design-summary h2{font-size:34px;margin-bottom:19px}
  .quote-selection{margin-top:14px}
  .quote-selection strong{font-size:27px}
  .quote-selection>span,.quote-selection p{font-size:11px}
  .quote-note{font-size:11px;line-height:1.6;margin-top:11px}
  .inquiry-form{margin-top:24px;padding-top:23px}
  .inquiry-form h3{font-size:20px;margin-bottom:19px}
  .field{margin-bottom:17px}
  .field label{font-size:12px;margin-bottom:7px}
  .form-note,.form-status{font-size:11px;line-height:1.7}
  .scene-dialog{padding:17px;max-height:83svh;border-radius:10px}
  .scene-dialog-head{margin-bottom:14px}
  .scene-dialog-head h3{font-size:23px}
  .scene-dialog .scene-list{gap:8px}
  .scene-dialog .scene-card{padding:4px}
  .scene-dialog .scene-card>span{font-size:11px;margin:7px 3px 4px}
  .studio-footnote{font-size:10px;margin-top:13px;line-height:1.6}
  #studio-workspace:fullscreen .stage-column{top:0}
}

@media(max-width:370px){
  .workspace-brand h2{font-size:15px}
  .workspace-tools .tool-button{font-size:9px;padding-inline:7px}
  .workspace-tools #compare-original{font-size:9px}
  .gizmo-mode{font-size:9px;padding-inline:8px}
  .stage-scale-caption{display:none}
  .inspector-actions .button{font-size:11px}
}

@media(max-width:820px) and (max-height:600px){
  .stage-column .canvas-stage{aspect-ratio:21/9}
}
