/* Cart / checkout / payment / TOS / affiliates / contact */

.cart-page, .checkout-page, .payment-page, .doc-page {
  padding: clamp(32px, 7vw, var(--s-8)) var(--gutter);
}

/* Page hero (compact) */
.page-hero {
  padding: clamp(32px, 7vw, var(--s-8)) var(--gutter) clamp(24px, 5vw, var(--s-6));
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: clamp(20px, 4vw, 32px);
  border-bottom: 1px solid var(--rule);
}
.page-hero__num { font-family: var(--font-serif); font-style: italic; color: var(--gold-200); font-size: 15px; }
.page-hero__title { font-family: var(--font-serif); font-size: clamp(52px, 6vw, 104px); line-height: 0.94; letter-spacing: -0.02em; color: var(--beige-50); text-align: center; }
.page-hero__title em { font-style: italic; color: var(--gold-100); }
.page-hero__lede { font-size: 15px; color: var(--beige-200); line-height: 1.85; justify-self: end; max-width: 32ch; }
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero__title { text-align: left; }
  .page-hero__lede { justify-self: start; }
}

/* CART */
.cart-layout {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px;
  padding: 0 var(--gutter); margin-top: var(--s-7);
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; gap: 48px; } }

.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto auto;
  gap: 24px; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.cart-line__img {
  width: 96px; height: 96px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  /* Now rendered as <a> so the whole tile links to the PDP — strip the
     default underline + inherited link color, and animate the border on
     hover so the affordance reads as "clickable" without shouting. */
  text-decoration: none;
  transition: border-color var(--dur-fast, 160ms) var(--ease, ease);
}
.cart-line__img:hover,
.cart-line__img:focus-visible { border-color: var(--gold-300); outline: none; }
.cart-line__img img { max-width: 70%; max-height: 70%; }
.cart-line__name {
  font-family: var(--font-serif); font-size: 24px; color: var(--beige-50);
  /* Also rendered as <a> — same underline strip + hover color shift. */
  text-decoration: none;
  display: inline-block;
  transition: color var(--dur-fast, 160ms) var(--ease, ease);
}
.cart-line__name:hover,
.cart-line__name:focus-visible { color: var(--gold-100); outline: none; }
.cart-line__variant { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-muted); margin-top: 6px; }
.cart-line__remove { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-dim); }
.cart-line__remove:hover { color: var(--gold-100); }

.cart-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); }
.cart-line__qty button { width: 44px; height: 44px; color: var(--beige-100); transition: color 160ms var(--ease), background 160ms var(--ease); }
.cart-line__qty button:hover { color: var(--gold-100); }
.cart-line__qty button:active { background: rgba(212,178,102,0.10); }
.cart-line__qty input { width: 44px; height: 44px; text-align: center; background: transparent; border: 0; color: var(--beige-50); }
.cart-line__price { font-family: var(--font-serif); font-size: 24px; color: var(--gold-100); min-width: 100px; text-align: right; }

/* Narrow viewports — the 4-column grid (96px | 1fr | auto | auto) plus
   24px gaps starves the name/qty/price columns at ≤600px. Collapse to
   2 columns with the price wrapping to a third row below the image so
   nothing overflows on a 320–414px phone. */
@media (max-width: 600px) {
  .cart-line {
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "img name"
      "img qty"
      "price price";
    gap: 10px 16px;
    align-items: start;
    padding: 18px 0;
  }
  .cart-line__img { width: 72px; height: 72px; grid-area: img; }
  .cart-line__name { font-size: 19px; grid-area: name; }
  .cart-line__qty { grid-area: qty; justify-self: start; }
  .cart-line__price { grid-area: price; min-width: 0; text-align: right; font-size: 22px; }
}

.cart-summary {
  background: var(--ink-2); border: 1px solid var(--rule);
  padding: clamp(20px, 4vw, 32px);
  align-self: start; position: sticky; top: 100px;
}
/* Once the cart drops to a single column, the sticky summary at top:100px
   shoves itself onto the line items the user is still trying to scan.
   Static positioning lets it sit naturally after the items. */
@media (max-width: 900px) {
  .cart-summary { position: static; }
}
.cart-summary h3 { font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 30px); color: var(--beige-50); margin-bottom: clamp(16px, 3vw, 24px); }
.cart-summary__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--beige-200); }
.cart-summary__row.is-total { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 26px); color: var(--beige-50); border: 0; padding-top: 24px; }
.cart-summary__row.is-total span:last-child { color: var(--gold-100); }

