/* ==========================================================
   EcoJoyful storefront styles
   Layout idea: the site is laid out like the gift box itself —
   ivory ground, framed "fitted insert" panels for products,
   and one deep forest band reserved for the bulk offer.
   ========================================================== */

:root {
  /* Color */
  --ivory: #f8f4ec;
  --paper: #fffdf8;
  --linen: #efe7d8;
  --sand: #d9cab0;
  --forest: #24402f;
  --forest-deep: #182c20;
  --sage: #8ea38a;
  --sage-soft: #e1e8dc;
  --ink: #24261f;
  --ink-soft: #5a5c53;
  --line: #e3d9c7;
  --on-forest: #f3efe4;
  --on-forest-soft: #c8d2c2;
  --focus: #3b6b4c;
  --danger: #8c3b2e;

  /* Type */
  --font-display: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 3.8rem);
  --step-5: clamp(2.8rem, 1.7rem + 4.8vw, 5rem);

  /* Space */
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --max: 1200px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(36, 38, 31, 0.05), 0 12px 32px -12px rgba(36, 38, 31, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--ivory);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }

p {
  margin: 0;
  text-wrap: pretty;
}

em.serif {
  font-family: var(--font-display);
  font-style: italic;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--forest);
  color: var(--on-forest);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 32px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.section {
  padding-block: var(--section);
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.center .eyebrow::after {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 38rem;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--on-forest);
  --btn-border: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  --btn-bg: var(--forest-deep);
  --btn-border: var(--forest-deep);
}

.btn:active { transform: translateY(1px); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.btn-ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
}

.btn-light {
  --btn-bg: var(--on-forest);
  --btn-fg: var(--forest-deep);
  --btn-border: var(--on-forest);
}
.btn-light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--forest-deep);
  --btn-border: var(--paper);
}

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--on-forest);
  --btn-border: rgba(243, 239, 228, 0.5);
}
.btn-outline-light:hover {
  --btn-bg: rgba(243, 239, 228, 0.1);
  --btn-fg: var(--on-forest);
  --btn-border: var(--on-forest);
}

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- Announcement + header ---------- */

.announce {
  background: var(--forest);
  color: var(--on-forest);
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-align: center;
}
.announce .wrap {
  padding-block: 0.55rem;
}
.announce a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  /* No backdrop-filter here: it would trap the fixed mobile menu inside the header. */
  background: rgba(248, 244, 236, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand .brand-joy {
  font-style: italic;
  color: var(--forest);
}
.brand .brand-leaf {
  width: 0.5em;
  height: 0.5em;
  align-self: center;
  margin-left: 0.15rem;
  color: var(--sage);
}

.main-nav ul {
  display: flex;
  gap: clamp(1rem, 0.5rem + 1.5vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav ul a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav ul a:hover,
.main-nav ul a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--forest);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--linen); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump {
  40% { transform: scale(1.3); }
}

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--ivory);
    padding: calc(env(safe-area-inset-top, 0px) + 88px) var(--gutter-r) 2rem var(--gutter-l);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .main-nav.open {
    transform: none;
    visibility: visible;
    transition: transform 0.35s var(--ease);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav ul a {
    display: block;
    padding: 1.1rem 0;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ink);
    border: 0;
  }
  .nav-close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: var(--gutter-r);
  }
  .nav-extra {
    margin-top: 2rem;
    display: grid;
    gap: 0.75rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
  }
}
@media (min-width: 901px) {
  .nav-close,
  .nav-extra { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.hero-copy {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}
.hero h1 { max-width: 12ch; }
.hero h1 em {
  font-style: italic;
  color: var(--forest);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 0.75rem 0 0;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--linen);
  box-shadow: var(--shadow);
  aspect-ratio: 1331 / 1181;
}
.hero-visual .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-swatches {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero-swatches .dots {
  display: flex;
}
.hero-swatches .dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -5px;
}
.hero-swatches .dots span:first-child { margin-left: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .hero-swatches { left: 0.75rem; bottom: 0.75rem; }
  .hero h1 { max-width: none; }
}

/* ---------- Trust strip ---------- */

.strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0;
}
.strip li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  min-width: 0;
}
.strip svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--forest);
}
@media (max-width: 860px) {
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Product presentation ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .product { grid-template-columns: minmax(0, 1fr); }
}

.gallery {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
@media (min-width: 901px) {
  .gallery { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
}
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--linen);
  border: 1px solid var(--line);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s var(--ease);
}
.gallery-main img.fading { opacity: 0; }
.gallery-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gallery-nav.prev { left: 0.75rem; }
.gallery-nav.next { right: 0.75rem; }
.gallery-nav svg { width: 18px; height: 18px; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.thumbs button {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--linen);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current='true'] {
  opacity: 1;
  border-color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--forest);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}
