/* ==========================================================================
   Gym demo — NABD / نَبض
   Dark and energetic: carbon black, ember orange and chalk white; condensed
   Anton (English) and Changa (Arabic) headlines over Barlow and Tajawal text;
   a 3-2-1 intro, a slash-cut hero slider and a beating pulse line. Every rule is under .gy-body, every class starts with gy-. Layout
   answers to the demo's width (container "demo").

   1. Fonts   2. Tokens & base   3. Buttons   4. Header   5. Hero slider & marquee
   6. Programs   7. Schedule   8. BMI   9. Plans   10. Space & join
   11. Footer & toast   12. Motion   13. Narrower widths
   ========================================================================== */

/* 1. Fonts (SIL Open Font License): Anton + Barlow in English, Changa +
   Tajawal in Arabic (400–600 only). ----------------------------------------- */
@font-face {
	font-family: "GY Anton";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/anton-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GY Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GY Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GY Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GY Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "GY Changa";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/changa-400-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "GY Tajawal";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/tajawal-400-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "GY Tajawal";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/tajawal-500-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* 2. Tokens & base ----------------------------------------------------------- */
.gy-body {
	--gy-ink: #0d0e10;
	--gy-ink-2: #16181b;
	--gy-ink-3: #202328;
	--gy-ember: #ff5a1f;
	--gy-ember-2: #e8460c;
	--gy-white: #f3f1ec;
	--gy-muted: #a19c94;
	--gy-line: rgb(255 255 255 / 0.1);
	--gy-display: "GY Anton", Impact, "Arial Narrow", sans-serif;
	--gy-text: "GY Barlow", "Segoe UI", Arial, sans-serif;
	--gy-enter: 1.55s;
	--gy-start: left;
	--gy-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
	--gy-dir: 1;

	margin: 0;
	font-family: var(--gy-text);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gy-white);
	background: var(--gy-ink);
	-webkit-font-smoothing: antialiased;
	font-synthesis-weight: none;
}

[dir="rtl"] .gy-body {
	--gy-dir: -1;
	--gy-start: right;
}

[lang="ar"] .gy-body {
	--gy-display: "GY Changa", "GY Anton", Tahoma, sans-serif;
	--gy-text: "GY Tajawal", "GY Barlow", Tahoma, sans-serif;

	line-height: 1.8;
}

[lang="ar"] .gy-body * {
	letter-spacing: 0 !important;
	text-transform: none !important;
}

:where(.gy-body) *,
:where(.gy-body) *::before,
:where(.gy-body) *::after {
	box-sizing: border-box;
}

:where(.gy-body) h1,
:where(.gy-body) h2,
:where(.gy-body) h3,
:where(.gy-body) p,
:where(.gy-body) ul {
	margin: 0;
	padding: 0;
}

:where(.gy-body) ul {
	list-style: none;
}

:where(.gy-body) a {
	color: inherit;
	text-decoration: none;
}

:where(.gy-body) button,
:where(.gy-body) input,
:where(.gy-body) select {
	font: inherit;
	color: inherit;
}

:where(.gy-body) button {
	cursor: pointer;
}

.gy-body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.gy-body :focus-visible {
	outline: 2px solid var(--gy-ember);
	outline-offset: 3px;
}

.gy-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

[dir="rtl"] .gy-icon--arrow {
	scale: -1 1;
}

.gy-wrap {
	width: min(100%, 1240px);
	margin-inline: auto;
	padding-inline: clamp(18px, 3cqi, 32px);
}

.gy-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.gy-kicker {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gy-ember);
}

.gy-body h1,
.gy-body h2,
.gy-body h3 {
	font-family: var(--gy-display);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

[lang="ar"] .gy-body :is(h1, h2, h3) {
	font-weight: 400;
	line-height: 1.3;
}

.gy-body h2 {
	font-size: clamp(2.6rem, 1.4rem + 4cqi, 5rem);
}

.gy-body h2 em {
	font-style: normal;
	color: var(--gy-ember);
}

/* 3. Buttons ------------------------------------------------------------------ */
.gy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 2px solid transparent;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--gy-ease), box-shadow 0.25s;
}

.gy-btn:hover {
	transform: translateY(-2px);
}

.gy-btn .gy-icon {
	transition: translate 0.3s var(--gy-ease);
}

.gy-btn:hover .gy-icon--arrow {
	translate: calc(5px * var(--gy-dir)) 0;
}

.gy-btn--ember {
	color: var(--gy-ink);
	background: var(--gy-ember);
}

.gy-btn--ember:hover {
	box-shadow: 0 0 0 6px rgb(255 90 31 / 0.18), 0 14px 40px -10px rgb(255 90 31 / 0.5);
}

