/*
Theme Name: BXA – Boxing Authority
Theme URI: https://bxaboxing.com/
Author: BXA
Description: Custom theme for BXA – Boxing Authority. All page content is managed with Advanced Custom Fields (hero + flexible sections). Requires the free Advanced Custom Fields plugin.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: bxa
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy-950: #040a1c;
	--navy-900: #07102a;
	--navy-800: #0b1838;
	--navy-700: #122348;
	--navy-600: #1b305c;
	--navy-500: #2a4478;
	--gold: #d9a63c;
	--gold-light: #f2c766;
	--gold-dark: #b3832a;
	--ink: #0b1433;
	--text: #3d4760;
	--muted: #6b7591;
	--line: #e2e6ef;
	--bg: #f3f5fa;
	--white: #fff;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(7, 16, 42, .06), 0 8px 24px -8px rgba(7, 16, 42, .12);
	--shadow-lg: 0 24px 60px -20px rgba(4, 10, 28, .45);
	--font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1240px;
	--header-h: 84px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.kicker {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--gold); margin: 0 0 14px;
}
.kicker--line::before { content: ""; width: 36px; height: 2px; background: var(--gold); }

/* Buttons */
.btn {
	--b: var(--gold);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 4px; border: 2px solid var(--b);
	font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
	text-decoration: none; line-height: 1; cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .22s; }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--navy-950); border-color: var(--gold); box-shadow: 0 10px 30px -10px rgba(217, 166, 60, .7); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-950); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(217, 166, 60, .08); }
.btn--sm { padding: 11px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.topbar { background: var(--navy-950); color: #8f9bbd; font-size: 12.5px; letter-spacing: .04em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar__text { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { color: #c5cde2; text-decoration: none; }
.topbar__links a:hover { color: var(--gold-light); }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 16, 42, .94);
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(217, 166, 60, .18);
	transition: box-shadow .3s, background .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); background: rgba(5, 11, 30, .97); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s; }
