/* ============================================================
   birchivy — botanical home & body apothecary
   Design tokens + components
   ============================================================ */

/* ---- Fonts ---- */
/* Google Fonts @import removed — fonts are now self-hosted via birchivy-fonts.css (font-display:swap) + preload. */

/* ---- Tokens ---- */
:root {
  /* surfaces */
  --paper:      #FAF9F5;
  --paper-2:    #F3F0E8;
  --card:       #FFFFFF;
  --ink:        #20231C;
  --ink-soft:   #54564B;
  --muted:      #8C8676;
  --line:       rgba(32, 35, 28, 0.10);
  --line-soft:  rgba(32, 35, 28, 0.055);

  /* section tints (color-coded rhythm) */
  --tint-sage:  #F1F3EC;
  --tint-clay:  #F8F2EA;

  /* brand greens */
  --forest:     #25301F;
  --forest-2:   #2C3826;
  --sage:       #6E7B5C;

  /* accent (overridable via tweaks) */
  --accent:     #B5673C;
  --accent-ink: #97532F;
  --accent-tint:#F0E3D6;

  /* display font (overridable) */
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;

  --radius: 4px;
  --container: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* image-slot empty-state tint (each slot passes its own --bg) */
image-slot { background-color: var(--bg, var(--paper-2)); }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 600;
  color: var(--accent-ink);
}
.eyebrow--light { color: var(--accent); }
.section-title {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.01em;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  margin: 0;
}
.lede { color: var(--ink-soft); max-width: 52ch; font-size: 1.075rem; }

/* serif italic flourish */
.flourish { font-family: var(--display); font-style: italic; font-weight: 500; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.7em;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  border-radius: 100px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-underline {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
  transition: gap .35s var(--ease), color .35s var(--ease);
}
.link-underline:hover { gap: 0.9em; color: var(--accent-ink); }

/* ============================================================
   Announcement bar + Header
   ============================================================ */
.announce {
  background: var(--forest); color: #E7E2D3;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  overflow: hidden;
}
.announce__track {
  display: flex; align-items: center; gap: 4rem; white-space: nowrap;
  padding: 9px 0;
  animation: marquee 34s linear infinite;
}
.announce__track span { display: inline-flex; align-items: center; gap: 4rem; }
.announce__track .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 78px;
}
.nav__links { display: flex; gap: 2.1rem; align-items: center; }
.nav__links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  position: relative; padding: 4px 0; color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.brand {
  font-family: var(--display); font-weight: 500;
  font-size: 1.85rem; letter-spacing: 0.01em; text-align: center;
  display: inline-flex; align-items: center; gap: 0.5rem; justify-self: center;
}
.brand .mark { color: var(--accent); }

.nav__actions { display: flex; gap: 1.35rem; align-items: center; justify-self: end; }
.icon-btn {
  background: none; border: none; padding: 0; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500;
  transition: color .3s var(--ease);
}
.icon-btn:hover { color: var(--accent-ink); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: 100px; background: var(--accent); color: #fff;
  font-size: 0.66rem; font-weight: 700; line-height: 1;
}

