@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,500..800,20,0..1&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --ink: #17110d;
  --muted: #635b53;
  --paper: #f5efe4;
  --cream: #fffaf0;
  --porcelain: #fbf7ef;
  --coffee: #211b16;
  --coffee-2: #34251b;
  --cedar: #9a5a2c;
  --copper: #c57a3a;
  --wax: #68151c;
  --wax-dark: #2b070b;
  --wax-light: #a8454d;
  --leaf: #344934;
  --sage: #dce8d7;
  --proof: #153c49;
  --proof-soft: #e7f0ee;
  --line: rgba(23, 17, 13, 0.15);
  --line-strong: rgba(23, 17, 13, 0.26);
  --shadow-soft: 0 18px 45px rgba(43, 30, 19, 0.1);
  --shadow-strong: 0 30px 80px rgba(27, 16, 9, 0.26);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(197, 122, 58, 0.55);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.promo-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 36px;
  background: var(--coffee);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.promo-bar a {
  color: inherit;
  text-align: center;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.promo-bar button,
.nav-control,
.nav-link,
.close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
}

.top-nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 65;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  padding: 15px clamp(18px, 5vw, 64px);
  background: rgba(28, 23, 18, 0.73);
  color: white;
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  backdrop-filter: blur(16px);
}

.nav-control,
.nav-link {
  gap: 8px;
  min-height: 42px;
  font-weight: 800;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.heart-seal {
  flex: 0 0 auto;
  overflow: visible;
}

.heart-seal circle,
.heart-seal path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heart-seal circle:first-child {
  stroke-width: 2.8;
}

.heart-seal circle:nth-child(2) {
  stroke-width: 1.15;
  opacity: 0.58;
}

.heart-seal path {
  stroke-width: 3;
}

.heart-seal--brand {
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 206, 198, 0.28), transparent 34%),
    linear-gradient(145deg, var(--wax-dark), var(--wax) 48%, #3a090f);
  color: #ffe9df;
  box-shadow: inset 0 0 0 1px rgba(255, 228, 218, 0.2), 0 7px 16px rgba(0, 0, 0, 0.24);
}

.heart-seal--proof {
  width: 25px;
  height: 25px;
  padding: 3px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 206, 198, 0.26), transparent 35%),
    linear-gradient(145deg, var(--wax-dark), var(--wax) 48%, #3a090f);
  color: #ffe9df;
  box-shadow: inset 0 0 0 1px rgba(255, 228, 218, 0.2);
}

.heart-seal--cart {
  width: 34px;
  height: 34px;
  padding: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 206, 198, 0.26), transparent 35%),
    linear-gradient(145deg, var(--wax-dark), var(--wax) 48%, #3a090f);
  color: #ffe9df;
  box-shadow: inset 0 0 0 1px rgba(255, 228, 218, 0.2), 0 8px 16px rgba(43, 7, 11, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.desktop-nav a {
  color: rgba(255, 250, 240, 0.92);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.cart-link {
  justify-self: end;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: white;
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(25, 19, 14, 0.14) 0%, rgba(25, 19, 14, 0.02) 58%, rgba(245, 239, 228, 0.92) 100%),
    linear-gradient(90deg, rgba(245, 239, 228, 0.96) 0%, rgba(245, 239, 228, 0.88) 35%, rgba(245, 239, 228, 0.22) 67%, rgba(19, 15, 12, 0.18) 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 78px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.42fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  color: var(--ink);
  padding: clamp(48px, 8vw, 110px) 0 clamp(54px, 7vw, 88px);
}

.eyebrow,
.drawer-kicker,
.receipt-header span {
  color: var(--cedar);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(52px, 7.4vw, 104px);
  line-height: 0.93;
  font-weight: 720;
  text-wrap: balance;
}

.hero-lede {
  max-width: 610px;
  color: #3c332c;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  font-weight: 750;
}

.hero-actions,
.hero-proof,
.desktop-nav,
.rating-row,
.checkout-assurance,
.cart-meta {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.primary-cta,
.secondary-cta,
.checkout-button,
.sticky-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 28px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.primary-cta,
.checkout-button {
  background: var(--coffee);
  color: var(--cream);
  border-color: var(--coffee);
  box-shadow: 0 16px 36px rgba(33, 27, 22, 0.18);
}

.secondary-cta {
  background: rgba(255, 250, 240, 0.65);
  color: var(--coffee);
  border-color: rgba(33, 27, 22, 0.23);
  backdrop-filter: blur(14px);
}

.primary-cta:hover,
.secondary-cta:hover,
.checkout-button:hover,
.sticky-offer:hover,
.offer-option:hover,
.segmented-control button:hover {
  transform: translateY(-2px);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-proof span,
.checkout-assurance span,
.cart-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 999px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 850;
}

.hero-proof span {
  padding: 0 13px;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid rgba(154, 90, 44, 0.22);
}

.hero-metrics {
  align-self: end;
  display: grid;
  gap: 1px;
  margin-bottom: clamp(36px, 6vw, 86px);
  border: 1px solid rgba(255, 250, 240, 0.24);
  background: rgba(33, 27, 22, 0.84);
  color: var(--cream);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
}

.hero-metrics div:last-child {
  border-bottom: 0;
}

.hero-metrics strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
  line-height: 1;
}

.hero-metrics span {
  color: rgba(255, 250, 240, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-section,
.coffee-section,
.assurance-section {
  padding: clamp(72px, 8vw, 124px) clamp(18px, 5vw, 64px);
}

.shop-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, 0.72)),
    var(--paper);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.68fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: end;
}

.compact-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.receipt-copy h2,
.assurance-copy h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
  font-weight: 720;
  text-wrap: balance;
}

.section-heading p,
.receipt-copy > p,
.assurance-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}

