/* ==========================================================================
   ESEE Knives theme — single stylesheet.
   Design tokens ported from the Elementor build (kit 958 + hand-coded sections).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
	font-family: "Bebas Neue";
	src: url("../fonts/bebas-neue-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Libre Franklin";
	src: url("../fonts/libre-franklin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
/* Team names and "Meet the Team", as on the current site. Only downloaded on pages that use it. */
@font-face {
	font-family: "Handpack";
	src: url("../fonts/handpack-sans.ttf") format("truetype");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0f0f0f;
	--forest: #1c2626;
	--olive: #394130;
	--green: #3e763a;
	--brown: #604439;
	--grey: #7a7a7a;
	--sand: #f2efec;
	--cream: #f4f0e8;
	--white: #fdfdfd;

	--accent: #8c9f58;
	--accent-bright: #a9bc72;
	--accent-dark: #66743b;
	--accent-ink: #4f5a28; /* olive dark enough for small text on sand or white */
	--accent-deep: #4d5638;

	--dark: #1c1f17;
	--dark-deep: #171814;
	--dark-soft: #212319;

	--text: #171715;
	--text-muted: #5f5b52;
	--line: #e4e1da;

	--on-dark: #f4f1ea;
	--on-dark-muted: rgba(244, 241, 234, 0.74);
	--on-dark-faint: rgba(244, 241, 234, 0.46);
	--on-dark-line: rgba(161, 183, 99, 0.42);

	--font-display: "Bebas Neue", Impact, sans-serif;
	--font-body: "Libre Franklin", system-ui, sans-serif;

	--container: 1540px;
	--gutter: clamp(20px, 4vw, 56px);
	--header-h: 100px;
	--radius: 2px;
	--shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.07);
	--ease: 180ms ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--text); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; }
