/*
 * Spoke Builder: front-end styles.
 *
 * Everything is scoped to .spk-root, which is a size container: layouts respond
 * to the width of the page area (so the builder's phone preview is accurate).
 * Colours and fonts come from Site settings as --spk-c-* and --spk-font-* variables.
 */

/* ---------------------------------------------------------------- Fonts */

@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------- Root */

body.spoke-canvas {
	margin: 0;
	padding: 0;
	background: var(--spk-c-paper);
}

.spk-root {
	container: spk / inline-size;
	--spk-max: 1312px;
	--spk-gutter: clamp(16px, 4.45cqi, 64px);
	box-sizing: border-box;
	position: relative;
	width: 100%;
	font-family: var(--spk-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--spk-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.spk-root *,
.spk-root *::before,
.spk-root *::after {
	box-sizing: border-box;
}

:where(.spk-root) :where(img) {
	max-width: 100%;
	height: auto;
}

:where(.spk-root) :where(h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) {
	margin: 0;
}

:where(.spk-root) :where(a) {
	color: inherit;
}

.spk-root :focus-visible {
	outline: 3px solid var(--spk-focus, var(--spk-c-accent));
	outline-offset: 2px;
}

.spk-root .screen-reader-text,
.spk-skip.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.spk-skip.screen-reader-text:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--spk-c-accent);
	color: var(--spk-c-ink);
	font: 600 15px/1 var(--spk-font-body);
	border-radius: 8px;
	text-decoration: none;
}

/* ---------------------------------------------------------------- Colour schemes */

/* Light (default) */
.spk-root,
.spk-bg--paper,
.spk-bg--card,
.spk-bg--sand,
.spk-scheme--light {
	--spk-text: var(--spk-c-ink);
	--spk-body: var(--spk-c-body);
	--spk-muted: var(--spk-c-muted);
	--spk-line: var(--spk-c-line);
	--spk-surface: var(--spk-c-card);
	--spk-surface-2: var(--spk-c-sand);
	--spk-eyebrow: var(--spk-c-muted);
	--spk-highlight: var(--spk-c-ink);
	--spk-tick: var(--spk-c-brand);
	--spk-icon: var(--spk-c-ink);
	--spk-btn-bg: var(--spk-c-accent);
	--spk-btn-fg: var(--spk-c-ink);
	--spk-rim: color-mix(in srgb, var(--spk-c-ink) 38%, var(--spk-c-paper));
	--spk-shock: var(--spk-c-brand);
	--spk-focus: var(--spk-c-ink);
}

.spk-root { --spk-bg: var(--spk-c-paper); }
.spk-bg--paper { --spk-bg: var(--spk-c-paper); }
.spk-bg--card { --spk-bg: var(--spk-c-card); --spk-surface: var(--spk-c-paper); }
.spk-bg--sand { --spk-bg: var(--spk-c-sand); --spk-surface-2: var(--spk-c-card); }
.spk-bg--ink { --spk-bg: var(--spk-c-ink); }
.spk-bg--ink-soft { --spk-bg: var(--spk-c-ink-soft); }
.spk-bg--brand { --spk-bg: var(--spk-c-brand); }
.spk-bg--accent { --spk-bg: var(--spk-c-accent); }

/* Dark */
.spk-bg--ink,
.spk-bg--ink-soft,
.spk-bg--brand,
.spk-scheme--dark {
	--spk-text: var(--spk-c-paper);
	--spk-body: color-mix(in srgb, var(--spk-c-paper) 86%, var(--spk-bg));
	--spk-muted: color-mix(in srgb, var(--spk-c-paper) 68%, var(--spk-bg));
	--spk-line: color-mix(in srgb, var(--spk-c-paper) 17%, var(--spk-bg));
	--spk-surface: color-mix(in srgb, var(--spk-c-paper) 5%, var(--spk-bg));
	--spk-surface-2: color-mix(in srgb, var(--spk-c-paper) 10%, var(--spk-bg));
	--spk-eyebrow: var(--spk-c-accent);
	--spk-highlight: var(--spk-c-accent);
	--spk-tick: var(--spk-c-accent);
	--spk-icon: var(--spk-c-accent);
	--spk-btn-bg: var(--spk-c-accent);
	--spk-btn-fg: var(--spk-c-ink);
	--spk-rim: color-mix(in srgb, var(--spk-c-paper) 34%, var(--spk-bg));
	--spk-shock: var(--spk-c-accent);
	--spk-focus: var(--spk-c-accent);
}

/* Accent (yellow) */
.spk-bg--accent {
	--spk-text: var(--spk-c-ink);
	--spk-body: var(--spk-c-ink);
	--spk-muted: color-mix(in srgb, var(--spk-c-ink) 80%, var(--spk-c-accent));
	--spk-line: color-mix(in srgb, var(--spk-c-ink) 24%, var(--spk-c-accent));
	--spk-surface: color-mix(in srgb, var(--spk-c-paper) 35%, var(--spk-c-accent));
	--spk-surface-2: color-mix(in srgb, var(--spk-c-paper) 50%, var(--spk-c-accent));
	--spk-eyebrow: var(--spk-c-ink);
	--spk-highlight: var(--spk-c-ink);
	--spk-tick: var(--spk-c-ink);
	--spk-icon: var(--spk-c-ink);
	--spk-btn-bg: var(--spk-c-ink);
	--spk-btn-fg: var(--spk-c-paper);
	--spk-rim: color-mix(in srgb, var(--spk-c-ink) 50%, var(--spk-c-accent));
	--spk-shock: var(--spk-c-ink);
	--spk-focus: var(--spk-c-ink);
}

[class*="spk-bg--"] {
	background-color: var(--spk-bg);
	color: var(--spk-text);
}

/* ---------------------------------------------------------------- Rows */

.spk-row {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: var(--spk-minh, 0);
	background-size: cover;
	background-position: center;
}

.spk-row__inner {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: calc(var(--spk-max) + 2 * var(--spk-gutter));
	margin-inline: auto;
	padding-inline: var(--spk-gutter);
}

.spk-w--narrow > .spk-row__inner { max-width: calc(880px + 2 * var(--spk-gutter)); }
.spk-w--full > .spk-row__inner { max-width: none; padding-inline: 0; }

.spk-pt--none { padding-top: 0; }
.spk-pt--xs { padding-top: clamp(12px, 1.7cqi, 24px); }
.spk-pt--s { padding-top: clamp(20px, 2.8cqi, 40px); }
.spk-pt--m { padding-top: clamp(28px, 3.9cqi, 56px); }
.spk-pt--l { padding-top: clamp(40px, 6.1cqi, 88px); }
.spk-pt--xl { padding-top: clamp(56px, 8.3cqi, 120px); }
.spk-pb--none { padding-bottom: 0; }
.spk-pb--xs { padding-bottom: clamp(12px, 1.7cqi, 24px); }
.spk-pb--s { padding-bottom: clamp(20px, 2.8cqi, 40px); }
.spk-pb--m { padding-bottom: clamp(28px, 3.9cqi, 56px); }
.spk-pb--l { padding-bottom: clamp(40px, 6.1cqi, 88px); }
.spk-pb--xl { padding-bottom: clamp(56px, 8.3cqi, 120px); }

.spk-border { border-bottom: 1px solid var(--spk-line); }

.spk-sticky {
	position: sticky;
	top: 0;
	z-index: 40;
	background-color: var(--spk-bg);
}

.admin-bar .spk-sticky { top: var(--wp-admin--admin-bar--height, 32px); }

.spk-has-pattern { overflow: hidden; }

.spk-pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.spk-pattern svg {
	width: 100%;
	height: 100%;
	stroke: color-mix(in srgb, var(--spk-text) 13%, var(--spk-bg));
}

/* 12-column grid */
.spk-cols {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--spk-cgap, 24px);
	row-gap: var(--spk-rgap, 32px);
	align-items: stretch;
}

