/* Home V9: a single clear path from discovery to the Virtual Beverage Lab. */
body:has(#section-home:not(.hidden)) .primary-nav .lab-nav{background:var(--accent);border-color:var(--accent);color:var(--accent-fg);font-weight:750;padding-inline:16px;box-shadow:none;border-radius:2px}
body:has(#section-home:not(.hidden)) .primary-nav .lab-nav .nav-dot{background:currentColor}
body:has(#section-home:not(.hidden)) .primary-nav .lab-nav:hover{background:#edc75e;color:var(--accent-fg)}
.home9{padding-top:42px}
.home9 button:focus-visible,.brand-header button:focus-visible{outline:2px solid #f2d58c;outline-offset:4px}
.home9-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:clamp(28px,4vw,64px);align-items:center}
.home9-intro{min-width:0;padding:22px 0}
.home9-kicker{display:inline-flex;align-items:center;letter-spacing:.11em}
.home9-kicker .gold-dot{flex:none;margin-right:9px}
.home9 h1{font-size:clamp(48px,5.2vw,80px);font-weight:800;line-height:1.045;letter-spacing:-.062em;margin:23px 0;color:var(--text-main)}
.home9 h1 em{font-style:normal;color:var(--accent)}
.home9-lead{font-size:clamp(17px,1.55vw,21px);line-height:1.62;max-width:530px;color:var(--text-muted)}
.home9-actions{margin-top:30px;display:flex;gap:19px;flex-wrap:wrap;align-items:center}
.home9 .home9-main-cta{padding:17px 22px;min-height:72px;min-width:258px;justify-content:space-between;gap:25px;font-size:20px;line-height:1.18;text-align:left;font-weight:800;box-shadow:0 8px 32px #dcb34d14;transition:background .2s,transform .2s}
.home9-main-cta small{font-size:12px;display:block;font-weight:600;margin-top:6px;opacity:.79}
.home9-arrow{width:26px;height:26px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.home9 .home9-main-cta:hover{transform:translateY(-2px)}
.home9-how-link{color:var(--text-muted);font-size:14px;font-weight:600;min-height:44px;text-align:left;padding:8px 0;white-space:nowrap}
.home9-how-link span{color:var(--accent);margin-left:6px}
.home9-how-link:hover{color:var(--accent)}
.home9-assurance{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:22px;font-size:13px;color:var(--text-muted)}
.home9-assurance b{color:#9ccd99;margin-right:4px}
.home9-preview{background:#211b16;border:1px solid #594630;min-width:0;overflow:hidden}
.home9-preview-header{min-height:49px;padding:11px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;font:600 11px/1.4 "JetBrains Mono",monospace;letter-spacing:.05em;color:var(--text-muted)}
.home9-preview-header>span:first-child i{width:8px;height:8px;background:var(--accent);display:inline-block;margin-right:7px;vertical-align:0}
.home9-live{color:#a9cfa0;letter-spacing:0;font-family:inherit;white-space:nowrap}
.home9-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9ccd99;margin-right:5px}
.home9-stage{height:clamp(340px,33vw,465px);position:relative;background:radial-gradient(ellipse at 40% 25%,#624730,#1a120d 70%);overflow:hidden}
#home9-canvas{display:block;width:100%;height:100%}
.home9-stage-top,.home9-stage-bottom{position:absolute;left:0;right:0;display:flex;justify-content:space-between;gap:12px;pointer-events:none}
.home9-stage-top{top:0;padding:16px 19px 30px;background:linear-gradient(#180f0ade,transparent);align-items:center;color:#ddd0bd;font:10px/1.4 "JetBrains Mono",monospace}
.home9-stage-label{font-weight:700;font-size:10px;letter-spacing:.07em;color:#ead5ae}
.home9-stage-bottom{bottom:0;padding:26px 19px 15px;align-items:end;background:linear-gradient(transparent,#150e0be8)}
.home9-stage-bottom h2{font-size:clamp(19px,2.2vw,27px);line-height:1.2;font-weight:750;letter-spacing:-.04em;margin-top:5px;color:#fff0db}
.home9-layers{display:flex;flex-direction:column-reverse;gap:3px;width:48px;padding:5px;border:1px solid #e8d4b34c;border-radius:3px;flex:none}
.home9-layers span{display:block;width:100%;height:7px;border-radius:1px}
.home9-preview-controls{padding:13px 17px 12px}
.home9-sample-row{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.home9-control-label{font-size:12px;color:var(--text-muted);font-weight:600}
.home9-samples{display:flex;flex-wrap:wrap;gap:6px}
.home9-samples button{padding:8px 10px;min-height:40px;font-size:12px;white-space:nowrap;border:1px solid #4b3e31;color:var(--text-muted);font-weight:650;display:inline-flex;align-items:center;gap:7px}
.home9-samples button i{background:var(--sample);border-radius:50%;height:9px;width:9px;display:block}
.home9-samples button[aria-pressed=true]{border-color:var(--accent);background:#342919;color:#f1d48e}
.home9-samples button:hover{border-color:var(--accent)}
.home9-preview-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border-subtle);margin-top:12px;padding-top:8px}
.home9-preview-foot small{max-width:250px;font-size:11px;line-height:1.5;color:var(--text-dim)}
.home9-preview-foot button{font-size:13px;min-height:40px;white-space:nowrap}
.home9-how{scroll-margin-top:96px;margin-top:49px}
.home9-how-heading{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:19px}
.home9-how-heading h2,.home9-final h2,.home9-about h2{font-size:clamp(29px,3.15vw,43px);line-height:1.12;letter-spacing:-.045em;font-weight:750;margin-top:9px}
.home9-how-heading h2 span,.home9-final h2 span,.home9-about h2 em{color:var(--accent);font-style:normal}
.home9-how-heading p,.home9-recipes .heading-row p{color:var(--text-muted);font-size:14px;max-width:410px}
.home9-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.07fr);gap:1px;background:var(--border-subtle);border:1px solid var(--border-subtle)}
.home9-step{padding:23px 20px;background:var(--bg-surface);display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.home9-icon{display:flex;width:100%;justify-content:space-between;align-items:start;margin-bottom:18px}
.home9-icon svg{width:33px;height:33px;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.home9-icon>span,.home9-step-flag{font:600 12px/1.4 "JetBrains Mono",monospace;color:var(--accent);letter-spacing:.05em}
.home9-step h3{font-size:20px;line-height:1.2;letter-spacing:-.035em;font-weight:750;margin:0 0 9px}
.home9-step p{font-size:14px;line-height:1.5;color:var(--text-muted)}
.home9-start-step{background:#302718;justify-content:space-between;gap:12px}
.home9-start-step h3{font-size:25px;line-height:1.2}
.home9-start-step button{width:100%;justify-content:space-between;font-size:14px}
.home9-recipes .heading-row h2,.home9-explore .heading-row h2{margin-top:8px}
.home9-recipes .heading-row p{margin-top:9px}
.home9-recipes .recipe-lab{display:block;background:#332817;border:1px solid #665032;margin:0 16px 16px;padding:11px 13px;text-align:center;color:var(--accent);font-weight:750}
.home9-recipes .recipe-lab:hover{background:var(--accent);color:var(--accent-fg);text-decoration:none}
.home9-about{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);background:var(--bg-surface);border:1px solid var(--border-subtle);margin-top:64px;overflow:hidden}
.home9-about>img{height:100%;min-height:260px;max-height:350px;object-position:50% 50%}
.home9-about>div{align-self:center;padding:30px 38px}
.home9-about p{margin:13px 0 15px;color:var(--text-muted);font-size:16px;max-width:520px}
.home9-about .text-link{margin-top:7px}
.home9-final{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:29px 32px;border:1px solid #5f4b31;background:linear-gradient(105deg,#2c2318,#211b16);margin-top:38px}
.home9-final h2{max-width:650px}
.home9-final .home9-main-cta{min-height:58px;min-width:225px;flex-shrink:0}
@media(max-width:1000px){.home9-hero{gap:24px}.home9 h1{font-size:clamp(44px,5.6vw,66px)}.home9-actions{gap:12px}.home9 .home9-main-cta{min-width:234px}.home9-sample-row{gap:6px}.home9-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.home9-step{padding:20px}.home9-preview-foot{flex-wrap:wrap;gap:0}.home9-preview-foot small{max-width:none}.home9-preview-foot button{min-height:32px}}
@media(max-width:720px){.home9{padding-top:24px}.home9-hero{grid-template-columns:minmax(0,1fr);gap:18px}.home9-intro{padding:4px 0 0}.home9 h1{font-size:clamp(44px,10.4vw,65px);margin:16px 0 15px;line-height:1.06}.home9 h1 em br{display:none}.home9-lead{font-size:16px;line-height:1.55}.home9-actions{margin-top:22px;gap:9px;align-items:stretch}.home9 .home9-main-cta{min-height:62px;font-size:18px;min-width:0;flex:1;padding:14px 15px}.home9-how-link{padding:8px;min-height:44px;white-space:normal;font-size:13px;max-width:118px}.home9-assurance{margin-top:14px;gap:6px 15px;font-size:12px}.home9-stage{height:clamp(285px,82vw,400px)}.home9-preview-header{padding:10px 12px;min-height:43px;font-size:10px}.home9-stage-top{padding:12px 13px 25px;font-size:9px}.home9-stage-bottom{padding:22px 13px 12px}.home9-preview-controls{padding:10px 12px}.home9-sample-row{align-items:start;flex-direction:column;gap:8px}.home9-samples{width:100%}.home9-samples button{flex:1;justify-content:center;min-height:42px;font-size:12px;padding:8px 5px}.home9-preview-foot small{font-size:11px}.home9-preview-foot button{min-height:40px}.home9-how{margin-top:35px;scroll-margin-top:85px}.home9-how-heading{align-items:start;flex-direction:column;gap:9px}.home9-step{padding:16px 13px}.home9-step h3{font-size:18px}.home9-step p{font-size:13px}.home9-icon{margin-bottom:13px}.home9-icon svg{width:29px;height:29px}.home9-start-step h3{font-size:21px}.home9-start-step button{font-size:13px;padding:9px 10px;min-height:44px}.home9-about{grid-template-columns:1fr;margin-top:40px}.home9-about>img{height:auto;min-height:0;aspect-ratio:1.9}.home9-about>div{padding:23px}.home9-final{flex-direction:column;align-items:stretch;padding:23px;gap:18px;margin-top:27px}.home9-final .home9-main-cta{flex:auto}.home9-recipes .recipe-lab{margin:0 14px 14px}}
@media(max-width:360px){.home9 h1{font-size:40px}.home9-actions{flex-direction:column}.home9-how-link{max-width:none}.home9-start-step button{font-size:12px}.home9-step p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home9 .home9-main-cta,.home9 .explore-feature img{transition:none;transform:none}}