.gy-btn--line {
	color: var(--gy-white);
	border-color: rgb(255 255 255 / 0.35);
}

.gy-btn--line:hover {
	border-color: var(--gy-ember);
	color: var(--gy-ember);
}

.gy-btn--small {
	min-height: 42px;
	padding: 0 18px;
	font-size: 0.82rem;
	color: var(--gy-ink);
	background: var(--gy-ember);
}

.gy-btn--small:disabled {
	color: var(--gy-muted);
	background: var(--gy-ink-3);
	cursor: default;
	transform: none;
}

.gy-btn--small.is-booked {
	color: var(--gy-ember);
	background: transparent;
	border-color: var(--gy-ember);
}

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

.gy-btn[disabled][data-gy-enable] {
	opacity: 0.6;
}

/* 4. Header -------------------------------------------------------------------- */
.gy-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgb(13 14 16 / 0.82);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gy-line);
}

.gy-header__in {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 74px;
}

.gy-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.gy-logo__mark {
	width: 38px;
	height: 38px;
}

.gy-logo__mark rect {
	fill: var(--gy-ember);
}

.gy-logo__mark path {
	fill: none;
	stroke: var(--gy-ink);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gy-logo b {
	font-family: var(--gy-display);
	font-size: 1.9rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
}

[lang="ar"] .gy-logo b {
	font-weight: 400;
	font-size: 1.7rem;
}

.gy-nav {
	display: flex;
	gap: 28px;
	margin-inline-start: auto;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gy-nav a {
	color: rgb(243 241 236 / 0.75);
	transition: color 0.2s;
}

.gy-nav a:hover {
	color: var(--gy-ember);
}

.gy-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gy-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	font-size: 0.88rem;
	font-weight: 600;
	border: 1px solid var(--gy-line);
	border-radius: 999px;
	transition: border-color 0.2s;
}

.gy-lang:hover {
	border-color: var(--gy-ember);
}

.gy-lang .gy-icon {
	width: 17px;
	height: 17px;
}

.gy-header__cta {
	min-height: 44px;
	padding: 0 20px;
}

.gy-burger {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 1px solid var(--gy-line);
	border-radius: 50%;
}

.gy-burger .gy-icon:last-child,
.gy-burger[aria-expanded="true"] .gy-icon:first-child {
	display: none;
}

.gy-burger[aria-expanded="true"] .gy-icon:last-child {
	display: block;
}

/* 5. Hero slider & marquee ------------------------------------------------------ */
/* Three slides: the floor, the iron, the coaching. A new photo cuts in on a
   slanted edge like a fast slash, the words slam up out of masks, and a dock
   at the foot holds the counter, the named tabs and the live stats. Without
   JavaScript only the first slide shows. */
.gy-hero {
	position: relative;
	display: grid;
	min-height: clamp(660px, 94vh, 940px);
	overflow: hidden;
	background: var(--gy-ink);
	isolation: isolate;
}

/* Only the first slide waits for the intro. */
.gy-slide:not(:first-child),
.gy-hero.is-started {
	--gy-enter: 0s;
}

.gy-slide {
	position: absolute;
	inset: 0 0 var(--gy-dock-h, 118px);
	display: grid;
	align-items: center;
	visibility: hidden;
}

.gy-slide.is-active {
	z-index: 1;
	visibility: visible;
}

.gy-slide.is-leaving {
	z-index: 0;
	visibility: visible;
	transition: visibility 0s 1s;
}

.gy-slide__media {
	position: absolute;
	inset: 0 0 calc(var(--gy-dock-h, 118px) * -1);
	z-index: -1;
	overflow: hidden;
	clip-path: polygon(120% 0, 140% 0, 120% 100%, 100% 100%);
	transition: clip-path 1s cubic-bezier(0.7, 0, 0.2, 1);
}

[dir="rtl"] .gy-slide__media {
	clip-path: polygon(-20% 0, -40% 0, -20% 100%, 0% 100%);
}

.gy-slide.is-active .gy-slide__media,
.gy-slide.is-leaving .gy-slide__media {
	clip-path: polygon(-20% 0, 140% 0, 120% 100%, -40% 100%);
}

[dir="rtl"] .gy-slide.is-active .gy-slide__media,
[dir="rtl"] .gy-slide.is-leaving .gy-slide__media {
	clip-path: polygon(120% 0, -40% 0, -20% 100%, 140% 100%);
}

.gy-slide__media .gy-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.14);
	transition: transform 6.5s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.gy-slide.is-active .gy-slide__media .gy-photo {
	transform: scale(1.03);
}

.gy-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(45% 60% at 85% 20%, rgb(255 90 31 / 0.18), transparent 70%),
		linear-gradient(90deg, rgb(13 14 16 / 0.94) 0%, rgb(13 14 16 / 0.7) 45%, rgb(13 14 16 / 0.25) 100%),
		linear-gradient(0deg, var(--gy-ink) 0%, transparent 35%);
}

