/**
 * Wavelength — D2C premium spatial-audio product-launch theme.
 * Design tokens, layout, and component styles.
 *
 * @package Wavelength
 */

/* ---------------------------------------------------------------------
   1. Reset
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	overflow-x: hidden;
	background: var(--ink);
	color: var(--frost);
	font-family: var(--font-body);
	font-size: var(--fs-1);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, dl, dd { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------------
   2. Design tokens
   --------------------------------------------------------------------- */
:root {
	/* Palette — vivid, saturated "product launch keynote" blue on
	   near-black, NOT the steel-blue/platinum corporate tone a sibling
	   theme already used. */
	--ink: #0b0e12;
	--ink-2: #12161d;
	--ink-3: #191f2b;

	--frost: #eef2f8;
	--frost-70: rgba(238, 242, 248, 0.76);
	--frost-50: rgba(238, 242, 248, 0.62);
	--frost-30: rgba(238, 242, 248, 0.5);
	--frost-14: rgba(238, 242, 248, 0.14);
	--frost-08: rgba(238, 242, 248, 0.08);

	--blue: #2f6fed;
	--blue-bright: #4c8dff;
	--blue-glow: #7ab8ff;
	--blue-dim: rgba(47, 111, 237, 0.2);
	/* A dedicated, slightly lighter gradient-dark-stop for solid CTA
	   buttons only. --blue itself (#2f6fed) is correct and stays in use
	   for glows/borders/backgrounds, but the #061020-on-blue combination
	   used on button labels measured 4.19:1 against it — under the 4.5:1
	   WCAG AA floor for text this size/weight (16px/650, short of the
	   large-text bold exception). Verified via composited contrast; this
	   token gets 5.10:1 with the same label color while staying visually
	   within the same saturated-blue family as --blue. */
	--blue-cta-dark: #4080f5;

	--ok: #59d9a3;
	--err: #ff7a7a;

	/* Fonts */
	--font-display: 'Hanken Grotesk', system-ui, sans-serif;
	--font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
	--font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	/* Type scale: 16px base x 1.25 ratio */
	--fs-0: 0.8rem;
	--fs-1: 1rem;
	--fs-2: 1.25rem;
	--fs-3: 1.563rem;
	--fs-4: 1.953rem;
	--fs-5: 2.441rem;
	--fs-6: 3.052rem;
	--fs-7: 3.815rem;

	/* Spacing scale */
	--sp-1: 0.5rem;
	--sp-2: 1rem;
	--sp-3: 1.5rem;
	--sp-4: 2rem;
	--sp-5: 3rem;
	--sp-6: 4rem;
	--sp-7: 6rem;
	--sp-8: 8rem;
	--sp-9: 10rem;

	--section-pad: 10rem;
	--radius: 20px;
	--radius-sm: 12px;
	--radius-lg: 28px;

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 780px) {
	:root { --section-pad: 4.5rem; }
}