.empty-cart { text-align: center; padding: clamp(48px, 10vw, 96px) 0; color: var(--fg-muted); }
.empty-cart h3 { font-family: var(--font-serif); font-size: clamp(28px, 4.6vw, 39px); color: var(--beige-50); margin-bottom: 16px; }

/* CHECKOUT
   The form has four direct grid children, placed by name:
     #1 .checkout-fields    (Contact + Shipping)   → area "fields"
     #2 #checkout-summary   (Order Summary + code) → area "summary"
     #3 #checkout-payment-section (Method of Pay)  → area "pay"
     #4 #checkout-consent   (consent + Place Order)→ area "consent"
   DESKTOP (≥901px): two columns. Left column = fields then payment;
   right column = summary then consent/Place-Order. The summary column
   is sticky so it follows the scroll.
   MOBILE (≤900px): single column. Order is deliberately
   fields → SUMMARY + DISCOUNT CODE → payment → consent/Place-Order,
   so a buyer applies a coupon and sees the final total BEFORE choosing
   how to pay (jay's #1 checkout concern). */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-areas:
    "fields  side"
    "pay     side";
  gap: 32px 64px;
  align-items: start;
  padding: 0 var(--gutter); margin-top: var(--s-7);
}
.checkout-fields { grid-area: fields; }
/* DESKTOP right rail: the Order Summary AND the consent/Place-Order are wrapped in ONE
   sticky container (.checkout-side) so they move as a SINGLE unit and can NEVER overlap.
   The earlier per-item sticky/static could not fix it: the sticky summary pinned across the
   whole tall form while the static Place-Order aside scrolled UP into it, floating the gold
   button on top of the Order Summary (wedged between Subtotal and Total). One sticky rail
   eliminates that by construction. */
.checkout-side {
  grid-area: side; position: sticky; top: 100px; align-self: start;
  display: flex; flex-direction: column; gap: 32px;
}
/* Inside the rail the panels flow normally — the rail itself is the only sticky element
   (scoped override so the cart page's .cart-summary stays sticky on its own). */
/* Inside the flex-column rail, align-self controls the HORIZONTAL axis, so the base
   `.cart-summary { align-self: start }` (correct for the cart page's grid) would collapse
   the box to its content width (~257px) inside the ~525px column — the squeezed summary.
   Force stretch here so it fills the column to a normal width. */
.checkout-side > .cart-summary { position: static; top: auto; align-self: stretch; }
/* grid-area on these is inert on desktop (they're flex children of .checkout-side) and only
   takes effect on mobile, where .checkout-side becomes display:contents (see below). */
#checkout-summary { grid-area: summary; }
#checkout-payment-section { grid-area: pay; }
#checkout-consent { grid-area: consent; }
@media (max-width: 900px) {
  /* The desktop sticky rail DISSOLVES on mobile (display:contents) so the summary and the
     consent/Place-Order place INDEPENDENTLY via grid-area — preserving the deliberate
     single-column interleave: fields → summary+discount → payment → consent/Place Order
     (so the buyer sees the final total before choosing how to pay, and Place Order sits last). */
  .checkout-side { display: contents; }
  .checkout-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "fields"
      "summary"
      "pay"
      "consent";
    gap: 32px;
  }
  /* Static positioning so the summary/consent sit naturally in the
     single-column flow instead of overlapping scrolled content. */
  #checkout-summary, #checkout-consent { position: static; }
}
.checkout-section { margin-bottom: clamp(32px, 5vw, 48px); }
.checkout-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 30px); color: var(--beige-50);
  margin-bottom: clamp(16px, 3vw, 24px);
  padding-bottom: clamp(12px, 2vw, 16px);
  border-bottom: 1px solid var(--gold-400);
}
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 24px); }
.checkout-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-grid .full { grid-column: auto; } }

.pay-options { display: flex; flex-direction: column; gap: 12px; }
.pay-option {
  border: 1px solid var(--rule);
  padding: clamp(14px, 2.5vw, 20px) clamp(16px, 3vw, 24px);
  display: flex; gap: clamp(12px, 2vw, 16px); align-items: center;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}
