/* Full-width section backgrounds with bounded, readable content. */
.site-shell{width:100%;max-width:none;margin:0;overflow:visible;container-type:inline-size}
.company-page{overflow:visible}
.site-header{padding-inline:max(3.8rem,calc((100% - 1440px)/2))}
.site-footer{padding-inline:max(3.8rem,calc((100% - 1440px)/2))}
.footer-top,.footer-bottom{max-width:1440px;margin-inline:auto}

/* Preserve the existing reference crop at ordinary widths. The additional
   layer lets wide image panels cover their frame without stretching timber. */
.pc-image>.pc-image-crop{display:block;position:absolute;inset:0;margin:0;padding:0;line-height:0}
.pc-image-crop>img{position:absolute;display:block;max-width:none!important;margin:0!important;object-fit:fill;pointer-events:none}

@media(min-width:1601px){
  .site-shell{--layout-inset:calc((100cqw - 1440px)/2)}
  .container{max-width:1440px}

  /* A fixed content grid, with the image extending into the outer gutter. */
  .home-hero,.catalog-hero,.company-split,.support-hero{
    --copy-column:600px;
    grid-template-columns:minmax(0,1fr) var(--copy-column) calc(1440px - var(--copy-column)) minmax(0,1fr);
  }
  .home-hero{min-height:720px}
  .home-hero-copy,.catalog-hero-copy,.company-split>.company-copy,.support-hero-copy{
    grid-column:2;grid-row:1;min-width:0;padding-inline:0 48px;
  }
  .home-hero-art,.catalog-hero-photo,.company-split>.company-split-image,.about-hero-visual,.support-hero-image{
    grid-column:3/5;grid-row:1;min-width:0;height:100%;width:100%;aspect-ratio:auto!important;align-self:stretch;
  }
  .category-flooring .catalog-hero,.category-chairs .catalog-hero,.category-cabinets .catalog-hero,.category-beds .catalog-hero{
    grid-template-columns:minmax(0,1fr) 600px 840px minmax(0,1fr);
  }
  .category-page .catalog-hero-copy,.overview-hero .catalog-hero-copy{padding-inline:0 48px}
  .company-split.manufacturing-hero,.company-split.about-hero,.company-split.contact-hero{
    grid-template-columns:minmax(0,1fr) 600px 840px minmax(0,1fr);
  }
  .company-split>.company-copy{padding-top:80px;padding-bottom:64px}
  .company-split.contact-hero>.company-copy{padding-bottom:140px}
  .company-split.about-story,.company-split.about-partner,.company-split.manufacturing-detail,.company-split.factory-visit,.home-craft{
    grid-template-columns:minmax(0,1fr) 800px 640px minmax(0,1fr);
  }
  .about-story>.company-split-image,.about-partner>.company-split-image,.manufacturing-detail>.company-split-image,.factory-visit>.company-split-image,.home-craft-photo{
    grid-column:1/3;grid-row:1;height:100%;width:100%;aspect-ratio:auto!important;
  }
  .about-story>.company-copy,.about-partner>.company-copy,.manufacturing-detail>.company-copy,.factory-visit>.company-copy,.home-craft-copy{
    grid-column:3;grid-row:1;min-width:0;padding:64px 0 64px 64px;
  }
  .home-craft{min-height:710px}
  .factory-hero{height:800px;min-height:0}
  .factory-hero-content{padding-block:150px 80px}
  .factory-hero-photo{width:78%;height:100%!important;aspect-ratio:auto!important}
  .contact-closing{grid-template-columns:minmax(0,1fr) 840px 600px minmax(0,1fr);min-height:480px;max-height:none}
  .contact-closing-visual{grid-column:1/3;grid-row:1}
  .contact-closing-copy{grid-column:3;grid-row:1;padding:64px 0 64px 64px}

  .home-facts,.home-collections,.home-process{padding-inline:var(--layout-inset)}
  .home-process-grid{width:1080px}
  .home-process-photo{width:320px;right:var(--layout-inset)}
  .process-aside{right:var(--layout-inset)}
  .closing-cta{padding-left:calc(var(--layout-inset) + 320px);padding-right:var(--layout-inset);min-height:270px}
  .cta-leaves{width:24%;max-width:440px}
  .company-cta{padding-inline:max(400px,var(--layout-inset))}
  .company-cta-content{max-width:760px}
  .company-cta-leaf{max-width:400px}
  .company-leaf-right{max-width:250px}
  .company-cta-note{right:var(--layout-inset)}

  /* Category features keep their original compositions inside a bounded area. */
  .category-feature{max-width:1600px;margin-inline:auto}
  .product-green-cta,.category-cabinets .category-green-cta,.category-flooring .category-green-cta{
    padding-inline:var(--layout-inset);
  }
  .overview-green-cta,.category-chairs .category-green-cta,.category-beds .category-green-cta{
    padding-left:calc(var(--layout-inset) + 260px);padding-right:var(--layout-inset);
  }
  .product-cta-leaf{width:20%;max-width:360px}
  .product-green-cta h2{max-width:800px}
  .quote-layout,.quote-steps{max-width:1600px;margin-inline:auto}
  .faq-hero{--copy-column:660px}
  .privacy-hero{--copy-column:800px}
  .support-hero .support-hero-copy{padding-inline:0 48px}
  .privacy-hero .support-hero-lead{white-space:normal}
  .faq-cta{padding-inline:var(--layout-inset)}
  .privacy-reading p,.faq-answer p{max-width:70ch}

  /* Size containment is limited to wide image frames; the grid copy or an
     explicit aspect ratio defines their height. Crop dimensions keep w/h. */
  .pc-image{container-type:size}
  .pc-image>.pc-image-crop{
    inset:auto;left:50%;top:50%;
    width:max(100cqw,calc(100cqh * var(--pc-ratio)));
    aspect-ratio:var(--pc-ratio);transform:translate(-50%,-50%);
  }
  /* Product views must show the complete item, even for square thumbnails. */
  .product-gallery-stage{position:relative}
  .product-gallery-panel{position:absolute;inset:0}
  .product-gallery-panel>.pc-image{height:100%}
  .product-gallery-panel .pc-image>.pc-image-crop{
    width:min(100cqw,calc(100cqh * var(--pc-ratio)));
  }
}

