/* HealthyWelness Lab
   Palette: indigo ink, porcelain, eluent teal, brass. Type: Literata (display), Onest (text). */

:root {
	--ink: #151A30;
	--ink-2: #222945;
	--ink-3: #343C5E;
	--porcelain: #F1F4F3;
	--paper: #FFFFFF;
	--mist: #D8DFDD;
	--mist-2: #E7ECEA;
	--muted: #586174;
	--eluent: #0D6B66;
	--eluent-2: #09524E;
	--trace: #7FD1C7;
	--brass: #B08A52;
	--danger: #A23A3A;

	--serif: "Literata", Georgia, "Times New Roman", serif;
	--sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: 1.875rem;
	--step-4: clamp(2rem, 3.4vw, 2.625rem);
	--step-5: clamp(2.5rem, 6vw, 4.75rem);

	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--radius: 4px;
	--section: clamp(56px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--porcelain);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.6;
	font-feature-settings: "tnum" 0;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--eluent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--eluent-2); }
:focus-visible { outline: 2px solid var(--eluent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 450;
	line-height: 1.15;
	letter-spacing: -0.012em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 350; letter-spacing: -0.025em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(720px + 2 * var(--gutter)); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	font: 600 0.95rem/1 var(--sans);
	border-radius: var(--radius); border: 1px solid transparent;
	background: var(--eluent); color: #fff; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--eluent-2); color: #fff; }
.btn--light { background: var(--porcelain); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--line:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--mist); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled { opacity: .5; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ---------- Top bar & masthead ---------- */
.topbar { background: var(--ink); color: rgba(241,244,243,.78); font-size: var(--step--1); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar p { margin: 0; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 20px; }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 0; }
.lang summary::-webkit-details-marker { display: none; }
.lang .hw-icon { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: 100%; z-index: 60; min-width: 180px; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(21,26,48,.14); }
.lang li a { display: block; padding: 8px 10px; color: var(--ink); border-radius: 3px; text-decoration: none; }
.lang li a:hover, .lang li a[aria-current] { background: var(--porcelain); color: var(--ink); }

.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--mist); }
.masthead__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 30px; height: 30px; color: var(--eluent); }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.brand__logo { max-height: 44px; width: auto; }

.nav { flex: 1; }
.nav .menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav .menu a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; border-radius: 3px; }
.nav .menu a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { background: var(--porcelain); color: var(--ink); }
.nav .sub-menu { display: none; }

.masthead__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.iconbtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--ink); border-radius: 50%; cursor: pointer; }
.iconbtn:hover { background: var(--porcelain); color: var(--ink); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--eluent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count[data-count="0"] { display: none; }
.nav-toggle { display: none; }

.searchbar { border-top: 1px solid var(--mist); background: var(--paper); padding: 16px 0; }
.searchbar form { display: flex; gap: 10px; }
.searchbar input, .searchform input[type=search] { flex: 1; }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=number], input[type=password], input:not([type]), select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 46px; padding: 10px 14px; width: 100%;
	font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--paper); border: 1px solid #C4CDCB; border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--eluent); outline-offset: 0; border-color: var(--eluent); }