.pay-option:hover { border-color: var(--gold-300); }
.pay-option input { display: none; }
.pay-option .radio {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay-option .radio::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-200);
  transform: scale(0); transition: transform var(--dur-fast) var(--ease);
}
.pay-option.is-active { border-color: var(--gold-200); background: rgba(212,178,102,0.06); }
.pay-option.is-active .radio { border-color: var(--gold-200); }
.pay-option.is-active .radio::after { transform: scale(1); }
.pay-option__name { font-family: var(--font-serif); font-size: clamp(17px, 2.6vw, 22px); color: var(--beige-50); }
.pay-option__desc { font-size: 15px; color: var(--fg-muted); margin-top: 4px; }
.pay-option__icon { color: var(--gold-200); flex-shrink: 0; }

/* PAYMENT instruction screens */
.payment-instructions {
  max-width: 720px; margin: 0 auto;
  padding: 0 var(--gutter);
}
.payment-card {
  background: var(--ink-2); border: 1px solid var(--gold-400);
  padding: clamp(22px, 5vw, 48px);
  margin-top: clamp(20px, 4vw, 32px);
}
.payment-card__top {
  display: flex; gap: clamp(14px, 3vw, 24px); align-items: center; flex-wrap: wrap;
  padding-bottom: clamp(16px, 3vw, 24px); border-bottom: 1px solid var(--rule); margin-bottom: clamp(16px, 3vw, 24px);
}
.payment-card__logo {
  width: clamp(48px, 8vw, 64px); height: clamp(48px, 8vw, 64px);
  border: 1px solid var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-100);
  font-family: var(--font-serif); font-size: clamp(24px, 3.6vw, 30px);
  flex-shrink: 0;
}
.payment-card h2 { font-family: var(--font-serif); font-size: clamp(24px, 4vw, 35px); color: var(--beige-50); margin: 0; }
.payment-card__step { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-200); margin-bottom: 6px; }

.qr-block {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: clamp(16px, 4vw, 32px);
  align-items: center;
  margin: clamp(20px, 4vw, 32px) 0;
  padding: clamp(16px, 3vw, 24px);
  background: var(--ink-1);
  border: 1px solid var(--rule);
}
/* On phones, 200px QR + 32px gap leaves no room for the address
   column. Stack vertically with the QR centered above the details. */
@media (max-width: 560px) {
  .qr-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .qr-block__qr {
    max-width: 220px;
    margin: 0 auto;
  }
}
.qr-block__qr {
  aspect-ratio: 1;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%,
      color-mix(in oklch, var(--gold-300) 22%, transparent) 0%,
      color-mix(in oklch, var(--gold-400) 10%, transparent) 35%,
      transparent 70%),
    var(--ink-2);
  border: 1px solid var(--rule);
  padding: 12px;
  overflow: hidden;
}
.qr-block__qr svg { width: 100%; height: 100%; display: block; }
/* Real scannable QR image (e.g. the Cash App cashtag code). White card so
   the dark tile background never bleeds into the quiet zone; object-fit
   contain keeps the QR square + UNdistorted at every viewport (phone ->
   desktop), which is what keeps it scannable no matter the screen size. */
.qr-block__qr--real { background: #fff; padding: clamp(8px, 2.5%, 14px); }
.qr-block__qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Decorative QR placeholder — reads as a QR without being one */
.qr-block__qr--placeholder {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  padding: 16px;
}
.qr-block__qr--placeholder .qr-art {
  width: 100%;
  aspect-ratio: 1;
  background-color: transparent;
  background-image:
    /* Three finder squares (top-left, top-right, bottom-left) */
    radial-gradient(circle at 14% 14%, var(--gold-100) 0 6%, transparent 6.5%),
    radial-gradient(circle at 14% 14%, transparent 0 9%, var(--ink-1) 9% 12%, var(--gold-100) 12% 18%, transparent 18.5%),
    radial-gradient(circle at 86% 14%, var(--gold-100) 0 6%, transparent 6.5%),
    radial-gradient(circle at 86% 14%, transparent 0 9%, var(--ink-1) 9% 12%, var(--gold-100) 12% 18%, transparent 18.5%),
    radial-gradient(circle at 14% 86%, var(--gold-100) 0 6%, transparent 6.5%),
    radial-gradient(circle at 14% 86%, transparent 0 9%, var(--ink-1) 9% 12%, var(--gold-100) 12% 18%, transparent 18.5%),
    /* Module dot grid */
    radial-gradient(circle, var(--gold-200) 22%, transparent 24%);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    9% 9%;
  background-position:
    0 0, 0 0, 0 0, 0 0, 0 0, 0 0,
    0 0;
  /* Mask out the finder corners from the dot pattern using composite */
  position: relative;
  border: 1px solid color-mix(in oklch, var(--gold-400) 40%, transparent);
}
.qr-block__qr--placeholder .qr-art::after {
  /* center emblem */
  content: "";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 26%; height: 26%;
  background: var(--ink-1);
  border: 1px solid var(--gold-300);
  display: block;
}
.qr-block__qr--placeholder .qr-art::before {
  /* X mark in center, matching the brand mark */
  content: "✕";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(19px, 4.5vw, 35px);
  color: var(--gold-100);
  z-index: 2;
  line-height: 1;
}
.qr-block__qr--placeholder .qr-cap {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}
.qr-block__details { display: flex; flex-direction: column; gap: 12px; }
.qr-block__field { display: flex; flex-direction: column; gap: 4px; }
.qr-block__label { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-muted); }
.qr-block__val {
  font-family: var(--font-mono); font-size: 15px; color: var(--gold-100);
  display: flex; gap: 12px; align-items: center;
  word-break: break-all;
}
.qr-block__copy {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--beige-200); border: 1px solid var(--rule); padding: 10px 14px;
  flex-shrink: 0; cursor: pointer;
  /* Tap target — manual payment instructions on phone need to be
     trivially tappable, not pixel-precise. */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: transparent;
}
.qr-block__copy:hover { border-color: var(--gold-200); color: var(--gold-100); }
@media (max-width: 600px) { .qr-block { grid-template-columns: 1fr; } .qr-block__qr { max-width: 200px; margin: 0 auto; } }

