/* A viewport budget for each collapsed composition. Expanded answers stay in normal flow. */
html body.sdv-landing #video-portfolio .production-expand{background:#252525;color:#fff;border:1px solid #9c8878;border-radius:15px;box-shadow:none}
html body.sdv-landing #video-portfolio .production-expand small{color:#ead5c4}
html body.sdv-landing #video-portfolio .production-expand .expand-symbol{color:#ead5c4;border-color:#ead5c4}
@media(max-width:700px){
 html body.sdv-landing main>#results,html body.sdv-landing main>#video-portfolio,html body.sdv-landing main>#faq,html body.sdv-landing main>#application-contact{min-height:100svh;height:auto;box-sizing:border-box;padding:18px 16px;gap:10px;justify-content:center;scroll-margin-top:0}
 html body.sdv-landing #results .cases-unified-heading h2,html body.sdv-landing #video-portfolio .portfolio-header h2{font-size:29px;line-height:1.05}
 html body.sdv-landing #results .case-image{height:clamp(110px,20svh,165px)}
 html body.sdv-landing #results .case-body{gap:7px;padding:11px 13px}
 html body.sdv-landing #results .case-context>summary{padding:9px 11px}
 html body.sdv-landing #results .case-disclosure{line-height:1.2}
 html body.sdv-landing #results .case-disclosure summary{font-size:14px}
 html body.sdv-landing #results .screen-actions,html body.sdv-landing #video-portfolio>.screen-actions,html body.sdv-landing #faq>.screen-actions{margin:0 auto;gap:8px;padding:0;width:100%;max-width:none}
 html body.sdv-landing #results .screen-actions>a,html body.sdv-landing #video-portfolio .screen-actions>a,html body.sdv-landing #faq .screen-actions>a{min-height:48px;padding:10px 30px;border-radius:15px;box-shadow:none}
 html body.sdv-landing #video-portfolio .screen-actions .partnership-button-copy small,html body.sdv-landing #faq .screen-actions .partnership-button-copy small{display:none}
 html body.sdv-landing #video-portfolio .portfolio-header{display:flex;flex-direction:column;gap:4px}
 html body.sdv-landing #video-portfolio .portfolio-header p:not(.section-index):not(.gallery-status){display:none}
 html body.sdv-landing #video-portfolio .portfolio-header .gallery-status{display:block;margin:2px 0;text-align:left;font-size:16px}
 html body.sdv-landing #video-portfolio .gallery-reels .portfolio-track{--media-width:clamp(140px,calc((100svh - 335px)*.5625),215px);padding:0 max(0px,calc((100% - var(--media-width))/2));gap:14px}
 html body.sdv-landing #video-portfolio .gallery-reels .portfolio-caption{padding:7px 10px;min-height:0}
 html body.sdv-landing #video-portfolio .portfolio-caption strong{font-size:16px;line-height:1.2}
 html body.sdv-landing #video-portfolio .portfolio-caption>span{font-size:14px;line-height:1.2}
 html body.sdv-landing #video-portfolio>.screen-more{margin:0;width:100%}
 html body.sdv-landing #video-portfolio .production-expand{padding:10px 12px;gap:10px;min-height:54px}
 html body.sdv-landing #video-portfolio .production-expand strong{font-size:17px;line-height:1.2}
 html body.sdv-landing #video-portfolio .production-expand small{font-size:14px;line-height:1.2;margin-top:3px}
 html body.sdv-landing #faq .faq-heading h2{font-size:29px;line-height:1.15;letter-spacing:-.035em}
 html body.sdv-landing #faq .faq-heading h2 em{margin-left:.14em}
 html body.sdv-landing #faq .faq-list{width:100%;flex:0 0 auto}
 html body.sdv-landing #faq .faq-item summary{padding:10px 0;font-size:18px;line-height:1.25}
 html body.sdv-landing #application-contact{background:#1e1e1e;color:#fff}
 html body.sdv-landing #application-contact .closing-form-story{color:#fff;grid-template-columns:64px minmax(0,1fr);gap:12px}
 html body.sdv-landing #application-contact .closing-form-story>img{height:64px;width:64px}
 html body.sdv-landing #application-contact .closing-contact-links a{color:#fff}
 html body.sdv-landing #application-contact .simple-form-card{background:#282626;color:#fff;border:1px solid #8e7c70;padding:12px;border-radius:18px}
 html body.sdv-landing #application-contact h2{color:#fff;font-size:29px;margin-bottom:9px}
 html body.sdv-landing #application-contact .simple-fields{gap:8px 10px}
 html body.sdv-landing #application-contact .simple-fields label{color:#fff;font-size:16px;line-height:1.2}
 html body.sdv-landing #application-contact .simple-fields input,html body.sdv-landing #application-contact .simple-fields select{height:38px;min-height:38px;color:#fff;background:#343030;border:1px solid #a48e7e;font-size:16px;padding:7px 9px;color-scheme:dark}
 html body.sdv-landing #application-contact .simple-fields input::placeholder{color:#d0c0b4;font-size:16px}
 html body.sdv-landing #application-contact .field-note{color:#ead5c4;font-size:16px;line-height:1.25;margin:9px 0}
 html body.sdv-landing #application-contact .form-consent,html body.sdv-landing #application-contact .form-consent a{color:#fff;font-size:15px;line-height:1.25}
 html body.sdv-landing #application-contact .enquiry-form>.button{background:#ead5c4;color:#4e0000;min-height:46px;padding:10px 12px}
}
@media(max-width:700px) and (max-height:700px){
 html body.sdv-landing main>#results,html body.sdv-landing main>#video-portfolio,html body.sdv-landing main>#faq,html body.sdv-landing main>#application-contact{padding-top:12px;padding-bottom:12px;gap:8px}
 html body.sdv-landing #results .case-image{height:110px}
 html body.sdv-landing #faq .faq-item summary{padding:8px 0}
}
/* v236: top-aligned headings, bottom actions, original light enquiry palette. */
@media(max-width:700px){
 html body.sdv-landing main>#video-portfolio{justify-content:flex-start;align-items:stretch}
 html body.sdv-landing #video-portfolio .portfolio-header{width:100%;max-width:100%;min-width:0;align-self:stretch;align-items:flex-start;justify-content:flex-start;gap:6px;margin:0;padding:0;text-align:left;box-sizing:border-box}
 html body.sdv-landing #video-portfolio .portfolio-header>div{width:100%;max-width:100%;min-width:0;margin:0;padding:0;box-sizing:border-box}
 html body.sdv-landing #video-portfolio .portfolio-header h2,html body.sdv-landing #video-portfolio .portfolio-header .section-index{width:100%;margin-left:0;margin-right:0;text-align:left;white-space:normal;overflow-wrap:normal}
 html body.sdv-landing #video-portfolio .portfolio-header .gallery-status{width:100%;align-self:stretch;text-align:left;white-space:normal;margin:0}
 html body.sdv-landing #video-portfolio>.screen-actions{margin-top:auto}
 html body.sdv-landing main>#faq{justify-content:flex-start;align-items:stretch}
 html body.sdv-landing #faq .faq-heading{margin:0;padding:0;width:100%;align-self:stretch}
 html body.sdv-landing #faq .faq-list{margin-top:12px}
 html body.sdv-landing #faq>.screen-actions{margin-top:auto;padding-top:16px;flex-shrink:0}
 html body.sdv-landing main>#application-contact{background:#f3ebe5;color:#4e0000;justify-content:flex-start}
 html body.sdv-landing #application-contact .closing-form-story{background:transparent;color:#4e0000}
 html body.sdv-landing #application-contact .closing-contact-links a{color:#4e0000}
 html body.sdv-landing #application-contact .simple-form-card{background:#fdfcfc;color:#4e0000;border-color:#d6c6bb}
 html body.sdv-landing #application-contact h2,html body.sdv-landing #application-contact .simple-fields label{color:#4e0000}
 html body.sdv-landing #application-contact .simple-fields input,html body.sdv-landing #application-contact .simple-fields select{background:#fdfcfc;color:#4e0000;border-color:#d6c6bb;color-scheme:light}
 html body.sdv-landing #application-contact .simple-fields input::placeholder{color:#8a817b;font-weight:400}
 html body.sdv-landing #application-contact .field-note,html body.sdv-landing #application-contact .form-consent,html body.sdv-landing #application-contact .form-consent a{color:#4e0000}
 html body.sdv-landing #application-contact .enquiry-form>.button{background:#4e0000;color:white}
}

