/* =========================================================
   Nile Savannah — Component Library
   Each component is namespaced and composable.
   ========================================================= */

/* ---------- Type Utilities ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--c-muted);
}
.dark .eyebrow { color: rgba(244,238,228,0.7); }

.caps {
  font-family: var(--f-sans);
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
}

.italic-serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}

.display-1 { font-family: var(--f-serif); font-size: var(--fs-display-1); line-height: var(--lh-tight); font-weight: 500; }
.display-2 { font-family: var(--f-serif); font-size: var(--fs-display-2); line-height: var(--lh-tight); font-weight: 500; }
.display-3 { font-family: var(--f-serif); font-size: var(--fs-display-3); line-height: var(--lh-snug); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-carved-black);
  color: var(--c-off-white);
}
.btn--primary:hover { background: #000; }

.btn--ghost-light {
  background: transparent;
  color: var(--c-off-white);
  border-color: var(--c-off-white);
}
.btn--ghost-light:hover { background: var(--c-off-white); color: var(--c-carved-black); }

.btn--ghost-dark {
  background: transparent;
  color: var(--c-carved-black);
  border-color: var(--c-carved-black);
}
.btn--ghost-dark:hover { background: var(--c-carved-black); color: var(--c-off-white); }

.btn--block { width: 100%; }

/* Underline link (used in mock) */
.link-underline {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: padding var(--d-fast) var(--ease), opacity var(--d-fast) var(--ease);
}
.link-underline:hover { padding-bottom: 8px; }

/* ---------- Announcement Bar ---------- */
.announce {
  background: var(--c-bone);
  color: var(--c-carved-black);
  text-align: center;
  padding: 12px var(--gutter);
  font-family: var(--f-sans);
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  border-bottom: 1px solid var(--c-rule);
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Header ---------- */
.header {
  background: var(--c-hero-brown);
  color: var(--c-off-white);
  padding: var(--s-5) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-5);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}
.header.header--light {
  background: var(--c-bone);
  color: var(--c-carved-black);
  border-bottom: 1px solid var(--c-rule);
}
.header__nav { display: flex; gap: var(--s-6); }
.header__nav--right { justify-content: flex-end; }

.header__link {
  font-family: var(--f-sans);
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: inherit;
  position: relative;
  padding: 4px 0;
  transition: opacity var(--d-fast);
}
.header__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-mid) var(--ease);
}
.header__link:hover::after { transform: scaleX(1); }

.wordmark {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: var(--ls-wordmark);
  color: inherit;
  text-align: center;
  white-space: nowrap;
}
.wordmark--sm { font-size: 18px; letter-spacing: 0.28em; }
.wordmark--lg { font-size: 36px; }

.header__cart-count {
  display: inline-block;
  margin-left: 4px;
}

/* Mobile menu trigger (hidden on desktop) */
.header__mobile-trigger { display: none; }

@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto 1fr; padding: var(--s-4) var(--gutter-mob); gap: var(--s-3); }
  .header__nav { display: none; }
  .header__nav--right { display: flex; justify-content: flex-end; gap: var(--s-4); }
  .header__nav--right .header__link:not(.header__cart) { display: none; }
  .header__mobile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    color: inherit;
  }
  .wordmark { font-size: 22px; letter-spacing: 0.28em; }
}

/* ---------- Hero (brown wall + cream floor, photographed still life) ---------- */
.hero {
  background: var(--c-hero-brown);
  color: var(--c-off-white);
  position: relative;
  overflow: hidden;
  /* Wall + floor split, matching mock */
  background-image:
    /* Floor light + grain */
    radial-gradient(60% 30% at 70% 92%, rgba(244,238,228,0.12) 0%, transparent 100%),
    /* Wall vignette (warm key light from upper right) */
    radial-gradient(60% 50% at 80% 18%, rgba(255,235,210,0.08) 0%, transparent 100%),
    /* Floor block — cream */
    linear-gradient(to bottom,
      var(--c-hero-brown) 0%,
      var(--c-hero-brown) 65%,
      #C9BCA3 65%,
      #DCCEB3 80%,
      #E5D8BD 100%);
}
.hero.dark { color: var(--c-off-white); }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 82vh;
  position: relative;
  z-index: 1;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-8) var(--s-9);
  position: relative;
  z-index: 3;
  /* Stay on the brown wall portion */
  align-self: start;
  padding-top: clamp(var(--s-7), 12vh, var(--s-9));
}
.hero__h1 {
  font-family: var(--f-serif);
  font-size: var(--fs-display-1);
  line-height: var(--lh-tight);
  font-weight: 500;
  color: var(--c-off-white);
  margin-bottom: var(--s-3);
  letter-spacing: var(--ls-display);
}
.hero__h2 {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-display-2);
  line-height: 1.1;
  color: var(--c-off-white);
  opacity: 0.94;
  margin-bottom: var(--s-7);
}
.hero__cta { color: var(--c-off-white); }

