/* ==========================================================================
   Trainow — main stylesheet (v1.1, app redesign palette)
   Tokens come from theme.json (--wp--preset--*). Short aliases below.
   ========================================================================== */

:root {
	--tn-white: var(--wp--preset--color--base, #fff);
	--tn-paper: var(--wp--preset--color--base-2, #f3f4f0);
	--tn-ink: var(--wp--preset--color--ink, #1a1a1a);
	--tn-plum: var(--wp--preset--color--deep, #2b1b2e);
	--tn-plum-2: #3a2a3e;
	--tn-lime: var(--wp--preset--color--accent, #89e000);
	--tn-mint: var(--wp--preset--color--accent-2, #d9f2af);
	--tn-green: var(--wp--preset--color--lime-ink, #3f7a00);
	--tn-sky: var(--wp--preset--color--sky, #dcebff);
	--tn-navy: var(--wp--preset--color--navy, #1e3a5c);
	--tn-coral: var(--wp--preset--color--coral, #ff6b4a);
	--tn-muted: var(--wp--preset--color--muted, #5f6368);
	--tn-line: var(--wp--preset--color--line, #e4e6df);
	--tn-on-plum: rgba(255, 255, 255, .78);
	--tn-grad-mint: linear-gradient(180deg, #d9f2af 0%, #e4eed9 45%, #f1f3f0 100%);
	--tn-head: var(--wp--preset--font-family--heading, sans-serif);
	--tn-body: var(--wp--preset--font-family--body, sans-serif);
	--tn-ease: cubic-bezier(.2, .7, .1, 1);
	--tn-radius: 28px;
	--tn-gutter: clamp(1rem, 4vw, 2.5rem);
	--tn-section: clamp(5rem, 11vw, 9rem);
	--tn-header-h: 68px;
	--tn-shadow: 0 1px 2px rgba(26, 26, 26, .04), 0 12px 32px -12px rgba(43, 27, 46, .16);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tn-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--tn-lime); color: var(--tn-ink); }
:focus-visible { outline: 2px solid var(--tn-green); outline-offset: 3px; border-radius: 4px; }
.is-style-dark :focus-visible { outline-color: var(--tn-lime); }
img { height: auto; max-width: 100%; }
.tn-main { margin-block-start: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.tn-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

.tn-eyebrow, .is-style-eyebrow {
	font-family: var(--tn-body) !important;
	font-size: .78rem !important;
	font-weight: 600 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase;
	color: var(--tn-muted);
	line-height: 1.4 !important;
	margin-block-end: 1rem;
}
.is-style-dark .tn-eyebrow, .is-style-dark .is-style-eyebrow { color: rgba(255, 255, 255, .6); }
.tn-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--tn-muted); max-width: 42ch; }
.is-style-dark .tn-lede { color: var(--tn-on-plum); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { transition: background-color .3s var(--tn-ease), color .3s, transform .3s var(--tn-ease), box-shadow .3s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(137, 224, 0, .7); }
.wp-block-button.is-small .wp-block-button__link { padding: .6rem 1.15rem; font-size: .85rem; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--tn-lime); color: var(--tn-ink); box-shadow: inset 0 0 0 1.5px var(--tn-lime); }
.is-style-dark .wp-block-button:not(.is-style-ghost) .wp-block-button__link:hover { background: var(--tn-white); color: var(--tn-ink); }

.tn-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .95rem 1.5rem; border-radius: 999px;
	background: var(--tn-lime); color: var(--tn-ink) !important;
	font-weight: 600; font-size: 1rem; text-decoration: none !important;
	transition: transform .3s var(--tn-ease), background .3s, box-shadow .3s;
}
.tn-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(137, 224, 0, .8); }
.tn-btn .tn-icon { width: 18px; height: 18px; }
.tn-btn--ghost { background: transparent; color: inherit !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.tn-btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px currentColor; }

.tn-stores { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: inherit; }
.tn-store {
	display: inline-flex; align-items: center; gap: .65rem;
	padding: .6rem 1.25rem .6rem 1rem; border-radius: 14px;
	background: var(--tn-ink); color: var(--tn-white) !important;
	text-decoration: none !important; line-height: 1.1; font-weight: 600; font-size: 1.05rem;
	transition: transform .3s var(--tn-ease), background .3s, box-shadow .3s;
}
.tn-store .tn-icon { width: 1.6rem; height: 1.6rem; }
.tn-store small { display: block; font-size: .66rem; font-weight: 400; opacity: .75; letter-spacing: .02em; }
.tn-store:not(.is-soon):hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(137, 224, 0, .8); }
.tn-store--light { background: var(--tn-white); color: var(--tn-ink) !important; }
.tn-store.is-soon { background: transparent; color: inherit !important; box-shadow: inset 0 0 0 1px currentColor; opacity: .55; cursor: default; }
.tn-store--light.is-soon { color: var(--tn-white) !important; }

/* ---------- Header ---------- */
/* WordPress wraps the header part in a div, so that wrapper is what sticks. */
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
.tn-header {
	position: relative;
	padding-block: 0 !important;
	background: rgba(255, 255, 255, .76);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: background .4s, color .4s, border-color .4s;
}
.tn-header.is-scrolled { border-bottom-color: rgba(26, 26, 26, .06); }
.tn-header.is-on-dark { background: rgba(43, 27, 46, .78); color: var(--tn-white); border-bottom-color: rgba(255, 255, 255, .08); }
.tn-header__bar { min-height: var(--tn-header-h); align-items: center; }
.tn-header__right { gap: clamp(.75rem, 2vw, 2rem) !important; }
.tn-logo { margin: 0; font-family: var(--tn-head); font-size: 1.75rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; text-transform: lowercase; }
.tn-logo a { text-decoration: none; color: inherit; }
.tn-nav a { text-decoration: none; opacity: .8; transition: opacity .2s; font-weight: 500; }
.tn-nav a:hover { opacity: 1; color: inherit; }
.tn-nav .wp-block-navigation__container { gap: clamp(1rem, 2.2vw, 2rem); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--tn-plum) !important; color: var(--tn-white) !important; padding: 5rem var(--tn-gutter) 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { font-family: var(--tn-head); font-size: 2.2rem; opacity: 1; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover { color: var(--tn-lime); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1rem; align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 2rem; }
/* backdrop-filter would trap the fixed full-screen menu inside the header box. */
.tn-header:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 599px) { .tn-header__cta { display: none; } }

/* ---------- Reveal on scroll ---------- */
.tn-js .tn-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--tn-ease), transform 1.1s var(--tn-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.tn-js .tn-reveal.is-in { opacity: 1; transform: none; }

/* Grid containers built from Group blocks: drop the flow-layout gap margin. */
.tn-footer__cols > *, .tn-footer__top > *, .tn-news__card > *, .tn-why__grid > *, .tn-steps-grid > * { margin-block: 0 !important; }

/* ---------- Dark (plum) sections ---------- */
.is-style-dark { background: var(--tn-plum); color: var(--tn-white); }
.is-style-dark a:not(.wp-block-button__link):not(.tn-store):not(.tn-btn) { color: inherit; }

/* ==========================================================================
   App screenshots + floating cards
   ========================================================================== */
.tn-shot { margin: 0; position: relative; flex: none; width: var(--sw, 340px); max-width: 100%; }
.tn-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(43, 27, 46, .22)) drop-shadow(0 4px 10px rgba(43, 27, 46, .1)); }
.is-style-dark .tn-shot img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
/* Screens shown mid-section fade out at the bottom instead of a hard cut. */
.tn-shot.is-fade img, .tn-split__phone img, .tn-cta__phone .tn-shot img {
	-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.tn-shot.is-tilt { transform: rotate(-5deg); }

.tn-av { --h: 95; flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: .8rem; font-weight: 600; color: var(--tn-ink); background: hsl(var(--h) 38% 80%); }

.tn-float {
	display: flex; align-items: center; gap: .65rem;
	padding: .75rem 1rem; border-radius: 20px;
	background: rgba(255, 255, 255, .92); color: var(--tn-ink);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 44px -20px rgba(20, 10, 22, .45);
	font-size: .82rem; line-height: 1.25; white-space: nowrap;
}
.tn-float b { font-weight: 600; display: block; }
.tn-float em { font-style: normal; color: var(--tn-muted); display: block; font-size: .74rem; }
.tn-now { display: inline-flex; align-items: center; gap: .3rem; font-style: normal; font-size: .7rem; font-weight: 600; color: var(--tn-green); margin-top: 2px; }
.tn-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tn-lime); box-shadow: 0 0 0 3px rgba(137, 224, 0, .25); animation: tn-blink 2s ease-in-out infinite; }
.tn-float--date { flex-direction: column; align-items: flex-start; }
.tn-float--date span { display: flex; gap: .35rem; }
.tn-float--date i { font-style: normal; display: grid; place-items: center; width: 32px; height: 36px; border-radius: 11px; background: var(--tn-paper); font-weight: 600; }
.tn-float--date i.is-on { background: var(--tn-lime); }
.tn-float--verified .tn-icon { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--tn-sky); color: var(--tn-navy); box-sizing: border-box; }
.tn-float--code { flex-direction: column; align-items: flex-start; background: #c5d0b4; }
.tn-float--code small { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tn-float--code b { font-size: 1.6rem; letter-spacing: .25em; font-weight: 700; }
.tn-float--sport { background: var(--tn-lime); font-family: var(--tn-head); font-size: 1.1rem; line-height: 1; font-weight: 500; }
.tn-float--sport .tn-icon { width: 32px; height: 32px; }
.tn-float--sport em { font-family: var(--tn-body); color: rgba(26, 26, 26, .7); font-size: .7rem; }
.tn-float--ring { background: var(--tn-plum); color: var(--tn-white); }
.tn-float--ring em { color: rgba(255, 255, 255, .7); }
.tn-float--ring b { color: var(--tn-lime); }
.tn-stamps { display: flex; gap: 4px; }
.tn-stamps i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.tn-stamps i.is-on { background: var(--tn-lime); }

/* ==========================================================================
   Home sections
   ========================================================================== */

/* Hero (plum, like the app's first screen) */
.tn-hero { padding-block: clamp(3.5rem, 8vw, 6rem) 0 !important; overflow: hidden; position: relative; background: var(--tn-plum); }
.tn-hero__title { font-size: var(--wp--preset--font-size--display) !important; line-height: .95 !important; letter-spacing: -.035em !important; margin-block: .5rem 0 !important; color: var(--tn-lime); font-weight: 500 !important; }
.tn-hero__lede { max-width: 40ch; margin-inline: auto !important; color: var(--tn-on-plum); font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-block-start: 1.5rem !important; }
.tn-hero__actions { margin-block-start: 2rem !important; }

.tn-stage { --mx: 0; --my: 0; --sy: 0; position: relative; height: clamp(500px, 52vw, 700px); margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; display: flex; justify-content: center; align-items: flex-start; max-width: 1320px !important; }
.tn-stage__glow { display: block; position: absolute; left: 50%; top: 45%; width: min(820px, 120vw); aspect-ratio: 1.4; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(137, 224, 0, .28), rgba(137, 224, 0, .06) 60%, transparent); pointer-events: none; }
.tn-stage__phone { --sw: clamp(290px, 30vw, 400px); transform: translate3d(0, calc(var(--sy) * -50px), 0); z-index: 2; }
.tn-stage__orbit { position: absolute; z-index: 3; transform: translate3d(calc(var(--mx) * var(--k) * 40px), calc(var(--my) * var(--k) * 30px + var(--sy) * var(--k) * -120px), 0); transition: transform .6s var(--tn-ease); }
.tn-stage__orbit > * { animation: tn-float 7s ease-in-out infinite; }
.tn-stage__orbit:nth-of-type(1) { --k: .4; left: 8%; top: 10%; }
.tn-stage__orbit:nth-of-type(2) { --k: .9; left: 17%; top: 46%; }
.tn-stage__orbit:nth-of-type(3) { --k: .6; right: 10%; top: 6%; }
.tn-stage__orbit:nth-of-type(4) { --k: 1.1; right: 18%; top: 38%; }
.tn-stage__orbit:nth-of-type(5) { --k: .5; left: 5%; top: 74%; }
.tn-stage__orbit:nth-of-type(6) { --k: .8; right: 6%; top: 66%; }
.tn-stage__orbit:nth-of-type(2) > * { animation-delay: -2s; }
.tn-stage__orbit:nth-of-type(3) > * { animation-delay: -4s; }
.tn-stage__orbit:nth-of-type(4) > * { animation-delay: -1s; }
.tn-stage__orbit:nth-of-type(5) > * { animation-delay: -3s; }
.tn-stage__orbit:nth-of-type(6) > * { animation-delay: -5s; }
@media (max-width: 781px) {
	.tn-stage { height: 470px; }
	.tn-stage__phone { --sw: 270px; }
	.tn-stage__orbit:nth-of-type(2), .tn-stage__orbit:nth-of-type(4), .tn-stage__orbit:nth-of-type(5) { display: none; }
	.tn-stage__orbit:nth-of-type(1) { left: -8%; top: 14%; }
	.tn-stage__orbit:nth-of-type(3) { right: -6%; top: 36%; }
	.tn-stage__orbit:nth-of-type(6) { left: -5%; top: 60%; right: auto; }
	/* `scale` (not transform) so it combines with the floating animation. */
	.tn-stage .tn-float { scale: .7; transform-origin: left center; }
	.tn-stage__orbit:nth-of-type(3) .tn-float { transform-origin: right center; }
	.tn-shero__visual .tn-stage__orbit { display: none; }
}

/* Explore */
.tn-explore { padding-block: var(--tn-section) !important; background: var(--tn-paper); }
.tn-explore h2 { font-size: var(--wp--preset--font-size--xx-large); }
.tn-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; }
.tn-feature { padding: 2rem 1.6rem; border-radius: var(--tn-radius); background: var(--tn-white); box-shadow: var(--tn-shadow); transition: transform .5s var(--tn-ease), box-shadow .5s; }
.tn-feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(43, 27, 46, .35); }
.tn-feature__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--tn-mint); color: var(--tn-ink); margin-bottom: 1.6rem; }
.tn-feature__icon .tn-icon { width: 28px; height: 28px; }
.tn-feature h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
.tn-feature p { margin: 0; color: var(--tn-muted); font-size: .95rem; }
@media (max-width: 1000px) { .tn-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tn-features { grid-template-columns: 1fr; } }

/* Possibilities */
.tn-poss { padding-block: var(--tn-section) !important; background: var(--tn-sky); color: var(--tn-navy); overflow: hidden; }
.tn-poss__head { gap: 1.5rem; flex-wrap: wrap; }
.tn-poss__head h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0; }
.tn-poss__head .tn-eyebrow { color: rgba(30, 58, 92, .7); }
.tn-poss__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; }
.tn-poss__card {
	position: relative; display: flex; flex-direction: column; gap: 1rem;
	padding: 1.25rem; border-radius: 32px; background: var(--tn-white); color: var(--tn-ink);
	box-shadow: var(--tn-shadow); aspect-ratio: 9 / 14;
	transition: transform .6s var(--tn-ease), box-shadow .6s var(--tn-ease);
}
.tn-poss__card:nth-child(even) { margin-top: 2.5rem; }
.tn-poss__card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 40px 70px -30px rgba(30, 58, 92, .45); }
.tn-poss__card h3 { font-family: var(--tn-head); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: .95; letter-spacing: -.03em; margin: .25rem 0 0; }
.tn-poss__art { flex: 1; position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 30% 10%, #4a3450, var(--tn-plum) 70%); display: grid; place-items: center; color: var(--tn-lime); }
.tn-poss__card:nth-child(2) .tn-poss__art { background: var(--tn-grad-mint); color: var(--tn-ink); }
.tn-poss__card:nth-child(3) .tn-poss__art { background: radial-gradient(120% 90% at 30% 10%, #ff8a6e, var(--tn-coral) 70%); color: var(--tn-ink); }
.tn-poss__card:nth-child(4) .tn-poss__art { background: linear-gradient(180deg, #c8dcfb, var(--tn-sky)); color: var(--tn-navy); }
.tn-poss__art .tn-icon { width: 44%; height: auto; stroke-width: 1.1; position: relative; z-index: 2; transition: transform .8s var(--tn-ease); }
.tn-poss__card:hover .tn-poss__art .tn-icon { transform: scale(1.08) rotate(-4deg); }
.tn-poss__art span { position: absolute; border-radius: 50%; border: 1px solid currentColor; opacity: .3; width: 70%; aspect-ratio: 1; animation: tn-spin 18s linear infinite; }
.tn-poss__art span + span { width: 110%; border-style: dashed; animation-duration: 30s; animation-direction: reverse; }
.tn-poss__card p { margin: 0; font-size: .9rem; color: var(--tn-muted); line-height: 1.45; }
@media (max-width: 1000px) {
	.tn-poss__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1rem 2rem 4px; margin-inline: calc(var(--tn-gutter) * -1) !important; padding-inline: var(--tn-gutter); scrollbar-width: none; }
	.tn-poss__rail::-webkit-scrollbar { display: none; }
	.tn-poss__card { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
	.tn-poss__card:nth-child(even) { margin-top: 0; }
}

/* How it works (light mint story, real screens) */
.tn-how { padding-block: var(--tn-section) !important; background: var(--tn-grad-mint); }
.tn-how__title { font-size: var(--wp--preset--font-size--xx-large) !important; margin-block-end: clamp(3rem, 6vw, 5rem) !important; }
.tn-how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); position: relative; }
.tn-how__grid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, rgba(26, 26, 26, .12) 10%, rgba(26, 26, 26, .12) 90%, transparent); }
.tn-how__steps { list-style: none; margin: 0; padding: 0; }
.tn-how__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .6s var(--tn-ease); }
.tn-how__step.is-active { opacity: 1; }
.tn-how__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tn-lime); font-weight: 700; font-size: .9rem; }
.tn-how__step h3 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 1rem 0 1rem; }
.tn-how__step p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--tn-muted); max-width: 34ch; margin: 0; }
.tn-how__aside { margin-top: 1.25rem !important; font-family: var(--tn-head); color: var(--tn-green) !important; letter-spacing: .03em; }
.tn-how__sticky { position: sticky; top: calc(50vh - 320px); height: 640px; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.tn-how__stack { position: relative; width: 340px; height: 600px; }
.tn-how__screen { position: absolute; inset: 0; display: flex; justify-content: center; opacity: 0; transform: translateY(40px) scale(.95); transition: opacity .7s var(--tn-ease), transform .9s var(--tn-ease); }
.tn-how__screen.is-active { opacity: 1; transform: none; }
.tn-how__screen .tn-shot { --sw: 330px; }
.tn-how__dots { display: flex; gap: .5rem; }
.tn-how__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(26, 26, 26, .2); transition: width .4s var(--tn-ease), background .4s; }
.tn-how__dots i.is-active { width: 26px; background: var(--tn-ink); }
.tn-how__inline { display: none; }
@media (max-width: 860px) {
	.tn-how__grid { grid-template-columns: 1fr; }
	.tn-how__grid::before, .tn-how__sticky { display: none; }
	.tn-how__step { min-height: 0; opacity: 1; padding-block: 2rem; border-top: 1px solid rgba(26, 26, 26, .1); }
	.tn-how__inline { display: flex; justify-content: center; margin-top: 2rem; }
	.tn-how__inline .tn-shot { --sw: 270px; }
}

