/* ============================================
   SOLACE COFFEE — self-contained demo styles
   Concept build by PortaWork Ecommerce
   ============================================ */

:root {
  --cream:        #F5ECE4;
  --cream-soft:   #FAF4ED;
  --paper:        #F8F1E8;
  --espresso:     #2A1A0F;
  --espresso-soft:#3D2818;
  --tan:          #C19A6B;
  --tan-deep:     #8A5A3C;
  --gold:         #B8860B;
  --mute:         #6B5544;
  --line:         #E6D9C8;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--paper);
  min-height: 100vh;
}

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

::selection { background: var(--espresso); color: var(--cream); }

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


/* ============ HEADER ============ */
.s-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.s-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.s-brand {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--espresso);
  text-transform: uppercase;
  line-height: 1.1;
  text-align: left;
}

.s-brand__top { display: block; font-weight: 600; letter-spacing: 0.22em; }
.s-brand__bottom { display: block; font-size: 11px; letter-spacing: 0.32em; color: var(--mute); }

.s-nav {
  display: flex;
  gap: 36px;
  justify-content: center;
}

.s-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--espresso);
  position: relative;
  padding-bottom: 4px;
}

.s-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease), left 0.4s var(--ease);
}

.s-nav a:hover::after { width: 100%; left: 0; }

.s-header__icons {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
}

.s-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--espresso);
  transition: background 0.2s var(--ease);
}

.s-icon-btn:hover { background: var(--cream); }

.s-icon-btn[aria-label="Cart"] { position: relative; }

.s-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: var(--gold);
  color: var(--cream);
  border-radius: 999px;
  padding: 0 5px;
  box-shadow: 0 0 0 2px var(--paper);
  pointer-events: none;
}


/* ============ HERO ============ */
.s-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 32px 120px;
  background:
    linear-gradient(to bottom, rgba(20, 12, 6, 0.32) 0%, rgba(20, 12, 6, 0.18) 38%, rgba(20, 12, 6, 0.70) 100%),
    url('assets/hero.jpg') center 55% / cover no-repeat;
  color: var(--cream);
  overflow: hidden;
}

.s-hero__content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.s-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}

.s-hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.s-hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--tan);
}

.s-hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.84;
  max-width: 46ch;
}

.s-hero__cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  background: var(--cream);
  border-radius: 4px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.s-hero__cta:hover {
  background: var(--tan);
  color: var(--cream);
  transform: translateY(-1px);
}

.s-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.s-hero__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: var(--cream);
  opacity: 0.5;
}


/* ============ SECTION BASE ============ */
.s-section {
  padding: 120px 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.s-section__head {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.s-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.s-eyebrow::before, .s-eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.s-section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--espresso);
}

.s-section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--tan-deep);
}

.s-section__lede {
  font-size: 16px;
  color: var(--mute);
  max-width: 52ch;
  margin-top: 8px;
}


/* ============ PRODUCTS ============ */
.s-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

@media (max-width: 920px) { .s-products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .s-products { grid-template-columns: 1fr; } }

.s-product {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease);
}

.s-product:hover { transform: translateY(-4px); }

.s-product__media {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--cream);
  display: grid;
  place-items: center;
  transition: box-shadow 0.4s var(--ease);
}

.s-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

/* Small hover zoom on top of the oversized watermark-crop box */
.s-product:hover .s-product__media img {
  transform: scale(1.035);
  transform-origin: top left;
}

.s-product__media--photo { background: none; }

.s-product:hover .s-product__media {
  box-shadow: 0 20px 40px -22px rgba(42, 26, 15, 0.35);
}

/* Per-product gradient placeholders — swap with real photos when ready */
.s-product--ethiopia .s-product__media { background: radial-gradient(at 30% 25%, #d4a787 0%, transparent 55%), linear-gradient(140deg, #b8743d 0%, #4a2818 100%); }
.s-product--guatemala .s-product__media { background: radial-gradient(at 70% 30%, #e8c89b 0%, transparent 55%), linear-gradient(140deg, #a06c3f 0%, #3d1e0f 100%); }
.s-product--colombia .s-product__media { background: radial-gradient(at 50% 70%, #c89b6c 0%, transparent 55%), linear-gradient(140deg, #8a5a3c 0%, #2a1a0f 100%); }

.s-product__bag {
  width: 56%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, rgba(245, 236, 228, 0.95) 0%, rgba(245, 236, 228, 0.85) 100%);
  border-radius: 4px 4px 8px 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35);
}

.s-product__bag::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 8px;
  right: 8px;
  height: 14px;
  background: var(--cream);
  border-radius: 2px;
  filter: brightness(0.92);
}

.s-product__bag-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--espresso);
  text-align: center;
  letter-spacing: -0.01em;
  padding: 0 16px;
}

.s-product__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.s-product__origin {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.s-product__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--espresso);
}