.spk-gap--none { --spk-cgap: 0px; --spk-rgap: 0px; }
.spk-gap--s { --spk-cgap: clamp(12px, 1.4cqi, 20px); --spk-rgap: clamp(12px, 1.4cqi, 20px); }
.spk-gap--m { --spk-cgap: 24px; --spk-rgap: clamp(28px, 3.3cqi, 40px); }
.spk-gap--l { --spk-cgap: clamp(24px, 3.3cqi, 48px); --spk-rgap: clamp(32px, 3.3cqi, 48px); }

.spk-va--start > .spk-row__inner > .spk-cols { align-items: start; }
.spk-va--center > .spk-row__inner > .spk-cols { align-items: center; }
.spk-va--end > .spk-row__inner > .spk-cols { align-items: end; }

/* ---------------------------------------------------------------- Columns */

.spk-col {
	position: relative;
	grid-column: var(--spk-col, 1 / -1);
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.spk-col__inner {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: var(--spk-mgap, clamp(16px, 1.95cqi, 28px));
	min-width: 0;
}

.spk-cgap--none { --spk-mgap: 0px; }
.spk-cgap--xs { --spk-mgap: 8px; }
.spk-cgap--s { --spk-mgap: clamp(12px, 1.4cqi, 20px); }
.spk-cgap--m { --spk-mgap: clamp(16px, 1.95cqi, 28px); }
.spk-cgap--l { --spk-mgap: clamp(24px, 2.8cqi, 40px); }
.spk-cgap--xl { --spk-mgap: clamp(32px, 4.4cqi, 64px); }

.spk-cva--center > .spk-col__inner { justify-content: center; }
.spk-cva--end > .spk-col__inner { justify-content: flex-end; }
.spk-cva--between > .spk-col__inner { justify-content: space-between; }

.spk-pad--xs { padding: 12px; }
.spk-pad--s { padding: 20px; }
.spk-pad--m { padding: clamp(20px, 2.2cqi, 32px); }
.spk-pad--l { padding: clamp(24px, 3.9cqi, 56px); }
.spk-pad--xl { padding: clamp(40px, 6.1cqi, 88px) var(--spk-gutter) clamp(32px, 4.4cqi, 64px); }

/* In edge-to-edge rows, line the first/last column's content up with the rest of the page. */
.spk-w--full .spk-col.spk-pad--xl:first-child { padding-left: max(var(--spk-gutter), calc((100cqi - var(--spk-max)) / 2)); }
.spk-w--full .spk-col.spk-pad--xl:last-child { padding-right: max(var(--spk-gutter), calc((100cqi - var(--spk-max)) / 2)); }

.spk-col.spk-rounded { border-radius: var(--spk-radius); overflow: hidden; }

.spk-col.spk-align--center { text-align: center; }
.spk-col.spk-align--right { text-align: right; }
.spk-col.spk-align--center .spk-justify--inherit { justify-content: center; align-items: center; }
.spk-col.spk-align--right .spk-justify--inherit { justify-content: flex-end; align-items: flex-end; }
.spk-col.spk-align--center .spk-measure--s,
.spk-col.spk-align--center .spk-measure--m { margin-inline: auto; }
.spk-col.spk-align--right .spk-measure--s,
.spk-col.spk-align--right .spk-measure--m { margin-left: auto; }

/* ---------------------------------------------------------------- Modules */

.spk-module { min-width: 0; }
.spk-space--s { margin-top: 12px; }
.spk-space--m { margin-top: 24px; }
.spk-space--l { margin-top: 48px; }

.spk-justify--left { justify-content: flex-start; align-items: flex-start; text-align: left; }
.spk-justify--center { justify-content: center; align-items: center; text-align: center; }
.spk-justify--right { justify-content: flex-end; align-items: flex-end; text-align: right; }

.spk-measure--s { max-width: 540px; }
.spk-measure--m { max-width: 680px; }

/* Heading */
.spk-heading {
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.7cqi, 24px);
}

.spk-heading.spk-align--left { text-align: left; }
.spk-heading.spk-align--center { text-align: center; align-items: center; }
.spk-heading.spk-align--right { text-align: right; align-items: flex-end; }

.spk-eyebrow {
	font-family: var(--spk-font-mono);
	font-size: clamp(12px, 0.97cqi, 14px);
	font-weight: 400;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--spk-eyebrow);
}

.spk-eyebrow--muted { color: var(--spk-muted); }
.spk-eyebrow--accent { color: var(--spk-highlight); }

.spk-title {
	font-family: var(--spk-font-display);
	font-weight: 900;
	color: var(--spk-text);
	overflow-wrap: break-word;
	margin: 0;
}

.spk-upper { text-transform: uppercase; }
.spk-size--xxl { font-size: clamp(72px, 10.3cqi, 148px); line-height: 0.86; letter-spacing: -0.01em; }
.spk-size--xl { font-size: clamp(56px, 8.9cqi, 128px); line-height: 0.86; }
.spk-size--l { font-size: clamp(44px, 5.85cqi, 84px); line-height: 0.9; }
.spk-size--m { font-size: clamp(36px, 4.2cqi, 60px); line-height: 0.92; }
.spk-size--s { font-size: clamp(28px, 2.8cqi, 40px); line-height: 0.95; }
.spk-size--xs { font-size: clamp(24px, 2.1cqi, 30px); line-height: 1; }

.spk-intro {
	color: var(--spk-body);
	line-height: 1.5;
	margin: 0;
	padding-top: clamp(0px, 0.3cqi, 4px);
}

.spk-intro--s { font-size: 16px; }
.spk-intro--m { font-size: clamp(16px, 1.25cqi, 18px); line-height: 1.55; }
.spk-intro--l { font-size: clamp(16px, 1.39cqi, 20px); }

