/* ==========================================================================
   ZELLA BLENDS — Le Labo-inspired apothecary system, Zella warm palette
   ========================================================================== */

:root {
  /* Warm paper / ink palette (Zella) */
  --paper:      #F7F1E8;
  --paper-2:    #EFE6D8;
  --paper-3:    #E7DBC9;
  --ink:        #211A13;
  --ink-2:      #3A2F25;
  --ink-soft:   #6B5B4E;
  --ink-mute:   #94836F;
  --line:       rgba(33, 26, 19, 0.16);
  --line-soft:  rgba(33, 26, 19, 0.08);
  --accent:     #9A7058;       /* muted earth — used sparingly */
  --accent-deep:#7B5E50;

  /* Type */
  --display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --label:   'Courier Prime', 'Courier New', monospace;
  --serif:   'Cormorant Garamond', Georgia, serif;

  /* Rhythm */
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5rem, 11vw, 11rem);
  --maxw: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--display);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--ink); color: var(--paper); }

/* ---- Typographic primitives ------------------------------------------- */
.eyebrow {
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
em, .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.measure { max-width: 38rem; }

/* ---- Buttons / links --------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 1.05rem 2.4rem;
  transition: background .35s ease, color .35s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.inverse { color: var(--paper); border-color: var(--paper); }
.btn.inverse:hover { background: var(--paper); color: var(--ink); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: transparent; color: var(--ink); }

.link-quiet {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.35rem;
  transition: color .3s ease, border-color .3s ease;
}
.link-quiet:hover { color: var(--accent); border-color: var(--accent); }

/* ---- Announcement bar -------------------------------------------------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.62rem 1rem;
}

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.35rem var(--pad-x);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .nav-left,
.site-header .nav-right { display: flex; align-items: center; gap: 2.1rem; }
.site-header .nav-right { justify-content: flex-end; }
.nav-link {
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity .3s ease;
}
.nav-link:hover,
.nav-link.active { opacity: 1; }
.nav-link.active { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.brandmark {
  justify-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.28rem;
  text-align: center;
}
.brand-logo {
  height: clamp(40px, 4.4vw, 56px);
  width: auto; display: block;
}
.footer-logo {
  width: clamp(160px, 19vw, 220px);
  height: auto; display: block; margin-bottom: 1.3rem;
}
.brandmark .wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  letter-spacing: clamp(0.16em, 0.4vw, 0.42em);
  text-transform: uppercase;
  text-indent: clamp(0.16em, 0.4vw, 0.42em);
  white-space: nowrap;
}
.brandmark .sub {
  font-family: var(--label);
  font-size: clamp(0.48rem, 0.9vw, 0.54rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.bag-btn {
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none; border: none; color: var(--ink);
  opacity: 0.78; transition: opacity .3s ease;
}
.bag-btn:hover { opacity: 1; }

.menu-toggle { display: none; background: none; border: none; padding: 0.4rem; }
.menu-toggle span {
  display: block; width: 22px; height: 1px; background: var(--ink); margin: 6px 0;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---- Mobile nav -------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.2rem;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--label);
  font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.mobile-nav .close {
  position: absolute; top: 1.6rem; right: 1.8rem;
  background: none; border: none; font-size: 2rem; color: var(--ink); line-height: 1;
}

/* ---- Home "door" (single fixed screen, Le Labo model) ----------------- */
body.home { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
body.home .site-header { position: static; flex: 0 0 auto; }
body.home .announce { flex: 0 0 auto; }
.door { position: relative; flex: 1 1 auto; overflow: hidden; }
.door-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,11,7,.46) 0%, rgba(16,11,7,.30) 32%, rgba(16,11,7,.40) 58%, rgba(16,11,7,.88) 100%);
}
.door-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad-x);
  padding-bottom: clamp(2rem, 4vw, 3.4rem);
}
.door-lede {
  color: var(--paper);
  margin-bottom: auto;
  padding-top: clamp(2.5rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 30rem) auto;
  justify-content: space-between;
  /* Sits at the top of the hero, level with the eyebrow — not floating
     halfway down the frame. */
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.lede-text { max-width: 30rem; }

/* The single primary action on the page. Solid cream so it reads as a
   button against the video, where everything else is a hairline. */
.hero-cta {
  display: inline-flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper);
  padding: clamp(1.05rem, 1.9vw, 1.5rem) clamp(1.9rem, 3.6vw, 3.1rem);
  text-align: center;
  transition: background .35s ease, color .35s ease, transform .4s cubic-bezier(.16,.7,.3,1);
}
.hero-cta .t {
  font-family: var(--label);
  font-size: clamp(0.74rem, 1vw, 0.88rem);
  letter-spacing: 0.26em; text-transform: uppercase;
}
.hero-cta .s {
  font-family: var(--label); font-size: 0.58rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .35s ease;
}
.hero-cta:hover {
  background: transparent; color: var(--paper);
  transform: translateY(-3px);
}
.hero-cta:hover .s { color: rgba(247, 241, 232, 0.75); }
.door-lede .eyebrow { color: rgba(247,241,232,0.85); }
.door-lede h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05;
  letter-spacing: -0.01em; margin-top: 1rem; color: var(--paper);
}
.door-lede h1 em { color: var(--paper); }
.door-entries {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(247,241,232,0.28);
  padding-top: clamp(1.4rem, 2.5vw, 2.2rem);
}
.door-entry {
  color: var(--paper);
  display: flex; flex-direction: column;
  height: 100%;
  position: relative;
  padding: clamp(1rem, 1.8vw, 1.5rem) clamp(1.1rem, 2.2vw, 2rem);
  /* Nothing is drawn at rest — the panel only exists under the pointer.
     The transparent border reserves its space so nothing shifts on hover. */
  background: transparent;
  border: 1px solid transparent;
  /* The darkening arrives quickly so the copy is readable the moment the
     pointer lands; the lift is slower and does the flourish. */
  transition:
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .5s cubic-bezier(.16,.7,.3,1);
}
/* Hovering a panel flips it to cream on ink — the inverse of the hero
   button, which goes the other way. Opaque, so it reads over any frame
   of the video, and lifted clear of its neighbours. */