/* v237: balance spare height around the questions and the complete enquiry. */
@media(max-width:700px){
 html body.sdv-landing #faq .faq-heading{flex:0 0 auto}
 html body.sdv-landing #faq .faq-list{margin-top:auto;margin-bottom:auto;padding-top:18px;padding-bottom:18px;box-sizing:border-box;flex:0 0 auto}
 html body.sdv-landing #faq>.screen-actions{margin-top:0;padding-top:0;flex:0 0 auto}
 html body.sdv-landing main>#application-contact{justify-content:center}
 html body.sdv-landing #application-contact .closing-form-story,html body.sdv-landing #application-contact .simple-form-card{flex:0 0 auto}
}

/* Distinct, opaque controls stay visible on every case photograph. */
html body.sdv-landing #results .gallery-cases .gallery-side{width:48px;height:48px;padding:11px;border:2px solid #4e0000;border-radius:50%;background:#fff9ef;color:#4e0000;opacity:1;box-shadow:0 3px 12px #0005;cursor:pointer}
html body.sdv-landing #results .gallery-cases .gallery-side svg{width:25px;height:25px;stroke-width:2}
html body.sdv-landing #results .gallery-cases .gallery-side svg path{stroke-width:2}
html body.sdv-landing #results .gallery-cases .gallery-side:hover{background:#4e0000;color:#fff9ef;border-color:#fff9ef}
html body.sdv-landing #results .gallery-cases .gallery-side:active{background:#ead5c4;color:#4e0000}
html body.sdv-landing #results .gallery-cases .gallery-side:focus-visible{outline:3px solid white;outline-offset:3px}
html body.sdv-landing #results .case-context>summary{background:#ead5c4;color:#4e0000;border:1px solid #ead5c4;font-weight:600}
html body.sdv-landing #results .case-context>summary .expand-symbol{border-color:#4e0000;color:#4e0000}
html body.sdv-landing #results .case-context>summary:hover{background:#fff9ef}
@media(max-width:700px){
 html body.sdv-landing #results .gallery-cases .gallery-prev{left:10px}
 html body.sdv-landing #results .gallery-cases .gallery-next{right:10px}
}