/* ---------------------------------------------------------------------
   3. Base typography
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.08;
	color: var(--frost);
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.9rem + 3.2vw, var(--fs-7)); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.5rem + 2vw, var(--fs-6)); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-2); }
em { font-style: normal; color: var(--blue-glow); }
p { color: var(--frost-70); }
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; font-family: var(--font-mono); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-mono);
	font-size: var(--fs-0);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue-bright);
}
.eyebrow::before {
	content: '';
	width: 22px;
	height: 1px;
	background: var(--blue-bright);
}
.eyebrow--wave { color: var(--blue-glow); }
.eyebrow--wave::before { background: var(--blue-glow); }

/* ---------------------------------------------------------------------
   4. Layout
   --------------------------------------------------------------------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--sp-4); position: relative; z-index: 1; }
.wrap--narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--sp-4); position: relative; z-index: 1; }
@media (max-width: 640px) { .wrap, .wrap--narrow { padding: 0 var(--sp-3); } }

.section { position: relative; padding: var(--section-pad) 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 14, 18, 0.94), rgba(11, 14, 18, 0.97)); }
.section--alt { background: linear-gradient(180deg, rgba(18, 22, 29, 0.94), rgba(18, 22, 29, 0.97)); }
.section--tight { padding: var(--sp-7) 0; }

.section-head { max-width: 680px; margin-bottom: var(--sp-6); }
.section-head--center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: var(--sp-2); }
.section-head p { margin-top: var(--sp-3); font-size: var(--fs-2); }

.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 999;
	background: var(--blue-bright); color: #06070a; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	padding: 0.95em 1.9em;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 650;
	font-size: var(--fs-1);
	white-space: nowrap;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--cta {
	background: linear-gradient(135deg, var(--blue-bright), var(--blue-cta-dark));
	color: #061020;
	box-shadow: 0 8px 34px -6px rgba(76, 141, 255, 0.55);
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(76, 141, 255, 0.7); }
.btn--outline {
	border: 1px solid var(--frost-30);
	color: var(--frost);
	background: rgba(238, 242, 248, 0.04);
}
.btn--outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); background: var(--blue-dim); }
.btn--ghost { color: var(--frost); }
.btn--ghost:hover { color: var(--blue-bright); }
.btn--lg { padding: 1.1em 2.4em; font-size: var(--fs-2); }
.btn--sm { padding: 0.7em 1.4em; font-size: var(--fs-0); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* ---------------------------------------------------------------------
   6. Liquid glass surfaces
   --------------------------------------------------------------------- */
.glass {
	position: relative;
	background: linear-gradient(160deg, rgba(25, 31, 43, 0.62), rgba(11, 14, 18, 0.58));
	backdrop-filter: blur(24px) saturate(150%);
	-webkit-backdrop-filter: blur(24px) saturate(150%);
	border: 1px solid rgba(238, 242, 248, 0.1);
	border-radius: var(--radius);
	box-shadow:
		inset 0 1px 0 rgba(238, 242, 248, 0.1),
		inset 0 0 70px rgba(76, 141, 255, 0.05),
		0 26px 64px -20px rgba(0, 0, 0, 0.6);
	overflow: hidden;
}
.glass::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(120% 90% at 12% -10%, rgba(122, 184, 255, 0.12), transparent 55%);
	pointer-events: none;
}

/* ---------------------------------------------------------------------
   7. Persistent WebGL scene stage — fixed, full-viewport, non-negative
   z-index (see header.php note on the negative-z-index occlusion bug
   class). Content wrapper .wv-page sits at z-index:1 above it.
   --------------------------------------------------------------------- */
.wv-scene-stage {
	position: fixed; inset: 0; z-index: 0;
	background: radial-gradient(120% 90% at 50% 20%, #141b2c 0%, var(--ink) 60%);
	overflow: hidden;
	pointer-events: auto;
}
.wv-scene-stage canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.wv-scene-fallback {
	position: absolute; inset: 0; display: none;
	background:
		radial-gradient(60% 50% at 50% 32%, rgba(76, 141, 255, 0.28), transparent 65%),
		radial-gradient(40% 40% at 78% 70%, rgba(47, 111, 237, 0.18), transparent 60%),
		var(--ink);
}
.wv-scene-stage.is-fallback .wv-scene-fallback { display: block; }
.wv-scene-stage.is-fallback canvas { display: none; }

.wv-page { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------
   8. Header
   --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid rgba(238, 242, 248, 0.08);
}
/* Blur lives on a ::before layer, not directly on .site-header — a
   computed backdrop-filter on .site-header itself would establish a
   containing block for its position:fixed .nav descendant (mobile
   off-canvas panel), collapsing its inset:0 0 0 auto sizing down to
   content height instead of the full viewport. */
.site-header::before {
	content: '';
	position: absolute; inset: 0; z-index: -1;
	background: rgba(11, 14, 18, 0.72);
	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); padding: 1.1rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--frost); flex-shrink: 0; }