/* Right side: still-life staging area */
.hero__art {
  position: relative;
  z-index: 2;
}

/* Branch cast shadow on the wall */
.hero__shadow-branch {
  position: absolute;
  top: 0; right: 0;
  width: 65%;
  height: 70%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 500' preserveAspectRatio='xMaxYMin meet'><g stroke='%231A1208' stroke-width='2.5' fill='none' opacity='0.55' stroke-linecap='round'><path d='M50 480 Q 120 380 170 320 T 270 200 Q 340 130 440 70 T 580 10'/><path d='M170 320 Q 130 290 90 270'/><path d='M210 250 Q 240 235 270 230'/><path d='M310 170 Q 290 145 270 130'/><path d='M380 110 Q 410 95 450 88'/><circle cx='100' cy='265' r='4'/><circle cx='275' cy='225' r='3'/><circle cx='265' cy='128' r='3'/><circle cx='455' cy='86' r='4'/></g></svg>");
  background-position: top right;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.32;
  z-index: 1;
  pointer-events: none;
  filter: blur(0.5px);
  mix-blend-mode: multiply;
}

/* Floor shadow (long, cast back from products) */
.hero__floor-shadow {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 35%;
  background:
    radial-gradient(60% 80% at 78% 100%, rgba(0,0,0,0.18) 0%, transparent 60%),
    radial-gradient(50% 70% at 60% 95%, rgba(0,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Composed product still-life */
.hero__product {
  position: absolute;
  z-index: 4;
  transition: transform var(--d-slow) var(--ease);
  /* drop-shadow simulates the floor contact + soft ambient */
  filter:
    drop-shadow(0 6px 4px rgba(0,0,0,0.25))
    drop-shadow(0 24px 28px rgba(0,0,0,0.32));
}
.hero__product img {
  width: 100%;
  height: auto;
  /* Multiply blends the cream studio backgrounds into the floor cream so they look photographed */
  mix-blend-mode: multiply;
}

/* Layout: products on the floor, right side, overlapping for depth */
.hero__product--spiral  { right: 36%; bottom: 12%;  width: 18%; z-index: 5; }
.hero__product--donut   { right: 14%; bottom: 14%;  width: 28%; z-index: 6; }
.hero__product--tray    { right: 8%;  bottom: 6%;   width: 30%; z-index: 4; }
.hero__product--candle  { right: 4%;  bottom: 16%;  width: 11%; z-index: 7; }
.hero__product--cooler  { right: 0%;  bottom: 8%;   width: 14%; z-index: 3;
  filter: drop-shadow(0 20px 24px rgba(0,0,0,0.40)) brightness(0.9);
}

@media (max-width: 900px) {
  .hero {
    background-image:
      radial-gradient(60% 30% at 50% 92%, rgba(244,238,228,0.12) 0%, transparent 100%),
      linear-gradient(to bottom, var(--c-hero-brown) 0%, var(--c-hero-brown) 55%, #C9BCA3 55%, #E5D8BD 100%);
  }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__copy { padding: var(--s-7) var(--gutter-mob) var(--s-5); }
  .hero__art { min-height: 56vh; }
  .hero__product--spiral  { width: 22%; bottom: 14%; right: 36%; }
  .hero__product--donut   { width: 34%; bottom: 16%; right: 14%; }
  .hero__product--tray    { width: 36%; bottom: 6%;  right: 6%; }
  .hero__product--candle  { width: 14%; bottom: 18%; right: 2%; }
  .hero__product--cooler  { display: none; }
  .hero__shadow-branch { width: 75%; height: 50%; }
}

/* ---------- Section ---------- */
.section {
  padding: var(--s-9) 0;
}
.section--tight { padding: var(--s-7) 0; }
.section--bone { background: var(--c-bone); }
.section--cream { background: var(--c-cream-card); }
.section--brown { background: var(--c-hero-brown); color: var(--c-off-white); }
.section--brown h1, .section--brown h2, .section--brown h3, .section--brown h4 { color: var(--c-off-white); }

.section__head {
  text-align: center;
  margin-bottom: var(--s-7);
}
.section__head .eyebrow { margin-bottom: var(--s-3); }
.section__head h2 { font-size: var(--fs-h1); }

/* ---------- Product Card ---------- */
.product-card {
  background: var(--c-cream-card);
  padding: var(--s-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: background var(--d-mid) var(--ease), transform var(--d-mid) var(--ease);
  position: relative;
}
.product-card:hover { background: var(--c-cream-deep); transform: translateY(-3px); }

.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--c-bone);
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card__media img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform var(--d-slow) var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__badge {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  padding: 6px 10px;
  background: var(--c-carved-black);
  color: var(--c-off-white);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.product-card__name {
  font-family: var(--f-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--c-body);
  margin-bottom: var(--s-2);
  font-weight: 500;
}
.product-card__price {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--c-muted);
}

/* Grid layouts */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }
.products-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .products-grid, .products-grid--4 { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
}
@media (max-width: 540px) {
  .products-grid, .products-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Story Panel (paired image + copy) ---------- */
.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-cream-card);
  align-items: stretch;
  min-height: 480px;
}
.story-panel--reverse { direction: rtl; }
.story-panel--reverse > * { direction: ltr; }

.story-panel__copy {
  padding: var(--s-8) var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-panel__copy .eyebrow { margin-bottom: var(--s-4); }
.story-panel__copy h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.2;
  margin-bottom: var(--s-4);
  color: var(--c-carved-black);
}
.story-panel__copy p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-body);
  margin-bottom: var(--s-5);
  max-width: 56ch;
}