.buy h2,
.buy h1 { font-size: var(--step-4); }
.buy .summary { color: var(--ink-soft); font-size: var(--step-1); }

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding-block: 1.1rem;
  border-block: 1px solid var(--line);
}
.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.price-note strong { color: var(--forest); }

.field-label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.field-label span {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-left: 0.4rem;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border: 0;
  margin: 0;
  padding: 0;
}
.swatch {
  position: relative;
}
.swatch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.swatch label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem 0.5rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}
.swatch label i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.swatch input:checked + label {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.swatch input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.buy-row .btn { flex: 1 1 14rem; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: var(--paper);
  height: 3.1rem;
}
.qty button {
  width: 2.8rem;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
}
.qty button:hover { background: var(--linen); }
.qty input {
  width: 3rem;
  border: 0;
  background: transparent;
  text-align: center;
  font: 600 1rem var(--font-body);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty.sm { height: 2.4rem; }
.qty.sm button { width: 2.2rem; font-size: 1rem; }
.qty.sm input { width: 2.4rem; font-size: 0.95rem; }

.live-total {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.live-total strong { color: var(--ink); }
.live-total .tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 600;
}

.bulk-hint {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--sage-soft);
  color: var(--forest-deep);
  font-size: 0.95rem;
}
.bulk-hint svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

/* In-the-box spec sheet */
.spec {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
}
.spec-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--linen);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.spec-title small {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink-soft);
}
.spec dl,
.spec ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px dashed var(--line);
}
.spec li:last-child { border-bottom: 0; }
.spec .n {
  font-family: var(--font-display);
  color: var(--sage);
  font-size: 1.15rem;
}
.spec .item { font-weight: 600; }
.spec .detail {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.spec .dims {
  grid-row: 1;
  grid-column: 3;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .spec li { grid-template-columns: 1.6rem minmax(0, 1fr); }
  .spec .dims { grid-row: auto; grid-column: 2; white-space: normal; }
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
}
.feature {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-width: 0;
}
.feature img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 0.4rem;
}
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .feature-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Why choose ---------- */

.why {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.why-item {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.75rem 1.5rem 0.5rem 0;
  min-width: 0;
}
.why-item + .why-item {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}
.why-item svg {
  width: 30px;
  height: 30px;
  color: var(--forest);
}
.why-item h3 { font-size: 1.6rem; }
.why-item p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item,
  .why-item + .why-item { padding-left: 0; border-left: 0; padding-right: 0; }
  .why-item + .why-item { border-top: 1px solid var(--line); }
}

/* ---------- Occasions ---------- */

.occasions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.occasion {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.occasion:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.occasion .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--linen);
}
.occasion .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.occasion:hover .ph img { transform: scale(1.04); }
.occasion .body {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1.25rem 1.35rem 1.4rem;
}
.occasion h3 { font-size: 1.5rem; }
.occasion p { color: var(--ink-soft); font-size: 0.95rem; }
.occasion .go {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}
@media (max-width: 900px) {
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .occasions { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Bulk band (the one dark moment) ---------- */

.bulk-band {
  position: relative;
  background: var(--forest);
  color: var(--on-forest);
  overflow: hidden;
}
.bulk-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60rem 30rem at 85% 0%, rgba(142, 163, 138, 0.22), transparent 60%),
    radial-gradient(40rem 25rem at 0% 100%, rgba(24, 44, 32, 0.8), transparent 70%);
  pointer-events: none;
}
.bulk-band .wrap { position: relative; }
.bulk-band .eyebrow { color: var(--on-forest-soft); }
.bulk-band h2 { color: var(--on-forest); }
.bulk-band .lede { color: var(--on-forest-soft); }

.bulk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .bulk-grid { grid-template-columns: minmax(0, 1fr); }
}

.bulk-copy {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(243, 239, 228, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tier {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 1.5rem;
  min-width: 0;
}
.tier + .tier {
  border-left: 1px solid rgba(243, 239, 228, 0.22);
  background: rgba(243, 239, 228, 0.07);
}
.tier .label {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-forest-soft);
}
.tier .amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier .amount s {
  font-size: 0.5em;
  opacity: 0.55;
  margin-left: 0.4rem;
}
.tier .per {
  font-size: 0.92rem;
  color: var(--on-forest-soft);
}
@media (max-width: 420px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier + .tier { border-left: 0; border-top: 1px solid rgba(243, 239, 228, 0.22); }
}

.bulk-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.bulk-perks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.bulk-perks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--sage);
}