.product-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.76fr);
  gap: 18px;
  align-items: start;
}

.product-media,
.buy-box,
.receipt-card,
.craft-grid article,
.faq-list article,
.cart-sheet,
.trace-modal {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow-soft);
}

.product-media {
  overflow: hidden;
  border-radius: 8px;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.media-caption {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 34px);
}

.media-caption span {
  color: var(--cedar);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-caption strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.media-caption p {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.buy-box {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
}

.rating-row {
  justify-content: space-between;
  gap: 14px;
  color: var(--cedar);
  font-size: 13px;
  font-weight: 900;
}

.rating-row span {
  color: var(--copper);
  letter-spacing: 0.05em;
}

.buy-title {
  display: grid;
  gap: 8px;
}

.buy-title h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
}

.buy-title p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.offer-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.offer-option {
  min-height: 122px;
  display: grid;
  align-content: space-between;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--porcelain);
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.offer-option.active {
  background: var(--coffee);
  color: var(--cream);
  border-color: var(--coffee);
  box-shadow: inset 0 0 0 1px rgba(197, 122, 58, 0.35);
}

.offer-option span {
  color: currentColor;
  opacity: 0.65;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-option strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.offer-option small {
  color: currentColor;
  opacity: 0.72;
  font-weight: 900;
}

.choice-group {
  display: grid;
  gap: 9px;
}

.choice-group > span,
.quantity-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 239, 228, 0.88);
}

.segmented-control button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--coffee);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.segmented-control button.active {
  background: var(--coffee);
  color: var(--cream);
}

.detail-grid,
.receipt-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-grid div,
.receipt-preview div,
.receipt-lines div,
.cart-line,
.cart-impact,
.cart-meta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.62);
}

.detail-grid div,
.receipt-lines div {
  display: grid;
  gap: 6px;
  padding: 13px;
}

.detail-grid span,
.receipt-preview span,
.receipt-lines span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.detail-grid strong,
.receipt-lines strong {
  font-size: 14px;
  line-height: 1.25;
}

.receipt-preview {
  display: grid;
  gap: 9px;
}

.receipt-preview div,
.quantity-row,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.receipt-preview div {
  padding: 13px 14px;
}

.receipt-preview strong {
  color: var(--ink);
  text-align: right;
  font-size: 14px;
}

.quantity-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.stepper {
  display: grid;
  grid-template-columns: 40px 44px 40px;
  align-items: center;
  justify-items: center;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--porcelain);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--coffee);
}

.stepper button:disabled {
  color: rgba(33, 27, 22, 0.28);
}

.checkout-button {
  width: 100%;
  min-height: 62px;
}

.checkout-button:disabled {
  opacity: 0.68;
}

.checkout-notice {
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--proof-soft);
  color: var(--proof);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-notice.error {
  background: #ffe9df;
  color: #79260e;
}

.checkout-assurance {
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-assurance span {
  min-height: 32px;
  color: var(--proof);
  background: var(--proof-soft);
  padding: 0 11px;
  font-size: 12px;
}

.receipt-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.56fr) minmax(0, 0.86fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(76px, 8vw, 132px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(145deg, rgba(21, 60, 73, 0.08), rgba(21, 60, 73, 0) 46%),
    var(--cream);
}

.receipt-card {
  justify-self: end;
  width: min(460px, 100%);
  display: grid;
  gap: 20px;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(247, 241, 230, 0.88)),
    var(--cream);
}

.receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.receipt-header strong {
  color: var(--proof);
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  line-height: 1;
  text-align: right;
}

.receipt-seal {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(21, 60, 73, 0.18);
  border-radius: 8px;
  background: var(--proof-soft);
  color: var(--proof);
  padding: 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.receipt-copy {
  display: grid;
  gap: 18px;
  width: min(680px, 100%);
}

.proof-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.proof-timeline article {
  display: grid;
  gap: 12px;
  min-height: 214px;
  border: 1px solid rgba(21, 60, 73, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.7);
  padding: 18px;
}

.proof-timeline span {
  color: var(--proof);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.proof-timeline h3,
.craft-grid h3,
.faq-list h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.proof-timeline p,
.craft-grid p,
.faq-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.coffee-section {
  background: #efe3cf;
}

.craft-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.craft-grid article {
  overflow: hidden;
  border-radius: 8px;
}

.craft-grid img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.craft-grid article > div {
  display: grid;
  gap: 11px;
  padding: 20px;
}

.craft-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cedar);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assurance-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: start;
  background: var(--porcelain);
}