[dir="rtl"] .gy-slide__media::after {
	background:
		radial-gradient(45% 60% at 15% 20%, rgb(255 90 31 / 0.18), transparent 70%),
		linear-gradient(270deg, rgb(13 14 16 / 0.94) 0%, rgb(13 14 16 / 0.7) 45%, rgb(13 14 16 / 0.25) 100%),
		linear-gradient(0deg, var(--gy-ink) 0%, transparent 35%);
}

.gy-slide.is-leaving .gy-slide__in {
	opacity: 0;
	transition: opacity 0.3s;
}

.gy-slide__in {
	padding-block: 120px 40px;
}

.gy-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gy-ember);
	background: rgb(255 90 31 / 0.1);
	border: 1px solid rgb(255 90 31 / 0.4);
	border-radius: 2px;
}

.gy-tag .gy-icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.gy-hero .gy-slide__title {
	display: grid;
	max-width: 11ch;
	margin-top: 22px;
	font-size: clamp(4rem, 1.4rem + 9.4cqi, 9.6rem);
	font-weight: 400;
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--gy-white);
}

.gy-hero .gy-slide__title em {
	font-style: normal;
	color: transparent;
	-webkit-text-stroke: 2px var(--gy-ember);
}

[lang="ar"] .gy-hero .gy-slide__title {
	max-width: none;
	font-size: clamp(3.2rem, 1.3rem + 6.6cqi, 7rem);
	font-weight: 600;
	line-height: 1.2;
}

[lang="ar"] .gy-hero .gy-slide__title em {
	color: var(--gy-ember);
	-webkit-text-stroke: 0;
}

.gy-mask {
	display: block;
	overflow: hidden;
	padding-block: 0.02em 0.06em;
}

.gy-mask > * {
	display: inline-block;
}

.gy-pulse {
	display: block;
	width: min(100%, 520px);
	height: 46px;
	margin-block: 14px 4px;
}

.gy-pulse path {
	fill: none;
	stroke: var(--gy-ember);
	stroke-width: 3;
	stroke-linejoin: round;
	stroke-dasharray: 760;
	stroke-dashoffset: 760;
	animation: gy-beat 2.4s ease-in-out infinite;
	filter: drop-shadow(0 0 6px rgb(255 90 31 / 0.7));
}

[dir="rtl"] .gy-pulse {
	scale: -1 1;
}

@keyframes gy-beat {
	60%,
	100% {
		stroke-dashoffset: 0;
	}
}

.gy-lead {
	max-width: 34em;
	font-size: 1.08rem;
	color: rgb(243 241 236 / 0.78);
}

.gy-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.gy-slide.is-active .gy-tag,
.gy-slide.is-active .gy-pulse,
.gy-slide.is-active .gy-lead,
.gy-slide.is-active .gy-hero__actions {
	animation: gy-rise 0.8s var(--gy-ease) both;
}

.gy-slide.is-active .gy-mask > * {
	animation: gy-slam 0.85s var(--gy-ease) both;
}

.gy-slide.is-active .gy-tag {
	animation-delay: calc(var(--gy-enter) + 0.2s);
}

.gy-slide.is-active .gy-mask:nth-child(1) > * {
	animation-delay: calc(var(--gy-enter) + 0.3s);
}

.gy-slide.is-active .gy-mask:nth-child(2) > * {
	animation-delay: calc(var(--gy-enter) + 0.42s);
}

.gy-slide.is-active .gy-pulse {
	animation-delay: calc(var(--gy-enter) + 0.55s);
}

.gy-slide.is-active .gy-lead {
	animation-delay: calc(var(--gy-enter) + 0.62s);
}

.gy-slide.is-active .gy-hero__actions {
	animation-delay: calc(var(--gy-enter) + 0.74s);
}

@keyframes gy-slam {
	from {
		transform: translateY(105%) skewY(5deg);
	}
}

@keyframes gy-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}

/* The dock: counter, named tabs and arrows on the start side, stats on the end. */
.gy-hero__dock {
	position: relative;
	z-index: 2;
	align-self: end;
	min-height: var(--gy-dock-h, 118px);
	border-top: 1px solid var(--gy-line);
	background: rgb(13 14 16 / 0.6);
	backdrop-filter: blur(8px);
	animation: gy-rise 0.8s var(--gy-ease) calc(var(--gy-enter) + 0.85s) both;
}

.gy-hero__dock-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 40px;
	min-height: var(--gy-dock-h, 118px);
	padding-block: 18px;
}

.gy-slider__ui {
	display: flex;
	align-items: center;
	gap: 22px;
}