.door-entry:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-5px) scale(1.035);
  z-index: 2;
}
/* The shop is the primary door: a hairline outline, no fill. */
.door-entry.featured {
  border-color: rgba(247, 241, 232, 0.42);
}
.door-entry.featured:hover { border-color: rgba(247, 241, 232, 0.8); }
/* Push every "more" link to a shared baseline regardless of copy length. */
.door-entry .d { flex: 1 1 auto; }
.door-entry .more { align-self: flex-start; }
.door-entry .t {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.door-entry .d {
  font-family: var(--label); font-size: 0.66rem;
  letter-spacing: 0.06em; line-height: 1.7;
  color: rgba(247,241,232,0.7); margin-bottom: 0.7rem;
  text-transform: none;
  transition: color .22s ease;
}
.door-entry .more {
  font-family: var(--label); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,241,232,0.78);
  border-bottom: 1px solid rgba(247,241,232,0.5);
  padding-bottom: 3px; transition: color .3s ease, border-color .3s ease;
}
.door-entry:hover .t { color: var(--ink); }
.door-entry:hover .d { color: var(--ink-soft); }
.door-entry:hover .more { color: var(--ink); border-color: var(--ink); }
.door-strip {
  flex: 0 0 auto;
  display: flex; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  padding: 0.95rem var(--pad-x);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.door-strip a {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .3s ease;
}
.door-strip a:hover { color: var(--ink); }

@media (max-width: 860px) {
  body.home { height: auto; min-height: 100vh; overflow: auto; }
  .door { min-height: 60vh; }
  .door-entries { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 520px) {
  .door-entries { grid-template-columns: 1fr; gap: 1.1rem; }
  .door-entry .d { display: none; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,13,9,.42) 0%, rgba(18,13,9,.46) 38%, rgba(18,13,9,.86) 100%),
    radial-gradient(130% 100% at 18% 78%, rgba(18,13,9,.72) 0%, rgba(18,13,9,.12) 58%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: var(--pad-x);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  color: var(--paper);
}
.hero .eyebrow { color: rgba(247,241,232,0.82); }
.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 1.4rem 0 1.6rem;
  max-width: 16ch;
}
.hero h1 em { color: var(--paper); }
.hero-sub {
  max-width: 34rem;
  font-size: 1rem;
  color: rgba(247,241,232,0.86);
  margin-bottom: 2.3rem;
}

/* ---- Generic section --------------------------------------------------- */
.section { padding: var(--section-y) var(--pad-x); }
.section.alt { background: var(--paper-2); }
.section.ink { background: var(--ink); color: var(--paper); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: clamp(2.6rem, 5vw, 4.5rem); }
.section-head .eyebrow { display: block; margin-bottom: 1.3rem; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.12;
}
.section-head p {
  max-width: 40rem; margin: 1.4rem auto 0;
  color: var(--ink-soft); font-size: 0.98rem;
}
.section.ink .section-head .eyebrow,
.section.ink .section-head p { color: rgba(247,241,232,0.72); }

.rule { height: 1px; background: var(--line); border: 0; }
.rule-center {
  width: 46px; height: 1px; background: var(--ink);
  margin: 1.6rem auto 0; opacity: 0.5;
}

/* ---- Editorial split --------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split.flip > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}
.split-body .eyebrow { display: block; margin-bottom: 1.3rem; }
.split-body h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.14;
  margin-bottom: 1.5rem;
}
.split-body p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.split-body .actions { margin-top: 2.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }

.spec-row {
  display: flex; gap: 2.6rem;
  margin: 2rem 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-row .spec .n {
  font-family: var(--display); font-weight: 300; font-size: 1.9rem;
}
.spec-row .spec .l {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---- Product grid ------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
  text-align: center;
  transition: background .4s ease;
}
.product-card:hover { background: var(--paper-2); }
.product-card .img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  margin-bottom: 1.8rem;
  overflow: hidden;
}
.product-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.16,.7,.3,1);
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .series {
  font-family: var(--label); font-size: 0.58rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.product-card .name {
  font-family: var(--display); font-weight: 400;
  font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.product-card .desc {
  font-size: 0.85rem; color: var(--ink-soft);
  margin-bottom: 1.2rem; line-height: 1.6; flex-grow: 1;
}
.product-card .price {
  font-family: var(--label); font-size: 0.78rem;
  letter-spacing: 0.12em; color: var(--ink); margin-bottom: 1.4rem;
}
.product-card .card-cta {
  font-family: var(--label); font-size: 0.66rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  align-self: center;
  transition: color .3s ease, border-color .3s ease;
}
.product-card:hover .card-cta { color: var(--accent); border-color: var(--accent); }

/* ---- Tiles (collections) ---------------------------------------------- */
.tile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.tile {
  background: var(--paper); padding: clamp(2rem, 4vw, 3.4rem);
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  transition: background .4s ease;
}
.tile:hover { background: var(--ink); color: var(--paper); }
.tile h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.tile p { font-size: 0.88rem; color: var(--ink-soft); }
.tile:hover p { color: rgba(247,241,232,0.7); }
.tile .arrow { font-family: var(--label); margin-top: 1.6rem; font-size: 0.9rem; }

/* ---- Bespoke band ------------------------------------------------------ */
.bespoke-band {
  background: var(--ink); color: var(--paper);
  text-align: center;
  padding: clamp(5.5rem, 12vw, 10rem) var(--pad-x);
}
.bespoke-band .eyebrow { color: rgba(247,241,232,0.7); display:block; margin-bottom: 2rem; }
.bespoke-band h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.12;
  max-width: 18ch; margin: 0 auto 1.8rem;
}
.bespoke-band h2 em { color: var(--paper); }
.bespoke-band p {
  max-width: 42rem; margin: 0 auto 2.6rem;
  color: rgba(247,241,232,0.78);
}
.bespoke-band .meta {
  margin-top: 2rem; font-family: var(--label);
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(247,241,232,0.55);
}

