/* Manukalatte. Tokens first (see DESIGN.md). */
:root {
  color-scheme: light;
  --bg: #FBF9F5;
  --surface: #F3EEE6;
  --surface-2: #EAE2D6;
  --line: rgba(28, 22, 17, .09);
  --line-strong: rgba(28, 22, 17, .18);
  --ink: #1C1611;
  --ink-2: #5A5047;
  --brand: #3B2418;
  --brand-hover: #2C1A11;
  --on-brand: #FFFFFF;
  --gold: #9A6B1F;
  --band-bg: #2A1B12;
  --band-ink: #F6EFE5;
  --band-ink-2: #CDBFAE;
  --header-bg: rgba(251, 249, 245, .9);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
  --r: 5px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --t: 250ms var(--ease);
  --gutter: clamp(12px, 4vw, 32px);
  --section: clamp(48px, 9vw, 104px);
  --z-sticky: 20; --z-header: 30; --z-scrim: 40; --z-drawer: 50;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #16110D;
  --surface: #1F1813;
  --surface-2: #2A211A;
  --line: rgba(243, 236, 226, .1);
  --line-strong: rgba(243, 236, 226, .22);
  --ink: #F3ECE2;
  --ink-2: #C2B5A6;
  --brand: #E9DCC8;
  --brand-hover: #F5EBDC;
  --on-brand: #1C1611;
  --gold: #D4A54A;
  --band-bg: #0F0B08;
  --header-bg: rgba(22, 17, 13, .88);
  --shadow-md: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 clamp(15px, 1vw + 11px, 16px)/1.6 var(--sans); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
/* width/height attributes reserve space; CSS decides the shape (fixes stretched images, 2026-10-09) */
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.75rem, 5vw + .4rem, 3.2rem); }
h2 { font-size: clamp(1.45rem, 3.2vw + .5rem, 2.8rem); }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 9999px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--ink-2); }
.skip { border: 0; font: inherit; cursor: pointer; position: absolute; left: 8px; top: -60px; background: var(--brand); color: var(--on-brand); padding: 10px 14px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--brand); color: var(--on-brand); text-align: center; font-size: 13px; padding: 8px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--header-bg); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.header-row { display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); height: clamp(54px, 7vw, 68px); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.2vw + 10px, 28px); letter-spacing: -0.02em; text-decoration: none; line-height: 1; flex: none; }
.wordmark-sm { font-size: 22px; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 26px); align-items: center; font-size: 14px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); position: relative; padding: 6px 0; transition: color var(--t); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 8px; align-items: center; margin-left: clamp(8px, 1.5vw, 20px); }
.header-row > .nav ~ .header-actions { margin-left: clamp(12px, 2vw, 28px); }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: var(--r); display: inline-grid; place-items: center; font-size: 19px; position: relative; transition: background var(--t), border-color var(--t); text-decoration: none; flex: none; }
.icon-btn:hover { background: var(--surface); border-color: var(--line-strong); }
.menu-btn { display: none; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 9999px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 600; display: grid; place-items: center; padding: 0 4px; }
.cart-count[hidden] { display: none; }