/* Text */
.spk-text { color: var(--spk-body); line-height: 1.6; }
.spk-text--s { font-size: 15px; }
.spk-text--m { font-size: 17px; }
.spk-text--l { font-size: clamp(18px, 1.39cqi, 20px); }
.spk-tc--text { color: var(--spk-text); }
.spk-tc--muted { color: var(--spk-muted); }
.spk-text p,
.spk-text ul,
.spk-text ol { margin: 0 0 1em; }
.spk-text > :last-child { margin-bottom: 0; }
.spk-text ul,
.spk-text ol { padding-left: 1.3em; }
.spk-text li + li { margin-top: 0.35em; }
.spk-text a { color: var(--spk-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.spk-text a:hover { text-decoration-thickness: 2px; }
.spk-text strong { color: var(--spk-text); font-weight: 600; }
.spk-text h2,
.spk-text h3,
.spk-text h4 { font-family: var(--spk-font-display); font-weight: 900; color: var(--spk-text); line-height: 0.95; margin: 1.2em 0 0.5em; }
.spk-text h2 { font-size: 2em; }
.spk-text h3 { font-size: 1.6em; }
.spk-text h4 { font-size: 1.3em; }
.spk-text > h2:first-child,
.spk-text > h3:first-child,
.spk-text > h4:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- Buttons */

.spk-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	align-items: center;
}

.spk-buttons--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.spk-buttons--stack {
	flex-direction: column;
	align-items: stretch;
}

.spk-buttons--grid .spk-btn,
.spk-buttons--stack .spk-btn { justify-content: center; }

.spk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: var(--spk-pill, 999px);
	font-family: var(--spk-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.spk-btn .spk-icon { flex-shrink: 0; }
.spk-btn:active { transform: translateY(1px); }

.spk-btn--s { min-height: 46px; padding: 0 18px; font-size: 15px; }
.spk-btn--m { min-height: 48px; padding: 0 22px; font-size: 15px; }
.spk-btn--l { min-height: 56px; padding: 0 26px; font-size: 17px; }
.spk-btn--xl { min-height: 60px; padding: 0 30px; font-size: 18px; gap: 12px; }

.spk-btn--primary {
	background: var(--spk-btn-bg);
	color: var(--spk-btn-fg);
}

.spk-btn--primary:hover { background: color-mix(in srgb, var(--spk-btn-bg) 86%, var(--spk-text)); color: var(--spk-btn-fg); }

.spk-btn--outline {
	background: transparent;
	color: var(--spk-text);
	border-color: currentColor;
}

.spk-btn--outline:hover { background: color-mix(in srgb, var(--spk-text) 8%, transparent); color: var(--spk-text); }

.spk-btn--dark {
	background: var(--spk-text);
	color: var(--spk-bg);
}

.spk-btn--dark:hover { background: color-mix(in srgb, var(--spk-text) 85%, var(--spk-bg)); color: var(--spk-bg); }

.spk-btn--link {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--spk-text);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

.spk-btn--link:hover { text-decoration-thickness: 3px; text-decoration-color: var(--spk-c-accent); color: var(--spk-text); }
.spk-bg--accent .spk-btn--link:hover { text-decoration-color: var(--spk-c-ink); }

.spk-btn--block { display: flex; width: 100%; }

.spk-arrowlink {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	font-size: 17px;
	font-weight: 600;
	color: var(--spk-text);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 5px;
}

.spk-arrowlink:hover { text-decoration-color: var(--spk-c-accent); text-decoration-thickness: 3px; }

/* ---------------------------------------------------------------- Image */

.spk-image { margin: 0; display: flex; flex-direction: column; }
.spk-image__frame { position: relative; overflow: hidden; }
.spk-image.spk-rounded .spk-image__frame,
.spk-image.spk-rounded .spk-placeholder { border-radius: var(--spk-radius); }
.spk-image__img { display: block; width: 100%; height: auto; }
.spk-image__caption { margin-top: 10px; font-size: 14px; color: var(--spk-muted); }

.spk-ratio--1-1 .spk-image__frame, .spk-image.spk-ratio--1-1 .spk-placeholder { aspect-ratio: 1 / 1; }
.spk-ratio--4-3 .spk-image__frame, .spk-image.spk-ratio--4-3 .spk-placeholder { aspect-ratio: 4 / 3; }
.spk-ratio--3-2 .spk-image__frame, .spk-image.spk-ratio--3-2 .spk-placeholder { aspect-ratio: 3 / 2; }
.spk-ratio--16-9 .spk-image__frame, .spk-image.spk-ratio--16-9 .spk-placeholder { aspect-ratio: 16 / 9; }
.spk-ratio--3-4 .spk-image__frame, .spk-image.spk-ratio--3-4 .spk-placeholder { aspect-ratio: 3 / 4; }
.spk-image:not(.spk-ratio--auto) .spk-image__img,
.spk-image.spk-h--fill .spk-image__img,
.spk-image.spk-h--fixed .spk-image__img { height: 100%; object-fit: cover; }

.spk-m-image:has(.spk-h--fill) { flex: 1 1 auto; display: flex; flex-direction: column; }
.spk-image.spk-h--fill { flex: 1 1 auto; min-height: 280px; }
.spk-image.spk-h--fill .spk-image__frame,
.spk-image.spk-h--fill .spk-placeholder { flex: 1 1 auto; aspect-ratio: auto; }
.spk-image.spk-h--fixed .spk-image__frame,
.spk-image.spk-h--fixed .spk-placeholder { height: var(--spk-imgh, 360px); aspect-ratio: auto; }

.spk-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	padding: 24px;
	border: 1.5px dashed color-mix(in srgb, var(--spk-text) 42%, var(--spk-bg));
	color: color-mix(in srgb, var(--spk-text) 72%, var(--spk-bg));
	font-family: var(--spk-font-mono);
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}

/* ---------------------------------------------------------------- Callout */

.spk-m-callout:has(.spk-fill) { flex: 1 1 auto; display: flex; flex-direction: column; }
.spk-callout.spk-fill { flex: 1 1 auto; }

.spk-callout {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-radius: var(--spk-radius);
}

.spk-callout--outline { border: 1px solid var(--spk-line); }
.spk-callout.spk-bg--card { border: 1px solid var(--spk-c-line); }

.spk-cpad--s { padding: clamp(18px, 1.9cqi, 28px) clamp(20px, 2.2cqi, 32px); }
.spk-cpad--m { padding: clamp(22px, 2.2cqi, 32px); }
.spk-cpad--l { padding: clamp(28px, 2.8cqi, 40px); }

.spk-callout__body { display: flex; flex-direction: column; gap: 12px; }

.spk-callout--inline {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.spk-callout--inline .spk-callout__body { gap: 4px; }
.spk-callout--inline.spk-cpad--s { padding-block: 16px; min-height: 76px; }

.spk-callout__eyebrow {
	font-family: var(--spk-font-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--spk-eyebrow);
}

.spk-callout--inline .spk-callout__eyebrow { font-size: 12px; }

.spk-callout__title {
	font-family: var(--spk-font-display);
	font-weight: 900;
	line-height: 0.95;
	color: var(--spk-text);
	overflow-wrap: break-word;
}

.spk-ctitle--plain { font-family: var(--spk-font-body); font-weight: 600; font-size: 18px; line-height: 1.3; }
.spk-ctitle--s { font-size: clamp(26px, 2.2cqi, 32px); line-height: 1; }
.spk-ctitle--m { font-size: clamp(30px, 2.8cqi, 40px); }
.spk-ctitle--l { font-size: clamp(36px, 3.9cqi, 56px); line-height: 0.92; }

.spk-callout__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--spk-body);
}

.spk-callout__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 4px;
}

.spk-callout:not(.spk-callout--inline) .spk-callout__actions .spk-btn:first-child:not(.spk-btn--link) { flex: 1 1 auto; }
.spk-callout--inline .spk-callout__actions { padding-top: 0; flex-shrink: 0; }

/* ---------------------------------------------------------------- Cards */

.spk-cards {
	display: grid;
	grid-template-columns: repeat(var(--spk-n, 3), minmax(0, 1fr));
	gap: 20px;
}

.spk-grid-1 { --spk-n: 1; }
.spk-grid-2 { --spk-n: 2; }
.spk-grid-3 { --spk-n: 3; }
.spk-grid-4 { --spk-n: 4; }
.spk-grid-5 { --spk-n: 5; }
.spk-grid-6 { --spk-n: 6; }

.spk-cards--ruled { gap: 24px; }

.spk-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	color: var(--spk-text);
	text-decoration: none;
}

.spk-cards--tile .spk-card {
	background: var(--spk-surface);
	border: 1px solid var(--spk-line);
	border-radius: var(--spk-radius);
	padding: clamp(22px, 1.95cqi, 28px);
	overflow: hidden;
}

.spk-cards--outline .spk-card {
	border: 1px solid var(--spk-line);
	border-radius: var(--spk-radius);
	padding: clamp(22px, 1.95cqi, 28px);
}

.spk-cards--ruled .spk-card {
	gap: 12px;
	padding-top: 20px;
	border-top: 2px solid var(--spk-text);
}

.spk-cardh--s .spk-card { min-height: 220px; }
.spk-cardh--m .spk-card { min-height: 300px; }

.spk-card--link { transition: border-color 0.15s ease, transform 0.15s ease; }
.spk-card--link:hover { border-color: var(--spk-text); }
.spk-card--link:hover .spk-card__icon { transform: translateX(3px); }

.spk-card__image { margin: calc(-1 * clamp(22px, 1.95cqi, 28px)) calc(-1 * clamp(22px, 1.95cqi, 28px)) 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--spk-surface-2); }
.spk-cards--ruled .spk-card__image,
.spk-cards--plain .spk-card__image { margin: 0; border-radius: var(--spk-radius-sm); }
.spk-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spk-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.spk-card__heading { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.spk-card__num { font-family: var(--spk-font-mono); font-size: 14px; color: var(--spk-muted); }
.spk-card__eyebrow { font-family: var(--spk-font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spk-eyebrow); }

.spk-card__title {
	margin: 0;
	color: var(--spk-text);
	overflow-wrap: break-word;
}

.spk-ctf--display { font-family: var(--spk-font-display); font-weight: 900; line-height: 1; }
.spk-ctf--display.spk-cts--s { font-size: clamp(26px, 2.1cqi, 30px); }
.spk-ctf--display.spk-cts--m { font-size: clamp(30px, 2.7cqi, 40px); }
.spk-ctf--display.spk-cts--l { font-size: clamp(36px, 3.4cqi, 48px); }
.spk-ctf--plain { font-family: var(--spk-font-body); font-weight: 600; line-height: 1.3; }
.spk-ctf--plain.spk-cts--s,
.spk-ctf--plain.spk-cts--m { font-size: clamp(18px, 1.46cqi, 21px); }
.spk-ctf--plain.spk-cts--l { font-size: clamp(20px, 1.7cqi, 24px); }

.spk-card__meta { font-family: var(--spk-font-mono); font-size: 14px; color: var(--spk-muted); }
.spk-card__icon { color: var(--spk-icon); flex-shrink: 0; transition: transform 0.15s ease; }
.spk-card__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--spk-body); }
.spk-cards--ruled .spk-card__text { color: var(--spk-muted); }

