/* Rianna's Dessert Studio: bold modern bakery brand. Original cocoa / cream / blush palette. */
:root {
  --dark: #321d17;
  --accent: #8a4f3d;
  --cream: #fffaf6;
  --blush: #ead3c2;
  --text: #60433a;
  --accent-2: #c9805f;        /* lighter tint of the accent, for gradients/glows */
  --blush-2: #f2dfd1;
  --blush-3: #e6c8b5;
  --white: #fff;
  --line: rgba(50, 29, 23, .1);
  --ok: #3f7d4a;
  --bad: #b3372a;
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 40px 80px -40px rgba(50, 29, 23, .45);
  --shadow-sm: 0 14px 30px -18px rgba(50, 29, 23, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); color: var(--dark); background: var(--cream); -webkit-font-smoothing: antialiased; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: .95; margin: 0; letter-spacing: -.04em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--cream); }
.container { width: min(100% - 40px, 1240px); margin: 0 auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 500; }
.skip:focus { top: 12px; }

.grad { background: linear-gradient(95deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(138, 79, 61, .08); border: 1px solid rgba(138, 79, 61, .18); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(201, 128, 95, .25); }
.h2 { font-size: clamp(40px, 6.8vw, 96px); margin: 22px auto 0; text-wrap: balance; max-width: 15ch; }
.sub { margin: 22px auto 0; max-width: 520px; font-size: 18px; color: var(--text); }
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 60ms); }
.split.in .w > span { transform: none; }

/* header: floating pill */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; transition: transform .5s var(--ease); }
.site-header.hide { transform: translateY(-140%); }
.site-header:focus-within { transform: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(255, 250, 246, .72); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(50, 29, 23, .08); box-shadow: 0 10px 40px -20px rgba(50, 29, 23, .35); max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--blush); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 9px 16px; font-size: 14px; font-weight: 500; border-radius: 999px; color: var(--text); transition: background .25s, color .25s; }
.nav-links a:hover { background: rgba(138, 79, 61, .1); color: var(--dark); }
.nav-links a.active { background: var(--dark); color: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.basket-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; background: var(--dark); color: var(--cream); font-size: 14px; font-weight: 600; transition: transform .3s var(--ease), background .3s; }
.basket-btn:hover { background: var(--accent); transform: translateY(-1px); }
.basket-btn .count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--blush); color: var(--dark); font-size: 12px; font-weight: 700; }
.basket-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.97); } }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--blush-2); font-size: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s, border-color .3s; will-change: transform; }
.btn-primary { background: linear-gradient(180deg, #4a2b22, var(--dark)); color: var(--cream); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 16px 30px -12px rgba(50, 29, 23, .7); }
.btn-primary:hover { background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 20px 40px -12px rgba(138, 79, 61, .8); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); color: var(--dark); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* hero */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; text-align: center; background: radial-gradient(circle at 20% 0, #fffaf6 0%, var(--blush-2) 45%, var(--blush-3) 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55; }
.glow.g1 { width: 520px; height: 520px; left: -140px; top: 40px; background: #f2b79c; }
.glow.g2 { width: 460px; height: 460px; right: -120px; top: 180px; background: var(--accent-2); opacity: .35; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); backdrop-filter: blur(8px); opacity: 0; animation: rise .9s var(--ease) .1s forwards; }
.pill-badge i { width: 8px; height: 8px; border-radius: 50%; background: #5bb36d; box-shadow: 0 0 0 4px rgba(91, 179, 109, .25); }
.hero h1 { font-size: clamp(52px, 10.4vw, 156px); margin: 30px 0 28px; max-width: 12ch; text-wrap: balance; letter-spacing: -.05em; line-height: .9; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .05em .14em; margin-bottom: -.14em; }
.hero h1 .line > span { display: inline-block; transform: translateY(112%); animation: lineUp 1.2s var(--ease) forwards; animation-delay: calc(var(--l) * .12s + .2s); }
@keyframes lineUp { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text); opacity: 0; animation: rise .9s var(--ease) .75s forwards; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; opacity: 0; animation: rise .9s var(--ease) .9s forwards; }
.try { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; font-size: 13px; color: var(--text); opacity: 0; animation: rise .9s var(--ease) 1.05s forwards; }
.try button { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--accent); transition: all .3s var(--ease); }
.try button:hover { background: var(--dark); color: var(--cream); transform: translateY(-2px); }
.fan { position: relative; width: min(100%, 980px); aspect-ratio: 2.5 / 1; margin-top: 44px; }
.fan figure { position: absolute; margin: 0; bottom: 0; overflow: hidden; border-radius: 32px; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--blush); transition: transform .8s var(--ease); }
.fan img { width: 100%; height: 100%; object-fit: cover; }
.fan .f1 { width: 29%; aspect-ratio: 4/5; left: 4%; transform: rotate(-7deg) translateY(10px); }
.fan .f2 { width: 36%; aspect-ratio: 1; left: 32%; z-index: 2; }
.fan .f3 { width: 29%; aspect-ratio: 4/5; right: 4%; transform: rotate(7deg) translateY(10px); }
.fan figure { opacity: 0; animation: fanIn .9s var(--ease) .2s forwards; }
.fan .f2 { animation-delay: .3s; } .fan .f3 { animation-delay: .4s; }
@keyframes fanIn { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
.fan:hover .f1 { transform: rotate(-11deg) translate(-20px, 4px); }
.fan:hover .f3 { transform: rotate(11deg) translate(20px, 4px); }
.fan:hover .f2 { transform: translateY(-16px) scale(1.03); }

.perks { position: relative; z-index: 3; background: var(--dark); color: var(--cream); padding-top: 50px; }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-bottom: 40px; }
.perk { padding: 24px 20px; text-align: center; border-left: 1px solid rgba(255, 250, 246, .12); }
.perk:first-child { border-left: 0; }
.perk b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; font-weight: 800; color: var(--blush); }
.perk span { font-size: 13px; opacity: .75; }

