/* ═══════════════════════════════════════════════════════════════════
   BEYHER — Storefront Stylesheet
   Version: 1.2
   Design System: Cream · Blush · Rose · Earth Tones
═══════════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Color Palette */
  --cream:    #f7f0e8;
  --blush:    #e8c8b8;
  --rose:     #c9917a;
  --stone:    #b5a99a;
  --forest:   #2D4236;
  --taupe:    #8a7a6d;
  --bark:     #4a3d33;
  --mauve:    #997A8D;
  --charcoal: #1a1614;
  --white:    #fdfaf7;
  --gold:     #c4a882;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script:  'Dancing Script', cursive;
  --font-body:    'DM Sans', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

img { display: block; width: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 2px; }

/* ── PAGE ROUTING ──────────────────────────────────────────────── */
.page        { display: none; }
.page.active { display: block; }

/* ══════════════════════════════════════════════════════════════════
   SMART HEADER WRAPPER
   Single fixed unit — slides up on scroll-down, back on scroll-up.
══════════════════════════════════════════════════════════════════ */
#header-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  /* Smooth slide + shadow transitions */
  transition:
    transform   0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow  0.35s ease;
}

/* ── Scroll states ─────────────────────────────────────────────── */
#header-wrap.is-hidden {
  transform: translateY(-100%);     /* entire wrap (ticker + nav) slides off top */
}
#header-wrap.is-scrolled {
  box-shadow: 0 4px 28px rgba(26, 22, 20, 0.09);
}
#header-wrap.is-scrolled #site-header {
  background: rgba(253, 250, 247, 0.98);
  border-bottom-color: rgba(180, 169, 154, 0.35);
}

/* ══════════════════════════════════════════════════════════════════
   ANNOUNCEMENT TICKER  (top strip inside wrapper)
══════════════════════════════════════════════════════════════════ */
.ticker {
  position: relative;               /* flows inside #header-wrap */
  background: var(--rose);          /* salmon — matches reference image */
  color: var(--white);
  font-size: 11px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden; height: 32px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 80px;
  animation: ticker-move 36s linear infinite;
  white-space: nowrap;
}
.ticker-item { opacity: 0.92; }
.ticker-dot  { color: rgba(255,255,255,0.5); margin: 0 20px; }

@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════
   HEADER  (nav bar below the ticker)
══════════════════════════════════════════════════════════════════ */
#site-header {
  position: relative;               /* establishes containing block for .nav-logo */
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(253, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 169, 154, 0.2);
  transition: background 0.35s, border-color 0.35s;
}

.nav-left,
.nav-right { display: flex; align-items: center; gap: 28px; }

.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover,
.nav-link.active           { color: var(--charcoal); }
.nav-link:hover::after,
.nav-link.active::after    { width: 100%; }

.nav-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  cursor: pointer;
  display: flex; align-items: center;
  line-height: 0;                   /* collapse inline whitespace */
  text-decoration: none;
}
.nav-logo-svg {
  display: block;
  height: 34px;                     /* fits in 64px header with breathing room */
  width: auto;
  transition: opacity 0.25s;
}
.nav-logo:hover .nav-logo-svg { opacity: 0.78; }

.nav-currency {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest); font-weight: 400;
  user-select: none;
}

.nav-icon-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--taupe);
  transition: color 0.25s;
  font-size: 18px;
}
.nav-icon-btn:hover { color: var(--charcoal); }

/* Hamburger — hidden on desktop, revealed via mobile query */
.nav-hamburger {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  width: 40px; height: 40px; gap: 5px;
  cursor: pointer; padding: 0;
  background: none; border: none;
  -webkit-tap-highlight-color: transparent;
}
.ham-bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s, width 0.3s var(--ease-out);
  transform-origin: center;
}
/* Animated X state */
.nav-hamburger.is-open .ham-bar--top { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open .ham-bar--mid { opacity: 0; width: 0; }
.nav-hamburger.is-open .ham-bar--bot { transform: translateY(-6.5px) rotate(-45deg); }

.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rose); color: white;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 600;
  margin-left: 2px;
}

/* ── MAIN CONTENT OFFSET ───────────────────────────────────────── */
/* ticker (32px) + header (64px) = 96px */
main { padding-top: 96px; }

/* ══════════════════════════════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - 96px);
  min-height: 600px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  background: var(--cream);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--forest);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.hero-headline em { font-style: italic; color: var(--rose); }

.hero-subtext {
  font-size: 13px; font-weight: 300; line-height: 1.7;
  color: var(--taupe); max-width: 360px;
  margin: 24px 0 40px;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; }

.hero-right { position: relative; overflow: hidden; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-img.loaded { transform: scale(1); }
.hero-caption {
  position: absolute; bottom: 24px; right: 24px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
}

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--bark); color: var(--cream);
  padding: 14px 32px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--charcoal); transform: translateY(-1px); }

.btn-ghost {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--taupe);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ── TAGLINE STRIP ─────────────────────────────────────────────── */
.tagline-strip {
  display: flex; align-items: center;
  border-top:    1px solid rgba(180, 169, 154, 0.3);
  border-bottom: 1px solid rgba(180, 169, 154, 0.3);
  overflow: hidden;
}
.tagline-item {
  flex: 1; padding: 18px 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--taupe);
  border-right: 1px solid rgba(180, 169, 154, 0.3);
  transition: background 0.25s, color 0.25s;
}
.tagline-item:last-child { border-right: none; }
.tagline-item:hover      { background: var(--cream); color: var(--charcoal); }
.tagline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }

/* ── COLLECTION INTRO ──────────────────────────────────────────── */
.section-intro {
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  background: var(--white);
}
.intro-col  { padding: 0 20px; }
.intro-num  {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--forest); margin-bottom: 20px;
}
.intro-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  color: var(--charcoal); margin-bottom: 14px;
  line-height: 1.2;
}
.intro-text {
  font-size: 13px; font-weight: 300; line-height: 1.8;
  color: var(--taupe);
}

/* ── FEATURED EDIT ─────────────────────────────────────────────── */
.featured-edit { padding: 0 80px 100px; background: var(--white); }

.section-label {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300; line-height: 1.1;
  color: var(--charcoal); margin-bottom: 12px;
}
.section-headline em { font-style: italic; color: var(--rose); }
.section-sub {
  font-size: 13px; font-weight: 300; line-height: 1.7;
  color: var(--taupe); max-width: 480px; margin-bottom: 50px;
}
.edit-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px;
}
.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── PRODUCT CARD ──────────────────────────────────────────────── */
.product-card { cursor: pointer; position: relative; overflow: hidden; }
.product-card-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--bark); color: var(--cream);
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 10px;
}
.product-badge.sold-out { background: var(--forest); }

.product-quick {
  position: absolute; bottom: -50px; left: 0; right: 0;
  display: flex;
  transition: bottom 0.4s var(--ease-out);
}
.product-card:hover .product-quick { bottom: 0; }
.product-quick button {
  flex: 1; padding: 14px;
  background: rgba(26, 22, 20, 0.9); color: var(--cream);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  transition: background 0.25s;
}
.product-quick button:hover { background: var(--bark); }

.product-info  { padding: 16px 0 4px; }
.product-name  {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 400;
  color: var(--charcoal); margin-bottom: 4px;
}
.product-color {
  font-size: 11px; font-weight: 300; color: var(--forest);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
}
.product-price { font-size: 14px; font-weight: 400; color: var(--charcoal); }

/* ── EDITORIAL MOSAIC ──────────────────────────────────────────── */
.editorial-mosaic {
  padding: 0 0 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
  background: var(--white);
}
.mosaic-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.mosaic-card { position: relative; overflow: hidden; cursor: pointer; }
.mosaic-card img,
.mosaic-large img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.mosaic-card:hover img { transform: scale(1.06); }

.mosaic-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26, 22, 20, 0.6));
  padding: 40px 24px 24px;
  color: var(--cream);
}
.mosaic-label {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 6px;
}
.mosaic-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400;
}
.mosaic-center {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 40px;
  text-align: center;
}
.mosaic-center-logo {
  font-family: var(--font-script);
  font-size: 52px; color: var(--charcoal);
  margin-bottom: 20px;
}
.mosaic-center p {
  font-size: 13px; font-weight: 300; line-height: 1.7;
  color: var(--taupe); margin-bottom: 32px;
}

/* ── HER STORY ─────────────────────────────────────────────────── */
.her-story {
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  background: var(--white);
}
.story-img-wrap { position: relative; }
.story-img-wrap img { aspect-ratio: 3 / 4; object-fit: cover; }
.story-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 60%; aspect-ratio: 1;
  background: var(--cream);
  z-index: -1;
}
.story-badge {
  position: absolute; bottom: 40px; left: -24px;
  background: var(--bark); color: var(--cream);
  padding: 20px 28px;
}
.story-badge-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400; font-style: italic;
}
.story-badge-role {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
}
.story-pull {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300; line-height: 1.2;
  color: var(--charcoal); margin-bottom: 30px;
}
.story-pull em { font-style: italic; color: var(--rose); }
.story-body {
  font-size: 14px; font-weight: 300; line-height: 1.9;
  color: var(--taupe); margin-bottom: 20px;
}
.story-callout {
  border-left: 3px solid var(--rose);
  padding: 16px 24px;
  background: var(--cream);
  font-size: 13px; font-weight: 300; line-height: 1.7;
  color: var(--taupe);
  margin: 30px 0;
}

