/* ============================================================
   ACE Hoops — shared page styles
   Loaded after style.css. Provides the dark, gold-accented
   components used across the homepage, team pages, sponsorship
   pages, league hub, and registration forms.
   ============================================================ */

:root {
	--ace-bg:        #1a1f26;   /* page dark background  */
	--ace-bg-2:      #21272f;   /* raised dark surface   */
	--ace-bg-3:      #29303a;   /* card on dark          */
	--ace-line:      rgba(255,255,255,.10);
	--ace-text:      #ffffff;
	--ace-text-soft: #c7ccd3;
	--ace-text-mute: #8b929c;
	--ace-gold:      #d0992e;
	--ace-gold-2:    #e6b659;
}

/* ---------- Reveal animations (paired with ace.js) ---------- */
.reveal,
.reveal-left,
.reveal-right {
	opacity: 0;
	transition: opacity .6s ease, transform .6s ease;
	will-change: opacity, transform;
}
.reveal        { transform: translateY(28px); }
.reveal-left   { transform: translateX(-40px); }
.reveal-right  { transform: translateX(40px); }
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ---------- Dark section scaffold ---------- */
.ace-dark {
	background: var(--ace-bg);
	color: var(--ace-text-soft);
}
.ace-dark h1, .ace-dark h2, .ace-dark h3, .ace-dark h4 { color: var(--ace-text); }
.ace-section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.ace-section--alt { background: var(--ace-bg-2); }
.ace-eyebrow {
	display: inline-block;
	color: var(--ace-gold);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-bottom: .85rem;
}
.ace-section-title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: var(--ace-text);
	margin-bottom: 1rem;
}
.ace-lead {
	font-size: 1.1rem;
	color: var(--ace-text-soft);
	max-width: 640px;
	line-height: 1.7;
}
.ace-section .ace-lead { margin-inline: auto; }
.ace-center { text-align: center; }

/* ---------- Gold text + buttons ---------- */
.ace-gold { color: var(--ace-gold) !important; }
.btn-gold {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	background: linear-gradient(135deg, var(--ace-gold), var(--ace-gold-2));
	color: #1a1f26;
	font-family: var(--font-display);
	font-weight: 700;
	padding: .85rem 1.9rem;
	border: none; border-radius: 10px;
	box-shadow: 0 8px 24px rgba(208,153,46,.32);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
	text-decoration: none;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(208,153,46,.45); color: #1a1f26; }
.btn-ghost {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	background: transparent; color: var(--ace-text);
	border: 2px solid rgba(255,255,255,.28);
	font-family: var(--font-display); font-weight: 700;
	padding: calc(.85rem - 2px) calc(1.9rem - 2px); border-radius: 10px;
	cursor: pointer; transition: border-color .2s ease, background .2s ease; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--ace-gold); background: rgba(208,153,46,.12); color: #fff; }

/* ---------- Video hero (homepage + team pages) ---------- */
.ace-hero {
	position: relative;
	min-height: min(86vh, 880px); /* cap so it isn't huge on tall/4K screens */
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	background: var(--ace-bg);
}
.ace-hero__media {
	position: absolute; inset: 0; z-index: 0;
}
.ace-hero__media video,
.ace-hero__media img {
	width: 100%; height: 100%; object-fit: cover;
}
.ace-hero__media::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,24,30,.55) 0%, rgba(20,24,30,.78) 60%, rgba(20,24,30,.95) 100%);
}
.ace-hero__inner { position: relative; z-index: 1; width: 100%; }
.ace-hero__title {
	font-size: clamp(2.6rem, 7vw, 5rem);
	line-height: 1.02;
	color: #fff;
	margin-bottom: 1.1rem;
	text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.ace-hero__title .ace-gold { display: block; }
.ace-hero__subtitle {
	font-size: clamp(1.05rem, 2.2vw, 1.4rem);
	color: var(--ace-text-soft);
	max-width: 620px;
	margin-bottom: 2rem;
}
.ace-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- ACE pillars (Attitude / Confidence / Effort) ----------
   Premium card treatment: gradient surface, fine border, soft depth,
   gold-glow icon tile, top accent line, smooth hover lift. */
.ace-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.75rem;
}
.ace-pillar {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 40%),
		linear-gradient(180deg, #232a35 0%, #181d25 100%);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 22px;
	padding: 2.6rem 2rem;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 18px 40px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
/* top gold accent line */
.ace-pillar::before {
	content: '';
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 64px; height: 3px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, var(--ace-gold), var(--ace-gold-2));
}
/* soft radial glow from the top */
.ace-pillar::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(120% 70% at 50% -10%, rgba(208,153,46,.12), transparent 60%);
}
.ace-pillar:hover {
	transform: translateY(-6px);
	border-color: rgba(208,153,46,.45);
	box-shadow: 0 34px 60px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(208,153,46,.22);
}
/* letter as a glowing icon tile */
.ace-pillar__letter {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px; height: 80px;
	margin: 0 auto 1.1rem;
	border-radius: 20px;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 2.5rem;
	line-height: 1;
	background:
		radial-gradient(130% 130% at 30% 20%, rgba(208,153,46,.26), rgba(208,153,46,.04));
	border: 1px solid rgba(208,153,46,.4);
	box-shadow: 0 10px 26px -8px rgba(208,153,46,.5), inset 0 1px 0 rgba(255,255,255,.08);
	/* gold gradient text */
	color: var(--ace-gold);
	text-shadow: 0 2px 14px rgba(208,153,46,.35);
}
.ace-pillar__word {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -.01em;
	color: #fff;
	margin-bottom: .55rem;
}
.ace-pillar__desc {
	font-size: .96rem;
	line-height: 1.6;
	color: var(--ace-text-mute);
	margin: 0;
}

/* ---------- Stat bar ---------- */
.ace-statbar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	background: var(--ace-bg-3);
	border: 1px solid var(--ace-line);
	border-radius: 16px;
	padding: 1.75rem;
}
.ace-stat { text-align: center; }
.ace-stat__num {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2.4rem;
	color: var(--ace-gold);
	line-height: 1;
}
.ace-stat__label {
	font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ace-text-mute); margin-top: .4rem;
}

/* ---------- Generic dark card grid (pillars / focus areas / values) ---------- */
.ace-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}
.ace-card {
	background: var(--ace-bg-3);
	border: 1px solid var(--ace-line);
	border-radius: 16px;
	padding: 1.85rem;
	transition: transform .25s ease, border-color .25s ease;
}
.ace-card:hover { transform: translateY(-4px); border-color: rgba(208,153,46,.5); }
.ace-card__icon { font-size: 2rem; margin-bottom: .9rem; }
.ace-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .55rem; }
.ace-card p { color: var(--ace-text-mute); font-size: .95rem; margin: 0; }

/* ---------- Countdown ---------- */
.ace-countdown { display: inline-flex; gap: 1rem; }
.ace-countdown__unit {
	min-width: 64px; text-align: center;
	background: var(--ace-bg-3); border: 1px solid var(--ace-line);
	border-radius: 12px; padding: .65rem .4rem;
}
.ace-countdown__num {
	font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--ace-gold); line-height: 1;
}
.ace-countdown__label { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ace-text-mute); margin-top: .35rem; }

