/* Mobile layouts: keep the photograph and the next action within easy reach. */
.mobile-dock,.service-shortcuts,.mobile-label{display:none}
@media(max-width:820px){
  html{scroll-padding-top:24px;scroll-padding-bottom:100px}
  .wrap{width:calc(100% - 40px)}
  .header{height:74px}
  .header .button.small{min-height:44px;font-size:12px;padding:12px 16px;gap:14px}
  .header .desktop-label{display:none}
  .header .mobile-label{display:inline}
  .hero-led,.hero-master{display:grid;grid-template-columns:1fr;gap:0;padding-block:28px 44px}
  .hero-copy{display:contents}
  .hero-copy>.eyebrow{order:0;font-size:10px;letter-spacing:.1em;margin:0 0 14px;line-height:1.6}
  .hero-copy>h1{order:1;margin:0 0 24px;font-size:clamp(40px,7.8vw,60px);line-height:1.02;letter-spacing:-.055em}
  .hero-visual,.hero-master .master-hero-art{order:2;width:100%;max-width:none;margin:0}
  .hero-visual{min-height:0;aspect-ratio:1.5;isolation:isolate;border-radius:20px;box-shadow:0 16px 55px #5558ff25}
  .hero-visual>img{object-position:center 52%}
  .hero-visual:after{background:linear-gradient(180deg,transparent 52%,#070c25db)}
  .hero-visual figcaption{left:20px;bottom:19px;font-size:20px;max-width:80%;line-height:1.1}
  .photo-label{font-size:9px;margin-bottom:8px}
  .photo-corner{width:36px;height:36px;bottom:19px;right:18px;font-size:20px}
  .hero-copy>.hero-description{order:3;font-size:16px;line-height:1.6;margin:24px 0 0;max-width:620px}
  .hero-copy>.hero-actions{order:4;margin:20px 0 0;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
  .hero-copy>.hero-phone{display:none}
  .hero-copy>.hero-specs,.hero-copy>.assurances{order:5}
  .hero-copy>.fine{order:6}
  .hero-actions .button{min-height:54px;justify-content:space-between;border-radius:12px;font-size:15px;padding:16px 20px}
  .hero-actions .text-link{font-size:13px;display:flex;align-items:center;min-height:44px}
  .hero-specs{max-width:none;gap:12px;margin:24px 0 0;padding-top:22px;grid-template-columns:1.12fr .83fr 1fr}
  .hero-specs strong{font-size:27px}
  .hero-specs span{font-size:12px;line-height:1.45;margin-top:7px}
  .hero-master .master-hero-art{margin-bottom:10px}
  .master-image-frame{aspect-ratio:1.5;max-width:none;border-radius:20px;border:1px solid #dfd7c5;box-shadow:0 16px 35px #63552b15}
  .master-image-frame img{transform:none;object-fit:cover;object-position:center 48%}
  .task-note{right:12px;bottom:-12px;width:auto;max-width:70%;padding:14px 35px 14px 17px;border-radius:9px;transform:rotate(-3deg);background:#f4d276;box-shadow:0 8px 20px #5b4d2420}
  .task-note>span{font-size:9px;letter-spacing:.09em}
  .task-note strong{font-size:19px;margin-top:6px;line-height:1.08}
  .task-note i{font-size:23px;right:12px;top:11px}
  .master .hero-copy>.assurances{display:grid;grid-template-columns:1fr;gap:9px;margin:23px 0 0;max-width:none;padding-top:20px;border-top:1px solid var(--line)}
  .assurances span{font-size:13px;white-space:normal}
  .master .hero-copy>.fine{font-size:12px!important;margin:15px 0 0}
  .section,.service-intro{padding-block:62px}
  h2{font-size:clamp(31px,5.5vw,42px);line-height:1.08;letter-spacing:-.045em;text-wrap:balance}
  .section-heading{gap:20px;margin-bottom:28px}
  .section-heading .eyebrow,.faq-layout .eyebrow{font-size:11px;margin-bottom:15px}
  .section-heading>p{font-size:15px;line-height:1.65}
  .occasion-strip>.wrap{gap:10px 20px}
  .occasion-strip span{font-size:12px}
  .format-cards{gap:10px}
  .format-card{border-radius:14px}
  .format-card.active{box-shadow:inset 0 0 0 1px #cbfa7845;background:linear-gradient(120deg,#22332b,#18202c)}
  .format-card strong{font-size:19px}
  .format-card>span:not(.screen-icon){font-size:13px;line-height:1.4}
  .configurator{background:linear-gradient(140deg,#171d30,#11151e);border-radius:18px;padding:24px;gap:18px}
  .screen-stage{border-radius:12px;min-height:245px;padding:20px 12px 38px}
  .screen-caption{font-size:11px;bottom:4px}
  .config-controls h3{font-size:clamp(29px,5vw,36px);margin-top:8px}
  .config-controls>p{font-size:14px}
  .config-controls label{font-size:14px;margin:19px 0 0}
  input[type=range]{appearance:none;-webkit-appearance:none;height:44px;background:transparent}
  input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:9px;background:#434e68}
  input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:var(--accent);border:4px solid #f0ffd2;box-shadow:0 0 0 5px #cbfa7814;margin-top:-10px}
  input[type=range]::-moz-range-track{height:6px;border-radius:9px;background:#434e68}
  input[type=range]::-moz-range-thumb{width:20px;height:20px;border:3px solid #f0ffd2;border-radius:50%;background:var(--accent)}
  .fine{font-size:12px!important;line-height:1.65!important}
  .steps-grid{gap:14px}
  .steps-grid article{border:1px solid #30394a;border-radius:15px;padding:20px;background:#1a202d}
  .steps-grid article>span{margin-bottom:25px;font-size:11px;letter-spacing:.08em}
  .steps-grid h3{font-size:23px;line-height:1.1;overflow-wrap:anywhere}
  .steps-grid p{font-size:14px;line-height:1.6;margin-top:12px}
  .gallery{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}
  .gallery button,.gallery button:first-child{margin:0;height:auto;aspect-ratio:1;grid-row:auto;border-radius:16px}
  .gallery button:first-child{grid-column:1/-1;aspect-ratio:4/3}
  .gallery button span{font-size:11px;left:10px;bottom:10px;max-width:calc(100% - 20px);padding:7px 9px;line-height:1.4}
  .faq-layout,.master .faq-layout{padding-top:62px;gap:28px}
  .faq summary{font-size:16px;line-height:1.4;min-height:26px}
  .faq p{font-size:15px;line-height:1.7}
  .request-section{padding-block:56px}
  .request-layout,.master .request-layout{gap:30px}
  .request-layout h2,.master .request-layout h2{font-size:clamp(34px,6vw,46px)}
  .request-layout>div>p:not(.eyebrow){font-size:15px;margin-top:20px}
  .contact-links{margin-top:24px;gap:7px}
  .contact-links a{font-size:27px}
  .contact-links p{font-size:14px}
  .contact-links .button{display:none}
  .request-form{min-width:0;scroll-margin-top:20px}
  .request-form label{font-size:13px;margin-bottom:9px}
  .request-form input,.request-form textarea,.request-form select{font-size:16px;min-height:52px;border-radius:10px;padding:14px;max-width:100%;min-width:0}
  .request-form>button{min-height:56px;font-size:15px;border-radius:11px;justify-content:space-between}
  .master .request-form{padding:24px;border-radius:18px;box-shadow:0 10px 24px #2b453009}
  .request-result{scroll-margin-bottom:110px}
  .result-actions{flex-direction:column}
  .result-actions .button{min-height:50px;font-size:14px;border-radius:10px}
  .result-status{font-size:13px;line-height:1.6}
  .service-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:-6px 0 24px}
  .service-shortcuts a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #ccd7c3;border-radius:24px;font-size:13px;text-decoration:none;background:#f6f8f0}
  .service-card{border-radius:20px;box-shadow:0 8px 25px #183b2510}
  .service-photo{aspect-ratio:4/3}
  .service-body,.text-service{padding:25px}
  .category{font-size:11px;margin-bottom:13px}
  .service-card h3,.text-service h3{font-size:clamp(26px,5vw,32px);line-height:1.1}
  .service-card p{font-size:15px;line-height:1.7;margin:16px 0 21px}
  .service-tags{gap:9px}
  .service-tags button{min-height:46px;font-size:13px;padding:12px 15px}
  .service-tags button[aria-pressed=true]{box-shadow:0 3px 10px #215d4625}
  .selection-bar{border-radius:16px}
  .selection-bar p span{font-size:13px}
  .selected-tasks p,.task-chip{font-size:13px;line-height:1.5}
  .process-list h3{font-size:27px}
  .process-list p{font-size:15px}
  .bundle h2{font-size:clamp(30px,5.5vw,42px)}
  .bundle p{font-size:15px}
  .checklist{transform:rotate(-2deg);border-radius:12px;padding:23px;margin:0 8px 6px}
  .checklist p{font-size:17px}
  .footer p,.footer>span{font-size:12px}
  .footer a[href="privacy.html"]{display:inline-flex;align-items:center;min-height:44px}
  .consent-banner{padding:16px 18px;border-radius:16px;max-height:55dvh;overflow:auto}
  .consent-banner p{font-size:13px;line-height:1.5}
  .consent-banner>div{display:flex;gap:8px}
  .consent-banner button{min-height:44px;flex:1;font-size:12px;margin:0;padding:10px;border-radius:9px}
}
@media(max-width:600px){
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
  .wrap{width:calc(100% - 36px)}
  .header{height:68px;gap:12px}
  .header .brand{font-size:21px;gap:8px}
  .header .button.small{font-size:12px;padding:11px 13px;gap:11px;border-radius:10px}
  .hero-led,.hero-master{padding-top:25px;padding-bottom:38px}
  .hero-copy>h1{font-size:clamp(35px,10.8vw,54px);margin-bottom:22px}
  .hero-copy>.eyebrow{font-size:10px;margin-bottom:13px;letter-spacing:.065em}
  .hero-visual{aspect-ratio:1.2}
  .hero-visual figcaption{font-size:18px;left:18px;bottom:18px}
  .hero-visual figcaption>span:last-child br{display:none}
  .hero-visual figcaption>span:last-child{display:block;max-width:210px}
  .hero-visual .photo-label{font-size:8px;letter-spacing:.1em}
  .hero-copy>.hero-description{font-size:15px;line-height:1.6;margin-top:23px}
  .hero-copy>.hero-actions{display:flex;flex-direction:column;gap:0;align-items:stretch;margin-top:18px}
  .hero-actions .button{width:100%}
  .hero-actions .text-link{justify-content:center;margin-top:6px;font-size:13px}
  .hero-specs{gap:10px;margin-top:18px;padding-top:20px}
  .hero-specs strong{font-size:25px}
  .hero-specs span{font-size:11px}
  .master-image-frame{aspect-ratio:1.35}
  .master .hero-copy>.hero-description{margin-top:27px}
  .master .hero-copy>.assurances{margin-top:18px;gap:10px}
  .hero-master .hero-copy>.fine{margin-top:12px}
  .master .hero-actions .text-link{display:none}
  .section,.service-intro{padding-block:52px}
  .format-cards{grid-template-columns:1fr}
  .format-card{display:grid;grid-template-columns:52px 1fr;min-height:103px;column-gap:22px;padding:18px 20px}
  .screen-icon{width:52px;height:36px;margin:0}
  .screen-icon.compact{width:42px;height:30px}
  .screen-icon.vertical{width:25px;height:51px}
  .format-card strong{margin:0 0 6px;font-size:18px}
  .format-card>span:not(.screen-icon){max-width:none;font-size:13px}
  .configurator{padding:19px}
  .config-controls .fine{margin-top:12px}
  .steps-grid{grid-template-columns:1fr;gap:12px}
  .steps-grid article{display:grid;grid-template-columns:30px 1fr;gap:7px 14px;padding:22px}
  .steps-grid article>span{grid-row:1/3;margin:3px 0 0;font-size:12px;color:var(--accent)}
  .steps-grid h3{font-size:24px}
  .steps-grid p{margin:0;grid-column:2}
  .service-grid{grid-template-columns:1fr;gap:22px}
  .process-list{grid-template-columns:1fr}
  .service-photo{aspect-ratio:4/3}
  .service-card h3 br{display:initial}
  .service-body,.text-service{padding:22px}
  .line-art{gap:20px}
  .line-art b{font-size:23px}
  .line-art span{font-size:64px}
  .form-row{grid-template-columns:1fr;gap:0}
  .master .request-form{padding:20px}
  .mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:18;display:grid;grid-template-columns:.9fr 1.35fr;gap:9px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:var(--bg);border-top:1px solid var(--line);box-shadow:0 -8px 28px #0002}
  .mobile-dock .mobile-call,.mobile-request{position:static;display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;padding:13px 11px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:700;box-shadow:none;white-space:nowrap}
  .mobile-dock .mobile-call{background:transparent;color:var(--ink);border:1px solid var(--line)}
  .mobile-dock .mobile-call svg{width:17px;height:17px;flex:none}
  .mobile-request{background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent)}
  .mobile-request span[aria-hidden]{font-size:20px;line-height:1}
  .consent-banner{bottom:calc(86px + env(safe-area-inset-bottom,0px));width:calc(100% - 28px)}
  body.input-focus .mobile-dock{display:none}
  body.input-focus .consent-banner{bottom:12px}
  .photo-dialog{padding:6px;border-radius:14px;max-height:90dvh}
  .photo-dialog img{max-height:83dvh}
  .close-dialog{right:14px;top:14px;width:48px;height:48px}
}
@media(max-width:370px){
  .header .brand{font-size:18px;gap:6px}
  .header .house-mark{width:28px;height:28px;font-size:23px}
  .header .button.small{padding:10px;font-size:11px;gap:6px}
  .header .button.small span[aria-hidden]{font-size:17px}
  .hero-copy>.eyebrow{font-size:9px;letter-spacing:.035em}
  .hero-specs strong{font-size:22px}
  .hero-specs span{font-size:10px}
  .mobile-dock{padding-inline:12px;gap:8px}
  .mobile-dock .mobile-call,.mobile-request{font-size:12px}
  .task-note{padding:12px 29px 12px 14px}
  .task-note strong{font-size:17px}
  .service-body,.text-service{padding:19px}
  .gallery{gap:10px}
  .gallery button:not(:first-child) span{font-size:10px;padding:6px}
}
@media(min-width:601px) and (max-width:820px){
  .hero-copy>.hero-phone{display:inline-flex;order:5;margin-top:22px;min-height:44px;align-items:center}
  .hero-copy>.hero-specs,.hero-copy>.assurances{order:6}
  .hero-copy>.fine{order:7}
}