/* ---- Apothecary label card -------------------------------------------- */
.apothecary {
  border: 1px solid var(--ink);
  padding: 2rem 2.2rem;
  font-family: var(--label);
  background: var(--paper);
}
.apothecary .ap-line {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.1em;
  padding: 0.55rem 0; border-bottom: 1px dotted var(--line);
  text-transform: uppercase; color: var(--ink-soft);
}
.apothecary .ap-line:last-child { border-bottom: 0; }
.apothecary .ap-line b { color: var(--ink); font-weight: 700; }
.apothecary .ap-head {
  text-align: center; border-bottom: 1px solid var(--ink);
  padding-bottom: 1rem; margin-bottom: 1rem;
}
.apothecary .ap-head .t {
  font-size: 1rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink);
}
.apothecary .ap-head .s {
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.4rem;
}

/* ---- Newsletter -------------------------------------------------------- */
.newsletter { text-align: center; }
.newsletter h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem;
}
.newsletter p { color: rgba(247,241,232,0.74); margin-bottom: 2.4rem; }
.newsletter form {
  display: flex; max-width: 460px; margin: 0 auto;
  border-bottom: 1px solid rgba(247,241,232,0.5);
}
.newsletter input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--paper); font-family: var(--display); font-size: 0.95rem;
  padding: 0.9rem 0.4rem;
}
.newsletter input::placeholder { color: rgba(247,241,232,0.45); }
.newsletter button {
  background: none; border: none; color: var(--paper);
  font-family: var(--label); font-size: 0.68rem;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 0 0.6rem;
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(4rem,8vw,7rem) var(--pad-x) 2.6rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: var(--maxw); margin: 0 auto;
  padding-bottom: 3.4rem; border-bottom: 1px solid rgba(247,241,232,0.16);
}
.footer-brand .wordmark {
  font-family: var(--display); font-weight: 400; font-size: 1.35rem;
  letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.footer-brand p { color: rgba(247,241,232,0.6); max-width: 26rem; font-size: 0.9rem; }
.footer-col h4 {
  font-family: var(--label); font-size: 0.62rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(247,241,232,0.55); margin-bottom: 1.3rem; font-weight: 400;
}
.footer-col a {
  display: block; font-size: 0.9rem; color: rgba(247,241,232,0.82);
  margin-bottom: 0.85rem; transition: color .3s ease;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--maxw); margin: 2.4rem auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,241,232,0.5);
}
.footer-bottom .soc { display: flex; gap: 1.6rem; }