.spk-card__art {
	margin-top: auto;
	align-self: flex-end;
	line-height: 0;
	max-width: 100%;
}

.spk-card__art .spk-bike { width: 300px; max-width: 100%; height: auto; }

.spk-card__foot {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--spk-line);
	font-size: 16px;
}

.spk-card__link {
	font-size: 15px;
	font-weight: 600;
	color: var(--spk-highlight);
	text-underline-offset: 3px;
}

/* Bike drawing */
.spk-bike { display: block; color: var(--spk-text); }
.spk-bike__frame { stroke: currentColor; }
.spk-bike__rim { stroke: var(--spk-rim); }
.spk-bike__motor { stroke: var(--spk-c-accent); }
.spk-bike__shock { stroke: var(--spk-shock); }

/* ---------------------------------------------------------------- Checklist */

.spk-checklist { display: flex; flex-direction: column; gap: 18px; }

.spk-checklist__title {
	font-family: var(--spk-font-display);
	font-weight: 900;
	font-size: clamp(26px, 2.1cqi, 30px);
	line-height: 0.95;
	color: var(--spk-highlight);
}

.spk-checklist__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spk-checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--spk-text);
}

.spk-cl-size--s .spk-checklist__item { font-size: 15px; }
.spk-cl-size--m .spk-checklist__item { font-size: 16px; }

.spk-checklist__item .spk-icon { color: var(--spk-tick); flex-shrink: 0; margin-top: 1px; }

.spk-dot {
	width: 8px;
	height: 8px;
	margin-top: 0.5em;
	border-radius: 50%;
	background: var(--spk-tick);
	flex-shrink: 0;
}

.spk-checklist--list .spk-checklist__items { display: flex; flex-direction: column; gap: 14px; }

.spk-checklist--grid .spk-checklist__items {
	display: grid;
	grid-template-columns: repeat(var(--spk-cl-cols, 4), minmax(0, 1fr));
	gap: 16px 24px;
}

.spk-checklist--strip .spk-checklist__items {
	display: grid;
	grid-template-columns: repeat(var(--spk-cl-cols, 5), minmax(0, 1fr));
}

.spk-checklist--strip .spk-checklist__item {
	align-items: center;
	min-height: 96px;
	padding: 0 28px;
	border-right: 1px solid var(--spk-line);
	line-height: 1.3;
}

.spk-checklist--strip .spk-checklist__item:last-child { border-right: 0; }
.spk-checklist--strip .spk-checklist__item .spk-icon { margin-top: 0; }

.spk-checklist--pills .spk-checklist__items { display: flex; flex-wrap: wrap; gap: 10px; }
.spk-checklist--pills .spk-checklist__item {
	padding: 10px 16px;
	border-radius: var(--spk-pill, 999px);
	background: var(--spk-surface-2);
	font-size: 15px;
	font-weight: 600;
}

.spk-checklist--boxed {
	border-radius: var(--spk-radius);
	padding: clamp(22px, 1.95cqi, 28px) clamp(22px, 2.2cqi, 32px);
}

.spk-cl-title--left {
	display: grid;
	grid-template-columns: minmax(160px, 250px) minmax(0, 1fr);
	align-items: center;
	gap: 24px;
}

/* ---------------------------------------------------------------- Comparison */

.spk-compare { display: flex; flex-direction: column; }

.spk-compare__head,
.spk-compare__row {
	display: grid;
	grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 24px;
}

.spk-compare__head {
	padding-bottom: 16px;
	border-bottom: 2px solid var(--spk-text);
	font-family: var(--spk-font-mono);
	font-size: 13px;
	letter-spacing: 0.1em;
	color: var(--spk-muted);
}

.spk-compare__head .spk-compare__us { color: var(--spk-text); font-weight: 600; }

.spk-compare__row {
	padding: 22px 0;
	border-bottom: 1px solid var(--spk-line);
	align-items: start;
}

.spk-compare__label { font-size: 17px; font-weight: 600; }

.spk-compare__them,
.spk-compare__us {
	display: flex;
	gap: 10px;
	font-size: 16px;
	line-height: 1.45;
}

.spk-compare__row .spk-compare__them { color: var(--spk-muted); }
.spk-compare__row .spk-compare__us { font-weight: 500; }
.spk-compare__them .spk-icon { color: var(--spk-rim); flex-shrink: 0; margin-top: 2px; }
.spk-compare__us .spk-icon { color: var(--spk-tick); flex-shrink: 0; margin-top: 2px; }
.spk-compare__mlabel { display: none; }

/* ---------------------------------------------------------------- Gallery */

.spk-gallery {
	display: grid;
	grid-template-columns: repeat(var(--spk-n, 4), minmax(0, 1fr));
	gap: 12px;
}

.spk-gallery__tile {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--spk-radius-sm);
	background: var(--spk-surface-2);
	color: var(--spk-muted);
	font-family: var(--spk-font-mono);
	font-size: 12px;
	aspect-ratio: 1 / 1;
	text-decoration: none;
}

.spk-gallery.spk-ratio--4-3 .spk-gallery__tile { aspect-ratio: 4 / 3; }
.spk-gallery.spk-ratio--3-4 .spk-gallery__tile { aspect-ratio: 3 / 4; }
.spk-gallery.spk-ratio--16-9 .spk-gallery__tile { aspect-ratio: 16 / 9; }
.spk-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
a.spk-gallery__tile:hover .spk-gallery__img { transform: scale(1.04); }

/* ---------------------------------------------------------------- Spacer & divider */

.spk-spacer { height: var(--spk-sp, 40px); }

.spk-divider {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--spk-line);
}

.spk-divider--thick { border-top-width: 2px; }
.spk-divider--dashed { border-top-style: dashed; border-top-width: 1.5px; }
.spk-divider--c-text { border-top-color: var(--spk-text); }
.spk-divider--c-accent { border-top-color: var(--spk-c-accent); }

/* ---------------------------------------------------------------- Price list */

.spk-prices { display: flex; flex-direction: column; gap: clamp(20px, 2.8cqi, 36px); }
.spk-prices__list { list-style: none; margin: 0; padding: 0; }
.spk-prices--rule .spk-prices__list { border-top: 2px solid var(--spk-text); }

.spk-prices__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 22px 0;
	border-bottom: 1px solid var(--spk-line);
}

.spk-prices__what { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.spk-prices__name { font-size: clamp(17px, 1.46cqi, 21px); font-weight: 600; line-height: 1.3; }
.spk-prices__desc { font-size: 16px; color: var(--spk-muted); line-height: 1.45; }
.spk-prices__price { font-family: var(--spk-font-mono); font-size: clamp(17px, 1.53cqi, 22px); font-weight: 500; white-space: nowrap; }

.spk-prices--s .spk-prices__item { padding: 14px 0; }
.spk-prices--s .spk-prices__name { font-size: 17px; }
.spk-prices--s .spk-prices__desc { font-size: 15px; }
.spk-prices--s .spk-prices__price { font-size: 17px; }

/* ---------------------------------------------------------------- Hours & status */

.spk-hours { margin: 0; border-top: 2px solid var(--spk-text); }

.spk-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--spk-line);
	font-size: 17px;
}

.spk-hours__row dt { font-weight: 400; }
.spk-hours__row dd { margin: 0; font-family: var(--spk-font-mono); }
.spk-hours__row.is-closed { color: var(--spk-muted); }
.spk-hours__status { margin-bottom: 14px; }

.spk-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.spk-status__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--spk-text) 45%, transparent);
	flex-shrink: 0;
}