.brand__mark { color: var(--blue-bright); display: flex; }

.nav { display: flex; align-items: center; gap: var(--sp-5); margin-left: auto; }
.nav ul { display: flex; gap: var(--sp-4); }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--frost-70); transition: color 0.25s var(--ease); position: relative; }
.nav a:hover { color: var(--blue-bright); }
.nav .menu-item-cta a {
	display: inline-flex; align-items: center; padding: 0.55em 1.2em; border-radius: 999px;
	background: linear-gradient(135deg, var(--blue-bright), var(--blue-cta-dark)); color: #061020; font-weight: 650;
}

.header-actions { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--frost); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
	.nav-toggle { display: flex; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); margin: 0;
		background: rgba(18, 22, 29, 0.96);
		backdrop-filter: blur(22px) saturate(150%);
		-webkit-backdrop-filter: blur(22px) saturate(150%);
		flex-direction: column; align-items: flex-start; justify-content: flex-start;
		padding: 6.5rem var(--sp-4) var(--sp-4);
		transform: translateX(100%);
		transition: transform 0.4s var(--ease);
		overflow-y: auto;
		border-left: 1px solid var(--frost-08);
		z-index: 200;
	}
	.nav.is-open { transform: translateX(0); }
	.nav ul { flex-direction: column; gap: 0; width: 100%; }
	.nav ul li { width: 100%; border-bottom: 1px solid var(--frost-08); }
	.nav ul a { display: block; padding: 1rem 0; font-size: 1.1rem; }
	.nav .menu-item-cta { margin-top: var(--sp-3); width: 100%; }
	.nav .menu-item-cta a { display: flex; justify-content: center; width: 100%; padding: 0.9em 1.6em; }
}

/* ---------------------------------------------------------------------
   9. Hero — transparent background so the fixed WebGL canvas underneath
   shows through; pointer-events:none on the section itself (letting drag
   fall through to the canvas for orbit control), re-enabled only on the
   actual text/CTA content.
   --------------------------------------------------------------------- */
.hero, .pd-hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: transparent;
	pointer-events: none;
}
.hero__inner, .pd-hero__inner { position: relative; z-index: 2; padding-top: var(--sp-8); padding-bottom: var(--sp-6); text-align: center; max-width: 900px; margin: 0 auto; pointer-events: auto; }
.hero h1, .pd-hero h1 { margin-top: var(--sp-3); }
.hero__lede { font-size: var(--fs-2); max-width: 640px; margin: var(--sp-4) auto 0; }
.hero__cta-row { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-5); flex-wrap: wrap; }
.pd-hero__price { font-family: var(--font-mono); font-size: var(--fs-4); font-weight: 700; color: var(--blue-glow); }

.hero__product-label {
	position: absolute; top: 22%; right: var(--sp-5);
	display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem;
	z-index: 2; pointer-events: none; text-align: right;
}
.hero__product-name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--frost-70); }
.hero__product-price { font-family: var(--font-mono); font-size: var(--fs-3); font-weight: 700; color: var(--blue-glow); }
@media (max-width: 860px) {
	/* The centered hero text column occupies most of the width at this
	   breakpoint — a right-aligned floating label would collide with it
	   (verified bug: it previously overlapped the CTA row at short viewport
	   heights). Hide it here rather than fight for the same space. */
	.hero__product-label { display: none; }
}

.hero__scroll-hint {
	position: absolute; left: 50%; bottom: var(--sp-4); transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
	color: var(--frost-50); font-size: var(--fs-0); letter-spacing: 0.1em; text-transform: uppercase;
	z-index: 2; pointer-events: none;
}
.hero__scroll-hint span.line { width: 1px; height: 34px; background: linear-gradient(var(--blue-bright), transparent); animation: wv-scrollpulse 2.2s ease-in-out infinite; }
@keyframes wv-scrollpulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-hint span.line { animation: none; opacity: 0.6; } }

