:root {
  --ink: #141312;
  --coal: #1e1d1b;
  --ash: #2a2826;
  --line: #3a3734;
  --paper: #f2efe6;
  --mute: #b7b1a4;
  --leaf: #b6e35a;
  --leaf-deep: #8fbd36;
  --sun: #f3c64a;
  --rust: #e0674a;
  --display: "Anton", Impact, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1152px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .wrap { padding-left: 24px; padding-right: 24px; } }

.display { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; font-weight: 400; }
.leaf { color: var(--leaf); }
.mute { color: var(--mute); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.75rem; }
.kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.kicker.leaf { color: var(--leaf); }
.error { color: var(--rust); font-weight: 600; font-size: 0.875rem; }

@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.rise { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-4deg); } 100% { transform: scale(1); } }
.bump { animation: bump 0.45s ease; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Overlays */
.overlay { position: fixed; inset: 0; }
.age { z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(14,13,12,0.94); backdrop-filter: blur(4px); }
.age-card { width: 100%; max-width: 440px; background: var(--coal); border: 1px solid var(--line); border-radius: 28px; padding: 32px; text-align: center; }
.age-logo { height: 64px; width: auto; margin: 0 auto 24px; }
.age-card h2 { font-size: 2.25rem; }
.age-card p { margin-top: 12px; font-size: 0.875rem; }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.btn-age-yes { background: var(--leaf); color: var(--ink); font-weight: 600; padding: 14px; border-radius: 999px; transition: background .2s; }
.btn-age-yes:hover { background: var(--paper); }
.btn-age-no { border: 1px solid var(--line); color: var(--mute); font-weight: 600; padding: 14px; border-radius: 999px; transition: .2s; }
.btn-age-no:hover { border-color: var(--paper); color: var(--paper); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(20,19,18,0.9); backdrop-filter: blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.header-logo { height: 36px; width: auto; }
.header-nav { display: none; gap: 28px; font-size: 0.875rem; font-weight: 500; color: var(--mute); }
.header-nav a:hover { color: var(--paper); }
@media (min-width: 768px) { .header-nav { display: flex; } .header-logo { height: 44px; } }
.cart-pill { display: flex; align-items: center; gap: 10px; border: 2px solid var(--leaf); border-radius: 999px; padding: 6px 6px 6px 16px; font-size: 0.875rem; font-weight: 600; transition: .2s; }
.cart-count { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--leaf); color: var(--ink); transition: .2s; }
.cart-pill:hover { background: var(--leaf); color: var(--ink); }
.cart-pill:hover .cart-count { background: var(--ink); color: var(--leaf); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.grain { position: absolute; inset: 0; opacity: 0.6; background-image: radial-gradient(rgba(242,239,230,0.05) 1px, transparent 1px); background-size: 4px 4px; }
.hero-grid { position: relative; display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; padding-top: 80px; padding-bottom: 80px; } }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ash); color: var(--leaf); border-radius: 999px; padding: 6px 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 20px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.hero-title { font-size: clamp(3.2rem, 9vw, 6.6rem); }
.hero-lede { margin-top: 24px; max-width: 28rem; font-size: 1.125rem; color: var(--mute); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.btn-start { display: inline-flex; align-items: center; gap: 12px; background: var(--leaf); color: var(--ink); font-weight: 600; padding: 16px 24px; border-radius: 14px; box-shadow: 0 6px 0 var(--leaf-deep); transition: .15s; }
.btn-start:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--leaf-deep); }
.link-under { font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.collage-wrap { position: relative; width: 100%; max-width: 384px; margin: 0 auto; }
@media (min-width: 768px) { .collage-wrap { max-width: none; } }
.collage-back { position: absolute; inset: -24px; transform: rotate(3deg); border-radius: 40px; background: var(--leaf); opacity: 0.9; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; border-radius: 32px; background: var(--coal); }
.collage div { overflow: hidden; border-radius: 22px; background: var(--paper); }
.collage div:nth-child(even) { transform: translateY(20px); }
.collage img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.band { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sun); color: var(--ink); padding: 12px 0; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; padding: 0 20px; white-space: nowrap; }

