/* Inner-page editorial and browsing layouts; deliberately scoped off the landing page. */
.refined-page{--page-space:clamp(20px,4.5vw,72px)}
.refined-page :is(.page-hero,.browse-section,.library-heading,.project-feature){padding-left:var(--page-space);padding-right:var(--page-space);max-width:1600px;margin-inline:auto}
.refined-page .page-hero{padding-top:28px;padding-bottom:32px}
.refined-page .page-hero h1{max-width:1050px;font-size:clamp(36px,4.6vw,66px);line-height:1.1;text-wrap:balance}
.refined-page .page-hero>p:last-child{max-width:760px;margin-top:18px;line-height:1.7}
.refined-page :is(button,.button,.text-link,summary,select){touch-action:manipulation}
.refined-page :is(button,a,select,input,summary):focus-visible{outline:2px solid #707e56;outline-offset:4px}
.refined-page .button{min-height:50px;white-space:normal;line-height:1.5;text-align:left;font-size:14px}
.refined-page .breadcrumbs{gap:10px}
.refined-page .reading{padding-inline:var(--page-space);overflow-wrap:break-word}
.refined-page .reading h2,.refined-page .reading h3{overflow-wrap:normal;hyphens:auto;text-wrap:pretty}
.refined-page .reading :is(figure,img,video){max-width:100%}
.refined-page .reading img{display:block;width:100%;height:auto}
.refined-page .reading :is(p,li){font-size:16px;line-height:1.8}
.refined-page .reading :is(p,div,section):empty{display:none}

/* Category controls collapse to one deliberate control on a phone. */
.category-page #materials{padding:24px var(--page-space) 40px;max-width:1600px;margin:auto}
.category-page .catalog-types{gap:32px}
.category-page .catalog-types button{white-space:nowrap;min-height:54px;font-size:29px;padding:8px 0 15px}
.catalog-filter-panel{margin:20px 0 12px}
.catalog-filter-panel>summary{display:none}
.category-page .catalog-controls{margin:0 0 20px}
.category-page .catalog-controls label{font-size:12px}
.category-page .catalog-controls :is(input,select){font-size:15px;background:#f7f5ef}
.category-page .catalog-toolbar .filters{flex-wrap:wrap;gap:7px}
.category-page .catalog-toolbar .filters button{border:1px solid #c5c9b9;padding:9px 14px;min-height:44px;font-size:13px}
.category-page .filters button.active{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.category-page .view-toggle{font-size:12px;min-height:44px;padding:10px;white-space:nowrap}
.category-page .catalog-result-line{font-size:12px;align-items:center;min-height:44px;margin:5px 0 18px}
.category-page .catalog-result-line button{min-height:44px;font-size:12px}
.category-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 24px}
.category-page .product-grid[data-count]{grid-template-columns:repeat(3,minmax(0,1fr))}
.category-page .panel-card .product-image-button img{aspect-ratio:4/5!important}
.category-page .product-meta{margin-top:18px}
.category-page .product-title h3{font-size:27px;line-height:1.18;overflow-wrap:normal}
.category-page .product-title p{font-size:12px;line-height:1.6}
.category-page .product-brand{font-size:10px;margin-bottom:9px}
.category-page .stock-badge{font-size:11px;padding:9px 11px;left:12px;bottom:12px}
.category-page .product-favorite{height:44px;width:44px}
.catalog-card-purchase{border-top:1px solid var(--line);margin-top:15px;padding-top:14px}
.catalog-card-purchase .purchase-price strong{font-size:25px;letter-spacing:-.03em}
.catalog-card-purchase .purchase-price span{font-size:12px}
.catalog-card-purchase .purchase-price p{font-size:12px;margin-top:6px}
.catalog-card-link{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;margin-top:8px}
.category-page .catalog-bottom{gap:24px;align-items:center}
.category-page .catalog-bottom p{font-size:12px;max-width:700px}
.category-page .catalog-bottom button{min-height:48px;font-size:14px}
.category-page .general-reading{max-width:1600px}
.category-page .general-reading .cat-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px;max-width:none;margin-bottom:40px}
.category-page .cat-hero img{width:100%;max-height:380px;object-fit:contain;background:#e9e6dc}
.category-page .general-reading .cat-count{font-size:13px;color:var(--muted);margin-top:20px}
.category-page .general-reading .ctiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.category-page .general-reading .ctile img{aspect-ratio:3/2;object-fit:cover}
.collection-action{display:flex;align-items:center;min-height:44px;font:13px var(--sans);margin-top:12px}
.category-page .chips{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.category-page .chip{border:1px solid var(--line);padding:10px 15px;font-size:14px;min-height:44px}
.category-page .reading>.cat-seo{max-width:900px;margin:auto}

/* Searchable libraries: no walls of tiny filter links. */
.refined-page .browse-section{padding-top:28px;padding-bottom:55px}
.browse-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px);gap:12px 24px;margin-bottom:30px}
.browse-controls label{display:block;font-size:12px;color:var(--muted)}
.browse-controls :is(input,select){width:100%;margin-top:8px;min-height:50px;border:1px solid #bdc2af;border-radius:0;background:#f7f5ef;padding:12px 16px;font:16px var(--sans);color:var(--ink)}
.browse-controls #browse-count{margin:0;align-self:center;font-size:12px}
.browse-reset{justify-self:end;min-height:44px;font-size:12px}
.refined-page .browse-grid{gap:38px 26px}
.refined-page .browse-card{border-bottom:1px solid var(--line);padding-bottom:22px;display:flex;flex-direction:column}
.refined-page .browse-card>a{display:flex;flex-direction:column;height:100%}
.refined-page .browse-card h2{font-size:30px;line-height:1.16;text-wrap:pretty;overflow-wrap:normal}
.refined-page .browse-card p{font-size:15px;line-height:1.7;margin:12px 0 18px}
.refined-page .browse-card .eyebrow{font-size:10px}
.refined-page .browse-card .text-link{font-size:13px;min-height:44px;margin-top:auto;display:flex;align-items:center}
.refined-page .media-card img{aspect-ratio:4/3}
.refined-page .media-card>span{min-height:42px;padding:12px 16px;font-size:12px;bottom:12px;right:12px;display:flex;align-items:center}
.refined-page .browse-card-meta{display:block}
.refined-page .browse-card-meta h2{font-size:27px;margin:20px 0 8px}
.refined-page .browse-card-meta>a{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:14px;color:var(--ink)}
.refined-page .browse-card-meta>p{font-size:13px;margin:8px 0 0}
.refined-page .catalog-empty h2{font-size:32px;margin:0 0 15px}
.refined-page .catalog-empty p{font-size:15px;max-width:600px;margin:0 auto 24px}
.project-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(30px,5vw,75px);align-items:center;padding-block:38px 48px}
.project-feature-image{position:relative;display:block}
.project-feature-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.project-feature-image>span{position:absolute;bottom:18px;left:18px;right:18px;background:#f2f0e8ed;font-size:12px;padding:16px 18px}
.project-feature h2{font-size:clamp(36px,4vw,56px);line-height:1.12;margin:18px 0 20px}
.project-feature p:not(.eyebrow){font-size:16px;line-height:1.75;color:var(--muted);margin-bottom:24px;max-width:550px}
.project-feature .text-link{display:block;min-height:48px;font-size:13px;margin-top:12px;text-align:left}
.library-heading{padding-top:30px;padding-bottom:8px;border-top:1px solid var(--line)}
.library-heading h2{font-size:clamp(30px,3vw,43px);margin:16px 0}
.library-heading>p:last-child{font-size:14px;color:var(--muted)}

/* Long-form pages retain a generous readable measure at every breakpoint. */
.refined-page .article-layout{max-width:1400px;padding:35px var(--page-space) 55px;grid-template-columns:minmax(0,1fr) 260px;gap:clamp(35px,5vw,75px)}
.refined-page .article-reading{padding:0;width:100%;max-width:none}
.refined-page .article-heading>a{display:inline-flex;align-items:center;min-height:44px;font-size:12px!important}
.refined-page .article-heading h1{font-size:clamp(35px,4vw,59px);line-height:1.12;margin:16px 0 20px;text-wrap:balance}
.refined-page .article-meta,.refined-page .blog-updated{font-size:12px!important;color:var(--muted)}
.refined-page .blog-lead{font-size:19px;line-height:1.75;margin:25px 0}
.refined-page .blog-fig{margin:28px 0}
.refined-page .blog-fig img{aspect-ratio:3/2;object-fit:cover}
.refined-page .reading figcaption{font-size:12px;line-height:1.7}
.refined-page .blog-toc{padding:0;border:1px solid var(--line);margin:28px 0;background:#e9ebe0}
.refined-page .article-contents{padding:0;border:0}
.article-contents>summary{padding:17px 20px;min-height:54px;font-size:16px!important;display:flex;align-items:center;justify-content:space-between;list-style:none}
.article-contents>summary::-webkit-details-marker{display:none}
.article-contents[open]>summary>span{transform:rotate(45deg)}
.refined-page .blog-toc ul{padding:0 20px 15px;list-style:none}
.refined-page .blog-toc li{margin:0;font-size:15px}
.refined-page .blog-toc li a{display:block;padding:11px 0;min-height:44px}
.refined-page .article-aside h3{font-size:32px}
.refined-page .article-aside>p:not(.eyebrow){font-size:14px;line-height:1.8}
.refined-page .article-aside>a{font-size:14px;min-height:44px}
.refined-page .article-aside .button{font-size:14px}
.refined-page .reading table{display:table;font-size:14px;width:100%;margin:24px 0}
.refined-page .reading .compact-table{table-layout:fixed}
.refined-page .reading .compact-table th,.refined-page .reading .compact-table td{min-width:0;overflow-wrap:break-word;width:50%}
.table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-inline:contain}
.refined-page .table-scroll table{min-width:560px}
.refined-page .blog-faq-item{padding:5px 0 20px;border-bottom:1px solid var(--line)}
.refined-page .blog-cta{padding:24px;border-left:2px solid #7b8565;background:#e6e9dc;margin:30px 0}
.refined-page .media-dialog .dialog-close{width:44px;height:44px}
.refined-page .media-dialog #utility-content{padding:50px 24px 26px}
.refined-page .media-dialog .gallery-stage>img{height:min(55vh,560px);min-height:0;object-fit:contain}
.refined-page .media-dialog .gallery-stage{min-height:0}
.refined-page .gallery-caption .text-link,.refined-page .tour-help+.text-link{display:flex;align-items:center;min-height:48px;font-size:14px}
.refined-page .tour-help{font-size:13px!important}

@media(max-width:1000px){
 .category-page .product-grid,.category-page .product-grid[data-count]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .refined-page .article-layout{display:block;max-width:950px}.refined-page .article-aside{position:static;margin-top:40px;padding:25px;background:#e6e9dc}
 .refined-page .article-aside h3 br{display:none}.refined-page .article-aside .button{width:100%;max-width:450px}
}
@media(max-width:800px){
 .refined-page{--page-space:20px}.refined-page .page-hero{padding-top:20px;padding-bottom:24px}.refined-page .page-hero h1{font-size:36px}.refined-page .page-hero>p:last-child{font-size:16px;line-height:1.65;margin-top:15px}
 .refined-page .page-hero .breadcrumbs{margin-bottom:18px;font-size:12px}.refined-page .page-hero .eyebrow{font-size:10px;margin-bottom:16px}
 .category-page #materials{padding-top:18px}.category-page .catalog-types{gap:12px;justify-content:space-between}.category-page .catalog-types button{font-size:25px;min-height:48px;padding-bottom:12px}
 .catalog-filter-panel{margin:14px 0 0;border:1px solid #bec3b1}.catalog-filter-panel>summary{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:13px 15px;font-size:14px;list-style:none}.catalog-filter-panel>summary::-webkit-details-marker{display:none}.catalog-filter-panel[open]>summary{border-bottom:1px solid var(--line)}.catalog-filter-panel[open]>summary>span{transform:rotate(45deg)}
 .category-page .catalog-controls{padding:18px 15px 0;grid-template-columns:1fr;margin-bottom:16px;gap:14px}.category-page .catalog-controls :is(input,select){font-size:16px}.category-page .catalog-toolbar{padding:0 15px}.category-page .catalog-toolbar .filters{gap:8px}.category-page .view-toggle{margin:8px 0 0}.category-page .catalog-result-line{margin-bottom:10px}.category-page .catalog-result-line button{font-size:12px}
 .category-page .product-grid{gap:30px 20px}.category-page .product-title h3{font-size:26px}.category-page .product-meta{margin-top:15px}.category-page .product-image-button .product-open{width:38px;height:38px}
 .category-page .catalog-bottom{display:block;margin-top:28px}.category-page .catalog-bottom p{font-size:12px}.category-page .catalog-bottom button{margin-top:12px;white-space:normal}
 .category-page .general-reading .cat-hero{grid-template-columns:1fr;gap:22px;margin-bottom:25px}.category-page .cat-hero img{max-height:300px}.category-page .general-reading .pgrid,.category-page .general-reading .ctiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .refined-page .browse-section{padding-top:22px}.browse-controls{grid-template-columns:1fr;gap:16px;margin-bottom:26px}.browse-controls #browse-count{grid-column:1}.browse-reset{justify-self:start}.browse-controls :is(input,select){min-height:50px}.refined-page .browse-card h2{font-size:29px}.refined-page .browse-grid{gap:30px 22px}.refined-page .browse-card p{font-size:16px}.refined-page .browse-card-meta h2{font-size:27px}.refined-page .browse-card-meta>p{font-size:14px}.refined-page .browse-card .text-link{font-size:14px}
 .project-feature{grid-template-columns:1fr;gap:25px;padding-top:24px;padding-bottom:30px}.project-feature-image img{aspect-ratio:3/2}.project-feature h2{font-size:38px;margin:14px 0 18px}.project-feature h2 br{display:none}.project-feature .button{width:100%}.project-feature .text-link{font-size:14px}.library-heading{padding-top:26px}.library-heading h2{font-size:32px}
 .refined-page .article-layout{padding-top:20px}.refined-page .article-heading h1{font-size:36px;margin-top:14px;hyphens:auto}.refined-page .blog-lead{font-size:18px}.refined-page .reading :is(p,li){font-size:16px;line-height:1.75}.refined-page .reading h2{font-size:30px;line-height:1.2}.refined-page .reading h3{font-size:23px;line-height:1.3}.refined-page .reading table{font-size:14px}.refined-page .reading th,.refined-page .reading td{padding:12px 10px}.refined-page .blog-toc li{font-size:15px}.refined-page .blog-cta{padding:20px}.refined-page .article-aside{padding:24px}.refined-page .page-cta .button{font-size:15px}
 .refined-page .media-dialog{width:calc(100% - 16px)!important;max-height:calc(100dvh - 16px)}.refined-page .media-dialog #utility-content{padding:60px 16px 24px}.refined-page .media-dialog h2{font-size:28px;margin-right:0}.refined-page .media-dialog .gallery-stage>img{height:min(43dvh,380px)}.refined-page .gallery-nav{gap:10px}.refined-page .gallery-nav button{width:52px;min-height:48px}.refined-page .gallery-caption{display:block}.refined-page .gallery-caption>p{font-size:12px!important}.refined-page .tour-preview span{font-size:13px;padding:15px 18px}
 .project-page #design-project{padding:28px 20px 40px}.project-page .showcase-heading{gap:20px;margin-bottom:24px}.project-page .showcase-heading h2{font-size:37px}.project-page .showcase-heading>p{font-size:16px;line-height:1.75}.project-page .showcase-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px}.project-page .showcase-tabs button{font-size:13px;min-height:48px;padding:12px 10px;white-space:normal}.project-page .showcase-toolbar{gap:16px}.project-page .showcase-toolbar>p{font-size:12px}.project-page .model-launch>img{height:320px;object-fit:contain}.project-page .model-launch-label{position:static;max-width:none;padding:20px}.project-page .model-launch-label strong{font-size:29px;margin:12px 0 20px}.project-page .model-launch-action{min-height:44px;font-size:14px}.project-page .model-live{height:430px}.project-page .model-controls{left:8px;right:8px;top:8px;gap:6px;flex-wrap:wrap}.project-page .model-controls button{min-height:44px;min-width:44px;padding:8px;font-size:12px}.project-page .model-hint{white-space:normal;width:calc(100% - 30px);font-size:12px}.project-page .model-marker{width:44px;height:44px}.project-page .model-room-list{grid-template-columns:1fr 1fr}.project-page .model-room-list button{font-size:13px;gap:9px;padding:14px 10px;min-height:58px}.project-page .house-model-caption{display:block}.project-page .house-model-caption>span{display:block;text-align:left;margin-top:12px;font-size:12px}.project-page .house-model-caption p>span{font-size:13px}.project-page .showcase-delivery{grid-template-columns:1fr;gap:0}.project-page .showcase-delivery p{font-size:15px}.project-page .showcase-bottom{display:block}.project-page .showcase-bottom .button{width:100%;margin-top:20px}.project-page .showcase-bottom p{font-size:14px}
}
@media(max-width:540px){
 .category-page .product-grid,.category-page .product-grid[data-count],.category-page .general-reading .pgrid,.category-page .general-reading .ctiles,.refined-page .browse-grid{grid-template-columns:minmax(0,1fr)}
 .category-page .general-reading .pc-t{font-size:26px;line-height:1.2}.category-page .general-reading .pcard img{aspect-ratio:4/3}.refined-page .browse-card img{aspect-ratio:3/2}.category-page .catalog-types button{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.refined-page *{scroll-behavior:auto!important}}

@media(max-width:380px){.category-page .catalog-types{gap:8px}.category-page .catalog-types button{font-size:22px}.category-page .catalog-types sup{margin-left:2px}}

.room-image-caption{display:block;font:11px/1.6 var(--sans);color:var(--muted);margin:-4px 0 12px}

.project-page #showcase-tour{scroll-margin-top:90px}
@media(max-width:800px){.project-page .showcase-delivery{gap:26px}.project-page .house-rooms{display:grid;grid-template-columns:1fr 1fr;gap:7px;overflow:visible}.project-page .house-rooms button{font-size:13px;min-height:48px;padding:10px;white-space:normal;text-align:left;border:1px solid #bec3b1}.project-page .house-rooms button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.project-page .house-photo-thumbs{grid-template-columns:1fr 1fr;gap:16px}.project-page .house-photo-thumbs span{font-size:13px;min-height:44px;padding:10px 0}.project-page .tour-launch-copy>span:last-child{font-size:13px;line-height:1.6}.project-page .showcase-delivery>div{padding-left:0}.project-page .showcase-delivery>div>span{position:static;display:block;margin-bottom:12px}.project-page .showcase-delivery p{max-width:none}}
@media(max-width:800px){.project-page .house-topline{display:grid;grid-template-columns:1fr 1fr;gap:6px;left:10px;right:10px;top:10px}.project-page .house-topline button{min-height:44px;font-size:12px;padding:10px}.project-page #house-room-name{grid-column:1/-1;grid-row:2;font-size:13px;padding:9px 12px;justify-self:start}.project-page .live-house .pnlm-controls-container{top:116px}.project-page .pnlm-zoom-controls{width:44px;height:88px}.project-page .pnlm-zoom-in,.project-page .pnlm-zoom-out{width:44px;height:44px;line-height:44px}.project-page .house-hint{font-size:12px;line-height:1.5}.project-page .live-house .pnlm-panorama-info{display:none!important}.category-page .cat-hero img{aspect-ratio:4/3}}