.payment-instructions ol { padding-left: 20px; color: var(--beige-200); font-size: 15px; line-height: 1.85; margin: 0; }
.payment-instructions ol li { margin-bottom: 12px; }
.payment-instructions ol li::marker { color: var(--gold-200); font-family: var(--font-serif); font-style: italic; }

.payment-callout {
  margin-top: 32px; padding: 20px 24px;
  background: var(--beige-surface); color: var(--beige-surface-text);
  font-size: 15px; line-height: 1.7;
}
.payment-callout strong { font-weight: 600; }

/* ---------- Crypto how-to disclosure ---------- */
/* Sits inside the crypto payment-card. <details>/<summary> for native a11y;
   visual style mirrors the editorial language used elsewhere on the site
   (numbered eyebrow, serif italic headings, lowercase roman step numerals). */
.crypto-howto {
  margin-top: 24px;
  border: 1px solid var(--rule);
  background: var(--ink-1);
  transition: border-color var(--dur, 320ms) var(--ease, ease);
}
.crypto-howto[open] { border-color: var(--gold-400); }

.crypto-howto__summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.crypto-howto__summary::-webkit-details-marker { display: none; }
.crypto-howto__summary:hover { background: var(--ink-2); }

.crypto-howto__num {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-200);
  font-family: var(--font-sans);
}
.crypto-howto__title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--beige-50);
  line-height: 1.35;
}
.crypto-howto__title em {
  color: var(--gold-100);
  font-style: italic;
}
.crypto-howto__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: var(--beige-200);
  transition: transform var(--dur, 320ms) var(--ease, ease), color var(--dur-fast, 180ms) var(--ease, ease);
}
.crypto-howto[open] .crypto-howto__chev {
  transform: rotate(180deg);
  color: var(--gold-100);
}

.crypto-howto__body {
  padding: 8px 32px 32px;
  border-top: 1px solid var(--rule);
}
.crypto-howto__lede {
  color: var(--beige-200);
  font-size: 15px;
  line-height: 1.85;
  margin: 24px 0 28px;
  max-width: 56ch;
}

.crypto-howto__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.crypto-howto__steps > li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.crypto-howto__steps > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.crypto-howto__step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold-100);
  line-height: 1;
  padding-top: 2px;
}
.crypto-howto__steps h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--beige-50);
  margin: 0 0 8px;
  font-weight: 500;
}
.crypto-howto__steps p {
  color: var(--beige-200);
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.crypto-howto__steps strong {
  color: var(--gold-100);
  font-weight: 500;
}
.crypto-howto__steps em {
  color: var(--beige-50);
  font-style: italic;
}

.crypto-howto__note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--ink-2);
  border-left: 2px solid var(--gold-200);
  color: var(--beige-200);
  font-size: 15px;
  line-height: 1.85;
}
.crypto-howto__note-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: 8px;
}
.crypto-howto__note strong { color: var(--gold-100); font-weight: 500; }
.crypto-howto__note em { color: var(--beige-50); font-style: italic; }

