/* Pomma — layout mirrors the reference: airy off-white canvas, huge heavy grotesk,
   pastel mint→blush cards, phone mockups, staggered feature tiles, mint band. */
:root {
  --bg: #f7f7f6;
  --surface: #ffffff;
  --ink: #0b0b0b;
  --muted: #5b5f5c;
  --line: #e6e8e6;
  --mint: #c5ebcb;
  --mint-soft: #e3f4e6;
  --blush: #f6cfd3;
  --blush-soft: #fbe6e8;
  --lilac: #e4e1f6;
  --sky: #eef0fb;
  --accent: #0b0b0b;
  --on-accent: #ffffff;
  --success: #2f8f4e;
  --danger: #c2413b;
  --shadow: 0 20px 50px -20px rgba(15, 30, 20, .25);
  --radius: 14px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1110; --surface: #181b19; --ink: #f2f3f1; --muted: #a3a9a5; --line: #2a2f2c;
    --mint: #234a2c; --mint-soft: #18291c; --blush: #4b2a2e; --blush-soft: #2a1c1e;
    --lilac: #2b2840; --sky: #1c1e2a; --accent: #f2f3f1; --on-accent: #0b0b0b;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1110; --surface: #181b19; --ink: #f2f3f1; --muted: #a3a9a5; --line: #2a2f2c;
  --mint: #234a2c; --mint-soft: #18291c; --blush: #4b2a2e; --blush-soft: #2a1c1e;
  --lilac: #2b2840; --sky: #1c1e2a; --accent: #f2f3f1; --on-accent: #0b0b0b;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display); font-weight: 800; font-stretch: 112%;
  letter-spacing: -.035em; line-height: .95; margin: 0; text-wrap: balance;
}
.h-xxl { font-size: clamp(3rem, 8.4vw, 6.6rem); }
.h-xl { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h-lg { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-md { font-size: 1.15rem; font-weight: 800; font-stretch: 110%; letter-spacing: -.01em; margin: 0; }
.lead { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.01em; margin: 0; }
.small { font-size: .85rem; color: var(--muted); }
.eyebrow { font-size: .78rem; letter-spacing: .02em; color: var(--ink); opacity: .8; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.35rem; letter-spacing: -.03em; text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: transform .2s;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-count { background: var(--accent); color: var(--on-accent); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 700; padding: 0 6px; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .burger { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); padding: 8px var(--gut-r) 20px var(--gut-l);
    border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); transition: clip-path .35s ease;
  }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.3rem; font-weight: 700; }
}

