:root {
  --ground: #F3EEE5;
  --ink: #1D2A22;
  --muted: #4D5A51;
  --lime: #C9E35A;
  --apricot: #F2C3A0;
  --apricot-soft: #FBEDE2;
  --line: #CFC5B5;
  --card: #FFFFFF;
  --photo: #E9E2D6;
  --dark-muted: #C8D0CA;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Promo + header */
.promo { background: var(--ink); color: var(--ground); text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 500; }
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.logo i { width: 12px; height: 12px; border-radius: 6px; background: var(--lime); display: inline-block; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: none; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; }
.btn:hover { background: #2C3B31; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: rgba(29, 42, 34, 0.06); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #BCD64C; }
.btn-block { width: 100%; min-height: 64px; font-size: 18px; }
.btn-back { align-self: flex-start; min-height: 44px; padding: 0 16px 0 10px; border-radius: 22px; border: 1px solid var(--line); background: transparent; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 24px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.chip { align-self: flex-start; background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 9vw, 120px); line-height: 0.92; letter-spacing: -0.045em; }
.hero h1 span { background: var(--lime); border-radius: 24px; padding: 0 16px; margin-left: -8px; display: inline-block; }
.hero p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 480px; min-width: 0; }
.collage { position: relative; width: 100%; aspect-ratio: 1 / 1.02; }
.collage img { position: absolute; object-fit: cover; }
.collage .c1 { left: 0; top: 8%; width: 60%; height: 72%; border-radius: 999px 999px 32px 32px; }
.collage .c2 { right: 0; top: 0; width: 37%; height: 38%; border-radius: 32px; }
.collage .c3 { right: 0; bottom: 0; width: 48%; height: 58%; border-radius: 999px 999px 32px 32px; border: 8px solid var(--ground); }
.sticker { position: absolute; left: 6%; bottom: 2%; width: 150px; height: 150px; border-radius: 75px; background: var(--lime); display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.05; transform: rotate(-10deg); }

.marquee { background: var(--ink); color: var(--lime); overflow: hidden; white-space: nowrap; padding: 18px 0; font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.02em; }
.marquee span { display: inline-block; animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding-top: 88px; padding-bottom: 72px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }

/* Herd grid */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 280px; min-width: 0; background: var(--card); border-radius: 28px; padding: 12px; display: flex; flex-direction: column; gap: 14px; }
.card-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--photo); display: block; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-photo img { transform: scale(1.03); }
.card-type { position: absolute; top: 12px; left: 12px; background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.card-body { padding: 0 6px; display: flex; flex-direction: column; gap: 4px; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; min-height: 44px; }
.dots { padding: 0 6px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.dot { width: 20px; height: 20px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.card-foot { padding: 0 6px 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-family: var(--display); font-weight: 700; font-size: 22px; }
.card .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }

/* Why */
.why { background: var(--apricot); border-radius: 40px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px; }
.why .h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 820px; }
.why-list { display: flex; flex-wrap: wrap; gap: 16px; }
.why-item { flex: 1 1 240px; min-width: 0; background: var(--apricot-soft); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.why-item b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.why-item span { color: #3F3A33; }

/* Designers */
.designers { background: var(--ink); color: var(--ground); }
.designers-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.designers-photos { flex: 1 1 440px; min-width: 0; display: flex; gap: 16px; }
.designers-photos img { flex: 1 1 0; min-width: 0; height: 440px; object-fit: cover; border-radius: 28px; }
.designers-photos img:first-child { border-radius: 999px 999px 28px 28px; }
.designers-photos img:last-child { margin-top: 48px; }
.designers-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.designers .eyebrow { color: var(--lime); }
.designers .h2 { font-size: clamp(30px, 4vw, 48px); }
.designers p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--dark-muted); }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-weight: 500; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.inline-form input { height: 54px; border-radius: 27px; border: 1px solid var(--muted); background: #26352C; color: var(--ground); padding: 0 20px; font-size: 16px; }
.inline-form .btn { min-height: 54px; }
.form-ok { color: var(--lime); font-weight: 700; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.faq .h2 { flex: 1 1 320px; font-size: clamp(30px, 4vw, 48px); }
.faq-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

/* Product */
.page { padding-top: 16px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }
.product { display: flex; flex-wrap: wrap; gap: 48px; }
.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--photo); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { position: absolute; left: 16px; bottom: 16px; background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs button { width: 88px; height: 88px; padding: 0; border-radius: 18px; overflow: hidden; border: 3px solid transparent; background: var(--photo); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.buybox h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.04em; }
.buybox .lead { margin: 0; font-size: 20px; line-height: 1.5; color: var(--muted); }
.big-price { font-family: var(--display); font-weight: 800; font-size: 36px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { width: 48px; height: 48px; border-radius: 24px; border: 3px solid var(--ground); box-shadow: 0 0 0 2px transparent, inset 0 0 0 1px rgba(0,0,0,0.12); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 1px rgba(0,0,0,0.12); }
.perks-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 700; color: var(--muted); }
.specs { border-top: 1px solid var(--line); margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); text-align: right; }

/* Checkout + forms */
.narrow { max-width: 1080px; }
.page-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 48px); letter-spacing: -0.03em; }
.checkout { display: flex; flex-wrap: wrap-reverse; gap: 32px; align-items: flex-start; }
.panel { flex: 3 1 400px; min-width: 0; background: var(--card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.panel-title { font-family: var(--display); font-weight: 800; font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.field input, .field select { height: 54px; border-radius: 14px; border: 1px solid var(--line); padding: 0 16px; font-size: 16px; background: #fff; font-weight: 400; }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.field-row .field { flex: 1 1 180px; }
.err { color: #B3261E; font-size: 13px; font-weight: 500; }
.small { text-align: center; font-size: 13px; color: var(--muted); }
.small a { color: var(--muted); }
.summary { flex: 2 1 300px; min-width: 0; background: var(--photo); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.summary-item { display: flex; gap: 14px; align-items: center; }
.summary-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 18px; }
.summary-row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.summary-total { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #3B463F; font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--ink); }

/* Reserve */
.reserve { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 24px; }
.reserve-photo { flex: 1 1 380px; min-width: 0; position: relative; border-radius: 999px 999px 32px 32px; overflow: hidden; aspect-ratio: 1 / 1.05; background: var(--photo); }
.reserve-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: var(--lime); border-radius: 16px; padding: 14px 26px; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; white-space: nowrap; }
.reserve-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.reserve-copy h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.reserve-copy > p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.reserve .ticks { font-weight: 700; }

/* Thanks */
.thanks { max-width: 760px; margin: 0 auto; padding: 64px 24px 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.thanks-icon { width: 96px; height: 96px; border-radius: 48px; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.thanks h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.thanks p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); }
.share { background: var(--card); border-radius: 24px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; font-weight: 700; }
.share .btn { min-height: 48px; font-size: 15px; }

/* Footer */
.footer { background: var(--ink); color: var(--dark-muted); }
.footer-in { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer .logo { color: var(--ground); font-size: 26px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--ground); }
.footer-legal { border-top: 1px solid #33443A; padding-top: 20px; padding-bottom: 28px; font-size: 13px; }

/* Cookie banner */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin-left: auto; background: var(--card); border-radius: 24px; padding: 20px; box-shadow: 0 12px 40px rgba(29, 42, 34, 0.22); display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; color: var(--muted); }
.cookies-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookies-actions .btn { flex: 1 1 140px; min-height: 48px; font-size: 15px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 24px 96px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.05; }
.legal h2 { font-family: var(--display); font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: #3B463F; line-height: 1.65; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .hero { gap: 32px; padding-bottom: 48px; }
  .hero p { font-size: 18px; }
  .sticker { width: 112px; height: 112px; font-size: 15px; padding: 12px; }
  .marquee { font-size: 30px; padding: 14px 0; }
  .section, .faq { padding-top: 56px; padding-bottom: 56px; }
  .designers-in { padding-top: 56px; padding-bottom: 56px; }
  .designers-photos img { height: 280px; }
  .panel { padding: 20px; }
  .badge { font-size: 26px; }
  .thumbs button { width: 64px; height: 64px; border-radius: 14px; }
  .cookies { left: 12px; right: 12px; bottom: 12px; padding: 16px; gap: 10px; font-size: 13px; }
}