.spk-status.is-open .spk-status__dot { background: var(--spk-c-positive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--spk-c-positive) 25%, transparent); }
.spk-hours-inline { font-size: 15px; }

/* ---------------------------------------------------------------- Map */

.spk-map {
	position: relative;
	height: var(--spk-maph, 520px);
	min-height: 240px;
	border-radius: var(--spk-radius);
	overflow: hidden;
	background: var(--spk-c-sand);
	color: var(--spk-c-ink);
}

.spk-map__roads {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	stroke: var(--spk-c-line);
}

.spk-map__pin {
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.spk-map__label {
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--spk-c-ink);
	color: var(--spk-c-paper);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.spk-map__pinbody { fill: var(--spk-c-accent); stroke: var(--spk-c-ink); }
.spk-map__pindot { fill: var(--spk-c-ink); }

.spk-map__link {
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: var(--spk-pill, 999px);
	background: var(--spk-c-card);
	border: 1px solid var(--spk-c-line);
	color: var(--spk-c-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.spk-map__link:hover { border-color: var(--spk-c-ink); }

.spk-map__load {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--spk-c-ink);
	font: 600 16px/1.3 var(--spk-font-body);
	cursor: pointer;
}

.spk-map__load small { font-weight: 400; font-size: 13px; color: var(--spk-c-muted); }
.spk-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- Bike list */

.spk-bikes { display: flex; flex-direction: column; }

.spk-bikes__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px 24px;
	flex-wrap: wrap;
	padding-bottom: 28px;
}

.spk-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.spk-chip {
	min-height: 46px;
	padding: 0 18px;
	border-radius: var(--spk-pill, 999px);
	border: 1.5px solid var(--spk-line);
	background: transparent;
	color: var(--spk-text);
	font: 600 15px/1 var(--spk-font-body);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.spk-chip:hover { border-color: var(--spk-text); }
.spk-chip[aria-pressed="true"] { background: var(--spk-text); border-color: var(--spk-text); color: var(--spk-bg); }
.spk-chip__count { font-family: var(--spk-font-mono); font-weight: 400; opacity: 0.75; margin-left: 2px; }

.spk-bikes__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.spk-bikes__sort select,
.spk-form select {
	min-height: 46px;
	padding: 0 40px 0 12px;
	border: 1.5px solid var(--spk-c-ink);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23151714' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--spk-c-ink);
	font: 400 15px/1.2 var(--spk-font-body);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.spk-bikes__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	flex-wrap: wrap;
	padding-bottom: 24px;
	font-size: 15px;
	color: var(--spk-muted);
}

.spk-bikes__meta strong { color: var(--spk-text); }
.spk-bikes__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.spk-legend { display: inline-flex; align-items: center; gap: 8px; }
.spk-legend__swatch { width: 12px; height: 12px; border-radius: 3px; }

.spk-bikes__grid {
	display: grid;
	grid-template-columns: repeat(var(--spk-n, 4), minmax(0, 1fr));
	gap: 24px;
}

.spk-bikecard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--spk-surface);
	border: 1px solid var(--spk-line);
	border-radius: var(--spk-radius);
	color: var(--spk-text);
}

.spk-bikecard[hidden] { display: none; }

.spk-bike__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	padding-top: 22px;
	background: var(--spk-c-sand);
	color: var(--spk-c-ink);
	--spk-rim: color-mix(in srgb, var(--spk-c-ink) 38%, var(--spk-c-paper));
	--spk-shock: var(--spk-c-brand);
}

.spk-bike__media .spk-bike { width: 250px; max-width: 86%; height: auto; }
/* Photos sit inside the box with per-bike (or per-list) padding: top/bottom as % of the box height, sides as % of its width. */
.spk-bike__media.has-photo { padding: 0; }
.spk-bike__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.spk-bike__media.has-photo .spk-bike__img {
	position: absolute;
	top: var(--spk-pt, 6%);
	left: var(--spk-pl, 6%);
	width: calc(100% - var(--spk-pl, 6%) - var(--spk-pr, 6%));
	height: calc(100% - var(--spk-pt, 6%) - var(--spk-pb, 6%));
	max-width: none;
}

/* Top-left: zoom button (photos only) and stock badge. */
.spk-bike__tags {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
}

.spk-zoom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--spk-c-line);
	border-radius: 10px;
	background: var(--spk-c-card);
	color: var(--spk-c-ink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	cursor: zoom-in;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.spk-zoom:hover { background: var(--spk-c-ink); border-color: var(--spk-c-ink); color: var(--spk-c-paper); }
.spk-zoom:focus-visible { outline: 3px solid var(--spk-c-ink); outline-offset: 2px; }

@media (pointer: coarse) {
	.spk-zoom { width: 44px; height: 44px; }
	.spk-bike__tags { min-height: 44px; }
	.spk-bike__year { line-height: 44px; }
}

.spk-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 6px;
	font-family: var(--spk-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.spk-badge--store { background: var(--spk-c-brand); color: var(--spk-c-paper); }
.spk-badge--demo { background: var(--spk-c-accent); color: var(--spk-c-ink); }
.spk-badge--order { background: var(--spk-c-line); color: var(--spk-c-ink); }
.spk-bike__year { position: absolute; right: 14px; top: 12px; z-index: 1; font-family: var(--spk-font-mono); font-size: 12px; line-height: 40px; color: var(--spk-c-muted); }

.spk-bike__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
}

.spk-bike__title { display: flex; flex-direction: column; gap: 6px; }
.spk-bike__spec { font-family: var(--spk-font-mono); font-size: 13px; color: var(--spk-muted); }

.spk-bike__name {
	margin: 0;
	font-family: var(--spk-font-display);
	font-weight: 900;
	font-size: clamp(28px, 2.2cqi, 32px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--spk-text);
	overflow-wrap: break-word;
}

.spk-bike__price {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--spk-line);
}

.spk-bike__amount { display: flex; align-items: baseline; gap: 8px; }
.spk-bike__rrp { font-family: var(--spk-font-mono); font-size: 12px; color: var(--spk-muted); }
.spk-bike__value { font-family: var(--spk-font-mono); font-size: 24px; font-weight: 600; }
.spk-bike__note { font-size: 13px; color: var(--spk-muted); }
.spk-bike__amount { flex-wrap: wrap; }
.spk-bike__was { font-family: var(--spk-font-mono); font-size: 15px; color: var(--spk-muted); text-decoration-thickness: 1.5px; }
.spk-bike__save {
	align-self: center;
	padding: 3px 7px;
	border-radius: 6px;
	background: var(--spk-c-ink);
	color: var(--spk-c-accent);
	font-family: var(--spk-font-body);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}
.spk-badge--sale { background: var(--spk-c-ink); color: var(--spk-c-accent); }
.spk-bikedetail__price .spk-bike__was { font-size: 18px; }

.spk-bike__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.spk-bike__actions .spk-btn { flex: 1 1 calc(50% - 4px); min-width: 0; padding: 0 12px; }
a.spk-btn[hidden] { display: none; }
.spk-bikes__empty,
.spk-bikes__none { padding: 40px 0; text-align: center; color: var(--spk-muted); }