/* ---------- shared bits ---------- */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lede { color: var(--ink-2); font-size: clamp(15px, 1vw + 12px, 18px); max-width: 58ch; }
.cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; border: 0; border-radius: 9999px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 15px; letter-spacing: .01em; padding: 22px 28px; transition: background var(--t), transform .15s; text-decoration: none; text-align: center; }
.cta:hover { background: var(--brand-hover); }
.cta:active { transform: scale(.98); }
.cta[disabled] { opacity: .55; cursor: not-allowed; }
.cta-inline { width: auto; padding: 18px 34px; }
.cta-sm { width: auto; padding: 13px 24px; white-space: nowrap; }
.cta-light { background: #FBF9F5; color: #1C1611; }
.cta-light:hover { background: #fff; }
.cta-note { font-size: 13px; color: var(--ink-2); text-align: center; }
.link-btn { justify-self: start; display: inline-block; background: none; border: 0; padding: 0; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; text-decoration: none; margin-top: 8px; }
.stars { color: var(--gold); display: inline-flex; gap: 1px; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.price-now { font-family: var(--serif); font-size: clamp(26px, 3vw + 14px, 34px); font-weight: 500; line-height: 1; }
.price-was { color: var(--ink-2); font-size: 18px; }
.price-tag, .badge { font-size: 12px; font-weight: 600; color: var(--gold); border: 1px solid currentColor; border-radius: 9999px; padding: 2px 10px; }
.price-unit { flex-basis: 100%; font-size: 13px; color: var(--ink-2); }
.card-price { font-weight: 600; font-size: 15px; }
.card-price s { color: var(--ink-2); font-weight: 400; margin-left: 4px; }
.page-hero { padding-block: clamp(36px, 7vw, 80px) clamp(20px, 4vw, 40px); display: grid; gap: 14px; }
.page-hero h1 { max-width: 20ch; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 600; margin-right: 10px; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(88svh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #2A1B12; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.1) 100%); }
.hero-copy { position: relative; padding-block: clamp(32px, 8vw, 88px); display: grid; gap: 16px; justify-items: start; }
.hero-copy h1 { color: #fff; font-size: clamp(2rem, 6.5vw + .3rem, 5.6rem); max-width: 13ch; line-height: 1.04; }
.hero-copy p { color: rgba(255,255,255,.86); font-size: clamp(15px, 1vw + 12px, 19px); max-width: 44ch; }

/* ---------- feature split ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: var(--section); }
.feature-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.feature-img img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.feature-img:hover img { transform: scale(1.02); }
.feature-copy { display: grid; gap: 16px; justify-items: start; }
.feature-copy p { color: var(--ink-2); font-size: 17px; max-width: 48ch; }

/* ---------- steps ---------- */
.steps { padding-block: var(--section); display: grid; gap: 28px; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: s; }
.step-list li { counter-increment: s; display: grid; gap: 10px; align-content: start; }
.step-list img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 6px; }
.step-list h3 { font-size: 22px; }
.step-list h3::before { content: counter(s) ". "; color: var(--gold); }
.step-list p { color: var(--ink-2); }
.step-list-plain li { border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- shop collection ---------- */
.collection { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 22px); padding-bottom: var(--section); }
.product-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: box-shadow var(--t), transform var(--t); }
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card-wide { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto; }
.product-card-img { overflow: hidden; display: block; }
.product-card-img img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.product-card-wide .product-card-img img { aspect-ratio: 3 / 2; }
.product-card:hover .product-card-img img { transform: scale(1.02); }
.product-card-body { display: grid; gap: 8px; padding: clamp(14px, 2.5vw, 28px); align-content: center; justify-items: start; }
.product-card-name { font-family: var(--serif); font-size: clamp(20px, 2vw + 10px, 30px); line-height: 1.15; }
.product-card-notes { color: var(--ink-2); font-size: 15px; }

/* ---------- buy box ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(16px, 3vw, 32px) var(--section); align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery-main { border-radius: var(--r); overflow: hidden; background: var(--surface); }
.gallery-main img { width: 100%; height: auto; transition: opacity .3s var(--ease); }
.gallery-main img.is-swapping { opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); aspect-ratio: 1; transition: border-color var(--t); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border: 2px solid var(--brand); }
.gallery-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.gallery-facts div { padding: 12px 14px; display: grid; gap: 2px; }
.gallery-facts div + div { border-left: 1px solid var(--line); }
.gallery-facts strong { font-family: var(--serif); font-size: clamp(17px, 1.5vw + 10px, 22px); font-weight: 500; }
.gallery-facts span { font-size: 12px; color: var(--ink-2); }

.panel { display: grid; gap: 18px; min-width: 0; }
.rating { display: inline-flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.rating strong { color: var(--ink); }
.panel .kicker { margin-bottom: -10px; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line-strong); border-radius: 9999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.pills i { color: var(--gold); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .legend { font-size: 13px; font-weight: 600; letter-spacing: .03em; margin-bottom: 12px; padding: 0; }
.legend span { font-weight: 400; color: var(--ink-2); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.swatch { display: grid; justify-items: center; gap: 8px; position: relative; text-decoration: none; }
.swatch-img { width: 100%; max-width: 88px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); padding: 3px; transition: transform var(--t), border-color var(--t); }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.swatch:hover .swatch-img { transform: scale(1.02); }
.swatch.is-current .swatch-img { border: 2px solid var(--brand); padding: 2px; }
.swatch-label { font-size: 13px; font-weight: 500; }
.swatch-badge { position: absolute; top: -6px; background: var(--brand); color: var(--on-brand); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--r); }

.plans { display: grid; gap: 12px; }
.plan { position: relative; display: grid; gap: 6px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 16px 18px; cursor: pointer; background: var(--bg); transition: border-color var(--t), box-shadow var(--t); }
.plan input { position: absolute; opacity: 0; }
.plan:hover { border-color: var(--ink-2); }
.plan.is-selected { border: 2px solid var(--brand); padding: 15px 17px; box-shadow: var(--shadow-md); }
.plan:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.plan-ribbon { position: absolute; top: -1px; right: 14px; background: var(--brand); color: var(--on-brand); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 0 0 var(--r) var(--r); }
.plan-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-right: 96px; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-2); display: inline-grid; place-items: center; flex: none; }
.plan.is-selected .radio { border-color: var(--brand); }
.plan.is-selected .radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.plan-name { font-weight: 600; font-size: 15px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; padding-left: 28px; flex-wrap: wrap; }
.plan-price .big { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.plan-price .per { color: var(--ink-2); font-size: 14px; }
.plan-meta { display: flex; justify-content: space-between; gap: 6px 12px; padding-left: 28px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.plan-meta .cup { color: var(--ink); font-weight: 600; }
.plan-body { display: none; padding-left: 28px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 8px; gap: 14px; }
.plan.is-selected .plan-body { display: grid; }
.benefits { display: grid; gap: 7px; font-size: 14px; }
.benefits span { display: flex; gap: 8px; align-items: flex-start; }
.benefits i { color: var(--gold); margin-top: 3px; }
.gift { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--r); padding: 10px; font-size: 14px; }
.gift img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r); flex: none; }
.gift > span { display: grid; gap: 2px; min-width: 0; }
.gift .muted { font-size: 13px; }

.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; font-size: 13px; font-weight: 500; gap: 6px; }
.assure div { display: grid; justify-items: center; gap: 6px; }
.assure i { font-size: 24px; color: var(--gold); }
.info-tile { display: flex; gap: 12px; background: var(--surface); border-radius: var(--r); padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.info-tile i { font-size: 22px; color: var(--gold); flex: none; }
.info-tile strong { color: var(--ink); }

.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 500; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 20px; font-weight: 300; transition: transform var(--t); flex: none; }
.details details[open] summary::after { transform: rotate(45deg); }
.details-body { padding-bottom: 16px; color: var(--ink-2); display: grid; gap: 8px; font-size: 15px; }
.details-body strong { color: var(--ink); font-weight: 600; }

/* ---------- film band ---------- */
.band { background: var(--band-bg); color: var(--band-ink); padding-block: var(--section); }
.band-inner { display: grid; gap: 16px; }
.band h2 { color: var(--band-ink); }
.band-sub { color: var(--band-ink-2); max-width: 52ch; font-size: 17px; }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.film { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.band-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.band-stats div { padding-top: 20px; display: grid; gap: 4px; }
.band-stats strong { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 3.1rem); font-weight: 400; line-height: 1; }
.band-stats span { color: var(--band-ink-2); font-size: 14px; overflow-wrap: anywhere; }

/* ---------- reviews ---------- */
.reviews { padding-block: var(--section); display: grid; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1px solid var(--line-strong); background: transparent; border-radius: 9999px; padding: 8px 16px; font-size: 14px; white-space: nowrap; transition: background var(--t), color var(--t); }
.filter:hover { background: var(--surface); }
.filter.is-active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.review-grid { columns: 3 280px; column-gap: 14px; }
.review { break-inside: avoid; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2vw, 22px); display: grid; gap: 10px; background: var(--bg); }
.review:nth-child(3n+2) { background: var(--surface); }
.review[hidden] { display: none; }
.review .stars { font-size: 14px; }
.review h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.review p { color: var(--ink-2); font-size: 15px; }
.review footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); }
.review footer strong { color: var(--ink); font-weight: 500; }
.verified { display: inline-flex; gap: 4px; align-items: center; color: var(--gold); }
.empty { color: var(--ink-2); text-align: center; }

/* ---------- comparison tables ---------- */
.compare { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 56px); padding-block: var(--section); align-items: center; }
.compare-copy { display: grid; gap: 14px; }
.compare-copy p { color: var(--ink-2); font-size: 17px; }
.plan-compare { padding-block: var(--section) 0; display: grid; gap: 24px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 12px; vertical-align: top; }
thead th { font-family: var(--serif); font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line-strong); }
tbody th { font-weight: 500; }
tbody tr + tr th, tbody tr + tr td { border-top: 1px solid var(--line); }
td { color: var(--ink-2); }
.us { background: var(--surface); color: var(--ink); font-weight: 600; }
td i { font-size: 18px; }
td.us i { color: var(--gold); }