.story-panel__photo {
  background-size: cover;
  background-position: center;
  min-height: 480px;
}

@media (max-width: 900px) {
  .story-panel { grid-template-columns: 1fr; }
  .story-panel__copy { padding: var(--s-7) var(--gutter-mob); }
  .story-panel__photo { min-height: 320px; order: -1; }
}

/* ---------- Lifestyle Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gallery__tile {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.gallery__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.18) 100%);
  opacity: 0;
  transition: opacity var(--d-mid);
}
.gallery__tile:hover::after { opacity: 1; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Newsletter Module ---------- */
.newsletter {
  background: var(--c-cream-card);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--s-3);
  color: var(--c-carved-black);
}
.newsletter p { font-size: var(--fs-small); color: var(--c-body); margin-bottom: var(--s-4); max-width: 36ch; }
.newsletter form { display: flex; flex-direction: column; gap: var(--s-2); max-width: 380px; }
.newsletter input {
  background: var(--c-bone);
  border: 1px solid var(--c-rule);
  padding: 14px 16px;
  font-size: var(--fs-small);
  font-family: var(--f-sans);
  color: var(--c-body);
  outline: none;
  transition: border-color var(--d-fast);
}
.newsletter input:focus { border-color: var(--c-carved-black); }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-bone);
  border-top: 1px solid var(--c-rule);
  padding: var(--s-5) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-5);
  font-family: var(--f-sans);
}
.footer__col { display: flex; gap: var(--s-6); }
.footer__col--right { justify-content: flex-end; }
.footer__col a { color: var(--c-muted); transition: color var(--d-fast); }
.footer__col a:hover { color: var(--c-carved-black); }
.footer .wordmark { font-size: 16px; color: var(--c-carved-black); }

.footer-meta {
  background: var(--c-bone);
  padding: var(--s-4) var(--gutter);
  text-align: center;
  font-size: 11px;
  color: var(--c-muted);
  border-top: 1px solid var(--c-rule);
}