@media (max-width: 640px) {
	.hero, .pd-hero { min-height: 86vh; }
	.hero__inner, .pd-hero__inner { padding-top: var(--sp-7); }
	.hero__product-label { bottom: 10%; }
}

/* ---------------------------------------------------------------------
   10. Product lineup grid — clean, visual, photo-led card rhythm
   --------------------------------------------------------------------- */
.pd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 1080px) { .pd-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-card { display: flex; flex-direction: column; }
.pd-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; display: block; }
.pd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pd-card:hover .pd-card__media img { transform: scale(1.06); }
.pd-card__media--fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--blue-glow); background: radial-gradient(90% 90% at 50% 30%, rgba(76, 141, 255, 0.22), transparent 65%), linear-gradient(160deg, var(--ink-3), var(--ink)); }
.pd-badge {
	position: absolute; top: var(--sp-2); left: var(--sp-2);
	font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 0.4em 0.85em; border-radius: 999px;
	background: rgba(11, 14, 18, 0.72); color: var(--blue-glow); border: 1px solid rgba(122, 184, 255, 0.4);
	backdrop-filter: blur(6px);
}
.pd-card__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.pd-card__cat { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--frost-50); }
.pd-card__title { font-size: var(--fs-2); }
.pd-card__title a:hover { color: var(--blue-bright); }
.pd-card__excerpt { font-size: 0.88rem; }
.pd-card__specs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0.3rem 0; }
.pd-card__specs > div { padding: 0.35em 0.7em; border-radius: 999px; background: var(--blue-dim); border: 1px solid var(--blue-dim); }
.pd-card__specs dt { display: none; }
.pd-card__specs dd { font-size: 0.76rem; font-weight: 600; color: var(--blue-glow); }
.pd-card__foot { margin-top: auto; padding-top: var(--sp-2); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--frost-08); }
.pd-card__price { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-2); color: var(--frost); }
.pd-card__link { display: inline-flex; align-items: center; gap: 0.35em; font-size: var(--fs-0); font-weight: 600; color: var(--frost-70); }
.pd-card__link:hover { color: var(--blue-bright); }

/* ---------------------------------------------------------------------
   11. Hear It — frequency-response visualizer
   --------------------------------------------------------------------- */
.freq-viz { padding: var(--sp-5); max-width: 980px; margin: 0 auto; }
@media (max-width: 640px) { .freq-viz { padding: var(--sp-3); } }
.freq-viz__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.freq-viz__range { font-family: var(--font-mono); color: var(--blue-glow); margin-top: 0.3rem; font-size: 0.92rem; }
.freq-viz__play {
	display: inline-flex; align-items: center; gap: 0.6em;
	padding: 0.8em 1.5em; border-radius: 999px;
	background: linear-gradient(135deg, var(--blue-bright), var(--blue-cta-dark)); color: #061020; font-weight: 650;
	box-shadow: 0 8px 30px -8px rgba(76, 141, 255, 0.55);
	transition: transform 0.2s var(--ease);
	flex-shrink: 0;
}
.freq-viz__play:hover { transform: translateY(-2px); }
.freq-viz__play[aria-pressed="true"] { background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); color: var(--frost); box-shadow: none; border: 1px solid var(--blue-dim); }
.freq-viz__plot-wrap { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #060810; border: 1px solid var(--frost-08); }
.freq-viz__canvas { width: 100%; height: 280px; display: block; }
.freq-viz__legend { display: flex; gap: var(--sp-4); margin-top: var(--sp-3); flex-wrap: wrap; }
.freq-viz__legend span { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; color: var(--frost-70); }
.freq-viz__swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.freq-viz__swatch--band { background: rgba(76, 141, 255, 0.28); border: 1px solid rgba(76, 141, 255, 0.5); }
.freq-viz__swatch--line { background: var(--blue-glow); box-shadow: 0 0 8px var(--blue-glow); }
.freq-viz__note { margin-top: var(--sp-2); font-size: 0.82rem; color: var(--frost-50); }

/* ---------------------------------------------------------------------
   12. Full spec comparison table — dense datasheet, distinct rhythm from
   the lineup cards above.
   --------------------------------------------------------------------- */
.spec-table-wrap { padding: var(--sp-4); overflow-x: auto; }
.spec-grid { display: grid; grid-template-columns: 1.3fr repeat(var(--cols, 5), 1fr); min-width: 760px; }
.spec-grid__row { display: contents; }
.spec-grid__row > * { padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--frost-08); display: flex; align-items: center; }
.spec-grid__row--head > * { border-bottom: 1px solid var(--frost-14); align-items: flex-end; padding-bottom: var(--sp-3); }
.spec-grid__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--frost-50); }
.spec-grid__col-head { flex-direction: column; align-items: flex-start !important; gap: 0.4rem; }
.spec-grid__col-head a { font-weight: 650; font-size: 0.94rem; color: var(--frost); }
.spec-grid__col-head a:hover { color: var(--blue-bright); }
.spec-grid__icon { color: var(--blue-bright); }
.spec-grid__cell { font-size: 0.94rem; color: var(--frost-70); }
.spec-grid .tabular { color: var(--blue-glow); font-weight: 600; }