/* ---------- flavors ---------- */
.flavor-set { background: var(--surface); padding-block: var(--section); }
.flavor-set h2 { max-width: 20ch; margin-bottom: clamp(20px, 4vw, 40px); }
.flavor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.flavor-card { display: grid; grid-template-rows: auto 1fr; background: var(--bg); border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: box-shadow var(--t); }
.flavor-card:hover { box-shadow: var(--shadow-md); }
.flavor-card img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; transition: transform .8s var(--ease); }
.flavor-card:hover img { transform: scale(1.02); }
.flavor-card > div { padding: clamp(14px, 2vw, 22px); display: grid; gap: 6px; align-content: start; }
.flavor-card h3 { font-size: clamp(20px, 1.5vw + 12px, 26px); }
.flavor-card p { color: var(--ink-2); }

/* ---------- sourcing / note / guarantee / faq / cta band / recipes ---------- */
.sourcing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); padding-block: var(--section); align-items: center; }
.sourcing-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.sourcing-img img { width: 100%; height: auto; }
.sourcing-copy { display: grid; gap: 28px; }
dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
dt { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
dd { margin: 0; color: var(--ink-2); font-size: 15px; }

.note { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.note-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.note-copy { padding-block: clamp(40px, 8vw, 80px); display: grid; gap: 18px; align-content: center; }
.note-copy h1, .note-copy h2 { font-style: italic; font-weight: 400; padding-bottom: 4px; line-height: 1.2; }
.note-copy p { color: var(--ink-2); font-size: 17px; }
.note-copy .sign { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 20px; }

.guarantee { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 5vw, 56px); align-items: center; padding-block: var(--section); }
.g-num { font-family: var(--serif); font-size: clamp(4.5rem, 13vw, 10rem); line-height: .9; color: var(--gold); display: flex; align-items: flex-start; gap: 8px; }
.g-num span { font-size: 16px; font-family: var(--sans); color: var(--ink-2); margin-top: 14px; }
.guarantee > div { display: grid; gap: 14px; }
.guarantee p { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.g-pills { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.g-pills li { border: 1px solid var(--line-strong); border-radius: 9999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }

.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); padding-block: clamp(16px, 3vw, 32px) var(--section); align-items: start; }
.faq-img { margin: 0; border-radius: var(--r); overflow: hidden; position: sticky; top: 92px; }
.faq-img img { width: 100%; height: auto; }
.faq h2 { margin-bottom: 20px; }
.faq-more { margin-top: 20px; }

.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: var(--section); }
.cta-band img { border-radius: var(--r); width: 100%; height: auto; }
.cta-band > div { display: grid; gap: 20px; justify-items: start; }