/* ---- Product modal ----------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,15,11,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper); max-width: 920px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(14px); transition: transform .4s ease;
}
.modal-overlay.active .modal { transform: none; }
.modal-img { background: var(--paper-2); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.modal-body { padding: clamp(2rem, 4vw, 3.4rem); position: relative; }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: none; border: none; font-size: 1.6rem; color: var(--ink); line-height: 1;
}
.modal-series {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 0.8rem;
}
.modal-name {
  font-family: var(--display); font-weight: 400;
  font-size: 1.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.modal-price { font-family: var(--label); font-size: 0.95rem; margin-bottom: 1.4rem; }
.modal-desc { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 2rem; }
.size-label, .qty-label {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.size-options { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.size-option {
  font-family: var(--label); font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--ink);
  padding: 0.7rem 1.1rem; transition: all .3s ease;
}
.size-option.selected { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-bottom: 2rem; }
.qty-control button {
  background: none; border: none; width: 40px; height: 40px;
  font-size: 1rem; color: var(--ink);
}
.qty-control span {
  width: 44px; text-align: center; font-family: var(--label); font-size: 0.85rem;
}

/* ---- Cart drawer ------------------------------------------------------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 310; background: rgba(20,15,11,0.5);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 320;
  width: min(420px, 100%);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.5,0,.2,1);
}
.cart-drawer.active { transform: none; }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.8rem var(--pad-x); border-bottom: 1px solid var(--line);
}
.cart-header h3 {
  font-family: var(--label); font-size: 0.78rem;
  letter-spacing: 0.26em; text-transform: uppercase; font-weight: 400;
}
.cart-header button { background: none; border: none; font-size: 1.5rem; color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem var(--pad-x); }
.cart-empty {
  text-align: center; color: var(--ink-soft); font-size: 0.9rem;
  padding: 4rem 1rem; font-family: var(--label);
  letter-spacing: 0.1em; line-height: 2;
}
.cart-item { display: flex; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 70px; height: 70px; object-fit: cover; background: var(--paper-2); }
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--display); font-weight: 400;
  font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.cart-item-meta { font-family: var(--label); font-size: 0.66rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.cart-item-price { font-family: var(--label); font-size: 0.8rem; margin-top: 0.4rem; }
.cart-item-remove {
  background: none; border: none; font-family: var(--label);
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); align-self: flex-start; padding-top: 0.2rem;
}
.cart-item-remove:hover { color: var(--ink); }
.cart-recipe {
  font-family: var(--label); font-size: 0.62rem; line-height: 1.7;
  color: var(--ink-mute); margin-top: 0.5rem;
}
.cart-footer { padding: 1.6rem var(--pad-x); border-top: 1px solid var(--line); }
.cart-total {
  display: flex; justify-content: space-between;
  font-family: var(--label); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.checkout-btn {
  width: 100%; background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-family: var(--label); font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 1.1rem;
  transition: background .3s ease, color .3s ease;
}
.checkout-btn:hover { background: transparent; color: var(--ink); }
.cart-note {
  text-align: center; font-family: var(--label);
  font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 1rem;
}

/* ---- Added-to-bag prompt ----------------------------------------------- */
.added-overlay {
  position: fixed; inset: 0; z-index: 350; background: rgba(20,15,11,0.5);
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.added-overlay.active { opacity: 1; pointer-events: auto; }
.added-box {
  width: min(430px, 100%); background: var(--paper); border: 1px solid var(--ink);
  padding: 2.6rem 2rem 1.8rem; text-align: center;
  transform: translateY(10px); transition: transform .3s ease;
}
.added-overlay.active .added-box { transform: none; }
.added-box h3 {
  font-family: var(--display); font-weight: 300; font-size: 1.6rem;
  line-height: 1.25; margin: 1rem 0 0.5rem; text-wrap: balance;
}
.added-meta {
  font-family: var(--label); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.8rem;
}
.added-keep {
  width: 100%; margin-top: 0.7rem; background: transparent; color: var(--ink);
  border: 1px solid var(--ink); font-family: var(--label); font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 1.1rem;
  transition: background .3s ease, color .3s ease;
}
.added-keep:hover { background: var(--ink); color: var(--paper); }
.added-view {
  margin-top: 1.2rem; background: none; border: none; color: var(--ink-soft);
  font-family: var(--label); font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
}
.checkout-btn:disabled { opacity: 0.6; cursor: default; }

/* ---- Toast ------------------------------------------------------------- */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper);
  font-family: var(--label); font-size: 0.64rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1rem 1.8rem; z-index: 400;
  opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Page hero (interior) --------------------------------------------- */
.page-hero {
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x) clamp(2.5rem,5vw,4rem);
  text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { display: block; margin-bottom: 1.4rem; }
.page-hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.08;
}
.page-hero p { max-width: 40rem; margin: 1.5rem auto 0; color: var(--ink-soft); }

/* ---- Editorial body ---------------------------------------------------- */
.editorial { max-width: 680px; margin: 0 auto; padding: var(--section-y) var(--pad-x); }
.editorial p { margin-bottom: 1.6rem; color: var(--ink-2); font-size: 1.02rem; }
.editorial h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 1.4rem; letter-spacing: 0.06em;
  margin: 3rem 0 1.2rem;
}
.editorial .figure { margin: 3rem 0; }
.editorial .figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.editorial .figure figcaption {
  font-family: var(--label); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute);
  margin-top: 0.9rem; text-align: center;
}
.pullquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4;
  color: var(--ink); text-align: center;
  margin: 3.5rem 0; padding: 0 1rem;
}
.pullquote cite {
  display: block; font-family: var(--label); font-style: normal;
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 1.4rem;
}

/* ---- Steps (ritual) ---------------------------------------------------- */
.steps { max-width: 760px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 2rem;
  padding: 2.4rem 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  font-family: var(--display); font-weight: 300; font-size: 2.2rem; color: var(--ink-mute);
}
.step h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Product detail page ---------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.pdp-media { background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; max-height: 86vh; }
.pdp-body { padding: clamp(2.5rem, 6vw, 6rem) var(--pad-x); max-width: 620px; }
.pdp-body .series {
  font-family: var(--label); font-size: 0.64rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 1rem;
}
.pdp-body h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.pdp-body .price { font-family: var(--label); font-size: 1rem; margin-bottom: 2rem; }
.pdp-body .desc { color: var(--ink-soft); margin-bottom: 2.4rem; }
.pdp-body .breadcrumb {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 2.4rem;
}
.pdp-body .breadcrumb a:hover { color: var(--ink); }