/* ---------------------------------------------------------------------
   13. Materials & Build
   --------------------------------------------------------------------- */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 980px) { .mat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mat-grid { grid-template-columns: 1fr; } }
.mat-card { padding: var(--sp-4); text-align: center; }
.mat-card__icon {
	width: 58px; height: 58px; border-radius: 50%; margin: 0 auto var(--sp-2);
	display: flex; align-items: center; justify-content: center;
	background: var(--blue-dim); border: 1px solid var(--blue-dim); color: var(--blue-bright);
}
.mat-card h3 { font-size: var(--fs-1); margin-bottom: 0.5rem; }
.mat-card p { font-size: 0.86rem; }

/* ---------------------------------------------------------------------
   14. Reviews
   --------------------------------------------------------------------- */
.rv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (max-width: 780px) { .rv-grid { grid-template-columns: 1fr; } }
.rv-card { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.rv-card .stars { display: inline-flex; gap: 2px; color: var(--blue-glow); }
.rv-card blockquote { margin: 0; font-family: var(--font-display); font-size: var(--fs-2); font-weight: 400; line-height: 1.4; color: var(--frost); }
.rv-card figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: var(--sp-2); border-top: 1px solid var(--frost-08); }
.rv-card__role { font-weight: 600; font-size: 0.9rem; }
.rv-card__product { font-size: var(--fs-0); color: var(--blue-bright); font-weight: 600; margin-top: 0.2rem; }

/* ---------------------------------------------------------------------
   15. Sustainability / packaging
   --------------------------------------------------------------------- */
.sus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (max-width: 780px) { .sus-grid { grid-template-columns: 1fr; } }
.sus-card { padding: var(--sp-4); display: flex; gap: var(--sp-3); align-items: flex-start; }
.sus-card__icon {
	width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: var(--blue-dim); border: 1px solid var(--blue-dim); color: var(--blue-bright);
}
.sus-card h3 { font-size: var(--fs-1); margin-bottom: 0.4rem; }
.sus-card p { font-size: 0.88rem; }

/* ---------------------------------------------------------------------
   16. Reserve / Notify form
   --------------------------------------------------------------------- */