@media (max-width: 600px) {
  .crypto-howto__summary {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 16px 18px;
    align-items: center;
  }
  .crypto-howto__num {
    grid-column: 1 / -1;
    font-size: 11px;
    letter-spacing: 0.28em;
  }
  .crypto-howto__title {
    font-size: 17px;
    line-height: 1.3;
  }
  .crypto-howto__chev { width: 24px; height: 24px; }
  .crypto-howto__body { padding: 8px 18px 24px; }
  .crypto-howto__lede { font-size: 15px; margin: 18px 0 22px; }
  .crypto-howto__steps > li {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding-bottom: 18px;
  }
  .crypto-howto__steps { gap: 18px; }
  .crypto-howto__step-num { font-size: 22px; }
  .crypto-howto__steps h4 { font-size: 17px; }
  .crypto-howto__steps p { font-size: 15px; line-height: 1.7; }
  .crypto-howto__note { padding: 14px 16px; font-size: 15px; line-height: 1.7; }
  /* The crypto card padding is generous on desktop; tighten on mobile so
     the disclosure has full width to breathe without horizontal pinch. */
  .payment-card { padding: 28px 22px; }
}

/* DOC PAGE (TOS, etc.) */
.doc-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 64px;
  padding: 0 var(--gutter); margin-top: var(--s-7); max-width: var(--max-w); margin-left: auto; margin-right: auto;
}
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } }
.doc-toc { position: sticky; top: 100px; align-self: start; }
@media (max-width: 900px) { .doc-toc { position: static; } }
.doc-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--rule); }
.doc-toc a { display: block; padding: 8px 16px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); border-left: 1px solid transparent; margin-left: -1px; }
.doc-toc a:hover, .doc-toc a.is-active { color: var(--gold-100); border-left-color: var(--gold-200); }
.doc-content { max-width: 72ch; color: var(--beige-100); }
.doc-content h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 39px); color: var(--beige-50); margin: clamp(40px, 7vw, 64px) 0 16px; padding-top: clamp(16px, 3vw, 24px); border-top: 1px solid var(--rule); }
.doc-content h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.doc-content h3 { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 26px); color: var(--gold-100); margin: clamp(24px, 4vw, 32px) 0 12px; }
.doc-content p { font-size: clamp(15px, 1.6vw, 16px); line-height: 1.85; margin: 0 0 16px; color: var(--beige-200); }
.doc-content ul, .doc-content ol { color: var(--beige-200); font-size: clamp(14px, 1.5vw, 15px); line-height: 1.85; padding-left: 20px; }
.doc-content li { margin-bottom: 8px; }
.doc-content strong { color: var(--beige-50); font-weight: 500; }

/* AFFILIATES */
.aff-hero {
  padding: clamp(40px, 9vw, var(--s-9)) var(--gutter) clamp(32px, 6vw, var(--s-7));
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: end;
  border-bottom: 1px solid var(--rule);
}
.aff-hero h1 { font-family: var(--font-serif); font-size: clamp(60px, 8vw, 134px); line-height: 0.9; letter-spacing: -0.025em; color: var(--beige-50); }
.aff-hero h1 em { font-style: italic; color: var(--gold-100); }
.aff-hero__lede { font-size: 16px; line-height: 1.85; color: var(--beige-200); max-width: 48ch; }
@media (max-width: 900px) { .aff-hero { grid-template-columns: 1fr; } }

.aff-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.aff-stat { background: var(--ink-1); padding: clamp(24px, 5vw, 48px) clamp(16px, 3.5vw, 32px); }
.aff-stat__big { font-family: var(--font-serif); font-size: clamp(35px, 5.2vw, 60px); color: var(--gold-100); line-height: 1; }
.aff-stat__lbl { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--beige-300); margin-top: 12px; }
@media (max-width: 800px) { .aff-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .aff-stats { grid-template-columns: 1fr; } }

.aff-section { padding: clamp(32px, 6vw, var(--s-7)) var(--gutter); border-bottom: 1px solid var(--rule); }
.aff-section h2 { font-family: var(--font-serif); font-size: clamp(39px, 4vw, 60px); margin-bottom: 32px; color: var(--beige-50); }
.aff-section h2 em { font-style: italic; color: var(--gold-100); }
.aff-section__row { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 800px) { .aff-section__row { grid-template-columns: 1fr; } }