@media (max-width: 900px) {
  .footer { grid-template-columns: 1fr; text-align: center; gap: var(--s-4); padding: var(--s-6) var(--gutter-mob); }
  .footer__col { justify-content: center; flex-wrap: wrap; gap: var(--s-4); }
}

/* ---------- Cart Drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,18,10,0.45);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-mid) var(--ease);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: var(--c-bone);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--d-slow) var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer--left {
  right: auto; left: 0;
  transform: translateX(-100%);
  width: min(360px, 100%);
}
.drawer--left.is-open { transform: translateX(0); }

.drawer__head {
  padding: var(--s-5);
  border-bottom: 1px solid var(--c-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.drawer__close {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-5);
}
.drawer__foot {
  padding: var(--s-5);
  border-top: 1px solid var(--c-rule);
  background: var(--c-cream-card);
}

/* Cart line */
.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-rule);
  align-items: center;
}
.cart-line__media {
  width: 80px; height: 80px;
  background: var(--c-cream-card);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cart-line__media img { width: 80%; height: 80%; object-fit: contain; }
.cart-line__name { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.cart-line__price { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.cart-line__remove { font-size: 11px; color: var(--c-muted); text-decoration: underline; cursor: pointer; }
.cart-empty { text-align: center; padding: var(--s-8) var(--s-5); color: var(--c-muted); }
.cart-empty p { margin-bottom: var(--s-5); font-style: italic; font-family: var(--f-serif); font-size: 18px; }

/* Mobile nav drawer specific */
.mobile-nav__list { display: flex; flex-direction: column; gap: var(--s-4); }
.mobile-nav__list a {
  font-family: var(--f-serif);
  font-size: 28px;
  color: var(--c-carved-black);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--c-rule);
  display: block;
}

/* ---------- Search Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(46,38,32,0.85);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-mid);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__panel {
  width: min(640px, 90%);
  background: var(--c-bone);
  padding: var(--s-7);
  position: relative;
}
.modal__panel input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-rule);
  padding: var(--s-3) 0;
  font-family: var(--f-serif);
  font-size: 32px;
  outline: none;
  color: var(--c-carved-black);
}
.modal__panel input::placeholder { color: var(--c-muted); font-style: italic; }
.modal__hint { font-size: 11px; text-transform: uppercase; letter-spacing: var(--ls-caps); color: var(--c-muted); margin-top: var(--s-4); }
.modal__close {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  width: 32px; height: 32px;
  font-size: 22px; line-height: 1;
}

/* ---------- PDP-specific ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--c-bone);
}
.pdp__media {
  background: var(--c-cream-card);
  display: flex;
  flex-direction: column;
}
.pdp__hero {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7);
}
.pdp__hero img { max-width: 75%; max-height: 75%; object-fit: contain; }
.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  padding: var(--s-2);
  background: var(--c-cream-deep);
}
.pdp__thumb {
  aspect-ratio: 1;
  background: var(--c-bone);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: outline var(--d-fast);
  outline: 2px solid transparent;
  overflow: hidden;
}
.pdp__thumb img { width: 80%; height: 80%; object-fit: contain; }
.pdp__thumb.is-active { outline-color: var(--c-carved-black); }

.pdp__info {
  padding: var(--s-9) var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
.pdp__eyebrow { color: var(--c-muted); margin-bottom: var(--s-3); }
.pdp__name {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: var(--fs-display-3);
  line-height: 1.1;
  margin-bottom: var(--s-3);
  color: var(--c-carved-black);
}
.pdp__price {
  font-family: var(--f-sans);
  font-size: 18px;
  color: var(--c-body);
  margin-bottom: var(--s-5);
}
.pdp__copy {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-body);
  margin-bottom: var(--s-6);
  max-width: 48ch;
}
.pdp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-rule);
  margin-bottom: var(--s-3);
}
.pdp__qty button { width: 40px; height: 44px; font-size: 18px; }
.pdp__qty input {
  width: 50px; height: 44px;
  text-align: center;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 14px;
}
.pdp__add { margin-bottom: var(--s-6); }

.pdp__meta {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-3) var(--s-5);
  font-size: 13px;
  border-top: 1px solid var(--c-rule);
  padding-top: var(--s-5);
}
.pdp__meta dt { font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: var(--ls-caps); color: var(--c-muted); }
.pdp__meta dd { color: var(--c-body); }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { padding: var(--s-7) var(--gutter-mob); max-width: none; }
  .pdp__hero { padding: var(--s-5); }
}

/* ---------- Process Strip ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  text-align: center;
}
.process__step h5 {
  font-family: var(--f-serif);
  font-size: 20px;
  margin-bottom: var(--s-2);
}
.process__step p { font-size: 13px; color: var(--c-muted); }
.process__step .num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--c-clay);
  margin-bottom: var(--s-2);
}
@media (max-width: 700px) {
  .process { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
}

/* ---------- Quote Block ---------- */
.quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-9) var(--gutter);
}
.quote__mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 64px;
  color: var(--c-clay);
  line-height: 1;
  margin-bottom: var(--s-4);
}
.quote blockquote {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--c-carved-black);
  margin-bottom: var(--s-4);
}
.quote cite {
  font-style: normal;
  font-size: var(--fs-caps);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--c-muted);
}