.site-header.is-scrolled .site-header__inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: var(--navy-800); box-shadow: 0 0 0 2px rgba(217, 166, 60, .55), 0 6px 18px rgba(0, 0, 0, .4); flex-shrink: 0; transition: width .3s, height .3s; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.site-header.is-scrolled .brand__logo { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: #fff; letter-spacing: .08em; }
.brand__sub { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
	display: flex; align-items: center; gap: 6px; height: var(--header-h);
	padding: 0 13px; background: none; border: 0; cursor: pointer;
	font-family: var(--font-head); font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	color: #dfe4f2; text-decoration: none; position: relative; transition: color .2s, height .3s; white-space: nowrap;
}
.site-header.is-scrolled .nav__link { height: 70px; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 22px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-header.is-scrolled .nav__link::after { bottom: 16px; }
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link, .nav__item:focus-within > .nav__link { color: #fff; }
.nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item.has-sub > .nav__link { padding-right: 26px; }
.nav__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; padding: 0; background: none; border: 0; color: var(--gold); cursor: pointer; pointer-events: none; }
.nav__toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.nav__item:hover .nav__toggle svg { transform: rotate(180deg); }
.nav__sub {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 270px;
	background: var(--navy-900); border: 1px solid rgba(217, 166, 60, .2); border-top: 2px solid var(--gold); border-radius: 0 0 10px 10px;
	box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 6px; color: #c9d1e6; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: all .18s; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(217, 166, 60, .1); color: var(--gold-light); padding-left: 18px; }
.nav__cta-mobile { display: none; }
.header-cta { margin-left: 6px; }

.burger { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: all .25s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); background: var(--gold); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); background: var(--gold); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: -2; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(4, 10, 28, .96) 0%, rgba(4, 10, 28, .86) 38%, rgba(4, 10, 28, .45) 70%, rgba(4, 10, 28, .3) 100%),
		linear-gradient(0deg, rgba(4, 10, 28, .9) 0%, rgba(4, 10, 28, 0) 40%);
}
.hero__inner { position: relative; }
.hero__title { color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: .02em; margin: 0; }
.hero__tagline { font-family: var(--font-head); color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.hero__intro { color: #cdd5ea; }
.hero__intro p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero--front { min-height: calc(100vh - var(--header-h) - 38px); min-height: calc(100svh - var(--header-h) - 38px); display: flex; align-items: center; padding: 90px 0 120px; }
.admin-bar .hero--front { min-height: calc(100vh - var(--header-h) - 70px); }
.hero--front .hero__content { max-width: 760px; }
.hero--front .hero__title { font-size: clamp(48px, 8vw, 104px); line-height: .95; text-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.hero--front .hero__tagline { font-size: clamp(18px, 2.2vw, 26px); margin: 18px 0 26px; display: flex; align-items: center; gap: 14px; }
.hero--front .hero__intro { font-size: 18px; max-width: 640px; }
.hero__rope { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; display: grid; grid-template-rows: repeat(3, 1fr); }
.hero__rope span:nth-child(1) { background: var(--gold); }
.hero__rope span:nth-child(2) { background: var(--navy-600); }
.hero__rope span:nth-child(3) { background: var(--gold-dark); }

.hero--page { padding: 56px 0 72px; min-height: 380px; display: flex; align-items: flex-end; }
.hero--page .hero__shade { background: linear-gradient(90deg, rgba(4, 10, 28, .97) 0%, rgba(4, 10, 28, .88) 45%, rgba(4, 10, 28, .6) 100%), linear-gradient(0deg, rgba(4, 10, 28, .7), rgba(4, 10, 28, 0) 60%); }
.hero--page::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-dark) 40%, transparent); }
.hero--page .hero__content { max-width: 860px; }
.hero--page .hero__title { font-size: clamp(36px, 5.2vw, 64px); }
.hero--page .hero__tagline { font-size: 20px; margin: 12px 0 0; }
.hero--page .hero__intro { font-size: 17.5px; margin-top: 22px; max-width: 780px; }
.hero--compact { min-height: 320px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8f9bbd; margin-bottom: 42px; }
.breadcrumb a { color: #c5cde2; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb [aria-current] { color: var(--gold); }

/* ==========================================================================
   Inner page layout
   ========================================================================== */
.page-body { padding: 64px 0 96px; }
.page-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.page-body__main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.page-body__main > .section {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 40px 44px;
}
.page-body__main > .section--callout { padding: 0; overflow: hidden; border: 0; }

.section__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section__head .kicker { width: 100%; margin-bottom: 0; }
.section__num { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--gold-dark); border: 1.5px solid var(--gold); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; letter-spacing: .04em; }
.section__title { font-size: clamp(24px, 2.6vw, 32px); margin: 0; text-transform: uppercase; letter-spacing: .03em; }
.section__intro { margin-bottom: 26px; font-size: 17px; }
.section__intro:last-child { margin-bottom: 0; }
.section__note { margin-top: 24px; padding: 16px 20px; background: #fbf6ea; border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5a4a26; font-size: 15.5px; }
.section__note p:last-child { margin: 0; }

.prose > *:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--ink); }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.5; color: var(--ink); font-weight: 500; font-size: 15.5px; transition: border-color .2s, transform .2s; }
.checklist li:hover { border-color: rgba(217, 166, 60, .6); transform: translateY(-1px); }
.checklist__icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-800); color: var(--gold-light); display: grid; place-items: center; margin-top: -1px; }
.checklist__icon svg { width: 15px; height: 15px; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; }
.table thead th { background: var(--navy-800); color: #fff; text-align: left; font-family: var(--font-head); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 13.5px; padding: 16px 20px; border-bottom: 2px solid var(--gold); white-space: nowrap; }
.table td { padding: 15px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.table tbody tr:nth-child(even) { background: #f8f9fc; }
.table tbody tr:hover { background: #fdf8ec; }
.table td:first-child { font-weight: 600; color: var(--ink); }
.table--cols-2 td:first-child { width: 38%; }

/* Cards */
.bxa-cards { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bxa-card { position: relative; padding: 26px 24px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--gold); transition: transform .25s, box-shadow .25s, background .25s; }
.bxa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.bxa-card__index { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-size: 30px; font-weight: 700; color: rgba(11, 24, 56, .08); line-height: 1; }
.bxa-card__title { font-size: 19px; text-transform: uppercase; letter-spacing: .04em; margin: 0 40px 10px 0; }
.bxa-card p { font-size: 15.5px; margin: 0 0 .6em; line-height: 1.6; }
.bxa-card p:last-child { margin-bottom: 0; }
.bxa-card__list { list-style: none; padding: 0; margin: 6px 0 0; }
.bxa-card__list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.55; }
.bxa-card__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* Steps */
.bxa-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.bxa-steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), rgba(217, 166, 60, .15)); }
.bxa-step { position: relative; display: flex; gap: 22px; padding-bottom: 22px; }
.bxa-step:last-child { padding-bottom: 0; }
.bxa-step__num { position: relative; z-index: 1; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: var(--gold-light); font-family: var(--font-head); font-weight: 600; font-size: 19px; display: grid; place-items: center; box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(217, 166, 60, .5); }
.bxa-step__body { flex: 1; padding: 10px 0 20px; border-bottom: 1px dashed var(--line); }
.bxa-step:last-child .bxa-step__body { border-bottom: 0; padding-bottom: 0; }
.bxa-step__title { font-size: 19px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.bxa-step__body p { margin: 0; font-size: 15.5px; }

/* Callout */
.callout { position: relative; border-radius: var(--radius); background: radial-gradient(120% 140% at 100% 0%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-950) 100%); color: #d6ddee; overflow: hidden; display: flex; }
.callout::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); pointer-events: none; }
.callout__body { position: relative; padding: 44px 48px; border-left: 4px solid var(--gold); flex: 1; }
.callout__title { color: #fff; font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; letter-spacing: .03em; }
.callout__text { font-size: 18.5px; line-height: 1.7; color: #e3e8f5; }
.callout .section__note { background: rgba(255, 255, 255, .06); color: #e3e8f5; }
.callout__img { width: 38%; background-size: cover; background-position: center; flex-shrink: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; }
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--gold); }
.stat__label { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Link cards */
.linkcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.band .linkcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .band .linkcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .band .linkcards { grid-template-columns: 1fr; } }
.linkcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.linkcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .3s; }
.linkcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.linkcard:hover::before { transform: scaleY(1); }
.linkcard__title { font-family: var(--font-head); font-size: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.linkcard__text { font-size: 15px; line-height: 1.6; flex: 1; }
.linkcard__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-top: 6px; }
.linkcard__more svg { width: 16px; height: 16px; transition: transform .25s; }
.linkcard:hover .linkcard__more svg { transform: translateX(5px); }

