/* Tend Pages design system
   Voice: calm, assured, practical. Palette and type mirror the printable products
   (forest ink, terracotta, cream paper, Lora headings, Inter text). */

/* ---------- Tokens ---------- */
:root {
  --paper: #fbf8f3;
  --cream: #f3ede3;
  --sand: #e9e1d4;
  --white: #ffffff;
  --ink: #1e2a25;
  --ink-2: #4a5752; /* 7.2:1 on paper */
  --ink-3: #5f6b66; /* 5.3:1 on paper — small meta only */
  --forest: #2e4b3f;
  --forest-700: #223a30;
  --forest-50: #e7eee9;
  --clay: #a14f2c; /* 5.2:1 on paper */
  --clay-50: #f6e8df;
  --line: #e1d8ca;
  --line-strong: #c9bda9;
  --control: #857865; /* 3:1+ boundary for form controls (WCAG 1.4.11) */
  --ok: #2f6b4a;
  --warn-bg: #fbf1d9;
  --warn-ink: #6b4e0f;
  --focus: #1d5fd1;

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --step--1: 0.9375rem; /* 15px at 16 base; body is 18 */
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(30, 42, 37, 0.06), 0 2px 8px rgba(30, 42, 37, 0.05);
  --shadow-2: 0 18px 40px -22px rgba(30, 42, 37, 0.35);
  --shadow-page: 0 22px 44px -24px rgba(30, 42, 37, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1200px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0) / 1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: var(--space-4); }
a { color: var(--forest); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-700); text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--forest-50); }
.sr-only { position: absolute !important; 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: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.narrow { max-width: 760px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: #fff; }
.section--forest h2, .section--forest h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-5); margin-bottom: var(--space-6); flex-wrap: wrap; }
.section-head p { color: var(--ink-2); max-width: 56ch; margin-top: var(--space-3); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center p { margin-inline: auto; }
.eyebrow { display: block; font: 600 0.8125rem/1.3 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--space-3); }
.section--forest .eyebrow { color: #f0cfb8; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.stack > * + * { margin-top: var(--space-4); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .split, .grid--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-sm);
  border: 2px solid var(--forest); background: var(--forest); color: #fff;
  font: 600 1.0625rem/1.2 var(--font-sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--forest-700); border-color: var(--forest-700); color: #fff; text-decoration: none; }
.btn--secondary { background: transparent; color: var(--forest); }
.btn--secondary:hover { background: var(--forest-50); color: var(--forest-700); }
.btn--light { background: #fff; border-color: #fff; color: var(--forest); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--forest-700); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn[aria-disabled='true'], .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.is-added { background: var(--forest-50); border-color: var(--forest-50); color: var(--forest-700); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.link-btn { background: none; border: 0; padding: 4px 0; min-height: 44px; color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-btn:hover { color: var(--forest-700); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link::after { content: '→'; transition: transform 0.2s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.notice-bar { background: var(--forest); color: #fff; font-size: 0.9375rem; text-align: center; padding: 9px 16px; }
.notice-bar span + span::before { content: '·'; margin: 0 10px; opacity: 0.6; }
@media (max-width: 640px) { .notice-bar { font-size: 0.875rem; padding: 7px 12px; } .notice-bar .hide-sm { display: none; } }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); height: var(--header-h); }
.logo { font: 600 1.75rem/1 var(--font-serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a:hover { background: var(--cream); }
.main-nav a[aria-current='page'] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--forest); border-radius: 0; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--control); background: #fff; font-weight: 600; cursor: pointer; color: var(--ink); text-decoration: none; }
.cart-btn:hover { border-color: var(--forest); color: var(--ink); text-decoration: none; }
.cart-btn .icon { width: 22px; height: 22px; }
.cart-count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--forest); color: #fff; font-size: 0.875rem; display: inline-grid; place-items: center; }
.cart-count[data-count='0'] { background: var(--sand); color: var(--ink-2); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px clamp(20px, 4vw, 40px) 20px; }
  .main-nav a { min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current='page'] { box-shadow: none; font-weight: 700; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--control); border-radius: var(--r-sm); background: #fff; font-weight: 600; cursor: pointer; }
  .menu-btn .icon { width: 22px; height: 22px; }
  .cart-btn .cart-label { display: none; }
  .site-header .wrap { gap: 10px; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--step--1); color: var(--ink-2); padding-block: var(--space-4) 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px); background: linear-gradient(180deg, var(--paper), var(--cream)); }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: var(--space-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--space-5); list-style: none; color: var(--ink-2); font-size: var(--step--1); }
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances .icon { width: 18px; height: 18px; color: var(--ok); }
.hero-visual { position: relative; }
.hero-visual picture img { border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.hero-visual .tag { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-1); font-size: var(--step--1); max-width: 300px; }
.hero-visual .tag b { display: block; font-family: var(--font-serif); font-size: 1.0625rem; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.need-card { display: flex; flex-direction: column; gap: 8px; padding: var(--space-5); text-decoration: none; color: var(--ink); min-height: 100%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.need-card:hover { border-color: var(--forest); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; }
.need-card h3 { font-size: 1.25rem; }
.need-card p { color: var(--ink-2); font-size: var(--step--1); flex: 1; }
.need-card .text-link { color: var(--forest); min-height: 32px; }
.need-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--forest-50); color: var(--forest); display: grid; place-items: center; }
.need-icon .icon { width: 22px; height: 22px; }

