/* ==========================================================================
   Lumen & Lore — design system
   Light theme only. Edit the tokens in :root to re-skin the whole store.
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #17140f;
  --ink-soft: #3b352c;
  --muted: #6f675b;
  --gold: #b08d57;
  --gold-strong: #8a6620;
  --gold-light: #dcc08a;
  --paper: #fbf9f5;
  --paper-2: #f4efe6;
  --paper-3: #ece5d8;
  --line: #e4dccd;
  --white: #ffffff;
  --danger: #a3382f;
  --success: #3f6b4f;

  /* Type */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --container: 1240px;
  --gutter: 24px;
  --radius: 2px;
  --radius-lg: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(23, 20, 15, 0.05);
  --shadow-md: 0 8px 30px rgba(23, 20, 15, 0.08);
  --shadow-lg: 0 24px 60px rgba(23, 20, 15, 0.14);
}

/* --------------------------------------------------------------- reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1em; }

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

/* ------------------------------------------------------------ helpers -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin: 0 0 14px;
}

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { color: var(--muted); margin-top: 14px; }

.lede { font-size: 17px; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--gold-strong); }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-strong); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 11px; }

.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-underline {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-underline:hover { color: var(--gold-strong); border-color: var(--gold-strong); }

/* ------------------------------------------------------------- header -- */
.announce {
  background: var(--ink);
  color: #efe7d8;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.announce b { color: var(--gold-light); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand-name span { color: var(--gold-strong); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.icon-btn:hover { background: var(--paper-3); }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.5; fill: none; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--gold-strong);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.cart-count[hidden] { display: none; }

.burger { display: none; }

/* ---------------------------------------------------------- hero/home -- */
.hero { position: relative; background: var(--paper-2); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 60px;
  padding: 84px 0;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.04;
}
.hero h1 em { font-style: italic; color: var(--gold-strong); }
.hero p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-media img { width: 100%; height: auto; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 26px 22px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}
.trust-item span { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------- product card -- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 34px 26px;
}

.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.045); }

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card-badge--sale { background: var(--danger); }
.card-badge--soldout { background: var(--muted); }

.card-quick {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.card:hover .card-quick,
.card:focus-within .card-quick { opacity: 1; transform: translateY(0); }

.card-body { padding: 16px 2px 0; }
.card-cat {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.card-title a:hover { color: var(--gold-strong); }
.card-price { font-size: 14px; letter-spacing: 0.03em; }
.card-price del { color: var(--muted); margin-right: 8px; font-size: 13px; }
.card-price ins { text-decoration: none; color: var(--danger); }
.card-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------------------------------------------------------- editorial -- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius-lg); }

