/* =========================================================================
   Stride — performance sportswear store
   Sections: tokens, base, layout, motion helpers, components, templates,
   system pages, responsive, reduced motion, then the sport skin (27) that
   re-treats the shared layer for this brand, and the commerce surfaces.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------------- */

:root {
	/* Ink / dark surfaces — cool near-black, never warm */
	--ink: #14161a;
	--ink-2: #1c1f24;
	--steel: #272b31;
	--steel-2: #343a42;

	/* Light surfaces — cool greys */
	--white: #ffffff;
	--paper: #f2f3f5;
	--paper-2: #e7e9ec;

	/* Text */
	--text: #14161a;
	--muted: #6b7280;
	--text-invert: #f4f5f7;
	--muted-invert: #a1a8b4;

	/* Brand — electric lime. Lime is a LIGHT colour, so it is only ever a
	   background: anything sitting on it takes --accent-ink (near-black).
	   Lime used as text, an icon or a state indicator ON a light surface
	   fails contrast, so those take --accent-text instead. Nothing in this
	   sheet should put light type on --accent. */
	--accent: #c8f000;
	--accent-deep: #a8cc00;
	--accent-ink: #14161a;
	--accent-text: #4d6300;
	--accent-soft: rgba(200, 240, 0, 0.26);

	/* Danger — a cool brick red so errors never read as a second brand colour.
	   6.6:1 on white, 5.9:1 on --paper. */
	--danger: #b42318;

	/* Lines */
	--line: #e2e5e9;
	--line-strong: #cbd0d7;
	--line-invert: rgba(244, 245, 247, 0.15);
	--line-invert-strong: rgba(244, 245, 247, 0.32);

	/* Type — a wide grotesque display over a neutral sans. --font-mono is
	   Inter tracked out; it labels sizes and technical values, it is not a
	   typewriter face. */
	--font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-mono: 'Inter', 'Helvetica Neue', Arial, sans-serif;

	/* Scale */
	--shell: 1280px;
	--gutter: clamp(1.25rem, 4vw, 2.75rem);
	--section-y: clamp(4.25rem, 8.5vw, 8rem);

	--radius: 4px;
	--radius-lg: 8px;

	--shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.06), 0 6px 18px rgba(20, 22, 26, 0.06);
	--shadow-md: 0 14px 40px rgba(20, 22, 26, 0.13);

	--ease: cubic-bezier(0.2, 0.9, 0.25, 1);
	--dur: 0.36s;
}

/* -------------------------------------------------------------------------
   2. Base
   ---------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

html.has-motion {
	scroll-behavior: auto;
}

html.is-locked,
html.is-locked body {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	font-feature-settings: 'cv05' 1, 'ss01' 1;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.022em;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration: none;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

input, select, textarea {
	font: inherit;
	color: inherit;
}

/* Lime alone is only ~1.7:1 against white, so the focus ring pairs it with an
   ink ring: the lime reads on dark grounds, the ink reads on light ones. */
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--ink);
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius);
}

.img-fallback {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background:
		repeating-linear-gradient(135deg, var(--paper-2) 0 10px, var(--paper) 10px 20px);
}

/* -------------------------------------------------------------------------
   3. Layout
   ---------------------------------------------------------------------- */

.shell {
	width: min(100% - var(--gutter) * 2, var(--shell));
	margin-inline: auto;
}

.section {
	padding-block: var(--section-y);
	position: relative;
}

.section--tight {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
}

.layout--sidebar {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1000px) {
	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.site-main {
	display: block;
}

/* -------------------------------------------------------------------------
   4. Motion helpers
   ---------------------------------------------------------------------- */

html.has-motion [data-motion-text],
html.has-motion [data-reveal],
html.has-motion [data-reveal-group],
html.has-motion [data-image-reveal] {
	visibility: hidden;
}

.motion-word-mask {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.motion-word {
	display: inline-block;
	will-change: transform, opacity;
}

[data-image-reveal] {
	overflow: hidden;
}

.cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: var(--accent);
	pointer-events: none;
	mix-blend-mode: difference;
	opacity: 0;
	transition: opacity 0.3s;
	display: grid;
	place-items: center;
}

.cursor.is-live {
	opacity: 1;
}

.cursor__label {
	font-family: var(--font-mono);
	font-size: 4px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
}

@media (pointer: coarse) {
	.cursor { display: none; }
}

/* -------------------------------------------------------------------------
   5. Typography components
   ---------------------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1.1rem;
}

.eyebrow__mark {
	width: 26px;
	height: 1px;
	background: var(--accent);
	flex: none;
}

.eyebrow--light {
	color: var(--muted-invert);
}

.sec-head {
	display: grid;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
	align-items: end;
}

@media (min-width: 900px) {
	.sec-head {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	}

	.sec-head--center {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}
}

.sec-head__title {
	font-size: clamp(1.85rem, 4vw, 3rem);
}

.sec-head__text {
	color: var(--muted);
	font-size: 1.02rem;
	max-width: 46ch;
}

.sec-head--light .sec-head__title { color: var(--text-invert); }
.sec-head--light .sec-head__text { color: var(--muted-invert); }

.sec-head__aside {
	display: grid;
	gap: 1rem;
	justify-items: start;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--text);
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 0.3rem;
	transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}

.link-arrow svg {
	transition: transform var(--dur) var(--ease);
}

.link-arrow:hover {
	color: var(--accent-text);
	border-color: var(--accent);
	gap: 0.85rem;
}

.link-arrow:hover svg {
	transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 52px;
	padding: 0 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.94rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
		border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
	will-change: transform;
}

.btn__icon {
	display: inline-flex;
	transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--accent);
	color: var(--accent-ink);
}

.btn--primary:hover {
	background: var(--accent-deep);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--line-invert-strong);
	color: var(--text-invert);
	backdrop-filter: blur(6px);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--text-invert);
}

.btn--line {
	border-color: var(--line-strong);
	color: var(--text);
}

.btn--line:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.btn--sm {
	min-height: 44px;
	padding: 0 1.15rem;
	font-size: 0.88rem;
}

.btn--xs {
	min-height: 38px;
	padding: 0 0.9rem;
	font-size: 0.82rem;
}

.btn--block {
	width: 100%;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	color: inherit;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.icon-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 2.5rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 1rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--muted);
	transition: all var(--dur) var(--ease);
}

.chip:hover,
.chip.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

/* -------------------------------------------------------------------------
   7. Header
   ---------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 100;
	background: var(--ink);
	color: var(--text-invert);
}

.site-header--sticky {
	position: sticky;
	top: 0;
}

.site-header.is-condensed {
	box-shadow: 0 1px 0 var(--line-invert), 0 10px 30px rgba(0, 0, 0, 0.28);
}

.site-header.is-condensed .topbar {
	display: none;
}

.topbar {
	border-bottom: 1px solid var(--line-invert);
	font-size: 0.8rem;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	min-height: 40px;
	padding-block: 0.4rem;
}

.topbar__text {
	color: var(--muted-invert);
	letter-spacing: 0.01em;
}

.topbar__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.topbar__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--muted-invert);
	transition: color var(--dur) var(--ease);
}

.topbar__contacts a:hover {
	color: var(--accent);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 78px;
	transition: min-height var(--dur) var(--ease);
}

.site-header.is-condensed .site-header__inner {
	min-height: 64px;
}

.brand {
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
	flex: none;
}

.brand__logo {
	max-height: 42px;
	width: auto;
}

.brand__logo--dark { display: none; }

.brand__type {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-size: 1.32rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.brand__mark {
	width: 10px;
	height: 22px;
	background: var(--accent);
	clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
	flex: none;
}

.brand__tagline {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-invert);
	padding-left: 1.2rem;
}

.nav {
	flex: 1;
	display: none;
}

@media (min-width: 1080px) {
	.nav { display: block; }
}

.nav__list {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
}

.nav__list > li {
	position: relative;
}

.menu-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.7rem 0.85rem;
	font-size: 0.93rem;
	font-weight: 500;
	color: var(--text-invert);
	position: relative;
	transition: color var(--dur) var(--ease);
}

.menu-link::after {
	content: '';
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.45rem;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur) var(--ease);
}

.nav__list > li:hover > .menu-link::after,
.nav__list > li.current-menu-item > .menu-link::after,
.nav__list > li.current-menu-ancestor > .menu-link::after {
	transform: scaleX(1);
}

.menu-link__caret {
	opacity: 0.55;
	transition: transform var(--dur) var(--ease);
}

.nav__list > li:hover .menu-link__caret {
	transform: rotate(180deg);
}

.nav .submenu-toggle {
	display: none;
}

.nav .submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 232px;
	padding: 0.5rem;
	background: var(--ink-2);
	border: 1px solid var(--line-invert);
	border-radius: var(--radius);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}

.nav__list > li:hover > .submenu,
.nav__list > li:focus-within > .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.submenu-link {
	display: block;
	padding: 0.6rem 0.8rem;
	font-size: 0.88rem;
	color: var(--muted-invert);
	border-radius: 3px;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.submenu-link:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-invert);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex: none;
}

.site-header__cta {
	display: none;
}

@media (min-width: 780px) {
	.site-header__cta { display: inline-flex; }
}

.burger {
	display: grid;
	place-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
}

@media (min-width: 1080px) {
	.burger { display: none; }
}

.burger__bar {
	width: 20px;
	height: 1.5px;
	background: currentColor;
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.burger.is-active .burger__bar:first-child {
	transform: translateY(3.25px) rotate(45deg);
}

.burger.is-active .burger__bar:last-child {
	transform: translateY(-3.25px) rotate(-45deg);
}

.header-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: transparent;
	overflow: hidden;
}

.header-progress__bar {
	display: block;
	height: 100%;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
}

/* Search panel */

.search-panel {
	position: sticky;
	top: 0;
	z-index: 99;
	background: var(--ink-2);
	border-bottom: 1px solid var(--line-invert);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.32s var(--ease);
}

.search-panel.is-open {
	max-height: 180px;
}

.search-panel__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 1.4rem;
}

