/* Portfolio hero and rounded studio photo frames. */
.portfolio-hero{align-self:center;min-width:0;transform:none}.hero-video-stage{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#101010}.hero-video-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.hero-video-play{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#111;color:#fff}.hero-video-play img{width:100%;height:100%;object-fit:cover}.hero-video-play:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#000b)}.hero-play-icon{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;border:1px solid #ffffff80;border-radius:50%;display:grid;place-items:center;background:#171717bd;font-size:22px;padding-left:3px}.hero-play-label{position:absolute;z-index:1;left:20px;bottom:16px;font-size:11px}.hero-video-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0}.hero-video-caption h2{font-size:19px;color:white;line-height:1.5}.hero-video-caption a{font-size:11px;color:#d7d7d0;flex-shrink:0}.hero-slider-controls{display:flex;align-items:center;gap:12px;border-top:1px solid #484848;padding-top:15px}.hero-slider-controls button{border:1px solid #62625a;border-radius:5px;background:transparent;color:#eee;min-width:38px;min-height:38px;font-size:16px}.hero-slide-count{font-size:11px;color:#ccc;font-variant-numeric:tabular-nums}.hero-slider-controls .hero-slide-pause{margin-left:auto;font-size:10px;padding:0 10px}.hero-slider-controls button:hover{background:#353530}.portfolio-hero noscript p{font-size:11px;color:#ccc;margin-top:10px}
.package-disclosure-section .section-heading .calculator-entry{display:inline-flex;align-items:center;padding:16px 24px;min-height:58px;margin-top:25px;border:1px solid var(--gold);border-radius:8px;background:var(--gold);color:#171717;font-size:17px;font-weight:700;text-decoration:none}.package-disclosure-section .section-heading .calculator-entry:hover{background:#e5aa28;color:#171717}
.home-space figure,.space-image-wrap,.studio-photo-grid figure{padding:12px;border:1px solid var(--line);border-radius:20px;background:var(--wash);overflow:hidden}.home-space figure img,.space-image-wrap img,.studio-photo-grid figure img{border-radius:12px}.home-space figcaption,.space-image-wrap figcaption,.studio-photo-grid figcaption{padding:12px 7px 3px;margin:0;font-size:11px;line-height:1.7}.facility-hero .page-hero-grid{grid-template-columns:1fr}.space-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:48px}.space-spec-list{border:1px solid var(--line);border-radius:16px;padding:12px 26px;background:var(--wash)}.space-spec-list li{padding:26px 0;font-size:15px;line-height:1.9}.space-spec-list li:last-child{border-bottom:0}.space-spec-list li span{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:10px}.space-image-wrap img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
@media(max-width:1024px){.space-layout{gap:28px}.space-spec-list{padding:8px 20px}.space-spec-list li{font-size:13px}.hero-video-caption h2{font-size:16px}}
@media(max-width:768px){.space-layout{grid-template-columns:1fr;gap:22px}.space-spec-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.space-spec-list li{border-bottom:0}.home-space figure,.space-image-wrap,.studio-photo-grid figure{border-radius:16px;padding:9px}.home-space figure img,.space-image-wrap img,.studio-photo-grid figure img{border-radius:10px}.package-disclosure-section .section-heading .calculator-entry{font-size:15px;padding:14px 19px;min-height:54px}.hero-video-caption{gap:10px}.hero-video-caption h2{font-size:16px}.hero-play-icon{width:50px;height:50px;font-size:18px}}
@media(max-width:430px){.space-spec-list{grid-template-columns:1fr;gap:0}.space-spec-list li{padding:18px 0}.space-spec-list li+li{border-top:1px solid var(--line)}.hero-slider-controls{gap:8px}.hero-slider-controls .hero-slide-pause{font-size:9px;padding:0 7px}.hero-video-caption a{font-size:10px}.hero-play-label{font-size:10px;left:12px;bottom:10px}}
.space-layout{align-items:stretch}.space-spec-list{margin:0;display:flex;flex-direction:column;justify-content:center}.space-image-wrap img{height:clamp(260px,26vw,380px);aspect-ratio:auto}
@media(max-width:768px){.space-spec-list{display:grid;grid-template-columns:1fr 1fr}.space-image-wrap img{height:auto;aspect-ratio:4/3}}
@media(max-width:430px){.space-spec-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hero-video-play,.hero-slider-controls button{transition:none}}
/* Home feedback: light portfolio shell and readable studio specifications. */
html[data-theme=light] .hero-visual.portfolio-hero{background:var(--wash);color:var(--ink);border:1px solid var(--line)}
html[data-theme=light] .portfolio-hero .capture-label>span:last-child{color:var(--muted)}
html[data-theme=light] .hero-video-caption h2{color:var(--ink)}
html[data-theme=light] :is(.hero-video-caption a,.hero-slide-count,.portfolio-hero noscript p){color:var(--muted)}
html[data-theme=light] .hero-slider-controls{border-color:var(--line)}
html[data-theme=light] .hero-slider-controls button{color:var(--ink);background:#fff;border-color:#b8b8ae}
html[data-theme=light] .hero-slider-controls button:hover{background:var(--gold-wash);border-color:#9a6c0a}
.specification>div>span{font-size:12px;letter-spacing:var(--tracking-ui)}
.specification p{font-size:18px;margin-top:8px}
.specification b{font-size:48px;line-height:1.25}
.specification small{font-size:15px;margin-top:7px;line-height:1.6}
.specification>a{font-size:17px;line-height:1.7}
@media(max-width:768px){.specification>div>span{font-size:11px}.specification p{font-size:16px}.specification b{font-size:40px}.specification small{font-size:13px}.specification>a{font-size:15px}}
.studio-photo-grid figure img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

.studio-photo-grid.single-photo{grid-template-columns:minmax(0,1fr)}.studio-photo-grid.single-photo figure img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

/* Keep related form content in balanced rows rather than long, half-empty columns. */
.contact-layout{grid-template-columns:minmax(0,1fr)}
.contact-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.contact-intro-copy p{font-size:13px;line-height:1.9;max-width:580px}
.contact-intro-copy h2{margin:18px 0 14px}
.contact-delivery .inquiry-steps{margin-top:0;font-size:13px}
.contact-delivery .contact-tools{flex-direction:row;align-items:center;gap:16px;margin-top:16px}
.inquiry-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"schedule message" "guide message";gap:28px;margin-top:28px;align-items:stretch}
.inquiry-form-grid>.inquiry-schedule{grid-area:schedule;border:0;padding:0;margin:0;min-width:0}
.inquiry-form-grid>.inquiry-template{grid-area:message;display:flex;flex-direction:column;min-width:0;border:0;border-left:1px solid var(--line);margin:0;padding:0 0 0 28px}
.inquiry-template h3{font-size:19px;line-height:1.5}
.inquiry-template label{font-size:13px;margin:12px 0 16px}
.inquiry-form-grid textarea{flex:1 1 auto;height:480px;min-height:420px;max-height:900px;overflow:auto;font-family:inherit;font-size:13px;line-height:1.9}
.inquiry-form-grid>.contact-aside{grid-area:guide;padding:24px;margin:0;min-width:0}
.inquiry-form-grid .contact-aside h2{font-size:22px;margin:16px 0}
.inquiry-form-grid .contact-aside ul{padding-left:20px;margin:0}
.inquiry-form-grid .aside-note{margin-top:20px;padding-top:20px}
.inquiry-form-grid .estimate-resources{padding:16px;margin-top:18px}
.inquiry-form-grid .estimate-resources strong{font-size:14px}
.inquiry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.inquiry-template .inquiry-actions :is(.button,.submit-button){margin:0}
.inquiry-template .draft-status{margin:0 0 10px;font-size:12px}
.inquiry-send-note{border-top:1px solid var(--line);padding-top:20px}

.estimate-layout{grid-template-columns:minmax(0,1fr);gap:32px}
.estimate-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px}
.estimate-form>.estimate-fieldset{margin:0;min-width:0}
.estimate-form>.estimate-package-step,.estimate-form>.estimate-schedule,.estimate-form>.estimate-form-footer{grid-column:1/-1}
.estimate-packages{grid-template-columns:repeat(4,minmax(0,1fr))}
.estimate-package{display:flex}.estimate-package>span{width:100%}
.estimate-form>.estimate-schedule{margin:0;border-top:1px solid var(--line);padding-top:24px}
.estimate-schedule-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}
.estimate-schedule-choices .schedule-choice{margin:0;padding:16px;border:1px solid var(--line);border-radius:6px}
.estimate-schedule-choices .schedule-choice legend{float:none;width:auto;padding:0 6px;font-size:13px}
.estimate-schedule-choices .schedule-fields{margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.estimate-schedule-choices .schedule-date{grid-column:1/-1}
.estimate-summary{position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 40px}
.estimate-summary .estimate-total{margin-top:18px}
.estimate-details{min-width:0;padding-left:32px;border-left:1px solid var(--line);display:flex;flex-direction:column}
.estimate-details .estimate-breakdown{margin:0 0 22px}
.estimate-details .estimate-notes{margin-bottom:0}
.estimate-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px 20px;border-top:1px solid var(--line);padding-top:24px;margin-top:auto}
.estimate-actions .estimate-disclaimer{grid-column:1/-1;margin:0}