/* ---- Wizard ------------------------------------------------------------ */
.wizard-page { min-height: 100vh; display: flex; flex-direction: column; }
.wizard-shell {
  flex: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) var(--pad-x);
}
.wizard { width: 100%; max-width: 620px; }
.wizard-progress {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 3rem;
}
.wizard-dot { width: 26px; height: 2px; background: var(--line); transition: background .4s ease; }
.wizard-dot.active { background: var(--ink); }
.wizard-dot.done { background: var(--ink-mute); }
.wizard-eyebrow {
  font-family: var(--label); font-size: 0.64rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft);
  text-align: center; margin-bottom: 1.4rem;
}
.wizard-question {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.16;
  text-align: center; margin-bottom: 1.2rem;
}
.wizard-helper {
  text-align: center; color: var(--ink-soft);
  max-width: 34rem; margin: 0 auto 2.6rem; font-size: 0.95rem;
}
.wizard-field { margin-bottom: 1.6rem; }
.wizard-label {
  display: block; font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.wizard-input, .wizard-textarea {
  width: 100%; background: none; border: 1px solid var(--line);
  color: var(--ink); font-family: var(--display); font-size: 1rem;
  padding: 0.95rem 1rem; outline: none; transition: border-color .3s ease;
}
.wizard-input:focus, .wizard-textarea:focus { border-color: var(--ink); }
.wizard-textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.wizard-options { display: flex; flex-direction: column; gap: 0.7rem; }
.wizard-option {
  text-align: left; background: none; border: 1px solid var(--line);
  padding: 1.1rem 1.3rem; transition: all .3s ease;
}
.wizard-option:hover { border-color: var(--ink-soft); }
.wizard-option.selected { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.wizard-option-title {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.wizard-option-desc { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.wizard-option.selected .wizard-option-desc { color: rgba(247,241,232,0.7); }
.wizard-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.wizard-chip {
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-family: var(--label); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: lowercase;
  padding: 0.6rem 1.1rem; transition: all .3s ease;
}
.wizard-chip.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wizard-chip-hint {
  text-align: center; font-family: var(--label);
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 1.2rem;
}
.wizard-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2.8rem;
}
.wizard-back, .wizard-next {
  font-family: var(--label); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: none; border: none; color: var(--ink); padding: 0.6rem 0;
}
.wizard-back { color: var(--ink-soft); }
.wizard-back:disabled { opacity: 0; pointer-events: none; }
.wizard-next {
  border: 1px solid var(--ink); padding: 1rem 2.4rem;
  transition: background .3s ease, color .3s ease;
}
.wizard-next:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.wizard-next:disabled { opacity: 0.3; pointer-events: none; }
.wizard-error {
  text-align: center; color: #9b3b2f; font-family: var(--label);
  font-size: 0.7rem; letter-spacing: 0.08em; margin-top: 1.5rem;
}
.wizard-divining { text-align: center; padding: 5rem 1rem; }
.divining-orb {
  width: 70px; height: 70px; border-radius: 50%;
  border: 1px solid var(--ink); margin: 0 auto 2rem;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.4} 50%{transform:scale(1.12);opacity:1} }
.divining-text {
  font-family: var(--label); font-size: 0.7rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft);
}
.wizard-result { text-align: center; }
.result-eyebrow {
  font-family: var(--label); font-size: 0.62rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.result-name {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6rem;
}
.result-for {
  font-family: var(--label); font-size: 0.64rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 2rem;
}
.result-description {
  color: var(--ink-2); max-width: 36rem; margin: 0 auto 2.4rem; font-size: 1rem;
}
.result-ritual {
  border: 1px solid var(--line); padding: 1.8rem; margin-bottom: 2.4rem;
}
.result-ritual-label {
  font-family: var(--label); font-size: 0.58rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.result-ritual-text { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink); }
.result-section { text-align: left; margin-bottom: 2.2rem; }
.result-section-label {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft);
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem;
}
.result-ingredient { padding: 0.9rem 0; border-bottom: 1px dotted var(--line); }
.result-ingredient-name {
  font-family: var(--display); font-weight: 400;
  font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.result-ingredient-why { font-size: 0.88rem; color: var(--ink-soft); }
.result-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.6rem; align-items: center; }
.result-claim {
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-family: var(--label); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; padding: 1.1rem 3rem;
  transition: background .3s ease, color .3s ease;
}
.result-claim:hover { background: transparent; color: var(--ink); }
.result-retry {
  background: none; border: none; font-family: var(--label);
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
}
.result-retry:hover { color: var(--ink); }

/* ---- Reveal animation -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
    padding: 1rem var(--pad-x);
  }
  .site-header .nav-left { display: none; }
  .site-header .nav-right .bag-link-extra { display: none; }
  .menu-toggle { display: block; }
  .brandmark { justify-self: start; align-items: flex-start; text-align: left; }
  .nav-right { gap: 1.3rem; }
  .announce { font-size: 0.56rem; letter-spacing: 0.18em; }
  .split, .pdp, .modal { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split-media img { aspect-ratio: 16/11; }
  .tile-grid { grid-template-columns: 1fr; }
  .pdp-media { min-height: 60vh; }
}
@media (max-width: 560px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .brandmark .sub { display: none; }
  .modal-img img { aspect-ratio: 4/3; }
}

/* ==========================================================================
   SHOP — filter rail, load-stagger grid, typographic plates
   Products are visible in the markup on load; JS only filters.
   ========================================================================== */

/* ---- Filter rail ------------------------------------------------------- */
.shop-bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad-x);
}
.shop-bar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 62px;
}
.filter-rail {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 -0.9rem;
}
.filter-rail::-webkit-scrollbar { display: none; }
.filter-btn {
  position: relative;
  flex: 0 0 auto;
  background: none; border: 0;
  font-family: var(--label);
  font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute);
  padding: 1.15rem 0.9rem;
  transition: color .35s ease;
  white-space: nowrap;
}
.filter-btn::after {
  content: ''; position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.85rem; height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.16,.7,.3,1);
}
.filter-btn:hover { color: var(--ink-2); }
.filter-btn:hover::after { transform: scaleX(1); }
.filter-btn[aria-pressed="true"] { color: var(--ink); }
.filter-btn[aria-pressed="true"]::after { transform: scaleX(1); }
.filter-btn .n {
  font-size: 0.52rem; vertical-align: super;
  margin-left: 0.35em; color: var(--ink-mute);
}
.filter-count {
  flex: 0 0 auto;
  font-family: var(--label); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---- Grid: staggered entrance on load (no scroll gate) ----------------- */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.shop-grid { border-top: 0; }
.shop-grid .product-card {
  opacity: 0;
  animation: cardIn .75s cubic-bezier(.16,.7,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.shop-grid .product-card.is-hidden { display: none; }
/* Re-stagger after a filter change */
.shop-grid.refiltering .product-card:not(.is-hidden) {
  animation: cardIn .55s cubic-bezier(.16,.7,.3,1) forwards;
}

/* ---- Card additions ---------------------------------------------------- */
.product-card .notes {
  font-family: var(--label);
  font-size: 0.6rem; letter-spacing: 0.1em;
  color: var(--ink-mute); line-height: 1.75;
  margin-bottom: 1.1rem;
  text-transform: lowercase;
}
.product-card .badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--label); font-size: 0.53rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 0.32rem 0.6rem;
}
.product-card .img-wrap { position: relative; }

/* ---- Typographic plate (products with no photograph) ------------------- */
.plate {
  aspect-ratio: 1/1; margin-bottom: 1.8rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--paper-2) 0%, var(--paper) 62%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.5rem; text-align: center;
  position: relative; overflow: hidden;
  transition: background .5s ease;
}
.plate::before,
.plate::after {
  content: ''; position: absolute; left: 18%; right: 18%; height: 1px;
  background: var(--line-soft);
}
.plate::before { top: 16%; }
.plate::after  { bottom: 16%; }
.plate .mark {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.1; color: var(--ink-2);
}
.plate .sub {
  font-family: var(--label); font-size: 0.55rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute);
}
.product-card:hover .plate { background: var(--paper-2); }