.searchform { display: flex; gap: 10px; margin: 0 0 24px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--porcelain); padding-top: clamp(48px, 6vw, 88px); overflow: hidden; }
.hero__copy { position: relative; z-index: 1; }
.hero__copy { max-width: var(--max); }
.hero h1 { max-width: 16ch; color: #fff; margin-bottom: 24px; }
.hero__lede { max-width: 50ch; font-size: var(--step-1); line-height: 1.55; color: rgba(241,244,243,.8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.hero__trace { margin-top: 24px; }
@media (min-width: 921px) { .hero__trace { margin-top: clamp(-260px, -15vw, -120px); } }

.trace { position: relative; margin: 0; }
.trace svg { width: 100%; height: auto; aspect-ratio: 1200 / 360; overflow: visible; }
.trace__grid line { stroke: rgba(241,244,243,.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace__grid .trace__axis { stroke: rgba(241,244,243,.28); }
.trace__ticks text { fill: rgba(241,244,243,.42); font: 500 13px var(--sans); }
.trace__line { fill: none; stroke: var(--trace); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trace__fill { opacity: 1; }
.trace__note { position: absolute; left: calc(65% + 18px); top: 7%; display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--brass); font-size: var(--step--1); color: rgba(241,244,243,.7); line-height: 1.45; }
.trace__note a { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.trace__note strong { color: #fff; font-weight: 600; font-size: 0.95rem; }
.trace__purity { color: var(--brass); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
	.js .trace__clip { transform: scaleX(0); transform-origin: 0 0; animation: wipe 2.6s cubic-bezier(.45,.05,.25,1) .25s forwards; }
	.js .trace__fill { opacity: 0; animation: fade 1s ease 2.2s forwards; }
	.js .trace__note { opacity: 0; transform: translateY(6px); animation: rise .6s ease 2.4s forwards; }
}
@keyframes wipe { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

.ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 28px 0 36px; list-style: none; gap: 24px; border-top: 1px solid rgba(241,244,243,.14); }
.ledger li { font-size: var(--step--1); color: rgba(241,244,243,.66); line-height: 1.5; }
.ledger strong { display: block; color: #fff; font-weight: 600; font-size: 0.98rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--paper); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { color: var(--muted); margin: 0; }
.section__head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }

/* Research areas index */
.areas__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 72px); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--mist); }
.areas__list li { border-top: 1px solid var(--mist); }
.areas__list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 4px; color: var(--ink); text-decoration: none; }
.areas__name { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; transition: color .15s ease; }
.areas__count { align-self: center; color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.areas__eg { grid-column: 1 / -1; color: var(--muted); font-size: var(--step--1); }
.areas__list a:hover .areas__name { color: var(--eluent); }

/* ---------- Product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0;
}
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; padding: 0;
}
.tile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; }
.tile__media { display: block; background: var(--mist-2); }
.tile__media img, .tile__media .vial { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; margin: 0 !important; }
.vial-wrap { display: block; }
.tile__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 18px; }
.woocommerce ul.products li.product .tile__title, .tile__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.25; margin: 0 0 6px; padding: 0; }
.tile__title a { color: var(--ink); text-decoration: none; }
.tile__title a:hover { color: var(--eluent); }
.tile__desc { color: var(--muted); font-size: var(--step--1); line-height: 1.45; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile__sizes { font-size: 0.8125rem; color: var(--muted); margin: 0 0 14px; }
.tile__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--mist-2); }
.tile__price, .woocommerce ul.products li.product .price { color: var(--ink) !important; font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; margin: 0 !important; }
.tile__price .woocommerce-Price-amount { color: var(--ink); }
.woocommerce ul.products li.product .tile__foot .button { white-space: nowrap; min-height: 38px; padding: 0 14px; font-size: 0.85rem; margin: 0; background: transparent; color: var(--eluent); border-color: var(--eluent); }
.woocommerce ul.products li.product .tile__foot .button:hover { background: var(--eluent); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { font-size: 0.8rem; padding: 0; }
.woocommerce span.onsale { background: var(--brass); border-radius: 3px; min-height: 0; min-width: 0; line-height: 1; padding: 6px 8px; top: 12px; left: 12px; }

/* ---------- Release steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 36px 24px 0 0; counter-increment: step; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step); position: absolute; top: -1px; left: 0; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--porcelain); border: 1px solid var(--ink); font: 500 0.85rem var(--sans); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* ---------- COA ---------- */
.coa-band { background: var(--eluent-2); color: #E8F3F1; }
.coa-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.coa-band h2 { color: #fff; }
.coa-band p { color: rgba(232,243,241,.82); max-width: 46ch; }
.coa-band .coa-form label { color: #fff; }
.coa-band .coa-form__hint { color: rgba(232,243,241,.7); }
.coa-band .btn--primary { background: var(--porcelain); color: var(--ink); }
.coa-band .btn--primary:hover { background: #fff; }
.coa-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.coa-form__row { display: flex; gap: 10px; }
.coa-form__row input { flex: 1; letter-spacing: .04em; text-transform: uppercase; }
.coa-form__hint { font-size: var(--step--1); color: var(--muted); margin: 10px 0 0; }

.coa-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; margin: 32px 0; padding: 28px; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); }
.coa-card__trace { margin: 0; }
.coa-card__trace figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }
.coa-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.coa-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.coa-table th, .coa-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--mist); }
.coa-table th { font-weight: 600; font-size: var(--step--1); color: var(--muted); }

.spec { display: grid; margin: 0; }
.spec > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--mist-2); }
.spec dt { color: var(--muted); font-size: 0.95rem; }
.spec dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.spec--compact { margin: 24px 0; border-top: 1px solid var(--mist-2); }
.spec--compact > div { grid-template-columns: 7rem 1fr; padding: 8px 0; font-size: 0.95rem; }

.notice { padding: 16px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--mist); margin: 24px 0; }
.notice--warn { border-left: 3px solid var(--brass); }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; }
.card__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.card__body { padding-top: 16px; }
.card__cat { font-size: var(--step--1); color: var(--eluent); font-weight: 600; margin-bottom: 6px; }
.card__title { font-size: var(--step-1); margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--eluent); }
.card__excerpt { color: var(--muted); font-size: 0.97rem; }
.card__meta { font-size: var(--step--1); color: var(--muted); margin: 0; }