/* ---------- Toast (cart confirmation) ---------- */
.toast {
  position: fixed;
  top: 90px;
  right: 20px;
  background: var(--c-carved-black);
  color: var(--c-off-white);
  padding: var(--s-4) var(--s-5);
  font-family: var(--f-sans);
  font-size: var(--fs-small);
  z-index: var(--z-modal);
  transform: translateX(120%);
  transition: transform var(--d-mid) var(--ease-spring);
  max-width: 320px;
}
.toast.is-open { transform: translateX(0); }
.toast__title { font-style: italic; font-family: var(--f-serif); font-size: 16px; margin-bottom: 4px; }

/* ---------- Page Hero (subpage) ---------- */
.page-hero {
  padding: var(--s-9) var(--gutter) var(--s-8);
  text-align: center;
  background: var(--c-cream-card);
  border-bottom: 1px solid var(--c-rule);
}
.page-hero .eyebrow { margin-bottom: var(--s-3); }
.page-hero h1 {
  font-family: var(--f-serif);
  font-size: var(--fs-display-2);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--s-4);
  max-width: 720px;
  margin-inline: auto;
}
.page-hero p {
  max-width: 520px;
  margin-inline: auto;
  color: var(--c-body);
}

/* ---------- Press / trust strip ---------- */
.press {
  padding: var(--s-6) 0;
  background: var(--c-bone);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
.press__row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.press__name {
  font-family: var(--f-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  font-style: italic;
}

/* ---------- Trust strip (4 cells) ---------- */
.trust {
  background: var(--c-cream-card);
  border-top: 1px solid var(--c-rule);
  padding: var(--s-7) 0;
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  text-align: center;
}
.trust__cell { padding: 0 var(--s-3); }
.trust__icon {
  font-family: var(--f-serif);
  font-size: 28px;
  color: var(--c-clay);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.trust__title {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-carved-black);
  margin-bottom: 4px;
}
.trust__sub { font-size: 12px; color: var(--c-muted); }
@media (max-width: 900px) {
  .trust__row { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
}
@media (max-width: 540px) {
  .trust__row { grid-template-columns: 1fr; }
}

/* ---------- Footer (Shopify-grade, multi-column) ---------- */
.footer-x {
  background: var(--c-hero-brown);
  color: var(--c-off-white);
  padding: var(--s-9) 0 var(--s-5);
}
.footer-x__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--c-rule-light);
}
.footer-x__col h6 {
  font-family: var(--f-sans);
  font-size: var(--fs-caps);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: rgba(244,238,228,0.6);
  margin-bottom: var(--s-4);
}
.footer-x__col a {
  display: block;
  color: var(--c-off-white);
  font-size: 13px;
  line-height: 2.1;
  transition: color var(--d-fast);
}
.footer-x__col a:hover { color: var(--c-clay); }
.footer-x__col--brand .wordmark {
  display: block;
  font-size: 24px;
  letter-spacing: var(--ls-wordmark);
  margin-bottom: var(--s-4);
  text-align: left;
  color: var(--c-off-white);
}
.footer-x__tag {
  font-family: var(--f-serif);
  font-size: 16px;
  color: var(--c-off-white);
  margin-bottom: var(--s-4);
  line-height: 1.4;
  opacity: 0.92;
}
.footer-x__small {
  font-size: 12px;
  color: rgba(244,238,228,0.65);
  line-height: 1.7;
  margin-bottom: var(--s-3);
}
.footer-x__socials {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-3);
}
.footer-x__socials a {
  font-size: var(--fs-caps);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--c-off-white);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--d-fast);
}
.footer-x__socials a:hover { border-bottom-color: currentColor; }