/* Split sections: online, rewards, coaches, trainers */
.tn-split { padding: var(--tn-section) var(--tn-gutter) 0; overflow: hidden; position: relative; }
.tn-split--plum { background: var(--tn-plum); color: var(--tn-white); }
.tn-split--coral { background: var(--tn-coral); color: var(--tn-ink); }
.tn-split--sky { background: var(--tn-sky); color: var(--tn-navy); }
.tn-split__in { max-width: var(--wp--style--global--wide-size, 1240px); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.tn-split--flip .tn-split__copy { order: 2; }
.tn-split__copy { padding-bottom: var(--tn-section); }
.tn-split h1, .tn-split h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 1.25rem; }
.tn-split--plum h1, .tn-split--plum h2 { color: var(--tn-lime); }
.tn-split h1 span, .tn-split h2 span { color: var(--tn-white); }
.tn-split h3 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.tn-split__lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 40ch; margin: 0 0 1.5rem; line-height: 1.5; }
.tn-split--plum .tn-split__lede { color: var(--tn-on-plum); }
.tn-split--coral .tn-eyebrow { color: rgba(26, 26, 26, .65); }
.tn-split--sky .tn-eyebrow { color: rgba(30, 58, 92, .7); }
.tn-split__small { font-size: .85rem; opacity: .7; margin: 1rem 0 0; }
.tn-split__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.tn-split__visual { position: relative; display: flex; justify-content: center; align-self: end; min-height: 420px; }
.tn-split__phone { --sw: clamp(280px, 28vw, 380px); position: relative; z-index: 2; }
.tn-split__visual .tn-stage__glow { top: 55%; }
.tn-split--hero { padding-top: clamp(3.5rem, 7vw, 6rem); }
.tn-split--hero h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: .98; letter-spacing: -.035em; }
.tn-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tn-ticks li { display: flex; gap: .7rem; align-items: center; font-size: 1.02rem; }
.tn-ticks .tn-icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--tn-lime); color: var(--tn-ink); box-sizing: border-box; }
.tn-split--sky .tn-ticks .tn-icon { background: var(--tn-white); color: var(--tn-navy); }
.tn-stampcard { display: grid; grid-template-columns: repeat(5, 44px); gap: 10px; padding: 1.25rem; border-radius: 24px; background: var(--tn-plum); width: max-content; margin-bottom: .5rem; }
.tn-stampcard i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.tn-stampcard i.is-on { background: var(--tn-lime); }
.tn-stampcard i.is-gift { background: var(--tn-coral); color: var(--tn-white); }
.tn-stampcard i.is-gift .tn-icon { width: 22px; height: 22px; }
.tn-js .tn-stampcard.is-in i.is-on { animation: tn-pop .5s var(--tn-ease) both; }
.tn-stampcard i.is-on:nth-child(2) { animation-delay: .12s; } .tn-stampcard i.is-on:nth-child(3) { animation-delay: .24s; } .tn-stampcard i.is-on:nth-child(4) { animation-delay: .36s; }
@media (max-width: 860px) {
	.tn-split__in { grid-template-columns: 1fr; }
	.tn-split--flip .tn-split__copy { order: 0; }
	.tn-split__copy { padding-bottom: 0; }
	.tn-split__visual { min-height: 0; }
	.tn-split__phone { --sw: 280px; }
	.tn-stampcard { grid-template-columns: repeat(5, 36px); gap: 8px; }
	.tn-stampcard i { width: 36px; height: 36px; }
}