.gy-slider__count {
	font-family: var(--gy-display);
	font-size: 1.1rem;
	color: var(--gy-muted);
}

.gy-slider__count b {
	font-size: 2.2rem;
	font-weight: 400;
	color: var(--gy-white);
}

.gy-slider__tabs {
	display: flex;
	gap: 6px;
}

.gy-slider__tabs button {
	position: relative;
	min-width: 104px;
	padding: 10px 4px 14px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-align: start;
	text-transform: uppercase;
	color: var(--gy-muted);
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.3s;
}

.gy-slider__tabs button[aria-selected="true"],
.gy-slider__tabs button:hover {
	color: var(--gy-white);
}

.gy-slider__tabs i {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: rgb(243 241 236 / 0.18);
}

.gy-slider__tabs i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gy-ember);
	transform: scaleX(0);
	transform-origin: var(--gy-start, left);
}

.gy-slider__tabs button[aria-selected="true"] i::after {
	transform: scaleX(1);
}

.gy-hero.is-playing .gy-slider__tabs button[aria-selected="true"] i::after {
	animation: gy-fill var(--gy-slide-time, 6s) linear both;
}

.gy-hero.is-paused .gy-slider__tabs button[aria-selected="true"] i::after {
	animation-play-state: paused;
}

@keyframes gy-fill {
	from {
		transform: scaleX(0);
	}
}

.gy-slider__arrows {
	display: flex;
	gap: 6px;
}

.gy-slider__arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	color: var(--gy-white);
	background: transparent;
	border: 1px solid rgb(243 241 236 / 0.3);
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.gy-slider__arrow:hover {
	color: var(--gy-ink);
	background: var(--gy-ember);
	border-color: var(--gy-ember);
}

[dir="rtl"] .gy-slider__arrow .gy-icon {
	scale: -1 1;
}

.gy-body:not(.gy-ready) .gy-slider__ui {
	visibility: hidden;
}

.gy-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 44px;
}

.gy-hero__stats li {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.gy-hero__stats b {
	font-family: var(--gy-display);
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1;
	color: var(--gy-ember);
}

[lang="ar"] .gy-hero__stats b {
	font-family: var(--gy-text);
	font-weight: 600;
	font-size: 2rem;
}

.gy-hero__stats span {
	font-size: 0.85rem;
	color: var(--gy-muted);
}

/* The tilted marquee is wider than the page: clip it without a scroll box. */
.gy-body main {
	overflow-x: clip;
}

.gy-marquee {
	overflow: hidden;
	color: var(--gy-ink);
	background: var(--gy-ember);
	transform: rotate(-1.5deg);
	margin-block: 10px;
}

[dir="rtl"] .gy-marquee {
	transform: rotate(1.5deg);
}

.gy-marquee__track {
	display: flex;
	width: max-content;
	animation: gy-roll 26s linear infinite;
}

.gy-marquee p {
	display: flex;
}

.gy-marquee span {
	display: inline-flex;
	align-items: center;
	gap: 26px;
	padding: 14px 13px;
	font-family: var(--gy-display);
	font-size: 1.6rem;
	font-weight: 400;
	text-transform: uppercase;
	white-space: nowrap;
}

[lang="ar"] .gy-marquee span {
	font-weight: 600;
}

.gy-marquee span::after {
	content: "";
	width: 12px;
	height: 12px;
	background: var(--gy-ink);
	transform: rotate(45deg);
}

@keyframes gy-roll {
	to {
		transform: translateX(calc(-50% * var(--gy-dir)));
	}
}

/* 6. Sections & programs --------------------------------------------------------- */
.gy-section {
	padding-block: clamp(70px, 8cqi, 120px);
}

.gy-section--panel {
	background: var(--gy-ink-2);
}

.gy-head {
	display: grid;
	gap: 12px;
	max-width: 720px;
	margin-bottom: clamp(32px, 4cqi, 52px);
}

.gy-head p:not(.gy-kicker) {
	color: var(--gy-muted);
}

.gy-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
}

.gy-head--row > div {
	display: grid;
	gap: 12px;
}

.gy-head--center {
	justify-items: center;
	margin-inline: auto;
	text-align: center;
}

.gy-programs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 2cqi, 24px);
}

.gy-program {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 440px;
	overflow: hidden;
	background: var(--gy-ink-3);
	border-radius: 22px;
}

.gy-program > .gy-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--gy-ease), filter 0.6s;
	filter: grayscale(0.5) brightness(0.75);
}

.gy-program::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 25%, rgb(13 14 16 / 0.95) 80%);
}

.gy-program:hover > .gy-photo {
	transform: scale(1.07);
	filter: grayscale(0) brightness(0.85);
}

