/*
Theme Name: The Iron Dad
Text Domain: the-iron-dad
Description: Custom theme for The Iron Dad: Fitness, Coaching, Nutrition. One-page home plus offer pages.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* ==========================================================================
   0. Responsive system (mobile-first intent, desktop-down breakpoints)
   --------------------------------------------------------------------------
   1201+  wide desktop   4-column offers, 2-column hero, desktop nav
   1101-1200 desktop     2-column offers
   <=1100 tablet landscape and below: slide-in menu (touch friendly, no hover)
   <=1000 packs stack in one centered column
   <=960  tablet portrait: hero, about, contact, split sections go single column
   <=900  pillars and 3-card rows go 2 columns (last card spans)
   <=720  steps stack
   <=640  phone: single columns, swipeable gallery, tighter spacing
   <=480  small phone, <=360 very small phone
   Type is fluid with clamp(); spacing uses rem; images use srcset + sizes.
   ========================================================================== */

/* ==========================================================================
   1. Tokens (brand colors sampled from the logo, on a light canvas)
   ========================================================================== */
:root {
	--navy: #003c60;
	--navy-deep: #00263d;
	--orange: #ff710f;
	--orange-dark: #e65f00;
	--sky: #94c1e0;
	--sky-soft: #cfe4f2;
	--sky-ink: #4a86ad;
	--bg: #f5f9fc;
	--bg-soft: #e8f2fa;
	--surface: #ffffff;
	--text: #2f4858;
	--line: rgba(0, 60, 96, .12);
	--mint: #62f29b;
	--sun: #ffdd57;
	--shadow: 0 18px 44px rgba(0, 60, 96, .13);
	--display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
	--body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--radius: 24px;
	--max: 1200px;
	--gutter: 1.25rem;
	--header-h: 6.5rem;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: clamp(1rem, .94rem + .3vw, 1.15rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
h1, h2, h3, h4 {
	color: var(--navy);
	font-family: var(--display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	line-height: .95;
	letter-spacing: .005em;
	margin: 0 0 .5em;
	overflow-wrap: break-word;
	text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }
.sr, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 200; background: var(--orange); color: #fff; padding: .6rem 1rem; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ==========================================================================
   3. Buttons & small bits (tap targets are at least 44px tall)
   ========================================================================== */
.btn {
	--bg-btn: var(--orange);
	--fg: #fff;
	display: inline-block;
	max-width: 100%;
	background: var(--bg-btn);
	color: var(--fg);
	border: 2px solid var(--bg-btn);
	padding: .9rem 1.7rem;
	font-family: var(--display);
	font-weight: 800;
	font-style: italic;
	font-size: 1.15rem;
	line-height: 1.1;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transform: skewX(-9deg);
	transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
	cursor: pointer;
}
.btn > span { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; transform: skewX(9deg); }
.btn:hover { transform: skewX(-9deg) translateY(-3px); box-shadow: 6px 8px 0 rgba(0, 60, 96, .18); }
.btn--ghost { --bg-btn: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { --bg-btn: var(--navy); background: var(--navy); color: #fff; }
.btn--navy { --bg-btn: var(--navy); }
.btn--white { --bg-btn: #fff; --fg: var(--navy); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--sm { padding: .7rem 1.2rem; font-size: 1rem; }
.btn--pill { border-radius: 99px; transform: none; }
.btn--pill > span { transform: none; }
.btn--pill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 113, 15, .35); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	margin: 0 0 1.2rem;
	font-family: var(--display);
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: 1rem;
	color: var(--sky-ink);
}
.eyebrow::before { content: ""; flex: none; width: 2.4rem; height: 4px; background: var(--accent, var(--orange)); transform: skewX(-30deg); }
.lead { max-width: 36rem; font-size: clamp(1.05rem, .98rem + .5vw, 1.3rem); color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 99px; background: #fff; box-shadow: 0 6px 16px rgba(0, 60, 96, .07); font-weight: 600; font-size: .9rem; line-height: 1.3; color: var(--navy); }
.fineprint { margin-top: 2rem; font-size: .9rem; color: var(--sky-ink); }

/* Scroll reveal (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: max(2.25rem, env(safe-area-inset-top)) 0 .8rem; transition: padding .3s; }
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 30px rgba(0, 60, 96, .1);
	opacity: 0;
	transition: opacity .3s;
}
.site-header.is-stuck { padding: max(.5rem, env(safe-area-inset-top)) 0 .5rem; }
.site-header.is-stuck::before { opacity: 1; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; flex-direction: column; line-height: .8; text-decoration: none; font-family: var(--display); font-style: italic; text-transform: uppercase; position: relative; z-index: 61; }
.brand__the { padding-left: .2em; font-weight: 500; font-size: .8rem; letter-spacing: .35em; color: var(--sky-ink); }
.brand__name { font-weight: 900; font-size: 2rem; letter-spacing: .01em; color: var(--navy); }
.brand__name b { color: var(--orange); font-weight: 900; }

/* Real logo in header/footer: the square logo is cropped (via the oversized,
   offset image) to its wordmark + tagline lockup, so it reads at small sizes. */
.brand--logo { display: block; line-height: 0; }
.brand-logo { position: relative; display: block; height: clamp(104px, 10vw, 150px); transition: height .3s; }
.brand-logo img { display: block; width: auto; height: 100%; max-width: none; }
/* Footer: original navy-background logo, cropped to the artwork; its navy matches the footer so it blends in */
.brand-logo--dark { overflow: hidden; width: 240px; height: auto; aspect-ratio: 3 / 2; }
.brand-logo--dark img { position: absolute; left: -8.5%; top: -46.7%; width: 122%; height: auto; }
.brand--footer .brand-logo { width: 240px; }
.site-header.is-stuck .brand-logo { height: clamp(66px, 5.4vw, 80px); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	position: relative;
	display: inline-block;
	padding: .4rem 0;
	font-family: var(--display);
	font-style: italic;
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
}
.nav__list > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--orange); transform: skewX(-20deg); transition: right .25s; }
.nav__list > li > a:hover::after { right: 0; }
/* "Hyrox" menu item shown as a button (yellow = Hyrox accent) */
.nav__list > li.nav-hyrox > a { padding: .45rem 1.2rem; border-radius: 99px; background: #f5b800; color: var(--navy-deep); box-shadow: 0 8px 18px rgba(245, 184, 0, .35); transition: background .2s, transform .2s; }
.nav__list > li.nav-hyrox > a::after { display: none; }
.nav__list > li.nav-hyrox > a:hover { background: #ffc81f; transform: translateY(-2px); }
.has-sub, .menu-item-has-children { position: relative; }
.sub, .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 250px;
	margin: 0;
	padding: .6rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .2s;
}
.has-sub:focus-within .sub, .menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
	.has-sub:hover .sub, .menu-item-has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.sub a, .sub-menu a { display: block; padding: .6rem .8rem; border-radius: 10px; }
.sub a:hover, .sub-menu a:hover { background: var(--bg-soft); }

.nav-toggle { display: none; position: relative; z-index: 61; width: 48px; height: 48px; margin-right: -.4rem; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; padding: 0 .55rem; }
.nav-toggle span:not(.sr) { display: block; height: 3px; width: 28px; background: var(--navy); transform: skewX(-20deg); transition: .25s; }
.nav-toggle span:nth-child(2) { width: 20px; background: var(--orange); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(40deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-40deg); }

/* ==========================================================================
   5. Home: hero (soft gradient, big headline, photo with floating callouts)
   ========================================================================== */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: clamp(11rem, 16vw, 13.5rem) 0 clamp(5rem, 8vw, 7.5rem);
	overflow: hidden;
	background:
		radial-gradient(55rem 38rem at 88% 8%, rgba(148, 193, 224, .55), transparent 62%),
		radial-gradient(40rem 28rem at 0% 100%, rgba(255, 113, 15, .13), transparent 62%),
		linear-gradient(180deg, #eaf4fb 0%, #f7fbfe 100%);
}
.hero::before { content: ""; position: absolute; right: -8%; bottom: 7%; width: 62%; height: 1.4rem; background: var(--orange); transform: rotate(-9deg); }
.hero::after { content: ""; position: absolute; right: -4%; bottom: 3.5%; width: 62%; height: .45rem; background: var(--sky); transform: rotate(-9deg); opacity: .8; }
.hero__grid { width: min(100% - (var(--gutter) * 2), 1360px); position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 1rem + 7vw, 6.8rem); margin-bottom: 1.2rem; }
.hero h1 em { display: block; }
.hero .eyebrow { flex-wrap: wrap; gap: .5rem .9rem; margin-bottom: 1.4rem; font-size: clamp(1.2rem, .95rem + 1.1vw, 1.75rem); letter-spacing: .12em; color: var(--navy); }
.hero .eyebrow::before { width: 3rem; height: 5px; }
.about__text .eyebrow { flex-wrap: wrap; gap: .5rem .9rem; margin-bottom: 1.4rem; font-size: clamp(1.2rem, .95rem + 1.1vw, 1.75rem); letter-spacing: .12em; color: var(--navy); }
.about__text .eyebrow::before { width: 3rem; height: 5px; }
.icon-pills { display: flex; gap: .6rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.icon-pills li { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 8px 20px rgba(0, 60, 96, .12); color: var(--navy); }
.icon-pills .ico { width: 1.4rem; height: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 2rem 0 1.6rem; }
.cta-pill { display: inline-flex; align-items: center; gap: .8rem; max-width: 100%; padding: .4rem .45rem .4rem 1.3rem; border: 1px solid var(--line); border-radius: 99px; background: #fff; box-shadow: var(--shadow); color: var(--navy); font-weight: 700; }
.cta-pill > span { white-space: nowrap; }
.cta-pill .ico { color: var(--orange); }
.cta-pill .btn .ico { color: inherit; }
.hero-book { display: flex; }
@media (max-width: 640px) {
	.hero-book, .hero-book .btn { width: 100%; }
}

/* Visual column: photo (top-aligned with the headline) + callouts beside it, never over it */
.hero__visual { display: flex; align-items: stretch; align-self: start; margin-top: .4rem; }
.hero-photo { position: relative; flex: 0 1 560px; min-width: 0; aspect-ratio: 4 / 5; }
.hero-photo::before { content: ""; position: absolute; inset: 4% -5% -4% 6%; background: var(--orange); border-radius: 210px 210px 30px 30px; transform: rotate(3deg); opacity: .95; }
.hero-photo__img { position: absolute; inset: 0; overflow: hidden; border-radius: 210px 210px 30px 30px; background: var(--sky-soft); box-shadow: 0 30px 70px rgba(0, 60, 96, .25); }
.hero-photo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-logo { position: absolute; left: -12%; bottom: -5%; z-index: 3; width: 52%; aspect-ratio: 1; overflow: hidden; border: 5px solid #fff; border-radius: 24px; background: var(--navy); box-shadow: 0 24px 54px rgba(0, 38, 61, .4); transform: rotate(-4deg); container-type: size; }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
/* Callouts: sit in their own column beside the photo, linked to it by a glowing dot + line */
.hero-callouts { position: relative; z-index: 3; order: 2; flex: 0 0 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.2rem; max-width: 175px; margin: 0 0 2.2rem 2.2rem; padding: 0; list-style: none; }
.callout { --pd: 1s; position: relative; display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 4.4rem; padding: .6rem 1rem .6rem .8rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 28px rgba(0, 60, 96, .16); font-weight: 700; font-size: .95rem; line-height: 1.2; color: var(--navy); animation: appear .9s cubic-bezier(.2, .8, .2, 1) var(--pd) both; }
.callout .ico { width: 1.35em; height: 1.35em; color: var(--orange); stroke-width: 2; }
.callout::before { content: ""; position: absolute; right: 100%; top: 50%; width: 2.2rem; height: 2px; background: linear-gradient(90deg, rgba(255, 113, 15, 0), var(--orange)); transform-origin: right center; animation: draw .8s ease-out calc(var(--pd) + .3s) both; }
.callout::after { content: ""; position: absolute; right: calc(100% + 2.2rem - .35rem); top: calc(50% - .35rem); width: .7rem; height: .7rem; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 113, 15, .7); animation: glow 2.2s ease-in-out calc(var(--pd) + .9s) infinite; }
.callout--1 { --pd: 1s; }
.callout--2 { --pd: 1.6s; }
.callout--3 { --pd: 2.2s; }


/* Motion */
@keyframes appear { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 8px 2px rgba(255, 113, 15, .55); } 50% { box-shadow: 0 0 20px 8px rgba(255, 113, 15, .95); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 12px 3px rgba(255, 113, 15, .7), 0 0 0 0 rgba(255, 113, 15, .55); } 70%, 100% { box-shadow: 0 0 12px 3px rgba(255, 113, 15, .7), 0 0 0 14px rgba(255, 113, 15, 0); } }
@keyframes sway { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(5.5deg) translateY(-6px); } }
@keyframes badge { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2.5deg) translateY(-8px); } }
@keyframes stripe { from { transform: translateX(40%) rotate(-9deg); opacity: 0; } to { transform: rotate(-9deg); opacity: 1; } }
.hero-photo::before { animation: sway 7s ease-in-out infinite; }
.hero-logo { animation: badge 6s ease-in-out 1.2s infinite; }
.hero::before { animation: stripe 1s ease-out .2s both; }
.hero::after { animation: stripe 1.1s ease-out .4s both; }

.logo-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .85; }
.logo-fallback .lf-the { align-self: flex-start; margin-left: 12%; font-weight: 500; font-size: 9cqw; letter-spacing: .3em; color: var(--sky); }
.logo-fallback .lf-name { font-size: 25cqw; color: #fff; }
.logo-fallback .lf-name b { color: var(--orange); }
.logo-fallback .lf-band { margin-top: 5cqw; padding: 2cqw 6cqw; background: var(--sky); color: var(--navy); transform: skewX(-9deg); font-weight: 700; font-size: 4.6cqw; letter-spacing: .1em; }

/* Ticker band */
.ticker { position: relative; z-index: 3; margin: -2.2rem -2rem 0; padding: .9rem 0; overflow: hidden; background: var(--orange); color: #fff; transform: rotate(-1.6deg); box-shadow: 0 12px 30px rgba(255, 113, 15, .3); }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__track span { padding: 0 1.6rem; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: .06em; white-space: nowrap; }
.ticker__track span::after { content: "/"; margin-left: 3.2rem; opacity: .55; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { position: relative; padding: clamp(3.5rem, 8vw, 8rem) 0; }
.section--white { background: var(--surface); }
.section--soft, .section--deep { background: var(--bg-soft); }
.section--cut {
	clip-path: polygon(0 3.5vw, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
	margin-block: -3.5vw;
	padding-block: calc(clamp(3.5rem, 8vw, 8rem) + 3.5vw);
}
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2, .h2 { font-size: clamp(2.2rem, 1rem + 4.6vw, 4.6rem); }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.about__photo { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.about__photo::before { content: ""; position: absolute; inset: 6% -5% -6% 5%; background: var(--sky); border-radius: 26px; transform: rotate(3deg); }
.about__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 26px; box-shadow: var(--shadow); }
.about__text p { font-size: 1.05em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat { padding-left: 1rem; border-left: 4px solid var(--orange); }
.stat b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(2.2rem, 1rem + 3.4vw, 3.6rem); line-height: 1; color: var(--navy); }
.stat span { display: block; font-weight: 600; font-size: .8rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .1em; color: var(--sky-ink); }
.sign { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.9rem; text-transform: uppercase; color: var(--orange); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pillar { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: 0 10px 28px rgba(0, 60, 96, .06); }
.pillar__no { position: absolute; right: 1rem; top: -.4rem; font: italic 900 clamp(5rem, 8vw, 7rem)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(74, 134, 173, .25); }
.pillar .ico { width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; color: var(--orange); stroke-width: 1.8; }
.pillar h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2rem); }
.pillar p { margin: 0; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.offers--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(1.4rem, 2.6vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(0, 60, 96, .07); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.offer::before { content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; background: var(--orange); opacity: .13; transform: rotate(45deg); }
.offer__tag { align-self: flex-start; margin-bottom: 1.2rem; padding: .3rem .75rem; border-radius: 99px; background: var(--bg-soft); color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.offer .ico-lg { width: 2.6rem; height: 2.6rem; margin-bottom: .8rem; color: var(--orange); stroke-width: 1.8; }
.offer h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2rem); }
.offer p { flex: 1; font-size: .95em; }
.offer__price { margin: 1rem 0 .5rem; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(1.8rem, 1.4rem + 1vw, 2.1rem); line-height: 1; color: var(--navy); overflow-wrap: anywhere; }
.offer__price small { margin-left: .3rem; font: 600 .9rem var(--body); font-style: normal; color: var(--sky-ink); }
.offer__more { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
@media (hover: hover) {
	.offer:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { position: relative; padding-top: 5rem; }
.step__no { position: absolute; top: 0; left: 0; font: italic 900 clamp(4.2rem, 7vw, 5.5rem)/1 var(--display); color: var(--orange); }
.step h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 1.9rem); }
.step p { margin: 0; }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: 1.2rem; }
.gallery figure { position: relative; margin: 0 -1.2rem; aspect-ratio: 3 / 4; overflow: hidden; clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%); background: var(--sky-soft); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-inline: 0; }
.gallery--grid figure { margin: 0; clip-path: none; border-radius: 20px; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
/* Hyrox page: two big pictures on top (Hyrox 3 and 5), three below */
.gallery--hyrox { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery--hyrox figure { grid-column: span 2; }
.page-hero--photos .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-hero--photos .wrap > * { grid-column: 1; justify-self: start; }
.page-hero--photos h1 { font-size: clamp(2.7rem, 1rem + 4.6vw, 5.2rem); }
.page-hero--photos .page-hero__photos { grid-column: 2; grid-row: 1 / span 8; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.page-hero__photos figure { margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.page-hero__photos figure:nth-child(2) { margin-top: 2.2rem; }
.page-hero__photos img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 900px) {
	.page-hero--photos .wrap { display: flex; flex-direction: column; align-items: flex-start; }
	.page-hero--photos .page-hero__photos { order: 9; width: 100%; max-width: 520px; margin-top: 1.8rem; }
}
/* Hyrox header: big eyebrow + large overlapping photo collage */
.theme-hyrox .page-hero .eyebrow { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); line-height: 1.05; letter-spacing: .02em; font-weight: 900; color: var(--navy, #003C60); margin-bottom: .6rem; }
.theme-hyrox .page-hero .eyebrow::before { display: none; }
.page-hero--photos .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.page-hero--photos h1 { font-size: clamp(2.7rem, 1rem + 4vw, 4.8rem); }
.page-hero--photos .page-hero__photos { display: block; position: relative; aspect-ratio: 1 / 1.02; min-height: 0; }
.page-hero--photos .page-hero__photos::before { content: ""; position: absolute; z-index: 0; right: 4%; top: 6%; width: 52%; height: 70%; border-radius: 28px; background: var(--accent, var(--orange)); transform: rotate(7deg); }
.page-hero--photos .page-hero__photos figure { position: absolute; z-index: 1; width: 54%; margin: 0; aspect-ratio: 3 / 4; border: 6px solid #fff; border-radius: 24px; box-shadow: 0 28px 60px rgba(0, 60, 96, .28); }
.page-hero--photos .page-hero__photos figure:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); }
.page-hero--photos .page-hero__photos figure:nth-child(2) { right: 0; bottom: 0; margin: 0; z-index: 2; transform: rotate(3deg); }
@media (hover: hover) { .page-hero--photos .page-hero__photos figure { transition: transform .4s ease; } .page-hero--photos .page-hero__photos figure:hover { transform: rotate(0) scale(1.03); z-index: 3; } }
@media (max-width: 900px) { .page-hero--photos .page-hero__photos { width: min(100%, 520px); align-self: center; } }
/* Hyrox header v2: two tall side-by-side portraits, staggered, wide layout */
.page-hero--photos .wrap { width: min(100% - (var(--gutter, 1.5rem) * 2), 1360px); max-width: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.page-hero--photos .page-hero__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 1.6vw, 1.4rem); align-items: start; aspect-ratio: auto; }
.page-hero--photos .page-hero__photos::before { right: -3%; top: 10%; width: 62%; height: 82%; border-radius: 34px; transform: rotate(5deg); }
.page-hero--photos .page-hero__photos::after { content: "8 runs \00b7  8 stations"; position: absolute; z-index: 4; left: -1.2rem; bottom: 1.6rem; padding: .7rem 1.2rem; border-radius: 14px; background: #003C60; color: #fff; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, .8rem + .8vw, 1.4rem); transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(0, 60, 96, .35); }
.page-hero--photos .page-hero__photos figure { position: relative; width: 100%; aspect-ratio: 3 / 4.3; border: 0; border-radius: 28px; box-shadow: 0 30px 60px rgba(0, 60, 96, .28); }
.page-hero--photos .page-hero__photos figure:nth-child(1) { left: auto; top: auto; transform: none; }
.page-hero--photos .page-hero__photos figure:nth-child(2) { right: auto; bottom: auto; transform: none; margin-top: clamp(1.6rem, 4vw, 3.4rem); }
@media (hover: hover) { .page-hero--photos .page-hero__photos figure:hover { transform: translateY(-8px) scale(1.015); } }
@media (max-width: 900px) {
	.page-hero--photos .page-hero__photos { width: 100%; max-width: 640px; align-self: center; }
	.page-hero--photos .page-hero__photos::after { left: .6rem; }
}
/* 1-to-1 pack of 10 deal */
.deal { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.6rem, 4vw, 3.5rem); border-radius: 32px; background: #003C60; color: #fff; box-shadow: 0 30px 60px rgba(0, 60, 96, .25); }
.deal::before { content: ""; position: absolute; z-index: 0; right: -10%; top: -35%; width: 48%; height: 170%; background: var(--orange); transform: rotate(14deg); }
.deal > * { position: relative; z-index: 1; }
.deal__badge { display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; border-radius: 999px; background: #f5b800; color: #003C60; font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.deal .h2 { color: #fff; margin-bottom: .8rem; }
.deal .h2 em { color: var(--orange); }
.deal__lead { margin: 0 0 1.2rem; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .9); }
.deal__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.deal__list li { position: relative; padding-left: 2rem; font-weight: 600; }
.deal__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--orange); }
.deal__list li::after { content: ""; position: absolute; left: .45rem; top: .34em; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.deal__card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: #fff; color: #003C60; text-align: center; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.deal__from { margin: 0; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--sky-ink); }
.deal__price { margin: .2rem 0 .4rem; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(3.4rem, 2rem + 5vw, 5.6rem); line-height: 1; color: var(--orange); }
.deal__price small { font: 600 1.1rem var(--body); font-style: normal; color: var(--sky-ink); }
.deal__total { margin: 0 0 .8rem; font-weight: 700; font-size: 1.15rem; }
.deal__save { display: inline-block; margin: 0 0 1.3rem; padding: .35rem 1rem; border-radius: 999px; background: #fff3c4; font-weight: 800; }
@media (max-width: 860px) {
	.deal { grid-template-columns: minmax(0, 1fr); }
	.deal::before { right: -30%; top: auto; bottom: -20%; width: 90%; height: 45%; transform: rotate(-8deg); }
}
/* Animated goal list next to the page title (1-to-1 page) */
.page-hero--goals .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-hero--goals .wrap > * { grid-column: 1; justify-self: start; }
.page-hero--goals h1 { font-size: clamp(2.7rem, 1rem + 4.6vw, 5.4rem); }
.page-hero--goals .page-hero__goals { grid-column: 2; grid-row: 1 / span 8; justify-self: stretch; }
.page-hero__goals-label { margin: 0 0 1rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--sky-ink); }
.page-hero__goals ul { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; counter-reset: goal; }
.page-hero__goals li { counter-increment: goal; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-radius: 20px; border-left: 8px solid var(--orange); background: #fff; color: #003C60; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.25rem, .9rem + 1.5vw, 2rem); line-height: 1.1; box-shadow: 0 14px 30px rgba(0, 60, 96, .14); animation: appear .9s ease var(--pd, .5s) both, goalCycle var(--cycle, 5s) linear calc(var(--pd, .5s) + var(--gd, 0s)) infinite; }
.page-hero__goals ul[data-more]::after { content: attr(data-more); padding: 1rem 1.4rem; border-radius: 20px; border: 2px dashed rgba(0, 60, 96, .35); color: var(--sky-ink); font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, .8rem + 1.1vw, 1.5rem); }
@keyframes goalCycle {
	0%, 18% { background: var(--orange); color: #fff; box-shadow: 0 18px 38px rgba(255, 113, 15, .45); }
	24%, 100% { background: #fff; color: #003C60; box-shadow: 0 14px 30px rgba(0, 60, 96, .14); }
}
@media (max-width: 900px) {
	.page-hero--goals .wrap { display: flex; flex-direction: column; align-items: flex-start; }
	.page-hero--goals .page-hero__goals { order: 9; width: 100%; margin-top: 1.8rem; }
	.page-hero__goals ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.page-hero__goals ul { grid-template-columns: 1fr 1fr; gap: .6rem; }
	.page-hero__goals li { padding: .8rem .9rem; border-left-width: 5px; border-radius: 14px; font-size: clamp(.95rem, .6rem + 2.4vw, 1.15rem); overflow-wrap: anywhere; hyphens: auto; }
	.page-hero__goals ul[data-more]::after { grid-column: 1 / -1; padding: .8rem 1rem; border-radius: 14px; font-size: 1rem; text-align: center; }
	.page-hero__goals-label { font-size: .8rem; margin-bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) { .page-hero__goals li { animation: none; } }
/* Guides & tips: ebook covers, lead magnet form, library */
.ebook-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem; aspect-ratio: 3 / 4; padding: 1.4rem; border-radius: 10px 18px 18px 10px; background: linear-gradient(160deg, #0a5a8c, #003C60 70%); color: #fff; overflow: hidden; box-shadow: -6px 0 0 rgba(0, 0, 0, .18) inset, 0 26px 50px rgba(0, 60, 96, .3); }
.ebook-cover::before { content: ""; position: absolute; right: -25%; top: -10%; width: 70%; height: 55%; background: var(--orange); transform: rotate(18deg); opacity: .95; }
.ebook-cover--2 { background: linear-gradient(160deg, #1a7f5a, #0b4a36 75%); }
.ebook-cover--3 { background: linear-gradient(160deg, #3b6fa0, #11365a 75%); }
.ebook-cover--2::before { background: #f5b800; }
.ebook-cover--3::before { background: #f5b800; }
.ebook-cover > * { position: relative; z-index: 1; }
.ebook-cover__tag { position: absolute; top: 1rem; left: 1rem; padding: .25rem .7rem; border-radius: 999px; background: #fff; color: #003C60; font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.ebook-cover__brand { font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.ebook-cover strong { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; }
.ebook-cover__line { display: block; width: 3rem; height: 5px; background: var(--orange); transform: skewX(-30deg); }
.lead-magnet { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.4rem, 4vw, 3.2rem); border-radius: 32px; background: #fff; border: 1px solid rgba(0, 60, 96, .1); box-shadow: 0 30px 60px rgba(0, 60, 96, .14); }
.lead-magnet__cover { max-width: 340px; width: 100%; justify-self: center; transform: rotate(-3deg); }
.lead-magnet .h2 { margin-bottom: .6rem; }
.ebook-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.ebook-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ebook-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; color: #003C60; }
.field input { width: 100%; padding: .9rem 1rem; border: 2px solid rgba(0, 60, 96, .2); border-radius: 14px; background: #fff; font: 500 1rem var(--body); color: #003C60; }
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 113, 15, .18); }
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--text); }
.check input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--orange); }
.lang-pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.lang-pick legend { float: left; margin: 0 .8rem 0 0; padding: 0; font-weight: 600; font-size: .9rem; color: var(--navy, #003C60); }
.lang-pick label { cursor: pointer; }
.lang-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lang-pick span { display: inline-block; padding: .5rem 1.1rem; border: 2px solid #94C1E0; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #003C60; background: #fff; transition: all .2s; }
.lang-pick input:checked + span { background: #003C60; border-color: #003C60; color: #fff; }
.lang-pick input:focus-visible + span { outline: 3px solid #FF710F; outline-offset: 2px; }
.form-msg { margin: 1rem 0 0; padding: .9rem 1.2rem; border-radius: 14px; font-weight: 700; }
.form-msg--ok { background: #e3f6ea; color: #14633a; }
.form-msg--err { background: #fdebe3; color: #9a3a0a; }
/* Christmas Hyrox simulation page (temporary) */
.xmas { --xr: #E31E2D; }
.xmas-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.xmas-info { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 28px; background: #f4f4f2; border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 24px 50px rgba(0, 60, 96, .14); position: sticky; top: 6rem; }
.xmas-logo { display: block; width: min(210px, 60%); height: auto; margin: 0 0 1.2rem; }
.xmas-eyebrow { margin: 0 0 .8rem; font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #333; }
.xmas-date { margin: 0 0 1.2rem; padding: .7rem 1rem; background: var(--xr); color: #fff; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); line-height: 1; }
.xmas-rows { margin: 0 0 1.2rem; display: grid; gap: .9rem; }
.xmas-rows dt { font-weight: 700; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: #555; }
.xmas-rows dd { margin: .1rem 0 0; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1; color: #0b0b0b; }
.xmas-rows dd i { color: var(--xr); font-style: normal; padding: 0 .1em; }
.xmas-rows dd b { color: var(--xr); }
.xmas-early { margin-bottom: 1.2rem; padding: 1rem 1.2rem; background: #0E8F3E; color: #fff; border: 3px solid #0b0b0b; }
.xmas-early__tag { display: inline-block; margin-bottom: .3rem; padding: .15rem .6rem; background: #fff; color: #0E8F3E; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.xmas-early strong { display: block; font-size: 2.4rem; line-height: 1.1; }
.xmas-early strong small { font-size: 1rem; }
.xmas-early s { font-size: 1.3rem; opacity: .75; margin-left: .4rem; }
.xmas-early p { margin: .3rem 0 0; font-weight: 600; }
.xmas-prices { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.2rem; }
.xmas-price { padding: .8rem 1rem; border: 3px solid #0b0b0b; color: #0b0b0b; }
.xmas-price--red { background: var(--xr); border-color: var(--xr); color: #fff; }
.xmas-price span { display: block; font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.xmas-price strong { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; }
.xmas-price small { font-size: .35em; letter-spacing: .06em; }
.xmas-note { margin: -.4rem 0 1.2rem; font-size: .85rem; font-weight: 600; color: #555; }
.xmas-terms { padding: 1.2rem 1.4rem; border-radius: 18px; background: #fdebe3; border-left: 6px solid var(--xr); }
.xmas-terms h3 { margin: 0 0 .5rem; }
.xmas-terms ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; font-weight: 600; color: #0b0b0b; }
.xmas-where { margin: 0 0 1.2rem; color: #333; }

/* Christmas Hyrox: special page, poster palette (red / green / black / white), no orange */
body.page-christmas-hyrox { --orange: #E31E2D; --orange-dark: #b9141f; --accent: #E31E2D; }
.page-christmas-hyrox .page-hero::after { display: none; }
.page-christmas-hyrox .eyebrow::before { display: none; }
.page-christmas-hyrox .page-hero h1 { color: #E31E2D; }
.page-christmas-hyrox .page-hero h1 em { color: #0E8F3E; }
.page-christmas-hyrox .xmas-formcard .h2,
.page-christmas-hyrox .xmas-formcard .h2 em { color: #E31E2D; }
.page-christmas-hyrox .field input:focus,
.page-christmas-hyrox .field textarea:focus,
.page-christmas-hyrox .field select:focus { border-color: #E31E2D; box-shadow: 0 0 0 3px rgba(227, 30, 45, .18); }
.page-christmas-hyrox .lang-pick input:focus-visible + span { outline-color: #E31E2D; }
.page-christmas-hyrox .btn--pill:hover { box-shadow: 0 10px 22px rgba(227, 30, 45, .35); }
.page-christmas-hyrox .xmas-pay { border-left-color: #E31E2D; }
.xmas-where strong { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 1.5rem; color: #0b0b0b; }
.xmas-where em { color: var(--xr); font-style: italic; }
.xmas-where a { color: #333; font-weight: 600; }
.xmas-gift { position: relative; padding: 1.1rem 4.5rem 1.1rem 1.2rem; border-radius: 18px; background: var(--xr); color: #fff; }
.xmas-gift span { display: block; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.xmas-gift strong { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); line-height: .95; }
.xmas-gift .ico { position: absolute; right: 1.1rem; top: 50%; width: 2.8rem; height: 2.8rem; transform: translateY(-50%); }
.xmas-formcard { padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 32px; background: #fff; border: 1px solid rgba(0, 60, 96, .1); box-shadow: 0 30px 60px rgba(0, 60, 96, .14); }
.xmas-formcard .h2 { margin-bottom: .4rem; }
.xmas-form { gap: 1.3rem; }
.xmas-form .lang-pick legend { float: none; width: 100%; margin: 0 0 .5rem; }
.xmas-form [hidden] { display: none !important; }
.field textarea { width: 100%; padding: .9rem 1rem; border: 2px solid rgba(0, 60, 96, .2); border-radius: 14px; background: #fff; font: 500 1rem var(--body); color: #003C60; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 113, 15, .18); }
.xmas-pay { padding: 1.2rem 1.4rem; border-radius: 18px; background: #f2f7fb; border-left: 6px solid var(--orange); }
.xmas-pay h3 { margin: 0 0 .5rem; }
.xmas-pay p { margin: 0 0 .6rem; }
.xmas-pay p:last-child { margin-bottom: 0; }
.xmas-iban { font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; }
@media (max-width: 900px) {
	.xmas-grid { grid-template-columns: minmax(0, 1fr); }
	.xmas-info { position: static; }
}
.ebooks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); }
.ebook { display: grid; gap: .8rem; align-content: start; text-align: center; }
.ebook .ebook-cover { max-width: 260px; width: 100%; margin: 0 auto .6rem; text-align: left; }
.ebook h3 { margin: 0; }
.ebook p { margin: 0; }
.ebook .ebook__meta { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.ebook__status { justify-self: center; padding: .5rem 1.2rem; border-radius: 999px; background: #fff3c4; color: #003C60; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.article { display: grid; gap: .6rem; align-content: start; padding: 1.6rem; border-radius: 22px; background: #fff; border: 1px solid rgba(0, 60, 96, .1); box-shadow: 0 14px 30px rgba(0, 60, 96, .1); color: inherit; text-decoration: none; }
.panel--wide { max-width: 760px; }
@media (max-width: 900px) {
	.lead-magnet { grid-template-columns: minmax(0, 1fr); }
	.lead-magnet__cover { max-width: 240px; }
	.ebooks, .articles { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
}
@media (max-width: 560px) { .ebook-form__row { grid-template-columns: minmax(0, 1fr); } }
/* Guides & tips header: floating ebook covers */
.page-hero--covers .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-hero--covers .wrap > * { grid-column: 1; justify-self: start; }
.page-hero--covers h1 { font-size: clamp(2.7rem, 1rem + 4.6vw, 5.4rem); }
.page-hero__covers { grid-column: 2 !important; grid-row: 1 / span 8; justify-self: stretch !important; position: relative; aspect-ratio: 1.1 / 1; }
.page-hero__covers::before { content: ""; position: absolute; left: 12%; right: 8%; bottom: 4%; height: 62%; border-radius: 40px; background: var(--accent, var(--orange)); opacity: .18; transform: rotate(-4deg); }
.page-hero__covers .ebook-cover { position: absolute; width: 44%; transform: rotate(var(--r, 0deg)); animation: bookFloat 5s ease-in-out var(--fd, 0s) infinite; }
.page-hero__covers .ebook-cover:nth-child(1) { left: 0; top: 14%; }
.page-hero__covers .ebook-cover:nth-child(2) { left: 28%; top: 0; z-index: 2; }
.page-hero__covers .ebook-cover:nth-child(3) { right: 0; top: 16%; }
@keyframes bookFloat {
	0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
	50% { transform: rotate(var(--r, 0deg)) translateY(-14px); }
}
@media (max-width: 900px) {
	.page-hero--covers .wrap { display: flex; flex-direction: column; align-items: flex-start; }
	.page-hero--covers .page-hero__covers { order: 9; width: min(100%, 480px); margin-top: 1.8rem; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .page-hero__covers .ebook-cover { animation: none; } }
/* The hero is a flex row: stack the coverage strip above the hero grid */
.hero { flex-direction: column; justify-content: center; }
.hero .coverage { position: relative; z-index: 2; }
/* Stats row now has two items */
.about__text .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 26rem; }
/* Logo + name: always centred on each other, name never widens the logo block */
.brand--logo { display: flex; flex-direction: column; align-items: center; }
.brand-sub { width: 0; min-width: 100%; box-sizing: border-box; justify-content: center; }
@media (max-width: 520px) {
	.brand-sub { gap: .45rem; font-size: .66rem; letter-spacing: .3em; text-indent: .3em; }
	.brand-sub::before, .brand-sub::after { min-width: .35rem; }
	.site-header.is-stuck .brand-sub { font-size: .58rem; }
}
/* Colourful holistic approach cards */
#approach .pillar { border: 0; box-shadow: 0 22px 44px rgba(0, 60, 96, .18); transition: transform .3s, box-shadow .3s; }
#approach .pillar:nth-child(1) { background: linear-gradient(160deg, #0a5a8c, #003C60 85%); color: #fff; }
#approach .pillar:nth-child(2) { background: linear-gradient(160deg, #ff8a3d, #FF710F 85%); color: #fff; }
#approach .pillar:nth-child(3) { background: linear-gradient(160deg, #b9d9ee, #94C1E0 85%); color: #003C60; }
#approach .pillar h3, #approach .pillar p { color: inherit; }
#approach .pillar p { opacity: .94; }
#approach .pillar .ico { width: 3.6rem; height: 3.6rem; padding: .8rem; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
#approach .pillar:nth-child(1) .ico { color: #FF710F; }
#approach .pillar:nth-child(2) .ico { color: #FF710F; }
#approach .pillar:nth-child(3) .ico { color: #003C60; }
#approach .pillar__no { -webkit-text-stroke: 2px rgba(255, 255, 255, .4); }
#approach .pillar:nth-child(3) .pillar__no { -webkit-text-stroke-color: rgba(0, 60, 96, .22); }
#approach .pillar::after { content: ""; position: absolute; left: -10%; bottom: -.9rem; width: 62%; height: .8rem; background: rgba(255, 255, 255, .38); transform: rotate(-6deg); }
@media (hover: hover) { #approach .pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 56px rgba(0, 60, 96, .26); } }
/* Colourful offer cards */
.offer { border: 0; box-shadow: 0 22px 44px rgba(0, 60, 96, .18); }
.offer::before { background: #fff; opacity: .2; }
.offer h3, .offer p, .offer__price, .offer__price small, .offer__more { color: inherit; }
.offer .ico-lg { width: 3.6rem; height: 3.6rem; padding: .8rem; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.offer--online-coaching { background: linear-gradient(160deg, #0a5a8c, #003C60 85%); color: #fff; }
.offer--online-coaching .ico-lg { color: #003C60; }
.offer--online-coaching .offer__tag { background: rgba(255, 255, 255, .18); color: #fff; }
.offer--online-coaching .offer__more { color: #ffd24a; }
.offer--hyrox-coaching { background: linear-gradient(160deg, #ffd24a, #f5b800 85%); color: #003C60; }
.offer--hyrox-coaching .ico-lg { color: #003C60; }
.offer--hyrox-coaching .offer__tag { background: rgba(255, 255, 255, .55); color: #003C60; }
.offer--1-to-1-coaching { background: linear-gradient(160deg, #ff8a3d, #FF710F 85%); color: #fff; }
.offer--1-to-1-coaching .ico-lg { color: #FF710F; }
.offer--1-to-1-coaching .offer__tag { background: rgba(255, 255, 255, .25); color: #fff; }
.offer--guides-and-tips { background: linear-gradient(160deg, #b9d9ee, #94C1E0 85%); color: #003C60; }
.offer--guides-and-tips .ico-lg { color: #003C60; }
.offer--guides-and-tips .offer__tag { background: rgba(255, 255, 255, .6); color: #003C60; }
.offer--hyrox-coaching .offer__more, .offer--guides-and-tips .offer__more { color: #003C60; }
.offer--1-to-1-coaching .offer__more { color: #fff; }
.offer__price small { opacity: .85; }
/* Race preparation cards */
.races { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.race { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.4rem, 2.6vw, 1.8rem); border-radius: var(--radius); color: #fff; text-decoration: none; box-shadow: 0 22px 44px rgba(0, 60, 96, .18); }
.race::after { content: ""; position: absolute; right: -2rem; bottom: -.8rem; width: 70%; height: .8rem; background: rgba(255, 255, 255, .35); transform: rotate(-8deg); }
.race--1 { background: linear-gradient(160deg, #0a5a8c, #003C60 85%); }
.race--2 { background: linear-gradient(160deg, #ff8a3d, #FF710F 85%); }
.race--3 { background: linear-gradient(160deg, #3f9a8f, #1d6f68 85%); }
.race--4 { background: linear-gradient(160deg, #ffd24a, #f5b800 85%); color: #003C60; }
.race__km { align-self: flex-start; padding: .3rem .75rem; border-radius: 99px; background: rgba(255, 255, 255, .22); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.race--4 .race__km { background: rgba(255, 255, 255, .55); }
.race h3 { margin: .6rem 0 0; color: inherit; font-size: clamp(1.8rem, 1.4rem + 1vw, 2.2rem); }
.race p { margin: 0; font-size: .95em; color: inherit; }
@media (hover: hover) { a.race { transition: transform .25s; } a.race:hover { transform: translateY(-8px); } }
@media (max-width: 960px) { .races { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .races { grid-template-columns: minmax(0, 1fr); } }
/* Free ebook promo on the home page */
.promo-wrap { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.promo { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 3rem); border-radius: 28px; background: linear-gradient(120deg, #0a5a8c, #003C60 70%); color: #fff; box-shadow: 0 26px 50px rgba(0, 60, 96, .25); }
.promo::before { content: ""; position: absolute; right: -6%; top: -40%; width: 30%; height: 180%; background: var(--orange); transform: rotate(16deg); opacity: .9; }
.promo > * { position: relative; z-index: 1; }
.promo .ebook-cover { flex: none; width: 112px; padding: .8rem; transform: rotate(-5deg); }
.promo .ebook-cover strong { font-size: 1.05rem; }
.promo .ebook-cover__tag { top: .6rem; left: .6rem; font-size: .62rem; padding: .15rem .5rem; }
.promo__text { flex: 1 1 auto; min-width: 0; }
.promo h2 { margin: .5rem 0 .4rem; color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.promo h2 em { color: #ffd24a; }
.promo p { margin: 0; color: rgba(255, 255, 255, .9); }
.promo .deal__badge { margin-bottom: 0; }
.promo__btn { flex: none; }
@media (max-width: 860px) {
	.promo { flex-direction: column; align-items: flex-start; }
	.promo .ebook-cover { width: 96px; }
	.promo__btn { width: 100%; }
	.promo::before { top: auto; bottom: -45%; right: -20%; width: 70%; height: 80%; transform: rotate(-10deg); }
}
/* Legal pages */
.legal { max-width: 52rem; }
.legal h2 { margin: 2.2rem 0 .6rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.02rem; line-height: 1.7; }
.legal ul { padding-left: 1.3rem; }
.legal a, .fineprint a, .banner a { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Name under the logo */
.brand-sub { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: clamp(-1.3rem, -1vw - .4rem, -.7rem); font-family: var(--display); font-style: normal; font-weight: 600; font-size: clamp(.78rem, .6rem + .5vw, 1.02rem); line-height: 1.2; letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; white-space: nowrap; color: var(--navy); transition: font-size .3s; }
.brand-sub::before, .brand-sub::after { content: ""; flex: 1 1 0; min-width: .8rem; height: 2px; background: var(--orange); transform: skewX(-30deg); }
.site-header.is-stuck .brand-sub { font-size: .62rem; }
/* Coverage strip at the top of the home page */
.coverage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; width: min(100% - (var(--gutter, 1.5rem) * 2), 1360px); margin: 0 auto clamp(.8rem, 2vw, 1.6rem); }
.coverage a { display: flex; align-items: center; gap: .9rem; padding: .75rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid rgba(0, 60, 96, .12); box-shadow: 0 10px 24px rgba(0, 60, 96, .08); color: #003C60; text-decoration: none; }
.coverage .ico { flex: none; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--orange); color: #fff; }
.coverage span { display: grid; gap: .1rem; min-width: 0; }
.coverage b { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.1rem; line-height: 1.1; }
.coverage small { font-size: .85rem; font-weight: 600; color: var(--sky-ink); }
@media (hover: hover) { .coverage a { transition: transform .25s ease, box-shadow .25s ease; } .coverage a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 60, 96, .16); } }
@media (max-width: 900px) { .coverage { grid-template-columns: minmax(0, 1fr); gap: .5rem; } .coverage a { padding: .6rem .9rem; } }
/* Compact coverage strip: small centred pills instead of three big boxes */
.coverage { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: clamp(.5rem, 1.5vw, 1rem); }
.coverage a { gap: .55rem; padding: .35rem 1rem .35rem .4rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 60, 96, .08); }
.coverage .ico { width: 2rem; height: 2rem; padding: .42rem; }
.coverage b { font-size: .88rem; letter-spacing: .02em; }
.coverage small { font-size: .74rem; }
@media (max-width: 900px) {
	.coverage { gap: .4rem; }
	.coverage a { padding: .3rem .8rem .3rem .35rem; }
	.coverage span { display: block; }
	.coverage b { font-size: .8rem; }
	.coverage small { font-size: .68rem; }
}
/* Location highlight: a quiet two-item line below the hero picture */
.hero .coverage { order: 2; position: relative; z-index: 2; margin: clamp(1.4rem, 3vw, 2.4rem) auto 0; gap: .4rem 2rem; justify-content: center; text-align: center; }
.hero .coverage a { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: .5rem; }
.hero .coverage .ico { width: 1.5rem; height: 1.5rem; padding: 0; background: none; color: var(--orange); box-shadow: none; }
.hero .coverage span { display: block; text-align: left; }
.hero .coverage b { display: inline; font-size: .9rem; }
.hero .coverage small { display: inline; margin-left: .35rem; font-size: .85rem; }
.hero .coverage a:hover { transform: none; box-shadow: none; }
@media (max-width: 900px) { .hero .coverage { flex-direction: column; align-items: center; gap: .35rem; } .hero .coverage span { text-align: center; } .hero .coverage b, .hero .coverage small { display: block; margin: 0; } }
/* Location highlight centred right under the hero picture */
.hero__visual { margin-bottom: 8.5rem; }
.hero-loc { position: absolute; z-index: 3; top: calc(100% + 3.4rem); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 2rem); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: .9rem 2rem; }
.hero-loc a { display: inline-flex; align-items: center; gap: .7rem; color: #003C60; text-decoration: none; text-align: left; }
.hero-loc .ico { flex: none; width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(255, 113, 15, .35); }
.hero-loc span { display: grid; gap: .1rem; }
.hero-loc b { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.1; }
.hero-loc small { font-size: clamp(.9rem, .85rem + .25vw, 1.05rem); font-weight: 600; color: var(--sky-ink); }
@media (max-width: 1100px) { .hero__visual { margin-bottom: 11rem; } }
/* Language switcher (flags) */
.lang-switch { display: inline-flex; align-items: center; gap: .2rem; flex: none; padding: .22rem; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1.5px rgba(0, 60, 96, .14), 0 6px 16px rgba(0, 60, 96, .1); position: relative; z-index: 62; }
.lang-switch a { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .75rem .32rem .45rem; border-radius: 99px; font-family: var(--display); font-weight: 700; font-size: .9rem; line-height: 1; letter-spacing: .08em; color: var(--navy); text-decoration: none; opacity: .62; transition: opacity .2s, background .2s, color .2s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-active { background: var(--navy); color: #fff; opacity: 1; }
.lang-switch svg { display: block; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
@media (max-width: 1100px) { .lang-switch { margin-left: auto; margin-right: .4rem; } }
@media (max-width: 520px) { .lang-switch a { padding: .4rem .5rem; } .lang-switch a span { display: none; } }

/* Language switcher: discreet, sits in the empty strip above the header bar */
.lang-bar { position: absolute; top: .5rem; left: 0; right: 0; transition: opacity .25s, visibility .25s; pointer-events: none; }
.lang-bar .wrap { display: flex; justify-content: flex-end; }
.lang-bar .lang-switch { pointer-events: auto; }
.site-header.is-stuck .lang-bar { opacity: 0; visibility: hidden; }
.lang-switch { position: static; z-index: auto; margin: 0; padding: .14rem; gap: .1rem; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(0, 60, 96, .12); }
.lang-switch a { padding: .24rem .6rem .24rem .4rem; font-size: .76rem; gap: .38rem; }
.lang-switch svg { width: 20px; height: 13px; }

/* Language switcher: vertical tab on the right edge of the screen, away from the top bar */
.lang-float { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 55; }
.lang-float .lang-switch { flex-direction: column; gap: .2rem; padding: .35rem .3rem .35rem .4rem; border-radius: 14px 0 0 14px; background: #fff; box-shadow: -4px 8px 22px rgba(0, 60, 96, .2), 0 0 0 1px rgba(0, 60, 96, .1); }
.lang-float .lang-switch a { flex-direction: column; gap: .3rem; padding: .5rem .45rem; border-radius: 10px; font-size: .7rem; letter-spacing: .1em; }
.lang-float .lang-switch svg { width: 28px; height: 19px; }
@media (max-width: 520px) { .lang-float .lang-switch { padding: .25rem .2rem .25rem .3rem; } .lang-float .lang-switch a { padding: .4rem .3rem; } .lang-float .lang-switch svg { width: 24px; height: 16px; } }
/* Mobile: the language switch becomes a small pill in the bottom-right corner so it never covers text. */
@media (max-width: 768px) {
	.lang-float { top: auto; bottom: max(.8rem, env(safe-area-inset-bottom)); right: .8rem; transform: none; }
	.lang-float .lang-switch { flex-direction: row; gap: .15rem; padding: .25rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 60, 96, .25), 0 0 0 1px rgba(0, 60, 96, .1); }
	.lang-float .lang-switch a { flex-direction: row; gap: .35rem; padding: .35rem .6rem; border-radius: 999px; }
	.lang-float .lang-switch svg { width: 22px; height: 15px; }
	.site-footer { padding-bottom: max(5rem, env(safe-area-inset-bottom)); }
}
/* Mobile: the orange hero stripe runs edge to edge instead of stopping mid-screen. */
@media (max-width: 900px) {
	.hero::before, .hero::after { animation: none !important; }
	.hero::before { left: -10% !important; right: auto !important; width: 120% !important; height: 1rem; bottom: 4%; transform: rotate(-3deg); }
	.hero::after { left: -10% !important; right: auto !important; width: 120% !important; height: .3rem; bottom: 2%; transform: rotate(-3deg); }
}

/* Menu: never wrap labels or the button (French labels are longer) */
.nav__list a, .nav .btn { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1360px) {
	html[lang^="fr"] .nav { gap: 1.1rem; }
	html[lang^="fr"] .nav__list { gap: clamp(.9rem, 1.5vw, 1.4rem); }
	html[lang^="fr"] .nav__list a { font-size: clamp(.92rem, .55rem + .5vw, 1.05rem); letter-spacing: .04em; }
	html[lang^="fr"] .nav .btn--sm { padding: .65rem 1rem; font-size: .95rem; }
	html[lang^="fr"] .nav__list > li.nav-hyrox > a { padding: .4rem .9rem; }
}
/* French on narrow laptops: switch to the slide-in menu a bit earlier so nothing is squeezed */
@media (min-width: 1101px) and (max-width: 1180px) {
	html[lang^="fr"] .nav-toggle { display: flex; }
	html[lang^="fr"] .nav { position: fixed; inset: 0; z-index: 60; flex-direction: column; align-items: center; gap: 1.6rem; padding: 9.5rem 1.5rem 2.5rem; overflow-y: auto; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .35s, visibility 0s .35s; }
	html[lang^="fr"] .nav.is-open { transform: none; visibility: visible; transition: transform .35s; }
	html[lang^="fr"] .nav > :first-child { margin-top: auto; }
	html[lang^="fr"] .nav > :last-child { margin-bottom: auto; }
	html[lang^="fr"] .nav__list { flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
	html[lang^="fr"] .nav__list a { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.2rem); }
}

/* French hero title is longer: slightly smaller so it never leaves a lone word */
html[lang^="fr"] .hero h1 { font-size: clamp(2.3rem, 1rem + 4.6vw, 4.8rem); }

/* French Hyrox intro: one single font style for the whole text */
html[lang^="fr"] .theme-hyrox > section:nth-of-type(2) .reveal > .lead { font-family: inherit; font-size: inherit; font-weight: inherit; font-style: inherit; line-height: inherit; letter-spacing: inherit; text-transform: none; color: inherit; margin-bottom: 1em; }

/* Hero location highlights: normal flow under the photo (never overlaps the text below) */
.hero__visual { margin-bottom: 0; }
.hero-col { display: contents; }
.hero-loc { position: static; left: auto; top: auto; transform: none; width: auto; max-width: 100%; margin: 2.2rem auto 0; order: 1; justify-content: center; }
@media (min-width: 1101px) {
	.hero__visual { display: grid; grid-template-columns: minmax(0, 560px) auto; align-items: stretch; }
	.hero-photo { grid-column: 1; grid-row: 1; align-self: start; width: 100%; }
	.hero-callouts { grid-column: 2; grid-row: 1; order: 0; }
	.hero-loc { grid-column: 1; grid-row: 2; order: 0; margin: 2.6rem 0 0; }
}
@media (max-width: 640px) {
	.hero-loc { flex-direction: column; align-items: flex-start; gap: 1rem; width: min(88%, 440px); }
}

.hx-list { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: hx; }
.hx-list li { counter-increment: hx; display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-top: 1px solid rgba(0, 60, 96, .12); font-weight: 600; }
.hx-list li::before { content: counter(hx); flex: 0 0 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent, var(--orange)); color: #003C60; font-size: .85rem; font-weight: 800; }
.gallery--hyrox img { object-position: 50% 25%; }
@media (max-width: 960px) {
	.gallery--hyrox { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery--hyrox figure, .gallery--hyrox figure:nth-child(-n+2) { grid-column: auto; aspect-ratio: 4 / 5; }
	.gallery--hyrox figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Contact / CTA */
.cta { background: var(--orange); color: #fff; }
.cta h2, .cta h2 em { color: #fff; }
.cta h2 em { color: var(--navy); }
.cta .eyebrow { color: var(--navy); }
.cta .eyebrow::before { background: var(--navy); }
.cta .lead { color: #fff; font-weight: 500; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.contact-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 1rem 1.3rem; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(0, 38, 61, .18); color: var(--navy); font-weight: 700; text-decoration: none; transition: transform .2s; overflow-wrap: anywhere; }
.contact-list .ico { width: 1.6rem; height: 1.6rem; color: var(--orange); }
@media (hover: hover) {
	.contact-list a:hover { transform: translateX(6px); }
}

/* ==========================================================================
   7. Inner pages
   ========================================================================== */
.theme-hyrox { --accent: #f5b800; }
.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(11rem, 20vw, 14.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
	background: radial-gradient(50rem 30rem at 90% 0, rgba(148, 193, 224, .55), transparent 62%), linear-gradient(180deg, #eaf4fb 0%, #f7fbfe 100%);
}
/* Soft decoration: a large ring top-right and a dot grid bottom-left, both behind the content. */
.page-hero::before { content: ""; position: absolute; z-index: 0; pointer-events: none; right: clamp(-9rem, -8vw, -3rem); top: 12%; width: clamp(15rem, 36vw, 32rem); aspect-ratio: 1; border-radius: 50%; border: clamp(1.6rem, 3.4vw, 3.2rem) solid rgba(148, 193, 224, .32); }
.page-hero::after { content: ""; position: absolute; z-index: 0; pointer-events: none; left: clamp(.5rem, 3vw, 3rem); bottom: clamp(1rem, 3vw, 2.2rem); width: clamp(7rem, 14vw, 11rem); aspect-ratio: 1.5; background-image: radial-gradient(circle, var(--accent, var(--orange)) 22%, transparent 24%); background-size: 1.1rem 1.1rem; opacity: .55; }
@media (max-width: 640px) {
	.page-hero::before { top: 6%; right: -7rem; width: 14rem; border-width: 1.5rem; }
	.page-hero::after { width: 6rem; opacity: .4; }
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.7rem, 1rem + 6.4vw, 6.4rem); }
.page-hero h1 em { color: var(--accent, var(--orange)); }
.page-hero .chips { margin-top: 1.6rem; }
.crumbs { margin-bottom: 1rem; font-size: .9rem; color: var(--sky-ink); }
.crumbs a { text-decoration: none; }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; padding-top: 1rem; }
.pack { position: relative; display: flex; flex-direction: column; padding: clamp(1.8rem, 3vw, 2.2rem) clamp(1.4rem, 2.6vw, 1.8rem) 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); color: var(--text); }
.pack--featured { transform: translateY(-14px); border-color: transparent; outline: 4px solid var(--accent, var(--orange)); }
.js .pack--featured.reveal { transform: translateY(28px); }
.js .pack--featured.reveal.is-in { transform: translateY(-14px); }
.pack__flag { position: absolute; top: -1.1rem; right: 1.2rem; padding: .45rem 1rem; background: var(--mint); color: #06301a; font: italic 800 .9rem var(--display); letter-spacing: .08em; text-transform: uppercase; transform: skewX(-9deg); }
.pack h3 { font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.6rem); }
.pack__blurb { min-height: 4.8em; }
.pack__price { display: inline-flex; align-items: baseline; gap: .4rem; align-self: flex-start; margin: .6rem 0 1.4rem; padding: .5rem 1.1rem; border-radius: 14px; background: var(--navy); color: #fff; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1; }
.pack--featured .pack__price { background: var(--orange); }
.pack__price small { font: 600 1rem var(--body); font-style: normal; opacity: .85; }
.pack h4 { margin-bottom: 1rem; font-size: 1.15rem; letter-spacing: .04em; }
.feat { display: grid; gap: .85rem; flex: 1; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.feat li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95em; line-height: 1.4; }
.feat .mark { flex: none; width: 1.45rem; height: 1.45rem; display: grid; place-items: center; border-radius: 5px; background: var(--mint); color: #06301a; }
.feat .mark svg { width: .95rem; height: .95rem; stroke-width: 3; }
.feat li.is-off { color: #7b8a94; }
.feat li.is-off .mark { background: #dfe6ea; color: #586670; }

.banner { display: inline-block; max-width: 100%; margin-bottom: 2.5rem; padding: 1.1rem 1.8rem; background: var(--orange); color: #fff; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.1rem); line-height: 1.1; text-transform: uppercase; transform: skewX(-6deg); box-shadow: 8px 8px 0 rgba(0, 60, 96, .15); }
.banner b { color: var(--navy); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.panel { padding: clamp(1.6rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.panel h3 { font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.2rem); }
.panel .big-price { margin: 0 0 1rem; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4rem); line-height: 1; color: var(--orange); }
.panel .big-price small { font: 600 1.1rem var(--body); font-style: normal; color: var(--sky-ink); }
.points { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.points .ico { width: 2.2rem; height: 2.2rem; color: var(--orange); stroke-width: 1.8; }
.points h3 { margin: 0 0 .2rem; font-size: 1.5rem; }
.points p { margin: 0; }

/* Editor content, blog and archives */
.entry { max-width: 46rem; }
.entry h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.4rem); margin-top: 1.6em; }
.entry h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.8rem); margin-top: 1.4em; }
.entry a { color: var(--orange); }
.entry img { border-radius: 14px; }
.entry ul, .entry ol { padding-left: 1.3rem; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.5rem; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(0, 60, 96, .07); }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 1.5rem; }
.post-card__meta { margin: 0 0 .4rem; font-size: .85rem; color: var(--sky-ink); text-transform: uppercase; letter-spacing: .1em; }
.post-card h2 { font-size: 1.8rem; }
.post-card h2 a { text-decoration: none; }
.post-card p { margin: 0; }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 99px; background: #fff; text-decoration: none; }
.pagination .current { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ==========================================================================
   8. Footer (the one dark anchor, in brand navy)
   ========================================================================== */
.site-footer { position: relative; z-index: 2; padding: clamp(3.5rem, 6vw, 4.5rem) 0 max(2rem, env(safe-area-inset-bottom)); background: var(--navy); color: var(--sky-soft); }
.site-footer .brand__the { color: var(--sky); }
.site-footer .brand__name { color: #fff; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.footer__grid p { max-width: 22rem; }
/* Black Friday top bar (home page): sits in the empty strip at the top of the header */
.bf-bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 2.25rem; display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 0 1rem; background: linear-gradient(90deg, #00263d, #003C60 60%, #00263d); color: #fff; font-size: .82rem; line-height: 1; text-decoration: none; white-space: nowrap; overflow: hidden; }
.bf-bar b { padding: .28rem .6rem; border-radius: 99px; background: var(--orange, #FF710F); font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; }
.bf-bar__short { display: none; }
.bf-bar__go { color: var(--orange, #FF710F); font-weight: 800; }
.bf-bar:hover .bf-bar__go { text-decoration: underline; text-underline-offset: 3px; }
.site-header.is-stuck .bf-bar { display: none; }
@media (max-width: 720px) { .bf-bar { gap: .5rem; font-size: .76rem; padding: 0 .6rem; } .bf-bar__long { display: none; } .bf-bar__short { display: inline; } }
/* Black Friday */
.bf-wrap { padding: clamp(1.2rem, 3vw, 2.2rem) 0; }
.bf { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3.5vw, 2.8rem); border-radius: 28px; background: linear-gradient(135deg, #00263d 0%, #003C60 72%); color: #fff; box-shadow: 0 24px 50px rgba(0, 60, 96, .28); }
.bf::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: rgba(255, 113, 15, .22); pointer-events: none; }
.bf > * { position: relative; z-index: 1; }
.bf__badge { display: inline-block; padding: .6rem 1.2rem; border-radius: 14px; background: var(--orange, #FF710F); color: #fff; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); transform: rotate(-3deg); box-shadow: 0 10px 22px rgba(255, 113, 15, .4); white-space: nowrap; }
.bf h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.12; }
.bf h2 em { color: var(--orange, #FF710F); font-style: italic; }
.bf p { margin: .6rem 0 0; color: #cfe4f2; font-size: .95rem; }
.bf p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bf__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 900px) { .bf { grid-template-columns: minmax(0, 1fr); } .bf__badge { justify-self: start; } }
.pack__bf { align-self: flex-start; margin: .4rem 0 0; padding: .25rem .7rem; border-radius: 99px; background: rgba(255, 113, 15, .14); color: var(--orange, #FF710F); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.pack__price--bf { margin-bottom: .6rem; }
.pack__price--bf del { font-size: .62em; font-weight: 600; opacity: .7; text-decoration: line-through; }
.pack__then { margin: 0 0 1.4rem; font-size: .95rem; color: var(--navy, #003C60); }
.pack__then b { color: var(--orange, #FF710F); }
.pack__then span { opacity: .7; }
/* Hyrox video */
.section--video { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.video-card { margin: 0 auto; max-width: 960px; }
.video-card__frame { overflow: hidden; border-radius: clamp(14px, 2.4vw, 28px); background: #003C60; box-shadow: 0 30px 60px rgba(0, 60, 96, .25); aspect-ratio: 16 / 9; }
.video-card video { display: block; width: 100%; height: 100%; object-fit: cover; background: #003C60; }
.video-card figcaption { margin-top: .9rem; text-align: center; font-weight: 600; font-size: .95rem; color: var(--sky-ink, #003C60); }
/* Footer brand block: logo centered over its tagline */
.footer__grid > :first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__grid > :first-child .brand { justify-content: center; margin-inline: auto; }
.footer__grid > :first-child p { margin-inline: auto; }
.site-footer h4 { font-size: 1.2rem; letter-spacing: .1em; color: var(--orange); }
.site-footer ul { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-block; padding: .3rem 0; color: var(--sky-soft); text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(148, 193, 224, .25); font-size: .9rem; color: var(--sky); }

/* ==========================================================================
   9. Breakpoints (desktop down to phone)
   ========================================================================== */

/* Desktop: 4 offers only when the cards have room */
@media (max-width: 1200px) {
	.offers:not(.offers--three) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet landscape and below: touch-friendly slide-in menu */
@media (max-width: 1100px) {
	.nav-toggle { display: flex; }
	/* Hero stacks here: text, then photo, with the callouts as a row of pills below the photo */
	.hero { min-height: auto; }
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__visual { flex-direction: column; align-items: center; align-self: auto; margin-top: 1rem; }
	.hero-photo { flex: none; width: min(88%, 440px); }
	.hero-callouts { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 560px; margin: 2.4rem 0 0; }
	.callout { width: auto; }
	.callout::before, .callout::after { display: none; }
	.nav {
		position: fixed;
		inset: 0;
		z-index: 60;
		flex-direction: column;
		align-items: center;
		gap: 1.6rem;
		padding: 9.5rem 1.5rem 2.5rem;
		overflow-y: auto;
		background: #fff;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .35s, visibility 0s .35s;
	}
	.nav.is-open { transform: none; visibility: visible; transition: transform .35s; }
	.nav > :first-child { margin-top: auto; }
	.nav > :last-child { margin-bottom: auto; }
	.nav__list { flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
	.nav__list a { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.2rem); }
	.sub, .sub-menu { position: static; min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.sub a, .sub-menu a { font-size: 1.15rem; color: var(--sky-ink); }
}

/* Packs: three narrow cards are unreadable, stack them in one centered column */
@media (max-width: 1000px) {
	.packs { grid-template-columns: minmax(0, 560px); justify-content: center; gap: 2rem; }
	.pack--featured, .js .pack--featured.reveal.is-in { transform: none; }
	.pack__blurb { min-height: 0; }
}

/* Tablet portrait: two-column layouts become single column */
@media (max-width: 960px) {
	.hero { min-height: auto; }
	.hero__grid, .about__grid, .cta__grid, .split { grid-template-columns: minmax(0, 1fr); }
	.hero-photo { width: min(88%, 440px); margin-top: 1.5rem; }
	.hero-logo { left: -6%; width: 48%; }
	.hero::before, .hero::after { right: -30%; width: 90%; }
	.about__photo { max-width: 420px; }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid > :first-child { grid-column: 1 / -1; }
	.gallery--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Three-card rows go 2 columns, and a lone last card spans the full row */
@media (max-width: 900px) {
	.pillars, .offers--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pillars > :last-child:nth-child(odd), .offers--three > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	.steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.step { padding-top: 4.2rem; }
}

/* Phone */
@media (max-width: 640px) {
	:root { --gutter: 1.1rem; }
	.brand-logo { height: 92px; }
	.brand--footer .brand-logo { width: 210px; height: auto; }
	.eyebrow { letter-spacing: .14em; font-size: .95rem; }
	.hero__cta { gap: .8rem; }
	.hero__cta > .btn { width: 100%; }
	.cta-pill { width: 100%; justify-content: space-between; }
	.offers:not(.offers--three), .offers--three, .pillars { grid-template-columns: minmax(0, 1fr); }
	.pillars > :last-child:nth-child(odd), .offers--three > :last-child:nth-child(odd) { grid-column: auto; }
	.callout { font-size: .85rem; padding: .5rem .9rem .5rem .7rem; }
	.hero-logo { left: -4%; width: 50%; border-width: 4px; border-radius: 18px; }
	.ticker { margin-inline: -1rem; }
	.stats { gap: .6rem; }
	.stat { padding-left: .7rem; }
	.stat span { letter-spacing: .06em; }
	/* Swipeable gallery strip instead of three thin slices */
	.gallery:not(.gallery--grid) { display: flex; gap: .8rem; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .5rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
	.gallery:not(.gallery--grid) figure { flex: 0 0 74%; margin: 0; clip-path: none; border-radius: 18px; scroll-snap-align: center; }
	.gallery--grid { gap: .7rem; }
	.gallery--grid figure { border-radius: 14px; }
	.footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.footer__bottom { flex-direction: column; }
	.contact-list a { padding: .9rem 1.1rem; }
}

/* Small phone */
@media (max-width: 480px) {
	.cta-pill { padding-left: 1rem; gap: .5rem; }
	.cta-pill > span { font-size: .95rem; }
	.pack__price { font-size: 2.2rem; }
	.page-hero .chips, .hero .chips { gap: .45rem; }
	.chips li { font-size: .82rem; padding: .35rem .8rem; }
}

/* Very small phone */
@media (max-width: 360px) {
	.cta-pill > .ico { display: none; }
	.brand__name { font-size: 1.7rem; }
	.stat b { font-size: 2rem; }
	.callout { font-size: .8rem; }
}

/* Large screens: let the hero breathe a little more */
@media (min-width: 1500px) {
	:root { --max: 1280px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal, .js .pack--featured.reveal { opacity: 1; transform: none; transition: none; }
	.js .pack--featured.reveal { transform: translateY(-14px); }
	.ticker__track { animation: none; }
	.callout, .callout::before, .callout::after, .hero-photo::before, .hero-logo, .hero::before, .hero::after { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1000px) {
	.js .pack--featured.reveal { transform: none; }
}
