/* =====================================================================
   Deco2Modern — Home redesign
   Curated Art Deco → Mid-Century Modern store
   Type: Bodoni Moda (display) + Jost (UI)
   ===================================================================== */

:root {
  /* surfaces */
  --cream: #faf8f4;
  --cream-2: #f2ede4;
  --card: #ffffff;
  /* ink */
  --ink: #2c2c2c;
  --ink-2: #5a5650;
  --ink-light: #f4efe6;
  /* lines */
  --line: #e4ddd0;
  --line-2: #d6ccba;
  /* accents */
  --red: #c0392b;
  --red-d: #a5311f;
  --gold: #b8860b;
  --gold-deep: #9a6f08;
  --green: #2e7d32;
  --blue: #1e5bb8;
  --dark: #221f1b;

  /* type */
  --disp: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fluid scale */
  --h1: clamp(2rem, 1.2rem + 4vw, 4.6rem);
  --h2: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --h3: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --r: 4px;
  --r-lg: 8px;

  /* depth */
  --shadow-sm: 0 2px 10px -6px rgba(44, 38, 28, 0.4);
  --shadow-md: 0 18px 40px -28px rgba(44, 38, 28, 0.55);
  --shadow-lg: 0 40px 80px -40px rgba(44, 38, 28, 0.6);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ui);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1.08; text-wrap: balance; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: var(--ink-light);
  padding: 10px 16px; border-radius: var(--r); font-size: 0.9rem;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--ui); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.02em; padding: 0.85em 1.7em; border-radius: var(--r);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform 0.25s var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px; white-space: nowrap;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -14px rgba(192, 57, 43, 0.9); }
