/* ==========================================================================
   Kakawa — palette & type taken from the "Overtime" design in the video
   ========================================================================== */
:root {
  --bg:        #241a14;   /* espresso page background            */
  --bg-2:      #2b2019;   /* raised band (stats, newsletter)      */
  --card:      #30241c;   /* card surface                         */
  --card-2:    #382a20;   /* card hover                           */
  --line:      rgba(241, 226, 204, .09);
  --line-2:    rgba(241, 226, 204, .16);
  --cream:     #f2e6d3;   /* headings, cream pill buttons         */
  --text:      #e9dccb;
  --muted:     #a8988a;
  --gold:      #e0a82e;   /* "+" buttons, stars, eyebrow          */
  --gold-soft: #c9a36a;   /* single soft gold used across the hero */
  --dark:      #1b130e;

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; color: var(--cream); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; margin: .2em 0 .35em; }
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin: .15em 0 .4em; }
.h1 em, .h2 em, .hero__title em { color: var(--gold-soft); font-style: italic; }
.eyebrow {
  font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 10px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; border: 1px solid transparent;
  border-radius: 999px; padding: 14px 26px; font: 600 12px/1 var(--sans);
  letter-spacing: .12em; text-transform: uppercase; transition: .35s var(--ease);
  white-space: nowrap;
}
.btn--cream { background: var(--cream); color: var(--dark); padding-right: 8px; }
.btn--cream:not(:has(.btn__circle)) { padding-right: 26px; }
.btn--cream:hover { background: #fff6e8; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--cream); background: transparent; letter-spacing: .08em; text-transform: none; font-size: 13px; }
.btn--ghost:hover { border-color: var(--cream); background: rgba(242, 230, 211, .06); }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--outline { border-color: rgba(242, 230, 211, .32); color: var(--cream); background: transparent; }
.btn--outline:hover { border-color: var(--cream); background: rgba(242, 230, 211, .06); }
.btn--gold:hover { background: #f0bb45; }
.btn--sm { padding: 10px 18px; font-size: 12px; letter-spacing: .02em; text-transform: none; gap: 8px; }
.btn--block { width: 100%; justify-content: center; }
.btn__circle {
  width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: var(--cream);
  display: grid; place-items: center; font-size: 14px; letter-spacing: 0; transition: transform .35s var(--ease);
}
.btn:hover .btn__circle { transform: translateX(3px) rotate(-45deg); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; gap: 6px; font-size: 13px; color: var(--cream); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--gold); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: .4s var(--ease);
  background: linear-gradient(rgba(27, 19, 14, .75), rgba(27, 19, 14, 0));
}
.nav.is-scrolled { background: rgba(32, 23, 17, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.logo__icon { color: var(--cream); display: grid; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font: 500 19px var(--serif); }
.logo__text small { font: 500 8px var(--sans); letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
.nav__links { display: flex; gap: 34px; font-size: 13px; }
.nav__links a { color: var(--muted); position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--cream);
}
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; color: var(--cream); border-radius: 50%; position: relative; transition: background .25s; }
.icon-btn:hover { background: rgba(242, 230, 211, .08); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--gold); color: var(--dark); font: 700 10px/17px var(--sans); text-align: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 10px; }
.burger span { display: block; height: 1.5px; background: var(--cream); margin: 5px 0; transition: .3s; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 210vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; --p: 0; }
.hero__bg {
  position: absolute; inset: -4%;
  background-size: 175% auto; background-position: 0% 50%; /* left part only: plain dark wood */
  filter: saturate(.8) brightness(.5) contrast(1.05); transform: scale(calc(1.06 - var(--p) * .06));
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 45%, transparent 30%, rgba(18, 12, 8, .55) 100%),
    linear-gradient(90deg, rgba(27, 19, 14, .9) 0%, rgba(27, 19, 14, .62) 45%, rgba(27, 19, 14, .3) 72%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0; padding-top: 4px;
  font: 500 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft);
}
.hero__eyebrow::before { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.hero__proof {
  list-style: none; padding: 22px 0 0; margin: 0; display: flex; gap: 34px;
  border-top: 1px solid var(--line); max-width: 440px;
}
.hero__proof li { display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero__proof strong { font-size: 26px; font-weight: 400; letter-spacing: 0; color: var(--cream); text-transform: none; }
.hero__grid { position: relative; height: 100%; display: flex; align-items: stretch; padding: 96px 0 6vh; }
.hero__copy {
  width: 48%; display: flex; flex-direction: column; justify-content: space-between;
  opacity: calc(1 - var(--p) * 1.8); transform: translateX(calc(var(--p) * -80px));
}
.hero__title { font-size: clamp(44px, 5.4vw, 78px); line-height: 1.08; margin: 0 0 24px; font-weight: 400; }
.pill-img {
  display: inline-block; vertical-align: middle; width: 1.45em; height: .78em; border-radius: 12px;
  background-size: cover; background-position: center 65%; margin: -.12em .05em 0;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(201, 163, 106, .55);
  transform: rotate(-3deg); transition: transform .5s var(--ease);
}
.hero__title:hover .pill-img { transform: rotate(0) scale(1.08); }
.hero__lead { max-width: 440px; color: #c9b8a6; margin: 0 0 34px; font-size: 15px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__ctas .btn { height: 52px; padding-block: 0; }
.hero__ctas .btn--ghost { padding-inline: 28px; }
.hero__scrollhint { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scrollhint span { width: 60px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scrollhint span::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--cream); animation: hint 2.2s infinite var(--ease); }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.hero__media {
  position: absolute; margin: 0; overflow: hidden;
  top:    calc(96px * (1 - var(--p)));
  bottom: calc(6vh * (1 - var(--p)));
  right:  calc(max(24px, (100vw - var(--wrap)) / 2) * (1 - var(--p)));
  left:   calc(51% * (1 - var(--p)));
  border-radius: calc(20px * (1 - var(--p)));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--p) * .12));
  filter: brightness(.8) contrast(1.08) saturate(.88) sepia(.14);
}
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(242, 230, 211, .08), inset 0 0 140px 20px rgba(20, 13, 9, .7);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 13, 9, .92) 0%, rgba(20, 13, 9, .55) 32%, transparent 62%);
  opacity: calc(var(--p) * 1.2);
}
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 2; text-align: center;
  opacity: calc((var(--p) - .55) * 2.5); transform: translateY(calc((1 - var(--p)) * 40px));
}
.hero__caption .serif { display: block; font-size: clamp(36px, 5vw, 72px); font-style: italic; }
.hero__caption .eyebrow { color: var(--cream); opacity: .85; letter-spacing: .3em; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }

/* ---------------------------------------------------------------- marquee */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 46px; padding: 18px 0; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span { font-style: italic; font-size: 17px; color: var(--cream); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: 110px 0; }
.section--tight { padding: 40px 0 110px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.section-head__aside { max-width: 400px; text-align: right; margin: 0 0 14px; font-size: 14px; }
.center .btn { margin-top: 48px; }

/* story */
.story { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 28px; align-items: stretch; }
.story__img { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 460px; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__img:hover img { transform: scale(1.05); }
.story__body { padding: 20px 18px; }
.story__body > p.muted { max-width: 560px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 16px;
  text-align: center; transition: .4s var(--ease);
}
.feature:hover { background: var(--card-2); transform: translateY(-4px); border-color: var(--line-2); }
.feature__icon { width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(224, 168, 46, .12); color: var(--gold); }
.feature h4 { font: 600 13px var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--cream); margin: 0 0 8px; }
.feature p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.55; }

.stats { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 40px; font-weight: 400; }
.stat span { font-size: 12px; color: var(--muted); }

/* product cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); border-color: var(--line-2); }
.pcard__img { position: relative; aspect-ratio: 4 / 2.7; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__origin {
  position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; font: 600 10px var(--sans);
  letter-spacing: .14em; text-transform: uppercase; background: rgba(27, 19, 14, .72); color: var(--cream); backdrop-filter: blur(6px);
}
.pcard__body { padding: 18px 18px 6px; flex: 1; }
.pcard__body h3 { font-size: 18px; margin: 0 0 6px; }
.pcard__body p { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.55; }
.pcard__rating { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars svg.on { fill: var(--gold); }
.stars svg.off { fill: rgba(242, 230, 211, .2); }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 18px; }
.price { font-size: 20px; }
.add-btn {
  width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--gold); color: var(--dark);
  display: grid; place-items: center; transition: .35s var(--ease);
}
.add-btn:hover { transform: rotate(90deg) scale(1.12); background: #f0bb45; }
.add-btn.done { background: var(--cream); }

/* banner */
.banner {
  margin: 0 auto; width: min(var(--wrap), 100% - 48px); border-radius: 22px; overflow: hidden;
  background-size: cover; background-position: center; position: relative; min-height: 380px; display: grid; place-items: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(27, 19, 14, .7); }