.recipes { display: grid; gap: clamp(28px, 5vw, 56px); padding-bottom: var(--section); }
.recipe { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 4vw, 48px); align-items: center; max-width: 1040px; }
.recipe:nth-child(even) { margin-left: auto; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.recipe:nth-child(even) img { order: 2; }
.recipe img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-height: 340px; }
.recipe > div { display: grid; gap: 12px; }
.recipe ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }

/* ---------- document pages ---------- */
.doc { padding-block: clamp(36px, 7vw, 56px) var(--section); }
.doc h1 { margin-bottom: 10px; }
.doc h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-updated { font-size: 13px; margin-bottom: 28px; }
.doc-lede { font-size: 18px; margin-top: 8px; }
.contact-grid { display: grid; gap: 28px; margin-top: 36px; }
.contact-grid > div { border-top: 1px solid var(--line); padding-top: 18px; }
.contact-grid h2 { margin: 0 0 6px; }
.thanks { display: grid; gap: 14px; justify-items: start; }
.thanks img { border-radius: var(--r); margin-bottom: 12px; width: 100%; height: auto; }
.thanks-items { padding-left: 20px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--band-bg); color: var(--band-ink); padding-top: clamp(48px, 8vw, 72px); overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 48px); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.foot-cols h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--band-ink-2); margin-bottom: 12px; }
.foot-cols a { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; }
.foot-cols a:hover { text-decoration: underline; }
.signup { display: grid; gap: 10px; align-content: start; }
.signup label { font-size: 15px; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input { flex: 1 1 160px; min-width: 0; background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--band-ink); border-radius: var(--r); padding: 13px 14px; font: inherit; }
.signup input::placeholder { color: #A89A8A; }
.signup input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.signup button { background: var(--band-ink); color: #1C1611; border: 0; border-radius: var(--r); padding: 13px 22px; font-weight: 600; flex: none; }
.form-msg { font-size: 13px; min-height: 20px; color: var(--band-ink-2); }
.form-msg.is-error { color: #F1A99A; }
.giant { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 17vw, 17rem); letter-spacing: -0.04em; line-height: .85; text-align: center; margin: clamp(32px, 6vw, 56px) 0 0; color: var(--band-ink); white-space: nowrap; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--band-ink-2); padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer-legal a { color: inherit; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

/* ---------- sticky bar + drawers ---------- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(110%); transition: transform .4s var(--ease); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sticky.is-on { transform: none; }
.sticky-row { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.sticky-row img { width: 44px; height: 44px; border-radius: var(--r); object-fit: cover; flex: none; }
.sticky-text { display: grid; flex: 1; min-width: 0; font-size: 14px; }
.sticky-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-text span { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scrim { position: fixed; inset: 0; background: rgba(20,14,10,.42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: var(--z-scrim); opacity: 0; transition: opacity var(--t); }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: var(--z-drawer); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform 300ms var(--ease), visibility 300ms; box-shadow: var(--shadow-lg); visibility: hidden; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px clamp(14px, 4vw, 24px); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { overflow-y: auto; padding: 16px clamp(14px, 4vw, 24px); display: grid; gap: 14px; align-content: start; }
.drawer-foot { padding: 16px clamp(14px, 4vw, 24px); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.menu-links a { font-family: var(--serif); font-size: clamp(20px, 5vw, 26px); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.total-row { display: flex; justify-content: space-between; font-size: 16px; }
.line-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.line-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r); }
.line-info { display: grid; gap: 4px; min-width: 0; }
.line-info p { font-size: 13px; color: var(--ink-2); }
.line-end { display: grid; gap: 6px; justify-items: end; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9999px; width: max-content; }
.qty button { background: none; border: 0; width: 32px; height: 32px; font-size: 16px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; }
.remove { background: none; border: 0; color: var(--ink-2); font-size: 13px; text-decoration: underline; padding: 0; }
.cart-gift { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); background: var(--surface); padding: 10px 12px; border-radius: var(--r); }
.cart-gift i { color: var(--gold); font-size: 18px; }
.cart-empty { color: var(--ink-2); text-align: center; padding: 40px 0; display: grid; gap: 12px; justify-items: center; }
.cart-empty i { font-size: 36px; color: var(--gold); }
.cart-empty .link-btn { justify-self: center; }

/* ---------- reveal (visible by default) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- breakpoints: wide, tablet, phone, small phone, flip phone ---------- */
@media (max-width: 1100px) {
  .nav { gap: 16px; font-size: 13.5px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions, .header-row > .nav ~ .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .buy, .compare, .sourcing, .note, .faq, .footer-top, .feature, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .gallery, .faq-img { position: static; }
  .faq-img { display: none; }
  .note-img img { min-height: 260px; max-height: 380px; }
  .guarantee { grid-template-columns: 1fr; gap: 10px; }
  .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card-wide { grid-template-columns: minmax(0, 1fr); }
  .step-list { grid-template-columns: minmax(0, 1fr); }
  .step-list li { grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; }
  .step-list li img { grid-row: span 2; margin: 0; aspect-ratio: 1; }
  .step-list-plain li { grid-template-columns: minmax(0, 1fr); }
  .recipe, .recipe:nth-child(even) { grid-template-columns: minmax(0, 1fr); margin-left: 0; }
  .recipe:nth-child(even) img { order: 0; }
}
@media (max-width: 640px) {
  .flavor-grid { grid-template-columns: minmax(0, 1fr); }
  .flavor-card { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto; }
  .flavor-card img { height: 100%; }
  .films { grid-template-columns: minmax(0, 1fr); }
  dl { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { columns: 1; }
  .hero { min-height: 78svh; }
  .cta-inline { width: 100%; }
  .feature-copy, .cta-band > div, .hero-copy { justify-items: stretch; }
  .thumbs { gap: 6px; }
  table { font-size: 14px; }
  th, td { padding: 12px 8px; }
}
@media (max-width: 420px) {
  .collection { grid-template-columns: minmax(0, 1fr); }
  .swatches { gap: 6px; }
  .swatch-label { font-size: 12px; }
  .gallery-facts span { font-size: 11px; }
  .plan-head { padding-right: 0; padding-top: 18px; }
  .announce { font-size: 12px; }
  .assure { font-size: 12px; }
}
/* small phones and flip phones (240 to 360px wide) */
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; font-size: 17px; }
  .announce { display: none; }
  .flavor-card { grid-template-columns: minmax(0, 1fr); }
  .flavor-card img { height: auto; aspect-ratio: 16 / 9; }
  .step-list li { grid-template-columns: minmax(0, 1fr); }
  .step-list li img { grid-row: auto; aspect-ratio: 4 / 3; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .gallery-facts { grid-template-columns: minmax(0, 1fr); }
  .gallery-facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .assure { grid-template-columns: minmax(0, 1fr); }
  .assure div { grid-auto-flow: column; justify-content: center; gap: 8px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-item { grid-template-columns: 48px minmax(0, 1fr); }
  .line-item img { width: 48px; height: 48px; }
  .line-end { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: 14px; align-items: center; }
  .sticky-text span { display: none; }
  .cta { padding: 18px 16px; }
}
@media (max-width: 280px) {
  .band-stats { grid-template-columns: minmax(0, 1fr); }
  .header-actions [data-theme-toggle] { display: none; }
  .wordmark { font-size: 18px; }
  .sticky-row img { display: none; }
  .price-now { font-size: 24px; }
}
@media (max-height: 420px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero-copy { padding-block: 20px; }
  .gallery { position: static; }
  .announce { display: none; }
}

/* checkout page: radio flavor swatches from the original page */
.flavors legend span { font-weight: 400; color: var(--ink-2); }
.swatch input { position: absolute; opacity: 0; }
.swatch input:checked + .swatch-img { border: 2px solid var(--brand); padding: 2px; }
.swatch input:focus-visible + .swatch-img { outline: 2px solid var(--gold); outline-offset: 2px; }
label.swatch { cursor: pointer; }

/* footer bar: copyright left, policy links right */
.footer-legal { align-items: center; }
.footer-legal .legal-links { margin-left: auto; justify-content: flex-end; }
@media (max-width: 640px) { .footer-legal .legal-links { margin-left: 0; justify-content: flex-start; } }

/* subscription first (IM8 model): one-time is a quiet text line under the subscription card */
.plan.plan-onetime { border: 0; box-shadow: none; padding: 4px 0 0; background: transparent; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 10px; font-size: 14px; }
.plan.plan-onetime .plan-head { padding: 0; gap: 8px; }
.plan.plan-onetime .radio { width: 14px; height: 14px; }
.plan.plan-onetime .plan-name { font-weight: 500; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.plan.plan-onetime .plan-price { padding: 0; }
.plan.plan-onetime .plan-price .big { font-family: var(--sans); font-size: 14px; font-weight: 600; }
.plan.plan-onetime .plan-meta { padding: 0; flex-basis: 100%; justify-content: center; font-size: 12px; }
.plan.plan-onetime .plan-meta .cup { display: none; }
.plan.plan-onetime.is-selected { border: 0; padding: 4px 0 0; box-shadow: none; }
.plan.plan-onetime.is-selected .plan-name { color: var(--ink); font-weight: 600; }

/* ---------- home (IM8 structure) ---------- */
.home-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(24px, 5vw, 64px) var(--section); }
.home-hero-copy { display: grid; gap: 18px; justify-items: start; }
.home-hero-copy h1 { font-size: clamp(2rem, 4.6vw + .4rem, 4.2rem); line-height: 1.05; max-width: 14ch; }
.home-hero-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.home-hero-img img { width: 100%; height: auto; }

.quote-feature { background: var(--surface); padding-block: var(--section); }
.quote-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.quote-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.quote-img img { width: 100%; height: auto; }
.quote-feature blockquote { margin: 0; display: grid; gap: 18px; }
.quote-feature blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw + .5rem, 2.6rem); line-height: 1.25; }
.quote-feature blockquote footer { color: var(--ink-2); font-size: 15px; }

.product-row { padding-block: var(--section); display: grid; gap: 28px; }
.product-row-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.product-tile { display: grid; gap: 8px; align-content: start; justify-items: start; text-decoration: none; }
.product-tile-img { display: block; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); margin-bottom: 6px; }
.product-tile-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.product-tile:hover .product-tile-img img { transform: scale(1.02); }

.gift-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: var(--section); }
.gift-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.gift-img img { width: 100%; height: auto; }
.gift-copy { display: grid; gap: 16px; justify-items: start; }
.gift-copy p { color: var(--ink-2); font-size: 17px; max-width: 48ch; }

.facts { background: var(--band-bg); color: var(--band-ink); padding-block: var(--section); }
.facts-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.facts-copy { display: grid; gap: 14px; justify-items: start; }
.facts-copy h2 { color: var(--band-ink); }
.facts-copy p { color: var(--band-ink-2); font-size: 17px; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r); overflow: hidden; }
.facts-grid div { background: var(--band-bg); padding: clamp(18px, 3vw, 32px); display: grid; gap: 6px; }
.facts-grid strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; color: var(--band-ink); }
.facts-grid span { color: var(--band-ink-2); font-size: 14px; }