.gy-program__body {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
	padding: 26px;
}

.gy-program__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.85rem;
	color: var(--gy-muted);
}

.gy-program__meta > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gy-program__meta .gy-icon {
	width: 16px;
	height: 16px;
}

.gy-meter {
	display: inline-flex;
	gap: 4px;
}

.gy-meter i {
	width: 14px;
	height: 6px;
	background: rgb(255 255 255 / 0.2);
	border-radius: 3px;
}

.gy-meter i.is-on {
	background: var(--gy-ember);
}

.gy-program h3 {
	font-size: 2.6rem;
}

.gy-program p:not(.gy-program__meta) {
	font-size: 0.93rem;
	color: rgb(243 241 236 / 0.75);
}

.gy-program__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.88rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gy-ember);
}

.gy-program__link .gy-icon {
	width: 16px;
	height: 16px;
	transition: translate 0.3s var(--gy-ease);
}

.gy-program__link:hover .gy-icon {
	translate: calc(5px * var(--gy-dir)) 0;
}

/* 7. Schedule ------------------------------------------------------------------- */
.gy-select select {
	min-height: 46px;
	padding: 0 18px;
	background: var(--gy-ink-3);
	border: 1px solid var(--gy-line);
	border-radius: 999px;
}

.gy-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	margin-bottom: 18px;
	padding: 6px;
	background: var(--gy-ink);
	border-radius: 999px;
}

.gy-day {
	min-height: 46px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gy-muted);
	background: transparent;
	border: 0;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s;
}

.gy-day:hover {
	color: var(--gy-white);
}

.gy-day[aria-selected="true"] {
	color: var(--gy-ink);
	background: var(--gy-ember);
}

.gy-classes {
	display: grid;
	gap: 10px;
}

.gy-class {
	display: grid;
	grid-template-columns: 110px 1fr auto auto;
	align-items: center;
	gap: 20px;
	padding: 16px 22px;
	background: var(--gy-ink-3);
	border: 1px solid transparent;
	border-radius: 18px;
	animation: gy-in 0.4s var(--gy-ease) both;
	transition: border-color 0.25s;
}

.gy-class:hover {
	border-color: rgb(255 90 31 / 0.35);
}

.gy-class[hidden] {
	display: none;
}

.gy-class time {
	font-family: var(--gy-display);
	font-size: 2.1rem;
	font-weight: 900;
	line-height: 1;
	color: var(--gy-ember);
}

[lang="ar"] .gy-class time {
	font-family: var(--gy-text);
	font-weight: 600;
	font-size: 1.6rem;
}

.gy-class__main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 20px;
}

.gy-class__main b {
	flex: 1 0 100%;
	font-size: 1.15rem;
}

.gy-class__main span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--gy-muted);
}

.gy-class__main .gy-icon {
	width: 15px;
	height: 15px;
}

.gy-class__spots {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gy-muted);
	white-space: nowrap;
}

.gy-class__spots.is-low {
	color: #ffb02e;
}

.gy-class__spots.is-full {
	color: #ff5a4e;
}

.gy-empty {
	padding: 26px;
	text-align: center;
	color: var(--gy-muted);
	border: 1px dashed var(--gy-line);
	border-radius: 18px;
}

@keyframes gy-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}

/* 8. BMI ------------------------------------------------------------------------ */
.gy-bmi {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(30px, 6cqi, 90px);
}

.gy-bmi > div {
	display: grid;
	gap: 14px;
}

.gy-bmi > div > p:last-child {
	color: var(--gy-muted);
}

.gy-calc {
	display: grid;
	gap: 22px;
	padding: clamp(22px, 3cqi, 34px);
	background: var(--gy-ink-2);
	border: 1px solid var(--gy-line);
	border-radius: 26px;
}

.gy-range {
	display: grid;
	gap: 10px;
	font-weight: 600;
}

.gy-range span {
	display: flex;
	justify-content: space-between;
	color: var(--gy-muted);
}

.gy-range output {
	font-weight: 700;
	color: var(--gy-white);
}

.gy-range input {
	width: 100%;
	accent-color: var(--gy-ember);
}

.gy-gauge {
	display: grid;
	justify-items: center;
}

.gy-gauge svg {
	width: min(100%, 320px);
	height: auto;
}

.gy-gauge__arc {
	fill: none;
	stroke-width: 16;
	stroke-linecap: round;
}

.gy-gauge__arc--1 {
	stroke: #5ab0ff;
}

.gy-gauge__arc--2 {
	stroke: var(--gy-ember);
}

.gy-gauge__arc--3 {
	stroke: #ffb02e;
}

.gy-gauge__arc--4 {
	stroke: #ff5a4e;
}