/* ── FEATURES STRIP ────────────────────────────────────────────── */
.features-strip {
  background: var(--bark);
  padding: 70px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.feature-icon {
  font-size: 32px; margin-bottom: 16px;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.feature-item:hover .feature-icon { transform: translateY(-6px); }
.feature-name {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.feature-desc {
  font-size: 12px; font-weight: 300; line-height: 1.7;
  color: rgba(247, 240, 232, 0.65);
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-section {
  padding: 100px 80px;
  max-width: 800px; margin: 0 auto;
  background: var(--white);
}
.faq-headline {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 300;
  text-align: center; margin-bottom: 60px;
}
.faq-item {
  border-bottom: 1px solid rgba(180, 169, 154, 0.3);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  font-size: 15px; font-weight: 400; color: var(--charcoal);
  text-align: left;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--rose); }
.faq-icon {
  font-size: 20px; color: var(--forest);
  transition: transform 0.35s var(--ease-out), color 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--rose); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.4s;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p {
  font-size: 13px; font-weight: 300; line-height: 1.8;
  color: var(--taupe);
}

/* ── EMAIL CAPTURE ─────────────────────────────────────────────── */
.email-capture { background: var(--blush); padding: 100px 80px; text-align: center; }
.email-eyebrow {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 20px;
}
.email-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300; line-height: 1.15;
  color: var(--bark); margin-bottom: 50px;
}
.email-form { display: flex; max-width: 480px; margin: 0 auto; }
.email-input {
  flex: 1; padding: 16px 20px;
  font-family: var(--font-body); font-size: 13px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(138, 122, 109, 0.3);
  border-right: none;
  outline: none; color: var(--charcoal);
  transition: background 0.25s, border-color 0.25s;
}
.email-input:focus       { background: rgba(255, 255, 255, 0.95); border-color: var(--rose); }
.email-input::placeholder { color: var(--forest); }
.email-submit {
  padding: 16px 28px;
  background: var(--bark); color: var(--cream);
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.25s;
}
.email-submit:hover { background: var(--charcoal); }

/* ══════════════════════════════════════════════════════════════════
   STORE PAGES — NEW · COLLECTION · FEATURED
══════════════════════════════════════════════════════════════════ */
.store-page { padding: 60px 80px 120px; background: var(--white); }
.store-page-header {
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(180, 169, 154, 0.3);
  padding-bottom: 32px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.store-page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300; color: var(--charcoal);
}
.store-page-count {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--forest);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── FEATURED HERO STRIP ───────────────────────────────────────── */
.featured-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 60px;
}
.featured-hero-card {
  position: relative; aspect-ratio: 3 / 4;
  overflow: hidden; cursor: pointer;
}
.featured-hero-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.featured-hero-card:hover img { transform: scale(1.06); }
.featured-hero-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(26, 22, 20, 0.65));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: var(--cream);
}
.featured-hero-card .overlay h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400; margin-bottom: 4px;
}
.featured-hero-card .overlay p     { font-size: 12px; opacity: 0.75; }
.featured-hero-card .overlay .price { font-size: 14px; margin-top: 10px; }

/* ══════════════════════════════════════════════════════════════════
   PRODUCT MODAL
══════════════════════════════════════════════════════════════════ */
#product-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
#product-modal.open { display: flex; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26, 22, 20, 0.5);
  backdrop-filter: blur(4px);
  animation: fade-in 0.3s ease;
}
.modal-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(700px, 90vw);
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  animation: slide-in-right 0.5s var(--ease-out);
  overflow: hidden;
}

@keyframes fade-in       { from { opacity: 0; }            to { opacity: 1; } }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }

.modal-img { height: 100%; object-fit: cover; }

.modal-content {
  padding: 50px 36px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.modal-close {
  align-self: flex-end;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--forest);
  margin-bottom: 32px; transition: color 0.25s;
}
.modal-close:hover { color: var(--charcoal); }

.modal-eyebrow {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 10px;
}
.modal-name {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  color: var(--charcoal); line-height: 1.15; margin-bottom: 8px;
}
.modal-price  { font-size: 20px; color: var(--charcoal); margin-bottom: 24px; }
.modal-desc   {
  font-size: 13px; font-weight: 300; line-height: 1.8;
  color: var(--taupe); margin-bottom: 32px;
}
.size-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 12px;
}
.size-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.size-btn {
  width: 48px; height: 48px;
  border: 1px solid rgba(180, 169, 154, 0.5);
  font-size: 12px; font-weight: 400; color: var(--charcoal);
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.size-btn:hover    { border-color: var(--charcoal); }
.size-btn.selected { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.add-to-cart {
  width: 100%; padding: 16px;
  background: var(--bark); color: var(--cream);
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.25s, transform 0.2s; margin-bottom: 12px;
}
.add-to-cart:hover  { background: var(--charcoal); transform: translateY(-1px); }
.add-to-cart:active { transform: translateY(0); }

.modal-features {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(180, 169, 154, 0.3);
}
.modal-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 300; color: var(--taupe); margin-bottom: 10px;
}
.modal-feature-icon { color: var(--rose); }

/* ══════════════════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════════════════ */
#cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(420px, 95vw);
  background: var(--white);
  z-index: 1100;
  transform: translateX(110%);
  transition: transform 0.5s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 60px rgba(26, 22, 20, 0.12);
}
#cart-drawer.open { transform: translateX(0); }

#cart-overlay {
  position: fixed; inset: 0; z-index: 1090;
  background: rgba(26, 22, 20, 0.4);
  display: none;
}
#cart-overlay.open { display: block; }

.cart-header {
  padding: 28px 28px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(180, 169, 154, 0.3);
}
.cart-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.cart-body  { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty {
  text-align: center; padding: 60px 20px;
  color: var(--forest); font-size: 13px; font-weight: 300;
}
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(180, 169, 154, 0.2);
}
.cart-item-img    { aspect-ratio: 3 / 4; object-fit: cover; background: var(--cream); }
.cart-item-name   { font-family: var(--font-display); font-size: 16px; font-weight: 400; margin-bottom: 4px; }
.cart-item-meta   { font-size: 11px; color: var(--forest); margin-bottom: 8px; }
.cart-item-price  { font-size: 14px; }
.cart-item-remove { font-size: 18px; color: var(--forest); transition: color 0.25s; align-self: start; }
.cart-item-remove:hover { color: var(--rose); }