.footer-x__col--news h6 { margin-bottom: var(--s-3); }
.footer-x__form {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  max-width: 320px;
}
.footer-x__form input {
  background: rgba(244,238,228,0.08);
  border: 1px solid rgba(244,238,228,0.25);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--c-off-white);
  outline: none;
  transition: border-color var(--d-fast);
}
.footer-x__form input::placeholder { color: rgba(244,238,228,0.5); }
.footer-x__form input:focus { border-color: var(--c-off-white); }
.footer-x__form button { background: var(--c-off-white); color: var(--c-carved-black); padding: 12px 14px; }
.footer-x__form button:hover { background: var(--c-clay); color: var(--c-off-white); }

.footer-x__paymeths {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.paymeth {
  background: rgba(244,238,228,0.06);
  border: 1px solid rgba(244,238,228,0.18);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,238,228,0.7);
}

.footer-x__legal {
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 11px;
  color: rgba(244,238,228,0.55);
}
.footer-x__legal-right { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer-x__legal-right a {
  color: rgba(244,238,228,0.55);
  transition: color var(--d-fast);
}
.footer-x__legal-right a:hover { color: var(--c-off-white); }

@media (max-width: 1100px) {
  .footer-x__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-x__col--brand { grid-column: 1 / 4; }
  .footer-x__col--news { grid-column: 1 / 4; }
}
@media (max-width: 700px) {
  .footer-x { padding: var(--s-7) 0 var(--s-5); }
  .footer-x__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer-x__col--brand, .footer-x__col--news { grid-column: 1; }
  .footer-x__legal { flex-direction: column; align-items: flex-start; gap: var(--s-3); padding-top: var(--s-5); }
}

/* ---------- Policy / long-form prose pages ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-9) var(--gutter);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-body);
}
.prose h1 {
  font-family: var(--f-serif);
  font-size: var(--fs-display-3);
  font-weight: 500;
  color: var(--c-carved-black);
  margin-bottom: var(--s-3);
}
.prose .meta {
  font-size: 12px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  margin-bottom: var(--s-7);
}
.prose h2 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  margin: var(--s-7) 0 var(--s-3);
  color: var(--c-carved-black);
}
.prose h3 {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 500;
  margin: var(--s-5) 0 var(--s-2);
  color: var(--c-carved-black);
}
.prose p, .prose ul, .prose ol { margin-bottom: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: var(--s-2); list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { font-weight: 600; color: var(--c-carved-black); }
.prose a { color: var(--c-carved-black); border-bottom: 1px solid var(--c-rule); transition: border-color var(--d-fast); }
.prose a:hover { border-bottom-color: var(--c-carved-black); }
.prose hr { border: 0; border-top: 1px solid var(--c-rule); margin: var(--s-7) 0; }
.prose .callout {
  background: var(--c-cream-card);
  padding: var(--s-5);
  margin: var(--s-5) 0;
  border-left: 2px solid var(--c-clay);
  font-style: italic;
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--c-carved-black);
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.faq-item {
  border-top: 1px solid var(--c-rule);
  padding: var(--s-5) 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--c-rule); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-carved-black);
  transition: color var(--d-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--f-serif);
  font-size: 28px;
  line-height: 1;
  color: var(--c-clay);
  transition: transform var(--d-mid) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--c-clay); }
.faq-item__body {
  padding-top: var(--s-3);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-body);
}
.faq-item__body p { margin-bottom: var(--s-3); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Skip-to-content (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--c-carved-black);
  color: var(--c-off-white);
  padding: 8px 14px;
  font-size: var(--fs-caps);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  z-index: 9999;
  transition: top var(--d-fast);
}
.skip-link:focus { top: 8px; }