/* Marquee */
.tn-marquee { --shift: 0; padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; background: var(--tn-white); font-family: var(--tn-head); line-height: 1; letter-spacing: -.04em; }
.tn-marquee__line { display: flex; white-space: nowrap; font-size: clamp(3.5rem, 11vw, 11rem); font-weight: 500; will-change: transform; transform: translate3d(calc(var(--shift) * var(--dir, -1) * 1px - 25%), 0, 0); }
.tn-marquee__line span { padding-right: .3em; }
.tn-marquee__line.is-outline { font-size: clamp(2rem, 5vw, 5rem); color: transparent; -webkit-text-stroke: 1px var(--tn-ink); margin-top: .3em; }

/* Category grid (markup from trainow-core) */
.tn-cats { padding-block: var(--tn-section) !important; background: var(--tn-white); }
.tn-cats__head { gap: 2rem; flex-wrap: wrap; }
.tn-cats__head h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0; }
.tn-cats__lede { max-width: 36ch; color: var(--tn-muted); margin: 0; }
.tn-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; max-width: var(--wp--style--global--wide-size) !important; margin-inline: auto !important; }
.tn-catcard {
	position: relative; display: flex; flex-direction: column; gap: .5rem; min-height: 230px;
	padding: 1.6rem; border-radius: var(--tn-radius); background: var(--tn-paper); color: var(--tn-ink) !important;
	text-decoration: none !important; overflow: hidden; isolation: isolate;
	transition: transform .5s var(--tn-ease), color .4s, box-shadow .5s;
}
.tn-catcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 100% at 100% 0%, #4a3450, var(--tn-plum) 65%); opacity: 0; transition: opacity .5s var(--tn-ease); }
.tn-catcard:hover { transform: translateY(-6px); color: var(--tn-white) !important; box-shadow: 0 30px 60px -30px rgba(43, 27, 46, .6); }
.tn-catcard:hover::before { opacity: 1; }
.tn-catcard__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tn-white); color: var(--tn-ink); transition: transform .6s var(--tn-ease), background .4s; }
.tn-catcard:hover .tn-catcard__icon { transform: rotate(-10deg) scale(1.1); background: var(--tn-lime); }
.tn-catcard__icon .tn-icon { width: 26px; height: 26px; }
.tn-catcard__name { font-family: var(--tn-head); font-size: 1.6rem; font-weight: 500; line-height: 1.05; margin-top: auto; }
.tn-catcard__list { font-size: .82rem; opacity: .65; line-height: 1.45; }
.tn-catcard__count { position: absolute; top: 1.6rem; right: 1.6rem; font-size: .78rem; opacity: .6; }
.tn-catcard__arrow { position: absolute; right: 1.4rem; bottom: 1.4rem; opacity: 0; transform: translateX(-8px); transition: .4s var(--tn-ease); color: var(--tn-lime); }
.tn-catcard:hover .tn-catcard__arrow { opacity: 1; transform: none; }
.tn-catgrid.is-compact .tn-catcard { min-height: 0; }
.tn-catgrid.is-compact .tn-catcard__list { display: none; }
@media (max-width: 1000px) { .tn-catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tn-catgrid { grid-template-columns: 1fr; } .tn-catcard { min-height: 180px; } }