/* sections */
.section { padding: clamp(90px, 11vw, 160px) 0; position: relative; }

/* showcase */
.tabs { display: inline-flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: safe center; gap: 4px; padding: 5px; margin-top: 40px; border-radius: 999px; background: rgba(50, 29, 23, .06); border: 1px solid var(--line); max-width: 100%; }
.tab { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text); transition: all .3s var(--ease); }
.tab:hover { color: var(--dark); }
.tab.on { background: var(--dark); color: var(--cream); box-shadow: var(--shadow-sm); }
.show { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: 1fr auto; margin: 36px auto 0; max-width: 1060px; padding: 12px; border-radius: 36px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.show::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -50px; height: 90px; background: radial-gradient(ellipse at center, rgba(201, 128, 95, .55), transparent 70%); filter: blur(30px); z-index: -1; }
.show-img { position: relative; grid-row: 1 / span 2; min-height: 480px; border-radius: 26px; overflow: hidden; background: var(--blush-2); }
.show-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: swapIn .9s var(--ease); }
.show-img .mono { animation: swapIn .9s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: scale(1.06); } }
.show-badge { position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 250, 246, .92); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.show-badge.off { background: var(--dark); color: #fff; }
.show-body { padding: 24px 24px 12px 32px; animation: swapUp .7s var(--ease); }
@keyframes swapUp { from { opacity: 0; transform: translateY(14px); } }
.show-body h3 { font-size: clamp(30px, 4vw, 48px); }
.show-body > p { margin-top: 12px; color: var(--text); max-width: 60ch; }
.show-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 24px; }
.show-cols > div:first-child { grid-column: 1 / -1; }
.show-cols h4 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.show-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.show-cols li { display: flex; justify-content: space-between; gap: 10px; }
.show-cols li b { color: var(--dark); white-space: nowrap; }
.show-cols .more { color: var(--accent); font-weight: 600; }
.show-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 24px 14px 32px; margin: 8px 0 0 8px; border-top: 1px solid var(--line); }
.from { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.from small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* full menu grid */
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.menu-head h2 { font-size: clamp(34px, 5vw, 64px); }
.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.cat { padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--text); transition: all .3s var(--ease); }
.cat:hover { border-color: var(--accent); color: var(--dark); transform: translateY(-2px); }
.cat.on { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, opacity .5s; cursor: pointer; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card.out { opacity: 0; transform: scale(.96); }
.card-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--blush-2); margin: 8px 8px 0; border-radius: 24px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-img img { transform: scale(1.08); }
.mono { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #fff, var(--blush-2) 40%, var(--blush-3)); }
.mono svg { width: 44%; }
.card-tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 250, 246, .94); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.card-tag.off { background: var(--dark); color: #fff; }
.card-price { position: absolute; right: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px; background: var(--dark); color: var(--cream); font-size: 13px; font-weight: 700; }
.card-price small { opacity: .7; font-weight: 500; margin-right: 4px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card h3 { font-size: 30px; }
.card p.intro { color: var(--text); font-size: 14.5px; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; font-size: 13.5px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); color: var(--text); }
.price-list b { color: var(--accent); white-space: nowrap; }
.card .btn { margin-top: auto; width: 100%; padding: 15px 20px; }
.card.unavailable { cursor: not-allowed; }
.card.unavailable:hover { transform: none; box-shadow: none; }
.card.unavailable .card-img { filter: grayscale(1); opacity: .6; }
.menu-note { margin-top: 32px; padding: 20px 24px; border-radius: 22px; background: var(--blush-2); color: var(--text); font-size: 14px; }

/* how it works */
.how { background: var(--dark); color: var(--cream); overflow: hidden; border-radius: 48px 48px 0 0; }
.how::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(201, 128, 95, .4), transparent 65%); pointer-events: none; }
.how .eyebrow { background: rgba(255, 250, 246, .08); border-color: rgba(255, 250, 246, .18); color: var(--blush); }
.how .sub { color: rgba(255, 250, 246, .7); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 70px; text-align: left; }
.step { position: relative; padding: 28px 24px 30px; border-radius: 28px; background: rgba(255, 250, 246, .05); border: 1px solid rgba(255, 250, 246, .1); transition: transform .5s var(--ease), background .5s, border-color .5s; }
.step:hover { transform: translateY(-8px); background: rgba(255, 250, 246, .09); border-color: rgba(201, 128, 95, .6); }
.step-n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 70px; box-shadow: 0 10px 30px -8px rgba(201, 128, 95, .8); }
.step h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -.03em; }
.step p { font-size: 14.5px; color: rgba(255, 250, 246, .7); line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.stat { padding: 34px 30px; border-radius: 28px; background: rgba(255, 250, 246, .05); border: 1px solid rgba(255, 250, 246, .1); text-align: left; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 7vw, 100px); line-height: .95; letter-spacing: -.05em; background: linear-gradient(95deg, var(--blush), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; color: rgba(255, 250, 246, .7); }

/* gallery bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 19vw, 280px); gap: 14px; margin-top: 60px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: 30px; background: var(--blush-2); cursor: zoom-in; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.tile:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(50, 29, 23, .7)); opacity: 0; transition: opacity .5s; }
.tile:hover::after { opacity: 1; }
.tile figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; transform: translateY(14px); opacity: 0; transition: all .5s var(--ease); }
.tile:hover figcaption { transform: none; opacity: 1; }
.tile.t1 { grid-column: span 2; grid-row: span 2; }
.tile.t3 { grid-row: span 2; }
.tile.t5 { grid-column: span 2; }
.tile .zoom { position: absolute; right: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 250, 246, .9); display: grid; place-items: center; font-size: 18px; opacity: 0; transform: scale(.7); transition: all .4s var(--ease); }
.tile:hover .zoom { opacity: 1; transform: none; }
dialog.lightbox { margin: auto; width: min(1100px, 100vw - 24px); }
.lb { position: relative; border-radius: 32px; overflow: hidden; background: var(--dark); animation: pop .5s var(--ease); }
.lb img { width: 100%; max-height: 80svh; object-fit: contain; background: #1d110d; }
.lb-cap { padding: 18px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.lb-nav { display: flex; gap: 8px; }
.lb-nav button { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 250, 246, .12); color: #fff; font-size: 18px; transition: background .3s; }
.lb-nav button:hover { background: var(--accent-2); }

/* faq */
.faq-wrap { max-width: 860px; margin: 56px auto 0; display: grid; gap: 12px; text-align: left; }
.faq-item { border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: rgba(138, 79, 61, .35); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 24px 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.03em; }
.faq-q i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blush-2); position: relative; transition: background .3s, transform .5s var(--ease); font-size: 0; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--dark); border-radius: 2px; transition: transform .5s var(--ease), background .3s; }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i { background: var(--dark); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: var(--cream); }
.faq-item.open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 28px 26px; color: var(--text); }