/* Existing compact layouts retain their original gutters. */
@media(max-width:1200px){.site-header{padding-inline:3rem}}
@media(max-width:900px){.site-header{padding-inline:24px}.site-footer{padding-inline:2rem}}
@media(max-width:650px){.site-header{padding-inline:18px}.site-footer{padding-inline:24px}.site-shell{overflow:visible}}

/* Home facts reuse the AI brand illustrations from About. */
.home-fact{min-width:0;gap:18px;font-size:clamp(18px,1.45vw,24px);line-height:1.25}
.home-fact>span{min-width:0}
.home-fact-icon{display:block;width:72px;height:72px;object-fit:contain;flex:0 0 auto}
@media(max-width:1100px){.home-fact{gap:12px}.home-fact-icon{width:60px;height:60px}}
@media(max-width:900px){.home-fact{gap:10px;font-size:18px}.home-fact-icon{width:52px;height:52px}}
@media(max-width:650px){.home-fact{font-size:17px}.home-fact-icon{width:46px;height:46px}}
@media(max-width:390px){.home-fact{font-size:15px}.home-fact-icon{width:44px;height:44px}}

/* AI craftsmanship pictograms, aligned with their service copy. */
.home-craft-service{min-width:0;gap:20px}
.home-craft-service>div{min-width:0}
.home-craft-icon{display:block;width:64px;height:64px;object-fit:contain;flex:0 0 auto}
@media(max-width:1100px){.home-craft-service{gap:16px}.home-craft-icon{width:56px;height:56px}}
@media(max-width:650px){.home-craft-service{gap:16px}.home-craft-icon{width:52px;height:52px}}

/* Keep the craftsmanship image and copy within equal outer gutters. */
.home-craft{
  width:calc(100% - 6.4rem);max-width:1440px;margin-inline:auto;
  grid-template-columns:minmax(0,55fr) minmax(0,45fr);
}

/* Shared AI content pictograms; navigation retains its compact SVG set. */
.pc-ai-icon{display:block;width:64px;height:64px;object-fit:contain;flex:0 0 64px}
.company-icon-list .pc-ai-icon{width:64px;height:64px;flex-basis:64px}
.factory-facts .pc-ai-icon{width:76px;height:76px;margin-bottom:13px}
.factory-process .company-icon-list .pc-ai-icon{width:80px;height:80px;flex-basis:80px;padding:8px}
.company-dark .pc-ai-icon{background:var(--paper);border-radius:12px;padding:8px}
.about-values .pc-ai-icon{width:88px;height:88px;margin:0 auto 18px}
.category-specs .pc-ai-icon{width:60px;height:60px;flex-basis:60px}
.category-chairs .category-specs .pc-ai-icon{margin-bottom:10px}
.product-tailoring-notes .pc-ai-icon{width:64px;height:64px;flex-basis:64px}
.contact-type>.pc-ai-icon{width:64px;height:64px}
.privacy-notice .pc-ai-icon,.privacy-publication>.pc-ai-icon{width:64px;height:64px;flex-basis:64px}
.privacy-publication>.pc-ai-icon{margin-top:6px}
@media(min-width:901px){.contact-type{grid-template-columns:64px minmax(0,1fr)}}
@media(max-width:900px){
  .pc-ai-icon,.company-icon-list .pc-ai-icon,.category-specs .pc-ai-icon,.product-tailoring-notes .pc-ai-icon{width:52px;height:52px;flex-basis:52px}
  .about-values .pc-ai-icon{width:76px;height:76px}
  .privacy-notice .pc-ai-icon,.privacy-publication>.pc-ai-icon{width:52px;height:52px;flex-basis:52px}
}
@media(max-width:700px){
  .pc-ai-icon,.company-icon-list .pc-ai-icon,.category-specs .pc-ai-icon,.product-tailoring-notes .pc-ai-icon{width:48px;height:48px;flex-basis:48px}
  .factory-facts .pc-ai-icon{width:64px;height:64px}
  .factory-process .company-icon-list .pc-ai-icon{width:64px;height:64px;flex-basis:64px}
  .about-values .pc-ai-icon{width:72px;height:72px}
  .contact-type{grid-template-columns:52px minmax(0,1fr)}
  .contact-type>.pc-ai-icon{width:52px;height:52px}
  .privacy-notice .pc-ai-icon,.privacy-publication>.pc-ai-icon{width:44px;height:44px;flex-basis:44px}
}
.home-craft-photo{grid-column:1;grid-row:1;min-width:0}
.home-craft-copy{grid-column:2;grid-row:1;min-width:0;padding-inline:clamp(32px,3.4vw,64px) 0}
@media(max-width:900px){
  .home-craft{width:calc(100% - 4rem)}
  .home-craft-copy{padding-inline:28px 0}
}
@media(max-width:650px){
  .home-craft{width:calc(100% - 48px);grid-template-columns:minmax(0,1fr)}
  .home-craft-photo{grid-column:1;grid-row:1}
  .home-craft-copy{grid-column:1;grid-row:2;padding-inline:0}
}