/* Why (statement) */
.tn-why { padding-block: var(--tn-section) !important; background: var(--tn-paper); }
.tn-why__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.tn-why h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0; }
.tn-why__copy p { color: var(--tn-muted); font-size: 1.15rem; max-width: 44ch; }
@media (max-width: 860px) { .tn-why__grid { grid-template-columns: 1fr; } }

/* Testimonials */
.tn-quotes { padding-block: var(--tn-section) !important; background: var(--tn-white); }
.tn-quotes h2 { font-size: var(--wp--preset--font-size--xx-large); }
.tn-quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; }
.tn-quote { margin: 0; padding: 2rem; border-radius: var(--tn-radius); background: var(--tn-paper); display: flex; flex-direction: column; gap: 1.25rem; }
.tn-quote:nth-child(2) { transform: translateY(2rem); background: var(--tn-mint); }
.tn-quote__stars { display: flex; gap: 2px; color: var(--tn-ink); }
.tn-quote__stars .tn-icon { width: 16px; height: 16px; fill: var(--tn-lime); stroke: var(--tn-green); }
.tn-quote blockquote { margin: 0; }
.tn-quote blockquote p { font-family: var(--tn-head); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.tn-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-size: .9rem; font-weight: 500; }
@media (max-width: 860px) { .tn-quotes__grid { grid-template-columns: 1fr; } .tn-quote:nth-child(2) { transform: none; } }