/* Forms (Contact Form 7) */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-card .wpcf7-form, .form-card .wpcf7-form > div { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; max-width: none; }
.form-card :is(.wpcf7-form, .wpcf7-form > div:not(.wpcf7-response-output)):has(> p) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.form-card .wpcf7-form p { margin: 0 0 14px; }
.form-card .wpcf7-form p:has(textarea), .form-card .wpcf7-form p:has([type="submit"]), .form-card .wpcf7-form p:has(.wpcf7-submit) { grid-column: 1 / -1; }
.wpcf7-form fieldset.hidden-fields-container { display: none; }
.form-card .wpcf7-form .full, .form-card .wpcf7-form .form-step, .form-card .wpcf7-form .submit-row { grid-column: 1 / -1; }
.form-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-700); }
.form-step:first-child { margin-top: 0; }
.form-step::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-step::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.wpcf7-form small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.wpcf7-form input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed #c3cad9; border-radius: var(--radius-sm); background: #fff; font: 400 14px/1.4 var(--font-body); color: var(--text); cursor: pointer; }
.wpcf7-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 4px; background: var(--navy-800); color: #fff; font: 600 12.5px var(--font-head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.wpcf7-form input[type="file"]:hover { border-color: var(--gold); }
.wpcf7-form .consent { font-size: 14.5px; line-height: 1.55; color: var(--text); margin-bottom: 8px; }
.wpcf7-form .consent label, .wpcf7-form .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font: 400 14.5px/1.55 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--text); cursor: pointer; }
.wpcf7-form .wpcf7-list-item { margin: 0 18px 0 0; }
.wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold-dark); flex-shrink: 0; }
.wpcf7-form .submit-row { margin-top: 10px; }
.linkcard__more--btn { align-self: flex-start; padding: 11px 18px; border-radius: 4px; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--navy-950); margin-top: 12px; transition: transform .2s; }
.linkcard:hover .linkcard__more--btn { transform: translateY(-2px); }
.page-body__main .linkcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .page-body__main .linkcards { grid-template-columns: 1fr; } }
.wpcf7-form label { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.wpcf7-form br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .wpcf7-form select, .wpcf7-form textarea {
	width: 100% !important; max-width: none !important; box-sizing: border-box; padding: 13px 15px; border: 1px solid #cfd5e3; border-radius: var(--radius-sm); background: #fff;
	font: 400 15.5px/1.4 var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; text-transform: none; letter-spacing: 0;
}
.wpcf7-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23b3832a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 166, 60, .18); }
.wpcf7-form input[type="submit"], .wpcf7-submit {
	display: inline-flex; padding: 16px 34px; border: 0; border-radius: 4px; cursor: pointer;
	background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--navy-950);
	font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; transition: transform .2s, background .2s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--gold-light); transform: translateY(-2px); }
