/* Impeccable refinement: incumbent palette, content and lettering preserved. */
:root{--space-group:16px;--space-block:32px;--space-section:clamp(64px,6.5vw,96px)}
::selection{background:var(--pink);color:var(--choc)}
html{scrollbar-color:#938278 var(--cream)}
input{caret-color:var(--action-red)}
a{text-underline-offset:5px;text-decoration-thickness:1px}
.hero-subtitle{line-height:1.18;max-width:25ch}
.hero-description{line-height:1.7;margin-top:var(--space-group);max-width:40ch}
.hero-button{margin-top:24px}
.section{padding-top:var(--space-section);padding-bottom:var(--space-section)}
.section-head{margin-bottom:var(--space-block)}
.section-head h2{font-size:clamp(40px,5.2vw,72px);line-height:1;letter-spacing:-.03em}
.product-photo{aspect-ratio:1.5;padding:44px 20px 24px;border-radius:12px}
.product-tag{top:20px;left:20px;font-size:10px;line-height:1.4;letter-spacing:.08em}
.product-body{padding-top:20px}
.product-body h3{font-size:clamp(24px,2.35vw,34px);line-height:1.06;letter-spacing:-.025em;margin:0}
.product-body>p:not(.product-type){font-size:16px;line-height:1.6;margin-top:12px;min-height:52px;max-width:34ch}
.product-body>p.pack-detail{font-size:13px;line-height:1.5;margin-top:12px;margin-bottom:24px;min-height:0;opacity:.85}
.product-buy{min-height:52px;font-size:13px;padding:14px 20px}
.drink-ideas{padding-top:24px}
.drink-ideas .section-head{padding-top:48px}
.recipe-grid{row-gap:40px}
.recipe-photo{border-radius:12px}
.recipe figcaption{margin-top:14px;font-size:20px;line-height:1.3;letter-spacing:-.02em}
.footer{padding-top:64px;padding-bottom:32px}
.footer-top{padding-bottom:48px}
.footer h2{line-height:1.02;letter-spacing:-.03em;margin-top:0}
.footer-bottom{font-size:12px;gap:24px;padding-top:24px}
.footer-bottom .text-button{font-size:12px}
.lab-copy>p{font-size:15px;line-height:1.65}
.email-label{font-size:14px}
.maybe-later{min-height:44px;margin-top:12px;font-size:12px}
@media(min-width:701px) and (max-width:1000px){
 .product-body h3{font-size:clamp(20px,2.7vw,27px)}
 .product-body>p:not(.product-type){font-size:14px;min-height:68px}
 .product-body>p.pack-detail{min-height:40px;font-size:12px}
 .product-buy{padding-inline:14px;font-size:12px}
}
@media(max-width:700px){
 .section{padding-top:64px;padding-bottom:64px}
 .section-head{margin-bottom:28px}
 .section-head h2{font-size:clamp(36px,10vw,50px);line-height:1.02}
 .hero-subtitle{font-size:21px;max-width:25ch}
 .hero-description{font-size:14px}
 .product-grid{row-gap:44px}
 .product-photo{padding:40px 20px 24px;aspect-ratio:1.5}
 .product-body{padding-top:18px}
 .product-body h3{font-size:clamp(27px,7.4vw,38px)}
 .product-body>p:not(.product-type){font-size:16px;min-height:0;margin-top:12px}
 .product-body>p.pack-detail{font-size:13px;min-height:0;margin:10px 0 20px}
 .product-buy{margin-top:0}
 .drink-ideas{padding-top:0}
 .drink-ideas .section-head{padding-top:40px}
 .recipe-grid{row-gap:32px}
 .recipe figcaption{font-size:19px;margin-top:12px}
 .footer{padding-top:48px;padding-bottom:104px}
 .footer h2{font-size:clamp(38px,11vw,54px)}
 .footer-top{padding-bottom:36px}
 .footer-bottom{gap:20px 12px}
 .lab-copy>p{font-size:14px}
}

/* Footer refinement: continuous warm paper instead of a dark closing block. */
.footer{background:var(--cream);color:var(--choc);border-top:1px solid var(--line)}
.footer h2,.footer h2 span{color:var(--red)}
.footer-bottom{border-top-color:var(--line)}
.footer-join{background:var(--action-red);border-color:var(--action-red);color:var(--cream)}
.footer-join:hover{background:var(--deep);border-color:var(--deep);color:var(--cream)}
.footer :focus-visible{outline-color:var(--choc)}

/* Modal copy stays in its own space, never over the drink photograph. */
#lab-title:focus{outline:none}
.lab-image{display:grid;grid-template-rows:minmax(280px,1fr) auto;min-height:0;background:var(--cream)}
.lab-image>img{position:static;inset:auto;width:100%;height:100%;min-height:0;object-fit:cover;border-radius:0 10px 0 0}
.lab-image-caption{position:static;left:auto;right:auto;bottom:auto;padding:20px 24px 24px;background:transparent;color:var(--choc);border:0;border-radius:0;box-shadow:none;text-shadow:none}
.lab-image-caption>span{font-size:10px;line-height:1.4}
.lab-image-caption strong{font-size:26px;line-height:1.04;margin-top:8px}

@media(max-width:700px){.lab-image{display:none}}

/* Simplified signup: balanced copy and uninterrupted photograph. */
.lab-dialog[open]{grid-template-columns:1.08fr 1fr}
.lab-copy{padding:40px 36px;align-self:center}
.lab-logo{margin-bottom:24px}
.lab-copy form{margin-top:24px}
.lab-image{display:block;position:relative;align-self:stretch;min-height:440px;overflow:hidden}
.lab-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:0}
@media(max-width:700px){.lab-dialog[open]{display:block}.lab-copy{padding:36px 25px 30px}.lab-image{display:none}}