/* Press */
.tn-press { padding-block: 0 clamp(3rem, 6vw, 5rem) !important; background: var(--tn-white); }
.tn-press p { font-size: 1.6rem; font-family: var(--tn-head); }
.tn-press .tn-eyebrow { display: block; }
.tn-press a { text-decoration: none; }

/* Newsletter */
.tn-news { padding-block: 0 var(--tn-section) !important; background: var(--tn-white); }
.tn-news__card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: 40px; background: var(--tn-grad-mint); }
.tn-news__card h2 { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 1rem; }
.tn-news__card p { color: var(--tn-muted); margin: 0; }
@media (max-width: 860px) { .tn-news__card { grid-template-columns: 1fr; } }
.tn-form { display: grid; gap: .9rem; }
.tn-form__row { display: flex; gap: .5rem; padding: .35rem; border-radius: 99px; background: var(--tn-white); box-shadow: var(--tn-shadow); }
.tn-form__row:focus-within { box-shadow: 0 0 0 2px var(--tn-green); }
.tn-form input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 1rem; font: inherit; font-size: 1rem; outline: none; }
.tn-form button { border: 0; border-radius: 99px; padding: .8rem 1.4rem; font: inherit; font-weight: 600; background: var(--tn-lime); color: var(--tn-ink); cursor: pointer; transition: background .3s, color .3s; }
.tn-form button:hover { background: var(--tn-ink); color: var(--tn-white); }
.tn-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--tn-muted); }
.tn-form__consent input { margin-top: .25rem; accent-color: var(--tn-green); }
.tn-form__hp { position: absolute !important; left: -9999px !important; }
.tn-form__msg { font-size: .9rem; padding: .7rem 1rem; border-radius: 14px; background: var(--tn-white); }
.tn-form__msg.is-ok { box-shadow: inset 3px 0 0 var(--tn-lime); }
.tn-form__msg.is-err { box-shadow: inset 3px 0 0 var(--tn-coral); }