.value-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .dot {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--gold-strong);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.value-list strong { display: block; font-family: var(--font-display); font-size: 17px; }
.value-list p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------- quote -- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.quote p { font-family: var(--font-display); font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.quote cite { font-style: normal; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------- newsletter -- */
.newsletter {
  background: var(--ink);
  color: #f0e9dc;
  padding: 76px 0;
}
.newsletter .eyebrow { color: var(--gold-light); }
.newsletter h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.newsletter p { color: rgba(240, 233, 220, 0.72); max-width: 52ch; margin: 14px auto 28px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 470px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(240, 233, 220, 0.5); }
.form-note { font-size: 12px; color: rgba(240, 233, 220, 0.55); margin-top: 14px; }
.form-status { font-size: 13px; margin-top: 12px; min-height: 20px; }
.form-status.ok { color: #9fd0ab; }
.form-status.err { color: #f0a99f; }

/* -------------------------------------------------------------- shop -- */
.page-head {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.page-head h1 { font-size: clamp(30px, 4vw, 48px); }
.page-head p { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 16px; letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--gold-strong); }

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--white);
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 12.5px;
}
.result-count { font-size: 12.5px; color: var(--muted); }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

/* ----------------------------------------------------------- product -- */
.pdp { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; padding: 48px 0 20px; }
.pdp-gallery { display: grid; gap: 14px; }
.pdp-main {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pdp-main img { width: 100%; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp-thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  transition: border-color 0.2s var(--ease);
}
.pdp-thumb[aria-pressed="true"] { border-color: var(--ink); }

.pdp-info h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.pdp-price { font-size: 22px; letter-spacing: 0.02em; margin-bottom: 6px; }
.pdp-price del { color: var(--muted); font-size: 17px; margin-right: 10px; }
.pdp-price ins { text-decoration: none; color: var(--danger); }
.pdp-desc { color: var(--muted); margin: 20px 0 26px; }

.option-group { margin-bottom: 22px; }
.option-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 12.5px;
  transition: all 0.2s var(--ease);
}
.option:hover { border-color: var(--gold); }
.option[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 18px; }
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.qty button { width: 44px; height: 100%; min-height: 50px; font-size: 17px; color: var(--ink-soft); }
.qty button:hover { color: var(--gold-strong); }
.qty input {
  width: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 14px;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.accordion { border-top: 1px solid var(--line); margin-top: 30px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  padding: 17px 0;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--gold-strong); font-size: 17px; }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 0 20px; color: var(--muted); font-size: 14px; }
.accordion .acc-body ul { margin: 0; padding-left: 18px; }
.accordion .acc-body li { margin-bottom: 7px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; }

/* -------------------------------------------------------------- cart -- */
.cart-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; padding: 48px 0 72px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-line img { width: 108px; aspect-ratio: 4/5; object-fit: cover; background: var(--paper-2); border-radius: var(--radius); }
.cart-line h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 4px; }
.cart-line .meta { font-size: 12.5px; color: var(--muted); }
.cart-line-right { text-align: right; display: grid; gap: 12px; justify-items: end; }
.cart-line .line-price { font-size: 15px; }
.remove-link { font-size: 12px; color: var(--muted); border-bottom: 1px solid transparent; }
.remove-link:hover { color: var(--danger); border-color: var(--danger); }

.summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: sticky;
  top: 96px;
}
.summary h2 { font-size: 22px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; color: var(--ink-soft); }
.summary-row--total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--ink);
}
.summary .btn { margin-top: 20px; }

.progress-wrap { margin: 6px 0 18px; }
.progress-bar { height: 4px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width 0.4s var(--ease); }
.progress-label { font-size: 12px; color: var(--muted); margin-top: 8px; }

.note-box {
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ------------------------------------------------------- cart drawer -- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(23, 20, 15, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 90;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 26px; }

.mini-line { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-line img { width: 72px; aspect-ratio: 4/5; object-fit: cover; background: var(--paper-2); border-radius: var(--radius); }
.mini-line h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 3px; }
.mini-line .meta { font-size: 12px; color: var(--muted); }
.mini-line .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.mini-qty { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mini-qty button { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; line-height: 1; font-size: 13px; color: var(--ink-soft); }
.mini-qty button:hover { border-color: var(--gold); color: var(--gold-strong); }

/* ------------------------------------------------------------ mobile -- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.36s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mobile-nav-body { padding: 12px 22px; display: grid; }
.mobile-nav-body a {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 23px;
}

/* ------------------------------------------------------------ footer -- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--gold-strong); }
.footer-bottom {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}
.pay-row { display: flex; gap: 10px; align-items: center; }
.pay-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------- content -- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 44px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 28px 0;
  padding: 20px 26px;
  border-left: 2px solid var(--gold);
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}
.guide-card .gem { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px; }
.guide-card h3 { font-size: 20px; margin-bottom: 8px; }
.guide-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }

/* -------------------------------------------------------------- misc -- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 130;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pill {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
}

/* Scroll reveal.
   Scoped to html.js so that content is always visible without JavaScript,
   and paired with a failsafe in app.js that force-reveals after load. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------- responsive -- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 3; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .cart-page { grid-template-columns: 1fr; gap: 36px; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: span 2; }
  .footer-grid .footer-col:last-child { grid-column: span 2; }
  .newsletter-form { flex-direction: column; }
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line img { width: 84px; }
  .cart-line-right { grid-column: 2; justify-items: start; text-align: left; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1 1 100%; }
  .pdp-thumbs { grid-template-columns: repeat(3, 1fr); }
}