/* ---------- Ordering / FAQ ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.cols3 p { color: var(--muted); }

.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--mist); }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 64ch; padding-bottom: 12px; }

/* ---------- Pages & articles ---------- */
main.page { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.page__head { margin-bottom: 32px; }
.page__head h1 { font-size: var(--step-4); font-weight: 400; }
.page__lede, .article__lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.page__updated { margin-top: 48px; font-size: var(--step--1); color: var(--muted); }

.article { padding: clamp(32px, 5vw, 64px) 0 var(--section); }
.article h1 { font-size: var(--step-4); font-weight: 400; }
.article__hero { margin: 32px auto; }
.article__hero img { width: 100%; border-radius: var(--radius); }

.prose { font-size: 1.09rem; line-height: 1.7; }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.prose th { background: var(--mist-2); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--brass); color: var(--muted); }
.prose .placeholder, .prose mark { background: #FFF3C4; color: #6B4E00; padding: 1px 4px; border-radius: 2px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: var(--step--1); color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--mist); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--eluent); }
.woocommerce .woocommerce-breadcrumb { display: none; }

.byline { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; margin-top: 8px; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.byline__avatar { border-radius: 50%; }
.byline p { margin: 0; font-size: 0.95rem; }
.byline__who a { font-weight: 600; color: var(--ink); }
.byline__dates { color: var(--muted); font-size: var(--step--1) !important; margin-top: 4px !important; }

.note { margin: 40px 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--mist); border-left: 3px solid var(--eluent); border-radius: var(--radius); font-size: 0.95rem; color: var(--muted); }
.note p { margin: 0; }
.sources { margin-top: 40px; font-size: 0.95rem; }
.sources h2 { font-size: var(--step-2); }
.sources li { margin-bottom: 8px; word-break: break-word; }

.authorbox { display: flex; gap: 20px; margin-top: 32px; padding: 24px; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); }
.authorbox img { border-radius: 50%; flex-shrink: 0; }
.authorbox p { margin: 0 0 6px; font-size: 0.97rem; }
.authorbox__name { font-family: var(--serif); font-size: var(--step-1) !important; }
.authorbox__name a { color: var(--ink); text-decoration: none; }
.authorbox__role { color: var(--muted); }
.authorbox__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: var(--step--1); }

.ticks { padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--eluent); border-bottom: 2px solid var(--eluent); transform: rotate(-45deg); }

