/* Final decisions. These overrides are authoritative over the retained Direction A base. */
:root{--gutter:clamp(22px,3.3vw,64px);--gallery-gutter:clamp(28.6px,4.29vw,83.2px)}
.page{background:var(--ground)}
.footer-links a{min-height:34px;display:inline-flex;align-items:center}
.trade-line a{display:inline-flex;min-height:44px;align-items:center}
@media(min-width:651px){
 .hero-picture{inset:0}
 .hero-picture img{height:100%;object-fit:cover;object-position:center 65%;mask-image:linear-gradient(to bottom,transparent,black 14%,black 92%,transparent)}
 .home-buy{position:static;margin-top:22px}
 .work{column-gap:7vw}
 .work-interior{grid-template-columns:1fr 1.15fr}
 .work-joint{grid-template-columns:1.4fr 1fr}
 .work-table{grid-template-columns:1fr 1.45fr}
 .gallery{padding-left:var(--gallery-gutter);padding-right:var(--gallery-gutter)}
 .detail-01,.detail-02{padding:0}
 .detail img{width:100%;aspect-ratio:1;object-fit:contain}
}
@media(min-width:1600px){
 .work,.studio-statement,.product-opening,.description-block,.specifications,.placement,.making{padding-left:max(var(--gutter),calc((100vw - 1600px)/2));padding-right:max(var(--gutter),calc((100vw - 1600px)/2))}
 .gallery{padding-left:calc(max(var(--gutter),(100vw - 1600px)/2)*1.3);padding-right:calc(max(var(--gutter),(100vw - 1600px)/2)*1.3)}
}
@media(max-width:900px) and (min-width:651px){.hero-picture img{object-fit:contain}.work{column-gap:40px}}
.trade-opening{padding:50px var(--gutter) 100px;display:grid;grid-template-columns:1fr 1fr;gap:45px 8vw;align-items:start}
.trade-intro{grid-column:1;grid-row:1}
.trade-intro h1{font-size:clamp(85px,9.2vw,145px);line-height:1;letter-spacing:-.065em}
.bridge{max-width:400px;font-size:20px;line-height:1.4;margin-top:24px}
.trade-audience{font-size:14px;margin-top:22px}
.trade-hero{grid-column:1;grid-row:2}
.trade-hero img{width:100%;mix-blend-mode:multiply}
.inquiry{grid-column:2;grid-row:1/3;padding-top:9px}
.inquiry h2{font-size:30px;font-weight:400;letter-spacing:-.03em;margin-bottom:28px}
#inquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px}
.field{min-width:0}
.field label{display:block;font-size:13px;margin-bottom:8px}
.field input,.field textarea{display:block;width:100%;border:1px solid var(--line);border-radius:0;color:var(--ink);background:var(--ground);font:inherit;font-size:16px;line-height:1.4;padding:12px;min-height:48px;box-shadow:none}
.field textarea{resize:vertical;min-height:116px}
.field input:focus-visible,.field textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.field-quantity,.field-message{grid-column:1/-1}
.inquiry-submit{display:flex;align-items:center;justify-content:space-between;gap:35px;background:var(--ink);color:var(--ground);padding:14px 20px;min-height:50px;font-size:15px;grid-column:1/-1;justify-self:start;min-width:176px}
.inquiry-submit:hover{text-decoration:none!important;opacity:.8}
.form-status{grid-column:1/-1;font-size:13px;line-height:1.5}
.form-status:empty{display:none}
.trade-proof{padding-top:55px;border-top:1px solid var(--line)}
.about-opening{display:grid;grid-template-columns:1fr 1fr;gap:8vw;padding:65px var(--gutter) 100px;align-items:start}
.about-opening figure img{width:100%}
.about-opening figcaption{margin-top:16px;font-size:13px}
.about-opening figcaption span{display:block}
.about-studio h1{font-size:clamp(48px,5.5vw,85px);line-height:1;letter-spacing:-.05em;max-width:9em;margin:0 0 38px}
.about-studio p{font-size:clamp(22px,2.4vw,34px);line-height:1.35;letter-spacing:-.018em}
.about-story,.company-facts{display:grid;grid-template-columns:1fr 2fr;gap:5vw;padding:65px var(--gutter) 85px;border-top:1px solid var(--line)}
.about-story h2,.company-facts h2{font-size:14px}
.about-story p{font-size:24px;line-height:1.45;max-width:42em;margin-bottom:25px}
.about-story p:last-child{margin-bottom:0}
.company-facts dl>div{display:grid;grid-template-columns:1fr 1.25fr;gap:20px;border-bottom:1px solid var(--line);padding:18px 0}
.company-facts dl>div:first-child{border-top:1px solid var(--line)}
.company-facts dt{font-size:14px}.company-facts dd{font-size:16px}
@media(min-width:1600px){.trade-opening,.about-opening,.about-story,.company-facts{padding-left:max(var(--gutter),calc((100vw - 1600px)/2));padding-right:max(var(--gutter),calc((100vw - 1600px)/2))}}
@media(max-width:650px){
 :root{--gutter:20px;--gallery-gutter:0px}
 .home-hero{height:auto;min-height:0;display:block}
 .hero-heading{padding:28px 20px 0}
 .home-buy{margin-top:20px}
 .buy{width:156px;min-width:156px;min-height:52px;padding:0 0 0 20px;border:1px solid var(--ink);font-size:15px;font-weight:500;letter-spacing:.01em;line-height:1;gap:0}
 .buy span{display:grid;place-items:center;align-self:stretch;width:46px;border-left:1px solid rgba(248,243,236,.35);font-size:19px;font-weight:400;transition:transform .18s ease}
 .buy:active{opacity:.8}
 .hero-picture{display:block;flex:none;position:relative;inset:auto;margin-top:20px;overflow:hidden}
 .hero-picture picture{display:block;width:100%;overflow:hidden}
 .hero-picture img{width:120%;max-width:none;height:auto;margin-left:-10%;margin-top:-28%;margin-bottom:-22%;object-fit:contain;mask-image:none;mix-blend-mode:multiply}
 .hero-bottom{padding:18px 20px 22px}
 .trade-opening{display:grid;grid-template-columns:1fr;gap:0;padding:24px 20px 45px}
 .trade-intro{grid-column:1;grid-row:1}
 .trade-intro h1{font-size:56px;line-height:1}
 .bridge{font-size:15px;line-height:1.4;margin-top:14px;max-width:350px}
 .trade-audience{font-size:12px;line-height:1.45;margin-top:12px}
 .trade-hero{grid-column:1;grid-row:2;margin:10px 0 12px}
 .trade-hero img{width:100%;height:145px;object-fit:contain}
 .inquiry{grid-column:1;grid-row:3;padding:0}
 .inquiry h2{font-size:24px;margin-bottom:18px}
 #inquiry-form{grid-template-columns:1fr;gap:18px}
 .field-quantity,.field-message,.inquiry-submit,.form-status{grid-column:1}
 .field input{min-height:48px}
 .trade-proof{padding-top:0}
 .about-opening{display:flex;flex-direction:column;padding:0;gap:0}
 .about-opening figure{width:100%}
 .about-opening figcaption{margin:0;padding:12px 20px 14px;font-size:12px;line-height:1.35}
 .about-studio{padding:30px 20px 42px}
 .about-studio h1{font-size:44px;line-height:1.03;margin-bottom:24px}
 .about-studio p,.about-story p{font-size:18px;line-height:1.6;letter-spacing:0}
 .about-story,.company-facts{display:block;padding:32px 20px 42px}
 .about-story h2,.company-facts h2{margin-bottom:22px}
 .about-story p{margin-bottom:22px}
 .company-facts dl>div{padding:16px 0;gap:16px}
 .company-facts dt{font-size:13px}.company-facts dd{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.buy span{transition:none}}

/* Final phone purchase controls: text only, no icon or split cell. */
.buy .buy-label-phone{display:none}
@media(max-width:650px){
 .buy{display:flex;align-items:center;justify-content:center;min-height:54px;padding:14px 22px;gap:0;border:1px solid var(--ink);border-radius:2px;font-size:16px;font-weight:500;letter-spacing:0;line-height:24px;transition:background-color .18s ease,opacity .18s ease}
 .buy .buy-label-desktop,.buy .buy-icon{display:none}
 .buy .buy-label-phone{display:inline;width:auto;align-self:auto;border:0;font:inherit;letter-spacing:inherit;transition:none}
 .home-buy{width:178px;min-width:178px;margin:20px auto 0}
 .purchase{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin-top:24px}
 .purchase .price{font-size:24px;line-height:1.3;letter-spacing:-.02em}
 .purchase .price span{font-size:13px;line-height:1.45;letter-spacing:0;margin-top:5px}
 .purchase .buy{width:100%;min-width:0}
 .inquiry-submit span{display:none}
}
@media(prefers-reduced-motion:reduce){.buy{transition:none}}

/* ==========================================================================
   HANDOFF REVISIONS (7 Oct 2026) — authoritative over everything above.
   1. One Buy-button component on all devices (desktop look, also on phone).
   2. Phone Home opening fills the first screen with the shadowed hero photo.
   3. Trade opening rebuilt: image, identity and form in one first screen.
   ========================================================================== */

/* 1. Button component — identical on desktop and phone.
   Home: "Buy" -> /coconut. Coconut: "Purchase" -> Stripe. Trade: "Send inquiry". */
.buy,.inquiry-submit{display:inline-flex;align-items:center;justify-content:space-between;gap:38px;min-width:132px;min-height:48px;padding:12px 21px;border:0;border-radius:0;background:var(--ink);color:var(--ground);font-size:16px;font-weight:400;line-height:1.2;letter-spacing:0;text-align:left;transition:opacity .18s ease}
.buy span,.inquiry-submit span{display:inline;width:auto;align-self:auto;place-items:normal;border:0;font:inherit;letter-spacing:inherit;transition:none}
.buy .buy-label,.inquiry-submit .buy-label{display:inline}
.buy .buy-icon,.inquiry-submit .buy-icon{display:inline;width:auto;border:0;font-size:16px;font-weight:400}
.buy:hover,.inquiry-submit:hover{opacity:.75;text-decoration:none!important}
.buy:active,.inquiry-submit:active{opacity:.8}
.inquiry-submit{grid-column:1/-1;justify-self:start;min-width:176px}

@media(max-width:650px){
 .buy,.inquiry-submit{min-height:52px;padding:14px 21px}
 .buy .buy-icon,.inquiry-submit .buy-icon{display:inline}
 /* Home: centred under the descriptor */
 .home-buy{width:auto;min-width:132px;margin:22px auto 0}
 /* Coconut: price left, Purchase right, one row */
 .purchase{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}
 .purchase .price{font-size:24px;line-height:1.3;letter-spacing:-.02em}
 .purchase .price span{font-size:13px;line-height:1.45;letter-spacing:0;margin-top:4px}
 .purchase .buy{width:auto;min-width:150px}
}

/* 2. Phone Home opening: fills the first screen; nothing of the next section shows.
   hero-phone.jpg has its background baked to exactly #F8F3EC: no blending needed,
   and object-fit:contain anchored to the bottom never clips a coconut. */
@media(max-width:650px){
 .site-header{height:121px}
 .home-hero{position:relative;display:block;height:calc(100vh - 121px);height:calc(100svh - 121px);min-height:440px;max-height:none;overflow:hidden}
 .hero-heading{position:relative;z-index:2;padding:clamp(28px,9svh,96px) 20px 0;text-align:center}
 .hero-picture{position:absolute;inset:0;margin:0;overflow:hidden;z-index:1}
 .hero-picture picture{display:block;width:100%;height:100%;overflow:visible}
 .hero-picture img{width:100%;height:100%;max-width:none;margin:0;object-fit:contain;object-position:50% 100%;mix-blend-mode:normal;mask-image:none}
 .hero-bottom{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:14px 20px 18px}
}

/* 3. Trade opening. Desktop: image left; identity and form right.
   Phone: identity -> image (full width) -> form, all starting in the first screen. */
.trade-opening{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"hero intro" "hero inquiry";column-gap:6vw;row-gap:40px;padding:56px var(--gutter) 100px;align-items:start}
.trade-intro{grid-area:intro}
.trade-intro h1{font-size:clamp(64px,7vw,112px);line-height:1;letter-spacing:-.065em}
.bridge{max-width:440px;font-size:20px;line-height:1.4;margin-top:20px}
.trade-audience{font-size:14px;margin-top:14px}
.trade-hero{grid-area:hero;align-self:center;margin:0}
.trade-hero img{display:block;width:100%;height:auto;mix-blend-mode:normal;object-fit:contain}
.inquiry{grid-area:inquiry;padding:0}
.inquiry h2{font-size:30px;margin-bottom:24px}
@media(min-width:1600px){.trade-opening{padding-left:max(var(--gutter),calc((100vw - 1600px)/2));padding-right:max(var(--gutter),calc((100vw - 1600px)/2))}}
@media(max-width:900px) and (min-width:651px){.trade-opening{grid-template-columns:1fr;grid-template-areas:"intro" "hero" "inquiry"}}
@media(max-width:650px){
 .trade-opening{grid-template-columns:1fr;grid-template-areas:"intro" "hero" "inquiry";row-gap:0;padding:26px 20px 48px}
 .trade-intro h1{font-size:60px}
 .bridge{font-size:16px;line-height:1.4;margin-top:12px;max-width:340px}
 .trade-audience{font-size:13px;line-height:1.45;margin-top:8px}
 .trade-hero{margin:16px 0 20px}
 .trade-hero img{height:auto}
 .inquiry h2{font-size:24px;margin-bottom:16px}
}
@media(prefers-reduced-motion:reduce){.buy,.inquiry-submit{transition:none}}

/* SVG arrows use text colour and scale identically across platforms. */
.arrow-icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em;flex-shrink:0;overflow:visible;}
/* Owner-authorized revision: desktop framing only; phone geometry is unchanged. */
.seller-label{display:none}
@media(min-width:901px){
 body:has(.home-hero) .site-header{height:102px}
 .home-hero{height:calc(100svh - 102px);min-height:620px;overflow:hidden}
 .hero-picture{inset:80px 0 0}
 .hero-picture img{--photo-side:max(0px,calc((100% - (max(620px,calc(100svh - 102px)) - 80px) * 1.776833156217) / 2));object-fit:contain;object-position:50% 100%;mask-image:linear-gradient(to bottom,transparent,black 14%,black 95%,transparent),linear-gradient(to right,transparent var(--photo-side),black calc(var(--photo-side) + 30px),black calc(100% - var(--photo-side) - 30px),transparent calc(100% - var(--photo-side)));mask-composite:intersect}
 .gallery{padding-left:clamp(80px,7.64vw,150px);padding-right:clamp(80px,7.64vw,150px);gap:48px}
 .seller-label{display:inline}
}