.s-product__notes {
  font-size: 14px;
  color: var(--mute);
}

.s-product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.s-product__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--espresso);
}

.s-product__add {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--espresso);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.s-product__add:hover { color: var(--gold); border-color: var(--gold); }


/* ============ STORY (split) ============ */
.s-story-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
}

.s-story {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 820px) { .s-story { grid-template-columns: 1fr; gap: 48px; } }

.s-story__media {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background:
    linear-gradient(to bottom, rgba(20, 12, 6, 0) 60%, rgba(20, 12, 6, 0.55) 100%),
    url('assets/story.jpg') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.s-story__media::after {
  content: 'EST. 2026';
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: var(--cream);
  letter-spacing: 0.12em;
}

.s-story__copy { display: flex; flex-direction: column; gap: 24px; }

.s-story__copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--espresso);
}

.s-story__copy h2 em { font-style: italic; font-weight: 400; color: var(--tan-deep); }

.s-story__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mute);
  max-width: 56ch;
}

.s-story__sig {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gold);
  margin-top: 8px;
}


/* ============ SUBSCRIBE BAND ============ */
.s-subscribe {
  background: var(--espresso);
  color: var(--cream);
  padding: 80px 32px;
}

.s-subscribe__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.s-subscribe__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.s-subscribe__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  color: var(--cream);
}

.s-subscribe__title em { font-style: italic; color: var(--tan); font-weight: 400; }

.s-subscribe__sub {
  color: var(--cream);
  opacity: 0.8;
  max-width: 50ch;
}

.s-subscribe__cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.s-subscribe__cta:hover { background: var(--cream); transform: translateY(-1px); }


/* ============ JOURNAL ============ */
.s-journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media (max-width: 760px) { .s-journal-grid { grid-template-columns: 1fr; } }

.s-article {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease);
}

.s-article:hover { transform: translateY(-3px); }

.s-article__media {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
}

.s-article--one .s-article__media { background: radial-gradient(at 30% 30%, #c89b6c 0%, transparent 55%), linear-gradient(135deg, #6b432c 0%, #2a1a0f 100%); }
.s-article--two .s-article__media { background: radial-gradient(at 70% 40%, #d4a787 0%, transparent 55%), linear-gradient(135deg, #8a5a3c 0%, #3d2818 100%); }

.s-article__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.s-article__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--espresso);
}

.s-article__excerpt {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.6;
}

.s-article__more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--espresso);
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}

.s-article__more:hover { color: var(--gold); border-color: var(--gold); }


/* ============ FOOTER ============ */
.s-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 80px 32px 36px;
}

.s-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.s-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 236, 228, 0.12);
}

@media (max-width: 880px) { .s-footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 540px) { .s-footer__top { grid-template-columns: 1fr; } }

.s-footer__brand {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 18px;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.s-footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--tan);
  max-width: 30ch;
}

.s-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.s-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-footer__col a {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
}

.s-footer__col a:hover { opacity: 1; color: var(--gold); }

.s-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--cream);
  opacity: 0.55;
}

.s-footer__credit {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.s-footer__credit a { color: var(--tan); border-bottom: 1px solid var(--tan-deep); }
.s-footer__credit a:hover { color: var(--gold); }


/* ============ DEMO RIBBON ============ */
.s-demo-ribbon {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 100;
  background: var(--espresso);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--tan-deep);
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.25);
}

.s-demo-ribbon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}


/* ============ PRODUCT DETAIL PAGE ============ */
.s-pdp {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px 120px;
}

.s-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 40px;
}

.s-breadcrumb a { color: var(--mute); transition: color 0.2s; }
.s-breadcrumb a:hover { color: var(--espresso); }
.s-breadcrumb span { color: var(--espresso); }