.wpcf7-spinner { vertical-align: middle; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.wpcf7 form .wpcf7-response-output { margin: 8px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; }

/* News */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--navy-800); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; background: radial-gradient(circle, var(--navy-600), var(--navy-950)); }
.post-card__placeholder img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; opacity: .9; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.post-card__title { font-size: 21px; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--gold-dark); }
.post-card__excerpt { font-size: 15px; margin: 0; }
.empty-note { padding: 22px; border: 1px dashed #c9d0e0; border-radius: var(--radius-sm); text-align: center; color: var(--muted); margin: 0; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-decoration: none; }
.pagination .current { background: var(--navy-800); color: #fff; }

/* Sidebar */
.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.admin-bar .sidebar__sticky { top: calc(var(--header-h) + 56px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card__title { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; margin: 0 -12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.35; transition: all .18s; }
.side-nav a svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0; transform: translateX(-6px); transition: all .2s; color: var(--gold-dark); }
.side-nav a:hover { background: var(--bg); color: var(--ink); }
.side-nav a:hover svg { opacity: 1; transform: none; }
.side-nav .is-current a { background: var(--navy-800); color: #fff; }
.side-nav .is-current a svg { opacity: 1; transform: none; color: var(--gold); }
.toc { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 7px 0; color: var(--text); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); color: var(--gold-dark); font-weight: 600; font-size: 13px; padding-top: 1px; }
.toc a:hover { color: var(--gold-dark); }
.side-card--cta { background: radial-gradient(120% 120% at 100% 0%, var(--navy-600), var(--navy-900) 60%); border: 0; color: #c5cde2; }
.side-card--cta .side-card__title { color: #fff; }
.side-card--cta p { font-size: 14.5px; line-height: 1.6; }
.side-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(217, 166, 60, .14); color: var(--gold-light); margin-bottom: 16px; }
.side-card__icon svg { width: 26px; height: 26px; }
.side-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold-light); text-decoration: none; font-size: 14px; font-weight: 600; }
.side-card__link svg { width: 15px; height: 15px; }

/* ==========================================================================
   Home page bands
   ========================================================================== */
.band { padding: 104px 0; position: relative; }
.band--light { background: var(--bg); }
.band--light + .band--light { padding-top: 0; }
.band--dark { background: var(--navy-900); color: #c5cde2; }
.band--dark .section__title, .band--dark .bxa-card__title, .band--dark h3 { color: #fff; }
.band--image { background: var(--navy-950) var(--band-img) center / cover no-repeat; color: #d6ddee; }
.band--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 10, 28, .95), rgba(4, 10, 28, .7)); }
.band--image > .container { position: relative; }
.band--image .section__title { color: #fff; }
.band--stats { background: var(--navy-950); padding: 0; }
.band--stats .stats { border-left: 1px solid rgba(255, 255, 255, .08); }
.band--stats .stat { border-right: 1px solid rgba(255, 255, 255, .08); padding: 46px 24px; }
.band--stats .stat__label { color: #9aa6c4; }

.section__head--center { flex-direction: column; text-align: center; gap: 0; margin-bottom: 18px; }
.section__head--center .kicker { width: auto; margin-bottom: 14px; justify-content: center; }
.band .section__title { font-size: clamp(34px, 4.4vw, 54px); }
.section__intro--center { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; font-size: 18.5px; margin-bottom: 52px; }
.band--dark .section__intro, .band--image .section__intro { color: #c5cde2; }
.band .section__head--center::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin: 22px auto 0; }

.band .checklist { max-width: 1000px; margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band .checklist li { background: #fff; padding: 18px 20px; font-size: 16px; box-shadow: var(--shadow); border-color: transparent; }
.band--dark .checklist li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); color: #e6eaf5; box-shadow: none; }
.band--dark .checklist__icon { background: var(--gold); color: var(--navy-950); }
.band--dark .bxa-card, .band--image .bxa-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); border-top-color: var(--gold); color: #c5cde2; }
.band--dark .bxa-card__index { color: rgba(255, 255, 255, .07); }
.band--dark .linkcard { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); color: #b8c2dc; }
.band--dark .linkcard__title { color: #fff; }
.band--dark .linkcard__more { color: var(--gold); }
.band .bxa-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.band .table-wrap { max-width: 1040px; margin: 0 auto; background: #fff; }

.band.section--callout { background: var(--navy-950); padding: 0; }
.band .callout { border-radius: 0; background: transparent; }
.band .callout::before { display: none; }
.band .callout__body { max-width: 980px; margin: 0 auto; padding: 112px 0; border-left: 0; text-align: center; }
.band .callout__body .kicker { justify-content: center; }
.band .callout__title { font-size: clamp(34px, 4.4vw, 56px); }
.band .callout__text { font-size: clamp(19px, 2vw, 23px); line-height: 1.65; }
.band.section--callout::before, .band.section--callout::after { content: ""; position: absolute; left: 50%; width: 2px; height: 56px; background: linear-gradient(var(--gold), transparent); transform: translateX(-50%); }
.band.section--callout::before { top: 0; }
.band.section--callout::after { bottom: 0; transform: translateX(-50%) rotate(180deg); }
.band--image.section--callout { background: linear-gradient(rgba(4, 10, 28, .82), rgba(4, 10, 28, .88)), var(--band-img) center / cover no-repeat, var(--navy-950); }
.band--image.section--callout .callout__text { color: #fff; }
.band.section--text .section__intro { margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: #8f9bbd; font-size: 15px; }
.footer-cta { background: linear-gradient(100deg, var(--navy-700), var(--navy-900)); border-top: 3px solid var(--gold); position: relative; overflow: hidden; }
.footer-cta::before { content: "BXA"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-weight: 700; font-size: 240px; line-height: 1; color: rgba(255, 255, 255, .03); pointer-events: none; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; position: relative; }
.footer-cta .kicker { margin-bottom: 8px; }
.footer-cta__title { color: #fff; font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; margin: 0; }
.footer-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.footer-main { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding-top: 72px; padding-bottom: 56px; }
.brand--footer .brand__logo { width: 64px; height: 64px; }
.footer-brand__text { margin: 22px 0 18px; line-height: 1.7; font-size: 14.5px; }
.footer-contact, .footer-social { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); }
.footer-contact a, .footer-social a { color: #c5cde2; text-decoration: none; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 30px; font-size: 13px; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 36px 28px; }
.footer-col__title { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; line-height: 1.4; }
.footer-col a { color: #8f9bbd; text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.footer-bottom__menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-bottom__menu a { color: #8f9bbd; text-decoration: none; }
.footer-bottom__menu a:hover { color: var(--gold-light); }

/* Reveal animation */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.nav__link { padding: 0 9px; font-size: 14px; letter-spacing: .07em; }
	.nav__item.has-sub > .nav__link { padding-right: 22px; }
	.nav__toggle { right: 1px; }
	.nav__link::after { left: 9px; right: 9px; }
	.header-cta { display: none; }
}
@media (max-width: 1100px) {
	.page-body__grid { grid-template-columns: 1fr; }
	.sidebar__sticky { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.side-card--toc { display: none; }
	.footer-main { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 1060px) {
	:root { --header-h: 72px; }
	.burger { display: block; }
	.header-cta { display: none; }
	.nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 99;
		background: var(--navy-950); padding: calc(var(--header-h) + 20px) 24px 32px; overflow-y: auto;
		transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg);
		display: flex; flex-direction: column; gap: 24px;
	}
	.admin-bar .nav { top: 46px; }
	.site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
	.nav.is-open { transform: none; }
	.site-header__inner { position: relative; }
	.burger { position: relative; z-index: 101; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav__link, .site-header.is-scrolled .nav__link { height: auto; padding: 16px 44px 16px 0; font-size: 17px; width: 100%; text-align: left; }
	.nav__item.has-sub > .nav__link { padding-right: 44px; }
	.nav__link::after { display: none; }
	.nav__toggle { pointer-events: auto; top: 12px; right: 0; transform: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; }
	.nav__item:hover .nav__toggle svg { transform: none; }
	.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
	.nav__sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; background: transparent; padding: 0 0 14px 14px; min-width: 0; }
	.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: none; }
	.nav__item.is-open > .nav__sub { display: block; }
	.nav__cta-mobile { display: inline-flex; align-self: flex-start; }
	body.nav-open { overflow: hidden; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 98; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.container { padding: 0 18px; }
	.topbar__text { display: none; }
	.topbar__links { margin: 0 auto; }
	.brand__logo, .site-header.is-scrolled .brand__logo { width: 46px; height: 46px; }
	.brand__name { font-size: 22px; }
	.brand__sub { font-size: 10px; letter-spacing: .24em; }
	.hero--front { padding: 64px 0 90px; min-height: 0; }
	.hero--front .hero__intro { font-size: 16.5px; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }
	.hero--page { min-height: 0; padding: 36px 0 48px; }
	.breadcrumb { margin-bottom: 26px; font-size: 12px; }
	.hero--page .hero__intro { font-size: 16px; }
	.page-body { padding: 32px 0 64px; }
	.page-body__main { gap: 20px; }
	.page-body__main > .section { padding: 26px 20px; border-radius: 12px; }
	.checklist--cols { grid-template-columns: 1fr; }
	.bxa-cards { grid-template-columns: 1fr; }
	.callout__body { padding: 30px 24px; }
	.callout__img { display: none; }
	.band { padding: 68px 0; }
	.band .callout__body { padding: 80px 0; }
	.band .checklist { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.band--stats .stat { padding: 30px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.form-card :is(.wpcf7-form, .wpcf7-form > div:not(.wpcf7-response-output)):has(> p) { grid-template-columns: 1fr; }
	.form-card { padding: 20px; }
	/* Tables become stacked cards */
	.table-wrap { border: 0; overflow: visible; }
	.table thead { display: none; }
	.table, .table tbody, .table tr, .table td { display: block; width: 100% !important; }
	.table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: #fff !important; }
	.table td { border-top: 1px solid var(--line); padding: 10px 16px; }
	.table td:first-child { border-top: 0; background: var(--navy-800); color: #fff; }
	.table td::before { content: attr(data-label); display: block; font-family: var(--font-head); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 2px; font-weight: 500; }
	.table td:first-child::before { color: var(--gold); }
	.footer-cta__actions { width: 100%; flex-direction: column; }
	.footer-cta__actions .btn { width: 100%; }
	.footer-cols { grid-template-columns: repeat(2, 1fr); }
	.footer-bottom__inner { flex-direction: column; text-align: center; }
}
