/* The Gentle Fella: prototype stylesheet, shared by all 13 templates.
   Direction: the pinned poster (D49). Tokens from 04-website/design/DESIGN.md (D16, D47).
   Fonts self-hosted under the SIL Open Font Licence 1.1 (licences in assets/fonts); WOFF2 files are Latin subsets of the TTFs. */
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/LibreBaskerville-wght.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-wght.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #F3EDE3; --surface: #FBF8F3; --ink: #2B2622; --primary: #243C32; --support: #916347;
  --muted: #8A5D43; --accent: #B77555; --alert: #A3352B; --line: #DCD3C6;
  --serif: "Libre Baskerville", Baskerville, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --margin: clamp(16px, 2.2vw, 32px); --wide: 1376px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --disabled-ink: #5E564E; /* DESIGN.md buttons: disabled text */
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; }
:where(h1, h2, h3, h4) { font-family: var(--serif); font-weight: 400; color: var(--primary); margin: 0; text-wrap: balance; letter-spacing: -0.01em; line-height: 1.15; }
:where(p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
p, li, .lede { text-wrap: pretty; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.vh:focus { position: fixed; left: 16px; top: 16px; z-index: 100; width: auto; height: auto; overflow: visible; clip: auto; padding: 12px 18px; border-radius: var(--r-md); background: var(--primary); color: var(--bg); font-weight: 600; }
::selection { background: var(--primary); color: var(--bg); }
:where(input, textarea) { caret-color: var(--primary); }
::placeholder { color: var(--muted); opacity: 1; }
.wrap { width: min(var(--wide), 100% - 2 * var(--margin)); margin-inline: auto; }
.measure { max-width: 68ch; }
.h1 { font-size: clamp(34px, 4.4vw, 58px); }
.h2 { font-size: clamp(28px, 3vw, 40px); }
.h3 { font-size: 21px; line-height: 1.3; }
.lede { font-size: 20px; line-height: 1.45; max-width: 60ch; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.stack > * + * { margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 28px; border: 2px solid var(--primary); border-radius: var(--r-md); background: var(--primary); color: var(--bg); font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--secondary { background: transparent; color: var(--primary); }
.btn--secondary:hover { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn--light { background: var(--bg); color: var(--primary); border-color: var(--bg); }
.btn--light:hover { background: var(--surface); color: var(--primary); border-color: var(--surface); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--line); border-color: var(--line); color: var(--disabled-ink); cursor: not-allowed; }
.link { font-weight: 600; }

/* Image slots: on-palette blocks labelled with the file they wait for (listed in image-slots.md). */
.ph { position: relative; display: flex; align-items: flex-start; overflow: hidden; background: var(--ph, var(--line)); color: var(--ph-ink, var(--ink)); width: 100%; }
.ph__label { padding: 10px 12px; font: 600 13px/1.35 var(--sans); max-width: 100%; overflow-wrap: anywhere; }
.ph--forest { --ph: color-mix(in srgb, var(--primary) 72%, #000); --ph-ink: var(--bg); }
.ph--tobacco { --ph: color-mix(in srgb, var(--support) 60%, #000); --ph-ink: var(--bg); }
.ph--surface { --ph: var(--surface); }
.ph--line { --ph: var(--line); }
.ph--r { border-radius: var(--r-md); }
/* Real photos (04-website/images/) fill their slot; the slot colour shows while they load. */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__room .ph, .run__ground .ph { height: 100%; }
/* Desktop only: the ivory "Shop by category" heading sits on the shelf photo, so darken the photo's top band to keep it legible. */
@media (min-width: 901px) { .run__ground .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(43 38 34 / 0.72) 0, rgb(43 38 34 / 0.45) 30%, rgb(43 38 34 / 0.25) 100%); } }

/* Header */
.site-header { background: var(--surface); position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { display: block; width: 168px; flex: 0 0 auto; }
.wordmark svg { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav > a, .nav summary { color: var(--primary); text-decoration: none; cursor: pointer; }
.nav > a:hover, .nav summary:hover { text-decoration: underline; }
.nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.shopmenu { position: relative; }
.shopmenu summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.shopmenu summary::-webkit-details-marker { display: none; }
.shopmenu summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.shopmenu__panel { position: absolute; left: -20px; top: calc(100% + 14px); width: 280px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; }
.shopmenu__panel a { padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.shopmenu__panel a:hover { background: var(--bg); }
.shopmenu__panel { background: var(--surface); }
.tools { display: flex; align-items: center; gap: 12px; }
.search { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--support); border-radius: var(--r-sm); } /* taste-skill-ignore: a form field keeps its edge (WCAG 1.4.11, DESIGN.md forms) */
.search input { width: 190px; min-height: 42px; border: 0; background: transparent; padding: 8px 12px; font: 400 16px var(--sans); color: var(--ink); }
.search button { min-width: 44px; min-height: 42px; border: 0; background: none; color: var(--primary); cursor: pointer; display: grid; place-items: center; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.basket { position: relative; display: grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--primary); text-decoration: none; }
.basket__n { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--bg); font: 700 12px/20px var(--sans); text-align: center; }
.menu-btn { display: none; }
.nav .search--menu { display: none; }

/* Footer */
.site-footer { margin-top: clamp(72px, 9vw, 120px); background: var(--primary); color: var(--bg); padding-block: 64px 40px; }
.site-footer a { color: var(--bg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-logo svg { width: 96px; height: auto; }
.site-footer h2 { color: var(--bg); font-size: 18px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-base { margin-top: 48px; padding-top: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Breadcrumbs and page heads */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 20px 0; font-size: 14px; list-style: none; padding-left: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.pagehead { padding-block: 0 40px; }
.pagehead .crumbs + * { margin-top: 32px; }
.pagehead p { margin-top: 16px; }

/* Chips, filters, sort */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--line); color: var(--ink); font: 600 15px/1.2 var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background-color .18s ease; }
.chip:hover { background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--primary); color: var(--bg); }
.is-hidden { display: none !important; }

/* Product cards (category, related, search) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; text-decoration: none; color: var(--ink); transition: border-color .18s ease; }
.pcard:hover { border-color: var(--support); color: var(--ink); }
/* DESIGN.md product card: the tag sits on the photo, top left. */
.pcard .ph .tags { position: absolute; left: 10px; top: 10px; right: 10px; z-index: 1; }
.pcard .ph { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.pcard__brand { font-size: 14px; font-weight: 700; color: var(--muted); }
.pcard__name { font: 400 19px/1.3 var(--serif); color: var(--primary); }
.pcard__feel { font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border: 1.5px solid var(--accent); border-radius: 999px; padding: 3px 10px; background: var(--surface); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.pcard__price { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; }

/* Home: hero card over the room, travelling categories, programme table */
.hero { position: relative; min-height: calc(100svh - 77px); display: grid; place-items: center; padding: 56px var(--margin); }
.hero__room { position: absolute; inset: 0; }
.hero__room .ph__label { position: absolute; left: var(--margin); bottom: 16px; padding: 0; }
.hcard { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: clamp(40px, 4.4vw, 64px) clamp(40px, 5vw, 72px); display: grid; justify-items: start; gap: 36px; }
.hcard h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.run { position: relative; height: 210svh; }
.run__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.run__ground { position: absolute; inset: 0; height: 100%; }
.run__ground .ph__label { position: absolute; right: var(--margin); top: 16px; padding: 0; }
.run h2 { position: absolute; left: var(--margin); top: 56px; z-index: 2; color: var(--bg); font-size: clamp(34px, 4vw, 58px); }
.track { position: absolute; left: 0; top: 50%; display: flex; gap: 40px; padding-left: 32vw; transform: translate3d(var(--x, 0px), -50%, 0); will-change: transform; z-index: 1; }
.tile { flex: 0 0 auto; width: min(680px, 47vw); height: min(540px, 60svh); display: grid; grid-template-rows: 68% 32%; text-decoration: none; color: var(--ink); background: var(--tone); }
.tile .ph { height: 100%; }
.tile .ph__label { max-width: 230px; }
.tile__panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 28px; }
.tile__panel h3 { font-size: clamp(28px, 2.4vw, 34px); line-height: 1.15; }
.tile__panel p { max-width: 24ch; text-align: right; line-height: 1.4; }
.tile:hover .tile__panel h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.lineup__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; }
.explain :where(h2, h3, p, li, a) { color: var(--bg); }
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gcard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.gcard .ph { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.gcard h3 { font-size: 21px; line-height: 1.3; }
.gcard:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); }
.gcard__meta { font-size: 14px; color: var(--muted); }

/* Category page */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 16px; display: grid; gap: 28px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.filters legend { font: 400 18px/1.3 var(--serif); color: var(--primary); margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.check span:last-child { margin-left: auto; color: var(--muted); font-size: 14px; }
.shopbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--support); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--sans); }
textarea { min-height: 140px; width: 100%; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cattabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.empty { padding: 48px; background: var(--surface); border-radius: var(--r-lg); }
.filter-toggle { display: none; }
.filters__head, .filters__foot { display: none; }
/* Checkout: inline errors in alert red with an icon and words (DESIGN.md forms). */
.field__error { display: flex; gap: 6px; align-items: flex-start; color: var(--alert); font-size: 15px; font-weight: 600; }
.field__error svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.field.field--error input, .field.field--error select { border-color: var(--alert); border-width: 2px; padding: 9px 11px; }
/* Product page: confirmation after adding. */
.added { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; }
.search-link { display: none; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.gallery__thumbs { display: grid; gap: 12px; align-content: start; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); background: none; cursor: pointer; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.gallery__thumbs .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.gallery__thumbs .ph__label { font-size: 13px; padding: 4px; }
.gallery__main .ph { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.buy { display: grid; gap: 20px; }
.buy__brand a { font-weight: 700; color: var(--muted); text-decoration: none; }
.variants { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.variants legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.variant input { position: absolute; opacity: 0; }
.variant label { display: inline-flex; flex-direction: column; min-width: 110px; padding: 10px 14px; border: 1px solid var(--support); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; font-weight: 600; } /* taste-skill-ignore: form control keeps its edge */
.variant label small { font-weight: 400; font-size: 13px; color: var(--muted); }
.variant input:checked + label { border: 2px solid var(--primary); padding: 9px 13px; }
.variant input:disabled + label { opacity: 1; border-style: dashed; background: var(--bg); color: var(--disabled-ink); cursor: not-allowed; }
.variant input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--support); border-radius: var(--r-sm); background: var(--surface); } /* taste-skill-ignore: form control keeps its edge */
.qty button { min-width: 44px; min-height: 48px; border: 0; background: none; font: 600 20px var(--sans); color: var(--primary); cursor: pointer; }
.qty input { width: 48px; min-height: 46px; border: 0; text-align: center; background: transparent; padding: 0; }
.buy__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price { font: 600 22px/1.2 var(--sans); }
.note { padding: 14px 16px; background: var(--surface); border-radius: var(--r-md); font-size: 15px; }
.facts-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.facts-list dt { font-weight: 600; color: var(--primary); }
.label7 { display: grid; gap: 28px; }
.label7 h3 { margin-bottom: 8px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.specs th { width: 34%; font-weight: 600; color: var(--primary); }
.reviews__empty { display: grid; gap: 12px; padding: 32px; background: var(--surface); border-radius: var(--r-lg); }

/* Cart and checkout */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; }
.cart-item .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.remove { background: none; border: 0; color: var(--primary); font: 600 14px var(--sans); cursor: pointer; text-decoration: underline; padding: 8px 0; }
.summary { background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; position: sticky; top: 16px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.summary dd { text-align: right; }
.summary .total { font-weight: 700; font-size: 18px; padding-top: 12px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; font-weight: 600; color: var(--muted); }
.steps a { color: var(--muted); text-decoration: none; }
.steps a:hover { color: var(--ink); text-decoration: underline; }
.steps [aria-current="step"] { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.co { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.co fieldset { border: 0; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co legend { font: 400 24px/1.3 var(--serif); color: var(--primary); margin-bottom: 16px; padding: 0; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field small { color: var(--muted); font-size: 14px; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface); border-radius: var(--r-md); grid-column: 1 / -1; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--primary); margin-top: 2px; }
.radio a { padding-block: 3px; }
.mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.mini .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.mini .ph__label { font-size: 13px; padding: 3px; }

/* Guides */
.featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--r-lg); padding: 24px; }
.featured .ph { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.featured h2 { font-size: clamp(28px, 3vw, 40px); }
.featured:hover h2 { text-decoration: underline; text-decoration-color: var(--accent); }
.article { display: grid; grid-template-columns: 240px minmax(0, 68ch) 1fr; gap: 48px; align-items: start; }
.article__head { max-width: 900px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; margin-top: 16px; }
.cover .ph { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.toc { position: sticky; top: 16px; font-size: 15px; }
.toc h2 { font-size: 18px; margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose { font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 30px; margin-top: 56px; scroll-margin-top: 24px; }
.prose h3 { font-size: 22px; margin-top: 32px; }
.prose ol, .prose ul { padding-left: 1.3em; display: grid; gap: 8px; }
.prose figure .ph { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prodblock { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--surface); border-radius: var(--r-lg); padding: 20px; text-decoration: none; color: var(--ink); }
.prodblock .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.prodblock strong { font: 400 20px/1.3 var(--serif); color: var(--primary); display: block; }

/* Accordions (FAQ, product) */
.acc { display: grid; gap: 8px; }
.acc details { background: var(--surface); border-radius: var(--r-md); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 20px; font-weight: 600; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--primary); transition: transform .18s ease; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 20px 20px; max-width: 68ch; }
.acc details > div > * + * { margin-top: 12px; }
.twocol { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.sidenav { position: sticky; top: 16px; display: grid; gap: 8px; font-size: 15px; }
.sidenav h2 { font-size: 18px; margin-bottom: 4px; }
.sizes { width: 100%; border-collapse: collapse; font-size: 15px; }
.sizes th, .sizes td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.sizes th { color: var(--primary); }

/* Legal, about, contact, search, 404 */
.draft { padding: 14px 16px; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--r-sm); font-size: 15px; }
.legal section { scroll-margin-top: 24px; }
.legal h2 { font-size: 30px; margin: 56px 0 16px; }
.legal h3 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: 8px; }
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-hero .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values li { list-style: none; background: var(--surface); border-radius: var(--r-lg); padding: 28px; }
.values ul { padding: 0; }
.manifesto { font: 400 clamp(20px, 2vw, 26px)/1.5 var(--serif); color: var(--primary); max-width: 40ch; }
.manifesto p + p { margin-top: 16px; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 16px; }
.form .field input, .form .field select { width: 100%; }
.sent { padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--primary); }
.results-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.big-search { display: flex; gap: 8px; max-width: 620px; margin-top: 20px; }
.big-search input { flex: 1; min-width: 0; }
.notfound { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; min-height: 52svh; }
.notfound__code { font: 400 clamp(96px, 16vw, 220px)/0.9 var(--serif); color: var(--primary); }

/* Entrances: opacity only (DESIGN.md motion 0.15); content stays visible without script. */
.js [data-in] { opacity: 0; transition: opacity .2s ease; }
.js [data-in].in { opacity: 1; }

/* Tablet */
@media (max-width: 1000px) {
  .menu-btn { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--primary); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--margin) 20px; background: var(--surface); }
  .nav.open { display: flex; border-bottom: 1px solid var(--line); }
  .search-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--primary); }
  .nav > a, .nav summary { padding: 14px 0; }
  .shopmenu__panel { position: static; width: auto; border: 0; padding: 0 0 8px 12px; background: none; }
  .search { display: none; }
  .nav .search--menu { display: flex; margin-top: 16px; }
  .nav .search--menu input { width: 100%; }
  .search input { width: 140px; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 20px; background: var(--surface); border-radius: var(--r-lg); margin-bottom: 24px; }
  .filters.open { display: grid; position: fixed; inset: 0; z-index: 60; margin: 0; border-radius: 0; grid-template-columns: 1fr; align-content: start; gap: 28px; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--margin) 0; }
  .filters.open .filters__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 1; margin-inline: calc(-1 * var(--margin)); padding: 12px var(--margin); background: var(--surface); border-bottom: 1px solid var(--line); }
  .filters.open .filters__foot { display: block; position: sticky; bottom: 0; margin-inline: calc(-1 * var(--margin)); padding: 12px var(--margin) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .filters.open .check { min-height: 44px; }
  body.filters-open { overflow: hidden; }
  .filter-toggle { display: inline-flex; }
  .pdp, .cart, .co, .about-hero, .contact, .notfound, .featured { grid-template-columns: 1fr; }
  .summary { position: static; }
  .article { grid-template-columns: 1fr; }
  .article .toc { position: static; padding: 20px; background: var(--surface); border-radius: var(--r-lg); }
  .twocol { grid-template-columns: 1fr; gap: 32px; }
  .sidenav { position: static; }
  .gcards, .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hcard { width: 100%; padding: 32px 24px; gap: 28px; justify-items: stretch; }
  .hcard h1 { font-size: clamp(34px, 7vw, 56px); white-space: normal; }
  .run { height: auto; padding-block: 96px 24px; }
  .run__stage { position: static; height: auto; overflow: visible; display: flex; flex-direction: column; width: min(var(--wide), 100% - 2 * var(--margin)); margin-inline: auto; }
  .run h2 { order: -1; position: static; color: var(--primary); font-size: 34px; }
  .run__ground { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; margin: 24px 0 32px; }
  .track { position: static; transform: none !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .tile { width: 100%; height: auto; grid-template-rows: auto auto; }
  .tile .ph { aspect-ratio: 16 / 10; height: auto; }
  .tile .ph__label { max-width: none; }
  .tile__panel { flex-direction: column; align-items: flex-start; min-height: 140px; }
  .tile__panel p { text-align: left; }
}
/* Phone */
@media (max-width: 700px) {
  .site-header__in { min-height: 64px; gap: 12px; }
  .wordmark { width: 132px; }
  .track { grid-template-columns: 1fr; }
  .gcards, .values { grid-template-columns: 1fr; }
  .grid--two-mobile { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid--two-mobile .pcard { padding: 10px; }
  .grid--two-mobile .pcard__name { font-size: 16px; }
  .filters { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-template-columns: repeat(4, 72px); order: 2; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
  .cart-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 6px 0; }
  .co fieldset { grid-template-columns: 1fr; }
  .prodblock { grid-template-columns: 88px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .featured { padding: 16px; gap: 24px; }
}

.acc details:not([open]) > div { display: none; }
.cover { max-width: 880px; }
.cover .ph { aspect-ratio: 2 / 1; }
.twocol--right { grid-template-columns: minmax(0, 1fr) 260px; }
.twocol--right .sidenav { order: 2; }
.pdp-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pdp-more > div > h2 + * { margin-top: 20px; }
@media (max-width: 1000px) {
  .twocol--right { grid-template-columns: 1fr; }
  .twocol--right .sidenav { order: 0; }
  .pdp-more { grid-template-columns: 1fr; }
  .about-hero .ph { aspect-ratio: 4 / 3; max-width: 560px; }
}
@media (max-width: 700px) {
  .h1 { font-size: 30px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid .pcard { padding: 10px; }
  .grid .pcard__name { font-size: 16px; }
  .grid .pcard__feel { font-size: 14px; }
  .gallery__main .ph { aspect-ratio: 1 / 1; }
}

section#shipping, section#products, section#sizes { margin-top: 144px !important; }
@media (max-width: 1000px) {
  .prose figure .ph { aspect-ratio: 2 / 1; }
  .gallery__main .ph { aspect-ratio: 1 / 1; max-width: 520px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-template-columns: repeat(4, 72px); order: 2; }
}
@media (max-width: 700px) { .grid .pcard__feel { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .js [data-in] { opacity: 1; } * { transition: none !important; } }

.buy .lede, .pdp-more .measure { max-width: none; }
/* Guide page: title, byline and cover share the article text's left edge. */
.article__head, .cover { max-width: none; padding-left: 288px; }
.cover .ph { max-width: 880px; }
@media (max-width: 1000px) { .article__head, .cover { padding-left: 0; } }
.article__head { padding-top: 32px; }

/* Phone product page: a buy bar once the main button has scrolled away. No shadow; a 1px rule separates it (DESIGN.md elevation). */
.buybar { display: none; }
@media (max-width: 700px) {
  .buybar:not([hidden]) { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--margin) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .buybar__name { flex: 1; min-width: 0; display: grid; font-size: 14px; line-height: 1.35; }
  .buybar__name strong { font: 400 16px/1.3 var(--serif); color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { flex: 0 0 auto; padding-inline: 18px; }
  body.has-buybar { padding-bottom: 84px; }
}

/* Home: routine builder (one cleanser, one moisturiser, one SPF; any step can be kept) */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.builder__steps { display: grid; gap: 48px; min-width: 0; }
.bstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.bstep legend { display: flex; align-items: center; gap: 12px; padding: 0; font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); color: var(--primary); }
.bstep__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--primary); color: var(--bg); font: 700 16px/1 var(--sans); }
.bstep__line { margin: 8px 0 20px; color: var(--muted); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.pick { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: border-color .18s ease; }
.pick:hover { border-color: var(--support); }
.pick .ph { aspect-ratio: 1 / 1; border-radius: var(--r-md); margin-bottom: 4px; }
.pick__brand { font-size: 14px; font-weight: 700; color: var(--muted); }
.pick__name { font: 400 17px/1.3 var(--serif); color: var(--primary); }
.pick__feel { font-size: 14px; line-height: 1.4; }
.pick--skip { background: transparent; border-style: dashed; border-color: var(--support); }
.pick__keep { display: flex; flex-direction: column; gap: 6px; justify-content: center; height: 100%; min-height: 120px; }
.pick:has(input:checked) { border: 2px solid var(--primary); border-style: solid; }
.pick:has(input:checked)::after { content: ""; position: absolute; top: 20px; right: 20px; width: 28px; height: 28px; border-radius: 999px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EDE3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pick--skip:has(input:checked)::after { top: 12px; right: 12px; }
.pick:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.bsum { position: sticky; top: 16px; display: grid; gap: 16px; padding: 28px; background: var(--surface); border-radius: var(--r-lg); }
.blist { list-style: none; padding: 0; display: grid; gap: 0; }
.blist li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.blist__step { font-size: 14px; font-weight: 700; color: var(--muted); }
.blist__choice { font: 400 16px/1.35 var(--serif); color: var(--primary); }
.blist li[data-state="none"] .blist__choice { font-family: var(--sans); color: var(--disabled-ink); }
.bsum__price { font-size: 15px; }
@media (max-width: 1000px) {
  .builder { grid-template-columns: 1fr; gap: 32px; }
  .bsum { position: sticky; top: auto; bottom: 0; z-index: 5; padding: 16px; border-top: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .bsum .h3, .bsum__price, #bsum-note { display: none; }
  .blist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .blist li { border: 0; padding: 0; }
  .blist__choice { font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (max-width: 700px) {
  .picks { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margin)); padding: 4px var(--margin) 12px; scroll-padding-inline: var(--margin); }
  .pick { scroll-snap-align: start; }
  .builder__steps { gap: 40px; }
}


/* Quiz page (D56): one question at a time, then a suggested routine. */
.quiz { max-width: 760px; padding-block: 32px 0; }
.quiz__head { display: grid; gap: 16px; margin-bottom: 40px; }
.qbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-bottom: 32px; }
.qbar span { height: 4px; border-radius: 999px; background: var(--line); transition: background-color .2s ease; }
.qbar span.on { background: var(--primary); }
.qstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .qstep:not(.is-current) { display: none; }
.qstep__l { display: grid; gap: 8px; padding: 0; }
.qstep__n { font-size: 14px; font-weight: 700; color: var(--muted); }
.qstep__t { font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--serif); color: var(--primary); }
.qstep__hint { margin: 12px 0 24px; padding: 12px 16px; background: var(--surface); border-radius: var(--r-md); font-size: 16px; }
.qopts { display: grid; gap: 12px; }
.qopt { display: grid; gap: 2px; padding: 18px 20px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: border-color .18s ease; }
.qopt:hover { border-color: var(--support); }
.qopt:has(input:checked) { border-color: var(--primary); background: var(--bg); }
.qopt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.qopt__t { font: 400 20px/1.3 var(--serif); color: var(--primary); }
.qopt__h { font-size: 15px; color: var(--ink); }
.qopt:has(input:checked) .qopt__t::after { content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 10px; vertical-align: -2px; border-radius: 999px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EDE3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.quiz__nav .btn[hidden] { display: none; }
#q-error { margin-top: 16px; }
.qres { display: grid; gap: 20px; }
.qres:focus { outline: none; }
.qres__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.qres__item { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); }
.qres__item:hover { border-color: var(--support); color: var(--ink); }
.qres__item .ph { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.qres__when { font-size: 14px; font-weight: 700; color: var(--muted); }
.qres__name { display: block; font: 400 19px/1.3 var(--serif); color: var(--primary); }
.qres__feel { font-size: 15px; }
.qres__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qres__more { font-size: 15px; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--primary); font: 600 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 700px) { .qres__item { grid-template-columns: 72px 1fr; gap: 14px; } .quiz__nav .btn { flex: 1; } }

/* Quiz result: one row per step with its verdict (keep, replace, add, skip). */
.qres__row { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); }
.qres__list .qres__row:last-child { border-bottom: 1px solid var(--line); }
.qres__list { gap: 0; }
.qres__verdict { display: flex; align-items: center; gap: 12px; }
.qres__step { font: 400 22px/1.25 var(--serif); color: var(--primary); }
.qres__row--keep .tag, .qres__row--skip .tag { border-color: var(--line); color: var(--muted); }
.qres__row--replace .tag, .qres__row--add .tag { background: var(--primary); border-color: var(--primary); color: var(--bg); }
.qres__why { font-size: 17px; }

/* Home: Keep it. Replace it. Skip it. Straight under the hero: the problem men have, and what we do about it. No buttons (D55 follow-up, 2026-11-12). */
.explain { background: var(--primary); color: var(--bg); border-radius: var(--r-lg); padding: clamp(36px, 5.5vw, 88px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); }
.explain__h { display: grid; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.025em; }
.explain__body { display: grid; gap: 36px; align-content: start; padding-top: 12px; }
.explain__lede { font: 400 clamp(22px, 2vw, 28px)/1.35 var(--serif); max-width: 28ch; }
.explain__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.explain__list { list-style: none; padding: 0; margin: 0; display: grid; }
.explain__k { font: 700 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 14px; }
.explain__list li { padding: 12px 0; border-top: 1px solid rgb(243 237 227 / 0.22); font-size: 17px; line-height: 1.45; }
/* Every product page tells you: its own ivory band under the green panel. */
@media (max-width: 1000px) { .explain { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .explain__cols { grid-template-columns: 1fr; gap: 32px; } .explain__h { font-size: 44px; } }

/* Green panel: a worked example in place of a list of promises (2026-11-12, option C). */
.excard { list-style: none; margin: 0; padding: 8px 20px; display: grid; background: var(--surface); border-radius: var(--r-lg); color: var(--ink); }
.excard__row { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 0; }
.excard__row + .excard__row { border-top: 1px solid var(--line); }
.excard .excard__step { font: 400 19px/1.25 var(--serif); color: var(--primary); }
.excard .excard__why { grid-column: 1 / -1; font-size: 16px; line-height: 1.45; color: var(--ink); }
.excard__row--keep .tag { border-color: var(--line); color: var(--muted); }
.excard__row--replace .tag, .excard__row--add .tag { background: var(--primary); border-color: var(--primary); color: var(--bg); }
.excard__note { margin-top: 12px; font-size: 15px; opacity: .8; }

/* Home: two equal routes into a routine (2026-11-12, option B). */
.fork__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.fork__card { display: grid; gap: 16px; align-content: start; padding: clamp(28px, 3.4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; transition: border-color .18s ease; }
.fork__card:hover { border-color: var(--support); color: var(--ink); }
.fork__h { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }
.fork__p { font-size: 18px; line-height: 1.5; max-width: 40ch; }
.fork__go { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 8px; min-height: 52px; padding: 14px 26px; border-radius: var(--r-md); background: var(--primary); color: var(--bg); font-weight: 600; transition: background-color .18s ease; }
.fork__card:hover .fork__go { background: var(--ink); }
.fork__go .icon { transition: transform .18s ease; }
.fork__card:hover .fork__go .icon { transform: translateX(3px); }
@media (max-width: 700px) { .fork__grid { grid-template-columns: 1fr; } }

/* Routine page: your skin, then one step at a time. */
.build--page { padding-top: 32px; }
.build--page .quiz__head { max-width: 760px; }
.bskin { border: 0; padding: 0; margin: 0; min-width: 0; }
.bskin legend { display: flex; align-items: center; gap: 12px; padding: 0; font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); color: var(--primary); }
.js .builder--stepped :is(.bskin, .bstep):not(.is-current) { display: none; }
.bstep__all { margin-top: 16px; }
.bnav { display: flex; justify-content: space-between; gap: 12px; }
.bnav .btn[hidden] { display: none; }
.builder--stepped .picks { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.section.fork { padding-bottom: clamp(16px, 2vw, 32px); }
@media (max-width: 700px) { .builder--stepped .picks { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; margin-inline: 0; padding: 0; } .builder--stepped .pick__keep { min-height: 0; } }

/* Cookie consent: a card, not a page-blocking modal. No shadow (D16); a 1px border separates it. Accept and Reject look the same. */
.consent { position: fixed; z-index: 80; left: var(--margin); bottom: var(--margin); width: min(460px, calc(100% - 2 * var(--margin))); max-height: calc(100svh - 2 * var(--margin)); overflow-y: auto; display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--support); border-radius: var(--r-lg); color: var(--ink); }
.consent[hidden] { display: none; }
.consent__h { font-size: 22px; line-height: 1.25; }
.consent__h:focus { outline: none; }
.consent__p { font-size: 15px; line-height: 1.5; }
.consent__opts { display: grid; gap: 4px; }
.consent__opts[hidden] { display: none; }
.consent__opt { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.consent__opt strong { display: block; color: var(--primary); }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.consent__btns .btn { min-height: 48px; padding: 10px 16px; }
.consent__btns .linkbtn, .consent__btns [data-c="save"] { grid-column: 1 / -1; justify-self: start; }
.consent__btns [data-c="save"] { justify-self: stretch; }
.consent__btns .linkbtn { min-height: 44px; }
.site-footer .linkbtn { color: var(--bg); font: inherit; text-decoration: none; }
.site-footer .linkbtn:hover { text-decoration: underline; }
@media (max-width: 700px) { .consent { left: 0; bottom: 0; width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 20px var(--margin) calc(20px + env(safe-area-inset-bottom)); border-width: 1px 0 0; } }
.consent [hidden] { display: none !important; }

/* Header: forest bar, ivory type and reversed wordmark (DESIGN.md Navigation; Tom, 2026-11-12). */
.site-header { background: var(--primary); }
.site-header .wordmark :is(text, path) { fill: var(--bg); }
.site-header .wordmark rect { fill: var(--primary); }
.site-header :is(.basket, .search-link, .menu-btn) { color: var(--bg); }
.site-header :is(.basket, .search-link, .menu-btn):hover { color: var(--surface); }
.site-header .basket__n { background: var(--bg); color: var(--primary); }
.site-header .search { border-color: var(--bg); }
@media (min-width: 1001px) {
  .site-header .nav > a, .site-header .nav summary { color: var(--bg); }
  .site-header .nav > a:hover, .site-header .nav summary:hover { color: var(--bg); }
}

/* Home story: where men start (2026-11-12). Full-bleed forest band, the one dark section on screen. */
.story { background: var(--primary); color: var(--bg); padding-block: clamp(80px, 10vw, 152px); }
.story :where(h2, p, li) { color: var(--bg); }
.story__h { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.06; letter-spacing: -0.02em; max-width: 17ch; }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.story__copy { display: grid; gap: 18px; font-size: 19px; line-height: 1.55; max-width: 44ch; }
.story__q { display: grid; gap: 4px; margin-top: 20px; font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--serif); }
.story .story__q span:last-child { color: var(--accent); }
.story__img { margin: 0; }
.story__img .ph { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.story__pains { margin-top: clamp(72px, 9vw, 128px); }
.story__lead { font: 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); opacity: .85; }
.story__pains ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.story__pains li { padding-top: 20px; border-top: 2px solid var(--accent); font: 400 clamp(22px, 2vw, 30px)/1.25 var(--serif); }
.story__end { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgb(243 237 227 / 0.22); }
.story .story__sf { font: 400 clamp(40px, 4.8vw, 72px)/1.05 var(--serif); color: var(--accent); }
.story__end > div { display: grid; gap: 16px; font-size: 19px; line-height: 1.55; max-width: 46ch; }
.story .story__mission { font: 400 clamp(26px, 2.4vw, 34px)/1.25 var(--serif); }

/* Home: What we do. Three columns on ivory: the idea, a worked example, the product-page promise. */
.wwd__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.wwd__krs { display: grid; font: 400 clamp(40px, 4.2vw, 64px)/1.05 var(--serif); color: var(--primary); letter-spacing: -0.02em; }
.wwd__krs span { padding-block: 10px 14px; border-bottom: 2px solid var(--accent); }
.wwd__krs span:first-child { padding-top: 0; }
.wwd__p { margin-top: 24px; font-size: 18px; line-height: 1.5; max-width: 32ch; }
.wwd__h { font: 400 22px/1.3 var(--serif); color: var(--primary); margin-bottom: 16px; }
.wwd .excard { border: 1px solid var(--line); }
.wwd .excard__note { color: var(--muted); opacity: 1; }
.wwd__steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; }
.wwd__steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.wwd__steps li:last-child { border-bottom: 1px solid var(--line); }
.wwd__steps li::before { content: counter(step); font: 400 20px/1.2 var(--serif); color: var(--accent); }
@media (max-width: 1000px) {
  .story__grid, .story__end { grid-template-columns: 1fr; }
  .story__pains ul { grid-template-columns: 1fr 1fr; }
  .wwd__grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 700px) {
  .story__h { font-size: 38px; }
  .story__pains ul { grid-template-columns: 1fr; gap: 0; }
  .story__pains li { padding-block: 16px; }
}
.section.wwd { padding-bottom: 0; }

/* Polish 2026-11-12 (critique 26/40) */
.basket__n[hidden] { display: none; }
.excard__row--skip .tag { border-color: var(--line); color: var(--muted); }
@media (min-width: 1001px) { .grid--picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* The footer already sets the gap; the last section does not add its own on top. */
main > .section:last-child { padding-bottom: 0; }
/* Footer links reach a comfortable tap size on phones. */
@media (max-width: 700px) { .site-footer ul { gap: 0; } .site-footer ul a, .site-footer .linkbtn { display: inline-block; padding-block: 11px; } }

/* Shorter story (2026-11-12): headline and one paragraph beside the photo, problems led by "Sound familiar?", one-line mission. */
.story { padding-block: clamp(64px, 8vw, 112px); }
.story__grid { margin-top: 0; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.story__copy { max-width: 52ch; gap: 24px; }
.story__copy .story__h { font-size: clamp(36px, 4.2vw, 64px); }
.story .story__q { margin-top: 4px; color: var(--accent); }
.story__pains { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; align-items: start; }
.story__pains .story__sf { font-size: clamp(32px, 3vw, 44px); }
.story__pains ul { margin: 0; }
.story .story__mission { margin-top: clamp(48px, 5vw, 72px); padding-top: 28px; border-top: 1px solid rgb(243 237 227 / 0.22); max-width: 40ch; font: 400 clamp(24px, 2.2vw, 32px)/1.3 var(--serif); }
@media (max-width: 1000px) { .story__pains { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 700px) { .story__copy .story__h { font-size: 34px; } }
@media (max-width: 1000px) { .story__grid { grid-template-columns: 1fr; } }

/* Green = the problem; three problems, each with its consequence (rule of three). */
.story__copy p:not(.story__q) { font-size: 20px; }
.story__three { list-style: none; padding: 0; margin: clamp(56px, 6vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.story__three li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 2px solid var(--accent); }
.story .story__t { font: 400 clamp(24px, 2.2vw, 32px)/1.2 var(--serif); color: var(--bg); }
.story .story__s { font-size: 18px; line-height: 1.45; color: var(--bg); opacity: .85; }
/* Cream = The Gentle Fella. */
.wwd__intro { display: grid; gap: 20px; max-width: 34ch; }
.wwd__intro .lede { max-width: 56ch; }
.wwd__intro { max-width: none; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; column-gap: clamp(32px, 5vw, 80px); }
.wwd__sub { font-size: 16px; color: var(--muted); margin: -8px 0 8px; }
@media (max-width: 1000px) { .story__three { grid-template-columns: 1fr; } .wwd__intro { grid-template-columns: 1fr; } }
