/* ===========================================================
   CDN Fitness — plain HTML/CSS landing page
   Edit this file freely. No React, no Tailwind, no build magic.
   =========================================================== */

:root {
	--cream: #f7f3ea;
	--sand: #ece5d3;
	--charcoal: #1e2620;
	--charcoal-90: rgba(30, 38, 32, 0.95);
	--charcoal-40: rgba(30, 38, 32, 0.4);
	--brand-green: #7aff47;
	--brand-green-dark: #3fa72a;
	--brand-green-30: rgba(122, 255, 71, 0.3);
	--brand-green-10: rgba(122, 255, 71, 0.1);
	--text: #1e2620;
	--muted: #6b7266;
	--border: #d9d2bf;
	--display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--body);
	background: var(--cream);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img,
video {
	display: block;
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.hidden {
	display: none !important;
	visibility: hidden !important;
}

/* ---------- Header ---------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 20px 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	transition:
		background 0.4s ease,
		padding 0.4s ease,
		box-shadow 0.4s ease;
}
.header.scrolled {
	background: var(--charcoal-90);
	backdrop-filter: blur(8px);
	padding: 12px 24px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.header img {
	height: 40px;
	width: auto;
	object-fit: contain;
}
@media (min-width: 768px) {
	.header img {
		height: 48px;
	}
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--charcoal);
	padding: 112px 24px 64px;
	color: var(--cream);
	text-align: center;
}
@media (min-width: 768px) {
	.hero {
		padding: 30px 24px 96px;
	}
}
.hero__glow-a,
.hero__glow-b {
	position: absolute;
	pointer-events: none;
	border-radius: 9999px;
	filter: blur(80px);
}
.hero__glow-a {
	top: 80px;
	left: -128px;
	width: 288px;
	height: 288px;
	background: var(--brand-green-30);
}
.hero__glow-b {
	bottom: 0;
	right: -96px;
	width: 320px;
	height: 320px;
	background: var(--brand-green-10);
}
.hero__inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero__logo {
	height: 96px;
	width: auto;
	object-fit: contain;
}
@media (min-width: 640px) {
	.hero__logo {
		height: 128px;
	}
}
@media (min-width: 768px) {
	.hero__logo {
		height: 160px;
	}
}
@media (min-width: 1024px) {
	.hero__logo {
		height: 192px;
	}
}
.hero__tagline {
	margin-top: 24px;
	max-width: 560px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--brand-green);
}
.hero__video-frame {
	margin-top: 40px;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--brand-green-30);
	box-shadow: 0 20px 60px -20px rgba(122, 255, 71, 0.35);
}
@media (min-width: 768px) {
	.hero__video-frame {
		margin-top: 56px;
	}
}
.hero__video-frame video {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.hero__scroll {
	margin-top: 40px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: rgba(247, 243, 234, 0.7);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s;
}
.hero__scroll:hover {
	color: var(--brand-green);
}

/* ---------- Section shell ---------- */
section {
	padding: 96px 24px;
}
@media (min-width: 768px) {
	section {
		padding: 78px 24px;
	}
}
.container {
	max-width: 1200px;
	margin: 0 auto;
}
.container-sm {
	max-width: 640px;
	margin: 0 auto;
}
.container-md {
	max-width: 1080px;
	margin: 0 auto;
}

.eyebrow {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--brand-green-dark);
	margin-bottom: 12px;
}
.section-heading {
	text-align: center;
	margin-bottom: 56px;
}
.section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.75rem);
}
.section-heading p {
	margin-top: 16px;
	color: var(--muted);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- About ---------- */
.about {
	background: var(--cream);
}
.about__grid {
	display: grid;
	gap: 48px;
}
@media (min-width: 768px) {
	.about__grid {
		grid-template-columns: 1fr 1fr;
		gap: 96px;
	}
}
.about h2 {
	font-size: clamp(2rem, 4.5vw, 3.75rem);
}
.about__lead {
	font-size: 1.125rem;
	line-height: 1.65;
}
@media (min-width: 768px) {
	.about__lead {
		font-size: 1.25rem;
	}
}
.about__body {
	margin-top: 24px;
	color: var(--muted);
	line-height: 1.7;
}
.about__stats {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.about__stats strong {
	font-family: var(--display);
	font-weight: 500;
	font-size: 2rem;
	color: var(--brand-green-dark);
	display: block;
}
.about__stats span {
	font-size: 0.875rem;
	color: var(--muted);
}

/* ---------- Media grid ---------- */
.media__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.media__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.media__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
.media__grid figure {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: var(--sand);
	aspect-ratio: 4 / 5;
}
.media__grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.media__grid figure:hover img {
	transform: scale(1.05);
}

.media__cta {
	margin-top: 48px;
	text-align: center;
}
.media__cta-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--charcoal);
	border: 1px solid var(--charcoal);
	border-radius: 9999px;
	transition:
		background 0.2s,
		color 0.2s,
		border-color 0.2s;
}
.media__cta-link:hover {
	background: var(--charcoal);
	color: var(--brand-green);
	border-color: var(--charcoal);
}