.search-panel .searchform {
	flex: 1;
}

.search-panel__close {
	color: var(--muted-invert);
}

.searchform {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 1px solid var(--line-invert-strong);
}

.searchform__input {
	flex: 1;
	min-height: 48px;
	padding: 0 0.25rem;
	background: none;
	border: 0;
	color: var(--text-invert);
	font-size: 1.05rem;
}

.searchform__input::placeholder {
	color: var(--muted-invert);
}

.searchform__input:focus {
	outline: none;
}

.searchform__submit {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--accent);
}

/* Mobile navigation */

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.mobile-nav__scrim {
	position: absolute;
	inset: 0;
	background: rgba(11, 14, 19, 0.6);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
	border: 0;
	width: 100%;
}

.mobile-nav.is-open .mobile-nav__scrim {
	opacity: 1;
}

.mobile-nav__panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(420px, 100%);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.25rem var(--gutter) 2rem;
	background: var(--ink);
	color: var(--text-invert);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.36s var(--ease);
}

.mobile-nav.is-open .mobile-nav__panel {
	transform: translateX(0);
}

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--line-invert);
}

.mobile-nav__list {
	display: grid;
}

.mobile-nav__list li {
	border-bottom: 1px solid var(--line-invert);
	position: relative;
}

.mobile-nav__list .menu-link,
.mobile-nav__list .submenu-link {
	display: block;
	padding: 0.95rem 3rem 0.95rem 0;
	font-family: var(--font-display);
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--text-invert);
}

.mobile-nav__list .menu-link__caret {
	display: none;
}

.mobile-nav__list .submenu-toggle {
	position: absolute;
	top: 0.5rem;
	right: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	color: var(--muted-invert);
	transition: transform var(--dur) var(--ease);
}

.mobile-nav__list .has-sub.is-open > .submenu-toggle {
	transform: rotate(45deg);
	color: var(--accent);
}

.mobile-nav__list .submenu {
	display: none;
	padding-bottom: 0.5rem;
}

.mobile-nav__list .has-sub.is-open > .submenu {
	display: block;
}

.mobile-nav__list .submenu-link {
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 400;
	padding: 0.6rem 0 0.6rem 1rem;
	color: var(--muted-invert);
}

.mobile-nav__list .submenu li {
	border: 0;
}

.mobile-nav__foot {
	margin-top: auto;
	display: grid;
	gap: 1.25rem;
}

.mobile-nav__contacts {
	display: grid;
	gap: 0.7rem;
	font-size: 0.92rem;
	color: var(--muted-invert);
}

.mobile-nav__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(92vh, 880px);
	padding-top: clamp(4rem, 12vh, 9rem);
	background: var(--ink);
	color: var(--text-invert);
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: -6% 0;
	z-index: -1;
}

.hero__img,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__video {
	opacity: 0;
	transition: opacity 0.8s var(--ease);
}

.hero__video.is-ready {
	opacity: 1;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 14, 19, 0.3) 0%, rgba(11, 14, 19, 0.08) 34%, rgba(11, 14, 19, 0.88) 100%),
		linear-gradient(90deg, rgba(11, 14, 19, 0.74) 0%, rgba(11, 14, 19, 0) 64%);
}

.hero__rules {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(90deg, var(--line-invert) 1px, transparent 1px);
	background-size: min(16.66%, 200px) 100%;
	opacity: 0.5;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner {
	position: relative;
	padding-bottom: clamp(3rem, 7vw, 5rem);
	max-width: 100%;
}

.hero__title {
	font-size: clamp(2.8rem, 8.4vw, 6.4rem);
	font-weight: 800;
	line-height: 0.94;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	max-width: 15ch;
}

.hero__text {
	margin-top: 1.6rem;
	max-width: 52ch;
	font-size: clamp(1rem, 1.6vw, 1.14rem);
	color: var(--muted-invert);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2.4rem;
}

.hero__specs {
	position: relative;
	border-top: 1px solid var(--line-invert);
	background: rgba(11, 14, 19, 0.55);
	backdrop-filter: blur(10px);
}

.hero__specs-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.hero-spec {
	display: grid;
	gap: 0.35rem;
	padding: 1.35rem 1.5rem 1.35rem 0;
	border-right: 1px solid var(--line-invert);
}

.hero-spec:last-child {
	border-right: 0;
}

.hero-spec__label {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-invert);
}

.hero-spec__value {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hero__cue {
	position: absolute;
	left: 50%;
	bottom: calc(100% - 100vh + 7rem);
	display: none;
}

@media (min-width: 900px) {
	.hero__cue {
		display: block;
		position: absolute;
		right: var(--gutter);
		left: auto;
		bottom: 8rem;
	}

	.hero__cue-line {
		display: block;
		width: 1px;
		height: 74px;
		background: linear-gradient(180deg, transparent, var(--accent));
		animation: cue 2.4s var(--ease) infinite;
		transform-origin: top;
	}
}

@keyframes cue {
	0% { transform: scaleY(0); opacity: 0; }
	40% { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* -------------------------------------------------------------------------
   9. Marquee
   ---------------------------------------------------------------------- */

.marquee {
	overflow: hidden;
	background: var(--accent);
	color: var(--accent-ink);
	padding-block: 0.85rem;
	border-block: 1px solid var(--accent-deep);
}

.marquee__track {
	display: flex;
	gap: 3rem;
	white-space: nowrap;
	width: max-content;
}

.marquee__item {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   10. Scroll-scrubbed reel
   ---------------------------------------------------------------------- */

.reel {
	position: relative;
	background: var(--ink);
	color: var(--text-invert);
}

.reel__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.reel__video,
.reel__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reel__poster {
	z-index: 1;
	transition: opacity 0.5s var(--ease);
}

.reel__stage.is-live .reel__poster {
	opacity: 0;
}

.reel__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(11, 14, 19, 0.7), rgba(11, 14, 19, 0.35) 45%, rgba(11, 14, 19, 0.85));
}

.reel__copy {
	position: relative;
	z-index: 3;
	width: min(100% - var(--gutter) * 2, var(--shell));
	margin-inline: auto;
}

.reel__caption {
	max-width: 46ch;
}

.reel__title {
	font-size: clamp(2rem, 5vw, 3.8rem);
	text-transform: uppercase;
	letter-spacing: -0.03em;
}

.reel__text {
	margin-top: 1.1rem;
	color: var(--muted-invert);
}

.reel__steps {
	display: flex;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.reel__step {
	flex: 1;
	max-width: 120px;
	display: grid;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted-invert);
	transition: color var(--dur) var(--ease);
}

.reel__step::before {
	content: '';
	display: block;
	height: 2px;
	background: var(--line-invert-strong);
	transform-origin: left;
	transition: background var(--dur) var(--ease);
}

.reel__step.is-active {
	color: var(--text-invert);
}

.reel__step.is-active::before {
	background: var(--accent);
}

/* Static fallback when the stage cannot be scrubbed. */
.reel.is-static .reel__stage {
	position: relative;
	height: clamp(420px, 62vh, 620px);
}

/* -------------------------------------------------------------------------
   11. Category grid
   ---------------------------------------------------------------------- */

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	overflow: hidden;
	transition: background var(--dur) var(--ease);
}

.cat-card:hover {
	background: var(--ink);
	color: var(--text-invert);
}

.cat-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--paper);
}

.cat-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}

.cat-card:hover .cat-card__img {
	transform: scale(1.06);
}

.cat-card__body {
	display: grid;
	gap: 0.35rem;
	padding: 1.5rem;
	margin-top: auto;
	position: relative;
}

.cat-card__index {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	color: var(--accent);
}

.cat-card:hover .cat-card__index {
	color: var(--accent);
}