/* CTA */
.tn-cta { padding-block: clamp(4rem, 9vw, 7rem) 0 !important; background: var(--tn-plum); overflow: hidden; }
.tn-cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.tn-cta__copy { padding-bottom: clamp(4rem, 9vw, 7rem); }
.tn-cta h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 2rem; color: var(--tn-white); }
.tn-cta h2 span { color: var(--tn-lime); }
.tn-cta__phone { position: relative; display: flex; justify-content: center; align-self: end; height: 460px; }
.tn-cta__phone .tn-shot { --sw: 300px; position: relative; z-index: 2; margin-top: 1.5rem; }
@media (max-width: 860px) { .tn-cta__inner { grid-template-columns: 1fr; } .tn-cta__copy { padding-bottom: 0; } .tn-cta__phone { height: 400px; overflow: hidden; } }

/* Footer */
.tn-footer { padding-block: clamp(4rem, 8vw, 6rem) 2rem !important; background: var(--tn-plum); }
.tn-cta + .tn-footer, .tn-main:has(> .tn-cta:last-child) + * .tn-footer { border-top: 1px solid rgba(255, 255, 255, .1); }
.tn-footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tn-footer__mark { margin: 0; font-family: var(--tn-head); font-size: clamp(4rem, 14vw, 13rem); font-weight: 500; line-height: .8; letter-spacing: -.05em; }
.tn-footer__mark a { text-decoration: none; background: linear-gradient(180deg, var(--tn-lime) 20%, rgba(137, 224, 0, .25)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.tn-footer__tag { font-size: var(--wp--preset--font-size--large) !important; margin: 0 0 1.5rem; color: rgba(255, 255, 255, .85); }
.tn-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: 3rem; }
.tn-footer__list, .tn-catlinks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.tn-footer__list a, .tn-catlinks a { text-decoration: none; opacity: .75; transition: opacity .2s, color .2s; }
.tn-footer__list a:hover, .tn-catlinks a:hover { opacity: 1; color: var(--tn-lime) !important; }
.tn-footer__legal { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; opacity: .55; gap: 1rem; }
.tn-footer__legal p { margin: 0; }
@media (max-width: 860px) { .tn-footer__top { grid-template-columns: 1fr; } .tn-footer__cols { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Page patterns: page hero, trust tiles, FAQ band, gallery
   ========================================================================== */
.tn-pagehero { padding: clamp(4rem, 9vw, 7rem) var(--tn-gutter); background: var(--tn-plum); color: var(--tn-white); }
.tn-pagehero__in { max-width: var(--wp--style--global--wide-size, 1240px); margin: 0 auto; }
.tn-pagehero h1 { font-size: var(--wp--preset--font-size--display); line-height: .95; letter-spacing: -.035em; margin: 0 0 1.5rem; color: var(--tn-white); }
.tn-pagehero h1 span { color: var(--tn-lime); }
.tn-pagehero .tn-lede { margin-bottom: 2rem; }

.tn-trust { padding: var(--tn-section) var(--tn-gutter); background: var(--tn-white); }
.tn-trust--paper { background: var(--tn-paper); }
.tn-trust__in { max-width: var(--wp--style--global--wide-size, 1240px); margin: 0 auto; }
.tn-trust h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 clamp(2rem, 4vw, 3rem); }
.tn-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tn-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tn-tile { padding: 2rem; border-radius: var(--tn-radius); background: var(--tn-paper); }
.tn-trust--paper .tn-tile { background: var(--tn-white); box-shadow: var(--tn-shadow); }
.tn-tile h3 { font-size: 1.35rem; margin: 1.25rem 0 .5rem; }
.tn-tile p { color: var(--tn-muted); margin: 0; }
.tn-tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tn-mint); }
.tn-tile__icon .tn-icon { width: 24px; height: 24px; }
.tn-tile__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tn-lime); font-weight: 700; }
@media (max-width: 1000px) { .tn-tiles, .tn-tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tn-tiles, .tn-tiles--4 { grid-template-columns: 1fr; } }

.tn-faqband { padding-block: var(--tn-section) !important; background: var(--tn-white); }
.tn-faqband h2 { font-size: var(--wp--preset--font-size--x-large); margin-bottom: 1.5rem; }
.tn-faqband .wp-block-details summary, .tn-prose .wp-block-details summary { font-family: var(--tn-head); font-size: 1.25rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.tn-faqband .wp-block-details summary::-webkit-details-marker, .tn-prose .wp-block-details summary::-webkit-details-marker { display: none; }
.tn-faqband .wp-block-details summary::after, .tn-prose .wp-block-details summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tn-paper); font-family: var(--tn-body); font-size: 1.1rem; line-height: 1; transition: transform .3s var(--tn-ease), background .3s; }
.tn-faqband .wp-block-details[open] summary::after, .tn-prose .wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--tn-lime); }
.tn-faqband .wp-block-details > :not(summary), .tn-prose .wp-block-details > :not(summary) { color: var(--tn-muted); margin-top: .75rem; }