/* ---- Empty state ------------------------------------------------------- */
.shop-empty {
  padding: clamp(3rem, 8vw, 6rem) var(--pad-x);
  text-align: center; border: 1px solid var(--line); border-top: 0;
}
.shop-empty .mark {
  font-family: var(--serif); font-style: italic;
  font-size: 1.6rem; color: var(--ink-2); margin-bottom: 0.6rem;
}
.shop-empty p { color: var(--ink-soft); font-size: 0.9rem; }

@media (max-width: 900px) {
  .shop-bar-inner { min-height: 56px; gap: 1rem; }
  .filter-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-grid .product-card { animation: none; opacity: 1; }
  .filter-btn::after { transition: none; }
}

/* Grid lines must not depend on the gap showing the container background —
   with a filter applied, unfilled tracks in the last row would render as
   grey ghost cells. Draw the rules on the cards instead. */
.shop-grid {
  background: var(--paper);
  gap: 0;
}
.shop-grid .product-card {
  box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line);
}

/* Plate standing in for a product photograph on the detail page: it must
   fill the media column, not shrink to its own text. */
.pdp-media .plate {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  aspect-ratio: auto;
  min-height: 60vh;
  margin: 0;
  border: 0;
}
.pdp-media .plate .mark { font-size: clamp(2rem, 4vw, 3.2rem); }

/* ---- Product detail: media column ------------------------------------- */
/* The media column stretches to match the copy column, but the image was
   capped at 86vh — so a long description left a tall empty block above the
   photograph. Pin the media instead: it fills exactly one viewport and
   stays put while the copy scrolls beside it. */
:root {
  /* Mirrors .site-header: 1.35rem padding top+bottom + logo + 1px border */
  --header-h: calc(2.7rem + clamp(40px, 4.4vw, 56px) + 1px);
}
.pdp { align-items: start; }
.pdp-media {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  align-self: start;
  overflow: hidden;
}
.pdp-media img {
  width: 100%; height: 100%;
  max-height: none;
  object-fit: cover;
}
.pdp-media .plate { height: 100%; min-height: 0; }

@media (max-width: 1024px) {
  /* Single column below this breakpoint — pinning would strand the copy. */
  .pdp-media {
    position: static;
    height: auto;
    min-height: 60vh;
  }
  .pdp-media img { max-height: 70vh; }
}

/* ==========================================================================
   THE CIRCLE — monthly subscription
   ========================================================================== */

