/* Touch layouts only; desktop retains its existing editorial composition. */
.mobile-home-button{display:none}
.touch-catalog{display:none}
@media(max-width:1024px){
 .compact-home .touch-catalog{display:block;background:#101d2f;padding:32px 16px}
 .touch-catalog>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(42%,180px),1fr));gap:12px}
 .touch-catalog a{display:grid;gap:8px;text-align:center;padding:10px;color:#f3e4c6;background:#192942;border:1px solid #776849;border-radius:18px}
 .touch-catalog img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:12px}
 body.compact-home .footer{display:grid!important;background:#101c2c}
}
@media(max-width:1024px){
 body{background:#0b1523!important;color:#f1e7d4}
 .site-header,.atelier-home .site-header{height:76px!important;padding:0 16px!important;background:#0b1523!important;border-bottom:1px solid #d0b07826}
 .site-header .desktop-nav{display:none!important}.headright{gap:4px}.brand{gap:7px}.brand img{width:38px;height:38px}.brand strong{font-size:17px}.brand small{font-size:10px}.account{font-size:12px;gap:2px}.account .icon{width:25px}
 .atelier-home .site-header #menuBtn{display:flex!important}
 .compact-home .atelier-hero{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(220px,1fr) auto;gap:0;min-height:calc(100svh - 76px);padding:14px 0 0;background:#050d17;max-width:none}
 .compact-home .home-quotes{grid-column:1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));width:min(520px,calc(100% - 32px));gap:10px;z-index:1}
 .compact-home .compact-quote:nth-child(3){display:none}
 .compact-home .compact-quote{display:grid;grid-template-columns:1fr auto;padding:8px 14px;text-align:right;border-radius:18px;background:#152338bd;line-height:2;gap:0 6px}
 .compact-home .compact-quote>span{font-size:13px;grid-column:1/-1}.compact-home .compact-quote strong{font-size:21px}.compact-home .compact-quote small{font-size:11px;align-self:center}
 .compact-home .editorial-art{visibility:visible;display:flex;grid-column:1;grid-row:2;width:100%;height:100%;min-height:240px;aspect-ratio:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}
 .compact-home .editorial-art img{width:100%;height:100%;max-height:48svh;min-height:240px;object-fit:contain;object-position:center;display:block;border-radius:0;mask-image:linear-gradient(transparent,#000 10%,#000 88%,transparent)}
 .compact-home .photo-navigation{grid-column:1;grid-row:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:none;padding:22px 18px calc(20px + env(safe-area-inset-bottom));background:linear-gradient(145deg,#21324a,#142236);border:1px solid #d3bb8a30;border-bottom:0;border-radius:34px 34px 0 0;align-self:end}
 .compact-home .photo-link{display:flex;flex-direction:column;gap:8px;padding:0;border:0;border-radius:16px;background:transparent;box-shadow:none;backdrop-filter:none;text-align:center;min-width:0}
 .compact-home .photo-link img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:1px solid #e1c68e69;border-radius:19px;max-width:160px}
 .compact-home .photo-link span{width:100%}.compact-home .photo-link strong{font-size:clamp(14px,3.6vw,20px);font-weight:400;line-height:2.4;white-space:nowrap}
 .compact-home .photo-link small,.compact-home .photo-link svg,.compact-home .atelier-story,.compact-home .atelier-end,.compact-home .atelier-rate,.compact-home .footer{display:none!important}
 .compact-interior main{padding:22px 16px 108px;min-height:calc(100svh - 76px)}
 .compact-interior .page-title{margin-bottom:22px}.compact-interior .page-title h1{font-size:30px;line-height:2}.compact-interior .page-title .eyebrow{display:none}.compact-interior .page-title .sub{font-size:13px}
 .compact-interior .footer{display:none!important}
 .mobile-home-button{position:fixed;display:flex;align-items:center;justify-content:center;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:58px;height:58px;border-radius:50%;background:#d9bd82;color:#101c2c;border:5px solid #172538;box-shadow:0 6px 24px #0009;z-index:45}
 .mobile-home-button svg{width:24px;height:24px}
 .compact-interior .models,.compact-interior .variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .compact-interior .model,.compact-interior .variant{min-width:0;text-align:right;padding:10px;border:1px solid #d3bd8b36;border-radius:24px;background:linear-gradient(150deg,#203149,#142236);box-shadow:0 10px 28px #0002;overflow:hidden}
 .compact-interior .models .model img,.compact-interior .variant .photo img{width:100%;height:auto;aspect-ratio:1;object-fit:contain!important;padding:9px;border:1px solid #c6b28c36;border-radius:18px;background:#ffffff08;display:block}
 .compact-interior .variant .photo{aspect-ratio:1;border-radius:18px;height:auto}
 .compact-interior .model h3,.compact-interior .variant h3{font-size:19px;line-height:2.3;margin:5px 0 0}.compact-interior .model .row svg{width:17px}.compact-interior .model>small{font-size:11px;display:block;color:#d0d6df}
 .mobile-model-price,.compact-interior .variant .vp{font-size:18px;color:#ead1a1;line-height:2.3;margin:7px 0 0;overflow-wrap:anywhere}.mobile-model-price small,.compact-interior .variant .vp small{font-size:10px;color:#d3bc8c}
 .compact-interior .variant .actions{display:flex;flex-wrap:wrap;gap:5px}.compact-interior .variant .actions button{font-size:12px;min-height:44px;padding:6px}.compact-interior .variant .actions svg{width:16px}
 .compact-interior .heart{width:36px;height:36px;color:#e9dcbf;background:#142236d9;border:1px solid #d8c39280}.compact-interior .heart.saved{color:#ff7d91}
 .compact-interior .detail{display:flex;flex-direction:column;padding:0;border:0;border-radius:28px;background:transparent;gap:0;overflow:hidden}
 .compact-interior .detail .showcase{order:0;display:flex;align-items:center;justify-content:center;width:100%;height:clamp(250px,40svh,440px);margin:0;border-radius:28px 28px 0 0;background:radial-gradient(ellipse at center,#2d4258,#101d2d);position:relative}
 .compact-interior .showcase img{width:100%;height:100%;max-height:100%;object-fit:contain!important;transform:none!important;border:0;border-radius:0;background:transparent;padding:26px}
 .mobile-detail-sheet{position:relative;order:1;z-index:1;margin-top:-18px;padding:22px 20px 26px;border:1px solid #d4bd8b33;border-radius:30px;background:linear-gradient(155deg,#22344a,#162436);box-shadow:0 -10px 30px #0002;min-width:0}
 .mobile-detail-sheet .detail-head{margin:0}.mobile-detail-sheet h1{font-size:30px;line-height:2}.mobile-detail-sheet .eyebrow{display:none}.mobile-detail-sheet .price{font-size:30px;color:#e8cc95;line-height:2.3;margin:6px 0}.mobile-detail-sheet .price small{font-size:13px}
 .mobile-detail-sheet .weights{display:flex;flex-wrap:wrap;gap:8px}.mobile-detail-sheet .weight{min-width:61px;min-height:48px;padding:7px 10px;border-radius:14px;background:#0c192b;border:1px solid #b9a67e45;color:#ece4d6;font-size:17px}.mobile-detail-sheet .weight.selected{background:#dec38b;color:#142034;border-color:#dec38b}.mobile-detail-sheet .weight.selected small{color:#142034}
 .mobile-detail-sheet .detail-actions{display:flex;flex-direction:column;gap:10px;margin:22px 0}.mobile-detail-sheet .detail-actions button{width:100%;min-height:50px;border-radius:16px}.mobile-detail-sheet .solid{background:#dec38b;color:#142034}.mobile-detail-sheet .specs{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px}.mobile-detail-sheet .note{font-size:12px;color:#bcc7d4;line-height:2.2}
 .compact-interior .budget-form{display:flex;flex-direction:column;gap:12px}.compact-interior input,.compact-interior select{max-width:100%;font-size:16px}.compact-interior .filterbar{flex-wrap:wrap;gap:10px}.compact-interior .rate-card-value{font-size:25px}
 .compact-interior .back{min-height:44px;margin-bottom:14px}
}
@media(min-width:601px) and (max-width:1024px){
 .compact-home .photo-navigation{padding-inline:max(30px,calc((100vw - 650px)/2));gap:25px}.compact-home .photo-link img{max-width:170px}.compact-home .editorial-art img{max-height:55svh}.compact-home .compact-quote strong{font-size:25px}
 .compact-interior main{max-width:850px;padding-inline:28px}.compact-interior .models,.compact-interior .variants{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.compact-interior .detail{max-width:620px;margin:auto}.compact-interior .model h3{font-size:22px}.mobile-detail-sheet{padding:26px 30px}
}
@media(max-width:360px){.brand strong{font-size:14px}.headright{gap:0}.brand{gap:4px}.brand img{width:32px;height:32px}.site-header #menuBtn{width:32px}.compact-home .photo-navigation{gap:8px;padding-inline:12px}.compact-home .compact-quote{padding:8px}.compact-home .compact-quote strong{font-size:18px}.mobile-model-price{font-size:16px}}
@media(prefers-reduced-motion:reduce){.compact-interior .page,.compact-home .page{animation:none}.compact-interior *{scroll-behavior:auto!important}}

/* Full-height portrait scene and lighter glass, requested mobile revision. */
@media(max-width:1024px){
 body.compact-home{background:#07111b url('assets/hero-mobile-distant.webp?v=20261104-single-rock') center center/cover no-repeat!important;background-attachment:scroll!important}
 .compact-home .site-header{background:rgba(8,19,32,.2)!important;backdrop-filter:blur(6px);border-color:#e7d7b327}
 .compact-home .atelier-hero{background:transparent!important}
 .compact-home .editorial-art{visibility:hidden;min-height:240px}
 .compact-home .compact-quote{background:rgba(12,28,43,.26);backdrop-filter:blur(10px);border-color:#e0ce9e60;box-shadow:0 5px 18px #0002;text-shadow:0 2px 8px #000}
 .compact-home .photo-navigation{background:rgba(14,30,46,.3);backdrop-filter:blur(10px);border-color:#e0ce9e50;box-shadow:0 -10px 36px #0002}
 .compact-home .photo-link{background:rgba(18,35,49,.12);text-shadow:0 2px 8px #000}
 .compact-home .photo-link img{opacity:.88;border-color:#e6d4a87a;box-shadow:0 6px 18px #0003}
 .compact-home .photo-link:hover img,.compact-home .photo-link:focus-visible img{opacity:1}
}

/* Consistent touch controls and predictable card rows. */
@media(max-width:1024px){
 .compact-interior .variant{display:flex;flex-direction:column;gap:0}
 .compact-interior .variant h3{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:86px;margin:8px 0 0;line-height:2.1;gap:0}
 .compact-interior .variant h3 .variant-name{font-size:20px;white-space:nowrap}
 .compact-interior .variant h3 .variant-weight{font-size:14px;color:#cbd4dd;font-weight:400;white-space:nowrap}
 .compact-interior .variant .vp{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px;font-size:18px;line-height:2;min-height:44px;margin:0;overflow-wrap:normal}
 .compact-interior .variant .price-context{font-size:11px;line-height:2.2;color:#bcc7d3;margin:8px 0 14px;min-height:52px}
 .compact-interior .variant .actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:auto;padding-top:12px;width:100%;border-color:#dfca9e32}
 .compact-interior .variant .actions button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:46px;min-height:46px;padding:8px 12px;border:1px solid #dec69445;border-radius:12px;line-height:1.8;font-size:14px;white-space:nowrap}
 .compact-interior .variant .actions button:first-child{background:#d7bc82;color:#132235;border-color:#d7bc82}
 .compact-interior .variant .actions svg,.compact-interior .solid svg,.compact-interior .outline svg{display:block;width:18px;height:18px;min-width:18px;flex:0 0 18px;vertical-align:middle;transform:none}
 .compact-interior .variant .heart{width:44px;height:44px;top:5px;left:5px;display:flex;align-items:center;justify-content:center;z-index:2}
 .compact-interior .heart svg{display:block;width:20px;height:20px;flex:none}.compact-interior .heart:not(.saved) svg{fill:none;stroke:#f1e6d2}
 .compact-interior .variant .offer-ribbon{font-size:9px;line-height:2;max-width:100%;padding:3px 6px;bottom:0}
 .compact-budget .budget-form{padding:14px;gap:12px;border-radius:22px;margin:20px 0}
 .compact-budget .money-wrap{display:block;width:100%;min-width:0;position:relative}
 .compact-budget .money-wrap input{display:block;width:100%;min-width:0;height:62px;padding:10px 18px 10px 64px;box-sizing:border-box;border-radius:14px}
 .compact-budget .money-wrap .unit{position:absolute;left:15px;right:auto;top:50%;transform:translateY(-50%);margin:0;line-height:2;pointer-events:none}
 .compact-budget .budget-form .solid{display:flex;justify-content:center;align-items:center;width:100%;min-height:54px;padding:10px 16px;gap:14px;border-radius:14px;font-size:17px}
 .compact-budget .filterbar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:14px;margin:0 0 18px;border-radius:20px}
 .compact-budget .filterbar>.note{font-size:13px;line-height:2.3;padding-inline:3px}
 .compact-budget .filterbar select{width:100%;height:54px;min-width:0;padding:8px 14px;line-height:2;border-radius:12px}
 .compact-interior .mobile-home-button{bottom:calc(26px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.compact-interior .variants{gap:10px}.compact-interior .variant{padding:8px}.compact-interior .variant h3 .variant-name{font-size:17px}.compact-interior .variant .vp{font-size:16px}.compact-interior .variant .actions button{padding-inline:10px}}

/* Product catalogue and photo sheet inspired by the supplied reference. */
.product-gallery{margin:10px 0 20px;min-width:0}
.gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:4px;scrollbar-width:thin}
.gallery-thumbnails button{width:76px;height:76px;flex:0 0 76px;padding:5px;border-radius:16px;border:1px solid #d7bd8338;background:#0b1728;cursor:pointer}
.gallery-thumbnails button[aria-pressed=true]{border:2px solid #dec38b;background:#26374b}
.gallery-thumbnails img{width:100%;height:100%;object-fit:contain;border-radius:10px}
@media(max-width:1024px){
 .compact-interior .models{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .compact-interior .models .model{display:flex;flex-direction:column;padding:12px;border-radius:25px;background:#152335;border:1px solid #ffffff16;box-shadow:0 8px 22px #0002}
 .compact-interior .models .model img{aspect-ratio:1;object-fit:contain;padding:8px;background:#ffffff06;border:0;border-radius:18px}
 .compact-interior .models .model .row{width:100%;padding-top:10px}
 .compact-interior .models .model .row svg{display:none}
 .compact-interior .models .model h3{font-size:21px;font-weight:400}
 .compact-interior .models .model>small{font-size:12px;color:#bdc7d3}
 .compact-interior .mobile-model-price{margin-top:auto;padding-top:9px;font-size:18px}
 .compact-interior .detail .showcase{height:clamp(280px,43svh,480px);background:#101e30;border-radius:28px}
 .compact-interior .detail .showcase img{padding:24px 30px 36px}
 .mobile-detail-sheet{background:#1a2b40;border-color:#ffffff16;border-radius:32px;padding:24px 20px}
 .mobile-detail-sheet .detail-head h1{font-size:32px;margin-bottom:12px}
 .mobile-detail-sheet .product-gallery{margin:0 0 18px}
 .mobile-detail-sheet .weights{gap:8px}
 .mobile-detail-sheet .weight{flex:1 0 62px;min-width:0}
}

/* Compare controls and per-gram estimates, at every screen width. */
#main .comparison .compare-card label,
#main .comparison .compare-total,
#main .comparison .compare-total small { color: #fff3db; }
#main .comparison .compare-card select,
#main .comparison .compare-card option {
  background-color: #172639;
  color: #fff3db;
  color-scheme: dark;
}
#main .comparison select:focus-visible { outline: 2px solid #e9c87c; outline-offset: 2px; }
#main .compare-row .compare-gram-grade {
  display: block;
  color: #f2d59b;
  font-size: .85em;
  margin-bottom: .25em;
}
