/* ==========================================================================
   RetaHQ — core design system
   Deep blue · champagne gold · porcelain · lab-grade typography
   ========================================================================== */

:root {
	--rp-primary: #1f3a8a;
	--rp-accent: #c9a65e;
	--rp-mint: #9cc7dc;
	--gold-2: #e6cf98;
	--gold-3: #8f7036;
	--night: #172c6b;
	--night-2: #1f3a8a;
	--night-3: #2b4fb3;
	--ink: #0b101d;
	--ink-2: #2b3245;
	--paper: #f6f4ef;
	--paper-2: #ebe7de;
	--paper-3: #fbfaf7;
	--muted: rgba(11, 16, 29, .6);
	--muted-light: rgba(236, 232, 222, .66);
	--line: rgba(11, 16, 29, .1);
	--line-light: rgba(236, 232, 222, .12);
	--glass: rgba(255, 255, 255, .62);
	--glass-strong: rgba(255, 255, 255, .84);
	--glass-dark: rgba(31, 58, 138, .62);
	--glass-border: rgba(255, 255, 255, .8);
	--blur: 18px;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 22px;
	--r-btn: 12px;
	--pill: 999px;
	--shadow: 0 1px 1px rgba(11, 16, 29, .04), 0 14px 34px -16px rgba(11, 16, 29, .2);
	--shadow-lg: 0 40px 90px -40px rgba(11, 16, 29, .45);
	--glow: 0 0 0 1px rgba(201, 166, 94, .35), 0 18px 50px -18px rgba(201, 166, 94, .55);
	--grad-gold: linear-gradient(135deg, var(--gold-2) 0%, var(--rp-accent) 45%, var(--gold-3) 100%);
	--f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--f-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--pill-h: 64px;
	--header-h: 78px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 16px/1.65 var(--f-body);
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
.rp-icon { flex: none; max-width: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-3); }
button { font: inherit; color: inherit; }
::selection { background: var(--rp-accent); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--gold-3); }
p { margin: 0 0 1em; }
code, kbd, .mono { font-family: var(--f-mono); font-size: .88em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center .btn { margin-top: 32px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 9999; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: var(--r-btn); }
:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.container--wc { max-width: 1240px; }

/* Ambient background ----------------------------------------------------- */
.rp-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rp-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 16, 29, .07) 1px, transparent 1px); background-size: 28px 28px; mask: linear-gradient(180deg, #000, transparent 70%); -webkit-mask: linear-gradient(180deg, #000, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .32; animation: drift 30s ease-in-out infinite alternate; }
.blob--1 { width: 44vw; height: 44vw; left: -14vw; top: 20vh; background: radial-gradient(circle at 30% 30%, var(--rp-mint), transparent 65%); }
.blob--2 { width: 40vw; height: 40vw; right: -12vw; top: 40vh; background: radial-gradient(circle, var(--rp-accent), transparent 65%); opacity: .22; animation-duration: 36s; }
.blob--3 { width: 50vw; height: 50vw; left: 30vw; bottom: -30vw; background: radial-gradient(circle, #dfe6ef, transparent 65%); animation-duration: 40s; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.1); } }

/* Glass ------------------------------------------------------------------ */
.glass {
	background: var(--glass);
	border: 1px solid var(--glass-border);
	border-radius: var(--r);
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
	backdrop-filter: blur(var(--blur)) saturate(150%);
}
.glass--strong { background: var(--glass-strong); }
.glass--paper { background: rgba(255, 255, 255, .86); }
.glass--dark { background: var(--glass-dark); border-color: var(--line-light); color: #f2efe8; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .08); }
.glass--dark h2, .glass--dark h3 { color: #fff; }
.glass--dark h2 em { color: var(--gold-2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.glass { background: rgba(255, 255, 255, .95); }
	.glass--dark { background: rgba(31, 58, 138, .95); }
}

/* Pills (chips) ---------------------------------------------------------- */
.pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: var(--pill);
	font: 600 .8rem/1.2 var(--f-body); letter-spacing: .01em;
	border: 1px solid var(--line); background: rgba(255, 255, 255, .7);
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
a.pill:hover, button.pill:hover { transform: translateY(-1px); border-color: var(--rp-accent); color: var(--ink); }
.pill.is-active, .pill[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.is-active:hover { color: #fff; }
.pill small { opacity: .55; font-weight: 500; font-family: var(--f-mono); font-size: .9em; }
.pill--glass { background: var(--glass); border-color: var(--glass-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pill--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill--mint { background: color-mix(in srgb, var(--rp-mint) 30%, white); border-color: transparent; color: var(--rp-primary); }
.pill--accent { background: var(--grad-gold); border-color: transparent; color: var(--ink); }
.pill--muted { background: var(--paper-2); color: var(--muted); border-color: transparent; }
.pill--light { background: rgba(255, 255, 255, .06); color: #f2efe8; border-color: var(--line-light); }
.pill--xs { padding: 4px 9px; font-size: .68rem; letter-spacing: .04em; }
.pill--eyebrow { padding: 7px 14px; font: 500 .72rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; }
.pill--option { padding: 14px 22px; font-size: .95rem; background: rgba(255, 255, 255, .8); }
.pill--option:hover, .pill--option.is-picked { background: var(--ink); color: #fff; border-color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.center > .eyebrow::before, .section-head.center .eyebrow::before { display: none; }
.eyebrow a { text-decoration: none; }
.eyebrow--light { color: var(--gold-2); }

/* Buttons ---------------------------------------------------------------- */
.btn, .button, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: var(--r-btn); border: 1px solid transparent;
	font: 600 .9rem/1 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
	background: var(--ink); color: #fff;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
	position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(11, 16, 29, .5); color: #fff; }
.btn--accent { background: var(--grad-gold); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--accent:hover { color: var(--ink); box-shadow: var(--glow); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .86); color: var(--ink); border-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { color: var(--ink); background: #fff; border-color: var(--rp-accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(11, 16, 29, .22); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); }
.btn--outline-light { background: transparent; color: #f2efe8; border-color: rgba(242, 239, 232, .28); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); border-color: var(--gold-2); color: #fff; }
.btn--lg { padding: 18px 30px; font-size: .95rem; }
.btn--sm { padding: 10px 16px; font-size: .82rem; }
.btn--block { width: 100%; }
.btn.loading, .button.loading { opacity: .7; pointer-events: none; }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: transparent; cursor: pointer; color: inherit; text-decoration: none;
	transition: background .25s, transform .25s var(--ease), color .25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.icon-btn--glass { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light); color: #f2efe8; }

/* Research-use announcement --------------------------------------------- */
.announce { position: relative; background: var(--announce-bg, linear-gradient(90deg, #b8914a 0%, #dcc189 22%, #f1e2b8 50%, #dcc189 78%, #b8914a 100%)); color: var(--announce-fg, #14204a); overflow: hidden; font: 600 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(11, 16, 29, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.announce::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); width: 30%; transform: translateX(-120%); animation: announceSheen 7s ease-in-out infinite; }
@keyframes announceSheen { 60%, 100% { transform: translateX(420%); } }
.announce__track { display: flex; gap: 72px; width: max-content; padding: 11px 0; animation: marquee 46s linear infinite; }
.announce__track span { display: inline-flex; align-items: center; gap: 10px; }
.announce__track .rp-icon { color: var(--announce-fg, var(--rp-primary)); }

/* Sticky header: floating glass pill ----------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; padding: 14px var(--gutter) 0; transition: transform .45s var(--ease), padding .35s var(--ease); color: #f2efe8; pointer-events: none; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	position: relative; isolation: isolate; pointer-events: auto;
	max-width: 1320px; margin: 0 auto; height: var(--pill-h); padding: 0 8px 0 22px;
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
	border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 48%, rgba(255, 255, 255, 0) 100%),
		rgba(24, 46, 110, .52);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 18px 50px -20px rgba(6, 14, 44, .65), 0 2px 6px rgba(6, 14, 44, .12);
	-webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
	transition: height .35s var(--ease), background .35s, box-shadow .35s, max-width .45s var(--ease);
}
.site-header__inner::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 140% at 12% -40%, rgba(230, 207, 152, .22), transparent 55%), radial-gradient(90% 120% at 100% 120%, rgba(156, 199, 220, .12), transparent 60%); }
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .site-header__inner { height: calc(var(--pill-h) - 6px); max-width: 1180px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 55%), rgba(20, 38, 96, .85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 24px 60px -24px rgba(6, 14, 44, .8), 0 2px 8px rgba(6, 14, 44, .18); }
.site-header.is-hidden { transform: translateY(-130%); }
.menu-toggle { display: none; }

.brand__word { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font: 600 1.45rem/1 var(--f-display); letter-spacing: .01em; text-decoration: none; color: inherit; }
.brand__word:hover { color: inherit; }
.brand__word--light { color: #fff; }
.brand__dot { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--grad-gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px -6px rgba(201, 166, 94, .7); }
.brand__dot::before { content: ""; position: absolute; inset: 7px 9px; border: 1.5px solid var(--ink); border-top-width: 4px; border-radius: 2px 2px 4px 4px; }
.brand__dot::after { content: ""; position: absolute; left: 50%; top: 5px; width: 8px; height: 3px; margin-left: -4px; border-radius: 1px; background: var(--ink); }
.brand__tag { display: block; margin-top: 3px; font: 500 .56rem/1 var(--f-mono); letter-spacing: .28em; text-transform: uppercase; color: var(--rp-accent); }
.custom-logo { max-height: 44px; width: auto; }

.primary-nav { justify-self: center; }
.rp-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.rp-menu > li { position: relative; }
.rp-menu a { display: block; white-space: nowrap; padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: .88rem; letter-spacing: .02em; text-decoration: none; color: rgba(242, 239, 232, .78); transition: color .25s, background .25s; }
.rp-menu > li > a { position: relative; }
.rp-menu > li > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--rp-accent); transform: scale(0); transition: transform .3s var(--ease); }
.rp-menu > li > a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.rp-menu > .current-menu-item > a, .rp-menu > .current_page_item > a, .rp-menu > .current-menu-ancestor > a { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .22); }
.rp-menu > .current-menu-item > a::after, .rp-menu > .current_page_item > a::after, .rp-menu > .current-menu-ancestor > a::after { transform: scale(1); }
.rp-menu .sub-menu { list-style: none; position: absolute; top: calc(100% + 16px); left: 0; min-width: 240px; padding: 8px; margin: 0; border-radius: 22px; background: rgba(27, 52, 125, .96); border: 1px solid var(--line-light); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease); }
.rp-menu li:hover > .sub-menu, .rp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rp-menu .sub-menu a { border-radius: 14px; }
.rp-menu .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-btn.pill { height: 48px; padding: 0 8px 0 18px; gap: 9px; border-radius: 999px; background: var(--grad-gold); border: 0; color: var(--ink); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -10px rgba(201, 166, 94, .9); transition: transform .25s var(--ease), box-shadow .25s; }
.cart-btn.pill:hover { color: var(--ink); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 28px -10px rgba(201, 166, 94, 1); }
.cart-btn .cart-count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--rp-primary); color: var(--gold-2); font: 600 .78rem var(--f-mono); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.site-header .icon-btn { width: 44px; height: 44px; border: 1px solid transparent; }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--grad-gold); color: var(--ink); font: 600 .7rem/1 var(--f-mono); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Search overlay --------------------------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 120; display: grid; align-items: start; justify-items: center; padding: 14vh var(--gutter) 0; background: rgba(23, 44, 107, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s; }
.search-overlay__panel { width: min(760px, 100%); padding: 16px; border-radius: var(--r-lg); animation: rise .45s var(--ease); }
.search-overlay__form { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.search-overlay__form input { flex: 1; border: 0; background: transparent; font: 400 1.15rem var(--f-body); padding: 12px 0; outline: 0; min-width: 0; }
.search-overlay__form input:focus { box-shadow: none; }
.search-overlay__pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 6px 4px; }
.search-overlay__pills .muted { font: 500 .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }

/* Drawers, backdrop, toast ----------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 130; pointer-events: none; }
.drawer__panel { position: absolute; top: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); display: flex; flex-direction: column; border-radius: var(--r-lg); transition: transform .5s var(--ease); overflow: hidden; }
.drawer--right .drawer__panel { right: 12px; transform: translateX(calc(100% + 30px)); }
.drawer--left .drawer__panel { left: 12px; transform: translateX(calc(-100% - 30px)); padding-bottom: 20px; background: rgba(27, 52, 125, .96); color: #f2efe8; border-color: var(--line-light); }
.drawer.is-open { pointer-events: auto; }
.drawer__panel:focus { outline: none; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer--left .drawer__head { border-color: var(--line-light); }
.drawer--left nav { padding: 12px; flex: 1; overflow: auto; }
.rp-menu--stack { flex-direction: column; }
.rp-menu--stack a { font: 500 1.7rem/1.2 var(--f-display); padding: 12px 16px; border-radius: var(--r-sm); color: #f2efe8; }
.rp-menu--stack > li > a::after { display: none; }
.rp-menu--stack a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-2); }
.rp-menu--stack .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 16px; }
.rp-menu--stack .sub-menu a { font: 500 1rem var(--f-body); }
.drawer__foot { display: grid; gap: 10px; padding: 0 20px; }
.drawer--left .btn--glass { background: rgba(255, 255, 255, .06); color: #f2efe8; border-color: var(--line-light); }
.drawer--left .btn--ghost { color: #f2efe8; border-color: var(--line-light); }
.backdrop { position: fixed; inset: 0; z-index: 125; background: rgba(23, 44, 107, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .3s; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 96px; transform: translateX(-50%); padding: 12px 20px; border-radius: var(--r-btn); font-weight: 600; display: flex; align-items: center; gap: 10px; animation: rise .4s var(--ease); background: var(--night-2); color: #fff; border-color: var(--line-light); }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Dark surfaces shared by hero, page hero, quality, footer --------------- */
.hero, .page-hero, .post-hero, .section--dark, .parallax-band, .site-footer { --muted: var(--muted-light); color: #f2efe8; }
.hero h1, .hero h2, .page-hero h1, .post-hero h1, .section--dark h2, .section--dark h3 { color: #fff; }
.hero h1 em, .page-hero h1 em, .section--dark h2 em, .parallax-band h2 em { color: var(--gold-2); }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow { color: var(--gold-2); }
.hero .pill--glass, .page-hero .pill--glass, .section--dark .pill--glass, .post-hero .pill--glass { background: rgba(255, 255, 255, .05); border-color: var(--line-light); color: rgba(242, 239, 232, .86); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: min(96vh, 940px); display: grid; align-items: center; padding: 40px 0 110px; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 70px); overflow: hidden; background: var(--night); isolation: isolate; }
.hero__bg { position: absolute; inset: -20% 0 -20%; background-size: cover; background-position: center; z-index: -1; will-change: transform; opacity: .9; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 40%, transparent 0, rgba(23, 44, 107, .35) 45%, rgba(23, 44, 107, .9) 100%), linear-gradient(180deg, rgba(23, 44, 107, .2), rgba(23, 44, 107, .1) 60%, var(--night)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 166, 94, .55), transparent); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(3rem, 7vw, 6.4rem); line-height: .94; font-weight: 500; margin: 26px 0 24px; letter-spacing: -.02em; }
.hero__title em { display: block; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent !important; padding-right: .08em; }
.hero__text { font-size: 1.12rem; max-width: 540px; color: rgba(242, 239, 232, .74); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 34px; }
.hero__ctas .btn--glass { background: transparent; color: #f2efe8; border-color: rgba(242, 239, 232, .28); }
.hero__ctas .btn--glass:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: var(--gold-2); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--line-light); max-width: 540px; }
.hero__stats div { display: grid; gap: 4px; }
.hero__stats dt { font: 500 .66rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); order: 2; }
.hero__stats dd { margin: 0; font: 500 2.1rem/1 var(--f-display); color: #fff; }
.hero__stats dd small { font-size: .5em; color: var(--gold-2); margin-left: 2px; }
.hero__visual { position: relative; aspect-ratio: 4 / 5; max-width: 540px; justify-self: center; width: 100%; }
.hero__orb { position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(230, 207, 152, .45), rgba(201, 166, 94, .12) 45%, transparent 70%); filter: blur(6px); }
.hero__orb::before, .hero__orb::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(230, 207, 152, .22); }
.hero__orb::after { inset: -8%; border-style: dashed; border-color: rgba(230, 207, 152, .14); animation: spin 90s linear infinite; }
.hero__card { position: absolute; inset: 6% 14%; border-radius: 28px; display: grid; place-items: center; padding: 4%; transform-style: preserve-3d; transition: transform .2s ease-out; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border-color: rgba(255, 255, 255, .12); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .14); }
.hero__card picture { display: contents; }
.hero__card img { max-height: 100%; width: auto; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); }
.float-pill { position: absolute; left: var(--x); top: var(--y); z-index: 2; padding: 10px 16px; border-radius: var(--r-btn); font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .02em; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; animation: bob 7s ease-in-out infinite; background: rgba(27, 52, 125, .72); color: rgba(242, 239, 232, .86); border-color: var(--line-light); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.float-pill:nth-of-type(2) { animation-delay: -2s; }
.float-pill:nth-of-type(3) { animation-delay: -4s; }
.float-pill b { font: 600 .9rem/1 var(--f-mono); color: var(--gold-2); }
.float-pill .rp-icon { color: var(--gold-2); }
@keyframes bob { 50% { translate: 0 -10px; } }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 24px; height: 40px; border: 1px solid rgba(242, 239, 232, .3); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 4px; background: var(--gold-2); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 70% { transform: translateY(12px); opacity: 0; } }
.hero--widget { margin-top: 0; padding-top: 80px; }

/* Marquee strip ---------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--paper-3); color: var(--ink); padding: 22px 0; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; gap: 38px; width: max-content; align-items: center; animation: marquee 50s linear infinite; font: 500 .78rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; }
.marquee__track i { color: var(--rp-accent); font-style: normal; font-size: .8rem; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--paper-3), var(--paper)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--night); overflow: hidden; isolation: isolate; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 16px 0 0; max-width: 560px; color: var(--muted); }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Research-area cards */
.goal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.goal-grid > .goal-card { border-radius: 0; border: 0; box-shadow: none; background: var(--paper-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.goal-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 26px; min-height: 250px; text-decoration: none; transition: background .4s var(--ease), color .4s; overflow: hidden; }
.goal-card::before { content: attr(data-index); font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; color: var(--muted); }
.goal-card:hover { color: #fff; }
.goal-grid > .goal-card:hover { background: var(--rp-primary); }
.goal-card:hover::before, .goal-card:hover .muted { color: var(--muted-light); }
.goal-card strong { font: 500 1.55rem/1.08 var(--f-display); margin-top: auto; }
.goal-card .muted { font: 400 .78rem/1.5 var(--f-mono); letter-spacing: .01em; transition: color .4s; }
.goal-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: transparent; color: var(--gold-3); border: 1px solid rgba(201, 166, 94, .45); margin: 22px 0 22px; transition: .4s var(--ease); }
.goal-card:hover .goal-card__icon { color: var(--ink); background: var(--grad-gold); border-color: transparent; }
.goal-card__arrow { position: absolute; top: 24px; right: 22px; opacity: 0; transform: translate(-6px, 6px) rotate(-45deg); transition: .35s var(--ease); color: var(--gold-2); }
.goal-card:hover .goal-card__arrow { opacity: 1; transform: rotate(-45deg); }

.pill-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.pill-tabs .pill { border-color: transparent; background: transparent; border-radius: var(--r-sm); padding: 9px 16px; }
.pill-tabs .pill.is-active { background: var(--ink); color: #fff; }
.product-tab { animation: fade .4s; }
.empty-state { padding: 40px; text-align: center; }

/* Parallax band ---------------------------------------------------------- */
.parallax-band { position: relative; overflow: hidden; padding: clamp(100px, 14vw, 190px) 0; background: var(--night); isolation: isolate; }
.parallax-band__bg { position: absolute; inset: -25% 0; background-size: cover; background-position: center; z-index: -1; will-change: transform; }
.parallax-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 44, 107, .92) 10%, rgba(23, 44, 107, .3)); }
.parallax-band__card { max-width: 580px; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-lg); }
.parallax-band__card h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.parallax-band__card p { color: rgba(242, 239, 232, .76); }
.stack-pills { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-pills .pill { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .04em; }
.stack-pills .rp-icon { color: var(--gold-2); }

/* Steps ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { padding: 36px 32px 34px; position: relative; overflow: hidden; background: var(--paper-3); }
.step::after { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 2px; background: var(--grad-gold); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.step:hover::after { transform: scaleX(1); }
.step__num { position: absolute; right: 26px; top: 26px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .16em; color: var(--muted); }
.step__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rp-primary); color: var(--gold-2); margin-bottom: 30px; }
.step h3 { font-size: 1.7rem; }

/* Quality (dark) --------------------------------------------------------- */
.quality { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; position: relative; }
.quality__copy p { color: rgba(242, 239, 232, .72); font-size: 1.06rem; }
.quality__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.q-card { padding: 26px; background: rgba(255, 255, 255, .03); }
.q-card h3 { color: #fff; font-size: 1.4rem; margin: 18px 0 6px; }
.q-card p { margin: 0; color: rgba(242, 239, 232, .66); font-size: .9rem; }
.q-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(230, 207, 152, .35); color: var(--gold-2); }
.q-card__stat { display: block; margin-top: 18px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.quality__glow { position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(201, 166, 94, .22), transparent 60%); pointer-events: none; z-index: -1; }
.quality__cards .q-card:nth-child(even) { transform: translateY(30px); }
.quality__list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.quality__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font: 400 .82rem/1.3 var(--f-mono); color: rgba(242, 239, 232, .66); }
.quality__list li b { font-weight: 500; color: #fff; }

/* COA document card ------------------------------------------------------ */
.coa-card { --muted: rgba(11, 16, 29, .55); position: relative; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(180deg, #fdfcf8, #f3efe5); color: var(--ink); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9); font-family: var(--f-mono); transform: rotate(1.5deg); }
.coa-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(143, 112, 54, .25); border-radius: calc(var(--r-lg) - 8px); pointer-events: none; }
.coa-card__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.coa-card__head strong { display: block; font: 600 1.4rem/1 var(--f-display); letter-spacing: 0; }
.coa-card__head span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.coa-card__seal { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-gold); color: var(--ink); font: 700 .58rem/1.1 var(--f-mono); letter-spacing: .1em; text-align: center; text-transform: uppercase; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5), inset 0 0 0 5px rgba(143, 112, 54, .5); }
.coa-card__rows { margin: 0; padding: 12px 0; display: grid; }
.coa-card__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .76rem; }
.coa-card__rows dt { color: var(--muted); }
.coa-card__rows dd { margin: 0; font-weight: 600; text-align: right; }
.coa-card__pass { color: #2c6e49; }
.coa-card__chart { height: 92px; margin-top: 10px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.coa-card__chart svg { width: 100%; height: 100%; }
.coa-card__foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Promo (calculator teaser) --------------------------------------------- */
.promo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: clamp(30px, 5vw, 64px); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); }
.promo__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.promo__ring { position: absolute; inset: 6%; border-radius: 50%; background: conic-gradient(from 90deg, var(--gold-3), var(--gold-2), var(--rp-accent), var(--gold-3)); animation: spin 24s linear infinite; mask: radial-gradient(circle, transparent 66%, #000 67%); -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%); }
.promo__art::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1px dashed rgba(143, 112, 54, .35); }
.promo__big { position: relative; font: 500 clamp(3.2rem, 7vw, 5.4rem)/1 var(--f-display); color: var(--ink); text-align: center; }
.promo__big small { display: block; margin-top: 8px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
@keyframes spin { to { transform: rotate(360deg); } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.entry-content .checklist li:not(:has(svg))::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--rp-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6cf98' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist .rp-icon { flex: none; margin-top: 3px; color: var(--gold-2); background: var(--rp-primary); border-radius: 50%; padding: 3px; }

/* Reviews ---------------------------------------------------------------- */
.review-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.review { margin: 0; padding: 30px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; background: var(--paper-3); }
.review blockquote { margin: 0; font: 400 1.3rem/1.4 var(--f-display); }
.review figcaption { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.stars { display: inline-flex; gap: 2px; align-items: center; color: var(--rp-accent); }
.stars i { display: inline-flex; color: rgba(11, 16, 29, .18); }
.stars i.on, .review .stars .rp-icon { color: var(--rp-accent); }
.stars i.on svg, .review .stars svg { fill: currentColor; }
.stars small { margin-left: 4px; color: var(--muted); font: .72rem var(--f-mono); }

/* Posts ------------------------------------------------------------------ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; background: var(--paper-3); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--night); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { display: block; height: 100%; background: radial-gradient(circle at 70% 30%, rgba(201, 166, 94, .5), transparent 60%), var(--night-2); }
.post-card__body { padding: 24px 26px 28px; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font: .72rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.post-card__title { font-size: 1.6rem; }
.post-card__title a { text-decoration: none; }
.pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-btn); background: #fff; border: 1px solid var(--line); text-decoration: none; font: 500 .85rem var(--f-mono); }
.nav-links .page-numbers.current { background: var(--ink); color: #fff; }

/* Accordion -------------------------------------------------------------- */
.accordion { display: grid; gap: 0; margin-bottom: 20px; border-top: 1px solid var(--line); }
.accordion > .accordion__item.glass { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.accordion__item { border-radius: var(--r); overflow: hidden; }
.entry-content .accordion__item { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; border-radius: var(--r-sm); }
.accordion__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 6px; font: 500 1.35rem/1.25 var(--f-display); transition: color .25s; }
.accordion__item summary:hover { color: var(--gold-3); }
.entry-content .accordion__item summary { padding: 18px 22px; font: 600 1rem/1.4 var(--f-body); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: transform .35s var(--ease), background .3s, border-color .3s; }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--grad-gold); border-color: transparent; }
.accordion__item:not(.glass) summary .accordion__icon { display: none; }
.entry-content .accordion__item summary::after { content: "+"; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: transform .35s var(--ease); }
.entry-content .accordion__item[open] summary::after { transform: rotate(45deg); background: var(--grad-gold); border-color: transparent; }
.accordion__body { padding: 0 6px 24px; color: var(--ink-2); max-width: 760px; }
.entry-content .accordion__body { padding: 0 22px 20px; }
.accordion__body p:last-child { margin: 0; }

/* Page hero (dark) ------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 90px) 0 80px; margin-top: calc(-1 * var(--header-h)); text-align: center; background: var(--night); isolation: isolate; margin-bottom: 60px; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 166, 94, .5), transparent); }
.page-hero--compact { padding-bottom: 54px; padding-top: calc(var(--header-h) + 60px); }
.page-hero__bg { position: absolute; inset: -30% 0 -10%; background-size: cover; background-position: center; z-index: -1; opacity: .85; will-change: transform; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 44, 107, .35), rgba(23, 44, 107, .85)); }
.page-hero__card { max-width: 880px; margin: 0 auto; }
.page-hero__title { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 20px 0 16px; }
.page-hero--compact .page-hero__title { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.page-hero__text { font-size: 1.1rem; color: rgba(242, 239, 232, .72); max-width: 640px; margin: 0 auto; }
.crumbs { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs__sep { opacity: .4; }
.crumbs--glass { padding: 10px 16px; border-radius: var(--r-btn); margin: 20px 0 26px; }
.page-body { padding-bottom: 100px; }

/* Entry content ---------------------------------------------------------- */
.entry { padding: clamp(28px, 5vw, 64px); background: var(--paper-3); }
.entry-content { font-size: 1.04rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul:not(.checklist), .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--gold-3); }
.entry-content .lead { font: 400 clamp(1.4rem, 2.4vw, 1.8rem)/1.4 var(--f-display); color: var(--ink); }
.entry-content blockquote { margin: 2em 0; padding: 28px 32px; border-radius: var(--r); background: var(--rp-primary); color: #f2efe8; font: italic 400 1.45rem/1.4 var(--f-display); border-left: 3px solid var(--rp-accent); }
/* Article tables only: WooCommerce tables (.shop_table) on cart, checkout and account pages are styled in shop.css. */
.entry-content table:not(.shop_table):not(.compare-table) { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5em 0; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); font-size: .92rem; background: #fff; }
.entry-content table:not(.shop_table):not(.compare-table) th, .entry-content table:not(.shop_table):not(.compare-table) td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.entry-content table:not(.shop_table):not(.compare-table) th { background: var(--rp-primary); color: #f2efe8; font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.entry-content table:not(.shop_table):not(.compare-table) td code { color: var(--gold-3); }
.entry-content table:not(.shop_table):not(.compare-table) tr:last-child td { border-bottom: 0; }
.entry-content .callout { margin: 1.5em 0; padding: 26px 30px; border-radius: var(--r); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--rp-accent) 14%, white)); border: 1px solid color-mix(in srgb, var(--rp-accent) 40%, transparent); }
.entry-content .callout--dark { background: var(--rp-primary); color: #f2efe8; border-color: var(--line-light); }
.entry-content .callout--dark h3 { color: #fff; }
.entry-content .callout h3 { margin-top: 0; }
.entry-content .callout p:last-child { margin: 0; }
.entry-content .grid-2, .entry-content .grid-3 { display: grid; gap: 16px; margin: 2em 0; }
.entry-content .grid-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .grid-3 { grid-template-columns: repeat(3, 1fr); }
.entry-content .card { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry-content .card h3 { margin-top: 0; }
.entry-content .card p:last-child { margin: 0; }
.entry-content .step-num { font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; color: var(--gold-3); display: block; margin-bottom: 16px; }
.entry-content .btn { margin: 6px 6px 6px 0; }
.wp-block-image img, .entry-content img { border-radius: var(--r-sm); }
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tag-pills a { padding: 6px 12px; border-radius: var(--pill); background: var(--paper-2); text-decoration: none; font: .74rem var(--f-mono); }
.post-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 170px) 0 60px; margin-top: calc(-1 * var(--header-h)); background: var(--night); isolation: isolate; margin-bottom: 40px; }
.post-hero__bg { position: absolute; inset: -30% 0 0; background-size: cover; background-position: center; z-index: -1; opacity: .7; }
.post-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 44, 107, .2) 20%, var(--night)); }
.post-hero__card { padding: clamp(24px, 4vw, 44px); }
.post-hero__card h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); margin: 16px 0 12px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.post-nav > div { padding: 18px 22px; }
.post-nav a { text-decoration: none; font-weight: 600; }
.post-nav__next { text-align: right; grid-column: 2; }
.comments { padding: clamp(24px, 4vw, 44px); margin-top: 24px; }
.comment-list { list-style: none; padding: 0; }

/* Forms ------------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea {
	width: 100%; padding: 14px 16px; border-radius: var(--r-btn); border: 1px solid var(--line);
	background: #fff; font: 400 1rem var(--f-body); color: var(--ink);
	transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b101d' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--rp-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rp-accent) 22%, transparent); }
label { font-weight: 600; font-size: .86rem; display: inline-block; margin-bottom: 6px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--rp-primary); width: 18px; height: 18px; vertical-align: -3px; }
.pill-input { display: flex; gap: 6px; padding: 6px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pill-input input { border: 0; background: transparent; padding: 10px 14px; }
.pill-input input:focus { box-shadow: none; }
.rp-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rp-form .hp { position: absolute; left: -9999px; }
.form-consent label { font-weight: 500; }
.form-notice { padding: 16px 20px; border-radius: var(--r-sm); margin-bottom: 20px; display: flex; gap: 10px; align-items: center; font-weight: 600; }
.form-notice--ok { background: #e3f1e8; color: #1f5137; }
.form-notice--err { background: #fbe6e2; color: #8b2219; }

/* Contact ---------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 24px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; text-decoration: none; background: var(--paper-3); }
.contact-card strong { font: 500 1.5rem var(--f-display); }
.contact-card .goal-card__icon { margin: 0 0 14px; }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.contact-aside { padding: 30px; position: sticky; top: calc(var(--header-h) + 30px); }
.link-list { list-style: none; padding: 0; margin: 0 0 20px; }
.link-list a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.link-list a::after { content: "→"; color: var(--gold-3); }

/* Track order ------------------------------------------------------------ */
.track-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.track-card { padding: clamp(26px, 4vw, 48px); position: relative; background: var(--paper-3); }
.track-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--rp-primary); color: var(--gold-2); margin-bottom: 20px; }
.track-aside { display: grid; gap: 14px; }
.track-help { padding: 24px; }
.track-help h3 { font-size: 1.35rem; }
.track-result { display: grid; gap: 16px; }
.track-result__head { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding: 28px; }
.timeline { list-style: none; margin: 0; padding: 30px 24px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; font-size: .88rem; }
.timeline__step::before { content: ""; position: absolute; top: 22px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.timeline__step:first-child::before { display: none; }
.timeline__step.is-done::before, .timeline__step.is-current::before { background: var(--rp-accent); }
.timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.timeline__step.is-done .timeline__dot { background: var(--rp-primary); border-color: var(--rp-primary); color: var(--gold-2); }
.timeline__step.is-current .timeline__dot { background: var(--grad-gold); border-color: transparent; color: var(--ink); box-shadow: 0 0 0 8px color-mix(in srgb, var(--rp-accent) 22%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--rp-accent) 8%, transparent); } }
.track-notes { padding: 26px; }
.track-notes ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

/* Newsletter + footer ---------------------------------------------------- */
.site-footer { position: relative; padding: 0 0 40px; margin-top: 60px; background: var(--night); color: rgba(242, 239, 232, .7); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 150px; background: var(--paper); }
.site-footer .container { position: relative; }
.newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; padding: clamp(30px, 5vw, 60px); border-radius: var(--r-lg); color: #f2efe8; margin-bottom: 80px; background: radial-gradient(ellipse at 90% 0%, rgba(201, 166, 94, .3), transparent 55%), linear-gradient(135deg, var(--night-3), var(--rp-primary)); border-color: rgba(201, 166, 94, .3); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.newsletter .eyebrow { color: var(--gold-2); }
.newsletter .muted { color: var(--muted-light); }
.newsletter__title { margin: 0 0 10px; font-size: clamp(2rem, 3.6vw, 3rem); color: #fff; }
.newsletter__title em { color: var(--gold-2); }
.newsletter__form { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); }
.newsletter__form input { flex: 1; min-width: 160px; border: 0; background: transparent; color: #fff; }
.newsletter__form input::placeholder { color: rgba(242, 239, 232, .45); }
.newsletter__form input:focus { box-shadow: none; }
.newsletter__ok { flex-basis: 100%; margin: 6px 14px; font-weight: 600; color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-col h3 { font: 500 .7rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.footer-col p { font-size: .92rem; max-width: 340px; margin-top: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .92rem; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .rp-icon { flex: none; margin-top: 4px; color: var(--rp-accent); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials .icon-btn:hover { background: var(--grad-gold); color: var(--ink); border-color: transparent; }
.footer-ruo { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 54px 0 0; padding: 22px 26px; border-radius: var(--r); border: 1px solid rgba(201, 166, 94, .3); background: rgba(201, 166, 94, .06); }
.footer-ruo strong { display: block; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.footer-ruo p { margin: 0; font-size: .84rem; }
.footer-ruo__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 166, 94, .4); color: var(--gold-2); }
.footer-pay { margin: 30px 0 20px; padding-top: 30px; border-top: 1px solid var(--line-light); }
.rp-paybadges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.rp-paybadges .pill { font: 500 .68rem var(--f-mono); letter-spacing: .06em; border-radius: 6px; }
.site-footer .pill--glass { background: rgba(255, 255, 255, .04); border-color: var(--line-light); color: rgba(242, 239, 232, .74); }
.footer-disclaimer { font-size: .76rem; opacity: .55; max-width: 960px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .82rem; padding-top: 18px; border-top: 1px solid var(--line-light); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--gold-2); }

/* Sticky bottom bar (mobile) + back to top ------------------------------- */
.bottom-bar { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: 12px; display: none; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: var(--r-lg); transition: transform .4s var(--ease); background: rgba(27, 52, 125, .88); border-color: var(--line-light); color: rgba(242, 239, 232, .82); }
.bottom-bar a, .bottom-bar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; border: 0; background: none; text-decoration: none; font: 500 .62rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: var(--r); color: inherit; }
.bottom-bar a:active, .bottom-bar button:active { background: rgba(255, 255, 255, .06); }
.bottom-bar .cart-count { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; font-size: .6rem; font-style: normal; }
.to-top { position: fixed; z-index: 94; right: 24px; bottom: 24px; background: var(--ink); color: var(--gold-2); border: 1px solid rgba(201, 166, 94, .35); transform: rotate(-90deg) scale(.6); opacity: 0; pointer-events: none; transition: .35s var(--ease); }
.to-top.is-visible { opacity: 1; transform: rotate(-90deg); pointer-events: auto; }
.to-top:hover { background: var(--rp-primary); }

/* Research-use gate ------------------------------------------------------ */
.age-gate { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: var(--gutter); background: rgba(23, 44, 107, .78); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); animation: fade .4s; overflow-y: auto; }
.age-gate__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.age-gate__bg .blob { opacity: .3; }
.age-gate__card { background: linear-gradient(180deg, #fdfcf8, #f4f0e7); position: relative; width: min(560px, 100%); padding: clamp(30px, 5vw, 54px); text-align: center; border-radius: var(--r-lg); animation: rise .6s var(--ease); border-color: rgba(201, 166, 94, .4); }
.age-gate__card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(143, 112, 54, .2); border-radius: calc(var(--r-lg) - 8px); pointer-events: none; }
.age-gate__badge { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px; font: 600 1.7rem/1 var(--f-display); color: var(--ink); background: var(--grad-gold); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .5), inset 0 0 0 6px rgba(143, 112, 54, .4); }
.age-gate h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.age-gate__list { list-style: none; text-align: left; margin: 18px 0 0; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; font-size: .88rem; }
.age-gate__list li { display: flex; gap: 10px; align-items: flex-start; }
.age-gate__list .rp-icon { flex: none; margin-top: 3px; color: var(--gold-3); }
.age-gate__actions { display: grid; gap: 10px; margin: 24px 0 16px; }
.age-gate__actions .btn--glass { background: transparent; }
.age-gate__deny { color: #8b2219; font-weight: 600; }
.age-gate__fine { font-size: .78rem; color: var(--muted); margin: 0; }

/* 404 -------------------------------------------------------------------- */
.notfound { padding: 60px 0 100px; }
.notfound__card { max-width: 640px; margin: 0 auto; padding: clamp(30px, 6vw, 70px); background: var(--paper-3); }
.notfound__num { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(5rem, 14vw, 9rem)/1 var(--f-display); color: var(--ink); }
.notfound__pill { width: .32em; height: .8em; border-radius: 4px 4px 10px 10px; background: linear-gradient(180deg, var(--ink) 0 18%, rgba(156, 199, 220, .35) 18% 70%, #fff 70%); border: 2px solid var(--ink); animation: bob 4s ease-in-out infinite; }

/* Reconstitution calculator --------------------------------------------- */
.calc { padding: clamp(26px, 5vw, 54px); margin: 0 0 24px; position: relative; overflow: hidden; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); background: #fff; }
.calc__inputs { display: grid; gap: 18px; align-content: start; }
.calc__field label { display: flex; justify-content: space-between; font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc__field .pill-input { border-radius: var(--r-btn); padding: 4px 4px 4px 4px; align-items: center; }
.calc__field .pill-input input { font: 500 1.3rem var(--f-mono); padding: 10px 12px; }
.calc__unit { flex: none; padding: 10px 14px; border-radius: var(--r-sm); background: var(--paper); font: 500 .8rem var(--f-mono); color: var(--muted); }
.calc__presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.calc__presets .pill { font-family: var(--f-mono); font-weight: 500; }
.calc__out { border-radius: var(--r); padding: clamp(22px, 3vw, 34px); background: radial-gradient(ellipse at 100% 0%, rgba(201, 166, 94, .25), transparent 55%), var(--rp-primary); color: #f2efe8; display: grid; gap: 4px; align-content: start; }
.calc__out .eyebrow { color: var(--gold-2); }
.calc__result { padding: 14px 0; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__result:last-of-type { border-bottom: 0; }
.calc__result span { font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.calc__result b { font: 500 clamp(1.6rem, 3vw, 2.2rem)/1 var(--f-display); color: #fff; }
.calc__result b small { font: 500 .78rem var(--f-mono); color: var(--gold-2); margin-left: 4px; }
.calc__note { margin: 14px 0 0; font-size: .78rem; color: var(--muted-light); }

/* Research-use notice strip (inline) ------------------------------------ */
.ruo-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--rp-accent) 45%, transparent); background: color-mix(in srgb, var(--rp-accent) 8%, white); font-size: .82rem; color: var(--ink-2); }
.ruo-note .rp-icon { flex: none; color: var(--gold-3); margin-top: 2px; }
.ruo-note strong { font: 600 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; display: block; color: var(--ink); }

/* Reveal animation ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	.goal-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-col--about { grid-column: 1 / -1; }
	.rp-menu a { padding: 9px 11px; font-size: .84rem; }
	.site-header__inner { gap: 12px; padding-left: 18px; }
}
@media (max-width: 980px) {
	:root { --pill-h: 56px; --header-h: 66px; }
	.site-header { padding: 10px 10px 0; }
	.site-header.is-scrolled { padding-top: 8px; }
	.primary-nav, .hide-sm { display: none !important; }
	.menu-toggle { display: inline-grid; }
	.site-header__inner { grid-template-columns: auto 1fr auto; padding: 0 6px; gap: 6px; }
	.cart-btn.pill { height: 44px; padding: 0 6px 0 13px; gap: 7px; }
	.cart-btn .cart-count { min-width: 30px; height: 30px; }
	.brand { justify-self: center; }
	.hero__grid, .quality, .promo, .newsletter, .contact-layout, .track-grid, .calc { grid-template-columns: 1fr; }
	.hero { min-height: auto; }
	.hero__visual { max-width: 420px; }
	.steps, .post-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
	.promo__art { max-width: 260px; margin: 0 auto; }
	.bottom-bar { display: grid; }
	.to-top { bottom: 96px; right: 16px; }
	body { padding-bottom: 86px; }
	.contact-aside { position: static; }
	.quality__cards .q-card:nth-child(even) { transform: none; }
	.coa-card { transform: none; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.goal-grid { grid-template-columns: 1fr 1fr; }
	.goal-card { min-height: 200px; padding: 20px 16px; }
	.goal-card strong { font-size: 1.3rem; }
	.steps, .post-grid, .contact-cards, .quality__cards, .entry-content .grid-2, .entry-content .grid-3, .rp-form .form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.float-pill { font-size: .66rem; padding: 8px 11px; }
	.float-pill b { font-size: .76rem; }
	.hero__stats { gap: 20px; }
	.hero__stats dd { font-size: 1.7rem; }
	.timeline { grid-template-columns: 1fr; gap: 18px; justify-items: start; }
	.timeline__step { flex-direction: row; text-align: left; gap: 14px; }
	.timeline__step::before { display: none; }
	.section-head--row { align-items: start; }
	.pill-tabs { overflow-x: auto; max-width: 100%; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
	.footer-ruo { grid-template-columns: 1fr; }
	.brand__word { font-size: 1.25rem; }
	.brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	[data-parallax] { transform: none !important; }
}

/* Quote form ---------------------------------------------------------------- */
.quote-form { padding: clamp(22px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.quote-form legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font: 500 1.5rem var(--f-display); }
.quote-form legend .step-num { margin: 0; }
.quote-rows { display: grid; gap: 8px; margin-bottom: 12px; }
.quote-row { display: grid; grid-template-columns: 1fr 110px auto; gap: 8px; align-items: center; }
.quote-row label { margin: 0; }
.quote-row select, .quote-row input { width: 100%; }
.quote-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 18px; }
.quote-pay__label { width: 100%; font-weight: 600; font-size: .9rem; }
.quote-pay .pill { cursor: pointer; gap: 8px; font-size: .84rem; }
.quote-pay .pill:has(input:checked) { border-color: var(--rp-accent); background: color-mix(in srgb, var(--rp-accent) 10%, white); }
.quote-form .ruo-checkout { margin: 0 0 20px; padding: 16px 18px; border-radius: var(--r-btn); border: 1px solid color-mix(in srgb, var(--rp-accent) 45%, transparent); background: color-mix(in srgb, var(--rp-accent) 8%, white); }
.quote-form .ruo-checkout label { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; }
@media (max-width: 640px) {
	.quote-row { grid-template-columns: 1fr 80px auto; }
}

/* Peptide finder quiz -------------------------------------------------------- */
.quiz { position: relative; max-width: 860px; margin: 0 auto 40px; padding: clamp(24px, 4.5vw, 52px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 24px); }
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.quiz__top[hidden] { display: none; }
.quiz__count { font: 500 .74rem var(--f-mono); letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.quiz__progress { flex: 1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; background: var(--grad-gold); border-radius: inherit; transition: width .5s var(--ease); }
.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; animation: quizIn .45s var(--ease); }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } }
.quiz__step legend { display: grid; gap: 6px; padding: 0; margin-bottom: 24px; width: 100%; }
.quiz__step legend .eyebrow { margin: 0; }
.quiz__q { font: 500 clamp(1.7rem, 3.4vw, 2.4rem)/1.12 var(--f-display); color: var(--ink); }
.quiz__hint { color: var(--muted); font-size: .95rem; }
.quiz__options { display: grid; gap: 10px; }
.quiz__options--grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.quiz__opt { position: relative; display: grid; gap: 4px; text-align: left; padding: 18px 48px 18px 20px; border-radius: var(--r-btn); border: 1.5px solid var(--line); background: var(--paper-3); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.quiz__opt strong { font-size: 1rem; }
.quiz__opt span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.quiz__opt:hover { border-color: color-mix(in srgb, var(--rp-accent) 65%, transparent); transform: translateY(-2px); background: #fff; }
.quiz__opt:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 2px; }
.quiz__opt.is-picked { border-color: var(--rp-primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--rp-primary) 12%, transparent); }
.quiz__tick { position: absolute; top: 50%; right: 16px; transform: translateY(-50%) scale(.6); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rp-primary); color: var(--gold-2); opacity: 0; transition: opacity .2s, transform .2s; }
.quiz__opt.is-picked .quiz__tick { opacity: 1; transform: translateY(-50%) scale(1); }
.quiz__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.quiz__back .rp-icon { transform: rotate(180deg); }
.quiz__back:hover { color: var(--ink); }
.quiz__result { animation: quizIn .5s var(--ease); }
.quiz__result-head { margin-bottom: 22px; }
.quiz__result-head h2 { margin: 0 0 4px; font-size: clamp(2rem, 4vw, 2.8rem); }
.quiz__result-head p { margin: 0; }
.quiz__picks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.quiz__pick { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px 12px 14px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--paper-3); }
.quiz__pick.is-optional { border-style: dashed; background: #fff; }
.quiz__pick-check input { width: 18px; height: 18px; accent-color: var(--rp-primary); }
.quiz__pick-img img { width: 64px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.quiz__pick-body { display: grid; gap: 2px; min-width: 0; }
.quiz__pick-role { font: 500 .62rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.quiz__pick-name { font: 500 1.3rem/1.15 var(--f-display); color: var(--ink); text-decoration: none; }
.quiz__pick-spec { font: 500 .74rem var(--f-mono); color: var(--muted); overflow-wrap: anywhere; }
.quiz__pick-save { font-size: .78rem; color: var(--gold-3); }
.quiz__pick-qty { display: grid; justify-items: end; gap: 2px; white-space: nowrap; }
.quiz__pick-qty b { font: 600 .95rem var(--f-mono); }
.quiz__pick-qty span { font-size: .82rem; color: var(--muted); }
.quiz__note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-btn); background: color-mix(in srgb, var(--rp-primary) 6%, white); border: 1px solid color-mix(in srgb, var(--rp-primary) 14%, transparent); margin-bottom: 16px; }
.quiz__note-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--rp-primary); color: var(--gold-2); }
.quiz__note p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.quiz__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.quiz__links a { color: var(--rp-primary); font-weight: 600; font-size: .84rem; }
.quiz__quote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .9rem; }
.quiz__quote[hidden] { display: none; }
.quiz__quote a { color: var(--rp-primary); font-weight: 600; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__disclaimer { margin: 18px 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 640px) {
	.quiz__pick { grid-template-columns: auto 52px 1fr; }
	.quiz__pick-img img { width: 52px; height: 62px; }
	.quiz__pick-qty { grid-column: 2 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 10px; }
	.quiz__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .quiz__step, .quiz__result { animation: none; } }
.section-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.entry-content .quiz { max-width: none; padding: 0; border: 0; background: none; box-shadow: none; }
.entry-content ul.quiz__picks { padding: 0; }
.entry-content .quiz__picks li { margin: 0; }