.gy-gauge__needle {
	fill: var(--gy-white);
	transform-origin: 110px 110px;
	transition: transform 0.8s var(--gy-ease);
}

.gy-gauge__value {
	display: grid;
	justify-items: center;
	margin-top: -6px;
}

.gy-gauge__value b {
	font-family: var(--gy-display);
	font-size: 3.4rem;
	font-weight: 900;
	line-height: 1;
}

[lang="ar"] .gy-gauge__value b {
	font-family: var(--gy-text);
	font-weight: 600;
	font-size: 2.6rem;
}

.gy-gauge__value span {
	font-weight: 700;
	color: var(--gy-ember);
}

/* 9. Plans ----------------------------------------------------------------------- */
.gy-switch {
	display: inline-flex;
	gap: 4px;
	margin-top: 10px;
	padding: 5px;
	background: var(--gy-ink);
	border: 1px solid var(--gy-line);
	border-radius: 999px;
}

.gy-switch button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	font-weight: 700;
	color: var(--gy-muted);
	background: transparent;
	border: 0;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s;
}

.gy-switch small {
	padding: 2px 8px;
	font-size: 0.72rem;
	color: var(--gy-ink);
	background: var(--gy-ember);
	border-radius: 999px;
}

.gy-switch button[aria-pressed="true"] {
	color: var(--gy-ink);
	background: var(--gy-white);
}

.gy-plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
	gap: clamp(14px, 2cqi, 24px);
}

.gy-plan {
	position: relative;
	display: grid;
	gap: 16px;
	padding: 32px 28px;
	background: var(--gy-ink-3);
	border: 1px solid var(--gy-line);
	border-radius: 26px;
	transition: transform 0.4s var(--gy-ease);
}

.gy-plan:hover {
	transform: translateY(-6px);
}

.gy-plan--hot {
	background: linear-gradient(160deg, #22281a, var(--gy-ink-3) 60%);
	border-color: var(--gy-ember);
	box-shadow: 0 30px 70px -30px rgb(255 90 31 / 0.35);
}

.gy-plan__badge {
	position: absolute;
	top: -14px;
	inset-inline-start: 28px;
	padding: 5px 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gy-ink);
	background: var(--gy-ember);
	border-radius: 999px;
}

.gy-plan h3 {
	font-size: 2.2rem;
}

.gy-plan__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.gy-plan__price b {
	font-family: var(--gy-display);
	font-size: 4rem;
	font-weight: 900;
	line-height: 1;
}

[lang="ar"] .gy-plan__price b {
	font-family: var(--gy-text);
	font-weight: 600;
	font-size: 3rem;
}

.gy-plan__price b.is-new {
	animation: gy-in 0.35s var(--gy-ease);
}

.gy-plan__price span,
.gy-plan__note {
	font-size: 0.85rem;
	color: var(--gy-muted);
}

.gy-plan ul {
	display: grid;
	gap: 10px;
	padding-block: 10px 6px;
	border-top: 1px solid var(--gy-line);
}

.gy-plan li {
	display: flex;
	gap: 10px;
	padding-top: 10px;
	font-size: 0.93rem;
}

.gy-plan li .gy-icon {
	width: 18px;
	height: 18px;
	color: var(--gy-ember);
	stroke-width: 2.4;
}

/* 10. Space & join ------------------------------------------------------------- */
.gy-space {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: clamp(14px, 2cqi, 24px);
}

.gy-space li {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
}

.gy-space .gy-photo {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	transition: transform 1s var(--gy-ease);
}

.gy-space li:hover .gy-photo {
	transform: scale(1.06);
}

.gy-space p {
	position: absolute;
	inset-inline: 14px;
	bottom: 14px;
	display: grid;
	padding: 14px 18px;
	background: rgb(13 14 16 / 0.78);
	backdrop-filter: blur(8px);
	border-radius: 14px;
}

.gy-space b {
	font-size: 1.05rem;
}

.gy-space span {
	font-size: 0.85rem;
	color: var(--gy-muted);
}

.gy-join {
	padding-block: clamp(70px, 8cqi, 120px);
	color: var(--gy-ink);
	background: var(--gy-ember);
}

.gy-join__in {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: clamp(28px, 5cqi, 80px);
}

.gy-join__in > div {
	display: grid;
	gap: 14px;
}

.gy-join .gy-kicker {
	color: var(--gy-ink);
}

.gy-join h2 em {
	color: var(--gy-ink);
	-webkit-text-stroke: 0;
	text-decoration: underline;
	text-decoration-thickness: 6px;
	text-underline-offset: 6px;
}

.gy-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: clamp(22px, 3cqi, 34px);
	color: var(--gy-white);
	background: var(--gy-ink);
	border-radius: 26px;
}

.gy-field {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gy-muted);
}