/* Promo */
.promo-wrap { padding-top: 48px; }
.promo { display: flex; flex-direction: column; gap: 16px; border: 2px dashed var(--leaf); border-radius: 24px; padding: 24px; }
@media (min-width: 640px) { .promo { flex-direction: row; align-items: center; justify-content: space-between; } }
.promo-title { font-size: 1.9rem; margin-bottom: 4px; }
@media (min-width: 640px) { .promo-title { font-size: 2.25rem; } }
.promo-tag { align-self: flex-start; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 8px 16px; font-size: 1.5rem; }
@media (min-width: 640px) { .promo-tag { align-self: auto; } }

/* Shop */
.shop { padding-top: 56px; padding-bottom: 56px; scroll-margin-top: 80px; }
.shop-head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .shop-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.section-title { font-size: 3rem; }
@media (min-width: 640px) { .section-title { font-size: 3.75rem; } }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chips { margin: 0; padding: 0; } }
.chip { flex-shrink: 0; border-radius: 10px; padding: 8px 16px; font-size: 0.875rem; font-weight: 600; background: var(--ash); color: var(--mute); transition: .2s; }
.chip:hover { color: var(--paper); }
.chip.on { background: var(--paper); color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .grid { gap: 20px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--coal); }
.card-img { display: block; overflow: hidden; background: var(--paper); width: 100%; }
.card-img img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.06) rotate(-1.5deg); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px; }
@media (min-width: 640px) { .card-body { padding: 16px; } }
.card-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--leaf); }
.card-name { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 640px) { .card-name { font-size: 1rem; } }
.card-price { margin-top: auto; font-size: 0.875rem; color: var(--mute); }
.card-add { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: var(--ash); padding: 8px 8px 8px 16px; font-size: 0.875rem; font-weight: 600; transition: .2s; }
.card-add span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--leaf); }
.card:hover .card-add { background: var(--leaf); color: var(--ink); }

/* How */
.how { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--coal); padding: 64px 0; scroll-margin-top: 80px; }
.steps { list-style: none; display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--ink); border-radius: 22px; padding: 24px; }
.step-num { font-size: 3.75rem; color: var(--leaf); }
.steps h3 { margin-top: 12px; font-size: 1.125rem; font-weight: 600; }
.steps p { margin-top: 8px; font-size: 0.875rem; color: var(--mute); line-height: 1.6; }

/* Footer */
.footer { padding-top: 56px; padding-bottom: 56px; }
.footer-top { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
.footer-mail { display: block; margin-top: 4px; font-size: 1.9rem; transition: color .2s; word-break: break-all; }
.footer-mail:hover { color: var(--leaf); }
@media (min-width: 640px) { .footer-mail { font-size: 2.25rem; } }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--mute); line-height: 1.6; display: grid; gap: 8px; }