/* Two vials hovering beneath "The arrangement" with a shared gold glow */
.aff-vials {
  position: relative;
  margin-top: 32px;
  height: clamp(180px, 22vw, 260px);
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
  pointer-events: none;
}
.aff-vials__glow {
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 55% 60% at 50% 55%,
    color-mix(in oklch, var(--gold-300) 30%, transparent) 0%,
    color-mix(in oklch, var(--gold-400) 14%, transparent) 40%,
    transparent 75%
  );
  filter: blur(4px);
  z-index: 0;
}
/* The floating anchor IS the positioned + animated element. The img
   inside just fills it. Position + animation moved off the img and
   onto the link so the click target tracks the visible vial.
   pointer-events: auto overrides the parent .aff-vials's `none` so
   the links capture clicks while the gold-glow halo stays decorative. */
.aff-vials__link {
  position: absolute;
  width: clamp(120px, 14vw, 200px);
  display: block;
  pointer-events: auto;
  text-decoration: none;
  z-index: 1;
  transition: filter 280ms var(--ease);
}
.aff-vials__vial {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 50% 80%;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55));
  transition: filter 280ms var(--ease);
}
.aff-vials__link--left {
  left: 50%;
  transform: translate(calc(-50% - 70px), 0) rotate(-9deg);
  animation: affVialHoverA 5.5s ease-in-out infinite;
}
.aff-vials__link--right {
  left: 50%;
  transform: translate(calc(-50% + 70px), 0) rotate(7deg);
  animation: affVialHoverB 6.3s ease-in-out infinite;
  animation-delay: -1.4s;
}
.aff-vials__link:hover .aff-vials__vial,
.aff-vials__link:focus-visible .aff-vials__vial {
  filter: drop-shadow(0 28px 48px rgba(0,0,0,0.65))
          drop-shadow(0 0 22px rgba(212, 175, 96, 0.35));
}
.aff-vials__link:focus-visible {
  outline: 1px solid var(--gold-300);
  outline-offset: 8px;
}
@keyframes affVialHoverA {
  0%, 100% { transform: translate(calc(-50% - 70px), 0)     rotate(-9deg); }
  50%      { transform: translate(calc(-50% - 70px), -12px) rotate(-7deg); }
}
@keyframes affVialHoverB {
  0%, 100% { transform: translate(calc(-50% + 70px), 0)     rotate(7deg); }
  50%      { transform: translate(calc(-50% + 70px), -16px) rotate(9deg); }
}
@media (prefers-reduced-motion: reduce) {
  .aff-vials__link--left, .aff-vials__link--right { animation: none; }
}

.aff-form { background: var(--ink-2); border: 1px solid var(--gold-400); padding: clamp(22px, 5vw, 48px); }
.aff-form .checkout-grid { gap: clamp(18px, 3.5vw, 32px); }

/* Stat tiles now carry multi-word values ("Same Day") alongside numerals.
   Keep them on one tidy line, hard-balance the wrap, and let the longer
   word labels breathe so they never collide with the serif figure above. */
.aff-stat__big { text-wrap: balance; }
.aff-stat__lbl { text-wrap: balance; }

/* About */
.about-section { padding: clamp(32px, 6vw, var(--s-7)) var(--gutter); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-grid h2 { font-family: var(--font-serif); font-size: clamp(39px, 4.5vw, 69px); line-height: 1.05; color: var(--beige-50); }
.about-grid h2 em { font-style: italic; color: var(--gold-100); }
.about-grid p { color: var(--beige-200); font-size: 16px; line-height: 1.85; }
.about-grid img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; background: var(--ink-2); border: 1px solid var(--rule); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Confirmation page */
.confirm-page { padding: clamp(48px, 10vw, var(--s-9)) var(--gutter); text-align: center; max-width: 720px; margin: 0 auto; }
.confirm-page .checkmark {
  width: clamp(56px, 10vw, 80px); height: clamp(56px, 10vw, 80px);
  border: 1px solid var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto clamp(20px, 4vw, 32px);
  color: var(--gold-100);
}
.confirm-page h1 { font-family: var(--font-serif); font-size: clamp(43px, 5vw, 69px); color: var(--beige-50); margin-bottom: 16px; }
.confirm-page h1 em { font-style: italic; color: var(--gold-100); }
.confirm-page p { color: var(--beige-200); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
.confirm-page .order-id {
  font-family: var(--font-mono); color: var(--gold-100);
  display: inline-block; padding: 8px 16px; border: 1px solid var(--gold-300); margin: 16px 0;
}