/* Mobile service overview: six linked cards in three compact rows. */
@media(max-width:700px){
 html body.sdv-landing main>#services{min-height:0;height:auto;padding:22px 16px;gap:12px;justify-content:flex-start}
 html body.sdv-landing #services>h2{font-size:30px;line-height:1.1;margin:0 0 4px}
 html body.sdv-landing #services .service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible;width:100%;min-width:0;padding:0;margin:0}
 html body.sdv-landing #services .service-card{width:auto;min-width:0;max-width:none;height:auto;min-height:0;margin:0;border-radius:15px;overflow:hidden;display:flex}
 html body.sdv-landing #services a.service-card-link{display:flex;flex-direction:column;width:100%;min-width:0;height:100%;color:#4e0000;text-decoration:none}
 html body.sdv-landing #services .service-photo{width:100%;height:105px;min-height:0;max-height:105px;aspect-ratio:auto;object-fit:cover;flex:none}
 html body.sdv-landing #services .service-card-body{padding:11px 10px;gap:7px;display:flex;flex-direction:column;flex:1;background:#4e0000;color:white;min-width:0}
 html body.sdv-landing #services .service-card-body h3{font-size:17px;line-height:1.2;margin:0;font-weight:700;overflow-wrap:normal}
 html body.sdv-landing #services .service-card-body p{font-size:16px;line-height:1.35;margin:0;color:#f1dfd2}
 html body.sdv-landing #services a.service-card-link .service-card-action{padding:9px 10px;gap:6px;min-height:44px;display:flex;align-items:center;justify-content:space-between;background:#fdfcfc;color:#4e0000}
 html body.sdv-landing #services a.service-card-link .service-card-action strong{font-size:14px;line-height:1.25;display:block}
 html body.sdv-landing #services a.service-card-link .service-card-action small{display:none}
 html body.sdv-landing #services a.service-card-link .service-card-action svg{width:25px;height:25px;min-width:25px;flex:none;padding:3px}
 html body.sdv-landing #services .service-next{margin-top:0;gap:8px}
 html body.sdv-landing #services .service-next>p{font-size:16px;line-height:1.35;margin:0}
 html body.sdv-landing #services .screen-actions{margin:8px auto 0;gap:8px}
 html body.sdv-landing #services .screen-actions>a{padding:10px 32px;min-height:48px}
 html body.sdv-landing #services a.service-card-link:focus-visible{outline:3px solid #4e0000;outline-offset:3px}
}

/* An unmistakable disclosure control for the diagnostic contents. */
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;padding:15px 17px;margin:12px 0;background:#4e0000;color:#fff;border:2px solid #4e0000;border-radius:14px;list-style:none;cursor:pointer;text-align:left}
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle::-webkit-details-marker{display:none}
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle::marker{content:''}
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle strong{display:block;font-size:18px;line-height:1.3;color:#fff}
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle small{display:block;margin-top:5px;font-size:15px;font-weight:400;line-height:1.3;color:#ead5c4}
html body.sdv-landing :is(#work,#work-entry) .diagnostic-toggle-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #ead5c4;border-radius:50%;color:#fff;font-size:29px;font-weight:400;line-height:1}
html body.sdv-landing :is(#work,#work-entry) .diagnostic-toggle-symbol::before{content:'+'}
html body.sdv-landing :is(#work,#work-entry) details[open]>summary.diagnostic-details-toggle .diagnostic-toggle-symbol::before{content:'−'}
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle:hover{background:#650d0d}
html body.sdv-landing :is(#work,#work-entry) summary.diagnostic-details-toggle:focus-visible{outline:3px solid #4e0000;outline-offset:4px}
html body.sdv-landing :is(#work,#work-entry) details:has(>summary.diagnostic-details-toggle)>.diagnostic-list{background:#f3e8df;border-radius:12px;padding:16px 18px 16px 34px;margin:0 0 14px;color:#4e0000;font-size:17px;line-height:1.5}