.s-pdp__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) { .s-pdp__grid { grid-template-columns: 1fr; gap: 40px; } }

.s-pdp__media {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  display: grid;
  place-items: center;
  position: relative;
}

.s-pdp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-pdp__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.s-pdp__thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--cream);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.s-pdp__thumb:hover { border-color: var(--gold); transform: translateY(-2px); }
.s-pdp__thumb--active { border-color: var(--espresso); border-width: 2px; }

.s-pdp__info { display: flex; flex-direction: column; gap: 20px; }

.s-pdp__origin {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.s-pdp__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  color: var(--espresso);
}

.s-pdp__title em { font-style: italic; font-weight: 400; color: var(--tan-deep); }

.s-pdp__price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.s-pdp__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--espresso);
}

.s-pdp__unit { font-size: 13px; color: var(--mute); }

.s-pdp__notes-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s-pdp__note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
}

.s-pdp__option-group { display: flex; flex-direction: column; gap: 8px; }

.s-pdp__option-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.s-pdp__options { display: flex; gap: 10px; flex-wrap: wrap; }

.s-pdp__option {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--espresso);
  transition: all 0.2s var(--ease);
}

.s-pdp__option:hover { border-color: var(--espresso); }
.s-pdp__option[aria-pressed="true"] {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

.s-pdp__actions { display: flex; gap: 12px; margin-top: 12px; }

.s-pdp__add-btn {
  flex: 1;
  padding: 18px 28px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s, transform 0.25s;
}

.s-pdp__add-btn:hover { background: var(--tan-deep); transform: translateY(-1px); }

.s-pdp__fav {
  width: 56px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--espresso);
  transition: border-color 0.2s, color 0.2s;
}

.s-pdp__fav:hover { border-color: var(--gold); color: var(--gold); }

.s-pdp__meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.s-pdp__meta-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  font-size: 14px;
  color: var(--mute);
}

.s-pdp__meta-list li strong {
  font-weight: 600;
  color: var(--espresso);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-top: 3px;
}


/* ============ WATERMARK-COVER CHIPS ============
   Generated images carry an AI watermark in the bottom-right
   corner. Every photo container gets a branded corner plate
   that covers it while reading as an editorial label.
   Usage: class="s-wm" data-wm="Label text" on the container. */

.s-wm { position: relative; }

/* Corner scrim: a wide soft fade that guarantees the watermark
   region is covered even when object-fit crops shift it inward */
.s-wm::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 48%;
  height: 30%;
  min-width: 170px;
  min-height: 84px;
  background: linear-gradient(315deg, rgba(42, 26, 15, 0.94) 0%, rgba(42, 26, 15, 0.6) 38%, transparent 70%);
  pointer-events: none;
}

.s-wm::after {
  content: attr(data-wm);
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(42, 26, 15, 0.85);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 9px 18px 10px 20px;
  border-radius: 12px 0 0 0;
  border-top: 1px solid rgba(184, 134, 11, 0.45);
  border-left: 1px solid rgba(184, 134, 11, 0.45);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Hero gets its own scrim + plate (background image, no .s-wm container) */
.s-hero::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  height: 34%;
  min-width: 340px;
  min-height: 170px;
  background: linear-gradient(315deg, rgba(42, 26, 15, 0.95) 0%, rgba(42, 26, 15, 0.65) 45%, transparent 80%);
  pointer-events: none;
}

.s-hero::after {
  content: 'Roast to order · Est. 2026';
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(42, 26, 15, 0.82);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 12px 26px 13px 28px;
  border-radius: 14px 0 0 0;
  border-top: 1px solid rgba(184, 134, 11, 0.5);
  border-left: 1px solid rgba(184, 134, 11, 0.5);
  backdrop-filter: blur(5px);
  pointer-events: none;
  z-index: 3;
}


/* ============ MODALS (search / account / subscribe) ============ */
.s-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: start center;
  padding: 12vh 20px 40px;
  background: rgba(42, 26, 15, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  overflow-y: auto;
}

.s-modal--open { opacity: 1; visibility: visible; }
body.s-modal-lock { overflow: hidden; }

.s-modal__panel {
  width: min(520px, 100%);
  background: var(--paper);
  border-radius: 10px;
  padding: 26px 28px 30px;
  box-shadow: 0 30px 80px -30px rgba(42, 26, 15, 0.5);
  transform: translateY(14px);
  transition: transform 0.35s var(--ease);
}