.gy-field input,
.gy-field select {
	min-height: 52px;
	padding: 0 16px;
	font-weight: 500;
	color: var(--gy-white);
	background: var(--gy-ink-3);
	border: 1px solid transparent;
	border-radius: 14px;
	transition: border-color 0.2s;
}

.gy-field input:focus,
.gy-field select:focus {
	border-color: var(--gy-ember);
	outline: none;
}

.gy-field input[aria-invalid="true"] {
	border-color: #ff5a4e;
}

.gy-form .gy-btn,
.gy-form__error,
.gy-form__ok {
	grid-column: 1 / -1;
}

.gy-form__error {
	font-size: 0.9rem;
	font-weight: 600;
	color: #ff7a70;
}

.gy-form__ok {
	padding: 14px 16px;
	font-size: 0.92rem;
	color: var(--gy-ink);
	background: var(--gy-ember);
	border-radius: 14px;
}

/* 11. Footer & toast ------------------------------------------------------------- */
.gy-footer {
	padding-block: 40px 26px;
	background: var(--gy-ink);
}

.gy-footer__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: var(--gy-muted);
}

.gy-footer__bar {
	flex: 1 0 100%;
	padding-top: 18px;
	font-size: 0.82rem;
	border-top: 1px solid var(--gy-line);
}

.gy-toast {
	position: fixed;
	bottom: 20px;
	inset-inline-start: 50%;
	z-index: 110;
	max-width: min(92%, 420px);
	padding: 14px 22px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--gy-ink);
	background: var(--gy-ember);
	border-radius: 999px;
	box-shadow: 0 20px 40px -14px rgb(0 0 0 / 0.6);
	transform: translateX(calc(-50% * var(--gy-dir)));
	animation: gy-in 0.3s var(--gy-ease);
}

.gy-toast[hidden] {
	display: none;
}

/* 12. Motion: intro, progress line, header, reveals ------------------------- */
/* The intro: a 3-2-1 count flashes, NABD lands with the pulse line, then the
   black panel shuts to a thin ember line in the middle. Pure CSS: it ends even
   without the script. */
.gy-intro {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	background: var(--gy-ink);
	pointer-events: none;
	animation: gy-intro-out 0.7s cubic-bezier(0.7, 0, 0.2, 1) 1.4s both;
}

.gy-intro__in {
	display: grid;
	justify-items: center;
}

.gy-intro__count {
	display: grid;
	height: 0;
}

.gy-intro__count span {
	grid-area: 1 / 1;
	font-family: var(--gy-display);
	font-size: 9rem;
	line-height: 1;
	color: var(--gy-ember);
	opacity: 0;
	translate: 0 -50%;
	animation: gy-tick 0.3s ease-out both;
}

.gy-intro__count span:nth-child(2) {
	animation-delay: 0.28s;
}

.gy-intro__count span:nth-child(3) {
	animation-delay: 0.56s;
}

.gy-intro b {
	font-family: var(--gy-display);
	font-size: 4.6rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.06em;
	color: var(--gy-white);
	animation: gy-land 0.5s var(--gy-ease) 0.86s both;
}

[lang="ar"] .gy-intro b {
	font-weight: 600;
}

.gy-intro .gy-pulse {
	width: 260px;
	margin: 6px 0 0;
	animation: gy-rise 0.3s 0.95s both;
}

.gy-intro .gy-pulse path {
	animation: gy-beat 0.9s ease-out 0.95s both;
}

@keyframes gy-tick {
	0% {
		opacity: 0;
		scale: 1.6;
	}

	30%,
	70% {
		opacity: 1;
		scale: 1;
	}

	100% {
		opacity: 0;
		scale: 0.8;
	}
}

@keyframes gy-land {
	from {
		opacity: 0;
		scale: 1.4;
		filter: blur(6px);
	}
}

@keyframes gy-intro-out {
	to {
		clip-path: inset(50% 0 50% 0);
		visibility: hidden;
	}
}

/* Reading progress, where the browser can tie an animation to scrolling. */
.gy-progress {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	height: 3px;
	background: var(--gy-ember);
	transform: scaleX(0);
	transform-origin: var(--gy-start, left);
}

@supports (animation-timeline: scroll()) {
	.gy-progress {
		animation: gy-progress linear both;
		animation-timeline: scroll(root);
	}
}

@keyframes gy-progress {
	to {
		transform: scaleX(1);
	}
}

.gy-header {
	animation: gy-down 0.7s var(--gy-ease) 1.6s both;
}

@keyframes gy-down {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
}

/* Reveals: lists one after another, photos settle from a slight zoom. */
.gy-ready [data-gy-reveal] {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s var(--gy-ease), transform 0.8s var(--gy-ease);
	transition-delay: calc(var(--gy-i, 0) * 90ms);
}