.tn-gallery { padding: var(--tn-section) 0; background: var(--tn-paper); }
.tn-gallery h2 { font-size: var(--wp--preset--font-size--xx-large); text-align: center; margin: 0 var(--tn-gutter) clamp(2rem, 4vw, 3rem); }
.tn-gallery__rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--tn-gutter) 1.5rem; scrollbar-width: thin; }
.tn-gallery__item { margin: 0; flex: 0 0 clamp(220px, 22vw, 300px); scroll-snap-align: center; }
.tn-gallery__item img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: var(--tn-shadow); }

/* ==========================================================================
   Pages, posts, prose
   ========================================================================== */
.tn-page-head { padding-block: clamp(4rem, 10vw, 8rem) clamp(2rem, 4vw, 3rem) !important; }
.tn-page-head h1 { font-size: var(--wp--preset--font-size--xx-large); }
.tn-prose { padding-bottom: var(--tn-section); }
.tn-prose h2 { font-size: var(--wp--preset--font-size--x-large); margin-block: 3.5rem 1rem; }
.tn-prose h3 { margin-block: 2rem .5rem; }
.tn-prose p, .tn-prose li { font-size: 1.07rem; }
.tn-prose a { text-decoration-color: var(--tn-lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tn-notice { padding: 1.25rem 1.5rem; border-radius: 18px; background: #fff1ec; box-shadow: inset 3px 0 0 var(--tn-coral); }

.tn-meta { gap: 1rem; font-size: .85rem; color: var(--tn-muted); }
.tn-meta a { text-decoration: none; }
.tn-feature.wp-block-post-featured-image, .tn-article .tn-feature img { border-radius: var(--tn-radius); overflow: hidden; }
.tn-posts { padding-bottom: var(--tn-section); }
.tn-card { display: flex; flex-direction: column; gap: .5rem; }
.tn-card .wp-block-post-featured-image { border-radius: 22px; overflow: hidden; margin-bottom: .75rem; }
.tn-card .wp-block-post-featured-image img { transition: transform .8s var(--tn-ease); }
.tn-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.tn-card__meta { font-size: .8rem; color: var(--tn-muted); }
.tn-card__title { font-size: 1.5rem !important; margin: 0; }
.tn-card__title a { text-decoration: none; }
.tn-404 { padding-block: var(--tn-section) !important; }
.tn-404 h1 { font-size: var(--wp--preset--font-size--xx-large); }

/* Landing pages (page-wide / page-dark templates) and the v1.0 page bands */
.tn-landing > .wp-block-post-content > * { margin-block: 0; }
.tn-landing--dark { background: var(--tn-plum); color: var(--tn-white); }
.tn-band { padding-block: var(--tn-section) !important; }
.tn-band--mist { background: var(--tn-paper); }
.tn-band--dark { background: var(--tn-plum); color: var(--tn-white); }
.tn-band h1 { font-size: var(--wp--preset--font-size--display); line-height: .95; letter-spacing: -.035em; }
.tn-band--dark h1 { color: var(--tn-lime); }
.tn-band h2 { font-size: var(--wp--preset--font-size--x-large); }
.tn-band > h2:not(:first-child), .tn-band > h3:not(:first-child) { margin-top: clamp(3rem, 6vw, 5rem) !important; }
.tn-band > .tn-steps-grid { margin-top: 2rem !important; }
.tn-cta__copy h1 { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 1.25rem; color: var(--tn-white); }
.tn-cta__copy h1 span { color: var(--tn-lime) !important; }
.tn-cta__copy .tn-stores { margin-top: 2rem; }
.tn-main > .is-layout-constrained > .tn-lede, .tn-prose > .tn-lede { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; }
.tn-band > .tn-lede, .tn-band > p:not(.tn-eyebrow), .tn-band > .wp-block-list { max-width: 62ch !important; margin-left: calc((100% - min(100%, 1240px)) / 2) !important; margin-right: auto !important; }
.tn-band > .tn-lede { max-width: 40ch !important; }
.tn-band--dark .tn-lede, .tn-band--dark .tn-eyebrow { color: rgba(255, 255, 255, .65); }
.tn-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tn-steps-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .tn-steps-grid, .tn-steps-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tn-steps-grid, .tn-steps-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }
.tn-steps-grid > * { padding: 2rem; border-radius: var(--tn-radius); background: var(--tn-paper); margin: 0 !important; }
.tn-band--dark .tn-steps-grid > * { background: rgba(255, 255, 255, .06); }
.tn-steps-grid h3 { font-size: 1.4rem; }
.tn-steps-grid p { color: var(--tn-muted); margin-bottom: 0; }
.tn-band--dark .tn-steps-grid p { color: rgba(255, 255, 255, .65); }

/* ==========================================================================
   Sport + category pages (markup from trainow-core)
   ========================================================================== */
.tn-crumbs { font-size: .82rem; color: var(--tn-muted); display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tn-crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.tn-crumbs a { text-decoration: none; }
.tn-shero { padding: clamp(2.5rem, 6vw, 5rem) var(--tn-gutter) 0; overflow: hidden; background: var(--tn-grad-mint); }
.tn-shero__grid { max-width: var(--wp--style--global--wide-size); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.tn-shero__copy { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.tn-shero h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: .98; letter-spacing: -.035em; margin: .5rem 0 1.25rem; }
.tn-shero h1 span { display: block; color: var(--tn-green); }
.tn-shero .tn-lede { margin-bottom: 2rem; }
.tn-shero__cat { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .95rem .45rem .6rem; border-radius: 99px; background: var(--tn-plum); color: var(--tn-white) !important; }
.tn-shero__cat .tn-icon { color: var(--tn-lime); width: 18px; height: 18px; }
.tn-shero__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.tn-shero__facts li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 99px; background: var(--tn-white); box-shadow: var(--tn-shadow); font-size: .85rem; font-weight: 500; }
.tn-shero__facts .tn-icon { width: 16px; height: 16px; color: var(--tn-green); }
.tn-shero__visual { position: relative; display: flex; justify-content: center; align-self: end; height: clamp(520px, 48vw, 620px); }
.tn-shero__visual .tn-shot { --sw: clamp(280px, 26vw, 340px); position: relative; z-index: 2; margin-top: 1rem; }
.tn-shero__visual .tn-stage__glow { background: radial-gradient(closest-side, rgba(255, 255, 255, .8), transparent); }
.tn-shero__visual .tn-stage__orbit:nth-of-type(1) { right: -4%; top: 10%; }
.tn-shero__visual .tn-stage__orbit:nth-of-type(2) { left: -2%; top: 52%; }
@media (max-width: 860px) { .tn-shero__grid { grid-template-columns: 1fr; } .tn-shero__copy { padding-bottom: 0; } .tn-shero__visual { height: 460px; } .tn-shero__visual .tn-shot { --sw: 270px; } }
.tn-sport__body { background: var(--tn-white); padding-top: clamp(3rem, 6vw, 5rem) !important; }
.tn-sport__body .tn-prose > h2:first-child { margin-top: 0; }

.tn-related { padding: var(--tn-section) var(--tn-gutter); background: var(--tn-paper); }
.tn-related__in { max-width: var(--wp--style--global--wide-size); margin: 0 auto; }
.tn-related h2 { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 2rem; }
.tn-pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.tn-pills a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 99px; background: var(--tn-white); box-shadow: var(--tn-shadow); text-decoration: none; font-size: .95rem; font-weight: 500; transition: background .3s, color .3s, transform .3s var(--tn-ease); }
.tn-pills a:hover { background: var(--tn-lime); color: var(--tn-ink); transform: translateY(-2px); }
.tn-pills a .tn-icon { width: 16px; height: 16px; opacity: .5; }
.tn-related__more { margin-top: 2.5rem; }

.tn-hubhead { padding: clamp(4rem, 10vw, 8rem) var(--tn-gutter) clamp(2rem, 4vw, 3rem); background: var(--tn-grad-mint); }
.tn-hubhead__in { max-width: var(--wp--style--global--wide-size); margin: 0 auto; }
.tn-hubhead h1 { font-size: var(--wp--preset--font-size--display); line-height: .92; letter-spacing: -.04em; margin: .5rem 0 1.5rem; }
.tn-hubhead h1 span { color: var(--tn-green); }
.tn-hubhead--cat h1 { font-size: var(--wp--preset--font-size--xx-large); line-height: .98; letter-spacing: -.035em; }
.tn-hubhead .tn-catgrid { margin-top: 3rem !important; }
.tn-hubjump { position: sticky; top: calc(var(--tn-header-h) + var(--wp-admin--admin-bar--height, 0px)); z-index: 20; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-block: 1px solid var(--tn-line); }
.tn-hubjump ul { max-width: var(--wp--style--global--wide-size); margin: 0 auto; padding: .7rem var(--tn-gutter); list-style: none; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.tn-hubjump a { display: inline-block; white-space: nowrap; padding: .45rem .9rem; border-radius: 99px; font-size: .85rem; font-weight: 500; text-decoration: none; }
.tn-hubjump a:hover { background: var(--tn-mint); }
.tn-hubsec { padding: clamp(3rem, 6vw, 5rem) var(--tn-gutter); border-bottom: 1px solid var(--tn-line); }
.tn-hubsec__in { max-width: var(--wp--style--global--wide-size); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem 4rem; }
.tn-hubsec h2 { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 1rem; display: flex; align-items: center; gap: .75rem; }
.tn-hubsec h2 .tn-icon { width: 42px; height: 42px; padding: 9px; border-radius: 14px; background: var(--tn-plum); color: var(--tn-lime); }
.tn-hubsec h2 a { text-decoration: none; }
.tn-hubsec p { color: var(--tn-muted); margin: 0 0 1rem; }
@media (max-width: 860px) { .tn-hubsec__in { grid-template-columns: 1fr; } }

.tn-sportgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.tn-sportcard { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.6rem; border-radius: var(--tn-radius); background: var(--tn-paper); text-decoration: none !important; color: inherit; transition: transform .5s var(--tn-ease), background .4s, color .4s; box-sizing: border-box; }
.tn-sportcard:hover { transform: translateY(-5px); background: var(--tn-plum); color: var(--tn-white); }
.tn-sportcard b { font-family: var(--tn-head); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.tn-sportcard span { font-size: .88rem; opacity: .7; }
.tn-sportcard i { margin-top: auto; padding-top: 1rem; font-style: normal; font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; color: var(--tn-green); }
.tn-sportcard:hover i { color: var(--tn-lime); }
@media (max-width: 1000px) { .tn-sportgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tn-sportgrid { grid-template-columns: 1fr; } }
.tn-catpage__body { padding: 0 var(--tn-gutter) var(--tn-section); }
.tn-catpage__body > div { max-width: var(--wp--style--global--wide-size); margin: 0 auto; }
.tn-catpage__body .tn-sportgrid { margin-top: clamp(2.5rem, 5vw, 4rem); }
.tn-catpage__intro { max-width: 760px; padding-block: clamp(3rem, 6vw, 5rem) 0; }
.tn-catpage__intro h2 { font-size: var(--wp--preset--font-size--x-large); }
.tn-catpage__intro p { font-size: 1.07rem; }

/* ---------- Keyframes ---------- */
@keyframes tn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes tn-pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
@keyframes tn-spin { to { transform: rotate(360deg); } }
@keyframes tn-blink { 0%, 100% { box-shadow: 0 0 0 3px rgba(137, 224, 0, .25); } 50% { box-shadow: 0 0 0 6px rgba(137, 224, 0, .05); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.tn-js .tn-reveal { opacity: 1; transform: none; }
}