/* areas */
.areas { background: linear-gradient(180deg, var(--cream), var(--blush-2)); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.area-card { padding: 36px 32px 40px; border-radius: 32px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.area-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.area-card .big { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--blush-2); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 60px; transition: all .5s var(--ease); }
.area-card:hover .big { background: var(--dark); color: var(--cream); transform: rotate(-8deg); }
.area-card strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.04em; margin-bottom: 10px; }
.area-card p { color: var(--text); }
.area-intro { max-width: 680px; margin: 28px auto 0; font-size: 18px; color: var(--text); }
.area-intro a { color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--accent-2); }

/* contact */
.cta-panel { position: relative; overflow: hidden; border-radius: 48px; background: var(--dark); color: var(--cream); padding: clamp(40px, 6vw, 90px); text-align: center; }
.cta-panel::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -420px; margin-left: -350px; background: radial-gradient(circle, rgba(201, 128, 95, .55), transparent 65%); pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel .eyebrow { background: rgba(255, 250, 246, .08); border-color: rgba(255, 250, 246, .18); color: var(--blush); }
.cta-panel .h2 { max-width: 14ch; }
.cta-panel .sub { color: rgba(255, 250, 246, .72); }
.cta-panel .btn-primary { background: var(--cream); color: var(--dark); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); }
.cta-panel .btn-primary:hover { background: var(--blush); }
.cta-panel .btn-ghost { background: rgba(255, 250, 246, .08); border-color: rgba(255, 250, 246, .25); color: var(--cream); }
.cta-panel .btn-ghost:hover { background: rgba(255, 250, 246, .16); border-color: var(--blush); }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 60px; text-align: left; }
.contact-card { display: block; padding: 24px; border-radius: 24px; background: rgba(255, 250, 246, .06); border: 1px solid rgba(255, 250, 246, .12); transition: transform .4s var(--ease), background .4s, border-color .4s; }
a.contact-card:hover { transform: translateY(-6px); background: rgba(255, 250, 246, .12); border-color: var(--accent-2); }
.contact-card small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); opacity: .8; margin-bottom: 10px; }
.contact-card strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; overflow-wrap: anywhere; line-height: 1.2; }
.contact-card p { font-size: 13px; opacity: .65; margin-top: 8px; }