.banner__inner { position: relative; text-align: center; padding: 60px 24px; }
.banner .btn { margin-top: 12px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card);
  color: var(--muted); font-size: 12.5px; transition: .3s var(--ease);
}
.chip:hover { color: var(--cream); border-color: var(--cream); }
.chip.is-active { background: var(--cream); color: var(--dark); border-color: var(--cream); font-weight: 600; }
.chip--sm { padding: 6px 14px; font-size: 12px; }
.chips__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

/* popular collections — concave 3D ring (matches the video) */
.collections { padding: 110px 0 120px; overflow: hidden; }
.collections .h2 { margin-bottom: 22px; }
.ring {
  --card-w: clamp(210px, 19vw, 290px);
  position: relative; height: calc(var(--card-w) * 1.06 + 40px); margin-top: 46px;
  perspective: 1600px; perspective-origin: 50% 50%;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; outline: none;
}
.ring.is-dragging { cursor: grabbing; }
.ring__stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: opacity .35s var(--ease); }
.ring__stage.is-swapping { opacity: 0; }
.ring__card {
  position: absolute; left: 50%; top: 20px; width: var(--card-w); aspect-ratio: 1 / 1.04;
  margin-left: calc(var(--card-w) / -2); border-radius: 14px; overflow: hidden;
  background: var(--card); box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
  transform-origin: 50% 50%; backface-visibility: hidden; will-change: transform, filter;
}
.ring__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ring__card::after { /* soft sheen like the video cards */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .06);
}
.ring__arrow {
  position: absolute; top: 50%; z-index: 300; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%;
  border: 1px solid rgba(242, 230, 211, .14); background: rgba(27, 19, 14, .55); color: var(--cream);
  display: grid; place-items: center; backdrop-filter: blur(8px); transition: background .25s, transform .25s;
}
.ring__arrow:hover { background: rgba(27, 19, 14, .85); transform: scale(1.08); }
.ring__arrow--prev { left: 24px; }
.ring__arrow--next { right: 24px; }
.ring__meta { text-align: center; margin-top: 34px; min-height: 78px; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.ring__meta.is-changing { opacity: 0; transform: translateY(6px); }
.ring__meta h3 { font-size: 22px; margin: 0 0 6px; font-weight: 500; }
.ring__label { display: block; font: 600 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ring__stars { display: inline-flex; gap: 3px; margin-top: 10px; }
.ring__stars svg { fill: var(--gold); }
.ring__stars svg.off { fill: rgba(242, 230, 211, .2); }
.ring__dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; flex-wrap: wrap; padding: 0 24px; }
.ring__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: rgba(242, 230, 211, .22); transition: background .3s, transform .3s; }
.ring__dots button:hover { transform: scale(1.4); }
.ring__dots button.is-active { background: var(--cream); }

/* testimonial */
.testimonial blockquote { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.35; margin: 0 0 32px; font-weight: 400; }
.person { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; color: var(--cream); font-size: 14px; }
.person span { font-size: 12px; color: var(--muted); }
.testimonial__rating { margin-top: 20px; display: flex; justify-content: center; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }

/* faq */
.faq { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 500 18px var(--serif); color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 400 22px var(--sans); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 680px; }

/* newsletter */
.newsletter {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 40px 48px;
}
.newsletter__img { width: 150px; height: 150px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 10px rgba(0, 0, 0, .15); }
.newsletter h2 { font-size: 32px; margin: 0 0 8px; }
.newsletter p { margin: 0; max-width: 460px; font-size: 14px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input, .form-grid input, .form-grid textarea, .cart__summary input, .cart__summary textarea {
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line-2); color: var(--cream); border-radius: 999px;
  padding: 13px 20px; font: 14px var(--sans); outline: none; transition: border-color .25s;
}
.newsletter__form input { width: 240px; }
input:focus, textarea:focus { border-color: var(--gold) !important; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 13px; max-width: 320px; margin-top: 18px; }
.footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 13px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--cream); }
.footer__contact li { color: var(--muted); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; font-size: 12px; color: var(--muted); }

/* page head (shop, cart) */
.page-head { padding: 170px 0 30px; }
.page-head p.muted { max-width: 520px; }
.filters { display: grid; gap: 16px; margin-bottom: 30px; }
.results { font-size: 13px; margin: 0 0 18px; }