.spk-bike__name a { color: inherit; text-decoration: none; }
.spk-bike__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.spk-bike__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	min-height: 32px;
	font-size: 14px;
	font-weight: 600;
	color: var(--spk-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.spk-bike__more:hover { text-decoration-thickness: 2px; }
.spk-bike__more .spk-icon { transition: transform 0.15s ease; }
.spk-bike__more:hover .spk-icon { transform: translateX(3px); }

.spk-bikes__title { margin-bottom: clamp(20px, 2.2cqi, 32px); }

/* Frame sizes */
.spk-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.spk-size {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-width: 32px;
	padding: 4px 8px;
	border: 1px solid var(--spk-line);
	border-radius: 6px;
	font-family: var(--spk-font-mono);
	font-size: 12px;
	line-height: 1.2;
	text-align: center;
	color: var(--spk-text);
}
.spk-sizes--s { margin-top: 4px; }
.spk-sizes--l { gap: 8px; }
.spk-sizes--l .spk-size { min-width: 56px; padding: 8px 12px; border-radius: 8px; background: var(--spk-surface); }
.spk-sizes--l .spk-size__name { font-size: 15px; font-weight: 600; }
.spk-size__height { margin-top: 2px; font-size: 11px; color: var(--spk-muted); white-space: nowrap; }

/* Stock on size chips: filled = in the shop, accent = demo bike, dashed = order in. */
.spk-size.is-store { border-color: var(--spk-c-brand); background: var(--spk-c-brand); color: var(--spk-c-paper); }
.spk-size.is-demo { border-color: var(--spk-c-accent); background: var(--spk-c-accent); color: var(--spk-c-ink); }
.spk-size.is-order { border-style: dashed; background: transparent; color: var(--spk-muted); }
.spk-size.is-store .spk-size__height,
.spk-size.is-demo .spk-size__height { color: inherit; }
.spk-size__stock { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.spk-size__low { margin-top: 1px; font-size: 10px; line-height: 1.1; white-space: nowrap; }
.spk-size__low[hidden] { display: none; }
.spk-size.is-low { box-shadow: 0 0 0 2px var(--spk-bg, #fff), 0 0 0 3px var(--spk-c-brand); }

.spk-bikedetail__sizes { display: flex; flex-direction: column; gap: 10px; }
.spk-bikedetail__label {
	margin: 0;
	font-family: var(--spk-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--spk-muted);
}
.spk-bikedetail__fit { margin: 0; font-size: 14px; color: var(--spk-muted); }

.spk-field[hidden] { display: none; }

/* ---------------------------------------------------------------- Bike page */

.spk-bikedetail {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 3.3cqi, 48px);
	align-items: start;
}

.spk-bikedetail__media.spk-bike__media {
	height: auto;
	aspect-ratio: 4 / 3;
	padding-top: 0;
	border-radius: var(--spk-radius);
	overflow: hidden;
}

.spk-bikedetail__media .spk-bike { width: 520px; max-width: 80%; }
.spk-bikedetail__media .spk-bike__tags { left: 16px; top: 16px; }
.spk-bikedetail__media .spk-bike__year { right: 18px; top: 16px; font-size: 13px; }

.spk-bikedetail__body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.spk-bikedetail__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	min-height: 32px;
	font-family: var(--spk-font-mono);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--spk-muted);
	text-decoration: none;
}
.spk-bikedetail__back:hover { color: var(--spk-text); text-decoration: underline; text-underline-offset: 4px; }

.spk-bikedetail__title { display: flex; flex-direction: column; gap: 10px; }
.spk-bikedetail__title .spk-bike__spec { font-size: 14px; }

.spk-bikedetail__name {
	margin: 0;
	font-family: var(--spk-font-display);
	font-weight: 900;
	font-size: clamp(44px, 5cqi, 72px);
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--spk-text);
	overflow-wrap: break-word;
}

.spk-bikedetail__price {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 0;
	border-top: 1px solid var(--spk-line);
	border-bottom: 1px solid var(--spk-line);
}
.spk-bikedetail__value { font-family: var(--spk-font-mono); font-size: clamp(28px, 2.5cqi, 36px); font-weight: 600; line-height: 1.1; }
.spk-bikedetail__price .spk-bike__rrp { font-size: 13px; }
.spk-bikedetail__price .spk-bike__note { font-size: 14px; }

.spk-bikedetail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.spk-bikedetail__actions .spk-btn { flex: 1 1 200px; }

.spk-bikedetail__ask {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	min-height: 32px;
	font-weight: 600;
	color: var(--spk-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.spk-bikedetail__ask:hover { text-decoration-thickness: 2px; }

.spk-bikedetail__about { max-width: 62ch; padding-top: 4px; }

@container spk (min-width: 860px) {
	.spk-bikedetail--side { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.spk-bikedetail--side .spk-bikedetail__body { padding-top: 4px; }
}

@container spk (min-width: 860px) {
	.spk-bikedetail--stack .spk-bikedetail__media.spk-bike__media { aspect-ratio: 16 / 7; }
}

/* Specification table */
.spk-specs__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 2.8cqi, 40px) clamp(24px, 3.3cqi, 48px); align-items: start; }

@container spk (min-width: 700px) {
	.spk-specs--2,
	.spk-specs--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container spk (min-width: 1000px) {
	.spk-specs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.spk-specs__group { min-width: 0; }

.spk-specs__title {
	margin: 0 0 6px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--spk-text);
	font-family: var(--spk-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--spk-text);
}

.spk-specs__list { margin: 0; }

.spk-specs__row {
	display: grid;
	grid-template-columns: minmax(7em, 2fr) minmax(0, 3fr);
	gap: 4px 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--spk-line);
	font-size: 15px;
	line-height: 1.45;
}

.spk-specs__row dt { color: var(--spk-muted); }
.spk-specs__row dd { margin: 0; color: var(--spk-text); overflow-wrap: anywhere; }

.spk-specs__empty {
	margin-top: clamp(20px, 2.2cqi, 28px);
	padding: 18px 20px;
	border: 1px dashed var(--spk-line);
	border-radius: var(--spk-radius);
	color: var(--spk-body);
	max-width: 62ch;
}

/* ---------------------------------------------------------------- Forms */

.spk-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: var(--spk-text);
}

.spk-form--card {
	padding: clamp(22px, 2.2cqi, 32px);
	border: 1px solid var(--spk-line);
	border-radius: var(--spk-radius);
	background: var(--spk-surface);
}

.spk-form__head { display: flex; flex-direction: column; gap: 6px; }

.spk-form__title {
	font-family: var(--spk-font-display);
	font-weight: 900;
	font-size: clamp(28px, 2.5cqi, 36px);
	line-height: 1;
	text-transform: uppercase;
}

.spk-form__intro { margin: 0; font-size: 15px; color: var(--spk-muted); }

.spk-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.spk-field__label { padding: 0; font-size: 14px; font-weight: 600; }
legend.spk-field__label { margin-bottom: 8px; }

.spk-form input[type="text"],
.spk-form input[type="tel"],
.spk-form input[type="email"],
.spk-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 0 14px;
	border: 1.5px solid var(--spk-c-ink);
	border-radius: 10px;
	background: #fff;
	color: var(--spk-c-ink);
	font: 400 16px/1.4 var(--spk-font-body);
}

.spk-form select { width: 100%; min-height: 50px; padding-left: 14px; font-size: 16px; }
.spk-form textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.spk-form [aria-invalid="true"] { border-color: #B42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15); }

.spk-days {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.spk-days--want { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }

.spk-day { position: relative; display: block; cursor: pointer; }

.spk-day input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.spk-day span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 4px 8px;
	border: 1.5px solid var(--spk-c-line);
	border-radius: 10px;
	background: #fff;
	color: var(--spk-c-ink);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.spk-day:hover span { border-color: var(--spk-c-ink); }
.spk-day input:checked + span { background: var(--spk-c-accent); border-color: var(--spk-c-ink); }
.spk-day input:focus-visible + span { outline: 3px solid var(--spk-focus); outline-offset: 2px; }

.spk-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.spk-form__msg { margin: 0; font-size: 15px; line-height: 1.45; }
.spk-form__msg:empty { display: none; }
.spk-form__msg.is-error { padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8A1C1C; }
.spk-form__msg.is-success { padding: 16px 18px; border-radius: 10px; background: color-mix(in srgb, var(--spk-c-brand) 12%, #fff); color: var(--spk-c-brand); font-weight: 600; }
.spk-form.is-sent > :not(.spk-form__head):not(.spk-form__msg) { display: none; }
.spk-form button[disabled] { opacity: 0.6; cursor: wait; }

/* ---------------------------------------------------------------- Reviews & rating */

.spk-reviews {
	display: grid;
	grid-template-columns: repeat(var(--spk-n, 3), minmax(0, 1fr));
	gap: 20px;
}

.spk-review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	min-height: 220px;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--spk-line);
	border-radius: var(--spk-radius);
	background: var(--spk-surface);
}

.spk-review--empty {
	background: transparent;
	border: 1.5px dashed var(--spk-rim);
}

.spk-review__quote { margin: 0; font-size: clamp(17px, 1.32cqi, 19px); line-height: 1.5; color: var(--spk-text); }
.spk-review--empty .spk-review__quote { color: var(--spk-muted); }
.spk-review__by { font-family: var(--spk-font-mono); font-size: 14px; color: var(--spk-muted); }

.spk-rating {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--spk-text);
	text-decoration: none;
}

.spk-rating__score { font-family: var(--spk-font-display); font-weight: 900; font-size: clamp(44px, 3.9cqi, 56px); line-height: 1; }
.spk-rating__label { font-size: 15px; color: var(--spk-muted); }

/* ---------------------------------------------------------------- Info bar */

.spk-infobar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 40px;
	font-family: var(--spk-font-mono);
	font-size: 13px;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.spk-infobar__left,
.spk-infobar__right { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.spk-infobar__right { gap: 24px; }
.spk-infobar__mobile { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.spk-infobar__link { color: var(--spk-text); text-decoration: none; }
.spk-infobar__link.is-first { color: var(--spk-c-accent); }
.spk-infobar__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.spk-scheme--light .spk-infobar__link.is-first,
.spk-bg--paper .spk-infobar__link.is-first,
.spk-bg--card .spk-infobar__link.is-first { color: var(--spk-text); font-weight: 600; }

/* ---------------------------------------------------------------- Header */

/* Keep the header (and its phone menu) above the rows that follow it. */
.spk-row:has(.spk-header) { z-index: 30; }
.spk-chrome--header { position: relative; z-index: 30; }

.spk-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 88px;
}

.spk-logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--spk-text);
	text-decoration: none;
	flex-shrink: 0;
}