/* hamburger + left cluster */
.nav__left { display: flex; align-items: center; gap: 1.6rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; margin-left: -10px; padding: 0;
  background: none; border: none; color: var(--ink);
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile slide-in menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; height: 100%; width: min(380px, 86vw); z-index: 90;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .5s var(--ease);
  box-shadow: 20px 0 60px rgba(20,24,17,0.16);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.mobile-menu__head .brand { font-size: 1.6rem; }
.mobile-menu__links { display: flex; flex-direction: column; padding: 12px 0; }
.mobile-menu__links a {
  font-family: var(--display); font-size: 1.9rem; font-weight: 500;
  padding: 14px 24px; border-bottom: 1px solid var(--line-soft); color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.mobile-menu__links a:active, .mobile-menu__links a:hover { background: var(--tint-sage); color: var(--accent-ink); }
.mobile-menu__sub { display: flex; flex-direction: column; padding: 8px 0; margin-top: auto; }
.mobile-menu__sub a { display: flex; align-items: center; gap: 12px; padding: 14px 24px; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.mobile-menu__sub svg { width: 19px; height: 19px; }
.mobile-menu__perk { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); background: var(--forest); color: #E7E2D3; font-size: 0.8rem; }
.mobile-menu__perk .stars { color: var(--accent); margin-right: 6px; letter-spacing: 1px; }

/* focus-visible for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 0; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(82vh, 760px);
  align-items: stretch;
}
.hero__copy {
  padding: clamp(3rem, 7vh, 6rem) clamp(2rem, 4vw, 4.5rem) clamp(3rem, 7vh, 6rem) 0;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__copy .wrap-left { padding-left: 48px; }
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: 0.97; letter-spacing: -0.015em;
  margin: 1.4rem 0 1.6rem;
}
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero__sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 40ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero__media { position: relative; overflow: hidden; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__badge {
  position: absolute; left: 28px; bottom: 28px; z-index: 3;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-radius: 100px; padding: 10px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(35,39,30,0.12);
}
.hero__badge .stars { color: var(--accent); letter-spacing: 1px; }

/* hero alt: full-bleed */
body[data-hero="full"] .hero__grid { grid-template-columns: 1fr; }
body[data-hero="full"] .hero__media {
  position: absolute; inset: 0; z-index: 0;
}
body[data-hero="full"] .hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,24,17,0.66) 0%, rgba(20,24,17,0.28) 45%, transparent 75%);
}
body[data-hero="full"] .hero__copy { position: relative; z-index: 2; color: var(--paper); }
body[data-hero="full"] .hero h1 { color: #fff; }
body[data-hero="full"] .hero h1 em { color: var(--accent); }
body[data-hero="full"] .hero__sub { color: rgba(255,255,255,0.86); }
body[data-hero="full"] .hero .eyebrow { color: var(--accent); }
body[data-hero="full"] .hero__grid { min-height: min(88vh, 820px); }

/* ============================================================
   Values marquee strip
   ============================================================ */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.values__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.values__item {
  padding: 26px 28px; display: flex; gap: 14px; align-items: center;
  border-left: 1px solid var(--line-soft);
}
.values__item:first-child { border-left: none; }
.values__item svg { width: 26px; height: 26px; color: var(--accent-ink); flex: none; }
.values__item h4 { margin: 0; font-size: 0.92rem; font-weight: 600; }
.values__item p { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: clamp(4.5rem, 9vh, 7.5rem) 0; }
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-bottom: 3rem;
}
.section__head .eyebrow { margin-bottom: 1rem; display: block; }

/* ============================================================
   Product grid
   ============================================================ */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.card { position: relative; }
.card__media {
  position: relative; aspect-ratio: 3 / 3.7; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2);
}
.card__media image-slot { width: 100%; height: 100%; }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--card); color: var(--ink);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 100px;
}
.card__tag--accent { background: var(--accent); color: #fff; }
.card__wish {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(4px);
  border: none; display: grid; place-items: center; color: var(--ink);
  opacity: 0; transform: translateY(-4px); transition: .35s var(--ease);
}
.card:hover .card__wish { opacity: 1; transform: translateY(0); }
.card__wish:hover { color: var(--accent); }
.card__wish svg { width: 17px; height: 17px; }
.card__wish.is-wished { color: var(--accent); }

.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  padding: 0.85em 1em; border-radius: 100px;
  background: var(--ink); color: var(--paper); border: none;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: .4s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 0.5em;
}
.card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--accent); }
.quick-add.added { background: var(--sage); }