/* ---------- League hub tabs ---------- */
.ace-tabs {
	display: flex; flex-wrap: wrap; gap: .5rem;
	border-bottom: 1px solid var(--ace-line);
	margin-bottom: 2rem;
}
.ace-tab {
	background: none; border: none;
	color: var(--ace-text-mute);
	font-family: var(--font-display); font-weight: 700; font-size: .95rem;
	padding: .75rem 1.1rem; cursor: pointer;
	border-bottom: 3px solid transparent; margin-bottom: -1px;
	transition: color .2s ease, border-color .2s ease;
}
.ace-tab:hover { color: #fff; }
.ace-tab.is-active { color: var(--ace-gold); border-bottom-color: var(--ace-gold); }
[data-panel] { animation: ace-fade .4s ease; }
[data-panel][hidden] { display: none; }
@keyframes ace-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Data tables (standings / schedule / stats) ---------- */
.ace-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--ace-line); }
.ace-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--ace-bg-3); }
.ace-table th, .ace-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--ace-line); color: var(--ace-text-soft); }
.ace-table th { font-family: var(--font-display); color: var(--ace-text-mute); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.ace-table tr:last-child td { border-bottom: none; }
.ace-table tbody tr:hover td { background: rgba(208,153,46,.06); }

/* ---------- Sponsor tiers ---------- */
.ace-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.ace-tier {
	position: relative; background: var(--ace-bg-3); border: 1px solid var(--ace-line);
	border-radius: 18px; padding: 2rem 1.75rem; text-align: center;
}
.ace-tier--featured { border-color: var(--ace-gold); box-shadow: 0 0 0 1px var(--ace-gold), 0 16px 40px rgba(208,153,46,.18); }
.ace-tier__badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--ace-gold); color: #1a1f26; font-family: var(--font-display); font-weight: 700;
	font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 100px;
}
.ace-tier__name { font-family: var(--font-display); color: #fff; font-size: 1.3rem; margin-bottom: .35rem; }
.ace-tier__price { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--ace-gold); line-height: 1; margin-bottom: 1rem; }
.ace-tier__list { text-align: left; display: flex; flex-direction: column; gap: .6rem; margin: 0 0 1.5rem; }
.ace-tier__list li { color: var(--ace-text-soft); font-size: .92rem; display: flex; gap: .5rem; }
.ace-tier__list li::before { content: '✓'; color: var(--ace-gold); font-weight: 700; }