.s-modal--open .s-modal__panel { transform: translateY(0); }

.s-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.s-modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--espresso);
}

.s-modal__close {
  font-size: 28px;
  line-height: 1;
  color: var(--mute);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.s-modal__close:hover { background: var(--cream); color: var(--espresso); }

/* --- search --- */
.s-search__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--espresso);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
}

.s-search__input:focus { outline: none; border-color: var(--espresso); }

.s-search__results {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 46vh;
  overflow-y: auto;
}

.s-search__hint {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.s-search__none { font-size: 14px; color: var(--mute); padding: 12px 0; }

.s-search__row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.s-search__row .s-cart-item__swatch { width: 48px; height: 60px; }

.s-search__row-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--espresso);
  line-height: 1.15;
}

.s-search__row-origin { font-size: 12px; color: var(--mute); margin-top: 2px; }

.s-search__row-actions { display: flex; align-items: center; gap: 10px; }

.s-search__row-view {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  border-bottom: 1px solid var(--espresso);
}

.s-search__row-view:hover { color: var(--gold); border-color: var(--gold); }

.s-search__row-add {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s;
}

.s-search__row-add:hover { background: var(--tan-deep); }

/* --- account --- */
.s-account__form { display: flex; flex-direction: column; gap: 10px; }

.s-account__submit {
  margin-top: 6px;
  padding: 15px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s;
}

.s-account__submit:hover { background: var(--tan-deep); }

.s-account__note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-align: center;
}

.s-account__email { font-size: 14px; color: var(--mute); margin-top: -10px; margin-bottom: 18px; }

.s-account__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.s-account__orders { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.s-account__order {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: baseline;
  font-size: 13px;
  color: var(--mute);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.s-account__order span:first-child { font-weight: 700; color: var(--espresso); }
.s-account__order strong { font-family: var(--font-display); font-size: 16px; color: var(--espresso); }

.s-account__empty { font-size: 14px; color: var(--mute); padding: 8px 0 4px; }

.s-account__signout {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  transition: border-color 0.2s, color 0.2s;
}

.s-account__signout:hover { border-color: #a33; color: #a33; }

/* signed-in indicator dot on the account icon */
.s-icon-btn.s-signed-in::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--paper);
}

.s-icon-btn[aria-label="Account"] { position: relative; }

/* --- subscription --- */
.s-sub__form { display: flex; flex-direction: column; gap: 12px; }

.s-sub__opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.s-sub__opt:hover { border-color: var(--tan); }
.s-sub__opt:has(input:checked) { border-color: var(--gold); background: var(--cream-soft); }

.s-sub__opt input { accent-color: var(--gold); width: 16px; height: 16px; }

.s-sub__opt-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--espresso);
  line-height: 1.2;
}

.s-sub__opt-name em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  color: var(--mute);
  margin-top: 2px;
}

.s-sub__opt-price { font-size: 14px; font-weight: 700; color: var(--espresso); }
.s-sub__opt-price del { color: var(--mute); font-weight: 400; margin-right: 6px; }

.s-sub__freq { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }

/* --- PDP extras --- */
.s-pdp__thumb { overflow: hidden; padding: 0; position: relative; }

.s-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-pdp__fav--on { border-color: var(--gold) !important; color: var(--gold) !important; }
.s-pdp__fav--on svg { fill: var(--gold); }


/* ============ JOURNAL ARTICLE PAGES ============ */
.s-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 110px;
}

.s-post__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.s-post__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06;
  color: var(--espresso);
  margin-bottom: 18px;
}

.s-post__title em { font-style: italic; font-weight: 400; color: var(--tan-deep); }

.s-post__lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 36px;
}

.s-post__hero {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 44px;
  aspect-ratio: 16 / 9;
}

.s-post__hero img { width: 100%; height: 100%; object-fit: cover; }

.s-post__body { display: flex; flex-direction: column; gap: 22px; }

.s-post__body p { font-size: 17px; line-height: 1.75; color: var(--espresso); }

.s-post__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--espresso);
  margin-top: 18px;
}

.s-post__body blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.35;
  color: var(--tan-deep);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 14px 0;
}