.cat-card__name {
	font-family: var(--font-display);
	font-size: 1.28rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.cat-card__count {
	font-size: 0.85rem;
	color: var(--muted);
}

.cat-card:hover .cat-card__count {
	color: var(--muted-invert);
}

.cat-card__go {
	position: absolute;
	right: 1.5rem;
	bottom: 1.55rem;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: all var(--dur) var(--ease);
}

.cat-card:hover .cat-card__go {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
	transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   12. Product grid + card
   ---------------------------------------------------------------------- */

.p-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.25rem, 2.4vw, 2rem);
	align-items: stretch;
}

.p-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.p-card:hover {
	border-color: var(--line-strong);
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.p-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--paper);
	overflow: hidden;
}

.p-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.p-card:hover .p-card__img {
	transform: scale(1.05);
}

.p-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.35rem;
	flex: 1;
}

.p-card__sku {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.p-card__title {
	font-size: 1.14rem;
	letter-spacing: -0.015em;
}

.p-card__title a {
	transition: color var(--dur) var(--ease);
}

.p-card__title a:hover {
	color: var(--accent-text);
}

.p-card__specs {
	display: grid;
	gap: 0.35rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--line);
	font-size: 0.85rem;
}

.p-card__specs li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.p-card__spec-label {
	color: var(--muted);
}

.p-card__spec-value {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	text-align: right;
}

.p-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 1rem;
}

/* -------------------------------------------------------------------------
   13. Story scene
   ---------------------------------------------------------------------- */

.story {
	background: var(--ink);
	color: var(--text-invert);
}

.story__pin {
	display: flex;
	align-items: center;
	padding-block: var(--section-y);
}

.story.is-pinned .story__pin {
	min-height: 100vh;
	padding-block: 0;
}

.story__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	width: min(100% - var(--gutter) * 2, var(--shell));
}

@media (min-width: 900px) {
	.story__inner {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
	}
}

.story__title {
	font-size: clamp(1.9rem, 3.8vw, 3rem);
	text-transform: uppercase;
	letter-spacing: -0.03em;
	max-width: 14ch;
}

.story__progress {
	margin-top: 2rem;
	height: 2px;
	background: var(--line-invert);
	max-width: 220px;
}

.story__progress-bar {
	display: block;
	height: 100%;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
}

.story__panels {
	position: relative;
}

.story.is-pinned .story__panels {
	min-height: 340px;
}

.story.is-pinned .story-panel {
	position: absolute;
	inset: 0;
}

.story-panel {
	display: grid;
	gap: 0.9rem;
	align-content: center;
	padding: 2rem;
	border: 1px solid var(--line-invert);
	background: rgba(255, 255, 255, 0.02);
	border-radius: var(--radius);
}

.story.is-stacked .story-panel + .story-panel {
	margin-top: 1rem;
}

.story-panel__index {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	color: var(--accent);
}

.story-panel__title {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	text-transform: uppercase;
	letter-spacing: -0.02em;
}

.story-panel__text {
	color: var(--muted-invert);
	max-width: 52ch;
}

/* -------------------------------------------------------------------------
   14. Industries (horizontal)
   ---------------------------------------------------------------------- */

.section--ind {
	overflow: hidden;
	background: var(--paper);
}

.ind-track {
	display: flex;
	gap: clamp(1rem, 2vw, 1.75rem);
	padding-inline: var(--gutter);
	width: max-content;
}

.section--ind.is-swipe .ind-track {
	width: auto;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 1rem;
	-webkit-overflow-scrolling: touch;
}

.section--ind.is-swipe .ind-card {
	scroll-snap-align: start;
}

.ind-card {
	flex: none;
	width: min(78vw, 420px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.ind-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--paper-2);
}

.ind-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ind-card__body {
	display: grid;
	gap: 0.6rem;
	padding: 1.5rem;
}

.ind-card__title {
	font-size: 1.32rem;
	letter-spacing: -0.02em;
}

.ind-card__text {
	color: var(--muted);
	font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   15. Stats + steps
   ---------------------------------------------------------------------- */

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.stat {
	display: grid;
	gap: 0.35rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--white);
}

.stat__value {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.stat__label {
	font-size: 0.9rem;
	color: var(--muted);
}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.step {
	position: relative;
	display: grid;
	gap: 0.7rem;
	align-content: start;
	padding: 1.9rem 1.6rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.step:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
}

.step__icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--accent);
}

.step__index {
	position: absolute;
	top: 1.4rem;
	right: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	color: var(--line-strong);
}

.step__title {
	font-size: 1.15rem;
	letter-spacing: -0.015em;
}

.step__text {
	color: var(--muted);
	font-size: 0.94rem;
}

/* -------------------------------------------------------------------------
   16. News
   ---------------------------------------------------------------------- */

.n-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.5rem, 3vw, 2.25rem);
}

.n-grid--list {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.n-card {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.n-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper);
}

.n-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.n-card:hover .n-card__img {
	transform: scale(1.05);
}

.n-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}

.n-card__meta {
	display: flex;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.n-card__title {
	font-size: 1.24rem;
	letter-spacing: -0.02em;
}

.n-card__title a:hover {
	color: var(--accent-text);
}

.n-card__excerpt {
	color: var(--muted);
	font-size: 0.95rem;
}

.n-card .link-arrow {
	margin-top: auto;
	align-self: start;
}

/* -------------------------------------------------------------------------
   17. CTA + inquiry
   ---------------------------------------------------------------------- */

.cta {
	position: relative;
	padding-block: var(--section-y);
	background: var(--ink);
	color: var(--text-invert);
	overflow: hidden;
	isolation: isolate;
}

.cta__media {
	position: absolute;
	inset: -6% 0;
	z-index: -1;
}

.cta__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(11, 14, 19, 0.94) 26%, rgba(11, 14, 19, 0.5));
}

.cta__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 960px) {
	.cta__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}
}

.cta__title {
	font-size: clamp(1.9rem, 4vw, 3.1rem);
	text-transform: uppercase;
	letter-spacing: -0.03em;
	max-width: 16ch;
}

.cta__text {
	margin-top: 1.2rem;
	color: var(--muted-invert);
	max-width: 46ch;
}

.cta__contacts {
	display: grid;
	gap: 0.7rem;
	margin-top: 2rem;
	font-size: 0.98rem;
}

.cta__contacts li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--muted-invert);
}

.cta__contacts a:hover {
	color: var(--accent);
}

.cta__form {
	background: var(--white);
	color: var(--text);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-md);
}

/* Inquiry plugin surface — scoped so third-party fields inherit the theme
   without leaking these rules onto unrelated forms. */

.str-inquiry,
.zc-inquiry-form {
	display: grid;
	gap: 1rem;
}

.str-inquiry input[type="text"],
.str-inquiry input[type="email"],
.str-inquiry input[type="tel"],
.str-inquiry input[type="url"],
.str-inquiry input[type="number"],
.str-inquiry select,
.str-inquiry textarea,
.zc-inquiry-form input[type="text"],
.zc-inquiry-form input[type="email"],
.zc-inquiry-form input[type="tel"],
.zc-inquiry-form input[type="url"],
.zc-inquiry-form input[type="number"],
.zc-inquiry-form select,
.zc-inquiry-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 0.95rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.96rem;
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.str-inquiry textarea,
.zc-inquiry-form textarea {
	min-height: 130px;
	resize: vertical;
}

.str-inquiry input:focus,
.str-inquiry select:focus,
.str-inquiry textarea:focus,
.zc-inquiry-form input:focus,
.zc-inquiry-form select:focus,
.zc-inquiry-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.str-inquiry label,
.zc-inquiry-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--text);
}

.str-inquiry button[type="submit"],
.zc-inquiry-form button[type="submit"],
.str-inquiry input[type="submit"],
.zc-inquiry-form input[type="submit"] {
	min-height: 52px;
	padding: 0 1.7rem;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}

.str-inquiry button[type="submit"]:hover,
.zc-inquiry-form button[type="submit"]:hover,
.str-inquiry input[type="submit"]:hover,
.zc-inquiry-form input[type="submit"]:hover {
	background: var(--accent-deep);
}

.inquiry-note {
	margin-top: 0.9rem;
	font-size: 0.85rem;
	color: var(--muted);
}

.inquiry-fallback {
	display: grid;
	gap: 0.9rem;
	padding: 1.5rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
}

.inquiry-fallback__title {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
}

.inquiry-fallback__list {
	display: grid;
	gap: 0.55rem;
}

.inquiry-fallback__list li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.inquiry-fallback__admin {
	font-size: 0.82rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   18. Page hero, breadcrumbs, prose
   ---------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding-block: clamp(3rem, 7vw, 5.5rem);
	background: var(--ink);
	color: var(--text-invert);
	overflow: hidden;
	isolation: isolate;
}

.page-hero--media {
	padding-block: clamp(4.5rem, 10vw, 8rem);
}

.page-hero__media {
	position: absolute;
	inset: -6% 0;
	z-index: -1;
}

.page-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 14, 19, 0.62), rgba(11, 14, 19, 0.8));
}

.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero__title {
	font-size: clamp(2.1rem, 5.4vw, 3.9rem);
	text-transform: uppercase;
	letter-spacing: -0.03em;
	max-width: 20ch;
}