/* Product card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 28px); list-style: none; }
.p-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.p-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.p-card__media { aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.025); }
.p-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.p-card__cat { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.p-card__title { font-size: 1.25rem; }
.p-card__title a { color: var(--ink); text-decoration: none; }
.p-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.p-card__title a:hover { text-decoration: underline; }
.p-card__benefit { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }
.p-card__meta { color: var(--ink-3); font-size: 0.875rem; }
.p-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.p-card__foot .btn { position: relative; z-index: 2; }
.p-card.is-coming .p-card__title a::after { display: none; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.badge--forest { background: var(--forest); color: #fff; }
.badge--clay { background: var(--clay-50); color: #7a3518; }
.badge--muted { background: var(--sand); color: var(--ink-2); box-shadow: none; }

/* Price */
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { font: 600 1.375rem/1 var(--font-sans); color: var(--ink); }
.price__was { color: var(--ink-3); text-decoration: line-through; font-size: 1rem; }
.price__save { font-size: 0.875rem; font-weight: 600; color: #7a3518; background: var(--clay-50); padding: 2px 8px; border-radius: 999px; }
.price--lg .price__now { font-size: 2rem; }

/* Placeholder cover for planned products — intentionally not product-like */
.ph-cover { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 28px; text-align: center;
  background: repeating-linear-gradient(-45deg, var(--cream) 0 14px, #efe7da 14px 28px); color: var(--ink-2); }
.ph-cover__label { font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 7px 10px; border-radius: 4px; }
.ph-cover__title { font: 600 1.25rem/1.25 var(--font-serif); color: var(--ink); max-width: 16ch; }
.ph-cover__note { font-size: 0.875rem; }

/* Category tiles */
.cat-tile { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); overflow: hidden; height: 100%; }
.cat-tile:hover { color: var(--ink); text-decoration: none; border-color: var(--forest); }
.cat-tile__band { height: 10px; }
.cat-tile__body { padding: var(--space-5); display: flex; flex-direction: column; gap: 8px; }
.cat-tile__body p { color: var(--ink-2); font-size: var(--step--1); flex: 1; }
.cat-tile__count { font-size: 0.875rem; color: var(--ink-3); }
.cat-care-organization .cat-tile__band { background: #7f9a8c; }
.cat-daily-wellness .cat-tile__band { background: #8fa7c0; }
.cat-healthy-eating .cat-tile__band { background: #c49a6c; }
.cat-guided-challenges .cat-tile__band { background: #a593b5; }

/* Feature (start here) */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature__media { background: var(--cream); border-radius: var(--r-lg); overflow: hidden; }
.feature__media img { width: 100%; }
.checklist { list-style: none; display: grid; gap: 10px; margin-top: var(--space-5); }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 20px; height: 20px; border-radius: 50%; background: var(--forest-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232e4b3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.steps li { counter-increment: step; border-top: 2px solid var(--forest); padding-top: var(--space-5); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; margin-bottom: var(--space-4); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
.section--forest .steps li { border-color: rgba(255,255,255,.35); }
.section--forest .steps li::before { background: #fff; color: var(--forest); }
.section--forest .steps p { color: rgba(255,255,255,.82); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Promise list */
.promises { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.promises li { display: flex; flex-direction: column; gap: 8px; }
.promises .need-icon { margin-bottom: 6px; }
.promises p { color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 1000px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Photo band */
.photo-band { position: relative; min-height: 460px; display: flex; align-items: center; color: #fff; background: #3a3a32; overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 26, 22, 0.8) 0%, rgba(18, 26, 22, 0.45) 55%, rgba(18, 26, 22, 0.1)); }
.photo-band .wrap { position: relative; z-index: 2; width: 100%; }
.photo-band blockquote { margin: 0; max-width: 560px; font: 500 italic clamp(1.75rem, 1.2rem + 2vw, 2.5rem)/1.25 var(--font-serif); }
.photo-band small { display: block; margin-top: var(--space-4); font: 400 1.0625rem var(--font-sans); color: rgba(255,255,255,.88); font-style: normal; }
@media (max-width: 760px) { .photo-band::after { background: rgba(18, 26, 22, 0.6); } }

/* Bundle card */
.bundle-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden; height: 100%; }
.bundle-card__media { background: var(--cream); display: grid; place-items: center; padding: 20px; position: relative; min-height: 260px; }
.bundle-card__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.bundle-card__body ul { list-style: none; display: grid; gap: 6px; font-size: var(--step--1); color: var(--ink-2); }
.bundle-card__body li::before { content: '+ '; color: var(--clay); font-weight: 700; }
.bundle-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
@media (max-width: 760px) { .bundle-card { grid-template-columns: minmax(0, 1fr); } }
.stackup { position: relative; width: 58%; aspect-ratio: 618 / 800; }
.stackup > * { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-page); background: #fff; border: 1px solid var(--line-strong); }
.stackup > *:nth-child(1) { transform: translate(-30%, 5%) rotate(-7deg) scale(.9); }
.stackup > *:nth-child(2) { transform: translate(30%, 5%) rotate(7deg) scale(.9); }
.stackup > *:nth-child(3) { transform: none; }
.stackup .ph-cover { padding: 14px; }
.stackup .ph-cover__title { font-size: 1rem; }
.stackup img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stackup .ph-cover__note { display: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font: 600 1.1875rem/1.35 var(--font-serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%232e4b3f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }

/* ---------- Shop ---------- */
.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: var(--step-4); }
.page-head p { margin-top: var(--space-3); color: var(--ink-2); max-width: 60ch; font-size: var(--step-1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--control); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--forest); color: var(--ink); text-decoration: none; }
.chip[aria-current='page'] { background: var(--forest); border-color: var(--forest); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; padding-block: var(--space-5); border-top: 1px solid var(--line); margin-top: var(--space-5); }
.toolbar .field { display: grid; gap: 6px; }
.toolbar label { font-size: var(--step--1); font-weight: 600; }
.select { min-height: 48px; padding: 0 44px 0 14px; border: 1.5px solid var(--control); border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%231e2a25' stroke-width='2'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; appearance: none; font: inherit; font-size: 1rem; color: var(--ink); cursor: pointer; }
.select:hover { border-color: var(--forest); }
.result-count { color: var(--ink-2); font-size: var(--step--1); }
.empty { text-align: center; padding: var(--space-8) var(--space-4); }
.empty h2 { font-size: var(--step-2); margin-bottom: var(--space-3); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: var(--space-5) clamp(48px, 6vw, 80px); }
.gallery__main { position: relative; background: var(--cream); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main.is-page { padding: clamp(16px, 4vw, 40px); }
.gallery__main.is-page picture { display: block; height: 100%; }
.gallery__main.is-page img { box-shadow: var(--shadow-page); background: #fff; border-radius: 3px; }
.gallery__caption { margin-top: 10px; color: var(--ink-2); font-size: var(--step--1); min-height: 1.6em; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; margin-top: 12px; list-style: none; }
.thumb { position: relative; display: block; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 5; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb[aria-pressed='true'] { border-color: var(--forest); box-shadow: 0 0 0 2px var(--forest); }
.thumb:hover { border-color: var(--forest); }
.buybox { position: sticky; top: calc(var(--header-h) + 20px); }
.buybox h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem); }
.buybox .benefit { font-size: var(--step-1); color: var(--ink-2); margin-top: var(--space-3); line-height: 1.5; }
.buybox .price { margin-top: var(--space-5); }
.buy-actions { display: grid; gap: 10px; margin-top: var(--space-5); }
.buy-status { min-height: 1.6em; font-size: var(--step--1); color: var(--ok); font-weight: 600; }
.spec-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: var(--space-5); padding: var(--space-5); background: var(--cream); border-radius: var(--r-md); font-size: var(--step--1); }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; }
.spec-list .icon { width: 20px; height: 20px; flex: none; color: var(--forest); margin-top: 2px; }
.spec-list b { display: block; }
.mini-assure { list-style: none; display: grid; gap: 8px; margin-top: var(--space-5); font-size: var(--step--1); color: var(--ink-2); }
.mini-assure li { display: flex; gap: 10px; align-items: center; }
.mini-assure .icon { width: 18px; height: 18px; color: var(--ok); flex: none; }
.bundle-nudge { margin-top: var(--space-5); padding: var(--space-5); border: 1.5px solid var(--clay-50); background: #fffaf6; border-radius: var(--r-md); }
.bundle-nudge h2 { font-size: 1.1875rem; margin-bottom: 6px; }
.bundle-nudge p { font-size: var(--step--1); color: var(--ink-2); }
.bundle-nudge .text-link { min-height: 40px; }
.placeholder-note { margin-top: var(--space-4); padding: 14px 16px; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn-ink); font-size: var(--step--1); }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } .buybox { position: static; } }
@media (max-width: 640px) {
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: block; }
  .crumbs li:nth-last-child(2)::before { content: '‹'; margin-right: 6px; color: var(--ink-2); }
  .pdp { gap: 20px; padding-top: 12px; }
  .gallery__main { aspect-ratio: 1 / 1; }
  .gallery__caption { display: none; }
  .thumbs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .thumbs li { flex: 0 0 58px; scroll-snap-align: start; }
  .buybox h1 { font-size: 1.875rem; }
  .buybox .price { margin-top: 14px; }
  .buy-actions { margin-top: 16px; }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .site-header .logo { font-size: 1.5rem; }
}

.pages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); list-style: none; }
.pages-grid figure { margin: 0; }
.pages-grid img { width: 100%; aspect-ratio: 618 / 800; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-page); background: #fff; }
.pages-grid figcaption { margin-top: 14px; }
.pages-grid figcaption b { display: block; font: 600 1.1875rem var(--font-serif); }
.pages-grid figcaption span { color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 900px) { .pages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pages-grid { grid-template-columns: minmax(0, 1fr); } }
.two-col-list { list-style: none; columns: 2; column-gap: 40px; }
.two-col-list li { break-inside: avoid; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.two-col-list li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 16px; height: 2px; background: var(--clay); }
@media (max-width: 700px) { .two-col-list { columns: 1; } }
.weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; list-style: none; }
.weeks li { background: #fff; padding: 24px; }
.weeks b { display: block; font: 600 1.1875rem var(--font-serif); margin-bottom: 6px; }
.weeks p { color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 900px) { .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .weeks { grid-template-columns: minmax(0, 1fr); } }
.included-list { list-style: none; display: grid; gap: 14px; }
.included-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; }
.included-item .thumbimg { width: 80px; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; background: var(--cream); }
.included-item .thumbimg img { width: 100%; height: 100%; object-fit: cover; }
.included-item .ph-cover { padding: 6px; }
.included-item .ph-cover__label { display: none; }
.included-item .ph-cover__title, .included-item .ph-cover__note { display: none; }
.included-item h3 { font-size: 1.125rem; }
.included-item p { font-size: var(--step--1); color: var(--ink-2); }
.savings-box { display: grid; gap: 8px; padding: var(--space-5); border-radius: var(--r-md); background: var(--cream); margin-top: var(--space-5); font-size: var(--step--1); }
.savings-box div { display: flex; justify-content: space-between; gap: 12px; }
.savings-box .strong { font-weight: 700; color: #7a3518; }

/* Sticky mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(30,42,37,.35); padding: 10px clamp(16px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px; transform: translateY(110%); transition: transform 0.3s var(--ease); }
.buybar.is-visible { transform: none; }
.buybar__info { flex: 1; min-width: 0; }
.buybar__title { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .price__now { font-size: 1.125rem; }
.buybar .btn { min-height: 48px; padding: 0 20px; }
@media (max-width: 900px) { .buybar { display: flex; } body.has-buybar .site-footer { padding-bottom: 110px; } }

/* ---------- Cart ---------- */
.cart-drawer { position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(460px, 100%); max-width: 100%; border: 0; padding: 0; background: var(--paper); box-shadow: -20px 0 60px -20px rgba(0,0,0,.35); color: var(--ink); }
.cart-drawer::backdrop { background: rgba(20, 28, 24, 0.45); }
.cart-drawer[open] { display: flex; flex-direction: column; animation: drawer-in 0.28s var(--ease); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--control); background: #fff; cursor: pointer; }
.icon-btn:hover { border-color: var(--forest); }
.icon-btn .icon { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: #fff; }
.drawer-status { padding: 12px 14px; border-radius: var(--r-sm); background: var(--forest-50); color: var(--forest-700); font-weight: 600; margin-bottom: 14px; font-size: var(--step--1); }
.cart-lines { list-style: none; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.cart-line__img { width: 72px; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; background: var(--cream); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__img .ph-cover { padding: 4px; }
.cart-line__img .ph-cover__label { display: none; }
.cart-line__img .ph-cover__title, .cart-line__img .ph-cover__note { display: none; }
.cart-line__title { font: 600 1.0625rem/1.3 var(--font-serif); }
.cart-line__title a { color: var(--ink); text-decoration: none; }
.cart-line__title a:hover { text-decoration: underline; }
.cart-line__meta { font-size: 0.875rem; color: var(--ink-2); margin-top: 2px; }
.cart-line__price { font-weight: 600; text-align: right; }
.cart-line .link-btn { font-size: 0.9375rem; min-height: 40px; }
.cart-alert { margin-top: 12px; padding: 14px 16px; border-radius: var(--r-md); font-size: var(--step--1); }
.cart-alert--warn { background: var(--warn-bg); color: var(--warn-ink); }
.cart-alert--offer { background: #fffaf6; border: 1.5px solid var(--clay-50); color: var(--ink); }
.cart-alert b { display: block; margin-bottom: 4px; }
.cart-alert .btn { margin-top: 10px; }
.totals { display: grid; gap: 8px; font-size: 1rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 1.25rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .disc { color: #7a3518; font-weight: 600; }
.checkout-note { font-size: 0.875rem; color: var(--ink-2); margin-top: 10px; text-align: center; line-height: 1.5; }
.checkout-note .icon { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; color: var(--ok); }
.checkout-error { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn-ink); font-size: var(--step--1); }
.cart-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: var(--space-8); }
.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: var(--space-5); }
.cart-summary h2 { font-size: 1.5rem; margin-bottom: var(--space-4); }
@media (max-width: 900px) { .cart-page { grid-template-columns: minmax(0, 1fr); } .cart-summary { position: static; } }
.suggest { margin-top: var(--space-6); }
.suggest h2 { font-size: 1.375rem; margin-bottom: var(--space-4); }
.suggest-list { list-style: none; display: grid; gap: 10px; }
.suggest-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; }
.suggest-item .cart-line__img { width: 56px; }
.suggest-item b { font: 600 1rem/1.3 var(--font-serif); display: block; }
.suggest-item span { font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Prose (policies) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-7); margin-bottom: var(--space-3); }
.prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: var(--space-3); }
.prose p + ul, .prose ul + p { margin-top: var(--space-4); }
.prose .updated { font-size: var(--step--1); color: var(--ink-3); }
.callout { padding: var(--space-5); border-radius: var(--r-md); background: var(--cream); border-left: 4px solid var(--forest); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 20ch; margin-inline: auto; }
.final-cta p { color: rgba(255,255,255,.85); max-width: 52ch; margin: var(--space-4) auto 0; font-size: var(--step-1); }
.final-cta .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-block: var(--space-8) var(--space-6); font-size: var(--step--1); }
.site-footer a { color: #fff; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font: 600 0.8125rem var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.footer-grid ul { list-style: none; }
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 40ch; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: var(--space-7); padding-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: rgba(255,255,255,.72); }
.footer-legal p { max-width: 80ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Preview ribbon ---------- */
.preview-ribbon { background: #3b2a12; color: #ffe9bf; text-align: center; padding: 8px 16px; font-size: 0.875rem; font-weight: 600; }

/* ---------- Toast (screen readers get the live region) ---------- */
.live-region { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Motion ---------- */
@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; }
}

@media print { .site-header, .site-footer, .buybar, .notice-bar { display: none; } }

/* Collection imagery (square artwork shown whole, on its own background) */
.collection-media { width: 100%; height: 100%; background: #eeeae1; display: grid; place-items: center; }
.collection-media picture, .collection-media img { width: 100%; height: 100%; object-fit: contain; }
.p-card:hover .collection-media img { transform: none; }
.bundle-card__media { padding: 0; background: #eeeae1; }
.bundle-card__media .collection-media { min-height: 260px; }
.gallery__main--square { aspect-ratio: 1 / 1; background: #eeeae1; }
.gallery__main--square img { object-fit: contain; }
.bundle-card__media .collection-media { aspect-ratio: 1 / 1; height: auto; }

/* ---------- Hero carousel ---------- */
.hero-carousel { position: relative; }
.hc-track { list-style: none; position: relative; aspect-ratio: 4 / 5; }
.hc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.hc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }
.hc-link { display: block; height: 100%; color: var(--ink); text-decoration: none; border-radius: var(--r-lg); }
.hc-link:hover { color: var(--ink); text-decoration: none; }
.hc-link picture, .hc-link img { display: block; width: 100%; height: 100%; }
.hc-link img { object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.hc-slide--square .hc-link img { object-fit: contain; background: #eeeae1; }
.hero-carousel .tag { position: absolute; left: 16px; bottom: 16px; right: auto; max-width: min(320px, calc(100% - 32px)); background: #fff; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-1); font-size: var(--step--1); display: block; }
.hero-carousel .tag b { display: block; font-family: var(--font-serif); font-size: 1.0625rem; }
.hc-cta { display: block; margin-top: 4px; font-weight: 600; color: var(--forest); }
.hc-link:hover .hc-cta { text-decoration: underline; }
.hc-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.hc-controls[hidden] { display: none; }
.hc-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--control); background: #fff; color: var(--ink); cursor: pointer; flex: none; }
.hc-btn:hover { border-color: var(--forest); color: var(--forest); }
.hc-btn .icon { width: 22px; height: 22px; }
.hc-pause .icon:last-child { display: none; }
.hc-pause[aria-pressed='true'] .icon:first-child { display: none; }
.hc-pause[aria-pressed='true'] .icon:last-child { display: block; }
.hc-dots { display: flex; gap: 2px; }
.hc-dot { width: 32px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.hc-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--line-strong); transition: background-color 0.2s, transform 0.2s; }
.hc-dot:hover::before { background: var(--ink-3); }
.hc-dot[aria-current='true']::before { background: var(--forest); transform: scale(1.3); }
@media (max-width: 760px) { .hc-dot { width: 26px; } }
@media (prefers-reduced-motion: reduce) { .hc-slide, .hc-slide.is-active { transition: none; } }
/* Header + carousel fit on small phones */
.logo { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header .logo { font-size: 1.375rem; gap: 8px; }
  .site-header .logo-mark { width: 26px; height: 26px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 0 12px; }
  .hc-controls { gap: 6px; }
  .hc-dot { width: 22px; }
  .hc-btn { width: 44px; height: 44px; }
}