/* ---------- Catalogs ---------- */
.catalogs {
	background: var(--cream);
}
.catalog-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 56px 24px;
}
@media (min-width: 640px) {
	.catalog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.catalog-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.catalog-card__circle {
	width: 176px;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;

	/* height: 128px;
	width: 128px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--brand-green-30);
	background: rgba(30, 38, 32, 0.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	transition:
		transform 0.3s,
		border-color 0.3s;
	overflow: hidden; */
}
@media (min-width: 768px) {
	.catalog-card__circle {
		/* height: 160px;
		width: 160px; */
	}
}
.catalog-card:hover .catalog-card__circle {
	transform: scale(1.05);
	border-color: var(--brand-green);
}

.catalog-card__circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	.catalog-card__circle span {
		font-size: 2.25rem;
	}
}
.catalog-card h3 {
	margin-top: 20px;
	font-size: 1.25rem;
}
@media (min-width: 768px) {
	.catalog-card h3 {
		font-size: 1.5rem;
	}
}
.catalog-card a {
	margin-top: 8px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--brand-green-dark);
	transition: color 0.2s;
}
.catalog-card a:hover {
	color: var(--charcoal);
}

/* ---------- Collections ---------- */
.collections {
	margin-top: 96px;
}
.collections__heading {
	text-align: center;
	margin-bottom: 72px;
}
.collections__heading h2 {
	font-size: clamp(1.75rem, 3.5vw, 3rem);
}
.collection {
	display: grid;
	gap: 40px;
	margin-bottom: 80px;
}
@media (min-width: 768px) {
	.collection {
		grid-template-columns: 280px 1fr;
		gap: 64px;
		align-items: center;
	}
}
.collection__main {
	display: flex;
	flex-direction: column;
	align-items: center;
}
@media (min-width: 768px) {
	.collection__main {
		align-items: center;
	}
}
.collection__main-circle {
	width: 176px;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}
@media (min-width: 768px) {
	.collection__main-circle {
		/* height: 208px;
		width: 208px; */
	}
}

.collection__main-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.collection__main h3 {
	margin-top: 20px;
	font-size: 1.5rem;
}
@media (min-width: 768px) {
	.collection__main h3 {
		font-size: 1.875rem;
	}
}
.collection__items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 24px;
}
@media (min-width: 640px) {
	.collection__items {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---------- Contact ---------- */
.contact form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.contact .row {
	display: grid;
	gap: 24px;
}
@media (min-width: 768px) {
	.contact .row {
		grid-template-columns: 1fr 1fr;
	}
}
.contact label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 8px;
}
.contact input,
.contact textarea {
	width: 100%;
	padding: 12px 16px;
	font: inherit;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 6px;
	background: #fff;
	outline: none;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.contact input:focus,
.contact textarea:focus {
	border-color: var(--brand-green-dark);
	box-shadow: 0 0 0 3px var(--brand-green-10);
}
.contact textarea {
	resize: vertical;
	min-height: 140px;
}
.contact button {
	width: 100%;
	padding: 16px;
	font-family: var(--body);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	background: var(--brand-green-dark);
	color: #fff;
	transition: background 0.2s;
}
.contact button:hover {
	background: var(--charcoal);
}

/* ---------- Clients / Circle marquee ---------- */
.clients {
	background: var(--sand);
}

.circle-marquee {
	position: relative;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.circle-marquee__track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: marquee 10s linear infinite;
}

.circle-marquee:hover .circle-marquee__track,
.circle-marquee:focus-within .circle-marquee__track {
	animation-play-state: paused;
}

.circle-marquee__item {
	flex: 0 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.circle-marquee__item img {
	height: 96px;
	width: 96px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: var(--cream);
	border: 2px solid var(--border);
	transition:
		transform 0.2s,
		border-color 0.2s;
}

.circle-marquee__item:hover img {
	transform: scale(1.08);
	border-color: var(--brand-green);
}

@media (min-width: 768px) {
	.circle-marquee__item {
		padding: 0 48px;
	}
	.circle-marquee__item img {
		height: 128px;
		width: 128px;
	}
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Footer ---------- */
.footer {
	background: var(--charcoal);
	color: var(--cream);
	padding: 64px 24px;
}
.footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	text-align: center;
}
@media (min-width: 768px) {
	.footer__inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}
.footer__logo {
	height: 48px;
	width: auto;
	object-fit: contain;
}
@media (min-width: 768px) {
	.footer__logo {
		height: 56px;
	}
}
.footer__brand p {
	margin-top: 16px;
	font-size: 0.875rem;
	color: rgba(247, 243, 234, 0.7);
	max-width: 20rem;
}
.footer nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
}
@media (min-width: 768px) {
	.footer nav ul {
		gap: 32px;
	}
}
.footer nav a {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--cream);
	transition: color 0.2s;
}
.footer nav a:hover {
	color: var(--brand-green);
}
.footer__legal {
	margin-top: 40px;
	text-align: center;
	font-size: 0.75rem;
	color: rgba(247, 243, 234, 0.5);
}