.rsv-form { padding: var(--sp-5); }
.rform-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-bottom: var(--sp-3); }
@media (max-width: 620px) { .rform-row { grid-template-columns: 1fr; } }
.rform-field { margin-bottom: var(--sp-3); }
.rform-field label { display: block; font-size: var(--fs-0); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--frost-50); margin-bottom: 0.5rem; }
.rform-field input, .rform-field select, .rform-field textarea {
	width: 100%; padding: 0.9em 1em; border-radius: var(--radius-sm);
	background: rgba(238, 242, 248, 0.05); border: 1px solid var(--frost-14); color: var(--frost);
	transition: border-color 0.25s var(--ease);
}
.rform-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c8dff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1em center; background-size: 18px;
}
.rform-field input:focus, .rform-field select:focus, .rform-field textarea:focus { outline: none; border-color: var(--blue-bright); }
.rform-field textarea { min-height: 120px; resize: vertical; }
.rform-note { font-size: var(--fs-0); color: var(--frost-50); margin-top: var(--sp-2); text-align: center; }
.rform-status { margin-top: var(--sp-3); font-size: 0.95rem; text-align: center; min-height: 1.4em; }
.rform-status.is-success { color: var(--ok); }
.rform-status.is-error { color: var(--err); }
.rsv-locked-product { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85em 1em; border-radius: var(--radius-sm); background: var(--blue-dim); border: 1px solid var(--blue-dim); color: var(--blue-glow); font-weight: 600; }

/* ---------------------------------------------------------------------
   17. Footer
   --------------------------------------------------------------------- */
.footer-cta { position: relative; z-index: 1; background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); padding: var(--sp-6) 0; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.footer-cta h2 { font-size: var(--fs-4); }
.footer-cta p { margin-top: 0.5rem; max-width: 480px; }

.site-footer { position: relative; z-index: 1; background: var(--ink); padding: var(--sp-7) 0 var(--sp-4); border-top: 1px solid var(--frost-08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: var(--fs-0); text-transform: uppercase; letter-spacing: 0.09em; color: var(--frost-50); margin-bottom: var(--sp-2); }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a:hover { color: var(--blue-bright); }
.footer-col--brand p { max-width: 340px; margin-top: var(--sp-2); font-size: 0.92rem; }
.footer-legal { margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid var(--frost-08); display: flex; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; font-size: 0.78rem; color: var(--frost-50); }
.footer-disclaimer { margin-top: var(--sp-3); font-size: 0.75rem; color: var(--frost-30); max-width: 900px; line-height: 1.6; }

/* ---------------------------------------------------------------------
   18. Single product page
   --------------------------------------------------------------------- */
.pd-overview { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 860px) { .pd-overview { grid-template-columns: 1fr; } }
.pd-overview__content { font-size: var(--fs-2); line-height: 1.75; margin-top: var(--sp-3); }
.pd-overview__content p { margin-bottom: var(--sp-3); color: var(--frost-70); }
.pd-highlight-list { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--frost-08); }
.pd-highlight-list li { display: flex; align-items: flex-start; gap: 0.6em; font-size: var(--fs-1); }
.pd-highlight-list svg { flex-shrink: 0; margin-top: 4px; color: var(--blue-bright); }

.pd-spec-sheet { max-width: 720px; margin: 0 auto; padding: var(--sp-2) var(--sp-5); }
@media (max-width: 640px) { .pd-spec-sheet { padding: var(--sp-2) var(--sp-3); } }
.pd-spec-sheet > div {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--sp-3);
	padding: var(--sp-3) 0;
	border-bottom: 1px solid var(--frost-08);
	align-items: baseline;
}
.pd-spec-sheet > div:last-child { border-bottom: none; }
.pd-spec-sheet dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--frost-50); }
.pd-spec-sheet dd { font-family: var(--font-mono); font-size: var(--fs-2); font-weight: 500; color: var(--blue-glow); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 640px) {
	.pd-spec-sheet > div { grid-template-columns: 1fr; gap: 0.3rem; }
	.pd-spec-sheet dd { text-align: left; font-size: var(--fs-1); }
}

/* ---------------------------------------------------------------------
   19. Generic content: blog, page, 404, search, comments
   --------------------------------------------------------------------- */