.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Calculator card */
.calc {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 2vw, 2.25rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}
.calc h3 { font-size: 1.8rem; }
.calc .calc-sub { color: var(--ink-soft); font-size: 0.95rem; }
.calc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.calc input[type='range'] {
  flex: 1 1 12rem;
  accent-color: var(--forest);
  min-width: 0;
}
.calc table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}
.calc th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0.55rem 0;
}
.calc td {
  text-align: right;
  padding: 0.55rem 0;
  font-weight: 600;
}
.calc tr + tr th,
.calc tr + tr td { border-top: 1px solid var(--line); }
.calc tr.total th,
.calc tr.total td {
  border-top: 1px solid var(--ink);
  font-size: 1.1rem;
  color: var(--ink);
}
.calc tr.total td {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
}
.calc .save { color: var(--forest); }
.calc-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--linen);
  font-size: 0.92rem;
}
.calc-status.on {
  background: var(--sage-soft);
  color: var(--forest-deep);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  min-width: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--sage);
}
.steps h3 { font-size: 1.7rem; }
.steps p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.about-grid .ph {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1024 / 695;
  background: var(--linen);
}
.about-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.about-copy {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}
.about-copy p { color: var(--ink-soft); font-size: var(--step-1); }
.about-copy blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.15;
  color: var(--ink);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Testimonials (shown only when configured) ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}
.quote {
  margin: 0;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
}
.quote figcaption { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
.faq-grid > .section-head { align-content: start; }
@media (min-width: 861px) {
  .faq-grid > .section-head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); }
}
.faq-list {
  border-top: 1px solid var(--ink);
  min-width: 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer {
  padding: 0 2rem 1.5rem 0;
  color: var(--ink-soft);
  display: grid;
  gap: 0.75rem;
}
.faq-list .answer ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  background: var(--linen);
  border-top: 1px solid var(--line);
}
.final-cta .inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 44rem;
  margin-inline: auto;
}
.final-cta .colors {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.final-cta .colors span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: var(--on-forest-soft);
  font-size: 0.95rem;
}
.site-footer .wrap { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.site-footer .brand { color: var(--on-forest); }
.site-footer .brand .brand-joy { color: var(--sage); }
.footer-about {
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 22rem;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--on-forest);
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.site-footer a {
  text-decoration: none;
  color: var(--on-forest-soft);
}
.site-footer a:hover { color: var(--on-forest); text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 239, 228, 0.15);
  font-size: 0.85rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

/* ---------- Cart drawer ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(24, 28, 22, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.scrim.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease);
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(440px, 100%);
  background: var(--ivory);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.4);
}
.drawer.open {
  transform: none;
  visibility: visible;
  transition: transform 0.4s var(--ease);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.8rem; }
.drawer-body {
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 1.1rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.85rem;
  background: var(--paper);
}

.progress {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.progress .bar {
  height: 6px;
  border-radius: 999px;
  background: var(--linen);
  overflow: hidden;
}
.progress .bar i {
  display: block;
  height: 100%;
  background: var(--forest);
  border-radius: inherit;
  transition: width 0.4s var(--ease);
}
.progress.done { color: var(--forest); font-weight: 600; }

.line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.line img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--linen);
}
.line .meta {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}
.line .meta strong { font-weight: 600; line-height: 1.3; }
.line .meta small { color: var(--ink-soft); }
.line .meta .controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.line .amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  display: grid;
  gap: 0.1rem;
}
.line .amount s {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.remove {
  border: 0;
  background: none;
  padding: 0.25rem 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.remove:hover { color: var(--danger); }

.totals {
  display: grid;
  gap: 0.4rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  margin: 0;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.totals dt { color: var(--ink-soft); }
.totals dd { margin: 0; font-weight: 600; text-align: right; }
.totals .save dd,
.totals .free dd { color: var(--forest); }
.totals .grand {
  padding-top: 0.6rem;
  margin-top: 0.3rem;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}
.totals .grand dt { color: var(--ink); font-weight: 600; }
.totals .grand dd { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }

.fine {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.fine a { color: var(--ink); }

.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 0;
  color: var(--ink-soft);
}
.empty svg { width: 44px; height: 44px; color: var(--sand); }
.empty h3 { color: var(--ink); }

/* ---------- Dialog (checkout notice) ---------- */

dialog.notice {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
dialog.notice::backdrop { background: rgba(24, 28, 22, 0.5); }
.notice-inner {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 1rem + 2vw, 2rem);
}
.notice-inner h2 { font-size: 2rem; }
.notice-inner p { color: var(--ink-soft); }
.notice-inner pre {
  margin: 0;
  max-height: 11rem;
  overflow: auto;
  padding: 0.9rem 1rem;
  background: var(--linen);
  border-radius: var(--radius);
  font: 0.85rem/1.5 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  white-space: pre-wrap;
}
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.copyable {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--ink);
  user-select: all;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: max-content;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  translate: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.8rem 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), translate 0.3s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.show {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}