.assurance-copy {
  display: grid;
  gap: 16px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-list article {
  display: grid;
  gap: 12px;
  min-height: 214px;
  border-radius: 8px;
  padding: 22px;
}

.sticky-offer {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 55;
  display: none;
  justify-content: space-between;
  width: calc(100vw - 32px);
  min-height: 58px;
  padding: 0 18px 0 20px;
  background: var(--coffee);
  color: var(--cream);
  border-color: rgba(255, 250, 240, 0.16);
  box-shadow: var(--shadow-strong);
}

.sticky-offer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(440px, calc(100vw - 36px));
  border: 1px solid rgba(21, 60, 73, 0.18);
  border-radius: 8px;
  background: var(--cream);
  color: var(--proof);
  box-shadow: var(--shadow-strong);
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.toast.error {
  color: #79260e;
  border-color: rgba(121, 38, 14, 0.2);
}

.overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 9, 6, 0.54);
  backdrop-filter: blur(8px);
}

.side-sheet,
.cart-sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(450px, 92vw);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-strong);
}

.side-sheet {
  left: 0;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 86px 24px 24px;
}

.side-sheet a {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.cart-sheet {
  right: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 86px 24px 24px;
}

.cart-sheet h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

.cart-sheet p {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.cart-line,
.cart-impact,
.cart-meta {
  padding: 15px;
  font-weight: 850;
}

.cart-impact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--proof-soft);
  color: var(--proof);
}

.cart-meta {
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(245, 239, 228, 0.74);
}

.cart-meta span {
  min-height: auto;
  color: var(--muted);
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
}

.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 18px;
}

.trace-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(280px, 0.9fr);
  width: min(980px, 100%);
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
}

.modal-art img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 66px);
}

.modal-copy h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
}

.modal-copy ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.compact {
  min-height: 52px;
  width: fit-content;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .top-nav {
    grid-template-columns: auto 1fr auto;
  }

  .hero-inner,
  .product-shell,
  .receipt-section,
  .assurance-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: none;
  }

  .buy-box {
    position: static;
  }

  .proof-timeline,
  .craft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .receipt-card {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }

  .promo-bar {
    min-height: 36px;
    font-size: 12px;
  }

  .top-nav {
    top: 36px;
    padding: 13px 16px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 20px;
    text-align: center;
  }

  .heart-seal--brand {
    width: 28px;
    height: 28px;
  }

  .nav-control span,
  .cart-link span {
    display: none;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
  }

  .hero > img {
    object-position: 72% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(245, 239, 228, 0.78) 0%, rgba(245, 239, 228, 0.86) 42%, rgba(245, 239, 228, 0.2) 78%, rgba(245, 239, 228, 0.96) 100%),
      linear-gradient(90deg, rgba(245, 239, 228, 0.94), rgba(245, 239, 228, 0.58) 68%, rgba(245, 239, 228, 0.24));
  }

  .hero-inner {
    width: calc(100% - 32px);
    margin-top: 84px;
  }

  .hero-copy {
    padding: 34px 0 46px;
    gap: 15px;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 0.96;
  }

  .hero-lede {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    min-height: 56px;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .hero-proof span {
    min-height: 32px;
    font-size: 12px;
  }

  .shop-section,
  .coffee-section,
  .assurance-section {
    padding: 68px 18px;
  }

  .section-heading,
  .compact-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-heading h2,
  .receipt-copy h2,
  .assurance-copy h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .product-media img {
    aspect-ratio: 0.98;
  }

  .buy-box {
    order: -1;
    padding: 18px;
  }

  .rating-row {
    display: grid;
    gap: 4px;
  }

  .offer-options {
    grid-template-columns: 1fr;
  }

  .offer-option {
    min-height: 92px;
  }

  .detail-grid,
  .receipt-lines,
  .faq-list,
  .proof-timeline,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .receipt-section {
    padding: 72px 18px;
  }

  .receipt-card {
    padding: 22px;
  }

  .receipt-header {
    display: grid;
  }

  .receipt-header strong {
    text-align: left;
  }

  .proof-timeline article,
  .faq-list article {
    min-height: auto;
  }

  .craft-grid img {
    aspect-ratio: 1.1;
  }

  .trace-modal {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 36px);
    overflow: auto;
  }

  .modal-art img {
    min-height: 220px;
    max-height: 260px;
  }

  .modal-copy {
    padding: 26px;
  }

  .modal-copy h2 {
    font-size: 38px;
  }

  .sticky-offer {
    display: inline-flex;
  }

  .toast {
    bottom: 86px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 18px;
  }

  .heart-seal--brand {
    width: 25px;
    height: 25px;
  }

  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero h1 {
    max-width: 330px;
  }

  .segmented-control {
    border-radius: 18px;
    grid-template-columns: 1fr;
  }

  .checkout-button {
    min-height: 58px;
  }
}