.card__body { padding: 16px 2px 0; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-size: 1.06rem; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.card__price { font-size: 1.0rem; font-weight: 500; white-space: nowrap; }
.card__price s { color: var(--muted); margin-right: 6px; font-weight: 400; }
.card__meta { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 0.84rem; }
.card__stars { color: var(--accent); letter-spacing: 1px; font-size: 0.8rem; }
.card__scent { font-style: italic; font-family: var(--display); font-size: 1rem; color: var(--ink-soft); }

/* ============================================================
   Category cards
   ============================================================ */
.cats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 420px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.cat:nth-child(1) { grid-row: span 2; min-height: 560px; }
.cat image-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cat::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,24,17,0.7) 0%, rgba(20,24,17,0.12) 55%, transparent 100%);
}
.cat__inner { padding: 28px; transition: transform .5s var(--ease); }
.cat:hover .cat__inner { transform: translateY(-6px); }
.cat h3 { font-family: var(--display); font-weight: 500; font-size: 1.9rem; margin: 0 0 4px; }
.cat p { margin: 0 0 14px; font-size: 0.9rem; opacity: 0.85; }
.cat .link-underline { color: #fff; }
.cat__count {
  position: absolute; top: 22px; right: 24px; font-size: 0.74rem;
  letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85;
}

/* ============================================================
   Brand story split
   ============================================================ */
.story { background: var(--tint-sage); border-top: 1px solid var(--line-soft); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.story__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.story__media image-slot { width: 100%; height: 100%; }
.story__media .stamp {
  position: absolute; right: -10px; bottom: -10px; width: 132px; height: 132px;
}
.story__copy h2 { margin: 1.2rem 0 1.4rem; }
.story__copy p { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 1.2rem; }
.story__sign { font-family: var(--display); font-style: italic; font-size: 1.7rem; margin-top: 1.6rem; }
.story__stats { display: flex; gap: 2.6rem; margin: 2.2rem 0; }
.story__stats .n { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.story__stats .l { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-top: 6px; }

/* ============================================================
   Sustainability band (forest)
   ============================================================ */
.band { background: var(--forest); color: #E9E4D6; position: relative; overflow: hidden; }
.band .eyebrow { color: var(--accent); }
.band__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.band h2 { color: #fff; margin: 1rem 0 0; }
.band__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.band__list .item { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 16px; }
.band__list h4 { margin: 0 0 6px; font-size: 1.06rem; font-weight: 600; color: #fff; }
.band__list p { margin: 0; font-size: 0.92rem; color: rgba(233,228,214,0.78); }
.band__list .num { font-family: var(--display); font-size: 1.1rem; color: var(--accent); display: block; margin-bottom: 8px; }

/* ============================================================
   Spotlight feature
   ============================================================ */
.spotlight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.spotlight__media { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.spotlight__media image-slot { width: 100%; height: 100%; }
.spotlight__pill {
  position: absolute; top: 20px; left: 20px;
  background: var(--accent); color: #fff; padding: 8px 15px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.spotlight h2 { margin: 1rem 0 1.2rem; }
.spotlight .notes { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.5rem 0; }
.note-chip {
  border: 1px solid var(--line); border-radius: 100px; padding: 7px 15px;
  font-size: 0.82rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 7px;
}
.note-chip .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.spotlight__buy { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.spotlight__price { font-family: var(--display); font-size: 2.2rem; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews { background: var(--tint-clay); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--card); border-radius: var(--radius); padding: 32px 30px;
  border: 1px solid var(--line-soft); display: flex; flex-direction: column;
}
.review .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; }
.review p { font-family: var(--display); font-size: 1.35rem; line-height: 1.4; margin: 0 0 auto; color: var(--ink); }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.review__av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.review__by .nm { font-weight: 600; font-size: 0.92rem; }
.review__by .vr { font-size: 0.76rem; color: var(--muted); }

/* ============================================================
   Journal
   ============================================================ */
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post .post__media { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); margin-bottom: 18px; }
.post .post__media image-slot { width: 100%; height: 100%; }
.post .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-ink); font-weight: 600; }
.post h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin: 10px 0 8px; line-height: 1.15; }
.post p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.post .post__media { position: relative; }
.post:hover .post__media image-slot { transform: scale(1.04); }
.post .post__media image-slot { transition: transform .6s var(--ease); }

/* ============================================================
   Newsletter
   ============================================================ */
.news { background: var(--forest-2); color: #ECE7D9; text-align: center; }
.news .inner { max-width: 620px; margin: 0 auto; }
.news h2 { color: #fff; margin: 1rem 0 1rem; }
.news p { color: rgba(236,231,217,0.8); margin: 0 auto 2rem; max-width: 46ch; }
.news .eyebrow { color: var(--accent); }
.news form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news input {
  flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px; padding: 0.95em 1.4em; color: #fff; font-family: inherit; font-size: 0.95rem;
}
.news input::placeholder { color: rgba(255,255,255,0.5); }
.news input:focus { outline: none; border-color: var(--accent); }
.news .fineprint { font-size: 0.76rem; color: rgba(236,231,217,0.55); margin-top: 1.2rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 5rem 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-soft); }
.footer__brand .brand { justify-self: start; font-size: 2rem; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.footer__social { display: flex; gap: 12px; margin-top: 1.5rem; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: .3s var(--ease); }
.footer__social a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h5 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin: 0 0 1.2rem; font-weight: 600; }
.footer__col a { display: block; font-size: 0.92rem; color: var(--ink-soft); padding: 6px 0; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--accent-ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; gap: 1rem; }
.footer__pay { display: flex; gap: 8px; align-items: center; }
.footer__pay span { border: 1px solid var(--line); border-radius: 5px; padding: 4px 8px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-soft); }

/* ============================================================
   Cart drawer
   ============================================================ */
.scrim {
  position: fixed; inset: 0; background: rgba(20,24,17,0.42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; z-index: 80;
}
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 92vw); z-index: 90;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
  box-shadow: -20px 0 60px rgba(20,24,17,0.18);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.5rem; }
.drawer__close { background: none; border: none; color: var(--ink); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background .3s; }
.drawer__close:hover { background: var(--paper-2); }
.drawer__ship { padding: 14px 26px; background: var(--paper-2); font-size: 0.8rem; }
.drawer__ship .bar { height: 5px; border-radius: 100px; background: var(--line); margin-top: 8px; overflow: hidden; }
.drawer__ship .bar i { display: block; height: 100%; background: var(--accent); border-radius: 100px; transition: width .5s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 4rem 1rem; }
.drawer__empty svg { width: 44px; height: 44px; margin-bottom: 1rem; color: var(--line); }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.line-item__img { width: 64px; height: 78px; border-radius: 3px; background: var(--paper-2); overflow: hidden; display: grid; place-items: center; color: var(--accent-ink); }
.line-item__img svg { width: 26px; height: 26px; opacity: .5; }
.line-item__name { font-weight: 600; font-size: 0.95rem; margin: 0; }
.line-item__scent { font-size: 0.8rem; color: var(--muted); font-style: italic; font-family: var(--display); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; margin-top: 10px; }
.qty button { width: 26px; height: 26px; background: none; border: none; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { color: var(--accent); }
.qty span { min-width: 24px; text-align: center; font-size: 0.85rem; font-weight: 600; }
.line-item__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.line-item__price { font-weight: 600; font-size: 0.95rem; }
.line-item__remove { background: none; border: none; color: var(--muted); font-size: 0.74rem; text-decoration: underline; padding: 0; }
.line-item__remove:hover { color: var(--accent-ink); }
.drawer__foot { padding: 22px 26px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.drawer__sub .l { font-size: 0.95rem; }
.drawer__sub .v { font-family: var(--display); font-size: 1.7rem; }
.drawer__note { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.drawer .btn { width: 100%; justify-content: center; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .announce__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Press strip  ·  hero trust  ·  FAQ  (Maudsch-inspired touches)
   ============================================================ */
.press { border-bottom: 1px solid var(--line); background: var(--paper); padding: 24px 0; }
.press .wrap { display: flex; align-items: center; justify-content: center; gap: 2.6rem; flex-wrap: wrap; }
.press__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; }
.press__logos { display: flex; align-items: center; gap: 2.8rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.press__logos li { font-size: 0.98rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.5; transition: opacity .3s var(--ease); }
.press__logos li.serif { font-family: var(--display); font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 1.5rem; }
.press__logos li:hover { opacity: 0.85; }

.hero__trust { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 1.9rem 0 0; flex-wrap: wrap; }
.hero__trust li { font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.45rem; }
.hero__trust li::before { content: '✓'; color: var(--accent-ink); font-weight: 700; font-size: 0.78rem; }
body[data-hero="full"] .hero__trust li { color: rgba(255,255,255,0.85); }
body[data-hero="full"] .hero__trust li::before { color: var(--accent); }

.faq { background: var(--tint-sage); }
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro h2 { margin: 1rem 0 1.2rem; }
.faq__intro .lede { margin-bottom: 1.6rem; }
.faq__list { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 22px 4px; font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 500; color: var(--ink); transition: color .25s var(--ease); }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--accent-ink); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 18px; height: 1.6px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.6px; height: 18px; transform: translateX(-50%); }
.faq details[open] .faq__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq details p { margin: 0 4px 22px; color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; }
.faq details[open] p { animation: faqIn .42s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Buy-with-confidence band */
.assure { background: var(--card); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.assure__head { text-align: center; max-width: 660px; margin: 0 auto 3.4rem; }
.assure__head .eyebrow { display: block; margin-bottom: 1rem; }
.assure__head .lede { margin: 1.2rem auto 0; }
.assure__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6rem; }
.assure__item { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.assure__item svg { width: 30px; height: 30px; color: var(--accent-ink); margin-bottom: 1.1rem; }
.assure__item h4 { margin: 0 0 0.5rem; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.assure__item p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

.spotlight__assure { display: flex; align-items: center; gap: 0.6rem; margin: 1.5rem 0 0; font-size: 0.86rem; color: var(--muted); }
.spotlight__assure svg { width: 18px; height: 18px; color: var(--accent-ink); flex: none; }

.reviews__badge { margin-top: 1.5rem; font-size: 0.92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; justify-content: center; }
.reviews__badge .stars { color: var(--accent); letter-spacing: 1px; }
.reviews__badge-txt { white-space: nowrap; }
.reviews__badge strong { font-weight: 600; color: var(--ink); }

/* ============================================================
   Responsive  ·  desktop ≥ 900  /  mobile < 900
   ============================================================ */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat:nth-child(1) { grid-row: auto; min-height: 420px; }
  .band__grid, .spotlight__grid, .story__grid, .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 56vh; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---- nav collapses to the mobile menu ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hamburger { display: flex; }
  .hide-mobile { display: none; }
  .nav { height: 66px; }
  .reviews__grid, .journal__grid { grid-template-columns: 1fr 1fr; }
  .story__grid, .band__grid, .spotlight__grid { gap: 2.4rem; }
  .story__media, .spotlight__media { max-width: 560px; }
  .faq__grid { grid-template-columns: 1fr; gap: 2rem; }
  .assure__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 2.4rem; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .announce { font-size: 0.68rem; }
  .nav__actions { gap: 0.9rem; }
  .values__row { grid-template-columns: 1fr 1fr; }
  .values__item { padding: 20px; }
  .products { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .reviews__grid, .journal__grid, .cats { grid-template-columns: 1fr; }
  .news form { flex-direction: column; }
  .news input, .news .btn { width: 100%; }
  .press .wrap { gap: 1.4rem; }
  .press__logos { gap: 1.6rem 1.8rem; }
  .press__logos li { font-size: 0.84rem; }
  .press__logos li.serif { font-size: 1.25rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 3.6rem 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 2.2rem; }
  .hero__copy { padding: 3rem 0 3.4rem; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .story__stats { gap: 1.8rem; flex-wrap: wrap; }
}

/* ---- Editorial breadcrumbs ---- */
.editorial-breadcrumb { max-width: var(--container); margin: 0 auto; padding: 18px 48px 0; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.editorial-breadcrumb a { color: var(--muted); transition: color .25s var(--ease); }
.editorial-breadcrumb a:hover { color: var(--accent-ink); }
.editorial-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
@media (max-width: 760px) { .editorial-breadcrumb { padding: 14px 22px 0; } }

/* ---- Search overlay ---- */
.search-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(250, 249, 245, 0.97); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay__inner { width: 100%; max-width: 720px; padding: 0 24px; text-align: center; }
.search-overlay__close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; font-size: 2.4rem; color: var(--ink);
  cursor: pointer; line-height: 1;
}
.search-overlay__form { display: flex; gap: 12px; margin-bottom: 1.2rem; }
.search-overlay__form input[type="search"] {
  flex: 1; font-size: clamp(1.4rem, 3vw, 2rem); font-family: var(--display);
  border: none; border-bottom: 2px solid var(--line); background: transparent;
  padding: 12px 4px; color: var(--ink); outline: none;
  transition: border-color .3s var(--ease);
}
.search-overlay__form input[type="search"]:focus { border-bottom-color: var(--accent-ink); }
.search-overlay__form input[type="search"]::-webkit-search-decoration,
.search-overlay__form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-overlay__hint { font-size: 0.8rem; color: var(--muted); }
.search-overlay__hint kbd { font-family: inherit; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: 0.75rem; }

/* ---- Exit-intent popup ---- */
.exit-popup {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(32, 35, 28, 0.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.exit-popup.open { opacity: 1; pointer-events: auto; }
.exit-popup__inner {
  background: var(--card); border-radius: var(--radius);
  max-width: 480px; width: calc(100% - 40px); padding: 2.2rem 2rem;
  text-align: center; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  transform: translateY(20px); transition: transform .4s var(--ease);
}
.exit-popup.open .exit-popup__inner { transform: translateY(0); }
.exit-popup__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 1.6rem; color: var(--muted);
  cursor: pointer; line-height: 1;
}
.exit-popup__inner h2 { font-family: var(--display); font-size: 1.8rem; margin: 0.6rem 0 0.8rem; }
.exit-popup__inner p { color: var(--ink-soft); font-size: 0.98rem; margin: 0 0 1.2rem; }
.exit-popup__form { display: flex; gap: 10px; margin-bottom: 0.8rem; }
.exit-popup__form input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 100px; font-family: inherit; font-size: 0.92rem; outline: none; }
.exit-popup__form input:focus { border-color: var(--accent-ink); }
.exit-popup__fine { font-size: 0.72rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) {
  .exit-popup__form { flex-direction: column; }
  .exit-popup__form .btn { width: 100%; }
}

/* ---- Mobile bottom nav ---- */
.mobile-bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(150%) blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(35,39,30,0.06);
  justify-content: space-around; align-items: center; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none; color: var(--muted); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer; padding: 4px 12px; position: relative;
  transition: color .25s var(--ease);
}
.mobile-bottom-nav__item svg { width: 22px; height: 22px; stroke-width: 1.5; }
.mobile-bottom-nav__item.is-active, .mobile-bottom-nav__item:hover { color: var(--ink); }
.mobile-bottom-nav__badge {
  position: absolute; top: 2px; right: 6px;
  background: var(--accent); color: #fff; font-size: 0.6rem; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; padding: 0 3px;
}

@media (max-width: 460px) {
  .values__row { grid-template-columns: 1fr; }
  .values__item { border-left: none; border-top: 1px solid var(--line-soft); }
  .values__item:first-child { border-top: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .mobile-bottom-nav { display: flex; }
  .card__name { font-size: 0.98rem; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .assure__grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