/* product page */
.product-page { padding-top: 150px; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.product__img { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__info .link-arrow { margin-bottom: 26px; }
.product__price { font-size: 32px; margin: 18px 0 10px; }
.product__price small { font: 13px var(--sans); color: var(--muted); }
.specs { margin: 24px 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--cream); text-align: right; }
.buy { display: flex; gap: 14px; margin-top: 26px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; background: none; border: 0; color: var(--cream); font-size: 18px; }
.qty input { width: 44px; background: none; border: 0; color: var(--cream); text-align: center; font: 15px var(--sans); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* cart */
.cart { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 76px 1fr 80px 90px 30px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.cart-line__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.cart-line__info a { font-size: 17px; }
.cart-line__qty { width: 70px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line-2); color: var(--cream); border-radius: 10px; padding: 8px 10px; font: 14px var(--sans); }
.cart-line__rm { background: none; border: 0; color: var(--muted); font-size: 22px; }
.cart-line__rm:hover { color: var(--gold); }
.cart__actions { display: flex; gap: 12px; margin-top: 24px; }
.cart__summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.cart__summary h3 { margin: 0 0 4px; font-size: 22px; }
.cart__summary label, .form-grid label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.cart__summary textarea, .form-grid textarea { border-radius: 14px; resize: vertical; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; }
.sum-row--total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 16px; color: var(--cream); }
.sum-row--total .serif { font-size: 22px; }
.empty { padding: 60px 0; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.modal.is-open { pointer-events: auto; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 6, 4, .7); backdrop-filter: blur(6px); }
.modal__card {
  position: relative; width: min(540px, 100%); background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 22px; padding: 36px; transform: translateY(20px) scale(.98); transition: transform .45s var(--ease);
}
.modal.is-open .modal__card { transform: none; }
.modal__card h3 { font-size: 30px; margin: 0 0 6px; }
.modal__close { position: absolute; right: 18px; top: 14px; background: none; border: 0; color: var(--muted); font-size: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 24px; }
.form-grid input { border-radius: 12px; padding: 11px 14px; color-scheme: dark; }
.span-2 { grid-column: span 2; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 140%);
  background: var(--cream); color: var(--dark); padding: 14px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4); transition: transform .5s var(--ease), opacity .4s; max-width: calc(100% - 32px);
  opacity: 0; pointer-events: none;
}
.toast:empty { display: none; }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.grid-4 .reveal:nth-child(4n+2) { transition-delay: .08s; }
.grid-4 .reveal:nth-child(4n+3) { transition-delay: .16s; }
.grid-4 .reveal:nth-child(4n+4) { transition-delay: .24s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr 1fr; }
  .story__body { grid-column: 1 / -1; order: -1; }
  .story__img { min-height: 320px; }
  .newsletter { grid-template-columns: auto 1fr; }
  .newsletter__form { grid-column: 1 / -1; }
  .newsletter__form input { flex: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cart, .product { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: rgba(32, 23, 17, .97);
    padding: 10px 24px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .45s var(--ease);
  }
  .nav__links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__links.is-open { transform: none; }
  .burger { display: block; }
  .nav__actions .btn--sm { display: none; }

  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; --p: 0 !important; }
  .hero__grid { flex-direction: column; padding: 130px 0 30px; }
  .hero__copy { width: 100%; opacity: 1; transform: none; justify-content: flex-start; gap: 26px; }
  .hero__title br { display: none; }
  .hero__bg { background-size: cover; }
  .hero__scrollhint { display: none; }
  .hero__media { position: relative; inset: auto; margin: 0 24px 40px; height: 62vh; border-radius: 20px; }
  .hero__caption { display: none; }

  .section { padding: 80px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head__aside { text-align: left; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ring { --card-w: 58vw; }
  .ring__arrow { display: none; }
  .collections { padding: 80px 0; }
  .newsletter { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; }
  .newsletter__img { margin: 0 auto; width: 120px; height: 120px; }
  .newsletter p { margin-inline: auto; }
  .cart-line { grid-template-columns: 60px 1fr 64px; }
  .cart-line img { width: 60px; height: 60px; }
  .cart-line strong, .cart-line__rm { grid-column: 2; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .newsletter__form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.section.section--tight { padding-top: 24px; }
@media (max-width: 860px) { .page-head { padding-top: 130px; } }
