:root {
  --paper: #F8F6F1;
  --card: #FFFFFF;
  --tint: #F1ECE2;
  --ink: #1D1F1A;
  --ink2: #5B5F57;
  --line: #E4DFD3;
  --forest: #23402F;
  --forest2: #31563F;
  --bamboo: #C4955A;
  --bamboo-pale: #EFE3CD;
  --burn: #5A3A1C;
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
h1 b, h2 b, .big b { font-weight: 600; color: var(--forest); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.lt { font-weight: 300; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(248, 246, 241, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-family: var(--display); font-weight: 300; font-size: 1.6rem; text-decoration: none; letter-spacing: -0.03em; }
.logo b { font-weight: 600; color: var(--forest); }
.nav-links { display: flex; gap: 30px; font-size: .94rem; color: var(--ink2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--forest); color: #fff; border: 1px solid var(--forest); border-radius: 999px; padding: 14px 26px; font: 500 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--forest2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--bamboo); outline-offset: 3px; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn.wide { width: 100%; }

/* pills, kickers */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pill { font-size: .8rem; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink2); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bamboo); margin-bottom: 14px; }
.kicker.light { color: var(--bamboo-pale); }

/* hero */
.hero { padding: clamp(36px, 7vw, 90px) 0 clamp(50px, 8vw, 110px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink2); max-width: 520px; margin: 26px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px; }
.hero-facts b { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--forest); line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: var(--ink2); }

.hero-art { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: center; }
.disc { position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F7EEDC, var(--bamboo-pale) 60%, #E6D4B5); }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.o1 { width: 92%; aspect-ratio: 1; }
.o2 { width: 108%; aspect-ratio: 1; border-style: dashed; opacity: .7; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bottle-holder { position: relative; height: 92%; aspect-ratio: 360 / 640; filter: drop-shadow(0 30px 28px rgba(60, 40, 15, .22)); }
.bottle-holder svg { width: 100%; height: 100%; display: block; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(40,30,10,.08); border-radius: 999px; padding: 10px 16px; font-size: .86rem; font-weight: 500; white-space: nowrap; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.chip-a { top: 16%; left: 2%; }
.chip-b { bottom: 14%; right: 0; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin: 10px auto 0; }
}
@media (max-width: 420px) { .chip { font-size: .76rem; padding: 8px 12px; } .chip-b { right: -4px; } }
@media (prefers-reduced-motion: reduce) { .o2 { animation: none; } }

/* sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.sec-head p, .two p { color: var(--ink2); font-size: 1.06rem; }

/* configurator */
.config { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.config-stage { background: radial-gradient(circle at 50% 40%, #FBF6EC, var(--bamboo-pale) 75%); display: grid; place-items: center; padding: 40px 20px; min-height: 520px; }
.bottle-holder.big { height: 520px; max-height: 72vh; }
.config-panel { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 11px 10px; font: 500 .95rem var(--body); color: var(--ink2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.panel { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: .86rem; font-weight: 500; color: var(--ink2); min-width: 0; }
.field input, .field textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.field textarea { resize: vertical; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 15px; font: 500 .9rem var(--body); color: var(--ink2); cursor: pointer; }
.seg button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: #fff; }
.drop { position: relative; display: flex; flex-direction: column; gap: 6px; border: 1.5px dashed #CDBF9F; border-radius: 16px; padding: 26px 20px; text-align: center; background: var(--paper); cursor: pointer; transition: background .2s, border-color .2s; }
.drop.over { background: var(--bamboo-pale); border-color: var(--bamboo); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-t { font-weight: 500; }
.drop-s { font-size: .82rem; color: var(--ink2); }
.check { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--ink2); }
.check input { width: 18px; height: 18px; accent-color: var(--forest); }
.note { font-size: .86rem; color: var(--ink2); background: var(--paper); border-radius: 12px; padding: 12px 14px; margin: 0; }
@media (max-width: 900px) {
  .config { grid-template-columns: 1fr; overflow: visible; }
  .config-stage { min-height: 0; padding: 16px; position: sticky; top: 68px; z-index: 3; border-radius: 27px 27px 0 0; box-shadow: 0 1px 0 var(--line); }
  .bottle-holder.big { height: 270px; }
}

/* band */
.band { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,20,0) 30%, rgba(20,30,20,.45)); }
.band-in { position: relative; z-index: 1; padding: 60px 0; }
.glass { max-width: 520px; color: #fff; background: rgba(28, 40, 30, .42); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); }
.glass .big { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; margin-bottom: 14px; }
.glass .big b { color: #fff; }
.glass p:last-child { margin: 0; color: rgba(255,255,255,.86); }

/* two col */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.two.flip > :first-child { order: 0; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } .two.flip > :first-child { order: 2; } }
.specs { margin: 30px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink2); font-size: .92rem; }
.specs dd { margin: 0; font-weight: 500; }
.photo-card { margin: 0; position: relative; border-radius: 28px; overflow: hidden; background: var(--tint); }
.photo-card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 16px 18px; font-size: .92rem; color: var(--ink2); }
.photo-card figcaption b { color: var(--ink); display: block; font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(160px, auto); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile p { color: var(--ink2); margin: 8px 0 0; }
.tile-dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.tile-dark p { color: rgba(255,255,255,.78); }
.tile-photo { position: relative; padding: 0; overflow: hidden; grid-row: span 3; min-height: 480px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-cap { position: relative; margin: auto 14px 14px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 18px 20px; }
.bento .tile:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; }
.bento .tile:nth-child(2), .bento .tile:nth-child(3), .bento .tile:nth-child(4) { grid-column: 2; }
.bento .tile:nth-child(5) { grid-column: 3; grid-row: 1 / span 3; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .tile-photo { grid-column: span 2 !important; min-height: 340px; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile-photo { grid-column: auto !important; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 18px; }
.steps .n { font-family: var(--display); font-size: 1rem; color: var(--bamboo); font-weight: 600; }
.steps h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.steps p { color: var(--ink2); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.price .qty { font-size: .9rem; color: var(--ink2); font-weight: 500; }
.price b { font-family: var(--display); font-weight: 600; font-size: 2.6rem; letter-spacing: -0.02em; margin-top: 10px; color: var(--ink); }
.price .per { font-size: .88rem; color: var(--ink2); }
.price .inc { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.price.hot { background: var(--forest); border-color: var(--forest); color: #fff; }
.price.hot .qty, .price.hot .per { color: rgba(255,255,255,.75); }
.price.hot b { color: #fff; }
.price.hot .inc { border-top-color: rgba(255,255,255,.2); }
.price .tag { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--bamboo); color: #241806; border-radius: 999px; padding: 4px 10px; }
.fine { margin-top: 24px; font-size: .92rem; color: var(--ink2); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .prices { grid-template-columns: 1fr; } }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink2); padding-right: 30px; }

/* quote */
.quote-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 60px); background: var(--forest); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 60px); position: relative; overflow: hidden; }
.quote-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.quote-card h2 b { color: var(--bamboo-pale); }
.quote-copy p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.contact-alt { display: flex; gap: 22px; margin-top: 26px; }
.link-light { color: #fff; font-weight: 500; text-underline-offset: 4px; }
.quote-form { position: relative; display: flex; flex-direction: column; gap: 14px; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form .field { color: rgba(255,255,255,.78); }
.quote-form input, .quote-form textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; color-scheme: dark; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: rgba(255,255,255,.45); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.quote-form .btn:not(.btn-ghost-light) { background: var(--bamboo-pale); color: var(--forest); border-color: var(--bamboo-pale); }
.quote-form .btn:not(.btn-ghost-light):hover { background: #fff; }
.form-err { background: rgba(255, 210, 190, .16); border: 1px solid rgba(255, 210, 190, .4); border-radius: 12px; padding: 10px 14px; margin: 0; font-size: .9rem; }
.form-s { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }
@media (max-width: 900px) { .quote-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quote-form .row { grid-template-columns: 1fr; } }

/* footer */
.foot { padding: 50px 0 60px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; font-size: .9rem; color: var(--ink2); }
.foot-in p { margin: 10px 0 0; max-width: 360px; }
.foot-legal { text-align: right; }
@media (max-width: 640px) { .foot-legal { text-align: left; } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* 3D bottle */
.gl-bottle { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 5; }
.has3d .bottle-holder svg { visibility: hidden; }
.has3d .bottle-holder { filter: none; }
.chip { z-index: 6; }
.story { display: none; }
.has3d .story { display: block; position: relative; height: 560vh; }
.story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story-pin::before { content: ""; position: absolute; width: min(70vh, 640px); aspect-ratio: 1; border-radius: 50%; right: 12%; top: 50%; transform: translateY(-50%); background: radial-gradient(circle at 40% 35%, #F7EEDC, var(--bamboo-pale) 62%, rgba(239,227,205,0) 72%); }
.story-grid { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 30px; }
.story-copy { position: relative; min-height: 340px; }
.story-panel { position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; max-width: 470px; }
.story-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.story-panel p { color: var(--ink2); font-size: 1.06rem; }
.story-stage { height: 80vh; aspect-ratio: 0.55; justify-self: center; }
.story-dots { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.story-dots i.on { background: var(--forest); transform: scale(1.5); }
.story-label { position: fixed; left: 0; top: 0; z-index: 6; opacity: 0; pointer-events: none; white-space: nowrap; font-size: .82rem; font-weight: 500; padding: 7px 13px 7px 22px; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(40,30,10,.08); }
.story-label::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--bamboo); }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: end; padding-bottom: 28px; gap: 0; }
  .story-stage { grid-row: 1; height: 56vh; align-self: center; }
  .story-copy { grid-row: 2; min-height: 210px; }
  .story-panel h2 { font-size: 1.8rem; }
  .story-panel p { font-size: .98rem; }
  .story-pin::before { right: 50%; top: 36%; transform: translate(50%, -50%); width: 52vh; }
  .story-dots { right: 10px; }
  .story-label { font-size: .72rem; padding: 5px 10px 5px 18px; }
}

/* Still image of the 3D bottle, shown until the live model draws its first frame */
.bottle-poster { display: none; }
.has3d .bottle-poster { display: block; position: absolute; inset: 0; margin: auto; height: 92%; width: auto; aspect-ratio: 360 / 640; z-index: 1; transition: opacity .25s ease; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 22%, #000 78%, transparent 96%); mask-image: linear-gradient(to right, transparent 4%, #000 22%, #000 78%, transparent 96%); }
.has3d.gl-ready .bottle-poster { opacity: 0; }