.toast button {
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.85rem var(--font-body);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Inner pages ---------- */

.page-hero {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .inner {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}
.page-hero h1 { font-size: var(--step-5); }

.crumbs {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
}
.card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
}
.card .ph {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--linen);
  overflow: hidden;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .ph img { transform: scale(1.03); }
.card .body {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.25rem 1.35rem 1.4rem;
}
.card h2,
.card h3 { font-size: 1.6rem; }
.card h2 a,
.card h3 a { text-decoration: none; }
.card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.card .p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}
.card .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.card .chip i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.notice-band {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--sage-soft);
  color: var(--forest-deep);
  margin-bottom: 2rem;
}
.notice-band p { max-width: 42rem; }

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
}
.cart-lines {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}
.cart-lines .line {
  grid-template-columns: 110px minmax(0, 1fr) auto;
  padding-bottom: 1.25rem;
}
.cart-lines .line img { width: 110px; height: 110px; }
@media (max-width: 480px) {
  .cart-lines .line { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-lines .line img { width: 76px; height: 76px; }
  .cart-lines .line .amount { grid-column: 2; text-align: left; }
}
.summary-card {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 96px);
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.summary-card h2 { font-size: 1.8rem; }

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
}
.field label .opt {
  font-weight: 400;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 1rem var(--font-body);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
.field .err {
  color: var(--danger);
  font-size: 0.85rem;
}
.form-result {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--sage-soft);
  color: var(--forest-deep);
}
.form-result pre {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  font: 0.85rem/1.5 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  white-space: pre-wrap;
  color: var(--ink);
  max-height: 14rem;
  overflow: auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.contact-list .k {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.contact-list .v { font-size: 1.15rem; }

/* Policy pages */
.prose {
  max-width: 44rem;
  display: grid;
  gap: 1.1rem;
}
.prose h2 { font-size: var(--step-3); margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.prose p,
.prose li { color: var(--ink-soft); }
.draft-banner {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--danger);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
}
.draft-banner strong { color: var(--danger); }
.todo {
  display: block;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--sand);
  background: var(--linen);
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Motion ---------- */

.reveal {
  animation: rise 0.8s var(--ease) both;
}
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
@keyframes rise {
  from { transform: translateY(14px); opacity: 0.001; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Before / after ("the shift") ---------- */

.shift {
  display: grid;
  border-top: 1px solid var(--ink);
}
.shift-head,
.shift-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.shift-head {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding-block: 0.9rem;
}
.shift-head span:last-child { color: var(--forest); }
.shift-row .from {
  color: var(--ink-soft);
  font-size: 1rem;
}
.shift-row .arrow {
  color: var(--sage);
  justify-self: center;
}
.shift-row .arrow svg { width: 22px; height: 22px; }
.shift-row .to {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}
@media (max-width: 640px) {
  .shift-head { display: none; }
  .shift-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }
  .shift-row .from::before {
    content: 'Before: ';
    font-weight: 600;
  }
  .shift-row .arrow { display: none; }
}
.payoff {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 1rem + 2vw, 2.25rem);
  background: var(--forest);
  color: var(--on-forest);
  border-radius: var(--radius-lg);
}
.payoff p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.15;
}
.payoff p em { color: var(--on-forest-soft); }
@media (max-width: 760px) {
  .payoff { grid-template-columns: minmax(0, 1fr); }
}

/* Reasons (agents page) */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.reason {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  min-width: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}
.reason h3 { font-size: 1.7rem; }
.reason p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .reasons { grid-template-columns: minmax(0, 1fr); }
}

/* Pop-by script card */
.script {
  margin: 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--sage);
  background: var(--paper);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
}
.script cite {
  display: block;
  margin-top: 0.75rem;
  font: 400 0.9rem var(--font-body);
  color: var(--ink-soft);
}

/* Package picker (agents page) */
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.pack {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-width: 0;
}
.pack.featured {
  border-color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--forest);
}
.pack .size {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}
.pack .who { color: var(--ink-soft); }
.pack .cost {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  margin-top: 0.5rem;
}
.pack .cost small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}
.pack .btn { margin-top: 0.75rem; }
@media (max-width: 860px) {
  .packs { grid-template-columns: minmax(0, 1fr); }
}
.pack-color {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pack-color .field { min-width: 12rem; }
.pack { display: flex; flex-direction: column; }
.pack .cost { margin-top: auto; padding-top: 0.75rem; }

.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--danger);
}
.stock-note[hidden] {
  display: none;
}
.stock-note::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