.page-hero__text {
	margin-top: 1.1rem;
	max-width: 58ch;
	color: var(--muted-invert);
}

.crumbs {
	margin-bottom: 1.3rem;
}

.crumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-invert);
}

.crumbs__item + .crumbs__item::before {
	content: '/';
	margin-right: 0.5rem;
	opacity: 0.5;
}

.crumbs__item a:hover {
	color: var(--accent);
}

.p-single .crumbs__list {
	color: var(--muted);
}

.prose {
	max-width: 78ch;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--text);
}

.prose--page {
	max-width: 100%;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2 {
	margin-top: 2.4em;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.prose h3 {
	margin-top: 1.9em;
	font-size: 1.25rem;
}

.prose a {
	color: var(--accent-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose ul,
.prose ol {
	padding-left: 1.3rem;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose img {
	border-radius: var(--radius);
}

.prose blockquote {
	margin: 2em 0;
	padding-left: 1.4rem;
	border-left: 2px solid var(--accent);
	font-size: 1.1rem;
	color: var(--text);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.prose th,
.prose td {
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	text-align: left;
}

.prose figure { margin: 2em 0; }

.pager {
	margin-top: 3rem;
}

.pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.9rem;
	transition: all var(--dur) var(--ease);
}

.pager .page-numbers:hover,
.pager .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.is-flip { transform: rotate(180deg); }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-weight: 600;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.tags a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 0.8rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-size: 0.82rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   19. Product single
   ---------------------------------------------------------------------- */

.p-single__top {
	display: grid;
	/* An implicit track sizes to min-content, and FlexSlider leaves a pixel
	   width on the slides it measured at the previous viewport. Without this
	   the single-column layout inherited that stale width on rotation and the
	   whole page scrolled sideways. The two-column rule below is guarded the
	   same way. */
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 960px) {
	.p-single__top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}
}

.p-single__gallery .woocommerce-product-gallery {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
}

/* FlexSlider writes a pixel width onto the gallery and its viewport when it
   initialises and does not always recompute it. Rotating a phone from
   landscape to portrait therefore left a gallery wider than the screen and
   pushed the whole page sideways. max-width wins over that inline width, so
   the gallery can only ever shrink back into its column. */
.p-single__gallery,
.p-single__gallery .woocommerce-product-gallery,
.p-single__gallery .flex-viewport {
	max-width: 100%;
}

.p-single__gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.p-single__gallery .woocommerce-product-gallery__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.p-single__gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.6rem 0 0;
	padding: 0 0.6rem 0.6rem;
	list-style: none;
}

.p-single__gallery .flex-control-thumbs li {
	width: calc(25% - 0.375rem);
}

.p-single__gallery .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: 3px;
	cursor: pointer;
	opacity: 0.62;
	transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.p-single__gallery .flex-control-thumbs img.flex-active,
.p-single__gallery .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--ink);
	box-shadow: inset 0 -3px 0 var(--accent);
}

.p-single__gallery .flex-direction-nav {
	position: absolute;
	inset: auto 0 50% 0;
	display: flex;
	justify-content: space-between;
	padding-inline: 0.6rem;
	list-style: none;
	pointer-events: none;
}

.p-single__gallery .flex-direction-nav a {
	pointer-events: auto;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--line);
	font-size: 0;
	box-shadow: var(--shadow-sm);
}

.p-single__gallery .flex-direction-nav a::before {
	content: '';
	width: 9px;
	height: 9px;
	border-top: 1.5px solid var(--ink);
	border-right: 1.5px solid var(--ink);
}

.p-single__gallery .flex-direction-nav .flex-prev::before {
	transform: rotate(-135deg) translate(-2px, -2px);
}

.p-single__gallery .flex-direction-nav .flex-next::before {
	transform: rotate(45deg) translate(-2px, 2px);
}

.p-single__gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--line);
	color: var(--ink);
}

.p-single__summary {
	display: grid;
	gap: 1.1rem;
	align-content: start;
}

.p-single__sku {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.p-single__title {
	font-size: clamp(1.8rem, 4vw, 2.9rem);
	letter-spacing: -0.03em;
}

.p-single__short {
	color: var(--muted);
	font-size: 1.02rem;
}

.p-single__highlights {
	display: grid;
	gap: 0.6rem;
}

.p-single__highlights li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	font-size: 0.96rem;
}

.p-single__highlights svg {
	flex: none;
	margin-top: 0.2rem;
	color: var(--accent-text);
}

.p-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	padding-block: 0.5rem;
}

.spec-table {
	margin-top: 0.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.spec-table__title {
	padding: 0.9rem 1.2rem;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	font-size: 0.8rem;
	font-family: var(--font-mono);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.spec-table__list {
	margin: 0;
}

.spec-table__row {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 1rem;
	padding: 0.85rem 1.2rem;
	border-bottom: 1px solid var(--line);
	font-size: 0.92rem;
}

.spec-table__row:last-child {
	border-bottom: 0;
}

.spec-table__row dt {
	color: var(--muted);
}

.spec-table__row dd {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.88rem;
	overflow-wrap: anywhere;
}

.section--p-desc {
	background: var(--paper);
}

.p-single__desc-title {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	margin-bottom: 1rem;
}

.section--p-inquiry {
	background: var(--ink);
	color: var(--text-invert);
}

.p-inquiry {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 960px) {
	.p-inquiry {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

.p-inquiry .eyebrow { color: var(--muted-invert); }

.p-inquiry__title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	letter-spacing: -0.025em;
}

.p-inquiry__text {
	margin-top: 1rem;
	color: var(--muted-invert);
	max-width: 46ch;
}

.p-inquiry__form {
	background: var(--white);
	color: var(--text);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* -------------------------------------------------------------------------
   20. Contact page
   ---------------------------------------------------------------------- */

.contact {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 900px) {
	.contact {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		align-items: start;
	}
}

.contact__list {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
}

.contact__list li {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--accent);
}

.contact__body {
	display: grid;
	gap: 0.2rem;
}

.contact__label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact__value {
	font-size: 1rem;
	overflow-wrap: anywhere;
}

.contact__form {
	background: var(--paper);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.contact__form-title {
	font-size: 1.4rem;
	margin-bottom: 1.4rem;
}

.contact__map {
	margin-top: clamp(2rem, 4vw, 3rem);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.contact__map iframe {
	width: 100%;
	min-height: 380px;
	border: 0;
	display: block;
}

/* -------------------------------------------------------------------------
   21. System states
   ---------------------------------------------------------------------- */

.empty {
	display: grid;
	gap: 1rem;
	justify-items: center;
	text-align: center;
	padding-block: clamp(3rem, 8vw, 6rem);
	max-width: 46ch;
	margin-inline: auto;
}

.empty__code {
	font-family: var(--font-display);
	font-size: clamp(4rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--paper-2);
}

.empty__title {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.empty__text {
	color: var(--muted);
}

.empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
	margin-top: 0.5rem;
}

.empty__search {
	width: 100%;
	margin-top: 1rem;
}

.empty__search .searchform,
.search-again .searchform {
	border-color: var(--line-strong);
}

.empty__search .searchform__input,
.search-again .searchform__input {
	color: var(--text);
}

.empty__search .searchform__input::placeholder,
.search-again .searchform__input::placeholder {
	color: var(--muted);
}

.empty__search .searchform__submit,
.search-again .searchform__submit {
	color: var(--accent-text);
}

.search-again {
	max-width: 560px;
	margin-bottom: 3rem;
}

.results {
	display: grid;
	gap: 1px;
	background: var(--line);
	border-block: 1px solid var(--line);
}

.result {
	display: grid;
	gap: 0.5rem;
	padding: 1.75rem 0;
	background: var(--white);
}

.result__type {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-text);
}

.result__title {
	font-size: 1.3rem;
}

.result__text {
	color: var(--muted);
	max-width: 76ch;
}

.comments {
	margin-top: 3.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--line);
}

.comments__title {
	font-size: 1.4rem;
	margin-bottom: 1.5rem;
}

.comments__list {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.comments__list ol {
	padding-left: 1.5rem;
	margin-top: 1.5rem;
	display: grid;
	gap: 1.5rem;
}

.comment-body {
	display: grid;
	gap: 0.5rem;
}

.comment-form {
	display: grid;
	gap: 1rem;
	max-width: 640px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 0.95rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.comment-form textarea {
	min-height: 140px;
}

.comment-form .submit {
	min-height: 50px;
	padding: 0 1.6rem;
	background: var(--ink);
	color: var(--white);
	border: 0;
	border-radius: var(--radius);
	font-weight: 600;
	cursor: pointer;
	justify-self: start;
}

.widget {
	padding-bottom: 1.75rem;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid var(--line);
}

.widget:last-child { border-bottom: 0; }

.widget__title {
	font-size: 1.05rem;
	margin-bottom: 0.9rem;
}

.widget ul {
	display: grid;
	gap: 0.5rem;
	font-size: 0.94rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   22. Footer
   ---------------------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: var(--text-invert);
	padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.site-footer .brand__logo--light { display: block; }
.site-footer .brand__logo--dark { display: none; }

.site-footer__top {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 760px) {
	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1060px) {
	.site-footer__top {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	}
}

.site-footer__about {
	margin-top: 1.4rem;
	max-width: 42ch;
	color: var(--muted-invert);
	font-size: 0.95rem;
}

.site-footer__title {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-invert);
	margin-bottom: 1.1rem;
}

.site-footer__list,
.site-footer__contacts {
	display: grid;
	gap: 0.7rem;
	font-size: 0.94rem;
}

.site-footer__list a {
	color: var(--muted-invert);
	transition: color var(--dur) var(--ease);
}

.site-footer__list a:hover {
	color: var(--accent);
}

.site-footer__contacts li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	color: var(--muted-invert);
}

.site-footer__contacts svg {
	flex: none;
	margin-top: 0.18rem;
	color: var(--accent);
}

.site-footer__contacts a:hover { color: var(--accent); }

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.6rem;
}

.social__link {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-invert);
	border-radius: 50%;
	color: var(--muted-invert);
	transition: all var(--dur) var(--ease);
}

.social__link:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
	transform: translateY(-3px);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem 1.5rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--line-invert);
	font-size: 0.84rem;
	color: var(--muted-invert);
}