.circle-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x) clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Faint concentric rings — a circle, drawn quietly. */
.circle-hero::before {
  content: ''; position: absolute; inset: -30% -10%;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 22%, rgba(247,241,232,0.05) 22% 22.3%, transparent 22.3%),
    radial-gradient(circle at 50% 45%, transparent 0 34%, rgba(247,241,232,0.04) 34% 34.25%, transparent 34.25%),
    radial-gradient(circle at 50% 45%, transparent 0 46%, rgba(247,241,232,0.03) 46% 46.2%, transparent 46.2%);
  pointer-events: none;
}
.circle-hero > * { position: relative; z-index: 1; }
.circle-hero .eyebrow { color: rgba(247,241,232,0.72); display: block; margin-bottom: 1.5rem; }
.circle-hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05;
  margin-bottom: 1.5rem;
}
.circle-hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0;
}
.circle-hero .lede {
  max-width: 42rem; margin: 0 auto 2.6rem;
  color: rgba(247,241,232,0.82); font-size: 1.02rem;
}

/* ---- Price lockup ------------------------------------------------------ */
.price-lockup {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.price-lockup .amount {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.2rem); line-height: 1;
  letter-spacing: -0.01em;
}
.price-lockup .per {
  font-family: var(--label); font-size: 0.72rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(247,241,232,0.7);
}
.circle-hero .assure {
  font-family: var(--label); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(247,241,232,0.6); margin-bottom: 2.4rem;
}
.circle-hero .assure b { font-weight: 400; color: rgba(247,241,232,0.85); }

/* ---- What arrives ------------------------------------------------------ */
.arrives {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.arrives .cell {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}
.arrives .n {
  font-family: var(--label); font-size: 0.6rem;
  letter-spacing: 0.26em; color: var(--ink-mute); display: block;
  margin-bottom: 1.2rem;
}
.arrives h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink);
  margin-bottom: 0.9rem;
}
.arrives p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---- Reassurance strip ------------------------------------------------- */
.assure-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding: clamp(2.4rem, 5vw, 3.6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.assure-strip .item .t {
  font-family: var(--label); font-size: 0.63rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 0.5rem;
}
.assure-strip .item .d {
  font-size: 0.84rem; color: var(--ink-soft); line-height: 1.6;
}

/* ---- FAQ --------------------------------------------------------------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--display); font-weight: 400;
  font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--label); font-size: 1.1rem; color: var(--ink-mute);
  flex: 0 0 auto; transition: transform .3s ease;
}
.faq details[open] summary::after { content: '–'; }
.faq details p {
  margin-top: 1rem; color: var(--ink-soft);
  font-size: 0.94rem; max-width: 60ch;
}

/* ---- Sticky buy bar (subscription page) -------------------------------- */
.buy-bar {
  position: sticky; bottom: 0; z-index: 60;
  background: var(--ink); color: var(--paper);
  padding: 1rem var(--pad-x);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap;
  border-top: 1px solid rgba(247,241,232,0.18);
}
.buy-bar .label {
  font-family: var(--label); font-size: 0.66rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,241,232,0.78);
}
.buy-bar .btn { padding: 0.85rem 2rem; }

@media (max-width: 900px) {
  .arrives { grid-template-columns: 1fr; }
  .assure-strip { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}
@media (max-width: 560px) {
  .assure-strip { grid-template-columns: 1fr; }
  .buy-bar { gap: 0.8rem; }
  .buy-bar .label { display: none; }
}

/* ---- Shop header: compact ---------------------------------------------- */
/* The shop is a buying page. The centered .page-hero pushed the first row of
   products entirely below the fold, so the shop looked empty on arrival.
   This lays the title and the line of copy out horizontally in a slim band,
   which puts product on screen immediately. */
.shop-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem) var(--pad-x) clamp(1.1rem, 2.2vw, 1.6rem);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.shop-hero .eyebrow { display: block; margin-bottom: 0.55rem; }
.shop-hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1;
}
.shop-hero .lede {
  color: var(--ink-soft);
  font-size: 0.9rem; line-height: 1.65;
  max-width: 52ch;
  padding-bottom: 0.3rem;
}
@media (max-width: 860px) {
  .shop-hero { grid-template-columns: 1fr; align-items: start; gap: 0.7rem; }
  .shop-hero .lede { font-size: 0.86rem; }
}
@media (max-width: 560px) {
  /* On a phone the copy costs a third of the screen — the products say it. */
  .shop-hero .lede { display: none; }
}