.spk-logo__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--spk-c-accent);
	color: var(--spk-c-ink);
	font-family: var(--spk-font-display);
	font-weight: 900;
	font-size: 30px;
	line-height: 1;
}

.spk-logo__text { display: flex; flex-direction: column; gap: 2px; }
.spk-logo__name { font-family: var(--spk-font-display); font-weight: 900; font-size: 30px; line-height: 0.9; letter-spacing: 0.02em; }
.spk-logo__tag { font-family: var(--spk-font-mono); font-size: 11px; letter-spacing: 0.18em; line-height: 1.2; }
.spk-logo__img { display: block; max-height: 52px; width: auto; }

.spk-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.5cqi, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.spk-nav a {
	display: inline-block;
	padding: 8px 0;
	color: var(--spk-text);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	text-underline-offset: 8px;
	text-decoration-thickness: 3px;
	text-decoration-color: var(--spk-c-accent);
}

.spk-nav a:hover,
.spk-nav a[aria-current="page"] { text-decoration-line: underline; }

.spk-header__actions { display: flex; align-items: center; gap: 12px; }

.spk-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid var(--spk-text);
	border-radius: 12px;
	background: transparent;
	color: var(--spk-text);
	cursor: pointer;
}

.spk-menu-toggle .spk-icon--close,
.spk-menu-toggle[aria-expanded="true"] .spk-icon--menu { display: none; }
.spk-menu-toggle[aria-expanded="true"] .spk-icon--close { display: block; }

.spk-header__panel {
	position: absolute;
	top: 100%;
	left: calc(-1 * var(--spk-gutter));
	right: calc(-1 * var(--spk-gutter));
	z-index: 60;
	padding: 8px var(--spk-gutter) 24px;
	background: var(--spk-bg);
	border-bottom: 1px solid var(--spk-line);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.spk-header__panel[hidden] { display: none; }
.spk-nav--panel .spk-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.spk-nav--panel a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--spk-line); text-decoration: none; }
.spk-nav--panel a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--spk-c-accent); }
.spk-header__panel-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.spk-header__panel-actions .spk-btn { width: 100%; min-height: 52px; }

/* ---------------------------------------------------------------- Footer */

.spk-footer {
	display: flex;
	flex-direction: column;
	gap: 40px;
	color: var(--spk-muted);
}

.spk-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.spk-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.spk-footer__name { font-family: var(--spk-font-display); font-weight: 900; font-size: clamp(48px, 4.45cqi, 64px); line-height: 0.9; color: var(--spk-text); }
.spk-footer__tagline { font-size: 15px; }
.spk-footer__cols { display: flex; gap: 32px clamp(32px, 5cqi, 72px); flex-wrap: wrap; font-size: 15px; }
.spk-footer__col { display: flex; flex-direction: column; gap: 12px; }
.spk-footer__heading { color: var(--spk-text); font-weight: 600; }
.spk-footer__col ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.spk-footer a { color: var(--spk-muted); text-decoration: none; }
.spk-footer a:hover { color: var(--spk-text); text-decoration: underline; text-underline-offset: 3px; }
.spk-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; }
.spk-footer__copy { font-family: var(--spk-font-mono); font-size: 13px; }
.spk-footer__contact { font-size: 15px; }
.spk-footer__contact a { color: var(--spk-highlight); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- Full-screen photo viewer */

html.spk-lightbox-open,
html.spk-lightbox-open body { overflow: hidden; }

.spk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 72px 16px 56px;
	background: rgba(12, 13, 11, 0.95);
	color: var(--spk-c-paper);
	font-family: var(--spk-font-body);
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	animation: spk-lb-in 0.18s ease;
}

.spk-lightbox[hidden] { display: none; }

@keyframes spk-lb-in { from { opacity: 0; } }

.spk-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: min(1600px, 100%);
	max-height: 100%;
	margin: 0;
}

.spk-lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 190px);
	max-height: calc(100dvh - 190px);
	object-fit: contain;
	border-radius: 12px;
	background: #fff;
	user-select: none;
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
	transition: opacity 0.2s ease;
}

.spk-lightbox.is-loading .spk-lightbox__img { opacity: 0; }

.spk-lightbox.is-loading::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid color-mix(in srgb, var(--spk-c-paper) 30%, transparent);
	border-top-color: var(--spk-c-accent);
	border-radius: 50%;
	animation: spk-lb-spin 0.8s linear infinite;
}

@keyframes spk-lb-spin { to { transform: rotate(360deg); } }

.spk-lightbox__caption {
	font-family: var(--spk-font-display);
	font-weight: 900;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
}

.spk-lightbox__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--spk-c-paper);
	color: var(--spk-c-ink);
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.spk-lightbox__close:hover { background: var(--spk-c-accent); }
.spk-lightbox__close:focus-visible { outline: 3px solid var(--spk-c-accent); outline-offset: 3px; }

.spk-lightbox__hint {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 18px;
	margin: 0;
	font-family: var(--spk-font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-align: center;
	color: color-mix(in srgb, var(--spk-c-paper) 72%, transparent);
	pointer-events: none;
}

.spk-lightbox__hint-touch { display: none; }

@media (hover: none) {
	.spk-lightbox__hint-mouse { display: none; }
	.spk-lightbox__hint-touch { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
	.spk-lightbox { animation: none; }
	.spk-lightbox.is-loading::after { animation-duration: 2s; }
}

/* ---------------------------------------------------------------- Mobile action bar */

.spk-actionbar { display: none; }

@media (max-width: 600px) {
	body.spk-has-actionbar { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

	.spk-actionbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		display: grid;
		grid-template-columns: repeat(var(--spk-ab, 3), minmax(0, 1fr));
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--spk-c-ink);
		font-family: var(--spk-font-body);
	}

	.spk-actionbar--1 { --spk-ab: 1; }
	.spk-actionbar--2 { --spk-ab: 2; }
	.spk-actionbar--3 { --spk-ab: 3; }
	.spk-actionbar--4 { --spk-ab: 4; }

	.spk-actionbar__btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-height: 56px;
		border: 1px solid color-mix(in srgb, var(--spk-c-paper) 17%, var(--spk-c-ink));
		border-radius: 12px;
		color: var(--spk-c-paper);
		font-size: 13px;
		font-weight: 600;
		text-decoration: none;
	}

	.spk-actionbar__btn.is-primary { background: var(--spk-c-accent); border-color: var(--spk-c-accent); color: var(--spk-c-ink); }
	.spk-actionbar__btn:focus-visible { outline: 3px solid var(--spk-c-accent); outline-offset: 2px; }
}