.cart-footer {
  padding: 20px 28px 32px;
  border-top: 1px solid rgba(180, 169, 154, 0.3);
}
.cart-total {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 400;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(180, 169, 154, 0.2);
}
.checkout-btn {
  width: 100%; padding: 18px;
  background: var(--bark); color: var(--cream);
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.checkout-btn:hover { background: var(--charcoal); }
.cart-note {
  text-align: center; margin-top: 12px;
  font-size: 11px; color: var(--forest); font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════════
   SEARCH OVERLAY
══════════════════════════════════════════════════════════════════ */
#search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(253, 250, 247, 0.97);
  display: none; flex-direction: column;
  align-items: center; padding-top: 180px;
}
#search-overlay.open { display: flex; }
.search-inner { width: min(600px, 90vw); }
.search-bar {
  display: flex; border-bottom: 2px solid var(--charcoal);
  margin-bottom: 48px;
}
.search-bar input {
  flex: 1; padding: 16px 0;
  font-family: var(--font-display);
  font-size: 28px; font-weight: 300;
  background: none; border: none; outline: none;
  color: var(--charcoal);
}
.search-bar input::placeholder { color: var(--forest); }
.search-close-btn { font-size: 28px; color: var(--forest); transition: color 0.25s; }
.search-close-btn:hover { color: var(--charcoal); }
.search-suggestions p {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 16px;
}
.search-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.search-tag {
  padding: 8px 20px;
  border: 1px solid rgba(180, 169, 154, 0.5);
  font-size: 12px; color: var(--taupe);
  cursor: pointer; transition: all 0.25s;
}
.search-tag:hover {
  background: var(--cream); color: var(--charcoal); border-color: var(--charcoal);
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--charcoal); color: var(--cream);
  padding: 80px 80px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-script);
  font-size: 36px; color: var(--cream); margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 12px; font-weight: 300; line-height: 1.8;
  color: rgba(247, 240, 232, 0.55); max-width: 240px;
}
.footer-social { display: flex; gap: 14px; margin-top: 24px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(247, 240, 232, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(247, 240, 232, 0.6);
  transition: all 0.25s;
}
.social-btn:hover { background: var(--rose); border-color: var(--rose); color: var(--cream); }
.footer-col h4 {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 12px; font-weight: 300;
  color: rgba(247, 240, 232, 0.55); margin-bottom: 12px;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(247, 240, 232, 0.1);
  padding-top: 30px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: rgba(247, 240, 232, 0.4);
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.2s; }
.reveal-delay-3        { transition-delay: 0.3s; }
.reveal-delay-4        { transition-delay: 0.4s; }

/* ── TOAST NOTIFICATION ────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bark); color: var(--cream);
  padding: 14px 28px;
  font-size: 12px; letter-spacing: 0.1em;
  z-index: 2000;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0; pointer-events: none;
}
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── UTILITY ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-60       { margin-top: 60px; }

/* ══════════════════════════════════════════════════════════════════
   MOBILE NAV DRAWER
   Base positioning — always in DOM, hidden by default.
   Only interactive at < 640px (see responsive section).
══════════════════════════════════════════════════════════════════ */

/* Backdrop scrim — uses visibility so opacity transition works */
.mobile-nav-backdrop {
  position: fixed; inset: 0;
  z-index: 1299;
  background: rgba(26, 22, 20, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;               /* hidden but transitionable */
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Drawer panel */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 1300;
  width: min(320px, 82vw);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(-110%);
  visibility: hidden;               /* removes from a11y tree + blocks events */
  pointer-events: none;
  transition: transform 0.48s var(--ease-out), visibility 0.48s;
  overflow: hidden;
}
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* ── Drawer header row ─────────────────────────────────────────── */
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(180, 169, 154, 0.25);
  flex-shrink: 0;
}
.mobile-nav-logo {
  font-family: var(--font-script);
  font-size: 26px; color: var(--charcoal);
  letter-spacing: 0.02em;
}
.mobile-nav-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--taupe);
  transition: color 0.25s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-close:hover { color: var(--charcoal); }

/* ── Primary nav links ─────────────────────────────────────────── */
.mobile-nav-links {
  flex: 1;
  list-style: none;
  padding: 40px 0 0 0;
  display: flex; flex-direction: column;
  gap: 0;
}
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 34px; font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  line-height: 1.1;
  padding: 14px 28px;
  position: relative;
  transition: color 0.25s, padding-left 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
/* Left accent bar on hover/active */
.mobile-nav-link::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px; height: 60%;
  background: var(--rose);
  border-radius: 0 2px 2px 0;
  transition: transform 0.3s var(--ease-out);
}
.mobile-nav-link:hover,
.mobile-nav-link.active      { color: var(--rose); padding-left: 36px; }
.mobile-nav-link:hover::before,
.mobile-nav-link.active::before { transform: translateY(-50%) scaleY(1); }