.site-footer__policy-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.site-footer__policy-list a:hover { color: var(--accent); }

.site-footer__note {
	width: 100%;
	color: rgba(161, 168, 180, 0.75);
	font-size: 0.78rem;
}

/* -------------------------------------------------------------------------
   23. Floating rail + QR dialog
   ---------------------------------------------------------------------- */

.rail {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.rail--right { right: clamp(0.5rem, 1.5vw, 1.25rem); }
.rail--left { left: clamp(0.5rem, 1.5vw, 1.25rem); }

.rail.is-tucked {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%) translateX(20px);
}

.rail__list {
	display: grid;
	gap: 0.4rem;
}

.rail__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--text-invert);
	border: 1px solid var(--line-invert);
	box-shadow: var(--shadow-sm);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.rail__btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
	transform: translateY(-2px);
}

.rail__tip {
	position: absolute;
	top: 50%;
	right: calc(100% + 10px);
	transform: translateY(-50%) translateX(6px);
	padding: 0.35rem 0.65rem;
	background: var(--ink);
	color: var(--text-invert);
	border-radius: 3px;
	font-size: 0.76rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.rail--left .rail__tip {
	right: auto;
	left: calc(100% + 10px);
	transform: translateY(-50%) translateX(-6px);
}

.rail__btn:hover .rail__tip,
.rail__btn:focus-visible .rail__tip {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

@media (max-width: 720px) {
	.rail--desktop { display: none; }

	.rail {
		top: auto;
		bottom: calc(1rem + env(safe-area-inset-bottom));
		transform: none;
	}

	.rail.is-tucked { transform: translateY(20px); }

	.rail__list {
		grid-auto-flow: column;
	}

	.rail__tip { display: none; }

	.rail__btn {
		width: 44px;
		height: 44px;
	}
}

.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 220;
	display: grid;
	place-items: center;
	padding: var(--gutter);
}

.qr-modal__scrim {
	position: absolute;
	inset: 0;
	background: rgba(11, 14, 19, 0.72);
	opacity: 0;
	transition: opacity 0.28s var(--ease);
}

.qr-modal.is-open .qr-modal__scrim { opacity: 1; }

.qr-modal__dialog {
	position: relative;
	width: min(400px, 100%);
	padding: 2rem;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.qr-modal.is-open .qr-modal__dialog {
	opacity: 1;
	transform: none;
}

.qr-modal__close {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	color: var(--muted);
}

.qr-modal__close:hover {
	background: var(--paper);
	color: var(--text);
}

.qr-card {
	display: grid;
	gap: 0.9rem;
	justify-items: center;
	text-align: center;
}

.qr-card__title {
	font-size: 1.2rem;
}

.qr-card__text {
	color: var(--muted);
	font-size: 0.92rem;
}

.qr-card__img {
	width: min(220px, 100%);
	height: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* -------------------------------------------------------------------------
   24. Shop archive
   ---------------------------------------------------------------------- */

.section--shop .woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 1rem 1.2rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent-text);
	border-radius: var(--radius);
	background: var(--paper);
	font-size: 0.94rem;
	list-style: none;
}

/* -------------------------------------------------------------------------
   25. Responsive refinements
   ---------------------------------------------------------------------- */

@media (max-width: 900px) {
	.hero {
		min-height: auto;
		padding-top: 5rem;
	}

	.hero__inner {
		padding-bottom: 3rem;
	}

	.hero-spec {
		padding-right: 1rem;
	}

	.sec-head {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 620px) {
	.topbar__text { display: none; }

	.hero__actions .btn { flex: 1 1 100%; }

	.p-card__actions { flex-direction: column; align-items: stretch; }

	.p-card__actions .btn { width: 100%; }

	.p-single__actions .btn { width: 100%; }

	.spec-table__row { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }

	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
   26. Reduced motion
   ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	html.has-motion [data-motion-text],
	html.has-motion [data-reveal],
	html.has-motion [data-reveal-group],
	html.has-motion [data-image-reveal] {
		visibility: visible;
	}

	.hero__cue,
	.cursor {
		display: none;
	}

	.marquee__track {
		width: 100%;
		white-space: normal;
	}

	.marquee__item + .marquee__item { display: none; }
}

/* =========================================================================
   27. Sport skin
   Everything below re-treats components the shared layer built for a dark
   industrial catalogue so this reads as a bright technical sportswear store:
   cool greys instead of ivory, a wide grotesque instead of a serif, square
   corners instead of pills, and one electric lime that is always a background
   with near-black type on top of it.
   ========================================================================= */

body {
	background: var(--white);
	font-size: 1rem;
	line-height: 1.66;
}

h1, h2, h3, h4 {
	font-weight: 700;
	letter-spacing: -0.028em;
	line-height: 1.06;
}

/* The big statement headings shout; content headings stay sentence case so
   long product and article titles keep their word shapes. */
.hero__title,
.story__title,
.cta__title,
.page-hero__title,
.reel__title {
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: -0.028em;
}

.sec-head__title,
.p-single__title,
.empty__title {
	text-transform: none;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.hero__title {
	font-size: clamp(2.7rem, 7.4vw, 5.6rem);
	line-height: 0.92;
	max-width: 13ch;
}

.sec-head__title {
	font-size: clamp(1.85rem, 3.8vw, 3rem);
	max-width: 20ch;
}

/* Eyebrows: uppercase Archivo, tracked tighter than an editorial label. */
.eyebrow {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 1rem;
}

.eyebrow__mark {
	width: 20px;
	height: 3px;
	background: var(--accent);
}

.eyebrow--light { color: var(--accent); }
.eyebrow--light .eyebrow__mark { background: var(--text-invert); }

.sec-head--light .eyebrow { color: var(--accent); }

/* Buttons: rectangles with a 4px radius, uppercase Archivo. */
.btn {
	border-radius: var(--radius);
	min-height: 52px;
	padding: 0 1.7rem;
	font-family: var(--font-display);
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: 0.78rem; }
.btn--xs { min-height: 38px; padding: 0 0.95rem; font-size: 0.74rem; }

/* Lime is a light colour: everything sitting on it is near-black. */
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-deep); color: var(--accent-ink); }

.btn--line { border-color: var(--ink); color: var(--text); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--text-invert); }

.btn--ghost { background: rgba(244, 245, 247, 0.1); border-color: var(--line-invert-strong); color: var(--text-invert); }
.btn--ghost:hover { background: rgba(244, 245, 247, 0.18); border-color: var(--text-invert); }

.chip {
	border-radius: 2px;
	min-height: 38px;
	padding: 0 0.95rem;
	border-color: var(--line-strong);
	font-family: var(--font-display);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
}

.chip:hover,
.chip.is-active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}

/* ---------- Header: dark utility strip over a white shell ---------- */

.site-header {
	background: var(--white);
	color: var(--text);
	border-bottom: 0;
}

.site-header.is-condensed {
	box-shadow: 0 10px 24px rgba(20, 22, 26, 0.08);
}

.topbar {
	background: var(--ink);
	color: var(--text-invert);
	border-bottom: 0;
	font-size: 0.76rem;
}

.topbar__text {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-invert);
}

.topbar__contacts a { color: var(--muted-invert); }
.topbar__contacts a:hover { color: var(--accent); }