@media(min-width:901px){
 .estimate-layout{grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr);gap:32px;align-items:start}
 .estimate-form{grid-template-columns:minmax(0,1fr)}
 .estimate-packages{grid-template-columns:repeat(2,minmax(0,1fr))}
 .estimate-schedule-choices{grid-template-columns:minmax(0,1fr);gap:16px}
 .estimate-schedule-choices .schedule-fields{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr))}
 .estimate-schedule-choices .schedule-date{grid-column:auto}
 .estimate-summary{position:sticky;top:120px;align-self:start;display:block;max-height:calc(100dvh - 144px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px}
 .estimate-summary .estimate-details{padding:22px 0 0;margin-top:22px;border-left:0;border-top:1px solid var(--line)}
 .estimate-summary .estimate-actions{grid-template-columns:minmax(0,1fr);margin-top:22px;padding-top:22px}
 .estimate-summary .estimate-total>strong{font-size:clamp(28px,2.5vw,36px)}
}

/* Complete the final row of short catalogues instead of leaving one side empty. */
.home-metrics .metric-plus{color:#9a6c0a;font-weight:700;margin-left:2px}
html[data-theme=dark] .home-metrics .metric-plus{color:var(--gold)}
.package-disclosure{grid-template-columns:repeat(3,minmax(0,1fr))}
.package-disclosure .package-mini-card{padding:26px 22px}
.package-mini-card:nth-child(3){border-top-color:var(--ink);background:var(--wash)}
.package-mini-card:nth-child(2){border-top-color:var(--gold);background:var(--gold-wash)}
.package-tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.prop-grid{display:flex;flex-wrap:wrap;gap:18px}
.prop-grid>.prop-card{flex:1 1 calc((100% - 36px)/3);min-width:0}
.copy-feedback:empty{display:none}
html[data-theme=dark] .package-mini-card:nth-child(3){border-top-color:#7e7e72}
html[data-theme=dark] .package-mini-card:nth-child(2){border-top-color:var(--gold)}
.work-grid{display:flex;flex-wrap:wrap;justify-content:center}
.work-grid>.work-card{flex:0 1 calc((100% - 44px)/3)}
@media(max-width:1100px){.work-grid>.work-card{flex-basis:calc((100% - 22px)/2)}}
@media(max-width:768px){.work-grid>.work-card{flex-basis:calc((100% - 15px)/2)}}
@media(max-width:640px){.work-grid>.work-card{flex-basis:100%}}

@media(min-width:1101px){
 .equipment-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:24px;align-items:center}
 .equipment-card .equipment-visual{margin:0;padding:18px;aspect-ratio:1/1}
 .equipment-card .equipment-visual img{height:auto;width:100%;aspect-ratio:1/1;object-fit:contain}
}
@media(max-width:1100px){
 .package-disclosure,.package-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .contact-intro{gap:24px}
 .inquiry-form-grid{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .inquiry-form-grid>.inquiry-template{padding-left:24px}
 .estimate-form{gap:24px}
}
@media(max-width:900px){
 .estimate-form{grid-template-columns:minmax(0,1fr)}
 .estimate-packages{grid-template-columns:repeat(2,minmax(0,1fr))}
 .estimate-schedule-choices{grid-template-columns:minmax(0,1fr);gap:16px}
 .estimate-schedule-choices .schedule-fields{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr))}
 .estimate-schedule-choices .schedule-date{grid-column:auto}
 .contact-intro{grid-template-columns:minmax(0,1fr);gap:24px}
 .inquiry-form-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"schedule" "message" "guide"}
 .inquiry-form-grid>.inquiry-template{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}
 .inquiry-form-grid textarea{height:480px;flex:none;min-height:360px}
 .prop-grid>.prop-card{flex-basis:calc((100% - 18px)/2)}
}
@media(max-width:768px){
 .estimate-summary{grid-template-columns:minmax(0,1fr);gap:24px}
 .estimate-details{padding:24px 0 0;border-left:0;border-top:1px solid var(--line)}
 .estimate-actions{grid-template-columns:minmax(0,1fr)}
 .package-disclosure .package-mini-card{display:flex;gap:20px}
 .package-disclosure .mini-meta{text-align:left;justify-content:flex-start}
 .inquiry-actions{align-items:stretch}
 .inquiry-template .inquiry-actions .button{width:100%}
 .inquiry-form-grid>.contact-aside{padding:22px}
}
@media(max-width:600px){
 .equipment-grid,.package-disclosure,.package-tool-grid{grid-template-columns:minmax(0,1fr)}
 .prop-grid>.prop-card{flex-basis:100%}
}
@media(max-width:430px){
 .estimate-packages{grid-template-columns:minmax(0,1fr)}
 .estimate-schedule-choices .schedule-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .estimate-schedule-choices .schedule-date{grid-column:1/-1}
}

/* Reserve digit width so count-up animation does not move the unit labels. */
.home-metrics b{display:inline-block;min-width:2ch;font-variant-numeric:tabular-nums}