/* ---------- Registration / form shell on dark ---------- */
.ace-formwrap { max-width: 760px; margin-inline: auto; }
.ace-formcard {
	background: var(--ace-bg-3); border: 1px solid var(--ace-line);
	border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem);
}
.ace-formcard label { display: block; font-weight: 600; color: var(--ace-text); margin-bottom: .4rem; font-size: .92rem; }
.ace-formcard .req { color: var(--ace-gold); }
.ace-formcard input,
.ace-formcard select,
.ace-formcard textarea {
	width: 100%; padding: .8rem 1rem; font-size: 1rem;
	background: var(--ace-bg); color: #fff;
	border: 1.5px solid var(--ace-line); border-radius: 10px;
	margin-bottom: 1.1rem;
}
.ace-formcard input:focus,
.ace-formcard select:focus,
.ace-formcard textarea:focus {
	outline: none; border-color: var(--ace-gold); box-shadow: 0 0 0 3px rgba(208,153,46,.18);
}
.ace-formcard .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 0 1rem; }
.ace-form-success { background: rgba(40,167,69,.12); border: 1px solid rgba(40,167,69,.4); color: #7ee29a; border-radius: 12px; padding: 1.25rem 1.5rem; }
.ace-form-error   { background: rgba(244,67,54,.12); border: 1px solid rgba(244,67,54,.4); color: #ff9a90; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.ace-honey { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Notice / callout on dark ---------- */
.ace-callout {
	background: rgba(208,153,46,.1); border: 1px solid rgba(208,153,46,.35);
	border-left: 4px solid var(--ace-gold); border-radius: 12px;
	padding: 1.1rem 1.4rem; color: var(--ace-text-soft);
}
.ace-callout strong { color: #fff; }

/* ---------- Photo gallery ---------- */
.ace-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; }
.ace-gallery img { border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ---------- Schedule / tournament cards ---------- */
.ace-event-card {
	background: var(--ace-bg-3); border: 1px solid var(--ace-line); border-radius: 14px;
	padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .35rem;
}
.ace-event-card h4 { color: #fff; margin: 0; font-size: 1.1rem; }
.ace-event-card .meta { color: var(--ace-text-mute); font-size: .9rem; }

/* ---------- Utility ---------- */
.ace-loading { color: var(--ace-text-mute); text-align: center; padding: 2rem; font-style: italic; }
.ace-grid-2 { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .ace-grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ============================================================
   BLACK FOOTER (gold accents)
   ============================================================ */
.site-footer {
	background: #0c0e11;
	color: rgba(255,255,255,.70);
}
.site-footer .footer-top { border-bottom-color: rgba(255,255,255,.08); }
.site-footer .site-title-text,
.site-footer .site-title-text span,
.site-footer .footer-col-title {
	color: #ffffff;
}
.site-footer .footer-desc,
.site-footer .footer-nav ul li a,
.site-footer .footer-copyright,
.site-footer .footer-powered {
	color: rgba(255,255,255,.62);
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer .footer-nav ul li a:hover,
.site-footer .footer-powered a:hover { color: var(--ace-gold); }
.site-footer .footer-powered a { color: var(--ace-gold); text-decoration: none; }
/* "Register Now" button in the footer — gold outline on black */
.site-footer .btn-outline {
	color: var(--ace-gold);
	border-color: var(--ace-gold);
}
.site-footer .btn-outline:hover {
	background: var(--ace-gold);
	color: #0c0e11;
	border-color: var(--ace-gold);
}

/* Three columns: About · Teams/Sponsorships · Quick Links. */
@media (min-width: 900px) {
	.site-footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ============================================================
   NAV DROPDOWNS — reliable open
   ============================================================ */
/* Invisible bridge across the 8px gap so the submenu doesn't vanish
   when the cursor moves from the parent down to the submenu. */
.main-navigation ul li.menu-item-has-children > ul::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 12px;
}
/* Click/tap-toggled state (set by ace.js). */
.main-navigation ul li.submenu-open > ul {
	display: flex;
}
/* On desktop, give the dropdown a clear gold-accented top edge. */
@media (min-width: 768px) {
	.main-navigation ul ul {
		border-top: 2px solid var(--ace-gold);
	}
}

/* ============================================================
   PROFESSIONAL TOP NAV
   Clean text links with a gold underline indicator — no boxes.
   ============================================================ */
@media (min-width: 768px) {
	.main-navigation > ul { gap: 0.4rem; }

	.main-navigation > ul > li > a {
		font-family: var(--font-display);
		font-weight: 600;
		font-size: 0.9rem;
		letter-spacing: 0.01em;
		color: rgba(255,255,255,.80);
		background: none !important;
		border-radius: 0;
		padding: 0.4rem 0.55rem;
		border-bottom: 2px solid transparent;
		transition: color .2s ease, border-color .2s ease;
	}
	.main-navigation > ul > li > a:hover,
	.main-navigation > ul > li > a:focus,
	.main-navigation > ul > li.current-menu-item > a,
	.main-navigation > ul > li.current_page_item > a {
		color: #fff;
		background: none !important;
		border-bottom-color: var(--ace-gold);
	}

	/* Cleaner dropdown caret */
	.main-navigation ul li.menu-item-has-children > a::after {
		content: '';
		display: inline-block;
		width: 6px; height: 6px;
		margin-left: 6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		opacity: .7;
	}

	/* Submenu items: subtle gold tint, gold-accented panel */
	.main-navigation ul ul li a {
		color: rgba(255,255,255,.85);
		font-weight: 600;
	}
	.main-navigation ul ul li a:hover,
	.main-navigation ul ul li a:focus {
		background: rgba(208,153,46,.14) !important;
		color: var(--ace-gold);
	}
}

/* ============================================================
   PREMIUM POLISH PASS (agency-grade depth, motion, type)
   ============================================================ */

/* Smoother global type rendering */
body { text-rendering: optimizeLegibility; }

/* --- Cinematic hero --- */
.ace-hero { min-height: 92vh; }
.ace-hero__media img,
.ace-hero__media video {
	animation: ace-kenburns 24s ease-in-out infinite alternate;
	will-change: transform;
}
@keyframes ace-kenburns {
	from { transform: scale(1.06); }
	to   { transform: scale(1.18); }
}
.ace-hero__media::after {
	background:
		radial-gradient(115% 90% at 78% 12%, rgba(208,153,46,.12), transparent 55%),
		linear-gradient(180deg, rgba(13,15,19,.42) 0%, rgba(13,15,19,.80) 60%, rgba(13,15,19,.97) 100%);
}
.ace-hero__title { line-height: .98; letter-spacing: -.025em; }
@media (max-width: 640px) {
	.ace-hero { min-height: 86vh; }
}
@media (prefers-reduced-motion: reduce) {
	.ace-hero__media img, .ace-hero__media video { animation: none; }
}

/* --- Unified premium cards (matches the ACE pillars) --- */
.ace-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,0) 42%),
		linear-gradient(180deg, #232a35 0%, #181d25 100%);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 18px;
	box-shadow: 0 16px 36px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.ace-card:hover {
	transform: translateY(-5px);
	border-color: rgba(208,153,46,.45);
	box-shadow: 0 30px 54px -28px rgba(0,0,0,.82), 0 0 0 1px rgba(208,153,46,.2);
}
.ace-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 14px;
	background: radial-gradient(130% 130% at 30% 20%, rgba(208,153,46,.22), rgba(208,153,46,.05));
	border: 1px solid rgba(208,153,46,.32);
	margin-bottom: 1.1rem;
}

/* --- Stat bars & tiers: same surface language --- */
.ace-statbar,
.ace-tier,
.ace-event-card,
.ace-formcard {
	background:
		linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 45%),
		linear-gradient(180deg, #232a35 0%, #181d25 100%);
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.ace-stat__num { text-shadow: 0 2px 16px rgba(208,153,46,.28); }
.ace-event-card { transition: transform .3s ease, border-color .3s ease; }
.ace-event-card:hover { transform: translateY(-3px); border-color: rgba(208,153,46,.4); }

/* --- Buttons: refined depth --- */
.btn-gold { letter-spacing: .015em; box-shadow: 0 10px 26px -8px rgba(208,153,46,.5); }
.btn-gold:hover { box-shadow: 0 18px 38px -10px rgba(208,153,46,.62); }
.btn-ghost { backdrop-filter: blur(2px); }

/* --- Sections: crisper headings, generous rhythm --- */
.ace-section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.ace-section-title { letter-spacing: -.025em; }
.ace-section-title::after {
	content: '';
	display: block;
	width: 54px; height: 3px;
	margin: 1rem auto 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--ace-gold), var(--ace-gold-2));
}
/* left-align the accent line when the title isn't centered */
.ace-grid-2 .ace-section-title::after,
.ace-section:not(.ace-center) > .container:not(.ace-center) > .ace-section-title::after { margin-left: 0; }

/* hairline divider between stacked dark sections */
.ace-section + .ace-section { border-top: 1px solid rgba(255,255,255,.05); }

/* --- Data tables: premium --- */
.ace-table thead th { background: rgba(255,255,255,.02); }
.ace-table tbody tr { transition: background .2s ease; }

/* --- Auto scroll-reveal (paired with initAutoReveal in ace.js) --- */
.ace-ar {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
	will-change: opacity, transform;
}
.ace-ar.is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.ace-ar { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   BOLD SPORTY DIRECTION — homepage flagship
   ============================================================ */
/* Dark page bg so slanted section edges reveal dark (not white). */
body.front-page { background: var(--ace-bg); }

/* --- Oversized kinetic hero --- */
.ace-hero--bold .ace-hero__title {
	text-transform: uppercase;
	font-weight: 900;
	font-size: clamp(3rem, 9.5vw, 7.5rem);
	line-height: .9;
	letter-spacing: -.035em;
}
.ace-hero--bold .ace-eyebrow { letter-spacing: .26em; }
.ace-hero--bold .ace-hero__subtitle { max-width: 640px; }
/* slanted bottom edge (homepage only — needs the dark page bg behind it) */
body.front-page .ace-hero--bold { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }

/* Carry bold hero typography + kinetic entrance to EVERY page hero. */
.ace-hero__title { text-transform: uppercase; font-weight: 900; letter-spacing: -.03em; }
.ace-hero .ace-eyebrow        { animation: ace-rise .7s .10s both; }
.ace-hero .ace-hero__title    { animation: ace-rise .85s .22s both; }
.ace-hero .ace-hero__subtitle { animation: ace-rise .85s .42s both; }
.ace-hero .ace-hero__actions  { animation: ace-rise .85s .56s both; }
@media (prefers-reduced-motion: reduce) {
	.ace-hero .ace-eyebrow,
	.ace-hero .ace-hero__title,
	.ace-hero .ace-hero__subtitle,
	.ace-hero .ace-hero__actions { animation: none; }
}

/* kinetic load-in */
.ace-hero--bold .ace-eyebrow        { animation: ace-rise .7s .10s both; }
.ace-hero--bold .ace-hero__title    { animation: ace-rise .85s .22s both; }
.ace-hero--bold .ace-hero__subtitle { animation: ace-rise .85s .42s both; }
.ace-hero--bold .ace-hero__actions  { animation: ace-rise .85s .56s both; }
@keyframes ace-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.ace-hero--bold .ace-eyebrow,
	.ace-hero--bold .ace-hero__title,
	.ace-hero--bold .ace-hero__subtitle,
	.ace-hero--bold .ace-hero__actions { animation: none; }
}

/* --- Oversized stats --- */
body.front-page .ace-stat__num { font-size: clamp(2.6rem, 5vw, 3.6rem); }

/* --- Diagonal section edges (homepage) --- */
body.front-page .ace-section--alt {
	clip-path: polygon(0 2.5vw, 100% 0, 100% 100%, 0 100%);
	margin-top: -2vw;
	padding-top: calc(clamp(3.5rem, 8vw, 6rem) + 2.5vw);
}

/* --- Bold stats strip --- */
.ace-statstrip {
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	border-block: 1px solid rgba(255,255,255,.07);
}
.ace-statstrip__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem 1rem;
}
.ace-statstrip__item { text-align: center; }
.ace-statstrip__num {
	display: block;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(2.8rem, 6vw, 4.6rem);
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--ace-gold);
	text-shadow: 0 2px 22px rgba(208,153,46,.30);
}
.ace-statstrip__label {
	display: block;
	margin-top: .55rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ace-text-mute);
}

/* --- Scrolling marquee --- */
.ace-marquee {
	position: relative;
	z-index: 3; /* stays above adjacent diagonal sections */
	background: var(--ace-bg);
	border-block: 1px solid rgba(208,153,46,.22);
	overflow: hidden;
	padding-block: 1.4rem;
	white-space: nowrap;
	/* fade the ticker out at both edges */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.ace-marquee__track {
	display: inline-flex;
	animation: ace-marquee 48s linear infinite;
}
.ace-marquee__track span {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: rgba(255,255,255,.55); /* white/grey by default */
	transition: color .3s ease;
}
/* hover: pause the scroll + brighten to full gold */
.ace-marquee:hover .ace-marquee__track { animation-play-state: paused; }
.ace-marquee:hover .ace-marquee__track span { color: var(--ace-gold); }
@keyframes ace-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.ace-marquee__track { animation: none; }
}

/* --- Ghosted section numbers (bold editorial) --- */
.ace-section { position: relative; }
.ace-section > .container { position: relative; z-index: 1; }
.ace-secnum {
	position: absolute;
	top: clamp(.5rem, 3vw, 2rem);
	right: 3%;
	z-index: 0;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(6rem, 17vw, 15rem);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(208,153,46,.16);
	text-stroke: 1.5px rgba(208,153,46,.16);
	pointer-events: none;
	user-select: none;
}
@media (max-width: 640px) {
	.ace-secnum { font-size: 7rem; opacity: .7; top: .25rem; right: 4%; }
}