.brand__type {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

/* A forward-leaning slab rather than the reference's dot. */
.brand__mark {
	width: 12px;
	height: 22px;
	border-radius: 0;
	background: var(--accent);
	clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
}

.brand__tagline {
	font-family: var(--font-display);
	font-size: 0.6rem;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0.24em;
	padding-left: 1.35rem;
}

.menu-link {
	font-family: var(--font-display);
	font-size: 0.81rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
	padding: 0.6rem 0.8rem;
	border-radius: 2px;
}

.menu-link::after {
	height: 3px;
	bottom: 0.2rem;
	background: var(--accent);
}

/* The current page is a lime block with near-black type — 14:1, and it does
   not depend on a lime hairline being visible against white. */
.nav__list > li.current-menu-item > .menu-link,
.nav__list > li.current-menu-ancestor > .menu-link {
	background: var(--accent);
	color: var(--accent-ink);
}

.nav__list > li.current-menu-item > .menu-link::after,
.nav__list > li.current-menu-ancestor > .menu-link::after { display: none; }

.nav .submenu {
	background: var(--white);
	border-color: var(--line-strong);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.submenu-link {
	color: var(--text);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border-radius: 2px;
}

.submenu-link:hover { background: var(--paper); color: var(--text); }

.icon-btn { border-radius: 2px; }
.icon-btn:hover { background: var(--paper); }

/* The scroll rail doubles as the header's bottom rule: lime on ink reads. */
.header-progress {
	height: 3px;
	background: var(--ink);
}

.header-progress__bar { background: var(--accent); }

.cart-badge {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	display: grid;
	place-items: center;
	border-radius: 2px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-display);
	font-size: 0.64rem;
	font-weight: 800;
	line-height: 1;
}

.cart-badge.is-empty { display: none; }

.icon-btn--cart { position: relative; }

/* Search and mobile navigation stay on ink so the lime keeps working. */
.search-panel { background: var(--ink); border-color: var(--line-invert); }
.searchform { border-color: var(--line-invert-strong); }
.searchform__input { color: var(--text-invert); }
.searchform__input::placeholder { color: var(--muted-invert); }
.searchform__submit { color: var(--accent); }
.search-panel__close { color: var(--muted-invert); }

.mobile-nav__panel { background: var(--ink); color: var(--text-invert); }

.mobile-nav__list .menu-link,
.mobile-nav__list .submenu-link {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-invert);
	background: none;
	border-radius: 0;
	padding: 0.95rem 3rem 0.95rem 0;
}

.mobile-nav__list .menu-link::after { display: none; }

.mobile-nav__list .submenu-link {
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--muted-invert);
	padding: 0.55rem 0 0.55rem 1rem;
}

/* ---------- Hero: diagonal split ----------
   Flat ink behind the copy, the photograph clipped on a steep angle to the
   right of it, and a lime strip along the join. Below 900px the two stack in
   normal flow and nothing is clipped, so the image is never cropped to a
   sliver on a phone. */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
	padding-top: 0;
	background: var(--ink);
	color: var(--text-invert);
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: relative;
	inset: auto;
	z-index: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.hero__img,
.hero__video {
	position: absolute;
	top: -6%;
	left: 0;
	width: 100%;
	height: 112%;
	object-fit: cover;
}

.hero__scrim {
	background: linear-gradient(180deg, rgba(20, 22, 26, 0) 45%, rgba(20, 22, 26, 0.72) 100%);
}

.hero__rules,
.hero__edge { display: none; }

.hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(2.5rem, 8vw, 3.5rem);
}

.hero__copy { max-width: 40ch; }

.hero__text {
	margin-top: 1.3rem;
	max-width: 46ch;
	color: var(--muted-invert);
	font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.hero__actions { margin-top: 2rem; }

/* Hero facts: a lime rule directly under the copy, not a translucent bar
   pinned to the bottom of a photograph. */
.hero__specs {
	position: static;
	margin-top: 2.1rem;
	padding-top: 1.05rem;
	border-top: 3px solid var(--accent);
	background: transparent;
	backdrop-filter: none;
	max-width: 44rem;
}

.hero__specs-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 2.4rem;
	width: auto;
	margin: 0;
}

.hero-spec {
	display: grid;
	gap: 0.15rem;
	padding: 0;
	border-right: 0;
}

.hero-spec__label {
	font-family: var(--font-mono);
	font-size: 0.64rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-invert);
}

.hero-spec__value {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--text-invert);
}

.hero__cue-line { background: linear-gradient(180deg, transparent, var(--accent)); }

@media (min-width: 900px) {
	.hero {
		justify-content: center;
		min-height: min(90vh, 820px);
		padding-block: clamp(4rem, 8vw, 6.5rem);
	}

	.hero__media {
		position: absolute;
		top: -6%;
		right: 0;
		bottom: -6%;
		left: auto;
		width: 62%;
		aspect-ratio: auto;
		z-index: -1;
		clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
	}

	.hero__img,
	.hero__video { top: 0; height: 100%; }

	.hero__scrim {
		background: linear-gradient(90deg, rgba(20, 22, 26, 0.92) 0%, rgba(20, 22, 26, 0.45) 26%, rgba(20, 22, 26, 0) 58%);
	}

	.hero__edge {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 62%;
		z-index: -1;
		background: var(--accent);
		clip-path: polygon(28% 0, 28.6% 0, 0.6% 100%, 0 100%);
		pointer-events: none;
	}

	.hero__inner { padding-block: 0; }
	.hero__copy { max-width: 30rem; }
}

@media (min-width: 1200px) {
	.hero__copy { max-width: 34rem; }
}

/* ---------- Marquee: a lime band, near-black type ---------- */

.marquee {
	background: var(--accent);
	color: var(--accent-ink);
	border-block: 0;
	padding-block: 0.85rem;
}

.marquee__item {
	font-family: var(--font-display);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* ---------- Collections: 2-up landscape tiles, label overlaid ---------- */

.cat-grid {
	background: transparent;
	border: 0;
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cat-card {
	position: relative;
	display: block;
	background: var(--ink);
	color: var(--text-invert);
	border-radius: var(--radius);
	overflow: hidden;
}

.cat-card:hover { background: var(--ink); color: var(--text-invert); }

.cat-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 0;
	background: var(--ink-2);
}

.cat-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, rgba(20, 22, 26, 0.82) 0%, rgba(20, 22, 26, 0.34) 44%, rgba(20, 22, 26, 0.08) 100%);
}

.cat-card__body {
	position: absolute;
	inset: 0 auto auto 0;
	display: grid;
	gap: 0.3rem;
	justify-items: start;
	margin: 0;
	padding: clamp(1.1rem, 2.4vw, 1.7rem);
	max-width: 100%;
}

.cat-card__index {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--accent);
}

.cat-card__name {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.6vw, 1.95rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	color: var(--text-invert);
}

.cat-card__count,
.cat-card:hover .cat-card__count {
	font-size: 0.8rem;
	color: var(--muted-invert);
}

.cat-card__go {
	position: static;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-top: 0.5rem;
	border: 0;
	border-radius: 2px;
	background: var(--accent);
	color: var(--accent-ink);
	transform: none;
}

.cat-card:hover .cat-card__go {
	background: var(--white);
	color: var(--ink);
	transform: translateX(4px);
}

/* ---------- Product cards ---------- */

.p-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr));
}

.p-card {
	background: transparent;
	border: 0;
	border-radius: 0;
}

.p-card:hover { transform: none; box-shadow: none; }

/* Square media: the product photography is shot square with the garment filling
   the frame, so a portrait crop would cut the waistband off a pair of tights. */
.p-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	background: var(--paper);
}

.p-card__flag {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	padding: 0.28rem 0.6rem;
	border-radius: 2px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-display);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.p-card__body { padding: 1rem 0 0; gap: 0.42rem; }

.p-card__kicker {
	font-family: var(--font-display);
	font-size: 0.67rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.p-card__title {
	font-family: var(--font-display);
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.24;
}

.p-card__text { color: var(--muted); font-size: 0.88rem; }

/* Size range: the first spec row rendered as square chips. This is text from
   the product's spec table, not a selector — there is no variation behind it. */
.p-card__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 0.1rem;
}

.p-card__size {
	display: inline-grid;
	place-items: center;
	min-width: 27px;
	height: 26px;
	padding: 0 5px;
	border: 1px solid var(--line-strong);
	border-radius: 2px;
	background: var(--white);
	font-family: var(--font-mono);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.p-card__actions {
	align-items: center;
	justify-content: space-between;
	padding-top: 0.85rem;
	border-top: 1px solid var(--line);
}

.price {
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text);
}

.price del { color: var(--muted); font-size: 0.9em; margin-right: 0.35rem; }
.price ins { text-decoration: none; color: var(--accent-text); }

/* ---------- Steps ---------- */

.step { border-radius: var(--radius); }
.step:hover { border-color: var(--ink); }

.step__icon {
	border-radius: 2px;
	background: var(--ink);
	color: var(--accent);
}

.step__index {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--line-strong);
}

.step__title {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	font-size: 1.05rem;
}

/* ---------- Field-notes cards ---------- */

.section--ind { background: var(--paper); }

.ind-card {
	background: var(--white);
	border-radius: var(--radius);
	border-color: var(--line);
}

.ind-card__title {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	font-size: 1.2rem;
}

/* ---------- Journal cards ---------- */

.n-card__media { border-radius: var(--radius); }

.n-card__title {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.025em;
	font-size: 1.18rem;
}

.n-card__meta {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.14em;
}