.btn--primary:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(192, 57, 43, 0.95); }
.btn--ghost-light { background: rgba(250, 248, 244, 0.08); color: #fff; border: 1px solid rgba(255,255,255,0.55); backdrop-filter: blur(2px); }
.btn--ghost-light:hover { background: rgba(250, 248, 244, 0.16); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--ink-light); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--add {
  background: transparent; color: var(--ink); border: 1px solid var(--line-2);
  padding: 0.55em 1.1em; min-height: 40px; font-size: 0.85rem; border-radius: var(--r);
}
.btn--add:hover { background: var(--ink); color: var(--ink-light); border-color: var(--ink); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; }

.utility-bar { background: var(--dark); color: var(--ink-light); font-size: 0.86rem; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.utility-bar__note { letter-spacing: 0.03em; color: #ddd6c9; }
.utility-bar__social { display: flex; gap: 6px; }
.utility-bar__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background 0.3s var(--ease); }
.utility-bar__social a:hover { background: rgba(255,255,255,0.12); }
.utility-bar__social svg { width: 19px; height: 19px; fill: #ddd6c9; }
@media (min-width: 760px) {
  .utility-bar { font-size: 0.92rem; }
  .utility-bar__inner { min-height: 48px; }
  .utility-bar__social svg { width: 20px; height: 20px; }
  .utility-bar__social a { width: 38px; height: 38px; }
}
.utility-bar__social a:hover svg { fill: #fff; }

.nav-bar {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-stuck .nav-bar { box-shadow: var(--shadow-sm); background: rgba(250, 248, 244, 0.97); }
.nav-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { display: inline-flex; gap: 3px; }
.brand__mark i { width: 7px; height: 7px; border-radius: 1px; display: block; transform: rotate(45deg); }
.brand__name { font-family: var(--disp); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.01em; color: var(--ink); }
.brand__name em { font-style: normal; color: var(--red); }

/* primary nav */
.primary-nav { display: flex; gap: clamp(0.8rem, 2vw, 1.9rem); }
.primary-nav a {
  font-size: 0.83rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); padding: 0.4em 0; position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { width: 100%; }
.primary-nav a.is-sale { color: var(--red); }

/* nav actions */
.nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; position: relative; transition: background 0.3s var(--ease); }
.icon-btn:hover { background: rgba(44, 44, 44, 0.06); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn .cart-count {
  position: absolute; top: 4px; right: 3px; background: var(--red); color: #fff;
  font-size: 0.62rem; font-weight: 600; min-width: 16px; height: 16px; border-radius: 8px;
  display: grid; place-items: center; padding: 0 4px; font-family: var(--ui);
}

/* hamburger */
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav-scrim { position: fixed; inset: 0; background: rgba(34, 31, 27, 0.5); z-index: 90; opacity: 0; transition: opacity 0.35s var(--ease); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: clamp(540px, 88vh, 860px);
  display: flex; align-items: flex-end; overflow: hidden;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; will-change: transform; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(18, 15, 11, 0.88) 0%, rgba(18, 15, 11, 0.7) 30%, rgba(18, 15, 11, 0.34) 54%, rgba(18, 15, 11, 0.06) 78%, rgba(18, 15, 11, 0) 100%),
    linear-gradient(to top, rgba(18, 15, 11, 0.7) 0%, rgba(18, 15, 11, 0.18) 38%, rgba(18, 15, 11, 0) 62%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(3rem, 7vh, 6rem); padding-top: 6rem; }
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: #f3dba2; margin-bottom: 1rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero__title {
  font-size: var(--h1); font-weight: 900; max-width: 16ch; letter-spacing: -0.005em;
  color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero__sub {
  margin-top: 1.2rem; max-width: 48ch; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  color: #f4efe6; font-weight: 400; line-height: 1.6; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.6); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* =====================================================================
   MAKERS STRIP
   ===================================================================== */
.makers { background: var(--cream); border-block: 1px solid var(--line); padding-block: 0; }
.makers__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(0.7rem, 3vw, 2.2rem); padding-block: clamp(1rem, 2.2vw, 1.5rem); text-align: center; }
.makers__label { font-family: var(--ui); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.makers__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; list-style: none; }
.makers__list li { display: flex; align-items: center; font-family: var(--disp); font-style: italic; font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem); color: var(--ink); }
.makers__list li:not(:last-child)::after { content: "\2022"; margin: 0 clamp(0.6rem, 2.2vw, 1.4rem); color: var(--gold); font-size: 0.7em; font-style: normal; }

/* =====================================================================
   TRUST BAR
   ===================================================================== */
.trust { background: var(--dark); color: var(--ink-light); padding-block: 0; }
.trust__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 2.6rem) 1.5rem; padding: clamp(2rem, 3.5vw, 2.8rem) 0; }
.trust__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.9rem; font-size: 0.95rem; letter-spacing: 0.02em; color: #e3dccf; }
.trust__item svg { width: 46px; height: 46px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.trust__item:hover svg { transform: translateY(-3px); }

/* =====================================================================
   SECTION HEADS
   ===================================================================== */
section { padding-block: clamp(3.5rem, 8vh, 7rem); }
.section-head { margin-bottom: clamp(2rem, 4vh, 3.2rem); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head--center { text-align: center; }
.section-head__title { font-size: var(--h2); color: var(--ink); }
.section-head__sub { margin-top: 0.6rem; color: var(--ink-2); font-size: 1.02rem; max-width: 52ch; }
.section-head--center .section-head__sub { margin-inline: auto; }
.section-head__link { font-size: 0.9rem; font-weight: 500; color: var(--gold-deep); letter-spacing: 0.04em; white-space: nowrap; }
.section-head__link em { font-style: normal; transition: transform 0.3s var(--ease); display: inline-block; }
.section-head__link:hover em { transform: translateX(4px); }

/* =====================================================================
   CATEGORIES
   ===================================================================== */
.categories { background: var(--cream); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.9rem, 2vw, 1.5rem); }
.cat-card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.cat-card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 70px rgba(44, 38, 28, 0.06); pointer-events: none; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform 0.7s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__label {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.95rem 1.2rem; background: var(--ink); color: #fff;
  font-family: var(--disp); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 500;
  border-top: 2px solid var(--gold); transition: background 0.35s var(--ease);
}
.cat-card:hover .cat-card__label { background: #000; }
.cat-card__label em { font-style: normal; color: var(--gold); font-family: var(--ui); transition: transform 0.35s var(--ease); }
.cat-card:hover .cat-card__label em { transform: translateX(5px); }

/* =====================================================================
   FEATURED PRODUCTS
   ===================================================================== */
.featured { background: var(--cream-2); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.9rem, 2.2vw, 1.8rem); }
.product { background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform 0.7s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35em 0.7em; border-radius: 2px; color: #fff;
}
.badge--new { background: var(--ink); }
.badge--sale { background: var(--red); }
.product__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product__cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.product__maker { order: -1; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.1rem; font-family: var(--ui); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.product__maker::before { content: ""; width: 20px; height: 2px; background: var(--gold); flex: none; }
.product__name { font-size: var(--h3); font-weight: 500; line-height: 1.2; }
.product__name b { font-weight: 600; }
.product__name a:hover { color: var(--red); }
.product__foot { margin-top: auto; padding-top: 0.7rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.price { font-family: var(--ui); font-weight: 600; font-size: 1.1rem; color: var(--ink); display: inline-flex; align-items: baseline; gap: 0.45rem; }
.price__was { font-weight: 400; font-size: 0.85rem; color: var(--ink-2); text-decoration: line-through; }

/* =====================================================================
   STORY BAND
   ===================================================================== */
.story { display: grid; grid-template-columns: 1fr; padding: 0; background: var(--ink); color: var(--ink-light); }
.story__media { overflow: hidden; }
.story__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.story__panel { display: flex; align-items: center; padding: clamp(2.5rem, 7vw, 5.5rem) var(--gutter); }
.story__inner { max-width: 46ch; }
.story__eyebrow { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.story__title { font-size: var(--h2); color: #fff; }
.story__text { margin: 1.2rem 0 2rem; color: #d7d1c5; font-weight: 300; font-size: 1.05rem; line-height: 1.7; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews { background: var(--cream); }
.reviews__rating { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 0.7rem; }
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 1rem; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); }
.review .stars { display: block; margin-bottom: 0.9rem; }
.review blockquote { font-family: var(--disp); font-size: 1.18rem; font-weight: 400; font-style: italic; line-height: 1.5; color: var(--ink); }
.review figcaption { margin-top: 1rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter { background: var(--cream-2); }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3.2rem); background: var(--ink); color: var(--ink-light); border-radius: var(--r-lg); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.newsletter__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 0%, rgba(184,134,11,0.18), transparent 55%); pointer-events: none; }
.newsletter__title { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); color: #fff; }
.newsletter__sub { margin-top: 0.5rem; color: #cfc8bb; font-weight: 300; max-width: 40ch; }
.newsletter__form { display: flex; gap: 0.6rem; flex: 1; min-width: 280px; max-width: 460px; position: relative; }
.newsletter__form input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 0.85em 1.1em;
  border-radius: var(--r); border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #fff;
}
.newsletter__form input::placeholder { color: #b7b0a3; }
.newsletter__form input:focus-visible { outline: 2px solid var(--gold); background: rgba(255,255,255,0.1); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: #cfc8bb; position: relative; padding-top: clamp(3rem, 6vh, 5rem); }
.footer-motif {
  height: 6px; width: 100%; position: absolute; top: 0; left: 0;
  background:
    repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 22px, var(--green) 22px 36px, transparent 36px 44px, var(--blue) 44px 58px, transparent 58px 70px);
  opacity: 0.85;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem 2rem; padding-bottom: 3rem; }
.brand--footer .brand__name { color: #fff; }
.footer-col__note { margin-top: 1rem; font-size: 0.9rem; line-height: 1.65; color: #a8a194; max-width: 36ch; }
.footer-col { display: flex; flex-direction: column; }
.footer-col__title { font-family: var(--ui); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col nav a, .footer-col > a:not(.brand) { color: #b7b0a3; font-size: 0.92rem; padding: 0.32rem 0; transition: color 0.3s var(--ease); width: fit-content; }
.footer-col a:not(.brand):hover { color: var(--gold); }
.footer-contact { color: var(--gold) !important; font-size: 1.02rem !important; font-weight: 500; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.4rem; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; fill: #cfc8bb; }
.footer-social a:hover svg { fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; font-size: 0.8rem; color: #8d8678; }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 600px) {
  .trust__inner { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .story { grid-template-columns: 1fr 1fr; }
  .story__media img { height: 100%; }
}
@media (min-width: 1000px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
}

/* ---------- mobile nav (≤860px) ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* backdrop-filter on .nav-bar would trap the fixed drawer inside it — disable on mobile */
  .nav-bar { backdrop-filter: none; background: var(--cream); }
  .nav-bar__inner { justify-content: space-between; }
  .brand { order: 2; margin-inline: auto; }
  .nav-toggle { order: 1; }
  .nav-actions { order: 3; }
  .primary-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(82vw, 340px); z-index: 95;
    background: var(--cream); flex-direction: column; gap: 0; padding: 5rem 1.8rem 2rem;
    transform: translateX(-105%); transition: transform 0.42s var(--ease); box-shadow: var(--shadow-lg);
  }
  .primary-nav a { font-size: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); letter-spacing: 0.06em; width: 100%; }
  .primary-nav a::after { display: none; }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open .nav-scrim { display: block; opacity: 1; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-actions .icon-btn[aria-label="Account"] { display: none; }
}

@media (max-width: 420px) {
  .utility-bar { font-size: 0.8rem; }
  .product__body { padding: 0.85rem 0.85rem 1rem; }
  .btn--add { padding: 0.5em 0.85em; font-size: 0.8rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none !important; }
  .hero__scroll span { animation: none; }
}