/* ---------- Buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: .92rem; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.mint { background: var(--mint); color: var(--ink); }
.btn.block { width: 100%; }

.pill-form {
  display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 5px 5px 20px; max-width: 420px; box-shadow: 0 4px 18px -12px rgba(0,0,0,.25);
}
.pill-form input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 8px 0; font-size: .95rem; }
.form-msg { font-size: .85rem; margin-top: 10px; min-height: 1.3em; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--danger); }

.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 13px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--mint-soft); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field .err-text { color: var(--danger); font-size: .78rem; min-height: 1em; }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: 520px; position: relative; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .h-xxl span { display: block; }
.hero-art { position: relative; height: 560px; }
.hero-card {
  position: absolute; left: -50px; top: 110px; width: 290px; height: 190px;
  transform: rotate(28deg); border-radius: 16px;
  background: linear-gradient(160deg, #c8f0cf 0%, #f3d9da 55%, #f4c3cb 100%);
  box-shadow: var(--shadow); padding: 18px 22px; color: #0b0b0b;
  animation: floatCard 7s ease-in-out infinite;
}
.hero-card .card-name { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.6rem; letter-spacing: -.03em; position: absolute; right: 24px; top: 16px; }
.chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #e5e5e5, #b9b9b9); position: absolute; left: 24px; top: 54px; }
.chip::after { content: ""; position: absolute; inset: 6px 8px; border: 1px solid rgba(0,0,0,.2); border-radius: 3px; }
.hero-card .card-sub { position: absolute; left: 24px; bottom: 18px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.hero-photo {
  position: absolute; left: -50px; top: 100px; width: 300px; margin: 0; padding: 12px 12px 14px;
  border-radius: 22px; background: linear-gradient(160deg, #c8f0cf 0%, #f3d9da 60%, #f4c3cb 100%);
  box-shadow: var(--shadow); transform: rotate(-10deg); animation: floatPhoto 7s ease-in-out infinite; color: #0b0b0b;
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--mint); }
.hero-photo figcaption { font-size: .8rem; font-weight: 700; padding: 10px 4px 0; }
@keyframes floatPhoto { 0%,100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-14px); } }
@keyframes floatCard { 0%,100% { transform: rotate(28deg) translateY(0); } 50% { transform: rotate(25deg) translateY(-14px); } }
.hero-art .phone { position: absolute; right: 0; top: 10px; transform: rotate(4deg); animation: floatPhone 8s ease-in-out infinite; }
@keyframes floatPhone { 0%,100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }

.award {
  position: absolute; right: 0; bottom: 30px; width: 86px; height: 86px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; text-align: center;
  font-size: .62rem; line-height: 1.2; font-weight: 700; animation: spin 18s linear infinite;
}
.award b { display: block; font-family: var(--display); font-size: 1.1rem; font-stretch: 112%; }
.award .dot { width: 14px; height: 14px; border-radius: 50%; background: #e94a4a; margin: 0 auto 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero entrance */
.intro > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.intro > *:nth-child(2) { animation-delay: .12s; }
.intro > *:nth-child(3) { animation-delay: .24s; }
.intro > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Phone mockup ---------- */
.phone {
  width: 270px; aspect-ratio: 9 / 19; max-width: 100%; background: #0b0b0b; border-radius: 42px; padding: 9px;
  box-shadow: var(--shadow), inset 0 0 0 2px #2b2b2b;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #d8f2dc 0%, #f4faf4 40%, #fff 100%); color: #0b0b0b; font-size: 10px; }
.island { width: 80px; height: 22px; border-radius: 20px; background: #0b0b0b; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); }
.status { display: flex; justify-content: space-between; padding: 12px 22px 0; font-weight: 700; font-size: 9px; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 14px 8px; }
.app-top .t { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 15px; }
.avatar { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #0b0b0b; }
.app-card { background: rgba(255,255,255,.85); margin: 6px 10px; border-radius: 12px; padding: 9px 10px; box-shadow: 0 2px 8px -4px rgba(0,0,0,.15); }
.app-row { display: flex; align-items: center; gap: 8px; }
.app-row .ico { width: 22px; height: 22px; border-radius: 6px; background: var(--blush-soft); display: grid; place-items: center; font-size: 11px; }
.app-row .grow { flex: 1; min-width: 0; }
.app-row .grow b { display: block; font-size: 9.5px; }
.app-row .grow i { font-style: normal; color: #6b6f6c; font-size: 8px; }
.big-amount { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.round-btns { display: flex; gap: 14px; }
.round-btns div { display: grid; justify-items: center; gap: 3px; font-size: 7.5px; }
.round-btns span { width: 26px; height: 26px; border-radius: 50%; background: #0b0b0b; color: #fff; display: grid; place-items: center; font-size: 12px; }
.items-label { font-size: 8px; color: #6b6f6c; padding: 6px 14px 2px; }
.item-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eef0ee; }
.item-row:last-child { border: 0; }
.item-row img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--mint); }
.item-row .grow b { display: block; font-size: 9px; }
.item-row .grow i { font-style: normal; color: #6b6f6c; font-size: 7.5px; }
.item-row .p { text-align: right; font-variant-numeric: tabular-nums; }
.item-row .p i { display: block; font-style: normal; color: #8a8f8b; font-size: 7.5px; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; background: rgba(255,255,255,.9); border-radius: 18px; padding: 8px 0; font-size: 7.5px; box-shadow: 0 -2px 10px -6px rgba(0,0,0,.2); }
.tabbar div { display: grid; justify-items: center; gap: 2px; }
.tabbar div span { width: 12px; height: 12px; border: 1.5px solid #0b0b0b; border-radius: 4px; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 12px 14px; box-shadow: 0 -10px 30px -10px rgba(0,0,0,.2); }
.sheet .grab { width: 34px; height: 4px; border-radius: 4px; background: #d7d9d7; margin: 0 auto 10px; }
.sheet .total { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.sheet .opt { display: flex; justify-content: space-between; align-items: center; border: 1px solid #eef0ee; border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; }
.sheet .opt.on { border-color: #9fd9a8; }
.sheet .cta { background: #c5ebcb; border-radius: 20px; text-align: center; padding: 8px; font-weight: 700; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding-block: 100px; }
.section-title { text-align: center; margin-bottom: 70px; }

/* Why people choose — staggered tiles */
.stagger { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; column-gap: 120px; row-gap: 40px; }
.tile { display: grid; gap: 14px; max-width: 300px; }
.tile:nth-child(even) { grid-column: 2; margin-top: 60px; }
.tile:nth-child(odd) { grid-column: 1; }
.tile-media { aspect-ratio: 1; border-radius: 6px; overflow: hidden; position: relative; display: grid; place-items: center; }
.tile-media.mint { background: linear-gradient(180deg, var(--sky) 0%, var(--mint-soft) 100%); }
.tile-media.blush { background: linear-gradient(180deg, #f4eef0 0%, var(--blush-soft) 100%); }
.tile-media img.photo { width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 24px 40px -18px rgba(0,0,0,.4); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-media img.photo { transform: scale(1.06) rotate(-6deg); }
.tile p { margin: 0; font-size: .85rem; max-width: 30ch; }
.mini-card { width: 72%; aspect-ratio: 1.6; border-radius: 12px; background: linear-gradient(110deg, #c6efcc 0%, #f5d7d9 55%, #f3c3cb 100%); position: relative; transform: rotate(4deg); box-shadow: 0 20px 30px -18px rgba(0,0,0,.35); transition: transform .6s; color: #0b0b0b; }
.tile:hover .mini-card { transform: rotate(-2deg) scale(1.04); }
.mini-card b { position: absolute; left: 14px; top: 10px; font-family: var(--display); font-stretch: 112%; font-size: 1.3rem; letter-spacing: -.03em; }
.mini-card .chip { top: 50px; left: 16px; width: 24px; height: 18px; }
.coins { display: flex; }
.coins img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); margin-left: -12px; transition: transform .3s; background: var(--mint); }
.coins img:first-child { margin-left: 0; }
.tile:hover .coins img { transform: translateY(-6px); }
.tile:hover .coins img:nth-child(2n) { transform: translateY(6px); }

/* Big band title */
.band-title { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; padding-block: 60px 40px; }
.band-title .display { font-stretch: 105%; line-height: .9; }
.dot-big { width: clamp(28px, 4vw, 44px); height: clamp(28px, 4vw, 44px); border-radius: 50%; background: var(--mint); display: inline-block; vertical-align: middle; animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.18); } }

.mint-band { background: var(--mint); padding-block: 50px 110px; }
.mint-band .center { text-align: center; margin-bottom: 30px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 30px; }
.feature-row .phone { width: 240px; margin: 0 auto; transform: rotate(-4deg); }
.feature-row.flip .phone { transform: rotate(4deg); }
.feature-row.flip .feature-copy { order: -1; text-align: right; justify-self: end; }
.feature-copy { display: grid; gap: 10px; max-width: 340px; }
.feature-copy .display { font-size: clamp(1.6rem, 3vw, 2.2rem); font-stretch: 105%; line-height: 1.02; }
.feature-copy p { margin: 0; font-size: .95rem; }

/* How we make it — horizontal cards */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 20px; overflow-x: auto; padding: 10px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.how-card { scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); padding: 28px 22px 40px; min-height: 230px; display: grid; align-content: start; gap: 12px; box-shadow: 0 10px 30px -22px rgba(0,0,0,.4); transition: transform .3s, box-shadow .3s; }
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.how-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.how-ico svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.bg-mint { background: var(--mint); } .bg-blush { background: var(--blush); } .bg-lilac { background: var(--lilac); } .bg-sky { background: var(--sky); }
.how-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.15; font-weight: 800; font-stretch: 108%; }
.how-card p { margin: 0; font-size: .82rem; color: var(--muted); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marq 30s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.6rem; letter-spacing: -.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--blush); }
@keyframes marq { to { transform: translateX(-50%); } }

/* CTA */
.cta-block { background: linear-gradient(120deg, var(--mint) 0%, var(--blush-soft) 100%); border-radius: 28px; padding: clamp(32px, 6vw, 70px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }

/* ---------- Menu page ---------- */
.page-head { padding-block: 60px 30px; display: grid; gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: .9rem; transition: background .2s, color .2s; }
.filter.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.search { flex: 1 1 220px; max-width: 320px; margin-left: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 16px; outline: none; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product { background: var(--surface); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 10px 30px -24px rgba(0,0,0,.5); transition: transform .35s, box-shadow .35s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: linear-gradient(180deg, var(--sky), var(--mint-soft)); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.product:hover .product-media img { transform: scale(1.07); }
.tag { position: absolute; left: 12px; top: 12px; background: var(--surface); border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; }
.product-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.product-body p { margin: 0; font-size: .85rem; color: var(--muted); }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.add-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 1.3rem; cursor: pointer; transition: transform .25s; }
.add-btn:hover { transform: rotate(90deg) scale(1.08); }
.meta { display: flex; gap: 10px; font-size: .75rem; color: var(--muted); }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- Cart drawer & page ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90; background: var(--bg);
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
}
.drawer { visibility: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; }
.drawer.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 10px 22px; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: rise .4s ease both; }
.line-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--mint); }
.line-item .name { font-weight: 700; font-size: .95rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; background: var(--surface); }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 1rem; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.line-right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .78rem; text-decoration: underline; }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; font-variant-numeric: tabular-nums; }
.sum-row.total { font-size: 1.2rem; font-weight: 800; }

.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 100px; }
.panel { background: var(--surface); border-radius: 20px; padding: 26px; box-shadow: 0 10px 30px -26px rgba(0,0,0,.5); }
.panel + .panel { margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); }
.success-box { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 10px; }
.check { width: 70px; height: 70px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
.check svg { width: 30px; stroke: var(--ink); stroke-width: 3; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; padding-bottom: 100px; align-items: start; }
.info-list { display: grid; gap: 16px; margin-top: 26px; }
.info-item { display: flex; gap: 14px; align-items: center; }
.info-item .how-ico { margin: 0; flex: none; }
.rating { display: flex; gap: 6px; }
.rating input { position: absolute; opacity: 0; pointer-events: none; }
.rating label { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; font-weight: 700; transition: background .2s, transform .2s; }
.rating input:checked + label { background: var(--mint); transform: scale(1.08); }
.rating input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 1.3rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 60px 40px; }
.photo-stack { position: relative; height: 460px; }
.photo-stack img { position: absolute; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow); background: var(--mint); }
.photo-stack img:nth-child(1) { width: 62%; height: 75%; left: 0; top: 0; transform: rotate(-4deg); }
.photo-stack img:nth-child(2) { width: 55%; height: 62%; right: 0; bottom: 0; transform: rotate(5deg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 40px; border-block: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: .85rem; color: var(--muted); }
.timeline { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-item b { font-family: var(--display); font-stretch: 112%; font-size: 1.3rem; }
.tl-item p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); padding-block: 70px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { margin: 0 0 12px; font-size: .85rem; opacity: .6; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; opacity: .9; }
.foot-grid a:hover { opacity: 1; text-decoration: underline; }
.foot-big { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: clamp(4rem, 17vw, 14rem); letter-spacing: -.05em; line-height: .8; margin-top: 60px; opacity: .95; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; opacity: .6; margin-top: 30px; }
.site-footer .pill-form { background: transparent; border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
.site-footer .pill-form input { color: var(--bg); }
.site-footer .pill-form input::placeholder { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.site-footer .btn { background: var(--bg); color: var(--ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); background: var(--accent); color: var(--on-accent); padding: 12px 20px; border-radius: 999px; font-size: .9rem; z-index: 100; transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.fly { position: fixed; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; z-index: 110; pointer-events: none; transition: transform .7s cubic-bezier(.5,-.3,.7,.6), opacity .7s; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-hero, .contact-grid, .cart-layout, .cta-block { grid-template-columns: 1fr; }
  .hero-art { height: 520px; max-width: 480px; width: 100%; margin: 0 auto; }
  .stagger { column-gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-photo { left: 0; width: 210px; top: 70px; }
  .section { padding-block: 70px; }
  .stagger { grid-template-columns: minmax(0, 340px); }
  .tile:nth-child(even), .tile:nth-child(odd) { grid-column: 1; margin-top: 0; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; text-align: left; }
  .feature-row.flip .feature-copy { order: 0; text-align: left; justify-self: start; }
  .hero-art { height: 470px; }
  .hero-card { width: 220px; height: 140px; top: 60px; }
  .hero-art .phone { width: 220px; right: 0; }
  .award { width: 72px; height: 72px; bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .search { max-width: none; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