/* ---- Purchase mode: one-time vs monthly -------------------------------- */
.buy-mode {
  border: 1px solid var(--line);
  margin-bottom: 1.9rem;
}
.buy-mode .mode {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.buy-mode .mode:last-child { border-bottom: 0; }
.buy-mode .mode:hover { background: var(--paper-2); }
.buy-mode .mode.selected { background: var(--paper-2); }
.buy-mode .dot {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid var(--ink-mute);
  position: relative; flex: 0 0 auto;
  transition: border-color .3s ease;
}
.buy-mode .mode.selected .dot { border-color: var(--ink); }
.buy-mode .mode.selected .dot::after {
  content: ''; position: absolute; inset: 2px;
  border-radius: 50%; background: var(--ink);
}
.buy-mode .mode-label {
  font-family: var(--label); font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  line-height: 1.5;
}
.buy-mode .mode-note {
  display: block;
  font-size: 0.72rem; letter-spacing: 0.04em;
  text-transform: none; color: var(--ink-mute);
  margin-top: 0.2rem;
}
.buy-mode .mode-price {
  font-family: var(--label); font-size: 0.82rem;
  color: var(--ink); text-align: right; white-space: nowrap;
}
.buy-mode .mode-price .was {
  display: block; font-size: 0.66rem;
  color: var(--ink-mute); text-decoration: line-through;
}
.buy-mode .save {
  display: inline-block;
  font-family: var(--label); font-size: 0.54rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 0.16rem 0.45rem; margin-left: 0.5rem;
  vertical-align: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .door-entry, .door-entry:hover { transform: none; }
}

@media (max-width: 860px) {
  /* Stack under the headline rather than shrinking it off the edge. */
  .door-lede {
    grid-template-columns: 1fr;
    justify-content: start;
    align-items: start;
    gap: 1.6rem;
  }
  .hero-cta { align-self: start; }
}


/* ==========================================================================
   PHONE — make buying effortless
   Appended last so it wins over the earlier breakpoint rules.
   ========================================================================== */

/* Comfortable tap targets everywhere (44px minimum) */
.bag-btn { padding: 0.95rem 0.35rem; margin: -0.95rem -0.35rem; }
.size-option { min-height: 44px; }
.qty-control button { width: 44px; height: 44px; }
.cart-header button { width: 44px; height: 44px; margin-right: -0.7rem; }
.cart-item-remove { padding: 0.5rem 0 0.9rem 0.8rem; margin-top: -0.3rem; }

/* Quantity stepper inside the bag */
.cart-qty {
  display: inline-flex; align-items: center; margin-top: 0.7rem;
  border: 1px solid var(--line);
}
.cart-qty button {
  width: 38px; height: 36px; background: none; border: none;
  font-size: 0.95rem; color: var(--ink);
}
.cart-qty span {
  min-width: 30px; text-align: center;
  font-family: var(--label); font-size: 0.74rem;
}

/* Product page: description fold + pinned buy bar (phones and tablets) */
.desc-more { display: none; }
.pdp-bar { display: none; }

@media (max-width: 860px) {
  .pdp-media { min-height: 0; }
  .pdp-media img { aspect-ratio: 5 / 4; max-height: 46vh; }
  .pdp-media .plate { aspect-ratio: 5 / 4; max-height: 46vh; }
  .pdp-body { padding-top: 1.6rem; padding-bottom: 6.5rem; max-width: none; }
  .pdp-body .breadcrumb { margin-bottom: 1.3rem; }
  .pdp-body h1 { margin-bottom: 0.7rem; }
  .pdp-body .price { font-size: 1.05rem; margin-bottom: 1.3rem; }

  .pdp-body .desc { margin-bottom: 0.4rem; }
  .pdp-body .desc.clamped {
    display: -webkit-box; -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  }
  .desc-more {
    display: inline-block; background: none; border: none; color: var(--ink);
    font-family: var(--label); font-size: 0.62rem; letter-spacing: 0.2em;
    text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
    padding: 0.7rem 0; margin-bottom: 1.2rem;
  }

  .pdp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; gap: 1rem;
    background: var(--paper); border-top: 1px solid var(--ink);
    padding: 0.7rem var(--pad-x) calc(0.7rem + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .35s cubic-bezier(.16,.7,.3,1);
  }
  .pdp-bar.show { transform: none; }
  .pdp-bar-info { flex: 1; min-width: 0; }
  .pdp-bar-name {
    display: block; font-family: var(--display); font-weight: 400;
    font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .pdp-bar-price {
    display: block; font-family: var(--label); font-size: 0.68rem;
    letter-spacing: 0.08em; color: var(--ink-soft);
  }
  .pdp-bar-btn {
    flex: none; background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
    font-family: var(--label); font-size: 0.68rem; letter-spacing: 0.2em;
    text-transform: uppercase; padding: 0 1.4rem; height: 48px;
  }

  .cart-footer { padding-bottom: calc(1.6rem + env(safe-area-inset-bottom)); }
  .checkout-btn { padding: 1.25rem; font-size: 0.74rem; }
}

@media (max-width: 640px) {
  /* Shop: two bottles per row, name and price only — the whole card is the link */
  .product-grid.shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0; background: none; border: 0; border-top: 1px solid var(--line);
  }
  .shop-grid .product-card {
    padding: 0.9rem 0.8rem 1.3rem;
    border-bottom: 1px solid var(--line);
  }
  .shop-grid .product-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .shop-grid .product-card .img-wrap { margin-bottom: 0.9rem; }
  .shop-grid .product-card .series { font-size: 0.5rem; letter-spacing: 0.2em; margin-bottom: 0.45rem; }
  .shop-grid .product-card .name { font-size: 0.86rem; letter-spacing: 0.14em; margin-bottom: 0.45rem; }
  .shop-grid .product-card .desc,
  .shop-grid .product-card .notes,
  .shop-grid .product-card .card-cta { display: none; }
  .shop-grid .product-card .price { margin-bottom: 0; margin-top: auto; }

  /* Added-to-bag prompt becomes a thumb-reach sheet */
  .added-overlay { align-items: flex-end; padding: 0; }
  .added-box {
    width: 100%; border-width: 1px 0 0;
    padding: 2rem var(--pad-x) calc(1.4rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .added-box .checkout-btn, .added-keep { padding: 1.25rem; }
  .added-view { padding: 0.8rem; margin-top: 0.5rem; }
}