footer { padding: 70px 0 50px; text-align: center; }
.foot-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 13vw, 210px); letter-spacing: -.06em; line-height: .85; background: linear-gradient(180deg, var(--blush-3) 20%, rgba(230,200,181,.25)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; margin-bottom: 34px; padding-bottom: .12em; user-select: none; }
.foot-row { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--text); font-size: 14px; }
.footer-link { font-weight: 700; color: var(--accent); border-bottom: 2px solid var(--accent-2); }
.credit { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.credit a { color: var(--dark); border-bottom: 2px solid var(--blush-3); font-weight: 800; }

/* dialogs */
dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; color: var(--dark); }
dialog::backdrop { background: rgba(50, 29, 23, .6); backdrop-filter: blur(8px); }
dialog[open] { animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.modal { width: min(720px, calc(100vw - 24px)); max-height: calc(100svh - 24px); margin: auto; overflow: auto; border-radius: 36px; background: var(--cream); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6); animation: pop .55s var(--ease); position: relative; }
.modal-head { display: flex; gap: 20px; align-items: center; padding: 30px 32px 0; }
.modal-head img, .modal-head .emoji-box { width: 84px; height: 84px; flex: none; border-radius: 24px; object-fit: cover; background: var(--blush); display: grid; place-items: center; }
.emoji-box svg { width: 60%; }
.modal-head h2 { font-size: 40px; }
.x { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--blush-2); font-size: 22px; transition: transform .35s var(--ease), background .3s, color .3s; z-index: 3; }
.x:hover { transform: rotate(90deg); background: var(--dark); color: var(--cream); }
.modal-body { padding: 24px 32px 30px; display: grid; gap: 26px; }
.field-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.field-label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text); font-size: 12px; margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; transition: all .25s var(--ease); }
.opt:hover:not([disabled]) { border-color: var(--accent); transform: translateY(-2px); }
.opt.on { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.opt[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.opt small { opacity: .7; font-weight: 500; margin-left: 5px; }
.hint { font-size: 13px; color: var(--text); margin-top: 10px; }
.hint.warn { color: var(--accent); font-weight: 700; }
.input, textarea.input, select.input { width: 100%; padding: 15px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--dark); transition: border-color .25s, box-shadow .25s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 128, 95, .22); }
.input.err { border-color: var(--bad); }
textarea.input { min-height: 96px; resize: vertical; }
.err-msg { color: var(--bad); font-size: 13px; font-weight: 600; margin-top: 8px; }
.row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 44px; font-size: 20px; border-radius: 50%; transition: background .2s; }
.qty button:hover { background: var(--blush-2); }
.qty output { min-width: 36px; text-align: center; font-weight: 700; }
.modal-foot { position: sticky; bottom: 0; padding: 18px 32px; background: linear-gradient(transparent, var(--cream) 30%); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.subtotal { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -.04em; line-height: 1; }
.subtotal small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--text); margin-top: 6px; }