/* ---------------------------------------------------------------- Responsive: tablet */

@container spk (max-width: 900px) {
	.spk-row { min-height: 0; }

	.spk-stack--tablet > .spk-row__inner > .spk-cols > .spk-col { grid-column: 1 / -1; }
	.spk-stack--tablet.spk-reverse > .spk-row__inner > .spk-cols { display: flex; flex-direction: column-reverse; gap: var(--spk-rgap); }
	.spk-stack--tablet .spk-justify--right { justify-content: flex-start; align-items: flex-start; text-align: left; }
	.spk-stack--tablet .spk-col.spk-align--right { text-align: left; }
	.spk-stack--tablet .spk-col.spk-align--right .spk-justify--inherit { justify-content: flex-start; align-items: flex-start; }

	.spk-grid-3,
	.spk-grid-4,
	.spk-grid-5,
	.spk-grid-6 { --spk-n: 2; }
	.spk-gallery.spk-grid-4,
	.spk-gallery.spk-grid-5,
	.spk-gallery.spk-grid-6 { --spk-n: 4; }

	.spk-checklist--grid .spk-checklist__items { --spk-cl-cols: 2; }
	.spk-checklist--strip .spk-checklist__items { grid-template-columns: repeat(min(var(--spk-cl-cols, 5), 3), minmax(0, 1fr)); }
	.spk-checklist--strip .spk-checklist__item { min-height: 72px; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--spk-line); }
	.spk-cl-title--left { grid-template-columns: 1fr; gap: 18px; }

	.spk-nav:not(.spk-nav--panel),
	.spk-header__actions { display: none; }
	.spk-menu-toggle { display: inline-flex; }
	.spk-header { min-height: 72px; }

	.spk-callout--inline { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- Responsive: phones */

@container spk (max-width: 600px) {
	.spk-stack--mobile > .spk-row__inner > .spk-cols > .spk-col { grid-column: 1 / -1; }
	.spk-stack--mobile.spk-reverse > .spk-row__inner > .spk-cols { display: flex; flex-direction: column-reverse; gap: var(--spk-rgap); }
	.spk-stack--mobile .spk-justify--right { justify-content: flex-start; align-items: flex-start; text-align: left; }

	.spk-hide--mobile { display: none !important; }

	.spk-grid-2,
	.spk-grid-3,
	.spk-grid-4,
	.spk-grid-5,
	.spk-grid-6 { --spk-n: 1; }
	.spk-gallery { gap: 8px; }
	.spk-gallery.spk-grid-2 { --spk-n: 2; }
	.spk-gallery.spk-grid-3,
	.spk-gallery.spk-grid-4 { --spk-n: 4; }
	.spk-gallery.spk-grid-5,
	.spk-gallery.spk-grid-6 { --spk-n: 3; }
	.spk-gallery__tile { font-size: 10px; }

	.spk-buttons--mfull:not(.spk-buttons--grid) .spk-btn { flex: 1 1 auto; }
	.spk-btn--xl { min-height: 56px; font-size: 17px; padding: 0 24px; }

	.spk-checklist--grid .spk-checklist__items { --spk-cl-cols: 1; }
	.spk-checklist--strip .spk-checklist__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spk-checklist--strip .spk-checklist__item { min-height: 0; padding: 14px 16px; font-size: 14px; }
	.spk-checklist--strip .spk-checklist__item:nth-child(odd) { border-right: 1px solid var(--spk-line); }

	.spk-compare__head { display: none; }
	.spk-compare__row { grid-template-columns: 1fr; row-gap: 8px; padding: 18px 0; }
	.spk-compare__mlabel { display: block; margin-bottom: 2px; font-family: var(--spk-font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: var(--spk-muted); }

	.spk-prices__item { padding: 14px 0; gap: 16px; }
	.spk-prices__desc { font-size: 15px; }

	.spk-hours__row { font-size: 16px; }
	.spk-map { height: min(var(--spk-maph, 520px), 320px); }

	.spk-bikes__bar { padding-bottom: 18px; }
	.spk-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-right: calc(-1 * var(--spk-gutter));
		padding-right: var(--spk-gutter);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		width: calc(100% + var(--spk-gutter));
	}
	.spk-chips::-webkit-scrollbar { display: none; }
	.spk-chip { min-height: 44px; padding: 0 16px; font-size: 14px; flex-shrink: 0; }
	.spk-bikes__meta { font-size: 13px; }
	.spk-bike__media { height: 180px; }

	.spk-review { min-height: 0; padding: 22px; }

	.spk-infobar { font-size: 12px; min-height: 36px; letter-spacing: 0; }
	.spk-infobar__left { gap: 12px; }
	.spk-infobar__item,
	.spk-infobar__right { display: none; }
	.spk-infobar.has-mobile-text .spk-infobar__mobile { display: inline; }
	.spk-infobar__left { justify-content: space-between; width: 100%; flex-wrap: nowrap; }

	.spk-header { min-height: 64px; gap: 12px; }
	.spk-logo { gap: 10px; }
	.spk-logo__mark { width: 36px; height: 36px; border-radius: 8px; font-size: 24px; }
	.spk-logo__name { font-size: 26px; }
	.spk-logo__tag { display: none; }

	.spk-callout--inline { flex-direction: column; align-items: flex-start; }
	.spk-footer__bottom { flex-direction: column; align-items: flex-start; }
	.spk-spacer { height: var(--spk-sp-m, 24px); }
}

@container spk (min-width: 601px) {
	.spk-hide--desktop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.spk-root *,
	.spk-root *::before,
	.spk-root *::after { transition: none !important; animation: none !important; }
}

/* Bike categories: photo panel at the foot of each tile */
.spk-card__photo {
	position: relative;
	margin-top: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--spk-radius-sm, 8px);
	background: var(--spk-c-sand);
}

.spk-card__photo-img {
	position: absolute;
	inset: 6%;
	width: 88%;
	height: 88%;
	max-width: none;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.25s ease;
}

.spk-card--link:hover .spk-card__photo-img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
	.spk-card--link:hover .spk-card__photo-img { transform: none; }
}
.spk-bikecats .spk-card__title { text-transform: uppercase; }

/* Colour swatches */
.spk-colours { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spk-swatch {
	position: relative;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sw1) 50%, var(--sw2) 50%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
	cursor: pointer;
}
.spk-swatch::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 2px solid transparent;
	border-radius: 50%;
}
.spk-swatch[aria-pressed="true"]::after { border-color: var(--spk-text); }
.spk-swatch:hover::after { border-color: var(--spk-line); }
.spk-swatch[aria-pressed="true"]:hover::after { border-color: var(--spk-text); }
.spk-colours--card { margin-top: 6px; gap: 10px; }
.spk-colours--page .spk-swatch { width: 36px; height: 36px; }
.spk-colours--page { gap: 14px; }
.spk-colours__name { margin: 0; font-size: 14px; color: var(--spk-muted); }
.spk-bikedetail__colours { display: flex; flex-direction: column; gap: 10px; }

/* Bigger tap targets on touch screens without making the dots bigger. */
@media (pointer: coarse) {
	.spk-swatch::before { content: ""; position: absolute; inset: -10px; }
}

/* Colour swatches */
.spk-colours { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spk-swatch {
	position: relative;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sw1) 50%, var(--sw2) 50%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
	cursor: pointer;
}
.spk-swatch::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 2px solid transparent;
	border-radius: 50%;
}
.spk-swatch:hover::after { border-color: var(--spk-line); }
.spk-swatch[aria-pressed="true"]::after,
.spk-swatch[aria-pressed="true"]:hover::after { border-color: var(--spk-text); }
.spk-colours--card { margin-top: 6px; gap: 12px; }
.spk-colours--page { gap: 16px; }
.spk-colours--page .spk-swatch { width: 36px; height: 36px; }
.spk-colours__name { margin: 0; font-size: 14px; color: var(--spk-muted); }
.spk-bikedetail__colours { display: flex; flex-direction: column; gap: 10px; }

/* Bigger tap targets on touch screens without making the dots bigger. */
@media (pointer: coarse) {
	.spk-swatch::before { content: ""; position: absolute; inset: -10px; }
}