/* ---------- Story + CTA ---------- */

.story { background: var(--ink); }
.story-panel { border-radius: var(--radius); border-color: var(--line-invert); }

.story-panel__title {
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.story-panel__index {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--accent);
	letter-spacing: 0.2em;
}

.story__progress-bar { background: var(--accent); }

.cta__scrim {
	background: linear-gradient(100deg, rgba(20, 22, 26, 0.95) 24%, rgba(20, 22, 26, 0.5));
}

.cta__form { border-radius: var(--radius); }
.cta__contacts a:hover { color: var(--accent); }

/* ---------- Newsletter (plugin surface) ---------- */

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
	width: 100%;
	min-height: 50px;
	padding: 0.7rem 0.95rem;
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	font-size: 0.95rem;
}

.newsletter-form input:focus {
	outline: none;
	border-color: var(--accent-text);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.newsletter-form button,
.newsletter-form input[type="submit"] {
	min-height: 50px;
	padding: 0 1.7rem;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}

.newsletter-form button:hover,
.newsletter-form input[type="submit"]:hover { background: var(--accent-deep); color: var(--accent-ink); }

.newsletter-form form { display: grid; gap: 0.7rem; }
.newsletter__admin { font-size: 0.85rem; color: var(--muted); }

/* ---------- Page hero ---------- */

.page-hero { background: var(--paper); color: var(--text); }
.page-hero .crumbs__list { color: var(--muted); }
.page-hero .crumbs__item a:hover { color: var(--accent-text); }
.page-hero .eyebrow { color: var(--text); }
.page-hero__text { color: var(--muted); }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); }

.page-hero--media { color: var(--text-invert); }
.page-hero--media .crumbs__list,
.page-hero--media .page-hero__text { color: var(--muted-invert); }
.page-hero--media .eyebrow { color: var(--accent); }
.page-hero--media .crumbs__item a:hover { color: var(--accent); }

/* ---------- Product detail ---------- */

.p-single__sku {
	font-family: var(--font-mono);
	letter-spacing: 0.2em;
}

.p-single__price {
	font-family: var(--font-display);
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text);
}

.p-single__ship {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 1rem;
	background: var(--paper);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	font-size: 0.9rem;
	color: var(--muted);
}

.p-single__ship svg { color: var(--accent-text); flex: none; }

.p-single__gallery .woocommerce-product-gallery {
	border: 0;
	border-radius: var(--radius);
}

.spec-table { border-radius: var(--radius); }

.spec-table__title {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--text);
}

.spec-table__row dd { font-family: var(--font-body); }

/* WooCommerce add-to-cart form on the product page. */
.p-single__summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
	margin: 0.4rem 0;
}

.p-single__summary .quantity input.qty {
	width: 88px;
	min-height: 52px;
	padding: 0 0.5rem;
	text-align: center;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
}

.p-single__summary form.cart button[type="submit"],
.p-single__summary .single_add_to_cart_button {
	min-height: 52px;
	padding: 0 2rem;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}

.p-single__summary form.cart button[type="submit"]:hover,
.p-single__summary .single_add_to_cart_button:hover { background: var(--accent-deep); color: var(--accent-ink); }

.p-single__summary .stock { font-size: 0.88rem; color: var(--muted); width: 100%; }
.p-single__summary .stock.out-of-stock { color: var(--danger); }

.p-single__summary .variations {
	width: 100%;
	border-collapse: collapse;
}

.p-single__summary .variations th,
.p-single__summary .variations td {
	display: block;
	text-align: left;
	padding: 0 0 0.5rem;
}

.p-single__summary .variations select {
	width: 100%;
	min-height: 50px;
	padding: 0 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
}

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

.site-footer__title {
	font-family: var(--font-display);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--accent);
}

.site-footer__list a { font-size: 0.92rem; }

/* ---------- Empty / system states ---------- */

.empty__code {
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--paper-2);
}

.result__title,
.widget__title,
.comments__title,
.contact__form-title {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.contact__form { background: var(--paper); border-radius: var(--radius); }
.contact__map { border-radius: var(--radius); }

.pager .page-numbers { border-radius: 2px; font-family: var(--font-display); font-weight: 600; }

/* Round badges become squares to match the rest of the geometry. */
.social__link { border-radius: 2px; }
.rail__btn { border-radius: 2px; }
.tags a { border-radius: 2px; }
.qr-modal__dialog { border-radius: var(--radius-lg); }

.link-arrow {
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	border-bottom-color: var(--ink);
}

.link-arrow:hover { border-color: var(--accent-text); }

.sec-head--light .link-arrow { color: var(--text-invert); border-bottom-color: var(--line-invert-strong); }
.sec-head--light .link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* Long specification values on a phone must wrap rather than push the row. */
.spec-table__row dd,
.hero-spec__value,
.p-card__kicker { overflow-wrap: anywhere; }

@media (max-width: 620px) {
	.hero__specs-inner { gap: 0.6rem 1.5rem; }
	.cat-card__body { padding: 1rem; }
}

/* =========================================================================
   28. Cart, checkout and account
   These are designed theme surfaces, not plugin leftovers. Rules are scoped to
   .wc-page / WooCommerce's own classes so nothing here reaches other forms.
   ========================================================================= */

.section--system { padding-block: clamp(2.5rem, 5vw, 4rem); }

.wc-page {
	max-width: 100%;
	font-size: 1rem;
}

.wc-page a { color: var(--accent-text); }

.wc-page .woocommerce-notices-wrapper:empty { display: none; }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent-text);
	border-radius: var(--radius);
	list-style: none;
	font-size: 0.95rem;
}

.woocommerce-error { border-left-color: var(--danger); }

.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
}

/* Shared button treatment for WooCommerce's own buttons */
.wc-page .button,
.wc-page button[type="submit"],
.woocommerce-message .button,
.woocommerce-info .button,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 1.6rem;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}

.wc-page .button:hover,
.wc-page button[type="submit"]:hover,
.wc-block-components-button:hover { background: var(--accent-deep); }

.wc-page .button[disabled],
.wc-page button[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Fields */
.wc-page input[type="text"],
.wc-page input[type="email"],
.wc-page input[type="tel"],
.wc-page input[type="password"],
.wc-page input[type="number"],
.wc-page input[type="search"],
.wc-page select,
.wc-page textarea,
.wc-block-components-text-input input {
	width: 100%;
	min-height: 52px;
	padding: 0.7rem 1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.98rem;
}

.wc-page textarea { min-height: 120px; }

.wc-page input:focus,
.wc-page select:focus,
.wc-page textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.wc-page label { display: block; margin-bottom: 0.35rem; font-size: 0.88rem; font-weight: 500; }
.wc-page .required { color: var(--danger); text-decoration: none; }

/* Billing / shipping field grid — explicit tracks so nothing collapses. */
.wc-page .woocommerce-billing-fields__field-wrapper,
.wc-page .woocommerce-shipping-fields__field-wrapper,
.wc-page .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
}

.wc-page .form-row {
	margin: 0;
	float: none !important;
	width: auto !important;
	padding: 0;
}

.wc-page .form-row-wide,
.wc-page .form-row.notes,
.wc-page .form-row[id$="_address_1_field"],
.wc-page .form-row[id$="_address_2_field"],
.wc-page .form-row[id$="_company_field"] {
	grid-column: 1 / -1;
}

@media (max-width: 640px) {
	.wc-page .woocommerce-billing-fields__field-wrapper,
	.wc-page .woocommerce-shipping-fields__field-wrapper,
	.wc-page .woocommerce-address-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Cart table — a real table on desktop, stacked rows on a phone. */
.wc-page .shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	font-size: 0.95rem;
}

.wc-page .shop_table th {
	padding: 0.9rem 1rem;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.wc-page .shop_table td {
	padding: 1rem;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

.wc-page .shop_table img { width: 68px; border-radius: var(--radius); }

.wc-page .product-remove a {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--paper);
	color: var(--muted);
	text-decoration: none;
	font-size: 1.1rem;
	line-height: 1;
}

.wc-page .product-remove a:hover { background: var(--danger); color: var(--white); }

.wc-page .quantity input.qty {
	width: 84px;
	min-height: 46px;
	text-align: center;
	border-radius: var(--radius);
	border-color: var(--line-strong);
}

.wc-page .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}

.wc-page .coupon input[type="text"] { flex: 1 1 200px; min-width: 0; }

.wc-page .actions {
	padding: 1rem;
	background: var(--paper);
}

@media (max-width: 760px) {
	.wc-page .shop_table thead { display: none; }

	.wc-page .shop_table,
	.wc-page .shop_table tbody,
	.wc-page .shop_table tr,
	.wc-page .shop_table td { display: block; width: 100%; }

	.wc-page .shop_table tr {
		padding: 0.5rem 0;
		border-bottom: 1px solid var(--line);
	}

	.wc-page .shop_table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		border: 0;
		padding: 0.5rem 1rem;
	}

	.wc-page .shop_table td::before {
		content: attr(data-title);
		font-size: 0.75rem;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--muted);
	}

	.wc-page .shop_table td.product-remove::before,
	.wc-page .shop_table td.actions::before { content: none; }

	.wc-page .actions { flex-direction: column; align-items: stretch; }
}