dialog.drawer-dlg { margin: 0 0 0 auto; height: 100svh; }
.drawer { width: min(520px, 100vw); height: 100svh; background: var(--cream); display: flex; flex-direction: column; animation: slideIn .55s var(--ease); box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .5); border-radius: 36px 0 0 36px; overflow: hidden; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { padding: 26px 30px 16px; display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-size: 38px; }
.drawer-head .x { position: static; }
.drawer-body { flex: 1; overflow: auto; overflow-x: hidden; padding: 12px 30px 22px; display: grid; gap: 14px; align-content: start; }
.drawer-body > *, .success > * { min-width: 0; max-width: 100%; }
.drawer-foot { padding: 18px 30px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.totals { display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.totals .t { display: flex; justify-content: space-between; }
.totals .t.big { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.04em; color: var(--dark); }
.notice { padding: 14px 16px; border-radius: 18px; background: var(--blush-2); font-size: 13.5px; color: var(--text); line-height: 1.55; }
.notice b { color: var(--accent); }
.bitem { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 18px; border-radius: 24px; border: 1px solid var(--line); background: #fff; animation: pop .45s var(--ease); }
.bitem h4 { font-size: 24px; }
.bitem p { font-size: 13px; color: var(--text); line-height: 1.5; }
.bitem .price { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-align: right; letter-spacing: -.03em; }
.bitem .bactions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.link { border-bottom: 1px solid currentColor; font-weight: 600; font-size: 13px; color: var(--bad); }
.empty { text-align: center; padding: 60px 10px; color: var(--text); }
.empty .big { display: block; font-family: var(--font-display); font-size: 56px; color: var(--accent-2); margin-bottom: 10px; }
.form-grid { display: grid; gap: 16px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-cards { display: grid; gap: 8px; }
.rcard { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .25s var(--ease); }
.rcard:hover { border-color: var(--accent); }
.rcard:has(input:checked) { border-color: var(--dark); background: var(--blush-2); }
.rcard.dis { opacity: .45; cursor: not-allowed; }
.rcard input { accent-color: var(--dark); width: 18px; height: 18px; }
.rcard b { display: block; font-size: 14px; } .rcard small { color: var(--text); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text); }
.check input { margin-top: 3px; accent-color: var(--dark); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 20px 0; display: grid; gap: 16px; justify-items: stretch; width: 100%; }
.success .tick, .success .order-no { justify-self: center; }
.success .tick { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 44px; font-weight: 800; animation: pop .7s var(--ease); }
.success h3 { font-size: 44px; }
.order-no { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; padding: 10px 24px; border-radius: 18px; border: 2px dashed var(--accent-2); }
.success .input { text-overflow: ellipsis; }
.next-steps { text-align: left; display: grid; gap: 12px; font-size: 14px; counter-reset: s; list-style: none; padding: 0; margin: 0; width: 100%; color: var(--text); }
.next-steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.next-steps li > span { min-width: 0; }
.next-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
canvas.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; }
.fly { position: fixed; z-index: 150; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 6px rgba(201, 128, 95, .3); pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 30px; background: var(--dark); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .4s var(--ease); z-index: 300; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
.toast.show { opacity: 1; translate: -50% 0; }
.policy { padding: 38px; display: grid; gap: 12px; }
.policy h2 { font-size: 48px; } .policy h3 { font-size: 24px; margin-top: 12px; letter-spacing: -.03em; }
.policy p, .policy li { color: var(--text); font-size: 15px; } .policy a { color: var(--accent); text-decoration: underline; }
.updated { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-radius: 999px; background: var(--dark); color: #fff; font-weight: 700; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .55); animation: pop .5s var(--ease); }
.dock b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--dark); margin-right: 8px; }
.dock-go { color: var(--blush); }

/* responsive */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-n { margin-bottom: 40px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 82px 12px auto 12px; flex-direction: column; padding: 12px; border-radius: 28px; background: rgba(255, 250, 246, .97); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-16px) scale(.98); opacity: 0; visibility: hidden; pointer-events: none; transition: all .35s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 15px 18px; font-size: 16px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .dock:not([hidden]) { display: flex; }
  footer { padding-bottom: 100px; }
  .area-grid, .stats { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; grid-template-rows: auto; }
  .show-img { grid-row: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .show-body { padding: 24px 14px 8px; } .show-foot { margin-left: 0; padding: 16px 14px 8px; }
  .perks-in { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .tile.t1 { grid-column: span 2; grid-row: span 2; }
  .tile.t3 { grid-row: span 1; } .tile.t5 { grid-column: span 2; }
  .hero { padding-top: 130px; }
  .how { border-radius: 32px 32px 0 0; }
  .drawer { border-radius: 28px 0 0 28px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1240px); }
  .brand span { display: none; }
  .nav { padding: 8px 8px 8px 12px; }
  .steps, .contact-cards, .form-grid .two { grid-template-columns: 1fr; }
  .step-n { margin-bottom: 24px; }
  .modal-head, .modal-body, .modal-foot { padding-left: 20px; padding-right: 20px; }
  .modal-head h2 { font-size: 32px; }
  .faq-q { padding: 20px; } .faq-a p { padding: 0 20px 22px; }
  .tabs { border-radius: 24px; }
  .show { border-radius: 28px; padding: 8px; }
  .show-img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .show-cols { grid-template-columns: 1fr; }
  .fan { margin-top: 50px; }
  .fan figure { border-width: 4px; border-radius: 22px; }
  .cta-panel { border-radius: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .perk { padding: 18px 8px; } .perk span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span, .pill-badge, .lead, .hero-actions, .try, .fan figure { opacity: 1; transform: none; filter: none; translate: none; }
  .hero h1 .line > span { transform: none; }
}

/* ===== phone polish ===== */
@media (max-width: 600px) {
  .hero { padding: 112px 0 56px; }
  .hero h1 { margin: 24px 0 22px; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .try { margin-top: 22px; }
  .fan { aspect-ratio: 1.75 / 1; margin-top: 32px; width: 100%; }
  .fan .f1 { width: 33%; left: 3%; } .fan .f3 { width: 33%; right: 3%; } .fan .f2 { width: 43%; left: 28.5%; }
  .section { padding: 72px 0; }
  .h2 { font-size: clamp(38px, 11.5vw, 56px); }
  .sub { font-size: 16px; }

  .tabs { display: flex; margin-inline: -14px; border-radius: 0; border-inline: 0; padding: 6px 14px; justify-content: flex-start; scroll-snap-type: x proximity; }
  .tab { scroll-snap-align: center; }
  .show-cols { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .show-body h3 { font-size: 34px; }
  .show-foot { gap: 12px; } .show-foot .btn { flex: 1 1 auto; }

  .menu-head { margin-bottom: 18px; }
  .cat-bar { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 4px 14px 8px; scrollbar-width: none; }
  .cat-bar::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .cat { flex: none; }
  .product-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -14px; padding: 6px 14px 26px; scrollbar-width: none; }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid .card { flex: 0 0 82%; scroll-snap-align: center; }
  .product-grid .card:hover { transform: none; }

  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 44px -14px 0; padding: 0 14px 16px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 78%; scroll-snap-align: center; }
  .step:hover { transform: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 20px 12px; border-radius: 22px; }
  .stat b { font-size: 42px; }
  .stat span { font-size: 11px; display: block; margin-top: 6px; line-height: 1.3; }

  .bento { grid-auto-rows: 150px; gap: 10px; margin-top: 40px; }
  .tile { border-radius: 22px; }
  .tile.t1 { grid-row: span 2; }
  .tile .zoom { display: none; } .tile figcaption { font-size: 15px; left: 12px; bottom: 12px; opacity: 1; transform: none; }
  .tile::after { opacity: 1; background: linear-gradient(180deg, transparent 60%, rgba(50, 29, 23, .65)); }

  .faq-wrap { margin-top: 36px; }
  .area-grid { margin-top: 36px; }
  .area-card .big { margin-bottom: 28px; }
  .cta-panel { padding: 44px 22px; }
  .contact-cards { margin-top: 40px; }
  .foot-word { font-size: 24vw; }
  .lb { border-radius: 24px; } .lb-cap { font-size: 18px; padding: 14px 18px; }
  .drawer { border-radius: 0; width: 100vw; }
  .modal { max-height: 100svh; width: 100vw; border-radius: 28px 28px 0 0; margin: auto 0 0; }
  dialog#productDlg { margin: auto 0 0; width: 100%; }
}

/* solid sticky footers in dialogs */
.modal-foot { background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 -14px 28px -18px rgba(50, 29, 23, .35); }
@media (max-width: 600px) { .modal-foot .btn { width: 100%; } .modal-foot .row { width: 100%; justify-content: space-between; } }

/* swipe strips: horizontal only, no vertical wobble, no hover jumps on touch */
@media (max-width: 600px) {
  .steps, .product-grid, .tabs, .cat-bar { overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
  .steps { padding-top: 6px; padding-bottom: 6px; }
  .steps .step, .steps .step[data-reveal], .steps .step[data-reveal].in { transition: opacity .6s var(--ease); filter: none; transform: none; will-change: auto; }
  .steps .step[data-reveal] { opacity: 0; }
  .steps .step[data-reveal].in { opacity: 1; }
  .step:hover, .step:active { transform: none; background: rgba(255, 250, 246, .05); border-color: rgba(255, 250, 246, .1); }
  .product-grid .card, .product-grid .card:hover, .product-grid .card:active { transform: none; box-shadow: none; }
}
@media (hover: none) {
  .step:hover, .card:hover, .area-card:hover, .tile:hover, .contact-card:hover { transform: none; }
}

/* performance + accessibility polish */
.btn-ghost, .pill-badge { backdrop-filter: none; }
.pill-badge { color: #7a4333; }
@media (max-width: 600px) {
  .glow { filter: blur(40px); }
  .glow.g2 { display: none; }
  .tab, .try button, .cat { min-height: 44px; }
  .try button { padding-inline: 18px; }
}