/* --- Hero parallax (subtle; media oversized so no edge gaps) --- */
.ace-hero__media.has-parallax {
	top: -25%;
	bottom: auto;
	height: 150%;
	will-change: transform;
}

/* ============================================================
   BLOG SHOWCASE (homepage section 02)
   ============================================================ */
.ace-blog { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ace-blog { grid-template-columns: 1.6fr 1fr; align-items: start; } }

.ace-blog__feature {
	display: flex; flex-direction: column;
	background: linear-gradient(180deg,#232a35 0%,#181d25 100%);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 20px; overflow: hidden; text-decoration: none;
	box-shadow: 0 18px 40px -24px rgba(0,0,0,.7);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.ace-blog__feature:hover { transform: translateY(-5px); border-color: rgba(208,153,46,.45); box-shadow: 0 34px 60px -28px rgba(0,0,0,.82); }
.ace-blog__media {
	position: relative; aspect-ratio: 16/9;
	background: linear-gradient(135deg,#2a3340,#1a1f26);
	background-size: cover; background-position: center;
}
.ace-blog__media::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(13,15,19,.55)); }
.ace-blog__badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 1;
	background: var(--ace-gold); color:#1a1f26; font-family:var(--font-display); font-weight:700;
	font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; padding:.3rem .7rem; border-radius:100px;
}
.ace-blog__body { padding: 1.6rem 1.75rem 1.85rem; }
.ace-blog__meta { font-family:var(--font-display); font-weight:700; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ace-gold); }
.ace-blog__title { font-family:var(--font-display); font-weight:800; font-size: clamp(1.3rem,2.4vw,1.9rem); color:#fff; margin:.5rem 0 .6rem; line-height:1.15; letter-spacing:-.01em; }
.ace-blog__excerpt { color: var(--ace-text-mute); font-size:.98rem; line-height:1.6; margin:0 0 1rem; }
.ace-blog__more { font-family:var(--font-display); font-weight:700; color: var(--ace-gold); font-size:.95rem; }

.ace-blog__list { display: flex; flex-direction: column; gap: 1rem; }
.ace-blog__item {
	display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center;
	background: linear-gradient(180deg,#232a35 0%,#181d25 100%);
	border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: .7rem; text-decoration: none;
	transition: transform .25s ease, border-color .25s ease;
}
.ace-blog__item:hover { transform: translateY(-3px); border-color: rgba(208,153,46,.45); }
.ace-blog__thumb { width:96px; height:74px; border-radius:10px; background: linear-gradient(135deg,#2a3340,#1a1f26); background-size:cover; background-position:center; flex-shrink:0; }
.ace-blog__item-title { font-family:var(--font-display); font-weight:700; color:#fff; font-size:1rem; margin:.3rem 0 0; line-height:1.25; }
.ace-blog__all { margin-top:.25rem; font-family:var(--font-display); font-weight:700; color:var(--ace-gold); font-size:.95rem; text-decoration:none; align-self:flex-start; }
.ace-blog__all:hover { color: var(--ace-gold-2); }

/* ============================================================
   BLOG SHOWCASE v2 — cinematic editorial
   ============================================================ */
.ace-blog2 { display: flex; flex-direction: column; gap: 1.75rem; }

/* Category pill */
.ace-blog2__cat {
	display: inline-block;
	font-family: var(--font-display); font-weight: 700;
	font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
	color: #1a1f26; background: linear-gradient(135deg, var(--ace-gold), var(--ace-gold-2));
	padding: .34rem .8rem; border-radius: 100px;
}
.ace-blog2__meta {
	display: block; font-family: var(--font-display);
	font-size: .82rem; letter-spacing: .03em; color: var(--ace-text-mute); margin-top: .55rem;
}

/* Featured cinematic hero */
.ace-blog2__hero {
	position: relative; display: block; text-decoration: none;
	min-height: clamp(360px, 46vw, 520px);
	border-radius: 24px; overflow: hidden;
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 26px 56px -30px rgba(0,0,0,.8);
}
.ace-blog2__hero-bg {
	position: absolute; inset: 0;
	background: linear-gradient(135deg,#2a3340,#1a1f26);
	background-size: cover; background-position: center;
	transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.ace-blog2__hero:hover .ace-blog2__hero-bg { transform: scale(1.05); }
.ace-blog2__hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(10,12,16,.94) 0%, rgba(10,12,16,.55) 42%, rgba(10,12,16,.05) 78%);
}
.ace-blog2__hero-overlay {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	padding: clamp(1.75rem, 4vw, 3rem); max-width: 780px;
}
.ace-blog2__hero-title {
	font-family: var(--font-display); font-weight: 800;
	font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.06; letter-spacing: -.02em;
	color: #fff; margin: .75rem 0 .65rem; text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.ace-blog2__hero-excerpt {
	color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.6;
	max-width: 580px; margin: 0 0 .85rem;
}
.ace-blog2__more {
	font-family: var(--font-display); font-weight: 700; color: var(--ace-gold);
	font-size: .9rem; letter-spacing: .03em;
}

/* Recent stories row */
.ace-blog2__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ace-blog2__grid { grid-template-columns: repeat(3, 1fr); } }
.ace-blog2__card {
	display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
	background: linear-gradient(180deg, #232a35 0%, #181d25 100%);
	border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
	transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.ace-blog2__card:hover {
	transform: translateY(-6px); border-color: rgba(208,153,46,.5);
	box-shadow: 0 30px 56px -30px rgba(0,0,0,.8);
}
.ace-blog2__card-media {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg,#2a3340,#1a1f26);
	background-size: cover; background-position: center;
	transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.ace-blog2__card:hover .ace-blog2__card-media { transform: scale(1.05); }
.ace-blog2__card-body { padding: 1.3rem 1.45rem 1.6rem; }
.ace-blog2__card-title {
	font-family: var(--font-display); font-weight: 700; color: #fff;
	font-size: 1.14rem; line-height: 1.28; letter-spacing: -.01em; margin: .75rem 0 0;
}

/* ============================================================
   BLOG BENTO MOSAIC — asymmetric editorial grid
   ============================================================ */
.ace-bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 820px) {
	.ace-bento {
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 215px;
		grid-template-areas:
			"feat feat b"
			"feat feat c"
			"d    d    c";
	}
	.ace-bento__feat { grid-area: feat; }
	.ace-bento__b    { grid-area: b; }
	.ace-bento__c    { grid-area: c; }
	.ace-bento__d    { grid-area: d; }
}

.ace-bento__cell {
	position: relative; display: block; overflow: hidden;
	min-height: 260px; border-radius: 18px; text-decoration: none;
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 18px 40px -26px rgba(0,0,0,.75);
	transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
@media (min-width: 820px) { .ace-bento__cell { min-height: 0; } }
.ace-bento__cell:hover {
	border-color: rgba(208,153,46,.55);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.85);
}
.ace-bento__bg {
	position: absolute; inset: 0;
	background: linear-gradient(135deg,#2a3340,#1a1f26);
	background-size: cover; background-position: center;
	transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ace-bento__cell:hover .ace-bento__bg { transform: scale(1.07); }
.ace-bento__cell::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(10,12,16,.92) 0%, rgba(10,12,16,.42) 48%, rgba(10,12,16,0) 80%);
	transition: background .4s ease;
}
.ace-bento__cell:hover::after {
	background: linear-gradient(0deg, rgba(10,12,16,.93) 0%, rgba(208,153,46,.16) 58%, rgba(10,12,16,.04) 88%);
}
.ace-bento__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem; }
.ace-bento__feat .ace-bento__content { padding: clamp(1.6rem, 3vw, 2.6rem); }
.ace-bento__title {
	font-family: var(--font-display); font-weight: 800; color: #fff;
	font-size: 1.15rem; line-height: 1.18; letter-spacing: -.01em;
	margin: .6rem 0 0; text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.ace-bento__title.is-feat { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.ace-bento__excerpt { color: rgba(255,255,255,.82); font-size: 1.02rem; line-height: 1.55; max-width: 540px; margin: .6rem 0 0; }
.ace-bento__meta { display: block; margin-top: .55rem; font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .04em; color: var(--ace-gold); }
/* non-featured cells hide the date/read-more to stay clean */
.ace-bento__cell:not(.ace-bento__feat) .ace-bento__meta { color: rgba(255,255,255,.55); font-weight: 600; }


/* ============================================================
   SOCIAL ICONS (footer + sticky rail)
   ============================================================ */
.ace-social { display: inline-flex; gap: .6rem; }
.ace-social__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(208,153,46,.45);
	color: var(--ace-gold);
	background: rgba(208,153,46,.06);
	transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ace-social__btn svg { width: 20px; height: 20px; display: block; }
.ace-social__btn:hover {
	transform: scale(1.16);
	color: var(--ace-gold);
	border-color: var(--ace-gold);
	background: rgba(208,153,46,.12);
	box-shadow: 0 0 0 1px rgba(208,153,46,.4), 0 0 22px rgba(208,153,46,.55), 0 8px 26px -6px rgba(208,153,46,.5);
}

/* Footer social */
.footer-social { margin-top: 1.5rem; }
.footer-social__label {
	display: block; margin-bottom: .65rem;
	font-family: var(--font-display); font-weight: 700; font-size: .7rem;
	letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* Sticky vertical "Follow" rail (desktop) */
.ace-social-rail {
	position: fixed;
	left: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
	display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.ace-social-rail .ace-social { flex-direction: column; gap: .55rem; }
.ace-social-rail .ace-social__btn { width: 40px; height: 40px; background: rgba(13,15,19,.55); backdrop-filter: blur(4px); }
.ace-social-rail .ace-social__btn svg { width: 17px; height: 17px; }
.ace-social-rail__label {
	writing-mode: vertical-rl;
	font-family: var(--font-display); font-weight: 700; font-size: .66rem;
	letter-spacing: .22em; text-transform: uppercase; color: var(--ace-text-mute);
}
.ace-social-rail__line { width: 1px; height: 38px; background: linear-gradient(var(--ace-gold), transparent); }
@media (max-width: 1180px) { .ace-social-rail { display: none; } }

/* ============================================================
   ACE BLACKS DOCUMENTARY
   ============================================================ */
.ace-doc__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 920px) { .ace-doc__grid { grid-template-columns: 1.5fr 1fr; align-items: center; } }

/* Responsive 16:9 video */
.ace-doc__embed {
	position: relative; padding-top: 56.25%;
	border-radius: 18px; overflow: hidden;
	border: 1px solid rgba(255,255,255,.1);
	box-shadow: 0 26px 56px -30px rgba(0,0,0,.85);
}
.ace-doc__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Placeholder when no video URL is set yet */
.ace-doc__placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
	aspect-ratio: 16 / 9; border-radius: 18px; text-decoration: none;
	background: linear-gradient(135deg, #232a35, #14181e);
	border: 1px solid rgba(255,255,255,.1);
	color: #fff; font-family: var(--font-display); font-weight: 700;
	transition: border-color .3s ease;
}
.ace-doc__placeholder:hover { border-color: var(--ace-gold); }
.ace-doc__play {
	display: flex; align-items: center; justify-content: center;
	width: 76px; height: 76px; border-radius: 50%;
	background: linear-gradient(135deg, var(--ace-gold), var(--ace-gold-2));
	color: #14171c; font-size: 1.8rem; padding-left: 5px;
	box-shadow: 0 0 30px rgba(208,153,46,.5);
}
.ace-doc__placeholder-text { color: var(--ace-text-soft); letter-spacing: .04em; }

.ace-doc__info p { color: var(--ace-text-soft); }
.ace-doc__list {
	list-style: none; padding: 0; margin: 1.25rem 0;
	display: grid; gap: .55rem;
}
.ace-doc__list li {
	position: relative; padding-left: 1.6rem; color: var(--ace-text-soft); font-size: .98rem;
}
.ace-doc__list li::before { content: '🏀'; position: absolute; left: 0; }
.ace-doc__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0 1rem; }
.ace-doc__credit { color: var(--ace-text-mute); font-size: .9rem; margin: 0; }

/* ============================================================
   DOCUMENTARY — NETFLIX-STYLE
   ============================================================ */
.ace-nf-billboard {
	position: relative; border-radius: 22px; overflow: hidden;
	min-height: clamp(340px, 46vw, 520px);
	background-size: cover; background-position: center 22%; background-repeat: no-repeat;
	display: flex; align-items: flex-end;
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 26px 56px -30px rgba(0,0,0,.85);
}
.ace-nf-billboard::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(10,12,16,.94) 0%, rgba(10,12,16,.6) 40%, rgba(10,12,16,.08) 78%),
		linear-gradient(0deg, rgba(10,12,16,.85), transparent 58%);
}
.ace-nf-billboard__inner { position: relative; z-index: 1; padding: clamp(1.75rem, 4vw, 3rem); max-width: 660px; }
.ace-nf-pill { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ace-gold); margin-bottom: .6rem; }
.ace-nf-billboard__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; letter-spacing: -.02em; margin: 0 0 .6rem; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.ace-nf-billboard__desc { color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.6; max-width: 520px; margin: 0 0 1.5rem; }
.ace-nf-billboard__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.ace-nf-playicon { font-size: .8em; }

.ace-nf-rowhead { display: flex; align-items: center; justify-content: space-between; margin: 2.5rem 0 1.15rem; }
.ace-nf-rowtitle { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.3rem; margin: 0; display: flex; align-items: center; gap: .6rem; }
.ace-nf-rowcount { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--ace-gold); background: rgba(208,153,46,.14); border: 1px solid rgba(208,153,46,.32); border-radius: 999px; padding: .12rem .55rem; line-height: 1.4; }
.ace-nf-rowlink { font-family: var(--font-display); font-weight: 700; color: var(--ace-gold); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.ace-nf-rowlink:hover { color: var(--ace-gold-2); }

.ace-nf-grid {
	display: grid; gap: 1.1rem;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (min-width: 1000px) { .ace-nf-grid { grid-template-columns: repeat(3, 1fr); } }

.ace-nf-card {
	position: relative;
	aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; cursor: pointer; padding: 0;
	border: 1px solid rgba(255,255,255,.08);
	background-color: #1a1f26; background-size: cover; background-position: center; background-repeat: no-repeat;
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.ace-nf-card:hover { transform: translateY(-4px) scale(1.02); z-index: 2; border-color: var(--ace-gold); box-shadow: 0 22px 46px -18px rgba(0,0,0,.85); }
.ace-nf-card__num {
	position: absolute; left: .55rem; bottom: -.55rem; z-index: 2;
	font-family: var(--font-display); font-weight: 900; font-size: 4.6rem; line-height: 1;
	color: rgba(10,12,16,.5);
	-webkit-text-stroke: 2px rgba(208,153,46,.9); text-stroke: 2px rgba(208,153,46,.9);
	text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.ace-nf-card__overlay {
	position: absolute; inset: 0; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
	background: linear-gradient(0deg, rgba(10,12,16,.9), rgba(10,12,16,.25));
	opacity: 0; transition: opacity .3s ease; text-align: center; padding: 1rem;
}
.ace-nf-card:hover .ace-nf-card__overlay { opacity: 1; }
.ace-nf-card__badge { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ace-gold); }
.ace-nf-card__play {
	width: 54px; height: 54px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--ace-gold), var(--ace-gold-2)); color: #14171c;
	font-size: 1.25rem; padding-left: 4px; box-shadow: 0 0 24px rgba(208,153,46,.55);
	transition: transform .25s ease;
}
.ace-nf-card:hover .ace-nf-card__play { transform: scale(1.08); }
.ace-nf-card__title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; }

/* "More episodes / subscribe" tile */
.ace-nf-card--more {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
	text-align: center; text-decoration: none; padding: 1.5rem;
	background:
		radial-gradient(120% 100% at 50% 0%, rgba(208,153,46,.12), transparent 70%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px),
		#13171d;
	border: 1px dashed rgba(208,153,46,.4);
}
.ace-nf-card--more:hover { transform: translateY(-4px) scale(1.02); border-color: var(--ace-gold); border-style: solid; box-shadow: 0 22px 46px -18px rgba(0,0,0,.85); }
.ace-nf-more__icon { width: 42px; height: 42px; color: var(--ace-gold); display: flex; }
.ace-nf-more__icon svg { width: 100%; height: 100%; }
.ace-nf-more__title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.02rem; line-height: 1.25; }
.ace-nf-more__cta { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--ace-gold); letter-spacing: .02em; }
.ace-nf-card--more:hover .ace-nf-more__cta { color: var(--ace-gold-2); }

/* Credit strip */
.ace-nf-credit {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .9rem;
	margin: 2.5rem auto 0; padding: .8rem 1.4rem; width: fit-content; max-width: 100%;
	background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 999px;
}
.ace-nf-credit__mark { font-size: 1.05rem; line-height: 1; }
.ace-nf-credit__text { color: rgba(255,255,255,.72); font-size: .92rem; }
.ace-nf-credit__text strong { color: #fff; font-weight: 700; }
.ace-nf-credit__btn {
	display: inline-flex; align-items: center; gap: .45rem;
	font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-decoration: none;
	color: #14171c; background: linear-gradient(135deg, var(--ace-gold), var(--ace-gold-2));
	padding: .42rem .95rem; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease;
}
.ace-nf-credit__btn svg { width: 16px; height: 16px; }
.ace-nf-credit__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(208,153,46,.7); }

/* Modal player */
.ace-nf-modal {
	position: fixed; inset: 0; z-index: 2000;
	display: flex; align-items: center; justify-content: center; padding: 1.5rem;
	background: rgba(8,10,13,.92); backdrop-filter: blur(6px);
}
.ace-nf-modal[hidden] { display: none; }
.ace-nf-modal__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000; }
.ace-nf-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ace-nf-modal__close {
	position: absolute; top: 1.1rem; right: 1.3rem; z-index: 2;
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
	background: rgba(0,0,0,.45); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s;
}
.ace-nf-modal__close:hover { background: var(--ace-gold); color: #14171c; border-color: var(--ace-gold); }

/* Academy value cards — image icons (replaces emoji) */
.ace-card__icon--img { font-size: 0; line-height: 0; margin-bottom: .9rem; }
.ace-card__icon--img img { width: 78px; height: 78px; object-fit: contain; display: inline-block; }

/* ---- Nav dropdown group labels (Girls/Boys) + coming-soon items ---- */
.main-navigation .ace-menu-group > a {
	pointer-events: none; cursor: default;
	font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ace-gold, #d0992e);
	padding-top: .7rem; padding-bottom: .25rem;
}
.main-navigation .ace-menu-group { margin-top: .3rem; border-top: 1px solid rgba(255,255,255,.07); }
.main-navigation ul ul > li.ace-menu-group:first-child { margin-top: 0; border-top: 0; }
.main-navigation .ace-menu-soon > a {
	pointer-events: none; cursor: default;
	color: var(--ace-text-mute, #8b929c); font-style: italic;
}

/* ============================================================
   TEAM PAGE — tournament schedule, roster, video frame
   ============================================================ */
.ace-tourney-grid {
	display: grid; gap: 1.1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	max-width: 1180px; margin: 0 auto;
}
.ace-tourney-card {
	position: relative; background: var(--ace-bg-3, #29303a); border: 1px solid var(--ace-line, rgba(255,255,255,.1));
	border-radius: 16px; padding: 1.4rem 1.3rem 1.5rem; text-align: center;
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ace-tourney-card:hover { transform: translateY(-5px); border-color: rgba(208,153,46,.45); box-shadow: 0 22px 46px -24px rgba(0,0,0,.8); }
.ace-tourney-card.is-home { border-color: var(--ace-gold, #d0992e); box-shadow: 0 0 0 1px rgba(208,153,46,.4); }
.ace-tourney-card__num {
	position: absolute; top: .7rem; left: .9rem; font-family: var(--font-display); font-weight: 900;
	font-size: 1.1rem; color: rgba(208,153,46,.55); line-height: 1;
}
.ace-tourney-card__logo { height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.ace-tourney-card__logo img { max-height: 72px; max-width: 130px; width: auto; object-fit: contain; }
.ace-tourney-card__date { font-family: var(--font-display); font-weight: 800; color: var(--ace-gold, #d0992e); font-size: .92rem; }
.ace-tourney-card__name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; margin: .3rem 0 .35rem; }
.ace-tourney-card__loc { font-size: .85rem; color: var(--ace-text-mute, #8b929c); }
.ace-tourney-card.is-home::after { content: 'HOME'; position: absolute; top: .7rem; right: .9rem; font-family: var(--font-display); font-weight: 800; font-size: .6rem; letter-spacing: .12em; color: #14171c; background: var(--ace-gold, #d0992e); padding: .15rem .45rem; border-radius: 999px; }

.ace-roster-grid {
	display: grid; gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	max-width: 1100px; margin: 0 auto;
}
.ace-roster-card {
	background: linear-gradient(180deg, #232a35, #181d25); border: 1px solid var(--ace-line, rgba(255,255,255,.1));
	border-radius: 16px; padding: 1.6rem 1rem 1.4rem; text-align: center;
	transition: transform .3s ease, border-color .3s ease;
}
.ace-roster-card:hover { transform: translateY(-4px); border-color: rgba(208,153,46,.45); }
.ace-roster-card__num {
	font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1;
	color: var(--ace-gold, #d0992e); margin-bottom: .5rem;
}
.ace-roster-card__name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; }
.ace-roster-card__pos { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ace-text-mute, #8b929c); margin-top: .2rem; }

.ace-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--ace-line, rgba(255,255,255,.1)); box-shadow: 0 26px 56px -30px rgba(0,0,0,.85); }
.ace-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Title-sponsor "Presented by" badge at the top of a team hero */
.ace-hero__sponsor { margin-bottom: 1.15rem; }
.ace-hero__sponsor .ace-sp-presented { margin-top: 0; }

/* ============================================================
   PLAYER CARDS + bio popup (team pages)
   ============================================================ */
.ace-players-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); max-width: 1180px; margin: 0 auto; }
.ace-player-card { position: relative; border: 0; padding: 0; width: 100%; text-align: left; border-radius: 16px; overflow: hidden; background: #1a1f26; border: 1px solid var(--ace-line, rgba(255,255,255,.1)); cursor: pointer; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
button.ace-player-card { font: inherit; color: inherit; }
.ace-player-card:hover { transform: translateY(-5px); border-color: rgba(208,153,46,.5); box-shadow: 0 22px 46px -24px rgba(0,0,0,.8); }
.ace-player-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; display: block; }
.ace-player-card__info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .75rem; padding: 1.4rem 1rem .9rem; background: linear-gradient(0deg, rgba(18,22,28,.95) 12%, rgba(18,22,28,.55) 55%, transparent); }
.ace-player-card__num { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--ace-gold, #d0992e); line-height: 1; }
.ace-player-card__name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.02rem; }
.ace-player-card__tag { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ace-text-mute, #8b929c); margin-top: 2px; }
.ace-player-card__view { position: absolute; top: .7rem; right: .7rem; font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #14171c; background: var(--ace-gold, #d0992e); padding: .25rem .55rem; border-radius: 999px; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
.ace-player-card:hover .ace-player-card__view { opacity: 1; transform: none; }

/* Bio modal */
.ace-player-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(8,10,13,.9); backdrop-filter: blur(6px); }
.ace-player-modal[hidden] { display: none; }
.ace-player-modal__card { position: relative; width: min(760px, 100%); max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.2fr; background: #161b22; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.85); }
.ace-player-modal__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: top center; }
.ace-player-modal__body { padding: 2rem; }
.ace-player-modal__num { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--ace-gold, #d0992e); }
.ace-player-modal__name { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; color: #fff; margin: .1rem 0 .2rem; }
.ace-player-modal__pos { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ace-text-mute, #8b929c); margin-bottom: 1.2rem; }
.ace-player-modal__bio { color: var(--ace-text-soft, #c7ccd3); line-height: 1.7; }
.ace-player-modal__close { position: absolute; top: .8rem; right: .9rem; z-index: 2; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); color: #fff; font-size: 1.5rem; line-height: 1; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ace-player-modal__close:hover { background: var(--ace-gold, #d0992e); color: #14171c; border-color: var(--ace-gold, #d0992e); }
@media (max-width: 640px) { .ace-player-modal__card { grid-template-columns: 1fr; } .ace-player-modal__img { max-height: 300px; } }

/* Livestream video grid (2-up) */
.ace-video-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; max-width: 1000px; margin: 0 auto; }
@media (min-width: 760px) { .ace-video-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   STORIES / BLOG cards (team page)
   ============================================================ */
.ace-stories-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 1180px; margin: 0 auto; }
.ace-stories-samplenote { text-align: center; font-size: .78rem; font-style: italic; color: rgba(233,236,241,.45); margin: 0 0 1.8rem; }
.ace-story-card { display: flex; flex-direction: column; background: #1a1f26; border: 1px solid var(--ace-line, rgba(255,255,255,.1)); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
a.ace-story-card:hover { transform: translateY(-5px); border-color: rgba(208,153,46,.5); box-shadow: 0 22px 46px -24px rgba(0,0,0,.8); }
.ace-story-card__thumb { display: block; aspect-ratio: 16 / 9; background: #12161c; overflow: hidden; }
.ace-story-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ace-story-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ace-gold, #d0992e); background: radial-gradient(120% 100% at 50% 0%, rgba(208,153,46,.14), transparent 70%), linear-gradient(180deg, #1c222b, #14181f); }
.ace-story-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ace-story-card__date { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ace-text-mute, #8b929c); margin-bottom: .5rem; }
.ace-story-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.25; color: #fff; margin-bottom: .55rem; }
.ace-story-card__excerpt { font-size: .92rem; line-height: 1.55; color: var(--ace-text-soft, #c7ccd3); flex: 1; }
.ace-story-card__more { margin-top: .9rem; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--ace-gold, #d0992e); }
a.ace-story-card:hover .ace-story-card__more { color: var(--ace-gold-2, #e6b659); }

/* Story card: category badge + larger, section-like cards */
.ace-stories-grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.ace-story-card__thumb { position: relative; }
.ace-story-card__cat { position: absolute; top: .75rem; left: .75rem; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #14171c; background: var(--ace-gold, #d0992e); padding: .28rem .62rem; border-radius: 999px; }

/* Stories: own background (so it doesn't blend with player profiles) + show
   the top of portrait/team photos so heads aren't cropped. */
#stories { background: #11151b; }
.ace-story-card__thumb img { object-position: top center; }

/* ============================================================
   THE CROWN INVITATIONAL — tournament page
   ============================================================ */
.ace-crown-logo { display: block; max-height: 230px; width: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
@media (max-width: 640px) { .ace-crown-logo { max-height: 160px; } }
.ace-gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 1180px; margin: 0 auto; }
.ace-gallery-grid__item { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--ace-line, rgba(255,255,255,.1)); }
.ace-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .4s ease; }
.ace-gallery-grid__item:hover img { transform: scale(1.05); }

/* Crown: committed-teams marquee (greyscale → colour on hover) */
.crown-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.crown-marquee__track { display: flex; gap: 1rem; width: max-content; animation: crown-marq 45s linear infinite; }
.crown-marquee:hover .crown-marquee__track { animation-play-state: paused; }
@keyframes crown-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.crown-team { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .7rem; background: #fff; border-radius: 14px; padding: .8rem 1.2rem; filter: grayscale(1); opacity: .58; transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
.crown-team:hover { filter: none; opacity: 1; transform: translateY(-3px); }
.crown-team__mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: #fff; background: var(--brand, #d0992e); }
.crown-team__name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #14171c; white-space: nowrap; }

/* Crown: cost strip + livestream empty state */
.crown-cost { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 760px; margin: 0 auto 1.2rem; }
.crown-cost__item { flex: 1 1 180px; background: var(--ace-bg-3, #29303a); border: 1px solid var(--ace-line, rgba(255,255,255,.1)); border-radius: 14px; padding: 1.2rem; text-align: center; }
.crown-cost__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; color: var(--ace-gold, #d0992e); line-height: 1; }
.crown-cost__label { display: block; font-size: .8rem; color: var(--ace-text-mute, #8b929c); margin-top: .5rem; }
.crown-cost__pay { color: var(--ace-text-soft, #c7ccd3); max-width: 640px; margin: 0 auto 2rem; }
.crown-stream-empty { max-width: 620px; margin: 0 auto; text-align: center; padding: 2.6rem 1.5rem; border: 1px dashed rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.02); }
.crown-stream-empty__icon { font-size: 2.2rem; display: block; margin-bottom: .8rem; }
.crown-stream-empty p { color: var(--ace-text-mute, #8b929c); margin: 0; }

@media (prefers-reduced-motion: reduce) {
	.crown-marquee__track { animation: none; justify-content: center; margin: 0 auto; }
	.crown-team { filter: none; opacity: 1; }
}

/* Crown: brand colour scheme — hot-pink primary accent (matches the logo) */
#pg-crown { --crown-pink: #e6157a; --crown-pink-2: #f0468f; }
/* all accent text (eyebrows + section-title & hero highlights) -> pink */
#pg-crown .ace-eyebrow { color: var(--crown-pink); }
/* hero eyebrow: bigger + readable over the action photo */
#pg-crown .ace-hero__inner .ace-eyebrow { color: #fff; font-size: .9rem; font-weight: 800; background: var(--crown-pink); display: inline-block; padding: .4rem .85rem; border-radius: 999px; text-shadow: none; box-shadow: 0 6px 18px rgba(230,21,122,.4); }
#pg-crown .ace-gold { color: var(--crown-pink) !important; }
/* section-title underline bar -> pink */
#pg-crown .ace-section-title::after { background: linear-gradient(90deg, var(--crown-pink), var(--crown-pink-2)); }
/* cost figures -> pink */
#pg-crown .crown-cost__num { color: var(--crown-pink); }
/* buttons -> pink (gold gradient overridden) */
#pg-crown .btn-gold { background: linear-gradient(135deg, var(--crown-pink), var(--crown-pink-2)); color: #fff; box-shadow: 0 8px 24px rgba(230,21,122,.34); }
#pg-crown .btn-gold:hover { color: #fff; box-shadow: 0 12px 30px rgba(230,21,122,.5); }
#pg-crown .btn-ghost:hover { border-color: var(--crown-pink); background: rgba(230,21,122,.12); }
/* registration form submit + focus -> pink */
#pg-crown .ace-sp-submit { background: linear-gradient(135deg, var(--crown-pink), var(--crown-pink-2)); }
#pg-crown .ace-sp-field input:focus,
#pg-crown .ace-sp-field select:focus,
#pg-crown .ace-sp-field textarea:focus { border-color: var(--crown-pink); box-shadow: 0 0 0 3px rgba(230,21,122,.18); }
/* gallery "coming soon" blank placeholders */
#pg-crown .ace-gallery-grid__item.is-blank { position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #262430 0%, #1b1820 100%); border: 1px dashed rgba(230,21,122,.4); }
#pg-crown .crown-ph__icon { font-size: 2.2rem; opacity: .45; filter: grayscale(1); }
#pg-crown .crown-soon { position: absolute; top: 16px; left: -44px; transform: rotate(-45deg); background: linear-gradient(135deg, var(--crown-pink), var(--crown-pink-2)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; padding: .4rem 3.4rem; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
#pg-crown .ace-card__icon--img { width: auto; height: auto; background: none; border: 0; border-radius: 0; }
#pg-crown .ace-card__icon--img img { width: 92px; height: 92px; }
#pg-crown .ace-hero__media::after { background: linear-gradient(180deg, rgba(20,12,20,.55) 0%, rgba(20,12,20,.8) 60%, rgba(20,12,20,.96) 100%); }
#pg-crown .ace-tourney-card.is-home,
#pg-crown .crown-cost__item { border-color: rgba(230,21,122,.4); }

/* ===== ACE News opt-in (glass card inside the gold CTA band) ===== */
.cta-news { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(2.2rem, 4.5vw, 3.4rem); text-align: center; background: var(--ace-bg, #1a1f26); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; box-shadow: 0 30px 64px -26px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); }
.cta-news__eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.32); padding: .34rem .85rem; border-radius: 999px; }
.cta-news__title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.1; margin: .8rem 0 .35rem; }
.cta-news__sub { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.5; margin: 0 auto 1.3rem; max-width: 42ch; }
.cta-news__form { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.cta-news__input { flex: 1 1 180px; min-width: 0; padding: .85rem 1.05rem; background: rgba(255,255,255,.97); border: 1px solid rgba(0,0,0,.14); border-radius: 12px; color: #14171c; font-size: 1rem; transition: box-shadow .2s ease, border-color .2s ease; }
.cta-news__input::placeholder { color: #8a8f98; }
.cta-news__input:focus { outline: none; border-color: #14171c; box-shadow: 0 0 0 3px rgba(0,0,0,.22); }
.cta-news__btn { flex: 0 0 auto; padding: .85rem 1.7rem; background: linear-gradient(135deg, var(--ace-gold), var(--ace-gold-2)); color: #1a1206; border: 0; border-radius: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.cta-news__btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 26px rgba(208,153,46,.45); }
.cta-news__msg { margin: 1.1rem 0 0; padding: .75rem 1rem; border-radius: 11px; font-size: .92rem; font-weight: 700; }
.cta-news__msg.is-ok { color: #0a3d23; background: rgba(150,242,190,.95); }
.cta-news__msg.is-err { color: #5a1111; background: rgba(255,190,190,.96); }
@media (max-width: 560px) { .cta-news__form { flex-direction: column; } .cta-news__btn { width: 100%; } }

/* "Our Purpose" story copy — brighter & more legible than default soft grey */
.ace-purpose p { color: #e4e8ee; font-size: 1.02rem; line-height: 1.72; margin-bottom: 1rem; }
.ace-purpose p:last-child { margin-bottom: 0; }

/* Turnstile widget sits full-width inside the inline ACE News form */
.cta-news__form .cf-turnstile { flex: 1 1 100%; display: flex; justify-content: center; margin: .2rem 0 .2rem; }

/* ===== Contact page ===== */
.ace-contact { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 920px) { .ace-contact { grid-template-columns: 1fr 1.05fr; } }
.ace-contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 1.6rem 0 1.8rem; }
@media (max-width: 480px) { .ace-contact__cards { grid-template-columns: 1fr; } }
.ace-contact__card { display: flex; align-items: center; gap: .85rem; padding: .95rem 1.05rem; border-radius: 14px; background: var(--ace-bg-3); border: 1px solid var(--ace-line); color: var(--ace-text); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a.ace-contact__card:hover { border-color: color-mix(in srgb, var(--ace-gold) 55%, transparent); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.7); }
.ace-contact__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; font-size: 1.15rem; color: var(--ace-gold); background: color-mix(in srgb, var(--ace-gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ace-gold) 30%, transparent); }
.ace-contact__meta { display: flex; flex-direction: column; min-width: 0; }
.ace-contact__meta strong { font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ace-text-mute); }
.ace-contact__meta span { color: var(--ace-text); font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; }
.ace-contact__social { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.3rem; border-top: 1px solid var(--ace-line); }
.ace-contact__social-label { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ace-text-mute); }
.ace-contact__links { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.ace-contact__links-label { width: 100%; font-size: .85rem; color: var(--ace-text-mute); margin-bottom: .2rem; }
.ace-contact__links a { color: var(--ace-gold); font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--ace-gold) 35%, transparent); }
.ace-contact__links a:hover { border-bottom-color: var(--ace-gold); }
.ace-formcard__select { width: 100%; padding: .8rem 1rem; margin-bottom: 1.1rem; background: var(--ace-bg); border: 1px solid var(--ace-line); border-radius: 11px; color: var(--ace-text); font-size: 1rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d0992e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.ace-formcard__select:focus { outline: none; border-color: var(--ace-gold); box-shadow: 0 0 0 3px rgba(208,153,46,.18); }
.ace-contact__map { border-radius: 18px; overflow: hidden; border: 1px solid var(--ace-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); filter: saturate(.9); }
.ace-contact__map iframe { display: block; }

/* Contact info column: keep copy left-aligned (override centered .ace-lead) */
.ace-contact__info .ace-lead { margin-inline: 0; max-width: none; }
.ace-contact__info .ace-section-title::after { margin-left: 0; }

/* ===== Spring League rosters — premium team cards ===== */
.ace-rteams { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.ace-rteam { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, color-mix(in srgb, var(--team) 9%, #1b212a) 0%, #161b22 58%); border: 1px solid var(--ace-line); border-radius: 18px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ace-rteam::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--team); }
.ace-rteam:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--team) 55%, transparent); box-shadow: 0 26px 52px -28px rgba(0,0,0,.85), 0 0 0 1px color-mix(in srgb, var(--team) 35%, transparent); }
.ace-rteam__head { display: flex; align-items: center; gap: .9rem; padding: 1.45rem 1.3rem 1.05rem; }
.ace-rteam__logo { flex: 0 0 auto; width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 13px; padding: 5px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6), 0 0 0 2px color-mix(in srgb, var(--team) 50%, transparent); }
.ace-rteam__logo img { width: 100%; height: 100%; object-fit: contain; }
.ace-rteam__name { margin: 0; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.16rem; line-height: 1.12; }
.ace-rteam__count { display: inline-block; margin-top: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--team); background: color-mix(in srgb, var(--team) 15%, transparent); border: 1px solid color-mix(in srgb, var(--team) 32%, transparent); padding: .22rem .62rem; border-radius: 999px; }
.ace-rteam__players { list-style: none; margin: 0; padding: .55rem .8rem 1.15rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; border-top: 1px solid var(--ace-line); }
@media (max-width: 380px) { .ace-rteam__players { grid-template-columns: 1fr; } }
.ace-rteam__player { display: flex; align-items: center; gap: .55rem; padding: .4rem .5rem; border-radius: 9px; transition: background .2s ease; }
.ace-rteam__player:hover { background: color-mix(in srgb, var(--team) 11%, transparent); }
.ace-rteam__avatar { flex: 0 0 auto; width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: .62rem; letter-spacing: .02em; color: var(--team); background: color-mix(in srgb, var(--team) 17%, transparent); border: 1px solid color-mix(in srgb, var(--team) 34%, transparent); }
.ace-rteam__pname { color: var(--ace-text-soft); font-size: .92rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