h1, h2, .display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(34px, 3.6vw, 48px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
ul.reset, .site-nav__list, .site-nav__sub, .site-footer__links, .social-links, .product-grid, .carousel__track, .header-actions {
	list-style: none; margin: 0; padding: 0;
}
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; clip-path: none;
	padding: 10px 16px; background: var(--ink); color: #fff;
}
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
	margin: 0 0 18px;
	font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--accent-bright);
}
.eyebrow--rules { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--rules::before, .eyebrow--rules::after { content: ""; width: 20px; height: 1px; background: currentColor; opacity: 0.6; }
.kicker { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase; color: #4c4c47; }
.section-heading__title { margin: 0; }
.section-heading--center { text-align: center; margin: 0 auto 48px; }
.text-link {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12px; font-weight: 900; letter-spacing: 0.07em; line-height: 1; text-transform: uppercase;
	color: var(--accent-dark);
}
.text-link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 46px; padding: 0 30px;
	font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
	border: 1px solid transparent; border-radius: var(--radius);
	transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--cream); color: #11110f; border-color: rgba(255, 255, 255, 0.7); border-radius: 18px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24); }
.btn--primary:hover { background: #fff; color: #11110f; }
.btn--ghost { background: transparent; color: var(--on-dark); padding: 0; min-height: 46px; }
.btn--ghost:hover { color: #fff; }
.btn--ghost .btn__icon { transition: transform var(--ease); }
.btn--ghost:hover .btn__icon { transform: translateX(3px); }
.btn--olive { background: var(--accent-dark); color: #fff; box-shadow: 0 12px 24px rgba(102, 116, 59, 0.18); }
.btn--olive:hover { background: var(--accent); color: #fff; }
.btn--dark { background: #141510; color: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16); }
.btn--dark:hover { background: #24241f; color: #fff; }
.btn--outline {
	background: rgba(255, 255, 255, 0.035); color: var(--on-dark);
	border-color: rgba(161, 183, 99, 0.55); border-radius: 0; padding: 0 24px; min-height: 50px;
	font-size: 12px; font-weight: 900; letter-spacing: 0.16em;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 14px 30px rgba(0, 0, 0, 0.18);
	position: relative; overflow: hidden;
}
.btn--outline::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(120deg, transparent 0%, rgba(161, 183, 99, 0.18) 48%, transparent 72%);
	transform: translateX(-120%); transition: transform 520ms ease;
}
.btn--outline:hover { color: #fff; border-color: var(--accent-bright); background: rgba(161, 183, 99, 0.1); }
.btn--outline:hover::before { transform: translateX(120%); }
.btn--block { width: 100%; }
.btn__arrow { transition: transform var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--sand);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	min-height: var(--header-h); padding: 0 var(--gutter);
}
.menu-toggle {
	justify-self: start; display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0; background: none; border: 0; color: var(--ink);
}
.menu-toggle__bars { display: flex; flex-direction: column; gap: 6px; width: 30px; }
.menu-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.site-logo { justify-self: center; }
.site-logo img { width: 150px; height: auto; }
.header-actions { justify-self: end; display: flex; gap: 6px; }
.header-actions__btn {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--ink); border-radius: 50%;
	transition: background var(--ease);
}
.header-actions__btn:hover { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.header-actions__btn .icon { width: 24px; height: 24px; }
.header-cart__count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	font-size: 12px; font-weight: 800; line-height: 18px; text-align: center;
	color: #fff; background: #d12b2b; border-radius: 999px;
}
/* Desktop menu bar: from 1200px up. Below that the hamburger opens the off-canvas menu. */
.desktop-nav { display: none; }
@media (min-width: 1200px) {
	.site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
	.menu-toggle { display: none; }
	.site-logo { justify-self: start; }
	.site-logo img { width: 120px; }
	.desktop-nav { display: block; justify-self: center; }
	.desktop-nav__list { display: flex; align-items: stretch; margin: 0; padding: 0 8px; list-style: none; }
	.desktop-nav__list > li { position: relative; }
	.desktop-nav__list > li > a {
		display: flex; align-items: center; gap: 7px; min-height: 58px; padding: 0 clamp(8px, 1vw, 16px); white-space: nowrap;
		font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
	}
	.desktop-nav__list > li.menu-item-has-children > a::after {
		content: ""; width: 7px; height: 7px; margin-top: -3px;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
	}
	.desktop-nav__list > li > a:hover, .desktop-nav__list > li:focus-within > a, .desktop-nav__list > li.current-menu-item > a, .desktop-nav__list > li.current-menu-ancestor > a { color: var(--accent-ink); }
	.desktop-nav__list .sub-menu {
		display: none; position: absolute; top: 100%; left: 0; z-index: 120; min-width: 220px; margin: 0; padding: 8px 0; list-style: none;
		background: #fff; border-top: 2px solid var(--accent-dark); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
	}
	.desktop-nav__list > li:hover > .sub-menu, .desktop-nav__list > li:focus-within > .sub-menu { display: block; }
	.desktop-nav__list .sub-menu a { display: block; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
	.desktop-nav__list .sub-menu a:hover, .desktop-nav__list .sub-menu a:focus { background: var(--sand); color: var(--accent-dark); }
}
.site-search { border-top: 1px solid rgba(0, 0, 0, 0.08); background: var(--sand); }
.site-search__form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; padding: 14px var(--gutter); }
.site-search__form input[type="search"] {
	flex: 1; min-width: 0; height: 46px; padding: 0 14px; font: inherit;
	border: 1px solid rgba(0, 0, 0, 0.15); border-radius: var(--radius); background: #fff;
}
@media (max-width: 767px) {
	:root { --header-h: 76px; }
	.site-logo img { width: 110px; }
	.header-actions__btn { width: 40px; height: 40px; }
	.header-actions__btn .icon { width: 22px; height: 22px; }
}

/* ---------- Off-canvas nav ---------- */
.site-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, 0.55); }
.site-nav {
	position: fixed; top: 0; left: 0; bottom: 0; z-index: 160;
	width: min(420px, 92vw); overflow-y: auto;
	background: var(--dark); color: var(--on-dark);
	display: flex; flex-direction: column;
	animation: nav-in 220ms ease;
}
@keyframes nav-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.site-nav__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav__title { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.05em; text-transform: uppercase; }
.site-nav__close { background: none; border: 0; color: inherit; font-size: 34px; line-height: 1; padding: 0 6px; }
.site-nav__list { flex: 1; padding: 10px 0; }
.site-nav__row { display: flex; align-items: stretch; }
.site-nav__link {
	display: block; flex: 1; padding: 16px 24px;
	font-family: var(--font-display); font-size: 24px; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--on-dark);
}
.site-nav__link:hover { color: var(--accent-bright); }
.site-nav__item.is-current > .site-nav__link, .site-nav__item.is-current > .site-nav__row .site-nav__link { color: var(--accent-bright); }
.site-nav__expand {
	width: 56px; background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); color: var(--on-dark-muted);
	position: relative;
}
.site-nav__expand::before {
	content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg); transition: transform var(--ease);
}
.site-nav__item.is-open > .site-nav__row .site-nav__expand::before { transform: translateY(3px) rotate(-135deg); }
.site-nav__sub { display: none; background: rgba(0, 0, 0, 0.25); padding: 6px 0; }
.site-nav__item.is-open > .site-nav__sub { display: block; }
.site-nav__sub .site-nav__link {
	padding: 11px 24px 11px 40px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
	color: var(--on-dark-muted);
}
.site-nav__foot { padding: 20px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav__foot a { color: var(--on-dark-muted); font-weight: 600; }

/* ---------- Social ---------- */
.social-links { display: flex; gap: 12px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--on-dark-muted); transition: color var(--ease), transform var(--ease); }
.social-links a:hover { color: var(--accent-bright); transform: translateY(-2px); }
.social-links .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center;
	min-height: min(620px, 82vh);
	background: radial-gradient(circle at 18% 44%, rgba(140, 159, 88, 0.08), transparent 34%), linear-gradient(180deg, #1f211c 0%, var(--dark-deep) 100%);
	color: #f5f4f0;
}
.hero__grid {
	position: absolute; inset: 0; z-index: 1; opacity: 0.2; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(circle at 30% 50%, black 0%, transparent 70%);
}
.hero__copy {
	position: relative; z-index: 5;
	padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 6vw, 80px);
	max-width: 640px; justify-self: start;
}
.hero__title { margin: 0 0 24px; line-height: 0.98; letter-spacing: 0.01em; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.14), 0 8px 18px rgba(0, 0, 0, 0.38); }
.hero__title-line { display: block; font-size: clamp(34px, 4vw, 54px); color: #fff; }
.hero__title-accent { display: block; font-size: clamp(60px, 5.8vw, 92px); white-space: nowrap; color: var(--accent-bright); margin-top: 0.04em; }
/* Per the client's mockup: eyebrow, paragraph and buttons center under a left-aligned title. */
.hero__copy .eyebrow--rules { display: flex; justify-content: center; }
.hero__text { max-width: 520px; margin: 0 auto 32px; text-align: center; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: #c7c4ba; }
.hero__text strong { color: #f5f4f0; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; }
.hero__media { position: relative; z-index: 2; align-self: stretch; min-height: 420px; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__media::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(90deg, var(--dark-deep) 0%, rgba(23, 24, 20, 0.75) 12%, rgba(23, 24, 20, 0.25) 36%, rgba(23, 24, 20, 0) 60%);
}
.hero__caption {
	position: absolute; right: clamp(20px, 5vw, 80px); bottom: clamp(20px, 5vw, 60px); z-index: 4;
	max-width: 300px; text-align: center; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 0, 0, 0.4);
}
.hero__caption strong { display: block; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: 0.03em; line-height: 1; margin-bottom: 4px; }
.hero__caption span { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
@media (max-width: 1024px) {
	.hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
	.hero__copy { max-width: none; min-width: 0; text-align: center; padding-bottom: 36px; justify-self: stretch; }
	.hero__title-line { font-size: clamp(26px, 7.5vw, 54px); }
	.hero__title-accent { font-size: clamp(40px, 12.5vw, 108px); }
	.hero__copy .eyebrow--rules { justify-content: center; flex-wrap: wrap; max-width: 100%; font-size: 12px; letter-spacing: 0.18em; }
	.hero__copy .eyebrow--rules::before, .hero__copy .eyebrow--rules::after { width: 14px; }
	.hero__text { margin-left: auto; margin-right: auto; }
	.hero__ctas { justify-content: center; }
	.hero__media { min-height: 320px; aspect-ratio: 16 / 9; }
	.hero__media::before { background: linear-gradient(180deg, var(--dark-deep) 0%, rgba(23, 24, 20, 0.3) 25%, transparent 50%); }
}
@media (max-width: 480px) {
	.hero__ctas { flex-direction: column; gap: 14px; }
	.hero__caption { position: static; max-width: none; padding: 16px 20px; background: var(--dark-deep); }
}

/* ---------- Dealer logo strip ---------- */
.dealer-strip {
	position: relative; padding: 28px 0 30px; text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: radial-gradient(circle at 50% 0%, rgba(169, 188, 114, 0.09), transparent 42%), linear-gradient(180deg, #212319 0%, #181914 52%, #15160f 100%);
}
.dealer-strip__label { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 244, 240, 0.78); }
.marquee { max-width: 1280px; margin: 0 auto; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__logo { height: 50px; width: auto; flex: 0 0 auto; opacity: 0.92; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee__logo[aria-hidden="true"] { display: none; } }
@media (max-width: 767px) { .marquee__track { gap: 38px; animation-duration: 32s; } .marquee__logo { height: 28px; } }

/* ---------- Product strip (Knives / Gear carousels) ---------- */
.product-strip { background: #fff; overflow: hidden; }
.product-strip--alt { background: #faf9f6; }
.product-strip__inner {
	display: grid; grid-template-columns: minmax(220px, 22vw) minmax(0, 1fr); align-items: center;
	gap: clamp(24px, 2.4vw, 42px); padding: clamp(54px, 6vw, 92px) var(--gutter);
}
.product-strip__intro { max-width: 300px; }
.product-strip__title { font-size: clamp(38px, 3.1vw, 56px); line-height: 0.96; margin: 0 0 18px; color: var(--text); }
.product-strip__text { max-width: 285px; font-size: 14px; line-height: 1.5; color: var(--text-muted); margin: 0 0 26px; }
.carousel { position: relative; min-width: 0; }
.carousel__track {
	display: flex; gap: clamp(18px, 1.6vw, 28px);
	overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x proximity;
	padding: 10px 48px 24px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__arrow {
	position: absolute; top: 44%; z-index: 5; width: 44px; height: 58px; transform: translateY(-50%);
	display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent;
	color: var(--text); font-size: 50px; line-height: 1; transition: color var(--ease), transform var(--ease), opacity var(--ease);
}
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel__arrow:hover { color: var(--accent-dark); }
.carousel__arrow:disabled { opacity: 0.25; cursor: default; }
.carousel:not(.carousel--scrollable) .carousel__arrow { display: none; }
@media (max-width: 1024px) {
	.product-strip__inner { grid-template-columns: 1fr; gap: 34px; }
	.product-strip__intro { max-width: 480px; }
}

/* ---------- Product card ---------- */
.product-card { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.product-card--strip { flex: 0 0 clamp(265px, 19vw, 330px); scroll-snap-align: start; text-align: left; border: 1px solid transparent; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.product-card--strip:hover { border-color: rgba(102, 116, 59, 0.45); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.product-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 18px; }
.product-card--strip .product-card__media { align-items: flex-end; aspect-ratio: 1 / 1.1; }
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform 220ms ease; }
.product-card:hover .product-card__media img { transform: translateY(-5px); }
.product-card__badge {
	position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 2;
	padding: 7px 10px 6px; background: var(--accent-dark); color: #fff;
	font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 0 12px 22px; }
.product-card__title { margin: 0 0 10px; font-size: 17px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.product-card--strip .product-card__title { font-size: clamp(22px, 1.5vw, 28px); font-weight: 900; letter-spacing: -0.03em; text-transform: none; }
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--accent-dark); }
.product-card__tagline { flex: 1; min-height: 44px; margin: 0 0 18px; font-size: 15px; line-height: 1.4; color: var(--text-muted); }
.product-card__price { margin: 0 0 16px; font-size: 18px; font-weight: 900; color: #151515; }
.product-card--strip .product-card__price { font-size: 15px; font-weight: 700; color: var(--text-muted); }
.price__label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--text-muted); margin-right: 4px; }
.product-card .price del { color: var(--grey); font-weight: 400; margin-right: 6px; }
.product-card .price ins { text-decoration: none; }
.product-card .btn { margin-top: auto; }

/* ---------- Product grid (store section + shop archives) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 42px 30px; }
.product-grid--store { max-width: 1080px; margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.store-section { background: #fff; padding: clamp(56px, 6vw, 86px) var(--gutter); }
.store-section__inner { max-width: 1180px; margin: 0 auto; }
.store-section .section-heading__title { font-size: clamp(48px, 5vw, 78px); line-height: 0.95; color: #151515; }
.store-section__footer { text-align: center; margin-top: 50px; }
@media (max-width: 1200px) { .product-grid--store { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .product-grid, .product-grid--store { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; } }

/* ---------- Full-bleed banner CTA (Training, Newsletter, Story) ---------- */
.banner-cta {
	--banner-bg: var(--banner-bg-lg, none);
	position: relative; overflow: hidden; isolation: isolate; min-height: 350px;
	display: flex; align-items: center;
	background:
		linear-gradient(90deg, rgba(20, 22, 16, 0.72) 0%, rgba(20, 22, 16, 0.52) 42%, rgba(20, 22, 16, 0.28) 72%, rgba(20, 22, 16, 0.12) 100%),
		var(--banner-bg) center / cover no-repeat,
		var(--dark);
	color: var(--on-dark);
}
.banner-cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.32;
	background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 72%, transparent 100%);
}
.banner-cta::after {
	content: ""; position: absolute; inset: 24px; z-index: 5; pointer-events: none;
	border: 1px solid var(--on-dark-line);
	clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}
.banner-cta__inner { position: relative; z-index: 3; width: 100%; max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter); }
.banner-cta__inner--split { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.banner-cta__content { max-width: 760px; }
.banner-cta__title { margin: 0; font-family: var(--font-display); text-transform: uppercase; line-height: 0.88; letter-spacing: 0.035em; }
h1.eyebrow { font-family: var(--font-body); font-size: 12px; line-height: 1; letter-spacing: 0.16em; }
.banner-cta__title span, .banner-cta__title strong { display: block; font-weight: 400; }
.banner-cta__title span { font-size: clamp(50px, 6vw, 100px); color: #f5f3ed; text-shadow: 0 10px 22px rgba(0, 0, 0, 0.3); }
.banner-cta__title strong { font-size: clamp(54px, 6.4vw, 108px); color: var(--accent-bright); text-shadow: 0 12px 24px rgba(0, 0, 0, 0.36); }
.banner-cta__title--sm span { font-size: clamp(38px, 4.4vw, 62px); }
.banner-cta__title--sm strong { font-size: clamp(40px, 4.6vw, 66px); }
.banner-cta__text { max-width: 620px; margin: 26px 0 34px; font-size: clamp(16px, 1.18vw, 20px); line-height: 1.7; color: var(--on-dark-muted); }
.banner-cta--newsletter { min-height: 0; background-blend-mode: normal; }
.banner-cta--newsletter .banner-cta__text { margin-bottom: 0; font-size: 15px; }
.newsletter-form { flex: 0 0 auto; width: 440px; max-width: 100%; }
.newsletter-form__row { display: flex; gap: 12px; }
.newsletter-form__label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: #f5f3ed; }
.newsletter-form__note { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--on-dark-muted); }
.newsletter-form__note a { color: var(--accent-bright); text-decoration: underline; }
.newsletter-form__error { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #ffb4a8; }
.newsletter-form__thanks { font-size: 14px; line-height: 1.6; color: #f5f3ed; }
.newsletter-form__thanks strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--accent-bright); }
.newsletter-form__row input[type="email"] {
	flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: inherit; font-size: 14px; color: var(--on-dark);
	background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(161, 183, 99, 0.35); border-radius: 0;
}
.newsletter-form__row input::placeholder { color: var(--on-dark-muted); }
.newsletter-form__row input:focus { border-color: var(--accent-bright); background: rgba(255, 255, 255, 0.07); }
.newsletter-form .ml-form-embedContainer { color: var(--text); }
@media (max-width: 1024px) {
	.banner-cta__inner--split { flex-direction: column; align-items: stretch; gap: 28px; }
	.newsletter-form { width: 100%; }
	.banner-cta::after { inset: 14px; }
}
@media (max-width: 600px) { .newsletter-form__row { flex-direction: column; } .newsletter-form__row input[type="email"] { flex: none; } }

/* ---------- Footer ---------- */
.site-footer {
	position: relative; overflow: hidden; isolation: isolate;
	padding: 76px 0 40px; background: var(--dark); color: var(--on-dark);
}
.site-footer::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.28;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 100%);
}
.site-footer::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(ellipse 1400px 340px at 50% -8%, rgba(161, 183, 99, 0.16), transparent 72%), linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%);
}
.site-footer__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.site-footer__columns { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px; padding: 16px 0 56px; }
.site-footer__col h3 { margin: 0 0 20px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); }
.site-footer__links, .site-footer__contact { display: flex; flex-direction: column; gap: 13px; }
.site-footer__links a { font-size: 15px; line-height: 1.4; color: var(--on-dark-muted); transition: color var(--ease); }
.site-footer__links a:hover { color: var(--on-dark); }
.site-footer__contact { list-style: none; margin: 0; padding: 0; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.site-footer__contact a { color: inherit; }
.site-footer__contact .icon { flex-shrink: 0; width: 15px; height: 15px; margin-top: 3px; color: var(--on-dark-faint); }
.site-footer__col--company .btn { margin-top: 22px; }
/* Mailing-list box, on every page that doesn't already have the full signup band. */
.footer-signup {
	display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; margin-bottom: 48px; padding: 36px 56px;
	background: rgba(161, 183, 99, 0.05); border: 1px solid var(--on-dark-line);
	clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.footer-signup__content { flex: 1 1 0; min-width: 0; }
.footer-signup__title { margin: 8px 0 0; font-family: var(--font-display); font-weight: 400; line-height: 0.95; letter-spacing: 0.035em; text-transform: uppercase; }
.footer-signup__title span, .footer-signup__title strong { display: block; font-weight: 400; }
.footer-signup__title span { font-size: 32px; color: #f5f3ed; }
.footer-signup__title strong { font-size: 36px; color: var(--accent-bright); }
.footer-signup__text { max-width: 560px; margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
@media (max-width: 1024px) {
	.footer-signup { flex-direction: column; align-items: stretch; padding: 28px 20px; text-align: center; }
	.footer-signup__text { margin-left: auto; margin-right: auto; }
	.footer-signup .newsletter-form__note { text-align: left; }
}
.site-footer__divider { height: 1px; margin-bottom: 40px; background: linear-gradient(90deg, transparent, var(--on-dark-line) 50%, transparent); }
.site-footer__tagline { max-width: 980px; margin: 0 auto 44px; text-align: center; font-size: 14px; line-height: 1.7; color: var(--on-dark-faint); }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 36px; }
.site-footer__badge { width: 96px; }
.site-footer__legal { margin: 0; text-align: center; font-size: 12.5px; letter-spacing: 0.02em; color: var(--on-dark-faint); }
.site-footer__legal a { color: var(--accent-bright); font-weight: 700; }
@media (max-width: 1100px) {
	.site-footer__columns { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.site-footer__col--company { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.site-footer { padding: 56px 0 32px; }
	.site-footer__columns { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Generic page / content ---------- */
.page-content { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter); }
.page-content--narrow { max-width: 860px; }
/* The Knives catalog page: its heading carries the top spacing, as on the category pages, so both sit at the same height. */
.page-content--catalog { padding-top: 0; }
.page-content--catalog .shop-header { padding-left: 0; padding-right: 0; }
.page-content--catalog .product-grid { margin-top: 40px; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
/* Text sizes picked in the editor (Small / Medium / Large / Extra Large). WordPress's own rules for
   these are not loaded on this site, so they live here; the sizes are registered in inc/blocks.php.
   !important as in WordPress, so a choice in the editor wins over a page's own text size. */
.has-small-font-size { font-size: 14px !important; }
.has-medium-font-size { font-size: 17px !important; }
.has-large-font-size { font-size: 20px !important; }
.has-x-large-font-size { font-size: 24px !important; }
.entry-content .wp-block-table table, .entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content td, .entry-content th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.entry-content .wp-block-button__link { display: inline-flex; min-height: 46px; padding: 0 30px; background: var(--accent-dark); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius); align-items: center; }
.breadcrumbs { font-size: 13px; color: var(--grey); margin-bottom: 20px; }
.breadcrumbs a { color: var(--grey); }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- WooCommerce: archive ---------- */
.shop-header { padding: clamp(40px, 5vw, 64px) var(--gutter) 0; text-align: center; }
.shop-header__title { margin: 0 0 12px; font-size: clamp(44px, 6vw, 72px); }
.shop-header__desc { max-width: 640px; margin: 0 auto; color: var(--text-muted); }
.shop-header--after-banner { padding-top: clamp(20px, 3vw, 36px); }
.shop-header--after-banner:not(:has(*)) { padding-top: 0; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 1400px; margin: 32px auto 0; padding: 0 var(--gutter); }
.shop-toolbar__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-toolbar__filters a { padding: 9px 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line); border-radius: 999px; transition: all var(--ease); }
.shop-toolbar__filters a:hover, .shop-toolbar__filters a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-toolbar select { height: 42px; padding: 0 12px; font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; }
.shop-grid { max-width: 1400px; margin: 0 auto; padding: 40px var(--gutter) clamp(48px, 6vw, 80px); }
.woocommerce-pagination { text-align: center; margin-top: 40px; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 40px; height: 40px; padding: 0 10px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.woocommerce-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- WooCommerce: single product ---------- */
.product-single { max-width: 1400px; margin: 0 auto; padding: 24px var(--gutter) clamp(48px, 6vw, 80px); }
.product-single__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-single__gallery .woocommerce-product-gallery { width: 100% !important; }
.product-single__gallery .woocommerce-product-gallery__image img { width: 100%; object-fit: contain; }
.product-single__gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.product-single__gallery .flex-control-thumbs li { width: calc(20% - 7px); margin: 0; }
.product-single__gallery .flex-control-thumbs img { border: 1px solid var(--line); cursor: pointer; opacity: 0.7; }
.product-single__gallery .flex-control-thumbs img.flex-active, .product-single__gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--accent-dark); }
.product-single__title { margin: 0 0 10px; font-size: clamp(40px, 4.5vw, 60px); line-height: 1; }
.product-single__price { margin: 0 0 22px; font-size: 22px; font-weight: 900; color: var(--accent-dark); }
.product-single__price .price__label { font-size: 12px; }
.product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.product-features li { display: flex; align-items: center; gap: 8px; }
.product-features .icon { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.product-dealer-cta { margin: 0 0 28px; }
.product-single .cart { margin-bottom: 28px; }
.product-single .variations { width: 100%; margin-bottom: 16px; }
.product-single .variations td { padding: 6px 0; }
.product-single .variations label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.product-single .variations select { width: 100%; height: 44px; padding: 0 12px; font: inherit; border: 1px solid var(--line); background: #fff; }
.product-single .reset_variations { font-size: 12px; }
.product-single .quantity .qty { width: 72px; height: 46px; padding: 0 10px; font: inherit; text-align: center; border: 1px solid var(--line); }
.product-single .single_add_to_cart_button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 30px; margin-left: 8px; background: var(--accent-dark); color: #fff; border: 0; border-radius: var(--radius); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.product-single .single_add_to_cart_button:hover { background: var(--accent); }
.product-single .woocommerce-variation-price { margin-bottom: 12px; font-weight: 800; }
.product-single .stock { font-size: 13px; }
.product-single .stock.out-of-stock { color: #b23b3b; }
.product-tabs { margin-top: 8px; }
.product-tabs__nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.product-tabs__nav button { padding: 12px 18px; background: #f3f2ef; border: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); border-radius: 4px 4px 0 0; }
.product-tabs__nav button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 0 #fff; border: 1px solid var(--line); border-bottom: 0; }
.product-tabs__panel { padding: 22px 0 0; font-size: 15px; }
.product-tabs__panel[hidden] { display: none; }
.product-specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-specs th, .product-specs td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-specs th { width: 40%; font-weight: 700; color: var(--text-muted); }
.product-notice { margin-top: 28px; padding: 14px 16px; border: 1px solid #d9b44a; background: rgba(217, 180, 74, 0.08); font-size: 13px; line-height: 1.6; }
.product-notice__title { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.variations-table-wrap { margin-top: clamp(40px, 5vw, 64px); }
.variations-table-wrap h2 { font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 18px; }
.variations-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.variations-table th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid var(--line); }
.variations-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.variations-table__img { width: 90px; }
.variations-table__img img { width: 72px; height: 72px; object-fit: contain; }
.variations-table tr[data-variation-row] { cursor: pointer; }
.variations-table tr[data-variation-row]:hover, .variations-table tr.is-selected { background: #f6f7f1; }
.variations-table .sku { font-weight: 800; }
.related-products { margin-top: clamp(48px, 6vw, 80px); }
.related-products h2 { font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 24px; }
.related-products .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .product-single__top { grid-template-columns: minmax(0, 1fr); } .related-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .related-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-features { grid-template-columns: 1fr; } .variations-table { font-size: 13px; } .variations-table__img { width: 64px; } .variations-table__img img { width: 52px; height: 52px; } }

/* ---------- WooCommerce: cart / checkout / account (light touch over Woo defaults) ---------- */
.woocommerce-page .page-content { max-width: 1180px; }
.woocommerce-page .entry-content > * { max-width: none; }
.woocommerce-cart .coupon input.input-text { width: 160px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--accent-dark); color: #fff; border-radius: var(--radius); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--accent); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt { background: var(--accent-dark); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--accent); color: #fff; }
.woocommerce a.button.alt.disabled, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled[disabled] { background: var(--accent-dark); color: #fff; opacity: 0.5; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--accent-dark); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent-dark); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--accent-dark); }

/* ---------- About + team ---------- */
/* The story sits in the site's page column and uses the site's own heading and text styles, like
   the other content pages, with the founders' photos in a side column that stays in view while
   the story scrolls. A collage, when one is set, runs the width of the column under the story.
   (drm ran the story edge to edge beside its collage; the client had the collage removed in
   November 2026, which left lines of text as wide as the screen.) */
.about-story { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter); }
.about-founders { max-width: 480px; margin: 0 0 28px; }
.about-founders__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-founders img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.about-founders figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #5f5b52; }
.about-collage { margin: clamp(32px, 4vw, 56px) 0 0; }
.about-collage img { display: block; max-width: 100%; height: auto; }

/* The mission statement keeps the same two columns: its text under the story's, and the motto
   (the paragraph with the "motto" class) as a pull quote where the photos sit above. */
.mission { background: var(--dark); color: var(--on-dark); padding: clamp(48px, 6vw, 88px) 0; }
.mission__inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.mission__inner > * { max-width: 760px; }
.mission h2 { color: var(--accent-bright); }
.mission p { color: var(--on-dark-muted); font-size: 18px; line-height: 1.7; }
.mission .motto { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); color: #fff; letter-spacing: 0.04em; }
@media (min-width: 900px) {
	.about-story__main--photos, .mission__inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 32%, 380px); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
	.about-story__main--photos .about-story__text { grid-area: 1 / 1; }
	.about-story__main--photos .about-founders { grid-area: 1 / 2; position: sticky; top: calc(var(--header-h) + 24px); max-width: none; margin: 0; }
	.mission__inner > * { grid-column: 1; }
	.mission__inner > .motto { grid-column: 2; grid-row: 1 / span 12; align-self: center; margin: 0; padding-left: 24px; border-left: 3px solid var(--accent-bright); }
}

.team-band { padding: 96px 16px 64px; background: #f1f1f1; }
.team-band__inner { padding: 16px 0 0; }
.team-band__title { margin: 0 0 42px; font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: 1.2px; color: #0f0f0f; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 37px 36px; margin: 0; padding: 0 10px; list-style: none; }
.team-card__link { display: block; color: #0f0f0f; }
/* The team photos are torn-paper cutouts, so they show whole, as on the current site. */
.team-card__photo { display: block; }
.team-card__photo img { display: block; width: 100%; height: auto; transition: transform var(--ease); }
.team-card__link:hover .team-card__photo img { transform: translateY(-4px); }
/* drm sets Handpack here, but on its About page the font never loads and visitors see a bold
   mixed-case sans; match what they see (and skip the 246 KB font on About). */
.team-card__name { display: block; margin: 16px 16px 0; font-family: var(--font-body); font-size: 20px; font-weight: 700; line-height: 1.1; letter-spacing: 1.2px; }
.team-card__link:hover .team-card__name { color: var(--accent-dark); }
.team-card__role { display: block; margin: 4px 16px 0; font-size: 13px; color: var(--text-muted); }
@media (max-width: 767px) {
	.team-band { padding: 64px 16px 48px; }
	.team-band__title { margin-bottom: 24px; font-size: 32px; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding: 0; }
	.team-card__name { margin: 10px 0 0; font-size: 15px; }
}

/* Memorial: photo under an olive gradient, text on the left. The photo is pinned to its top
   edge, a little right of centre, so Mike's face stays in view however wide the band is. */
.memorial { margin: 48px 10px; padding: 24px; }
.memorial__inner { max-width: 866px; padding: 10px; }
.memorial__inner h2 { margin: 0 0 16px; font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: 1.2px; }
.memorial__inner p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
.memorial--photo { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 50vh; color: #fdfdfd; background: var(--dark) var(--banner-bg-lg) 65% 0 / cover no-repeat; }
.memorial--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.88; background: linear-gradient(73deg, #394130 22%, rgba(57, 65, 48, 0) 100%); }
.memorial--photo h2, .memorial--photo p { color: #fdfdfd; }
/* Phones: the photo runs across the top with his face clear of the words, then fades into the olive the text sits on. */
@media (max-width: 767px) {
	.memorial { margin: 32px 16px; padding: 0; }
	.memorial__inner h2 { font-size: 32px; }
	.memorial--photo { align-items: flex-start; padding-top: 176px; background: #394130 var(--banner-bg-sm) 60% 0 / auto 420px no-repeat; }
	.memorial--photo::before { opacity: 1; background: linear-gradient(180deg, rgba(57, 65, 48, 0.12) 0, rgba(57, 65, 48, 0.12) 120px, rgba(57, 65, 48, 0.9) 250px, #394130 400px); }
}

/* Large monitors: drm's About switches layout above 1486px wide. All seven team members in
   one row, memorial text at half width. */
@media (min-width: 1487px) {
	.team-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 37px 36px; }
	.memorial { margin: 24px; }
	.memorial__inner { max-width: 50%; }
}

/* Team bio pages (/team/{name}/), measured from drm's. */
.team-bio__kicker { margin: 0; padding: 18px var(--gutter) 0; background: #fafafa; font-family: "Handpack", var(--font-body); font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: 1.2px; text-align: center; text-transform: uppercase; color: #1c2626; }
/* The torn edges are the paint-edge image at its own ratio (15.05% of the width, 289px at most);
   the content starts right below the top one and ends right above the bottom one, as on drm. */
.team-bio { --bio-edge: min(15.05vw, 289px); position: relative; isolation: isolate; padding: var(--bio-edge) 0; background: #1c2626 var(--banner-bg-lg) center / cover no-repeat; color: #fdfdfd; }
.team-bio::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #1c2626 url("../img/texture-dark.webp") center / cover no-repeat; opacity: 0.95; }
.team-bio__edge { position: absolute; left: 0; width: 100%; height: var(--bio-edge); object-fit: fill; pointer-events: none; }
.team-bio__edge--top { top: -1px; }
.team-bio__edge--bottom { bottom: -1px; transform: scaleY(-1); }
.team-bio__inner { position: relative; width: 78%; margin: 0 auto; padding: 10px; }
.team-bio__inner > * { max-width: 539px; margin-left: 10px; }
.team-bio__photo img { display: block; width: 259px; height: auto; }
.team-bio__name { margin-top: 22px; margin-bottom: 14px; font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: 1.2px; color: #fdfdfd; }
.team-bio__role { margin-top: -6px; font-weight: 700; color: var(--accent-bright); }
.team-bio__text p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #fdfdfd; }
.team-bio__back { margin-top: 28px; }
.team-bio__back a { color: #fdfdfd; text-decoration: underline; text-underline-offset: 3px; }
.team-bio__back a:hover { color: var(--accent-bright); }
/* Large monitors: two equal columns, the text centred vertically on the left, the photo on the right. */
@media (min-width: 1487px) {
	.team-bio__kicker, .team-bio__name { font-size: 48px; }
	.team-bio__inner { display: flex; align-items: stretch; }
	.team-bio__inner > * { flex: 0 0 50%; max-width: none; margin: 0; padding: 10px; }
	.team-bio__body { display: flex; flex-direction: column; justify-content: center; }
	.team-bio__name { margin-top: 0; }
	.team-bio__photo { order: 2; display: flex; align-items: flex-start; justify-content: center; }
	.team-bio__photo img { width: 100%; max-width: 773px; }
}
@media (max-width: 767px) { .team-bio__kicker { font-size: 32px; } .team-bio__inner { width: auto; } .team-bio__inner > * { max-width: none; margin-left: 0; padding: 0 10px; } .team-bio__photo img { width: 100%; } .team-bio__name { font-size: 32px; } }

/* ---------- Page banner (form pages): dark photo, title, optional logos, torn edge ---------- */
.page-banner {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; justify-content: center;
	min-height: clamp(240px, 26vw, 380px); padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(64px, 7vw, 104px);
	background: var(--dark-deep); color: #fff; text-align: center;
}
.page-banner--dealers { min-height: clamp(300px, 30vw, 440px); }
.page-banner__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 24, 20, 0.72) 0%, rgba(23, 24, 20, 0.6) 55%, rgba(23, 24, 20, 0.82) 100%); }
.page-banner__inner { max-width: 900px; margin: 0 auto; }
.page-banner__eyebrow { justify-content: center; }
.page-banner__title { margin: 0; font-size: clamp(46px, 7vw, 96px); line-height: 0.95; letter-spacing: 0.02em; text-shadow: 0 4px 22px rgba(0, 0, 0, 0.45); }
.page-banner__subtitle { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-bright); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
/* The edge artwork is white above a torn line; flipped, it tears the photo into the white page below. */
.page-banner__edge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(28px, 4.2vw, 64px); object-fit: fill; transform: scaleY(-1); pointer-events: none; }
/* Compact banner (About): the current site's short band, photo under a 94% dark grain texture. */
.page-banner--compact { min-height: 25vh; padding: 24px 16px; }
.page-banner--compact::before { background: #1c2626 url("../img/texture-dark.webp") center / cover no-repeat; opacity: 0.94; }
.page-banner--compact .page-banner__title { font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -0.6px; text-shadow: none; }
.page-banner--no-edge { padding-bottom: 24px; }
@media (max-width: 767px) { .page-banner--compact .page-banner__title { font-size: 32px; } }
.dealer-strip--banner { margin: clamp(24px, 3vw, 36px) calc(var(--gutter) * -1) 0; padding: 0; border: 0; background: none; }
.dealer-strip--banner .marquee__logo { height: 42px; opacity: 0.9; }
@media (max-width: 767px) { .dealer-strip--banner .marquee__logo { height: 26px; } }

/* ---------- Form page layout: text + side card, then the form ---------- */
.form-page {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "main aside" "form aside";
	gap: clamp(28px, 3vw, 40px) clamp(32px, 4vw, 64px);
	max-width: 1180px; margin: 0 auto; padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(64px, 7vw, 104px);
}
.form-page__main { grid-area: main; min-width: 0; }
.form-page__main.entry-content > * { max-width: none; }
.form-page__aside { grid-area: aside; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.form-page__form { grid-area: form; min-width: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.form-page__form-title { margin: 0 0 16px; font-size: clamp(32px, 3.2vw, 44px); }
@media (max-width: 960px) {
	.form-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "aside" "form"; }
	.form-page__aside { position: static; }
}

.contact-card { padding: 28px 26px; background: var(--dark); color: var(--on-dark); border-top: 3px solid var(--accent); }
.contact-card__title { margin: 0 0 16px; font-size: 30px; color: #fff; }
.contact-card__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-card__list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.contact-card__list .icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent-bright); }
.contact-card a { color: var(--on-dark); word-break: break-word; }
.contact-card a:hover { color: var(--accent-bright); }
.contact-card__text { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; line-height: 1.6; color: var(--on-dark-muted); }
.contact-card__text p { margin: 0 0 10px; }
.contact-card__text p:last-child { margin-bottom: 0; }
.contact-card__text strong { color: #fff; }

/* Classic themes wrap group contents in an inner div; let our styled groups lay out their real children. */
.entry-content :is(.policy, .policy-list, .note-card, .info-card, .address-callout) > .wp-block-group__inner-container { display: contents; }

/* Policies on Become a Dealer: a label column and the text beside it. */
.entry-content .policy-list { margin: 0 0 8px; border-top: 1px solid var(--line); }
.entry-content .policy { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.entry-content .policy > * { margin: 0; }
.entry-content .policy h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink); }
.entry-content .policy p { line-height: 1.7; }
@media (max-width: 640px) { .entry-content .policy { grid-template-columns: minmax(0, 1fr); } }

/* Warranty "fine print": a scannable list with check marks. */
.entry-content .checklist { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.entry-content .checklist li { position: relative; padding-left: 30px; line-height: 1.65; }
.entry-content .checklist li::before {
	content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-dark);
	-webkit-mask: url("../img/icons/check.svg") center / 12px no-repeat; mask: url("../img/icons/check.svg") center / 12px no-repeat;
	background-color: var(--accent-dark);
}
.entry-content .note-card, .entry-content .info-card { margin: 28px 0; padding: 22px 24px; background: var(--cream); border-left: 4px solid var(--accent); }
.entry-content .note-card > :first-child, .entry-content .info-card > :first-child { margin-top: 0; }
.entry-content .note-card > :last-child, .entry-content .info-card > :last-child { margin-bottom: 0; }
.entry-content .note-card h3, .entry-content .info-card h3 { margin: 0 0 10px; font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.entry-content .note-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.entry-content .address-callout { padding: 18px 22px; background: var(--dark); color: var(--on-dark); border-left: 4px solid var(--accent-bright); }
.entry-content .address-callout strong { color: #fff; }

/* Photo row at the bottom of a page (Contact). */
.photo-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; background: var(--dark-deep); }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 767px) { .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-strip img:nth-child(5) { grid-column: span 2; aspect-ratio: 16 / 7; } }

/* ---------- Forms (Forminator, design set to "None": all styling is here) ---------- */
.form-card { padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #fff; box-shadow: var(--shadow-soft); }
.form-card .forminator-ui { font-family: var(--font-body); color: var(--text); }
.form-card .forminator-row { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0 0 18px; }
.form-card .forminator-row-last, .form-card .forminator-row:last-child { margin-bottom: 0; }
/* Each row holds only its own columns, so they share the width equally (Forminator's 50% + our gap would wrap). */
/* !important: Forminator's grid CSS targets these with far more specific selectors. */
.form-card .forminator-row { display: flex !important; flex-wrap: nowrap !important; margin-left: 0 !important; margin-right: 0 !important; }
.form-card .forminator-row > [class*="forminator-col"] { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0; padding: 0 !important; }
.form-card .forminator-field-name .forminator-row, .form-card .forminator-field-address .forminator-row { margin-bottom: 14px; }
.form-card .forminator-field-name .forminator-row:last-child, .form-card .forminator-field-address .forminator-row:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .form-card .forminator-row { flex-direction: column; gap: 18px; } .form-card .forminator-row > [class*="forminator-col"] { flex: 0 0 auto !important; } }
.form-card .forminator-label, .form-card label.forminator-label {
	display: block; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.form-card .forminator-required { color: #b3261e; }
.form-card .forminator-description { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.form-card input.forminator-input, .form-card textarea.forminator-textarea, .form-card select.forminator-select, .form-card .forminator-select2 + .select2 .select2-selection,
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card input[type="number"], .form-card input[type="url"], .form-card textarea, .form-card select {
	width: 100%; min-height: 46px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--text);
	background: #fbfaf8; border: 1px solid #d6d2c9; border-radius: var(--radius); box-shadow: none; transition: border-color var(--ease), background var(--ease);
}
.form-card textarea, .form-card textarea.forminator-textarea { min-height: 130px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--accent-dark); background: #fff; box-shadow: 0 0 0 3px rgba(140, 159, 88, 0.22); }
.form-card ::placeholder { color: #8f8a80; opacity: 1; }
.form-card .select2-container { width: 100% !important; }
.form-card .select2-selection { display: flex !important; align-items: center; height: auto !important; }
.form-card .select2-selection__rendered { padding: 0 !important; line-height: 1.4 !important; color: var(--text) !important; }
.form-card .select2-selection__arrow { top: 50% !important; transform: translateY(-50%); right: 10px !important; }
.form-card .iti { width: 100%; }
.form-card .forminator-title { margin: 14px 0 4px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text); }
.form-card .forminator-subtitle { margin: 0; font-size: 14px; color: var(--text-muted); }
.form-card .forminator-radio, .form-card .forminator-checkbox { display: inline-flex; align-items: center; gap: 8px; margin: 4px 22px 4px 0; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text); cursor: pointer; }
.form-card .forminator-radio input, .form-card .forminator-checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-dark); }
.form-card .forminator-radio-bullet, .form-card .forminator-checkbox-box { display: none; }
.form-card .forminator-file-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.form-card .forminator-button-upload, .form-card .forminator-file-upload button {
	min-height: 40px; padding: 0 18px; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
	background: var(--sand); color: var(--text); border: 1px solid #d6d2c9; border-radius: var(--radius); cursor: pointer;
}
.form-card .forminator-button-submit, .form-card button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 36px; margin-top: 6px;
	font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	background: var(--accent-dark); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer;
	box-shadow: 0 12px 24px rgba(102, 116, 59, 0.2); transition: background var(--ease), transform var(--ease);
}
.form-card .forminator-button-submit:hover { background: var(--accent); transform: translateY(-2px); }
.form-card .forminator-error-message, .form-card .forminator-error-messages { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #b3261e; }
.form-card .forminator-has_error input, .form-card .forminator-has_error textarea { border-color: #b3261e; }
.form-card .forminator-response-message { margin-bottom: 18px; padding: 14px 16px; font-weight: 600; border-left: 4px solid var(--accent); background: var(--cream); }
.form-card .forminator-response-message:empty, .form-card .forminator-response-message[aria-hidden="true"] { display: none; }
.form-card .forminator-response-message.forminator-error { border-color: #b3261e; background: #fbeeed; }
.form-card .forminator-g-recaptcha { margin-top: 4px; }

/* ---------- Dealer locator ---------- */
.dealer-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; max-width: 760px; margin: 24px 0 12px; }
.dealer-search label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.dealer-search input, .dealer-search select { width: 100%; height: 46px; padding: 0 14px; font: inherit; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dealer-status { margin: 0 0 24px; font-size: 14px; color: var(--text-muted); }
.dealer-group { margin-top: 36px; }
.dealer-group__title { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: clamp(26px, 2.6vw, 34px); }
.dealer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; margin: 18px 0 0; padding: 0; list-style: none; }
.dealer-card__name { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.dealer-card__address { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.dealer-card__links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 14px; font-weight: 600; }
@media (max-width: 600px) { .dealer-search { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ accordions + embeds in page content ---------- */
/* Accordions: boxed rows with a +/− marker, as on the current site's FAQ. */
.entry-content > details { max-width: 1020px; }
.entry-content details { border: 1px solid #dcd9d2; background: #fff; }
.entry-content details + details { border-top: 0; }
.entry-content details summary { position: relative; display: block; padding: 14px 16px 14px 46px; cursor: pointer; font-weight: 700; line-height: 1.4; list-style: none; }
.entry-content details summary::-webkit-details-marker { display: none; }
.entry-content details summary::before, .entry-content details summary::after { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translateY(-50%); transition: transform var(--ease); }
.entry-content details summary::after { transform: translateY(-50%) rotate(90deg); }
.entry-content details[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.entry-content details summary:hover { background: #faf9f6; }
.entry-content details[open] summary { color: var(--accent-ink); }
.entry-content details > :not(summary) { margin: 0; padding: 0 20px 4px 46px; line-height: 1.7; }
.entry-content details > :last-child:not(summary) { padding-bottom: 18px; }
/* Flipbook pages (Catalog, Dealer Resources) */
/* Widths as on drm: Dealer Resources runs ~1400px wide; the centred Catalog frame ~1100px. */
.flip-page { max-width: calc(1400px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(36px, 4.5vw, 64px) var(--gutter) clamp(56px, 7vw, 96px); }
.flip-page--center { max-width: calc(1100px + 2 * var(--gutter)); }
.flip-page__head { margin: 0 0 clamp(24px, 3vw, 40px); }
.flip-page__head--center { text-align: center; }
.flip-page__eyebrow { margin: 0 0 14px; color: var(--accent-ink); }
.flip-page__title { margin: 0; font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text); }
.flip-page__title span { display: block; color: var(--accent-dark); }
.flip-page__intro { margin-bottom: 32px; }
.flipbook-frame { position: relative; margin: 0 0 clamp(40px, 5vw, 64px); padding: 12px; border: 1px solid rgba(108, 128, 70, 0.35); }
.flipbook-frame::before, .flipbook-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent-dark); }
.flipbook-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.flipbook-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.resource-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.resource-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.resource-card__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.resource-card__body { display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 24px; }
.resource-card__title { margin: 0; font-size: clamp(24px, 2vw, 30px); }
.resource-card__btn { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); border: 1px solid #bdb8ad; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.resource-card__btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
@media (max-width: 900px) { .resource-cards { grid-template-columns: minmax(0, 1fr); } .resource-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); } .resource-card__img img { height: 100%; } }
@media (max-width: 480px) { .resource-card { display: flex; } }
.testimonials-section { margin-top: clamp(48px, 6vw, 88px); }
.testimonials-section__title { margin: 0 0 clamp(24px, 3vw, 40px); text-align: center; }
.testimonials { max-width: 1060px; margin: 0 auto; columns: 3 280px; column-gap: 20px; }
.testimonial { break-inside: avoid; margin: 0 0 20px; padding: 18px 20px 20px; background: #f6f5f2; border: 1px solid #ecebe6; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: 16px; line-height: 1.6; }
.testimonial mark { padding: 0 2px; background: #fff27a; color: inherit; font-style: italic; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.testimonial figcaption { margin-top: 16px; }
.testimonial__name { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; }
.testimonial__source { display: block; font-size: 13px; color: var(--text-muted); }
.catalog-flipbook { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--sand); }
.catalog-flipbook iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Utilities ---------- */
.is-hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--dark); color: var(--on-dark); }

/* ---------- Photo galleries in page content ---------- */
.entry-content .wp-block-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.entry-content .wp-block-gallery .wp-block-image { width: auto !important; margin: 0 !important; }
.entry-content .wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 600px) { .entry-content .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Phones: the eyebrow's side rules would wrap onto their own line. */
@media (max-width: 480px) { .hero__copy .eyebrow--rules::before, .hero__copy .eyebrow--rules::after { display: none; } }

/* ---------- Added-to-cart panel: confirms without covering or dimming the page ---------- */
.btn--sm { min-height: 36px; padding: 0 18px; font-size: 12px; box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn.is-busy, .single_add_to_cart_button.is-busy { opacity: 0.7; cursor: progress; }
.header-cart__count.is-bumped { animation: cart-bump 420ms ease; }
@keyframes cart-bump { 40% { transform: scale(1.45); } }
.cart-added {
	position: fixed; top: calc(var(--header-h) + 12px); right: var(--gutter); z-index: 140;
	width: min(400px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
	padding: 18px 20px 14px; background: #fff; color: var(--ink);
	border-top: 3px solid var(--accent-dark); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
	visibility: hidden; opacity: 0; transform: translateY(-12px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.cart-added.is-open { visibility: visible; opacity: 1; transform: none; }
.cart-added__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-added__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 800; }
.cart-added__title .icon { width: 18px; height: 18px; color: var(--green); }
.cart-added__close { width: 32px; height: 32px; padding: 0; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--text-muted); cursor: pointer; }
.cart-added__close:hover { color: var(--ink); }
.cart-added__item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-added__img img { display: block; width: 76px; height: 76px; object-fit: contain; }
.cart-added__name { margin: 0 0 4px; font-size: 15px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.cart-added__option { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); overflow-wrap: anywhere; }
.cart-added__price { margin: 6px 0 0; font-size: 15px; font-weight: 800; }
.cart-added__price span { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.cart-added__totals { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14px; }
.cart-added__totals strong { font-size: 17px; font-weight: 900; }
.cart-added__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-added__actions .btn { justify-content: center; width: 100%; min-height: 48px; }
.cart-added__continue { display: block; width: 100%; margin-top: 8px; padding: 8px; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--text-muted); cursor: pointer; }
.cart-added__continue:hover { color: var(--ink); text-decoration: underline; }
.cart-added__error { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #a32020; }
/* The 18-or-older question, shown once before the first Store item goes in the cart. */
.age-check { width: min(460px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.age-check::backdrop { background: rgba(0, 0, 0, 0.6); }
.age-check__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text); }
.age-check__text { margin: 0 0 22px; font-size: 16px; line-height: 1.6; }
.age-check__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.age-check__no { padding: 8px; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--text-muted); text-decoration: underline; cursor: pointer; }
.age-check__no:hover { color: var(--ink); }
.age-check-noscript { flex-basis: 100%; margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.cart-choose-note { flex-basis: 100%; margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #a32020; }

/* Product page: buying controls */
.product-single form.cart .woocommerce-variation-add-to-cart, .product-single form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: center; }
.product-single .single_add_to_cart_button { min-height: 50px; font-size: 14px; }
.product-single .variations th.label { padding: 6px 12px 6px 0; text-align: left; white-space: nowrap; vertical-align: middle; }
.product-single .woocommerce-variation-price .price { font-size: 22px; font-weight: 900; }

/* Variations table: one-click Add stays reachable when the table scrolls sideways on phones */
.variations-table__add { position: sticky; right: 0; width: 1%; white-space: nowrap; text-align: right; background: #fff; }
.variations-table tr[data-variation-row]:hover .variations-table__add, .variations-table tr.is-selected .variations-table__add { background: #f6f7f1; }
.variations-table__out { font-size: 12px; font-weight: 700; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .cart-added, .header-cart__count.is-bumped { transition: none; animation: none; } }
.table-scroll { max-width: 100%; overflow-x: auto; }
.cart-added__actions .btn { padding: 0 10px; white-space: nowrap; }
.product-single__top > * { min-width: 0; }
.variations-table__img img { min-width: 52px; }

/* ---------- Training page ---------- */
.training-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.training-hero__phone { font-weight: 800; color: #f5f3ed; }
.training-hero__phone:hover { color: var(--accent-bright); }
.training-section { padding-block: clamp(36px, 5vw, 64px); }
.training-section + .training-section { padding-top: 0; }
.training-section__intro { margin: -6px 0 22px; color: var(--text-muted); }
.training-section__intro a { font-weight: 700; color: var(--accent-dark); text-decoration: underline; }
.training-section__more { margin: 20px 0 14px; }
.training-band .page-content { padding-block: clamp(36px, 5vw, 64px); }
.training-band .wp-block-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.training-band h3 { margin: 0 0 8px; }
.training-band .wp-block-column p { margin: 0; line-height: 1.65; }
.training-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.training-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.class-list { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.class-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 170px; align-items: stretch; background: #fff; border: 1px solid var(--line); }
.class-row__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 8px; background: var(--dark); color: #f5f3ed; text-align: center; }
.class-row__month { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); }
.class-row__day { font-family: var(--font-display); font-size: 36px; line-height: 1.1; white-space: nowrap; }
.class-row__year { font-size: 12px; color: var(--on-dark-muted); }
.class-row__body { padding: 18px 22px; }
.class-row__title { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.class-row__title a { color: var(--ink); }
.class-row__title a:hover { color: var(--accent-dark); }
.class-row__facts { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-dark); }
.class-row__summary { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.class-row__buy { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 18px; border-left: 1px solid var(--line); text-align: center; }
.class-row__price { margin: 0; font-size: 22px; font-weight: 900; }
.class-row__buy form.cart { margin: 0; }
.class-row__buy .btn { width: 100%; justify-content: center; }
.class-row__seats { margin: 0; font-size: 12px; font-weight: 800; color: #a32020; }
.class-row__full { margin: 0; font-weight: 800; color: var(--text-muted); }
.class-later { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.class-later__card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; height: 100%; padding: 14px; border: 1px solid var(--line); color: var(--ink); }
.class-later__card:hover { border-color: var(--accent-dark); color: var(--ink); }
.class-later__img img { display: block; width: 72px; height: 72px; object-fit: cover; }
.class-later__body strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 800; }
.class-later__body span { display: block; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 800px) {
	.training-band .wp-block-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.class-row { grid-template-columns: 88px minmax(0, 1fr); }
	.class-row__buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; border-left: 0; border-top: 1px solid var(--line); }
	.class-row__buy form.cart { flex: 0 0 auto; }
	.class-row__buy .btn { width: auto; }
	.class-row__body { padding: 14px 16px; }
	.class-row__day { font-size: 26px; }
}
@media (max-width: 600px) { .training-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Class page ---------- */
.class-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 14px 0 22px; padding: 16px 0; border-block: 1px solid var(--line); }
.class-facts dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.class-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.class-unavailable { padding: 14px 16px; background: var(--sand); font-weight: 700; }
.class-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px); margin-top: clamp(32px, 5vw, 56px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.class-details section:first-child { grid-column: 1 / -1; }
.class-details h2 { font-size: clamp(28px, 3vw, 38px); }
.class-gear { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.class-gear li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.class-gear .icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.class-details__contact a { font-weight: 700; color: var(--accent-dark); }
.team-grid--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-top: 14px; }
@media (max-width: 800px) { .class-details { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Checkout: class details ---------- */
.class-checkout { margin-top: 24px; }
.class-checkout h3 { font-size: 20px; }
.class-checkout textarea { min-height: 90px; }
/* A tick box and its sentence on one full-width line of their own, below the half-width fields. */
.class-checkout__check { clear: both; float: none; width: 100%; }
.woocommerce form .form-row.class-checkout__check label.checkbox { display: block; position: relative; padding: 6px 0 6px 28px; line-height: 1.45; cursor: pointer; }
.woocommerce form .form-row.class-checkout__check input[type="checkbox"] { position: absolute; left: 0; top: 8px; width: 18px; height: 18px; margin: 0; accent-color: var(--accent-dark); }
.class-checkout__waiver { max-height: 220px; overflow-y: auto; margin: 12px 0; padding: 12px 14px; background: var(--sand); font-size: 13px; line-height: 1.6; }
#classes { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Chrome stopped recording the home page's largest paint while the carousels were scrollable during
   page load. They scroll from the visitor's first interaction (main.js), which is when Chrome
   stops measuring anyway. Without JavaScript the class is never added. */
.esee-hold-scroll .carousel__track { overflow-x: clip; }

@media (max-width: 767px) { .banner-cta { --banner-bg: var(--banner-bg-sm, var(--banner-bg-lg, none)); } }

/* Product gallery before its slider script runs (esee-gallery-preinit). WooCommerce hides the whole
   gallery until then, which held back the main photo by seconds on phones. Instead the first photo
   shows straight away, the rest wait, and room is kept for the thumbnail row so nothing jumps.
   Once the slider starts, the wrapper moves inside .flex-viewport and these rules stop matching. */
.product-single__gallery .woocommerce-product-gallery { opacity: 1 !important; }
.product-single__gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) { display: none !important; } /* WooCommerce's own rule would show them as a grid */
.product-single__gallery .woocommerce-product-gallery:has(> .woocommerce-product-gallery__wrapper > :nth-child(2)) { padding-bottom: calc((100% - 32px) / 5); }
.product-single__gallery .woocommerce-product-gallery:has(> .woocommerce-product-gallery__wrapper > :nth-child(6)) { padding-bottom: calc(2 * (100% - 32px) / 5 + 8px); }
.product-single__gallery .woocommerce-product-gallery:has(> .woocommerce-product-gallery__wrapper > :nth-child(11)) { padding-bottom: calc(3 * (100% - 32px) / 5 + 16px); }
/* Five thumbnails per row on every screen, so the space kept above always matches. WooCommerce sets its own widths and floats. */
.product-single__gallery .woocommerce-product-gallery .flex-control-thumbs li { width: calc((100% - 32px) / 5) !important; aspect-ratio: 1; float: none !important; margin: 0 !important; }
.product-single__gallery .woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
/* The slider script wraps the photos in .flex-viewport, then waits 100 ms before it sizes them. In that
   gap every photo was a full-width block in a strip several screens wide, so the gallery grew to
   thousands of pixels and threw the text below it off screen and back (layout shift 0.41 on phones).
   Lay the photos out as the script will (one row, each as wide as the viewport) and let only the
   first one set the height until the script has put its own height on the viewport. */
.product-single__gallery .flex-viewport { container-type: inline-size; }
.product-single__gallery .flex-viewport > .woocommerce-product-gallery__wrapper { display: flex; align-items: flex-start; }
.product-single__gallery .flex-viewport .woocommerce-product-gallery__image { flex: 0 0 auto; width: 100cqw; }
.product-single__gallery .flex-viewport:not([style*="height"]) .woocommerce-product-gallery__image:nth-child(n+2) { height: 0; overflow: hidden; }
