:root {
  --cream: #fffaf2; --paper: #fff; --mint: #dcefe9; --mint-2: #bfe3da; --teal: #17504a; --teal-2: #0f3a35;
  --ink: #1d2826; --muted: #4c5c59; --red: #c32f27; --red-2: #a3241d; --gold: #b6852a; --line: #e6dccb;
  --r: 22px; --shadow: 0 18px 40px -22px rgba(15, 58, 53, .45);
  --head: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif; --body: 'Figtree', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); color: var(--teal-2); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 8.5vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 5.4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { font: 700 .82rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8em; display: inline-flex; gap: .5em; align-items: center; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* demo strip + header */
.demo { background: var(--teal-2); color: #e9f6f2; font-size: .85rem; text-align: center; padding: 7px 16px; }
header.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 250, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-2); font: 800 1.15rem/1 var(--head); }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand small { display: block; font: 600 .7rem/1.3 var(--body); letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.links { display: none; gap: 4px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 99px; }
.links a:hover, .links a[aria-current] { background: var(--mint); color: var(--teal-2); }
.cart-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--teal-2); color: #fff; font: 700 .95rem var(--body); cursor: pointer; }
.cart-btn .n { background: var(--red); border-radius: 99px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; }
.cart-btn.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.14); } }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; cursor: pointer; }
.mnav { display: none; padding: 0 16px 14px; }
.mnav.open { display: grid; }
.mnav a { padding: 12px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .links { display: flex; } .cart-btn { margin-left: 8px; } .menu-btn, .mnav { display: none !important; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 99px; border: 0; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px var(--red); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { background: transparent; color: var(--teal-2); border: 2px solid var(--teal-2); }
.btn-ghost:hover { background: var(--teal-2); color: #fff; }
.btn-wa { background: #128c4a; color: #fff; width: 100%; }
.btn-wa:hover { background: #0d733c; }
.btn.done { background: var(--teal); }

/* hero */
.hero { position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -30vw; top: -10vw; width: 90vw; height: 90vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--mint-2), var(--mint) 60%, transparent 61%); z-index: -1; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--teal-2); }
.facts b { color: var(--red); }
@media (min-width: 900px) { .hero { padding: 64px 0 80px; } .hero-grid { grid-template-columns: 1fr 1.05fr; } }

/* 3D stage */
.studio { position: relative; }
.stage { position: relative; aspect-ratio: 1 / 1.02; max-height: 640px; width: 100%; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at 50% 38%, #fff 0, #f3faf7 45%, var(--mint) 100%); box-shadow: var(--shadow); touch-action: pan-y; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; opacity: 0; transition: opacity .8s; }
.stage.live canvas { opacity: 1; }
.stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.stage.live .fallback { opacity: 0; }
.stage .drag { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .85); border-radius: 99px; padding: 6px 12px; font-size: .82rem; font-weight: 600; color: var(--teal-2); opacity: 0; transition: opacity .6s .6s; }
.stage.live .drag { opacity: 1; }
.studio-panel { margin-top: 14px; background: var(--paper); border-radius: var(--r); padding: 16px; border: 1px solid var(--line); }
.finishes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.finishes button, .chips button { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--cream); font: 600 .92rem var(--body); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.finishes i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.finishes [aria-pressed=true], .chips [aria-pressed=true] { border-color: var(--teal-2); background: var(--teal-2); color: #fff; }
.chips [aria-pressed=true] small { color: #cfe9e3; }
.studio-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.studio-buy b { display: block; font: 700 1.05rem var(--head); color: var(--teal-2); }
.studio-buy span { font-size: .92rem; color: var(--muted); }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--red); }

/* sections */
section { padding: 64px 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sec-head p { margin: 0; max-width: 34em; color: var(--muted); }
.band { background: var(--mint); }
.dark { background: var(--teal-2); color: #e7f4f0; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #ffb3a8; }

/* occasions */
.occ { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.occ a { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; color: #fff; box-shadow: var(--shadow); }
.occ img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.occ a:hover img { transform: scale(1.06); }
.occ span { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(10, 34, 31, .86)); font: 800 1.3rem/1.1 var(--head); }
.occ small { display: block; font: 600 .82rem var(--body); opacity: .92; margin-top: 4px; }
@media (min-width: 760px) { .occ { grid-template-columns: repeat(4, 1fr); } }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .25s ease-out, box-shadow .3s; }
.card:hover { box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.pill, .tag { position: absolute; font-size: .78rem; font-weight: 700; border-radius: 99px; padding: 5px 10px; }
.pill { left: 12px; top: 12px; background: var(--paper); color: var(--teal-2); }
.tag { right: 12px; bottom: 12px; background: rgba(15, 30, 28, .72); color: #fff; font-weight: 600; }
.tag.own { background: var(--red); }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; }
.desc { color: var(--muted); margin: 0; font-size: .97rem; }
.price { font: 800 1.45rem var(--head); color: var(--red); }
.price small { font: 500 .88rem var(--body); color: var(--muted); margin-left: 4px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--teal-2); }
.field select, .field input, .field textarea { font: 400 1rem var(--body); min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); width: 100%; }
.field textarea { min-height: 76px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.card .add { margin-top: auto; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; scrollbar-width: none; }
.filters button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); font: 600 .95rem var(--body); cursor: pointer; color: var(--ink); }
.filters [aria-pressed=true] { background: var(--red); border-color: var(--red); color: #fff; }

/* how to order */
.steps { display: grid; gap: 16px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 2.2rem/1 var(--head); color: #ffb3a8; display: block; margin-bottom: 10px; }
.steps p { margin: 0; color: #cfe5df; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.route { position: relative; height: 54px; margin: 28px 0 0; }
.route::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; border-top: 3px dashed rgba(255, 255, 255, .3); }
.route .scoot { position: absolute; top: 0; left: 0; font-size: 2rem; animation: ride 9s linear infinite; }
@keyframes ride { from { transform: translateX(-10%); } to { transform: translateX(calc(min(1180px, 100vw - 32px) - 20px)); } }

/* custom split */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.stack { position: relative; min-height: 380px; }
.stack img { position: absolute; border-radius: var(--r); box-shadow: var(--shadow); object-fit: cover; border: 6px solid #fff; }
.stack .a { width: 62%; height: 92%; left: 0; top: 0; transform: rotate(-3deg); }
.stack .b { width: 50%; height: 62%; right: 0; bottom: 0; transform: rotate(4deg); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-2); color: var(--teal-2); font-weight: 800; display: grid; place-items: center; font-size: .8rem; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gal figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 1; }
.gal figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .9); border-radius: 99px; padding: 4px 10px; font-size: .8rem; font-weight: 600; color: var(--teal-2); }
@media (min-width: 760px) { .gal { grid-template-columns: repeat(4, 1fr); } }

/* rating + faq + visit */
.rating { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.rating .big { font: 800 3.4rem/1 var(--head); color: var(--red); }
.stars { color: #e3a21a; font-size: 1.3rem; letter-spacing: 2px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--teal-2); min-height: 48px; display: flex; align-items: center; list-style: none; }
summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; color: var(--red); }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); }
.shops { display: grid; gap: 18px; }
@media (min-width: 900px) { .shops { grid-template-columns: 1fr 1fr; } }
.shop { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.shop iframe { width: 100%; height: 240px; border: 0; display: block; }
.shop .in { padding: 18px; }
.shop .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* menu page */
.menu { display: grid; gap: 22px; }
@media (min-width: 900px) { .menu { grid-template-columns: repeat(3, 1fr); } }
.mgroup { background: var(--paper); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.mgroup h3 { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--teal-2); padding-bottom: 8px; }
.mgroup h3 small { font: 600 .8rem var(--body); color: var(--muted); }
.mrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.mrow .nm { font-weight: 600; }
.mrow .dots { flex: 1; border-bottom: 2px dotted var(--line); min-width: 10px; }
.mrow .bt { display: flex; gap: 6px; }
.mrow button { min-height: 44px; min-width: 64px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font: 700 .9rem var(--body); color: var(--red); cursor: pointer; }
.mrow button:hover { border-color: var(--red); }
.mrow button.done { background: var(--teal-2); color: #fff; }

/* builder */
.builder { background: var(--paper); border-radius: 28px; padding: 22px; border: 1px solid var(--line); display: grid; gap: 16px; box-shadow: var(--shadow); }
.builder .sum { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 16px; }
.b-price { font: 800 2rem var(--head); color: var(--red); }

/* cart bar + drawer */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--teal-2); color: #fff; border-radius: 99px; padding: 8px 8px 8px 20px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .35s; }
.cartbar.show { transform: none; }
.cartbar button { min-height: 44px; border: 0; border-radius: 99px; background: var(--red); color: #fff; font: 700 .95rem var(--body); padding: 0 18px; cursor: pointer; }
@media (min-width: 760px) { .cartbar { left: auto; width: 380px; right: 20px; bottom: 20px; } }
.scrim { position: fixed; inset: 0; background: rgba(10, 30, 28, .5); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 51; background: var(--cream); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dr-head h2 { font-size: 1.5rem; margin: 0; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.5rem; cursor: pointer; }
.dr-body { flex: 1; overflow-y: auto; padding: 16px 18px; display: grid; gap: 18px; align-content: start; }
.line { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.line img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.line .t { font-weight: 700; }
.line .m { font-size: .86rem; color: var(--muted); }
.line .r { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.step { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper); }
.step button { width: 44px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--teal-2); }
.step span { min-width: 22px; text-align: center; font-weight: 700; }
.empty { color: var(--muted); }
.addons p { margin: 0 0 8px; font-weight: 700; color: var(--teal-2); }
.form { display: grid; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 4px; }
.seg button { min-height: 42px; border: 0; border-radius: 99px; background: none; font: 700 .95rem var(--body); cursor: pointer; color: var(--ink); }
.seg [aria-pressed=true] { background: var(--teal-2); color: #fff; }
.err { color: var(--red-2); font-weight: 600; margin: 0; min-height: 1em; }
.dr-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.tot { display: flex; justify-content: space-between; font: 800 1.3rem var(--head); color: var(--teal-2); margin-bottom: 10px; }

/* footer */
footer { background: var(--teal-2); color: #d6ebe5; padding: 48px 0 110px; }
footer .cols { display: grid; gap: 24px; }
@media (min-width: 760px) { footer .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
footer a { color: #fff; }
footer h3 { color: #fff; font-size: 1.05rem; }
footer .small { font-size: .88rem; opacity: .9; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.card.rv.in { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
@media (max-width: 420px) { .nav { gap: 8px; } .brand { font-size: 1rem; gap: 8px; } .brand small { font-size: .62rem; letter-spacing: .08em; } .brand img { width: 40px; height: 40px; } .cart-btn { padding: 0 12px; } }
@media (max-width: 520px) { .finishes { display: grid; grid-template-columns: 1fr 1fr; } .finishes button { padding: 0 10px; font-size: .86rem; } }
[hidden] { display: none !important; }