/* Product sheet */
.sheet-overlay { z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(14,13,12,0.75); }
@media (min-width: 640px) { .sheet-overlay { align-items: center; padding: 24px; } }
.sheet { width: 100%; max-width: 768px; max-height: 92dvh; overflow-y: auto; background: var(--coal); border-radius: 28px 28px 0 0; }
@media (min-width: 640px) { .sheet { border-radius: 28px; } }
.sheet-grid { display: grid; }
@media (min-width: 640px) { .sheet-grid { grid-template-columns: 1fr 1fr; } }
.sheet-img-wrap { position: relative; background: var(--paper); }
.sheet-img-wrap img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.sheet-body { display: flex; flex-direction: column; gap: 20px; padding: 20px; }
@media (min-width: 640px) { .sheet-body { padding: 28px; } }
.sheet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet-name { margin-top: 4px; font-size: 1.9rem; }
.sheet-price { font-size: 1.9rem; color: var(--leaf); }
.close-round { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.close-ring { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.close-ring:hover { border-color: var(--paper); }
.mobile-only { display: flex; }
.desktop-only { display: none; }
@media (min-width: 640px) { .mobile-only { display: none; } .desktop-only { display: flex; } }
fieldset { border: 0; }
legend { margin-bottom: 8px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-size { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 0.875rem; font-weight: 600; transition: .2s; }
.opt-size:hover { border-color: var(--paper); }
.opt-size small { opacity: 0.7; font-size: inherit; font-weight: 500; }
.opt-size.on { border-color: var(--leaf); background: var(--leaf); color: var(--ink); }
.opt-pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.75rem; font-weight: 600; transition: .2s; }
.opt-pill:hover { border-color: var(--paper); }
.opt-pill.on { border-color: var(--sun); background: var(--sun); color: var(--ink); }
.sheet-add-row { display: flex; align-items: center; gap: 12px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 44px; height: 44px; font-size: 1.25rem; }
.stepper span { width: 32px; text-align: center; font-weight: 600; }
.btn-add { flex: 1; background: var(--leaf); color: var(--ink); font-weight: 600; padding: 12px; border-radius: 999px; transition: background .2s; }
.btn-add:hover { background: var(--paper); }
.sheet-desc { white-space: pre-line; border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.875rem; line-height: 1.6; color: var(--mute); }

/* Drawer */
.drawer-overlay { z-index: 70; display: flex; justify-content: flex-end; background: rgba(14,13,12,0.7); }
.drawer { display: flex; flex-direction: column; height: 100%; width: 100%; max-width: 448px; background: var(--coal); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 16px 20px; }
.drawer-head h2 { font-size: 1.9rem; }
.drawer-section { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.drawer-center { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; text-align: center; }
.big { font-size: 2rem; }
.btn-browse { margin-top: 12px; background: var(--leaf); color: var(--ink); font-weight: 600; padding: 12px 24px; border-radius: 999px; }
.lines { list-style: none; flex: 1; overflow-y: auto; padding: 0 20px; }
.lines li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lines li:last-child { border-bottom: 0; }
.line-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; background: var(--paper); object-fit: cover; }
.line-info { min-width: 0; flex: 1; }
.line-name { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.line-meta { font-size: 0.75rem; color: var(--mute); }
.line-bottom { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.mini-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; }
.mini-stepper button { width: 32px; height: 32px; }
.mini-stepper span { width: 24px; text-align: center; }
.line-total { font-size: 0.875rem; font-weight: 600; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 8px; font-size: 0.875rem; }
.nudge { background: var(--ash); border-radius: 10px; padding: 8px 12px; font-size: 0.75rem; color: var(--mute); }
.nudge b { color: var(--leaf); }
.row { display: flex; justify-content: space-between; }
.row.total { font-size: 1.125rem; font-weight: 600; }
.btn-send { margin-top: 8px; width: 100%; background: var(--leaf); color: var(--ink); font-weight: 600; padding: 16px; border-radius: 14px; box-shadow: 0 5px 0 var(--leaf-deep); transition: .15s; }
.btn-send:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--leaf-deep); }
.form-fields { flex: 1; overflow-y: auto; padding: 20px; display: grid; gap: 12px; align-content: start; }
.form-fields input:not([type=checkbox]), .form-fields textarea { width: 100%; border: 1px solid var(--line); background: var(--ink); border-radius: 12px; padding: 12px 14px; font-size: 0.875rem; outline: none; transition: border-color .2s; resize: vertical; }
.form-fields input:focus, .form-fields textarea:focus { border-color: var(--leaf); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.875rem; color: var(--mute); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf); }
.form-actions { display: flex; gap: 8px; }
.btn-back { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; font-weight: 600; }
.btn-back:hover { border-color: var(--paper); }
.btn-submit { flex: 1; background: var(--leaf); color: var(--ink); font-weight: 600; padding: 16px; border-radius: 14px; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }
.done-check { width: 80px; height: 80px; border-radius: 50%; background: var(--leaf); color: var(--ink); font-size: 2.25rem; display: flex; align-items: center; justify-content: center; }
#done-text b { color: var(--paper); }

/* Toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 65; display: flex; align-items: center; gap: 16px; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 8px 8px 20px; font-size: 0.875rem; font-weight: 600; box-shadow: 0 20px 40px rgba(0,0,0,.4); white-space: nowrap; }
.toast button { background: var(--ink); color: var(--leaf); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee, .rise, .bump { animation: none !important; }
  .card-img img { transition: none; }
}