/* Staggered entry animation for links */
.mobile-nav.is-open .mobile-nav-links li:nth-child(1) .mobile-nav-link { animation: nav-link-in 0.4s 0.12s var(--ease-out) both; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(2) .mobile-nav-link { animation: nav-link-in 0.4s 0.18s var(--ease-out) both; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(3) .mobile-nav-link { animation: nav-link-in 0.4s 0.24s var(--ease-out) both; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(4) .mobile-nav-link { animation: nav-link-in 0.4s 0.30s var(--ease-out) both; }

@keyframes nav-link-in {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Drawer footer ─────────────────────────────────────────────── */
.mobile-nav-footer {
  padding: 24px 28px 32px;
  border-top: 1px solid rgba(180, 169, 154, 0.25);
  flex-shrink: 0;
}
.mobile-nav-social {
  display: flex; gap: 16px; margin-bottom: 18px;
}
.mobile-nav-social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(138, 122, 109, 0.35);
  color: var(--taupe);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.mobile-nav-social-link:hover {
  background: var(--rose); border-color: var(--rose); color: var(--cream);
}
.mobile-nav-copy {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest); font-weight: 300;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BEYHER — RESPONSIVE FRAMEWORK
   Version: 1.2
   Strategy: Desktop-first base → max-width overrides for mobile/tablet
             min-width override for large desktop
   ─────────────────────────────────────────────────────────────────────────
   Breakpoint map (matching Tailwind conventions):
     xs  │  < 640px      │ Mobile
     sm  │ 640–768px     │ Large mobile / small tablet
     md  │ 768–1024px    │ Tablet
     lg  │ 1024–1280px   │ Laptop / small desktop
     xl  │ 1280–1536px   │ Desktop        ← base styles already cover this
     2xl │ 1536px+       │ Large desktop
═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   2XL — LARGE DESKTOP  ≥ 1536px
   Goal: open up spacing, scale type, cap max content width
═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1536px) {

  /* ── Layout container ─────────────────────────────────────── */
  .section-intro,
  .featured-edit,
  .her-story,
  .features-strip,
  .faq-section,
  .email-capture,
  .store-page { max-width: 1800px; margin-left: auto; margin-right: auto; }

  footer .footer-grid { max-width: 1800px; margin-left: auto; margin-right: auto; }

  /* ── Header ───────────────────────────────────────────────── */
  #site-header { padding: 0 80px; height: 72px; }
  .nav-logo-svg { height: 41px; }
  .ticker      { font-size: 10.5px; }
  main         { padding-top: 108px; } /* 32px ticker + 72px header + 4px buffer */

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero        { height: calc(100vh - 108px); }
  .hero-left   { padding: 120px 80px 120px 120px; }
  .hero-headline { font-size: 96px; }

  /* ── Section intro ────────────────────────────────────────── */
  .section-intro  { padding: 140px 120px; gap: 80px; }
  .intro-title    { font-size: 34px; }

  /* ── Featured edit ────────────────────────────────────────── */
  .featured-edit  { padding: 0 120px 140px; }
  .product-grid-4 { gap: 28px; }

  /* ── Editorial mosaic ─────────────────────────────────────── */
  .editorial-mosaic { padding-bottom: 140px; }
  .mosaic-center-logo { font-size: 68px; }
  .mosaic-center p    { font-size: 15px; }

  /* ── Her Story ────────────────────────────────────────────── */
  .her-story    { padding: 160px 120px; gap: 140px; }
  .story-pull   { font-size: 50px; }

  /* ── Features strip ───────────────────────────────────────── */
  .features-strip { padding: 100px 120px; }
  .feature-icon   { font-size: 40px; }

  /* ── FAQ ──────────────────────────────────────────────────── */
  .faq-section   { padding: 140px 120px; max-width: 960px; }
  .faq-headline  { font-size: 52px; }
  .faq-q         { font-size: 17px; padding: 26px 0; }

  /* ── Email capture ────────────────────────────────────────── */
  .email-capture  { padding: 140px 120px; }
  .email-headline { font-size: 60px; }
  .email-form     { max-width: 560px; }

  /* ── Store pages ──────────────────────────────────────────── */
  .store-page       { padding: 80px 120px 160px; }
  .grid-3           { gap: 36px; }
  .grid-4           { gap: 32px; }

  /* ── Footer ───────────────────────────────────────────────── */
  footer            { padding: 120px 120px 60px; }
  .footer-logo      { font-size: 44px; }

  /* ── Modal ────────────────────────────────────────────────── */
  .modal-panel  { width: 860px; }
  .modal-name   { font-size: 34px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   LG — LAPTOP / SMALL DESKTOP  1024px – 1280px
   Goal: keep two-column layouts, tighten padding, reduce hero type
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {

  /* ── Header ───────────────────────────────────────────────── */
  #site-header { padding: 0 28px; }
  .nav-left, .nav-right { gap: 20px; }

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero-left  { padding: 60px 40px 60px 56px; }
  .hero-headline { font-size: clamp(44px, 5.5vw, 72px); }

  /* ── Section intro ────────────────────────────────────────── */
  .section-intro { padding: 80px 56px; gap: 40px; }

  /* ── Featured edit ────────────────────────────────────────── */
  .featured-edit { padding: 0 56px 80px; }

  /* ── Her story ────────────────────────────────────────────── */
  .her-story { padding: 100px 56px; gap: 64px; }

  /* ── Features strip ───────────────────────────────────────── */
  .features-strip { padding: 64px 56px; gap: 28px; }

  /* ── FAQ ──────────────────────────────────────────────────── */
  .faq-section  { padding: 80px 56px; }

  /* ── Email capture ────────────────────────────────────────── */
  .email-capture { padding: 80px 56px; }

  /* ── Store pages ──────────────────────────────────────────── */
  .store-page { padding: 48px 56px 100px; }

  /* ── Footer ───────────────────────────────────────────────── */
  footer        { padding: 64px 56px 36px; }
  .footer-grid  { gap: 40px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MD — TABLET  768px – 1024px
   Goal: collapse hero to stacked, 2-col product grids, simplified mosaic
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* ── Header ───────────────────────────────────────────────── */
  #site-header { padding: 0 24px; }
  .nav-left    { gap: 16px; }
  .nav-right   { gap: 12px; }
  .nav-currency { display: none; }   /* hide currency on tablet; restored at xs */

  /* ── Hero — stacked, image becomes background ─────────────── */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: calc(100vh - 96px);
    min-height: 520px;
    position: relative;
  }
  .hero-right {
    position: absolute; inset: 0; z-index: 1;
  }
  .hero-right::after {                        /* dark scrim over image */
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
      to right,
      rgba(247, 240, 232, 0.96) 0%,
      rgba(247, 240, 232, 0.80) 55%,
      rgba(247, 240, 232, 0.20) 100%
    );
  }
  .hero-left {
    position: relative; z-index: 2;
    background: transparent;
    padding: 60px 40px;
    justify-content: center;
    grid-row: 1;
    grid-column: 1;
  }
  .hero-headline { font-size: clamp(40px, 5vw, 64px); }
  .hero-subtext  { max-width: 420px; }
  .hero-caption  { display: none; }

  /* ── Tagline strip ────────────────────────────────────────── */
  .tagline-item:nth-child(3),
  .tagline-item:nth-child(4) { display: none; } /* show only 2 on tablet */

  /* ── Section intro ────────────────────────────────────────── */
  .section-intro {
    grid-template-columns: 1fr 1fr;
    padding: 72px 40px;
    gap: 32px;
  }
  .intro-col:last-child { grid-column: 1 / -1; } /* 3rd col spans full */

  /* ── Featured edit ────────────────────────────────────────── */
  .featured-edit  { padding: 0 40px 72px; }
  .edit-header    { flex-direction: column; align-items: flex-start; gap: 20px; }
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* ── Editorial mosaic ─────────────────────────────────────── */
  .editorial-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    padding-bottom: 72px;
  }
  .mosaic-large  { grid-column: 1 / 2; grid-row: 1 / 2; aspect-ratio: 4/3; }
  .mosaic-center { grid-column: 2 / 3; grid-row: 1 / 2; padding: 40px 28px; }
  .mosaic-center-logo { font-size: 40px; }
  /* Cards fill row 2 */
  .mosaic-card:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
  .mosaic-card:nth-child(3) { grid-column: 2 / 3; grid-row: 2; }
  .mosaic-card:nth-child(5) { grid-column: 1 / 2; grid-row: 3; }
  .mosaic-card:nth-child(6) { grid-column: 2 / 3; grid-row: 3; }

  /* ── Her story ────────────────────────────────────────────── */
  .her-story {
    grid-template-columns: 1fr;
    padding: 72px 40px;
    gap: 48px;
  }
  .story-img-wrap { max-width: 480px; margin: 0 auto; }
  .story-badge    { left: 0; }
  .story-img-accent { display: none; }

  /* ── Features strip ───────────────────────────────────────── */
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 64px 40px;
    gap: 40px 32px;
  }

  /* ── FAQ ──────────────────────────────────────────────────── */
  .faq-section  { padding: 72px 40px; }
  .faq-headline { font-size: 36px; margin-bottom: 40px; }

  /* ── Email capture ────────────────────────────────────────── */
  .email-capture { padding: 72px 40px; }

  /* ── Store pages ──────────────────────────────────────────── */
  .store-page { padding: 40px 40px 80px; }
  .grid-3     { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid-4     { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .featured-hero-strip { grid-template-columns: 1fr 1fr; }
  .featured-hero-strip .featured-hero-card:last-child {
    grid-column: 1 / -1;              /* 3rd card full width */
  }

  /* ── Product modal ────────────────────────────────────────── */
  .modal-panel {
    width: 90vw;
    grid-template-columns: 1fr;       /* hide image, show content */
  }
  .modal-img { display: none; }
  .modal-content { padding: 36px 28px; }

  /* ── Footer ───────────────────────────────────────────────── */
  footer        { padding: 56px 40px 32px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }   /* brand row spans full */
}


/* ═══════════════════════════════════════════════════════════════════════════
   SM — LARGE MOBILE / SMALL TABLET  640px – 768px
   Goal: 2-col product grids, hero overlay, tighter padding
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Header ───────────────────────────────────────────────── */
  #site-header { padding: 0 20px; height: 56px; }
  .nav-logo-svg { height: 30px; }
  .ticker      { font-size: 10px; }
  main         { padding-top: 88px; } /* 32px ticker + 56px header */
  .nav-logo    { font-size: 24px; }
  .nav-left    { gap: 12px; }
  .nav-link    { font-size: 10px; letter-spacing: 0.1em; }

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero      { height: 90svh; min-height: 480px; }
  .hero-left { padding: 48px 24px 48px 24px; }
  .hero-headline { font-size: clamp(36px, 8vw, 52px); }
  .hero-subtext  { font-size: 12px; margin: 16px 0 28px; }
  .hero-ctas     { flex-wrap: wrap; gap: 12px; }
  .btn-primary   { padding: 12px 24px; font-size: 10px; }

  /* ── Tagline strip ────────────────────────────────────────── */
  .tagline-item:nth-child(2),
  .tagline-item:nth-child(4) { display: none; } /* only items 1 & 3 */
  .tagline-item { font-size: 9px; padding: 14px 0; }

  /* ── Section intro ────────────────────────────────────────── */
  .section-intro {
    grid-template-columns: 1fr;
    padding: 56px 24px;
    gap: 32px;
  }
  .intro-col:last-child { grid-column: auto; }
  .intro-title { font-size: 24px; }

  /* ── Featured edit ────────────────────────────────────────── */
  .featured-edit   { padding: 0 24px 56px; }
  .section-headline { font-size: clamp(28px, 6vw, 40px); }
  .section-sub      { max-width: 100%; margin-bottom: 32px; }
  .product-grid-4   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-name     { font-size: 15px; }

  /* ── Editorial mosaic ─────────────────────────────────────── */
  .editorial-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-bottom: 56px;
    gap: 2px;
  }
  .mosaic-large  { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
  .mosaic-center { grid-column: auto; grid-row: auto; padding: 40px 24px; }
  .mosaic-center-logo { font-size: 36px; }
  .mosaic-card:nth-child(n) { grid-column: auto; grid-row: auto; }

  /* ── Her story ────────────────────────────────────────────── */
  .her-story     { padding: 56px 24px; gap: 40px; }
  .story-pull    { font-size: clamp(24px, 5vw, 34px); }
  .story-body    { font-size: 13px; }

  /* ── Features strip ───────────────────────────────────────── */
  .features-strip { padding: 48px 24px; gap: 32px 24px; }
  .feature-icon   { font-size: 28px; }
  .feature-desc   { font-size: 11px; }

  /* ── FAQ ──────────────────────────────────────────────────── */
  .faq-section   { padding: 56px 24px; }
  .faq-headline  { font-size: 30px; margin-bottom: 32px; }
  .faq-q         { font-size: 14px; padding: 18px 0; }

  /* ── Email capture ────────────────────────────────────────── */
  .email-capture  { padding: 56px 24px; }
  .email-headline { font-size: clamp(24px, 6vw, 40px); margin-bottom: 32px; }
  .email-form     { flex-direction: column; max-width: 100%; gap: 0; }
  .email-input    { border-right: 1px solid rgba(138, 122, 109, 0.3); border-bottom: none; }
  .email-submit   { padding: 14px 20px; }

  /* ── Store pages ──────────────────────────────────────────── */
  .store-page           { padding: 32px 24px 64px; }
  .store-page-header    { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 20px; margin-bottom: 32px; }
  .store-page-title     { font-size: clamp(32px, 8vw, 56px); }
  .grid-3               { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-4               { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-hero-strip  { grid-template-columns: 1fr; }
  .featured-hero-card:last-child { grid-column: auto; }

  /* ── Cart drawer ──────────────────────────────────────────── */
  #cart-drawer { width: 100vw; }

  /* ── Product modal ────────────────────────────────────────── */
  .modal-panel { width: 100vw; border-radius: 0; }

  /* ── Footer ───────────────────────────────────────────────── */
  footer        { padding: 48px 24px 28px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   XS — MOBILE  < 640px
   Goal: fully single-column, thumb-friendly targets, no horizontal scroll
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Header — hamburger left · logo center · icons right ─────── */
  #site-header {
    padding: 0 16px;
    height: 52px;
  }
  .ticker { font-size: 9.5px; height: 28px; }
  main    { padding-top: 80px; } /* 28px ticker + 52px header */

  /* Show hamburger, hide desktop text links */
  .nav-hamburger { display: flex; }
  .nav-left .nav-link { display: none; }

  /* Tighten right-side icons */
  .nav-right    { gap: 4px; }
  .nav-logo-svg { height: 26px; }   /* SVG logo size on mobile */
  .nav-icon-btn { width: 32px; height: 32px; }

  /* Restore currency label — hidden by tablet query, needed back on mobile */
  .nav-currency {
    display: inline;
    font-size: 9px; letter-spacing: 0.1em;
  }

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero       { height: 88svh; min-height: 440px; }
  .hero-left  { padding: 40px 20px; }
  .hero-headline { font-size: clamp(34px, 9vw, 48px); line-height: 1.05; }
  .hero-eyebrow  { font-size: 9px; margin-bottom: 16px; }
  .hero-subtext  { font-size: 12px; line-height: 1.6; margin: 14px 0 24px; }
  .hero-ctas     { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-primary   { padding: 14px 28px; width: 100%; justify-content: center; }
  .btn-ghost     { align-self: flex-start; }

  /* ── Tagline strip ────────────────────────────────────────── */
  .tagline-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tagline-item  {
    min-width: 160px; padding: 12px 8px;
    font-size: 8px; flex-shrink: 0;
  }
  .tagline-item:nth-child(2),
  .tagline-item:nth-child(3),
  .tagline-item:nth-child(4) { display: flex; } /* restore all items, horizontal scroll */

  /* ── Section intro ────────────────────────────────────────── */
  .section-intro { padding: 48px 20px; gap: 28px; }
  .intro-col     { padding: 0; }
  .intro-title   { font-size: 22px; }
  .intro-text    { font-size: 12px; }

  /* ── Featured edit ────────────────────────────────────────── */
  .featured-edit   { padding: 0 20px 48px; }
  .section-label   { font-size: 9px; }
  .section-sub     { font-size: 12px; margin-bottom: 24px; }
  .edit-header     { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }

  /* ── Product grid — single column on smallest screens ──────── */
  .product-grid-4  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-name    { font-size: 14px; }
  .product-color   { font-size: 10px; }
  .product-price   { font-size: 13px; }
  .product-quick   { display: none; }    /* too small for hover quick-view */

  /* ── Editorial mosaic — full vertical stack ───────────────── */
  .editorial-mosaic { gap: 2px; padding-bottom: 48px; }
  .mosaic-center    { padding: 40px 20px; min-height: 260px; }
  .mosaic-center-logo { font-size: 32px; }
  .mosaic-center p    { font-size: 12px; }

  /* ── Her story ────────────────────────────────────────────── */
  .her-story     { padding: 48px 20px; gap: 36px; }
  .story-badge   { bottom: 20px; left: 0; padding: 14px 20px; }
  .story-badge-name { font-size: 18px; }
  .story-pull    { font-size: clamp(22px, 6vw, 32px); margin-bottom: 20px; }
  .story-callout { padding: 14px 16px; font-size: 12px; margin: 20px 0; }

  /* ── Features strip ───────────────────────────────────────── */
  .features-strip { padding: 40px 20px; gap: 28px 16px; }
  .feature-icon   { font-size: 26px; margin-bottom: 10px; }
  .feature-name   { font-size: 10px; margin-bottom: 8px; }
  .feature-desc   { font-size: 11px; }

  /* ── FAQ ──────────────────────────────────────────────────── */
  .faq-section   { padding: 48px 20px; }
  .faq-headline  { font-size: 26px; margin-bottom: 28px; }
  .faq-q         { font-size: 13px; padding: 16px 0; }
  .faq-a p       { font-size: 12px; }
  .faq-item.open .faq-a { max-height: 280px; }

  /* ── Email capture ────────────────────────────────────────── */
  .email-capture  { padding: 48px 20px; }
  .email-eyebrow  { font-size: 9px; margin-bottom: 14px; }
  .email-headline { font-size: clamp(22px, 7vw, 34px); margin-bottom: 24px; }
  .email-form     { flex-direction: column; }
  .email-input    {
    border-right: 1px solid rgba(138, 122, 109, 0.3);
    border-bottom: none;
    padding: 14px 16px;
  }
  .email-submit   { padding: 14px 20px; font-size: 10px; }

  /* ── Store pages ──────────────────────────────────────────── */
  .store-page        { padding: 28px 20px 56px; }
  .store-page-header { margin-bottom: 24px; padding-bottom: 16px; }
  .store-page-count  { font-size: 10px; }
  .grid-3            { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-4            { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .featured-hero-strip { grid-template-columns: 1fr; gap: 2px; }

  /* ── Product modal — full screen sheet ───────────────────── */
  #product-modal { align-items: flex-end; }
  .modal-panel   {
    position: fixed; right: 0; left: 0; bottom: 0; top: auto;
    width: 100%; max-height: 92dvh;
    grid-template-columns: 1fr;
    animation: slide-up-mobile 0.45s var(--ease-out);
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
  }
  .modal-img     { display: none; }
  .modal-content { padding: 28px 20px 48px; }
  .modal-close   { margin-bottom: 20px; }
  .modal-name    { font-size: 22px; }
  .modal-price   { font-size: 18px; }
  .size-btn      { width: 44px; height: 44px; font-size: 11px; }
  .add-to-cart   { padding: 18px; font-size: 12px; } /* large touch target */

  @keyframes slide-up-mobile {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  /* ── Cart drawer — full screen ────────────────────────────── */
  #cart-drawer  { width: 100%; }
  .cart-header  { padding: 20px 20px 16px; }
  .cart-title   { font-size: 20px; }
  .cart-body    { padding: 16px 20px; }
  .cart-item    { grid-template-columns: 68px 1fr auto; gap: 12px; }
  .cart-footer  { padding: 16px 20px 28px; }

  /* ── Search overlay ───────────────────────────────────────── */
  #search-overlay  { padding-top: 120px; align-items: flex-start; padding-left: 20px; padding-right: 20px; }
  .search-bar input { font-size: 22px; }

  /* ── Footer ───────────────────────────────────────────────── */
  footer         { padding: 40px 20px 24px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand  { grid-column: auto; }
  .footer-logo   { font-size: 32px; }
  .footer-brand-desc { max-width: 100%; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-col a  { margin-bottom: 10px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding-top: 20px; }

  /* ── Toast ────────────────────────────────────────────────── */
  #toast { width: calc(100% - 40px); text-align: center; bottom: 20px; font-size: 11px; }

  /* ── Reduce motion on small screens ──────────────────────── */
  .reveal { transform: translateY(20px); }

  /* ── Touch: always show quick-add as tap (no hover) ──────── */
  .product-card:active .product-quick { bottom: 0; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY — Honour reduced-motion preference across all breakpoints
═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-img { transform: scale(1); transition: none; }
}