.s-post__body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.s-post__body li { font-size: 16px; line-height: 1.6; color: var(--espresso); }

.s-post__footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.s-post__back {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  border-bottom: 1px solid var(--espresso);
  padding-bottom: 2px;
}

.s-post__back:hover { color: var(--gold); border-color: var(--gold); }

.s-post__next {
  text-align: right;
}

.s-post__next-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}

.s-post__next a {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  color: var(--tan-deep);
}

.s-post__next a:hover { color: var(--gold); }


/* ============ HELP PAGE ============ */
.s-help {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 110px;
}

.s-help__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 54px);
  color: var(--espresso);
  margin-bottom: 10px;
}

.s-help__title em { font-style: italic; font-weight: 400; color: var(--tan-deep); }

.s-help__lede { font-size: 17px; color: var(--mute); margin-bottom: 48px; }

.s-help__section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.s-help__section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  color: var(--espresso);
  margin-bottom: 12px;
}

.s-help__section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mute);
  max-width: 62ch;
}

.s-help__section p + p { margin-top: 12px; }

.s-help__section a { color: var(--tan-deep); font-weight: 600; }
.s-help__section a:hover { color: var(--gold); }


/* ============ REAL PHOTOGRAPHY OVERLAYS ============
   Each media block keeps its CSS-composition fallback underneath.
   If the photo file exists it covers the block; if it 404s,
   onerror removes the <img> and the fallback shows. */

/* Generated images: zoom-crop past the AI watermark zone.
   Oversized box anchored top-left crops ~15% off the right and
   bottom edges — sizing instead of transform:scale, which
   rasterizes blurry in Safari. */
.s-photo-cover,
.s-product__media > img,
.s-pdp__media > img,
.s-pdp__thumb img,
.s-post__hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 118%;
  height: 118%;
  object-fit: cover;
  z-index: 1;
  transform-origin: top left;
}

.s-pdp__thumb, .s-post__hero { position: relative; overflow: hidden; }

.s-product__media, .s-story__media, .s-article__media { position: relative; }

.s-product__media--photo img,
.s-product__media .s-photo-cover { border-radius: 8px; }


/* ============ CART BADGE ============ */
@keyframes badge-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.s-cart-count--pulse {
  animation: badge-pulse 0.45s var(--ease);
  display: inline-block;
}


/* ============ CART DRAWER ============ */
.s-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 15, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  z-index: 200;
}

.s-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--paper);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -18px 0 50px -20px rgba(42, 26, 15, 0.35);
}

body.s-cart-open .s-cart-overlay { opacity: 1; visibility: visible; }
body.s-cart-open .s-cart-drawer { transform: translateX(0); }
body.s-cart-open { overflow: hidden; }

.s-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.s-cart-drawer__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--espresso);
}

.s-cart-drawer__close {
  font-size: 30px;
  line-height: 1;
  color: var(--mute);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.s-cart-drawer__close:hover { background: var(--cream); color: var(--espresso); }

.s-cart-drawer__shipbar { padding: 16px 26px 0; }

.s-cart-drawer__shipbar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tan-deep);
  margin-bottom: 8px;
}

.s-cart-drawer__shipbar-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.s-cart-drawer__shipbar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.5s var(--ease);
}

.s-cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.s-cart-drawer__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s-cart-drawer__empty-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
}

.s-cart-drawer__empty-link:hover { color: var(--gold); }

.s-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.s-cart-item__swatch {
  width: 64px;
  height: 80px;
  border-radius: 6px;
}

.s-cart-item__swatch { overflow: hidden; }