/* Cart totals + checkout review */
.wc-page .cart-collaterals {
	display: grid;
	justify-content: end;
	margin-top: 2rem;
}

.wc-page .cart_totals,
.wc-page .woocommerce-checkout-review-order {
	width: min(100%, 460px);
	padding: 1.5rem;
	background: var(--paper);
	border-radius: var(--radius-lg);
}

.wc-page .cart_totals h2,
.wc-page #order_review_heading {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.wc-page .cart_totals table,
.wc-page .woocommerce-checkout-review-order-table {
	width: 100%;
	border: 0;
	background: transparent;
}

.wc-page .cart_totals th,
.wc-page .woocommerce-checkout-review-order-table th {
	background: transparent;
	border: 0;
	padding: 0.6rem 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.95rem;
	color: var(--text);
}

.wc-page .cart_totals td,
.wc-page .woocommerce-checkout-review-order-table td {
	border: 0;
	padding: 0.6rem 0;
	text-align: right;
}

.wc-page .order-total th,
.wc-page .order-total td {
	border-top: 1px solid var(--line-strong);
	padding-top: 1rem;
	font-weight: 600;
	font-size: 1.05rem;
}

.wc-page .wc-proceed-to-checkout { margin-top: 1.25rem; }
.wc-page .wc-proceed-to-checkout .button { width: 100%; }

/* Checkout two-column layout */
@media (min-width: 1000px) {
	.wc-page form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: clamp(2rem, 4vw, 3.5rem);
		align-items: start;
	}

	.wc-page form.checkout #customer_details { grid-column: 1; }
	.wc-page form.checkout #order_review_heading,
	.wc-page form.checkout #order_review { grid-column: 2; }
	.wc-page .woocommerce-checkout-review-order { width: 100%; position: sticky; top: 100px; }
}

.wc-page #customer_details .col-1,
.wc-page #customer_details .col-2 { width: auto; float: none; }

.wc-page #customer_details .col-2 { margin-top: 2rem; }

.wc-page #payment {
	margin-top: 1.5rem;
	background: transparent;
	border-radius: 0;
}

.wc-page #payment ul.payment_methods {
	display: grid;
	gap: 0.6rem;
	padding: 0;
	margin: 0 0 1.25rem;
	border: 0;
	list-style: none;
}

.wc-page #payment ul.payment_methods li {
	padding: 0.9rem 1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.wc-page #payment .payment_box {
	margin-top: 0.6rem;
	padding: 0.75rem 0 0;
	background: transparent;
	font-size: 0.9rem;
	color: var(--muted);
}

.wc-page #payment .payment_box::before { display: none; }
.wc-page .woocommerce-terms-and-conditions-wrapper { margin-bottom: 1rem; font-size: 0.92rem; }
.wc-page #place_order { width: 100%; }

/* Login / register */
.wc-page .woocommerce-form-login,
.wc-page .woocommerce-form-register,
.wc-page .lost_reset_password {
	max-width: 460px;
	padding: 1.75rem;
	background: var(--paper);
	border-radius: var(--radius-lg);
	display: grid;
	gap: 1rem;
}

.wc-page .u-columns.col2-set {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.wc-page .u-column1,
.wc-page .u-column2 { width: auto; float: none; }

/* My Account */
.wc-page .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 0.15rem;
	padding: 0.5rem;
	background: var(--paper);
	border-radius: var(--radius-lg);
}

.wc-page .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.7rem 0.9rem;
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	font-size: 0.95rem;
}

.wc-page .woocommerce-MyAccount-navigation li a:hover { background: var(--white); }

.wc-page .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--accent);
	color: var(--accent-ink);
}

@media (min-width: 900px) {
	.wc-page .woocommerce-MyAccount-navigation {
		float: none;
		width: auto;
	}

	.wc-page .woocommerce-MyAccount-content {
		float: none;
		width: auto;
	}

	/* Two columns only once the account navigation is actually rendered, i.e.
	   when the customer is logged in. Logged out, WooCommerce prints a single
	   child (login / lost password / reset password), and an unconditional
	   grid would drop that form into the 250px sidebar track. */
	.woocommerce-account.logged-in .wc-page {
		display: grid;
		grid-template-columns: 250px minmax(0, 1fr);
		gap: clamp(1.5rem, 3vw, 2.5rem);
		align-items: start;
	}
}

.wc-page .woocommerce-MyAccount-content { min-width: 0; }

/* Empty cart state */
.wc-page .cart-empty {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

.wc-page .return-to-shop { margin-top: 1rem; }

/* Order received */
.wc-page .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1px;
	margin: 2rem 0;
	padding: 0;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	list-style: none;
}

.wc-page .woocommerce-order-overview li {
	padding: 1.1rem 1.25rem;
	background: var(--white);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	border: 0;
}

.wc-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--text);
}

/* -------------------------------------------------------------------------
   29. WooCommerce default-stylesheet overrides
   WooCommerce ships selectors like `.woocommerce a.button` (class+element+
   class). Matching that specificity is what makes the theme's button and
   notice treatment actually win, rather than adding !important everywhere.
   ---------------------------------------------------------------------- */

.woocommerce .wc-page a.button,
.woocommerce .wc-page button.button,
.woocommerce .wc-page input.button,
.woocommerce .wc-page button[type="submit"],
.woocommerce .wc-page input[type="submit"],
.woocommerce-page .wc-page a.button,
.woocommerce-page .wc-page button.button,
.woocommerce-page .wc-page input.button,
.woocommerce-page .wc-page button[type="submit"],
.woocommerce-page .wc-page input[type="submit"],
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button,
.woocommerce .wc-page a.button.alt,
.woocommerce .wc-page button.button.alt,
.woocommerce .wc-page #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 1.7rem;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	transition: background var(--dur) var(--ease);
}

.woocommerce .wc-page a.button:hover,
.woocommerce .wc-page button.button:hover,
.woocommerce .wc-page input.button:hover,
.woocommerce .wc-page button[type="submit"]:hover,
.woocommerce .wc-page input[type="submit"]:hover,
.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-info a.button:hover,
.woocommerce .wc-page a.button.alt:hover,
.woocommerce .wc-page button.button.alt:hover,
.woocommerce .wc-page #place_order:hover {
	background: var(--accent-deep);
	color: var(--accent-ink);
}

/* Secondary weight for the update-cart action so it does not compete. */
.woocommerce .wc-page button[name="update_cart"] {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
}

.woocommerce .wc-page button[name="update_cart"]:hover {
	background: var(--paper);
	color: var(--text);
}

/* Drop WooCommerce's own notice glyphs — the theme uses a coloured rule. */
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce-page .woocommerce-message::before,
.woocommerce-page .woocommerce-info::before,
.woocommerce-page .woocommerce-error::before {
	content: none;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
	padding: 1rem 1.25rem;
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	border-left: 4px solid var(--accent-text);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 400;
}

.woocommerce .woocommerce-error { border-left-color: var(--danger); }

/* The empty-cart line is a paragraph inside the notice, not a heading. */
.woocommerce .cart-empty {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	margin: 0;
}

/* WooCommerce's own price colour is green by default. */
.woocommerce .wc-page .woocommerce-Price-amount,
.woocommerce div.product .price,
.woocommerce ul.products li.product .price {
	color: var(--text);
}

/* Quantity control */
.woocommerce .wc-page .quantity input.qty {
	border-radius: var(--radius);
	border-color: var(--line-strong);
}


/* -------------------------------------------------------------------------
   Motion performance guard
   Two rules straight out of the GSAP performance guidance: promote only what
   actually animates, and stop offscreen work rather than letting keyframes run
   against a section nobody can see.
   ---------------------------------------------------------------------- */

.btn,
.p-card,
.cat-card,
.step {
	will-change: auto;
}

[data-magnetic],
[data-cursor],
.motion-word,
[data-parallax-image] {
	will-change: transform;
}

.is-offscreen .hero__cue-line,
.is-offscreen .marquee__track,
.hero__cue-line.is-offscreen {
	animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-magnetic],
	[data-cursor],
	.motion-word,
	[data-parallax-image] {
		will-change: auto;
	}
}

/* -------------------------------------------------------------------------
   Narrow-header guard
   brand + icon actions must fit inside the gutter on a small phone. Without
   this the row is nowrap and a long brand name pushes the whole page wider
   than the viewport.
   ---------------------------------------------------------------------- */

@media (max-width: 460px) {
	.site-header__inner {
		gap: 0.7rem;
	}

	.brand {
		min-width: 0;
	}

	.brand__tagline {
		display: none;
	}

	.brand__name,
	.brand__type {
		white-space: nowrap;
	}

	.site-header__actions {
		gap: 0.15rem;
		flex: none;
	}

	.site-header__actions .icon-btn,
	.site-header__actions .burger {
		width: 40px;
		height: 40px;
	}
}