/* ---------- Shop & single product ---------- */
.shop { padding-top: 40px; padding-bottom: var(--section); }
.woocommerce-products-header__title { font-size: var(--step-4); font-weight: 400; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: var(--step--1); margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering select { min-height: 40px; width: auto; }
.term-description { max-width: 64ch; color: var(--muted); }

.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images { position: sticky; top: 96px; }
.woocommerce div.product .vial-wrap--lg { background: var(--mist-2); border-radius: var(--radius); overflow: hidden; }
.woocommerce div.product .vial-wrap--lg svg { width: 100%; height: auto; aspect-ratio: 5 / 6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chips a { padding: 8px 14px; border: 1px solid var(--mist); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.woocommerce div.product .product_title { font-size: var(--step-4); font-weight: 400; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.woocommerce-product-details__short-description { color: var(--muted); font-size: var(--step-1); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.woocommerce div.product form.cart .variations { width: 100%; margin: 0 0 8px; }
.woocommerce div.product form.cart .variations th { font-weight: 600; padding-right: 16px; }
.woocommerce div.product form.cart .variations select { min-width: 220px; }
.woocommerce .quantity .qty { width: 84px; min-height: 46px; }
.woocommerce div.product form.cart .single_variation_wrap { width: 100%; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.ruo-note { font-size: var(--step--1); color: var(--muted); margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--brass); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 24px 0 0; border-bottom: 1px solid var(--mist); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; font-weight: 600; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--eluent); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 76ch; padding: 28px 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: var(--step-2); }
.related > h2, .upsells > h2 { font-size: var(--step-3); margin-top: 32px; }

.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--eluent); background: var(--paper); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--eluent); }
.woocommerce table.shop_table { border-color: var(--mist); border-radius: var(--radius); background: var(--paper); }
.woocommerce-checkout #payment { background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); }
.ruo-ack { padding: 14px 16px; background: var(--porcelain); border-radius: var(--radius); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(241,244,243,.72); padding: 64px 0 24px; font-size: 0.95rem; }
.footer a { color: rgba(241,244,243,.85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer__ruo { padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(241,244,243,.14); }
.footer__ruo h2 { font-family: var(--serif); font-size: var(--step-2); font-weight: 400; }
.footer__ruo p { max-width: 90ch; margin: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand { font-family: var(--serif); font-size: var(--step-1); color: #fff; }
.footer address { font-style: normal; margin-bottom: 12px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 8px; }
.footer__coa { display: flex; gap: 8px; }
.footer__coa input { min-height: 42px; background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.footer__coa input::placeholder { color: rgba(241,244,243,.45); }
.footer__coa .btn { min-height: 42px; }
.footer__base { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(241,244,243,.14); font-size: var(--step--1); }
.footer__base p { margin: 0; }
.footer .lang ul { top: auto; bottom: 100%; margin: 0 0 6px; }

/* ---------- RUO notice bar ---------- */
.ruo-bar { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px; max-width: 880px; margin: 0 auto; display: flex; gap: 20px; align-items: center; padding: 16px 20px; background: var(--ink-2); color: rgba(241,244,243,.86); border-radius: 6px; box-shadow: 0 16px 40px rgba(21,26,48,.28); font-size: 0.9rem; }
.ruo-bar[hidden] { display: none; }
.ruo-bar p { margin: 0; flex: 1; }
.ruo-bar a { color: #fff; }
.ruo-bar .btn { flex-shrink: 0; min-height: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav-toggle { display: inline-grid; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 72px); z-index: 49; border-top: 1px solid var(--mist); display: none; background: var(--paper); padding: 16px var(--gutter); overflow-y: auto; }
	.nav.is-open { display: block; }
	.nav .menu { flex-direction: column; }
	.nav .menu a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--mist-2); border-radius: 0; }
	.topbar__inner > p { display: none; }
	.topbar__inner { justify-content: flex-end; }
	.woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
	.trace__note { position: static; margin: 16px var(--gutter) 0; }
	.ledger { grid-template-columns: 1fr 1fr; }
	.coa-band__inner, .faq__inner, .coa-card { grid-template-columns: 1fr; }
	.posts { grid-template-columns: 1fr 1fr; }
	.cols3 { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images { position: static; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.masthead__inner { gap: 12px; min-height: 64px; }
	.brand__name { font-size: 1.15rem; }
	.areas__list { grid-template-columns: 1fr; }
	.woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.tile__body { padding: 12px; }
	.tile__desc { display: none; }
	.tile__foot { flex-direction: column; align-items: stretch; }
	.woocommerce ul.products li.product .tile__foot .button { width: 100%; }
	.trace__ticks { display: none; }
	.trace svg { aspect-ratio: auto; height: 180px; }
	.topbar { display: none; }
	.steps { grid-template-columns: 1fr; }
	.posts { grid-template-columns: 1fr; }
	.section__head--split { flex-direction: column; align-items: start; }
	.coa-form__row, .searchbar form, .searchform { flex-direction: column; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__base { flex-direction: column; gap: 12px; align-items: start; }
	.ruo-bar { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; }
	.spec > div { grid-template-columns: 8rem 1fr; }
	.authorbox { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