.s-cart-item__swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-cart-item__swatch--sidamo  { background: radial-gradient(at 30% 25%, #d4a787 0%, transparent 55%), linear-gradient(140deg, #b8743d 0%, #4a2818 100%); }
.s-cart-item__swatch--antigua { background: radial-gradient(at 70% 30%, #e8c89b 0%, transparent 55%), linear-gradient(140deg, #a06c3f 0%, #3d1e0f 100%); }
.s-cart-item__swatch--huila   { background: radial-gradient(at 50% 70%, #c89b6c 0%, transparent 55%), linear-gradient(140deg, #8a5a3c 0%, #2a1a0f 100%); }

.s-cart-item__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--espresso);
  line-height: 1.2;
}

.s-cart-item__opts {
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
}

.s-cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.s-cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.s-cart-item__qty-btn {
  width: 28px;
  height: 28px;
  font-size: 16px;
  color: var(--espresso);
  transition: background 0.15s;
}

.s-cart-item__qty-btn:hover { background: var(--cream); }

.s-cart-item__qty-val {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.s-cart-item__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--espresso);
}

.s-cart-item__remove {
  font-size: 20px;
  color: var(--mute);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}

.s-cart-item__remove:hover { color: #a33; background: var(--cream); }

.s-cart-drawer__foot {
  padding: 20px 26px 26px;
  border-top: 1px solid var(--line);
  background: var(--cream-soft);
}

.s-cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--mute);
}

.s-cart-drawer__subtotal strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--espresso);
}

.s-cart-drawer__shipnote {
  font-size: 12px;
  color: var(--mute);
  margin-top: 4px;
}

.s-cart-drawer__checkout {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 16px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s, opacity 0.25s;
}

.s-cart-drawer__checkout:hover { background: var(--tan-deep); }

.s-cart-drawer__checkout--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.s-cart-drawer__demo-note {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-top: 10px;
}


/* ============ TOAST ============ */
.s-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--espresso);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 300;
  box-shadow: 0 10px 30px -10px rgba(42, 26, 15, 0.4);
}

.s-toast--show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}


/* ============ CHECKOUT PAGE ============ */
.s-checkout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 120px;
}

.s-checkout__main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 860px) {
  .s-checkout__main { grid-template-columns: 1fr; }
  .s-checkout__summary { order: -1; }
}

.s-checkout__form h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--espresso);
  margin: 28px 0 14px;
}

.s-checkout__form h2:first-child { margin-top: 0; }

.s-checkout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.s-checkout__grid .full { grid-column: 1 / -1; }

.s-checkout__input {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--espresso);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.2s;
}

.s-checkout__input:focus { outline: none; border-color: var(--espresso); }

.s-checkout__pay-note {
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px dashed var(--tan);
  border-radius: 6px;
  font-size: 13px;
  color: var(--tan-deep);
  line-height: 1.5;
}

.s-checkout__place {
  width: 100%;
  margin-top: 22px;
  padding: 17px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s;
}

.s-checkout__place:hover { background: var(--tan-deep); }

.s-checkout__summary {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  position: sticky;
  top: 96px;
}

.s-checkout__summary h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--espresso);
  margin-bottom: 18px;
}

.s-checkout__lines { display: flex; flex-direction: column; gap: 12px; }

.s-checkout__line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  font-size: 14px;
  color: var(--espresso);
  align-items: baseline;
}

.s-checkout__line-qty { color: var(--mute); font-weight: 700; font-size: 12px; }

.s-checkout__line-name em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--mute);
}

.s-checkout__line-price { font-weight: 600; }

.s-checkout__empty { font-size: 14px; color: var(--mute); }
.s-checkout__empty a { color: var(--espresso); font-weight: 600; }

.s-checkout__totals {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s-checkout__total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--mute);
}

.s-checkout__total-row--grand {
  font-size: 16px;
  color: var(--espresso);
  font-weight: 700;
  padding-top: 8px;
}

.s-checkout__total-row--grand span:last-child {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
}

/* Confirmation */
.s-checkout__done {
  text-align: center;
  padding: 90px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.s-checkout__done-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--gold);
}

.s-checkout__done h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--espresso);
}

.s-checkout__done h1 em { font-style: italic; color: var(--tan-deep); font-weight: 400; }

.s-checkout__done p { color: var(--mute); max-width: 46ch; line-height: 1.6; }

.s-checkout__done-note {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan-deep);
}

.s-checkout__done-link {
  margin-top: 8px;
  display: inline-block;
  padding: 14px 32px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s;
}

.s-checkout__done-link:hover { background: var(--tan-deep); }


/* ============ MOBILE TWEAKS ============ */
@media (max-width: 720px) {
  .s-header__inner { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .s-nav { display: none; }
  .s-section { padding: 80px 20px; }
  .s-hero { padding: 60px 20px 80px; min-height: 70vh; }
  .s-subscribe, .s-footer { padding-left: 20px; padding-right: 20px; }
  .s-demo-ribbon { font-size: 9px; padding: 6px 10px; }
}