.gy-ready [data-gy-reveal].is-in {
	opacity: 1;
	transform: none;
}

.gy-ready [data-gy-reveal] .gy-photo {
	transition: transform 1.5s var(--gy-ease);
}

.gy-ready [data-gy-reveal]:not(.is-in) .gy-photo {
	transform: scale(1.14);
}

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

	.gy-intro {
		display: none;
	}

	.gy-pulse path {
		stroke-dashoffset: 0;
	}

	.gy-ready [data-gy-reveal] {
		opacity: 1;
		transform: none;
	}

	.gy-ready [data-gy-reveal]:not(.is-in) .gy-photo {
		transform: none;
	}
}

/* 13. Narrower widths ------------------------------------------------------------ */
@container demo (max-width: 1060px) {
	.gy-header__cta {
		display: none;
	}

	.gy-programs {
		grid-template-columns: repeat(2, 1fr);
	}
}

@container demo (max-width: 900px) {
	.gy-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 24px 20px;
		background: var(--gy-ink);
		border-bottom: 1px solid var(--gy-line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
	}

	.gy-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.gy-nav a {
		padding: 14px 0;
		border-bottom: 1px solid var(--gy-line);
	}

	.gy-tools {
		margin-inline-start: auto;
	}

	.gy-burger {
		display: grid;
	}

	/* The slides stack in one cell; the dock follows below them. */
	.gy-hero {
		min-height: 0;
	}

	.gy-slide {
		position: relative;
		inset: auto;
		grid-area: 1 / 1;
		min-height: 600px;
	}

	.gy-slide__media {
		inset: 0;
	}

	.gy-slide__in {
		padding-block: 110px 40px;
	}

	.gy-hero__dock {
		grid-area: 2 / 1;
	}

	.gy-slider__ui {
		width: 100%;
		justify-content: space-between;
	}

	.gy-bmi,
	.gy-join__in {
		grid-template-columns: 1fr;
	}

	.gy-plans {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin-inline: auto;
	}

	.gy-space {
		grid-template-columns: 1fr 1fr;
	}

	.gy-space li:first-child {
		grid-column: 1 / -1;
	}

	.gy-class {
		grid-template-columns: 90px 1fr auto;
	}

	.gy-class__spots {
		grid-column: 2;
		grid-row: 2;
	}

	.gy-class .gy-btn {
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}

@container demo (max-width: 560px) {
	.gy-lang {
		padding: 9px 10px;
		font-size: 0;
		gap: 0;
	}

	.gy-lang .gy-icon {
		width: 20px;
		height: 20px;
	}

	.gy-programs,
	.gy-space,
	.gy-form {
		grid-template-columns: 1fr;
	}

	.gy-program {
		min-height: 380px;
	}

	.gy-days {
		display: flex;
		overflow-x: auto;
		border-radius: 18px;
	}

	.gy-day {
		flex: 0 0 auto;
		padding: 0 16px;
	}

	.gy-class {
		grid-template-columns: 1fr auto;
		gap: 10px 14px;
	}

	.gy-class time,
	.gy-class__main {
		grid-column: 1;
	}

	.gy-class__spots {
		grid-column: 1;
		grid-row: auto;
	}

	.gy-class .gy-btn {
		grid-column: 2;
		grid-row: 1 / span 3;
	}

	.gy-hero__stats {
		gap: 14px 28px;
	}

	.gy-slider__count {
		display: none;
	}

	.gy-slider__tabs {
		flex: 1;
	}

	.gy-slider__tabs button {
		flex: 1;
		min-width: 0;
		font-size: 0.7rem;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}

	.gy-hero__stats {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
	}

	.gy-hero__stats li {
		display: grid;
		gap: 2px;
	}

	.gy-hero__stats b {
		font-size: 2rem;
	}

	.gy-hero__actions .gy-btn {
		flex: 1 1 auto;
	}
}

/* Arabic weights: 400–600 only: every bold part is 600 here, and the browser never
   fakes a heavier weight. (Generated from the rules above; keep it last.) */
[lang="ar"] .gy-body {
	font-synthesis: none;
}

:where([lang="ar"] .gy-body) :where(b, strong, h1, h2, h3, h4, h5, h6, th, optgroup) {
	font-weight: 600;
}

[lang="ar"] .gy-body :is(.gy-kicker, h1, h2, h3, .gy-btn, .gy-logo b),
[lang="ar"] .gy-body :is(.gy-program__link, .gy-day, .gy-class time, .gy-range output, .gy-gauge__value b, .gy-gauge__value span),
[lang="ar"] .gy-body :is(.gy-switch button, .gy-plan__badge, .gy-plan__price b) {
	font-weight: 600;
}
