/* Hesper · shared components and inner pages. Loads after style.css and reuses its tokens. */

:root {
  --pulp-ink: #B23A0A;
  --sand: #F3EEE4;
  --card-line: #E4DDD0;
  --field-line: #B8B0A2;
  --error: #B42318;
  --ok-bg: #E6F0E2;
  --warn-bg: #FBE3DA;
}

html.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec-sm { padding: clamp(40px, 5vw, 64px) 0; }
.sec-tint { background: var(--sand); }
.sec-dark { background: var(--ink) var(--grain); color: var(--pith); }
.vstack { display: flex; flex-direction: column; gap: var(--gap, 20px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.between { justify-content: space-between; }
.grid { display: grid; gap: var(--gap, 32px); grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr)); }
.duo { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: center; }
.duo-top { align-items: start; }
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }

.h1 { font: 800 clamp(44px, 6.2vw, 88px)/.95 var(--display); font-stretch: 78%; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font: 800 clamp(32px, 3.6vw, 52px)/1 var(--display); font-stretch: 80%; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font: 800 clamp(22px, 2vw, 28px)/1.1 var(--display); font-stretch: 85%; letter-spacing: -.02em; }
.h1 em, .h2 em { font-style: normal; color: var(--pulp); }
.lede { max-width: 39.7em; font: 400 clamp(17px, 1.5vw, 20px)/1.6 var(--body); color: var(--ink-2); }
.small { font: 400 14px/1.5 var(--body); color: var(--ink-3); }
.muted { color: var(--ink-3); }
.eyebrow-light { color: #FFB27A; }

.card { background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); }
.card-tint { background: var(--sand); border-color: transparent; }
.media { position: relative; overflow: hidden; border-radius: 16px; background: #E8E1D4; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-1 { aspect-ratio: 1; } .ratio-45 { aspect-ratio: 4 / 5; } .ratio-43 { aspect-ratio: 4 / 3; } .ratio-169 { aspect-ratio: 16 / 9; } .ratio-wide { aspect-ratio: 21 / 9; }

/* ---------- buttons ---------- */
.btn { justify-content: center; text-align: center; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: rgba(18, 56, 43, .07); }
.btn-dark { background: var(--ink); color: var(--pith); }
.btn-dark:hover { background: #1D4A3A; }
.btn-light { background: var(--pith); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link { font-weight: 700; text-underline-offset: 4px; }
.link:hover { color: var(--pulp-ink); }
.link-btn { background: none; border: 0; padding: 10px 0; font: 600 14px/1 var(--body); color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- header (inner pages) ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 239, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s, background-color .3s, color .3s; }
.hd.is-scrolled { box-shadow: 0 1px 0 rgba(18, 56, 43, .1); }
.hd-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd .brand span { font-size: 24px; }
.hd-nav { display: flex; gap: 28px; }
.hd-nav a { padding: 12px 2px; font: 600 15px/1 var(--body); text-decoration: none; text-underline-offset: 9px; text-decoration-thickness: 2px; text-decoration-color: var(--fruit); }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { text-decoration-line: underline; }
.hd-act { display: flex; align-items: center; gap: 8px; }
.hd-signin { padding: 14px 10px; font: 600 15px/1 var(--body); text-decoration: none; }
.hd-signin:hover { text-decoration: underline; text-underline-offset: 6px; }
.hd .menu-btn { display: none; }
.menu-open .hd { background: transparent; color: var(--pith); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .hd .cart-btn { background: var(--pith); color: var(--ink); }

.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--pith); font: 700 15px/1 var(--body); cursor: pointer; transition: background-color .2s; }
.cart-btn:hover { background: #1D4A3A; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--fruit); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font: 800 12px/1 var(--body); }
.cart-count.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* the overlay menu opens from the menu button, which sits on the right on inner pages */
body:not([data-page="home"]) .menu { clip-path: circle(0% at calc(100% - 44px) 40px); }
body:not([data-page="home"]).menu-open .menu, .menu-open body:not([data-page="home"]) .menu { clip-path: circle(150% at calc(100% - 44px) 40px); }

/* home header: order + cart on the right */
.hd-home-act { justify-self: end; display: flex; align-items: center; gap: 8px; }

/* ---------- breadcrumb + page hero ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 500 14px/1.4 var(--body); color: var(--ink-3); }
.crumb a { color: var(--ink-3); text-underline-offset: 3px; }
.crumb a:hover { color: var(--ink); }
.ph { padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.ph .h1 { margin-top: 18px; }
.ph .lede { margin-top: 18px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; font: 600 14px/1.2 var(--body); color: var(--ink); }
.field .hint { font: 400 13px/1.4 var(--body); color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--field-line); border-radius: 10px; padding: 0 14px; background: #fff; color: var(--ink); font: 400 16px/1.2 var(--body); transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312382B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 107, 26, .35); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); }
.err { font: 600 13px/1.35 var(--body); color: var(--error); }
.err:empty { display: none; }
.f-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.check { display: flex; gap: 12px; align-items: flex-start; font: 400 15px/1.45 var(--body); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.check a { font-weight: 600; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--field-line); border-radius: 12px; background: #fff; font: 400 15px/1.45 var(--body); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice b { display: block; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font: 600 15px/1.45 var(--body); }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--error); }
.form-done { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 14px; background: var(--ok-bg); color: var(--ink); animation: done-in .5s var(--ease-out) both; }
.form-done:focus { outline: none; }
.form-done > div { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; }
.form-done b { font: 800 22px/1.1 var(--display); font-stretch: 85%; }
.form-done p { margin: 0; font: 400 16px/1.5 var(--body); color: var(--ink-2); }
.fd-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fruit); color: var(--ink); }
.fd-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: done-check .45s .2s var(--ease-out) forwards; }
@keyframes done-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes done-check { to { stroke-dashoffset: 0; } }
.req { color: var(--pulp-ink); }

/* ---------- accordions, tables, steps ---------- */
.acc { border-bottom: 1.5px solid var(--ink); }
.acc summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font: 700 17px/1.3 var(--body); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; flex: none; font: 400 28px/1 var(--body); transition: transform .3s var(--ease-out); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 22px; font: 400 16px/1.65 var(--body); color: var(--ink-2); }
.acc-body p + p, .acc-body p + ul, .acc-body ul + p { margin-top: 10px; }
.acc-body ul { margin: 0; padding-left: 20px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font: 400 15px/1.4 var(--body); }
.tbl th { padding: 12px 10px; text-align: left; border-bottom: 1.5px solid var(--ink); font: 700 13px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tbl td { padding: 14px 10px; border-bottom: 1px solid var(--card-line); vertical-align: top; }
.tbl td:first-child { font-weight: 700; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .sub td:first-child { padding-left: 24px; font-weight: 400; }
.steps3 { counter-reset: s; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.steps3 li { counter-increment: s; display: flex; flex-direction: column; gap: 12px; }
.steps3 li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--pith); display: inline-flex; align-items: center; justify-content: center; font: 800 18px/1 var(--display); }
.steps3 b { font: 800 22px/1.15 var(--display); font-stretch: 85%; }
.steps3 p { font: 400 15px/1.55 var(--body); color: var(--ink-2); }
.sec-dark .steps3 li::before { background: var(--fruit); color: var(--ink); }
.sec-dark .steps3 p { color: #D6E0D3; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 14px/1.4 var(--body); color: var(--ink-3); }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks li::before { content: ''; width: 14px; height: 8px; margin-top: -4px; border-left: 2px solid var(--pulp-ink); border-bottom: 2px solid var(--pulp-ink); transform: rotate(-45deg); }

/* ---------- shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.sort { width: 240px; max-width: 100%; }
.pc { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--card-line); transition: box-shadow .3s, transform .3s var(--ease-out); }
.pc:hover { box-shadow: 0 18px 40px rgba(40, 30, 10, .1); transform: translateY(-2px); }
.pc[hidden] { display: none; }
.pc-media { display: block; aspect-ratio: 1; overflow: hidden; background: #EFE8DC; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pc:hover .pc-media img { transform: scale(1.04); }
.pc-tag { position: absolute; left: 14px; top: 14px; padding: 7px 11px; border-radius: 999px; background: #FFE2B0; font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.pc-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.pc-name { font: 800 26px/1.05 var(--display); font-stretch: 85%; letter-spacing: -.02em; }
.pc-name a { text-decoration: none; }
.pc-name a::after { content: ''; position: absolute; inset: 0; }
.pc-note { font: 400 15px/1.5 var(--body); color: var(--ink-2); }
.pc-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-price { font: 700 17px/1.2 var(--body); }
.pc-price small { display: block; font: 400 13px/1.3 var(--body); color: var(--ink-3); }
.pc-soon .pc-media { display: flex; align-items: center; justify-content: center; background: var(--ink) var(--grain); color: var(--pith); }
.pc-soon .pc-media span { font: 800 clamp(40px, 4vw, 56px)/.9 var(--display); font-stretch: 75%; text-align: center; }
.trust { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.trust > div { display: flex; flex-direction: column; gap: 8px; }
.trust b { font: 800 22px/1.15 var(--display); font-stretch: 85%; }
.trust p { font: 400 15px/1.55 var(--body); color: var(--ink-2); }
.sec-dark .trust p { color: #D6E0D3; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 24px; }
.gallery-main { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #EFE8DC; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumb { aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #EFE8DC; cursor: pointer; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.buy { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 22px; }
.buy .h1 { font-size: clamp(44px, 5vw, 72px); }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.price-big { font: 800 36px/1 var(--display); font-stretch: 85%; }
.price-was { font: 500 18px/1 var(--body); color: var(--ink-3); }
.price-was:empty { display: none; }
.opt-group { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.opt-group legend { padding: 0; margin-bottom: 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.qty { display: inline-flex; align-items: center; min-height: 52px; border: 1.5px solid var(--ink); border-radius: 999px; }
.qty button { width: 48px; height: 48px; border: 0; background: none; font: 500 22px/1 var(--body); cursor: pointer; border-radius: 50%; }
.qty button:hover { background: rgba(18, 56, 43, .07); }
.qty output, .qty span { min-width: 28px; text-align: center; font: 700 16px/1 var(--body); }
.qty-sm { min-height: 40px; }
.qty-sm button { width: 38px; height: 38px; font-size: 18px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-row .btn { flex: 1 1 220px; min-height: 52px; }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--sand); font: 500 15px/1.45 var(--body); }
.notice b { font-weight: 700; }
.nutri caption { caption-side: bottom; padding-top: 10px; text-align: left; font: 400 13px/1.5 var(--body); color: var(--ink-3); }
.review-empty { display: flex; flex-direction: column; gap: 10px; }

/* ---------- cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s .45s; }
.cart.is-open { visibility: visible; transition: none; }
.cart-scrim { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: rgba(18, 56, 43, .42); opacity: 0; cursor: pointer; transition: opacity .35s; }
.cart.is-open .cart-scrim { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--pith) var(--grain); box-shadow: -20px 0 60px rgba(18, 56, 43, .2); transform: translateX(100%); transition: transform .45s var(--ease-out); }
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--card-line); }
.cart-head h2 { font: 800 28px/1 var(--display); font-stretch: 85%; }
.icon-btn { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: rgba(18, 56, 43, .07); }
.cart-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; display: flex; flex-direction: column; gap: 22px; }
.cart-foot { padding: 18px 24px 24px; border-top: 1px solid var(--card-line); display: flex; flex-direction: column; gap: 12px; }
.progress { height: 8px; border-radius: 4px; background: var(--card-line); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 4px; background: var(--fruit); transition: width .4s var(--ease-out); }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: #EFE8DC; }
.line-name { font: 700 16px/1.3 var(--body); }
.line-name a { text-decoration: none; }
.line-meta { font: 400 14px/1.4 var(--body); color: var(--ink-3); }
.line-ctrl { margin-top: 8px; display: flex; align-items: center; gap: 14px; }
.line-price { font: 700 16px/1.3 var(--body); text-align: right; }
.line-price s { display: block; font: 400 13px/1.3 var(--body); color: var(--ink-3); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font: 400 15px/1.4 var(--body); }
.sum-row.total { padding-top: 6px; font: 800 20px/1.2 var(--body); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.cart-empty p { max-width: 19.2em; color: var(--ink-2); }

/* ---------- checkout ---------- */
.co-hd { border-bottom: 1px solid var(--card-line); }
.co-hd .hd-in { min-height: 76px; }
.co-secure { display: flex; align-items: center; gap: 8px; font: 600 14px/1 var(--body); color: var(--ink-3); }
.co { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.co-steps { display: flex; flex-direction: column; gap: 20px; }
.co-step { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: #fff; border: 1px solid var(--card-line); }
.step-h { display: flex; align-items: center; gap: 14px; }
.step-h h2 { font: 800 26px/1.1 var(--display); font-stretch: 85%; }
.co-num { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: var(--pith); display: inline-flex; align-items: center; justify-content: center; font: 800 17px/1 var(--display); }
.days { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-msg { padding: 12px 14px; border-radius: 10px; font: 500 15px/1.45 var(--body); }
.zone-msg.ok { background: var(--ok-bg); }
.zone-msg.no { background: var(--warn-bg); }
.zone-msg:empty { display: none; }
.co-summary { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.co-summary h2 { font: 800 26px/1.1 var(--display); font-stretch: 85%; }
.coupon { display: flex; gap: 10px; align-items: flex-end; }
.coupon .field { flex: 1; }
.pay-note { display: flex; gap: 10px; align-items: center; font: 500 14px/1.4 var(--body); color: var(--ink-3); }
.processing { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(255, 249, 239, .92); }
.processing.is-on { display: flex; }
.processing div { display: flex; flex-direction: column; align-items: center; gap: 16px; font: 700 18px/1.3 var(--body); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--card-line); border-top-color: var(--fruit); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- order confirmed ---------- */
.tick { width: 76px; height: 76px; border-radius: 50%; background: var(--fruit); display: flex; align-items: center; justify-content: center; }

/* ---------- account ---------- */
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.acct-nav { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; }
.acct-nav a, .acct-nav button { min-height: 48px; display: flex; align-items: center; padding: 0 16px; border: 0; border-radius: 10px; background: none; text-align: left; text-decoration: none; font: 600 16px/1 var(--body); color: var(--ink); cursor: pointer; }
.acct-nav a:hover, .acct-nav button:hover { background: rgba(18, 56, 43, .07); }
.acct-nav a[aria-current="true"] { background: var(--ink); color: var(--pith); }
.acct-main { display: flex; flex-direction: column; gap: 24px; }
.state-pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--ok-bg); font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.state-pill-warn { background: #FFE2B0; }
.signin { max-width: 520px; }

/* ---------- legal + prose ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 10px; font: 500 15px/1.4 var(--body); }
.toc b { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { max-width: 46.1em; font: 400 17px/1.7 var(--body); color: var(--ink-2); }
.prose h2 { margin: 44px 0 12px; font: 800 28px/1.15 var(--display); font-stretch: 85%; letter-spacing: -.01em; color: var(--ink); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font: 700 19px/1.3 var(--body); color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.company { margin-top: 32px; }

/* ---------- journal ---------- */
.post { position: relative; display: flex; flex-direction: column; gap: 12px; }
.post .media { aspect-ratio: 4 / 3; }
.post h3 { font: 800 26px/1.1 var(--display); font-stretch: 85%; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ''; position: absolute; inset: 0; }
.post:hover .media img { transform: scale(1.03); }
.post .media img { transition: transform .6s var(--ease-out); }
.meta { font: 500 14px/1.4 var(--body); color: var(--ink-3); }
.article-hero { aspect-ratio: 21 / 9; }
.recipe { margin: 28px 0; padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: var(--sand); }
.recipe h2 { margin-top: 0; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-cats { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; }
.faq-cats a { min-height: 46px; display: flex; align-items: center; padding: 0 16px; border-radius: 10px; text-decoration: none; font: 600 16px/1.2 var(--body); }
.faq-cats a:hover { background: rgba(18, 56, 43, .07); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { margin-bottom: 8px; scroll-margin-top: 100px; }
.faq-search { max-width: 640px; }
.faq-none { padding: 20px; border-radius: 12px; background: var(--sand); }

/* ---------- misc blocks ---------- */
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.months span { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #E8E1D4; font: 700 13px/1 var(--body); }
.months .on { background: #FFD9B8; }
.quote { font: 800 clamp(28px, 3vw, 40px)/1.12 var(--display); font-stretch: 80%; color: var(--ink); text-wrap: balance; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list dt { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-list dd { margin-top: 6px; font: 500 17px/1.45 var(--body); }
.nf { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.nf img { width: 220px; filter: drop-shadow(0 26px 30px rgba(130, 55, 0, .25)); transform: rotate(-20deg); }

/* ---------- footer (shared) ---------- */
.ft-news { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.ft-news > div { flex: 1 1 320px; }
.ft-news h2 { font: 800 clamp(28px, 3vw, 40px)/1 var(--display); font-stretch: 80%; letter-spacing: -.02em; }
.ft-news p { margin-top: 10px; font: 400 15px/1.5 var(--body); color: #C9D6CC; }
.ft-form { flex: 1 1 420px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.ft-form .field { flex: 1 1 240px; color: var(--pith); }
.ft-form .input { border-color: transparent; }
.ft-fine { flex-basis: 100%; font: 400 13px/1.45 var(--body); color: #C9D6CC; }
.ft-fine a { color: var(--pith); }
.ft-form .form-msg { flex-basis: 100%; color: var(--pith); }
.ft-form .form-msg.is-error { color: #FFB4A2; }
.ft-news .form-done { flex: 1 1 420px; align-items: center; background: rgba(255, 249, 239, .07); box-shadow: inset 0 0 0 1px rgba(255, 249, 239, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--pith); }
.ft-news .form-done b { color: var(--pith); }
.ft-news .form-done p { margin: 0; color: #C9D6CC; }
.ft-cols { position: relative; margin-top: 56px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.ft-cols h3 { margin-bottom: 16px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #FFB27A; }
.ft-cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-cols a, .ft-cols button { padding: 0; border: 0; background: none; color: var(--pith); text-decoration: none; text-align: left; font: 500 15px/1.35 var(--body); cursor: pointer; }
.ft-cols a:hover, .ft-cols button:hover { color: #FF8A3D; text-decoration: underline; }
.site-footer .footer-row { margin-top: 40px; }
.site-footer .ft-news { margin-top: 72px; padding-top: 56px; border-top: 1px solid rgba(255, 249, 239, .2); }
.site-footer.ft-only .ft-news { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- cookie banner + preferences ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(460px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(18, 56, 43, .24); }
.cookie[hidden] { display: none; }
.cookie h2 { font: 800 22px/1.1 var(--display); font-stretch: 85%; }
.cookie p { font: 400 15px/1.5 var(--body); color: var(--ink-2); }
.cookie .cluster { --gap: 10px; }
.prefs { width: min(540px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-radius: 20px; padding: clamp(22px, 3vw, 32px); background: var(--pith); color: var(--ink); box-shadow: 0 30px 80px rgba(18, 56, 43, .3); }
.prefs::backdrop { background: rgba(18, 56, 43, .45); }
.prefs h2 { font: 800 28px/1.1 var(--display); font-stretch: 85%; }
.toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--card-line); }
.toggle-row b { display: block; font: 700 16px/1.3 var(--body); }
.toggle-row span { font: 400 14px/1.45 var(--body); color: var(--ink-3); }
.switch { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; flex: none; margin: 0; border-radius: 15px; background: var(--field-line); position: relative; cursor: pointer; transition: background-color .2s; }
.switch::before { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); }
.switch:checked { background: var(--ink); }
.switch:checked::before { transform: translateX(20px); }
.switch:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 85; transform: translate(-50%, 20px); padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--pith); font: 600 15px/1.3 var(--body); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal (inner pages; the home page uses GSAP) ---------- */
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .hd-nav, .hd-signin { display: none; }
  .hd .menu-btn { display: flex; }
  .pdp, .co, .acct, .legal, .faq { grid-template-columns: minmax(0, 1fr); }
  .buy, .co-summary, .acct-nav, .toc, .faq-cats { position: static; }
  .co-summary { order: -1; }
  .acct-nav { flex-direction: row; flex-wrap: wrap; }
  .faq-cats { flex-direction: row; flex-wrap: wrap; }
  .faq-cats a { background: #fff; border: 1px solid var(--card-line); }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .hd-in { min-height: 68px; gap: 12px; }
  .hd .brand span { font-size: 22px; }
  .cart-btn { padding: 0 10px 0 14px; }
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cookie { left: 8px; bottom: 8px; width: calc(100% - 16px); }
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .line img { width: 64px; height: 64px; }
  .hd-home-act .header-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-panel, .cart-scrim, .toast, .pc, .pc-media img { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .form-done, .fd-icon svg { animation: none; stroke-dashoffset: 0; }
}