.post-header { max-width: 780px; margin: 0 auto var(--sp-5); text-align: center; }
.post-header h1 { margin-top: var(--sp-2); }
.post-meta { margin-top: var(--sp-2); font-size: var(--fs-0); color: var(--frost-50); text-transform: uppercase; letter-spacing: 0.06em; }
.post-featured { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--sp-6); aspect-ratio: 16/8; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.entry-content { max-width: 720px; margin: 0 auto; font-size: var(--fs-2); line-height: 1.75; }
.entry-content p { margin-bottom: var(--sp-3); color: var(--frost-70); }
.entry-content h2, .entry-content h3 { margin: var(--sp-5) 0 var(--sp-2); }
.entry-content a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }

.page-content { max-width: 780px; margin: 0 auto; font-size: var(--fs-2); line-height: 1.75; }
.page-content p { margin-bottom: var(--sp-3); color: var(--frost-70); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 4/3; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__media--fallback { width: 100%; height: 100%; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.post-card__body { padding: var(--sp-3); }
.post-card__date { font-size: var(--fs-0); text-transform: uppercase; letter-spacing: 0.06em; color: var(--frost-50); }
.post-card__title { margin-top: 0.5rem; font-size: var(--fs-2); }
.post-card__excerpt { margin-top: 0.5rem; font-size: 0.92rem; }

.error-404 { text-align: center; padding: var(--sp-7) 0; }
.error-404__code { font-family: var(--font-mono); font-size: clamp(4rem, 3rem + 6vw, 9rem); font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--blue-bright); line-height: 1; }
.error-404 .btn { margin-top: var(--sp-4); }

.search-form { display: flex; gap: var(--sp-2); max-width: 560px; margin: var(--sp-4) auto 0; }
.search-form input[type="search"] { flex: 1; padding: 0.9em 1.2em; border-radius: 999px; background: rgba(238, 242, 248, 0.05); border: 1px solid var(--frost-14); color: var(--frost); }
.search-form input[type="search"]:focus { outline: none; border-color: var(--blue-bright); }
.search-form button { border-radius: 999px; padding: 0.9em 1.4em; background: var(--blue-dim); }

.comments-area { max-width: 720px; margin: var(--sp-6) auto 0; }
.comments-title { margin-bottom: var(--sp-4); }
.comment-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.comment-list .children { margin-left: var(--sp-4); margin-top: var(--sp-3); }
.comment-body { padding: var(--sp-3); border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--frost-08); }
.comment-author { font-weight: 600; font-size: 0.92rem; }
.comment-metadata { font-size: 0.78rem; color: var(--frost-50); margin-bottom: 0.5rem; }
.comment-respond { margin-top: var(--sp-5); }
.comment-form p { margin-bottom: var(--sp-3); }
.comment-form input, .comment-form textarea {
	width: 100%; padding: 0.9em 1em; border-radius: var(--radius-sm);
	background: rgba(238, 242, 248, 0.05); border: 1px solid var(--frost-14); color: var(--frost);
}
.comment-form textarea { min-height: 120px; }

/* ---------------------------------------------------------------------
   20. Directional scroll-reveal
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal--up { transform: translateY(36px); }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* Staggered reveal within repeated card grids. */
.pd-grid .pd-card.reveal,
.mat-grid .mat-card.reveal,
.rv-grid .rv-card.reveal,
.card-grid .post-card.reveal {
	transition-delay: calc(var(--stagger-i, 0) * 70ms);
}
.pd-grid .pd-card:nth-child(1), .mat-grid .mat-card:nth-child(1), .card-grid .post-card:nth-child(1) { --stagger-i: 0; }
.pd-grid .pd-card:nth-child(2), .mat-grid .mat-card:nth-child(2), .card-grid .post-card:nth-child(2) { --stagger-i: 1; }
.pd-grid .pd-card:nth-child(3), .mat-grid .mat-card:nth-child(3), .card-grid .post-card:nth-child(3) { --stagger-i: 2; }
.pd-grid .pd-card:nth-child(4), .mat-grid .mat-card:nth-child(4) { --stagger-i: 3; }

/* ---------------------------------------------------------------------
   21. Misc utility
   --------------------------------------------------------------------- */
.center { text-align: center; }
.mt-5 { margin-top: var(--sp-5); }
