/* One composition per viewport. CSS only: no scroll handlers or forced snapping. */
html{scroll-padding-top:0}
.hero-bottom{justify-content:flex-end}
.brand .brand-dot{display:inline;margin:0;color:var(--orange);font:inherit;letter-spacing:inherit}
@media(min-width:1200px){
  .hero .hero-photo{width:40%;right:3%}
  .hero .hero-content>p{max-width:400px}
}

@media (min-width:901px) and (min-height:620px){
  :root{--screen-pad:clamp(32px,5svh,64px)}
  .header{height:80px}
  .brand{font-size:42px}
  .hero{height:calc(100svh - 80px);min-height:0;max-height:none}
  .hero-content{width:57%;height:100%;padding:clamp(26px,4svh,42px) var(--pad) clamp(64px,8svh,95px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px}
  .hero-content>*{flex-shrink:0}
  .hero .eyebrow{margin-bottom:0}
  .hero h1{margin:0}
  .hero h1 .hero-name{font-size:min(clamp(128px,calc(44svh - 155px),300px),23vw)}
  .hero h1 .hero-slogan{font-size:min(clamp(46px,calc(15svh - 52px),108px),7.2vw);margin-top:20px!important}
  .hero-handnote{font-size:clamp(18px,2.6svh,26px);margin:0;padding:7px 12px}
  .hero-content>p{max-width:480px;font-size:clamp(16px,2.2svh,21px);line-height:1.55}
  .hero-actions{margin-top:0;gap:clamp(22px,2.5vw,36px)}
  .hero-actions .button{font-size:clamp(14px,2svh,19px);padding:clamp(13px,1.7svh,20px) clamp(20px,2.2vw,32px)}
  .hero-actions .text-link{font-size:clamp(14px,1.9svh,18px)}
  .hero-proof{margin-top:0;font-size:clamp(13px,1.8svh,16px);padding:8px 12px}
  .hero-photo{top:8%;right:4%;width:43%;height:69%;max-height:none}
  .hero-note{top:22px;font-size:clamp(19px,2.8svh,27px);padding:14px 19px}
  .hero-note strong{font-size:clamp(25px,3.5svh,34px)}
  .hero-graffiti{width:min(38%,48svh);bottom:58px;right:1%}
  .hero-bottom{bottom:61px;font-size:11px}
  /* The diagonal ribbon straddles the boundary without adding another screen. */
  .ticker{height:70px;padding-block:13px;margin:-35px -5%}
  .ticker-track{font-size:40px}

  main>.section{height:100svh;min-height:0;padding:var(--screen-pad) var(--pad)}
  .section-heading .eyebrow{margin-bottom:14px}
  .section-heading h2{font-size:clamp(44px,7.8svh,82px)}

  .services{display:grid;grid-template-columns:.8fr 1.45fr;grid-template-rows:auto minmax(0,1fr);column-gap:clamp(40px,5vw,80px);row-gap:24px;padding-top:70px!important;padding-bottom:45px!important}
  .services .section-heading{grid-area:1/1;display:block;margin:0}
  .services .section-heading p{margin-top:18px;line-height:1.55}
  .services .section-heading p br{display:none}
  .service-layout{display:contents}
  .service-photo{grid-area:2/1;height:100%;max-height:470px;min-height:0;margin:0;width:100%;align-self:center}
  .service-photo>img{object-position:center 36%}
  .service-star{font-size:90px}
  .service-list{grid-area:1/2/3/3;align-self:center;padding:3px 18px 16px}
  .service-row{padding:clamp(8px,1.55svh,19px) 2px;grid-template-columns:1fr 48px 62px 16px;gap:9px}
  .service-row>span:first-child{gap:4px}
  .service-row strong{font-size:clamp(25px,3.5svh,32px)}
  .service-row small{font-size:14px;line-height:1.4}
  .service-tag{font-size:10px;padding:4px 7px}
  .service-price{font-size:clamp(35px,4.6svh,45px)}
  .service-extra{padding-top:13px;gap:3px}

  .gallery-section{display:flex;flex-direction:column;justify-content:center}
  .gallery-section:before{position:absolute;top:10px;right:var(--pad);margin:0;font-size:18px}
  .gallery-section .section-heading{flex-shrink:0;margin:0 0 24px}
  .gallery-controls{flex-shrink:0;margin-bottom:22px}
  .gallery-grid{height:auto;min-height:0;max-height:620px;flex:1;align-items:center;gap:clamp(20px,2.4vw,36px)}
  .gallery-item{height:calc(100% - 30px);max-height:480px;aspect-ratio:auto;width:100%}
  .gallery-item:nth-child(even){margin-top:20px}
  .gallery-item:nth-child(3){margin-top:0}
  .gallery-grid.expanded:not(.filtered){grid-template-columns:repeat(6,minmax(0,1fr))}
  .gallery-grid.expanded:not(.filtered) .gallery-item{height:min(100%,26vw)}
  .gallery-grid.expanded:not(.filtered) .gallery-item>span{font-size:15px}
  .gallery-more{flex-shrink:0;margin:25px auto 0}

  .story{gap:clamp(45px,6vw,100px)}
  .story-photo>img{height:clamp(360px,70svh,760px);min-height:0}
  .story-copy .eyebrow{margin-bottom:16px}
  .story-copy h2{font-size:clamp(43px,7.1svh,77px);margin-bottom:20px}
  .story-copy>p{line-height:1.65;margin-bottom:14px}
  .story-copy>p.story-lead{font-size:20px;line-height:1.4}
  .story-sign{margin-top:18px;padding-top:16px}
  .story-sign img{height:55px}
  .story-sticker{bottom:-18px}

  .reviews{align-items:center;gap:clamp(30px,4vw,65px)}
  .reviews h2{font-size:clamp(44px,7.4svh,75px)}
  .review-cards{align-items:center;gap:24px}
  .review-card{min-height:clamp(260px,46svh,460px);padding:clamp(20px,2.3vw,35px)}
  .review-card>p{font-size:clamp(29px,4.3svh,46px)}

  main>.contact{height:auto;min-height:100svh;display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,3svh,42px);padding-bottom:0}
  .contact-top .eyebrow{margin-bottom:16px}
  .contact h2{font-size:clamp(65px,10.8svh,140px)}
  .button-dark{margin-top:24px;padding:14px 24px}
  .contact-details{margin-top:0;padding-top:22px;gap:35px}
  .contact-label{margin-bottom:10px}
  .contact-details h3{font-size:28px;margin-bottom:8px}
  .contact-details p{line-height:1.55}
  .contact-details .text-link{margin-top:8px}
  .coordinates{margin-top:8px}
  .socials{margin-top:12px}
  .contact-watermark{font-size:31vw;width:100%;align-self:center;margin:20px -20px -5px;line-height:.75;flex-shrink:0}
}

@media (min-width:901px) and (min-height:620px) and (max-height:700px){
  .hero-content{padding-top:22px;padding-bottom:62px}
}

/* Narrow or unusually short windows keep natural height and readable content. */
@media (max-width:900px), (max-height:619px){
  main>.section{min-height:100svh}
}
@media (max-width:900px){
  .hero{background-position:left center}
  .services,.gallery-section,.story,.reviews{padding-block:clamp(45px,7svh,75px)}
  .section-heading{margin-bottom:30px}
  .story{justify-content:center}
  .reviews{align-content:center}
}