.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); padding-block: var(--section) 0; }
.teaser { display: grid; gap: 12px; text-decoration: none; }
.teaser img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); transition: transform .8s var(--ease); }
.teaser:hover img { transform: scale(1.02); }
.teaser span { display: grid; gap: 4px; color: var(--ink-2); font-size: 15px; }
.teaser strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }

/* ---------- support + policy center ---------- */
.support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(32px, 6vw, 64px); }
.support-card { display: grid; gap: 8px; align-content: start; padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: box-shadow var(--t); }
.support-card:hover { box-shadow: var(--shadow-md); }
.support-card i { font-size: 24px; color: var(--gold); }
.support-card strong { font-size: 16px; }
.support-card span { color: var(--ink-2); font-size: 14px; }
.policy-list { display: grid; padding-bottom: var(--section); max-width: 880px; }
.policy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.policy-row:first-child { border-top: 1px solid var(--line); }
.policy-row strong { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.5vw + 12px, 22px); }
.policy-row span { color: var(--ink-2); font-size: 15px; grid-column: 1; }
.policy-row i { grid-row: 1 / span 2; grid-column: 2; font-size: 20px; color: var(--gold); transition: transform var(--t); }
.policy-row:hover i { transform: translateX(4px); }

@media (max-width: 900px) {
  .home-hero, .quote-inner, .gift-feature, .facts-inner { grid-template-columns: minmax(0, 1fr); }
  .home-hero-img { order: -1; }
  .product-row-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .teaser { grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
}
@media (max-width: 640px) {
  .home-hero-copy { justify-items: stretch; }
  .gift-copy { justify-items: stretch; }
}
@media (max-width: 420px) {
  .support-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .product-row-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .teaser { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ---------- account + sign-in ---------- */
.account { padding-block: clamp(28px, 6vw, 64px) var(--section); }
.auth { display: grid; place-items: start center; }
.auth-card { width: 100%; max-width: 440px; display: grid; gap: 16px; }
.auth-card h1 { font-size: clamp(1.8rem, 3vw + .8rem, 2.6rem); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 3px; gap: 3px; }
.auth-tab { border: 0; background: transparent; border-radius: 3px; padding: 10px; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.auth-tab.is-active { background: var(--brand); color: var(--on-brand); }
.auth-form { display: grid; gap: 14px; }
.auth-form[hidden] { display: none; }
.field { display: grid; gap: 6px; min-width: 0; }
.field[hidden] { display: none; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .ship-form input, .ship-form select, .swap select { width: 100%; min-width: 0; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 13px 14px; }
.field input:focus, .ship-form input:focus, .swap select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field input:disabled { color: var(--ink-2); background: var(--surface); }
.code-input { font-size: 26px !important; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.auth-msg { min-height: 20px; font-size: 14px; color: var(--ink-2); }
.form-msg.is-error, .auth-msg.is-error { color: #A13A2A; }
:root[data-theme="dark"] .form-msg.is-error { color: #F1A99A; }

.dash { display: grid; gap: 22px; }
.dash[hidden] { display: none; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 8px; }
.dash-head h1 { font-size: clamp(1.8rem, 3vw + .8rem, 2.6rem); }
.dash-head .lede { font-size: 15px; overflow-wrap: anywhere; }
.dash-actions { display: flex; gap: 20px; }
.dash-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.dash-tab { border: 0; background: none; padding: 12px 4px; margin-right: 16px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.dash-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.panel-block[hidden] { display: none; }
.order-card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2.5vw, 22px); display: grid; gap: 12px; margin-bottom: 14px; background: var(--bg); }
.order-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: flex-start; }
.order-card header > div { display: grid; gap: 2px; }
.order-card header .muted { font-size: 13px; }
.status { font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 9999px; padding: 3px 10px; white-space: nowrap; }
.status-shipped, .status-paid { color: var(--gold); border-color: currentColor; }
.order-body { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 15px; }
.order-total { font-weight: 600; color: var(--ink); }
.order-note { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.track { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--surface); border-radius: var(--r); padding: 10px 12px; font-size: 14px; }
.track i { color: var(--gold); font-size: 18px; }
.track .link-btn { margin: 0 0 0 auto; }
.sub-actions { display: grid; gap: 12px; }
.swap { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); max-width: 360px; }
.sub-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sub-buttons .link-btn { margin: 0; }
.empty-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--ink-2); }
.empty-state i { font-size: 34px; color: var(--gold); }
.profile-form { display: grid; gap: 14px; max-width: 560px; }
.addr { border: 0; padding: 0; display: grid; gap: 12px; margin-top: 6px; }
.addr legend { font-weight: 600; margin-bottom: 8px; }
.addr-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.ship-to { font-size: 14px; color: var(--ink-2); }
.ship-form { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px; }
@media (max-width: 520px) {
  .addr-row { grid-template-columns: minmax(0, 1fr); }
  .ship-form { grid-template-columns: minmax(0, 1fr); }
  .track .link-btn { margin-left: 0; }
}

/* ---------- page heroes with a photo (2026-10-09) ---------- */
.page-hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding-block: clamp(24px, 5vw, 56px) clamp(24px, 4vw, 48px); }
.page-hero-copy { display: grid; gap: 14px; justify-items: start; }
.page-hero-img { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.page-hero-img img { width: 100%; height: auto; max-height: 420px; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero-split { grid-template-columns: minmax(0, 1fr); }
  .page-hero-img { order: -1; }
  .page-hero-img img { max-height: 300px; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) { .page-hero-copy { justify-items: stretch; } }

/* ---------- reviews, star picker ---------- */
.rating-summary { font-size: 15px; }
.rating-summary[hidden], [data-rating-summary][hidden] { display: none; }
.empty[hidden] { display: none; }
.star-pick { display: flex; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-pick label { cursor: pointer; font-size: 26px; color: var(--line-strong); }
.star-pick input { position: absolute; opacity: 0; }
.star-pick label:has(input:checked), .star-pick label:has(~ label input:checked) { color: var(--gold); }
.star-pick label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.review-form textarea, .nl-form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; resize: vertical; }

/* ---------- newsletter ---------- */
.nl-form { display: grid; gap: 12px; max-width: 640px; margin: 18px 0 28px; }
.nl-form label { font-size: 14px; color: var(--ink-2); }
.nl-page { display: grid; gap: 18px; padding-bottom: var(--section); }
.signup-light label { color: var(--ink); }
.signup-light input { border-color: var(--line-strong); color: var(--ink); background: var(--bg); }
.signup-light input::placeholder { color: var(--ink-2); }
.signup-light button { background: var(--brand); color: var(--on-brand); }
.signup-light .form-msg { color: var(--ink-2); }
[data-admin-body][hidden] { display: none; }
