/* Shared alignment rules: keep each row together as its text wraps. */
:root{--page-gutter:clamp(20px,5vw,80px)}
header,.section,.editorial-hero{padding-inline:var(--page-gutter)}
/* Keep navigation available while browsing every page, at every width. */
body>header{position:sticky;top:0;z-index:30;background:var(--paper);box-shadow:0 1px 0 var(--line)}
html{scroll-padding-top:128px}
@media(max-width:900px){html{scroll-padding-top:112px}}
.hero-copy,.hero-image,.home-welcome>*,.craft-story>*,.editorial-hero>*,.section-heading>*,.footer-top>*{min-width:0}
.hero h1{max-width:100%;overflow-wrap:break-word}
.hero-opening{white-space:nowrap}
.hero-comma{font-size:.78em;letter-spacing:0;margin-left:.08em}
/* Two direct routes from the welcome screen, sized to remain readable. */
.hero-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;width:100%}
.hero-actions .button{min-height:54px;padding:15px 20px;font-size:14px;white-space:nowrap}
.hero-actions .hero-catalog{color:var(--paper);border-color:#c9aa9199;background:transparent}
.hero-actions .hero-catalog:hover{background:#ffffff0d;border-color:var(--paper)}
.hero-actions .button:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
/* Layered photographs dissolve in place, with no sideways movement. */
.hero-image.hero-sequence{align-self:stretch;aspect-ratio:auto;min-height:100%;height:auto;width:100%;isolation:isolate;background:var(--dark)}
.hero-image.hero-sequence>.hero-frame{inset:0}
.hero-image.hero-sequence>.hero-frame{object-fit:cover;opacity:0;filter:var(--hero-tone, blur(0));transform:scale(1.025);pointer-events:none}
.hero-image.hero-sequence>.hero-frame.is-current{opacity:1;z-index:1}
.hero-image.hero-sequence .image-label{z-index:3;left:16px;bottom:16px;max-width:calc(100% - 32px);font-size:clamp(8px,.8vw,12px);letter-spacing:.1em;padding:8px 10px}
@media(prefers-reduced-motion:reduce){.hero-image.hero-sequence>.hero-frame{filter:var(--hero-tone, none);transform:none}}
@media(max-width:420px){
 .hero-actions{flex-direction:column}
 .hero-actions .button{width:100%}
}
/* Retain the editor field's ID so saved headings below it keep their mapping. */
.collection .section-heading .eyebrow,.cafe-photo-story .section-heading .eyebrow{display:none}
.workshop-story>figure>img{border-radius:12px}
.workshop-story.workshop-story-text-only{display:block}
.workshop-story-text-only>div{max-width:880px}
#courtyard{scroll-margin-top:28px}

/* The contact heading starts with the two roles, not halfway down the block.
   Stretch the descriptions so both phone numbers share the same baseline. */
.social-strip{display:grid;grid-template-columns:minmax(200px,.45fr) minmax(0,2fr);align-items:start;gap:28px 36px;max-width:1600px;margin-inline:auto;padding:32px var(--page-gutter)}
.social-strip>span{line-height:1.3;padding-top:2px}
.social-strip .contact-link-groups{width:100%}
.contact-link-groups>.social-links:first-child{align-items:stretch}
.contact-link-groups>.social-links:first-child>a[href^="tel:"]{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.contact-link-groups>.social-links:first-child>a[href^="tel:"] .phone-purpose{flex:1}
.contact-link-groups>.social-links:first-child>a[href^="tel:"]>span:last-child{white-space:nowrap}
.social-strip .social-links{margin-top:0}
.social-strip .secondary-contacts{margin-top:24px}

/* Shared rows keep names and prices aligned, including a long product name
   or a description below one of the cards. The fallback stays readable. */
.shop-section .product-grid{--card-row-gap:40px}
.shop-section .product-meta{flex-wrap:wrap;align-items:start}
.shop-section .product-meta>span{white-space:nowrap}
@supports(grid-template-rows:subgrid){
 .shop-section .product-grid{row-gap:0}
 .shop-section .product-card{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0;padding-bottom:var(--card-row-gap)}
 .shop-section .product-card>.product-image{grid-row:1;width:100%;align-self:start}
 .shop-section .product-card>.product-meta{grid-row:2;align-self:start}
 .shop-section .product-card>.product-name{grid-row:3;align-self:start}
 .shop-section .product-card>.product-bottom{grid-row:4;align-self:stretch}
 .shop-section .product-card>.product-price-note{grid-row:5;align-self:start}
}
@media(min-width:901px) and (max-width:1199px){
 .shop-section .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1000px){
 .social-strip{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 .small-cta{display:block;padding:40px var(--page-gutter)}
 .small-cta h2{margin:0 0 24px;font-size:clamp(36px,7vw,48px)}
 .small-cta>.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%}
 .hero{grid-template-columns:minmax(0,1fr)}
 .hero-image.hero-sequence{aspect-ratio:1;min-height:0;height:auto}
 .hero-copy{padding:38px var(--page-gutter) 28px;min-height:0}
 .hero h1{font-size:clamp(42px,8.8vw,60px)}
 .hero-caption{padding-top:32px}
 .hero-image{height:clamp(320px,70vw,480px)}
 .home-welcome,.craft-story,.editorial-hero,.workshop-story,.cafe-serving{grid-template-columns:minmax(0,1fr)}
 .home-welcome,.editorial-hero,.workshop-story,.cafe-serving{gap:30px}
 .home-welcome img{max-height:580px}
 .craft-story>div{padding:40px var(--page-gutter)}
 .footer-top{grid-template-columns:minmax(0,1fr);gap:28px}
 .footer-brand{line-height:1.1}
}
@media(max-width:620px){
 .shop-section .product-grid{--card-row-gap:30px}
 .shop-section .product-bottom{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .shop-section .product-bottom>span{line-height:1.5}
 .shop-section .catalog-controls{align-self:flex-end;max-width:100%}
 .shop-section .product-card.has-selection .product-bottom>span{flex-basis:auto}
 .shop-section .product-card.has-selection .catalog-controls{margin-left:0}
 .shop-section .product-name{font-size:clamp(23px,6vw,29px)}
 .social-strip{padding-block:28px}
 .contact-link-groups>.social-links:first-child{grid-template-columns:minmax(0,1fr);gap:24px}
 .social-strip .secondary-contacts{gap:12px 24px}
}
/* Owner-added content follows the site's existing page rhythm. */
/* Actions that previously used arrow icons keep clear text labels. */
.catalog-controls a.add-small{width:auto;min-width:80px;padding:0 12px;font-size:13px}
.photo-viewer .viewer-prev,.photo-viewer .viewer-next{width:auto;flex:0 0 auto;min-width:66px;padding:0 12px;border-radius:10px;font-size:13px}
.visit-planner{border-top:1px solid var(--line);text-align:left;scroll-margin-top:28px}
.visit-planner .visit-heading{margin-bottom:40px}
.visit-planner .visit-heading .eyebrow{margin:0 0 16px}
.visit-planner h2{font-size:clamp(42px,5vw,64px);line-height:1.05;margin:0}
.visit-planner h2 br{display:none}
.visit-planner h2 em::before{content:' '}
.visit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%}
.visit-planner h3{font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.5;letter-spacing:.04em;color:var(--copper);margin:0 0 14px}
.visit-fact+.visit-fact{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}
.visit-city{display:block;color:var(--ink);font-size:21px;font-weight:500;margin-bottom:6px}
.visit-planner p:not(.eyebrow){font-size:16px;line-height:1.75;margin:0 0 12px}
.visit-planner .visit-hours{color:var(--ink);font-size:20px;font-weight:500;line-height:1.6;white-space:pre-line}
.visit-planner p.visit-note{font-size:14px;line-height:1.8;white-space:pre-line;margin-bottom:0;max-width:440px}
.visit-planner .underlined{gap:12px;min-height:44px;width:fit-content}
.visit-options>h3{margin-bottom:6px}
.visit-option{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}
.visit-option:last-child{border-bottom:0}
.visit-option strong{display:block;font-family:var(--serif);font-size:30px;line-height:1.15;font-weight:500;margin-bottom:6px;color:var(--ink)}
.visit-option small{display:block;font-size:14px;line-height:1.65;color:var(--muted)}
a.visit-option:hover strong{color:var(--copper)}
.visit-planner a:focus-visible{outline:2px solid var(--copper);outline-offset:5px}
@media(max-width:760px){
 .visit-planner .visit-heading{margin-bottom:30px}
 .visit-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .visit-options{border-top:1px solid var(--line);padding-top:28px}
 .visit-planner .visit-hours{font-size:18px}
}
.cms-extra-block { max-width:1600px;margin-inline:auto; }
.cms-extra-block p {white-space:pre-line;overflow-wrap:anywhere;font-size:clamp(16px,1.6vw,22px);}
.cms-extra-block img {max-height:800px;width:100%;object-fit:contain;border-radius:12px;}

/* Keep the serving reference close to the description and visually secondary. */
.detail-copy>p.product-serving-note:not(.eyebrow):not(.detail-price){font-size:13px;line-height:1.55;margin-top:8px;color:var(--muted)}

/* Product cutouts share the warm page background in every viewing context. */
.full-product .product-image,.shop-section .product-image,
.product-photo-open,.product-photographs .thumbnail,.showcase-photo,
.photo-viewer,.cart-row{background:var(--paper);isolation:isolate}
.product-photo-open .detail-image{background:transparent}
img:is([src*="/assets/rose-copper/"],[src*="/assets/white-products/"]){mix-blend-mode:multiply}

/* Each model uses the same continuous, touch-scrollable ribbon of its own views. */
.detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.product-photographs{min-width:0;background:var(--paper)}
.product-angles{align-items:center;gap:24px;padding:0;--rail-height:580px;--product-photo-height:clamp(340px,42vw,580px)}
.product-angles:has(>figure:nth-child(2)){
 --product-edge-fade:clamp(16px,3vw,32px);
 -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--product-edge-fade),#000 calc(100% - var(--product-edge-fade)),transparent);
 mask-image:linear-gradient(to right,transparent,#000 var(--product-edge-fade),#000 calc(100% - var(--product-edge-fade)),transparent);
}
.product-angles>figure{width:86%;flex:0 0 86%}
.product-angles>figure:only-child{width:100%;flex-basis:100%}
/* A shared inset and a short fade on the actual image bounds prevent hard
   crop edges on every view, including close-ups added later. Transparent
   margins remain transparent; a complete object keeps its crisp silhouette. */
.product-angles .product-photo-open{
 display:flex;align-items:center;justify-content:center;
 height:var(--product-photo-height);padding:12px 10px;
 background:transparent;border-radius:0;
}
.product-angles img{
 display:block;width:auto;height:auto;max-width:100%;max-height:100%;
 object-fit:contain;aspect-ratio:auto;background:transparent;
 --photo-edge:clamp(10px,1.8vw,18px);
 --photo-mask:linear-gradient(to right,transparent,#000 var(--photo-edge),#000 calc(100% - var(--photo-edge)),transparent),linear-gradient(to bottom,transparent,#000 var(--photo-edge),#000 calc(100% - var(--photo-edge)),transparent);
 -webkit-mask-image:var(--photo-mask);mask-image:var(--photo-mask);
 -webkit-mask-composite:source-in;mask-composite:intersect;
}
/* These three container photographs have different aspect ratios. */
.product-detail:has([data-add="kave-kutu"]) .product-photo-open{align-items:flex-end}
.product-detail:has([data-add="kave-kutu"]) img[src$="/kave-kutu-0.png"]{transform:translateY(7.5%)}
@media(max-width:760px){
 .detail-grid{grid-template-columns:minmax(0,1fr)}
 .product-angles{gap:18px;--product-photo-height:clamp(300px,86vw,540px)}
 .product-angles:not(.product-rail) img{max-width:100%}
}

/* Browse adjacent models without returning to the catalogue. */
.product-topline{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.product-topline>.back{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 20px;flex-shrink:0;border:1px solid #c99e7d;border-radius:10px;background:#f0e3d4;color:#874626;font-size:15px;font-weight:600;line-height:1.4;transition:background .2s,border-color .2s}
.product-topline>.back:hover{background:#e7d1b9;border-color:var(--copper)}.product-topline>.back:focus-visible{outline:2px solid var(--copper);outline-offset:4px}
.product-model-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:0 1 670px}
.product-model-link{display:flex;align-items:center;gap:12px;min-width:0;padding:15px 18px;border:1px solid #c59271;border-radius:12px;background:#ecd8c5;line-height:1.4;transition:background .2s,border-color .2s}
.product-model-link:hover{background:#e3c4a8;border-color:var(--copper)}
.product-model-link:focus-visible{outline:2px solid var(--copper);outline-offset:4px}
.model-next{grid-column:2;text-align:right}
.model-link-copy{display:block;flex:1;min-width:0}
.model-link-copy small{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.model-link-copy strong{display:block;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.model-link-copy .model-link-action{color:#743c25;font-size:14px;font-weight:600;margin-bottom:7px}
.model-link-copy .model-link-direction{color:#755947;font-size:12px;margin:7px 0 0}
@media(max-width:760px){
 .product-topline{display:block;margin-bottom:24px}
 .product-topline>.back{margin-bottom:16px}
 .product-model-link{padding:12px;gap:8px}
 .model-link-copy strong{font-size:15px}
}
footer.footer-compact{padding:22px 5% calc(22px + env(safe-area-inset-bottom,0px))}
.footer-compact .footer-bottom{margin:0 auto;padding:0;border:0}
