/* ==========================================================================
   BAAT Network — Design tokens
   ========================================================================== */

:root {
	/* Brand palette (source of truth — theme.json mirrors these as presets) */
	--baat-red-primary: #C1121F;
	--baat-red-deep: #991B1B;
	--baat-red-action: #DC2626;
	--baat-gold: #C9A227;
	--baat-gold-light: #E8C766;
	--baat-ink: #0D0E12;
	--baat-ink-soft: #1A1C22;
	--baat-paper: #F7F5F3;
	--baat-white: #FFFFFF;
	--baat-grey-line: #E3DFDB;
	--baat-grey-text: #5B5B60;

	/* Typography */
	--baat-font-display: 'Archivo', 'Barlow Condensed', ui-sans-serif, system-ui, -apple-system, sans-serif;
	--baat-font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

	--baat-fs-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);
	--baat-fs-base: clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem);
	--baat-fs-md: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
	--baat-fs-lg: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--baat-fs-xl: clamp(2rem, 1.6rem + 1.8vw, 3rem);
	--baat-fs-xxl: clamp(2.5rem, 1.8rem + 3.2vw, 4.5rem);

	/* Spacing scale */
	--baat-space-1: 0.25rem;
	--baat-space-2: 0.5rem;
	--baat-space-3: 1rem;
	--baat-space-4: 1.5rem;
	--baat-space-5: 2.5rem;
	--baat-space-6: 4rem;
	--baat-space-7: 6rem;

	/* Shape / elevation */
	--baat-radius-card: 12px;
	--baat-radius-pill: 999px;
	--baat-radius-hex: 16px;
	--baat-shadow-card: 0 4px 20px rgba(13, 14, 18, 0.08);
	--baat-shadow-card-hover: 0 8px 28px rgba(13, 14, 18, 0.14);

	--baat-container: 1200px;
	--baat-transition: 200ms ease;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	background: var(--baat-paper);
	color: var(--baat-ink);
	font-family: var(--baat-font-body);
	font-size: var(--baat-fs-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--baat-font-display);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 var(--baat-space-3);
	text-wrap: balance;
}

h1 { font-size: var(--baat-fs-xxl); }
h2 { font-size: var(--baat-fs-xl); }
h3 { font-size: var(--baat-fs-lg); }
h4 { font-size: var(--baat-fs-md); }

p { margin: 0 0 var(--baat-space-3); color: var(--baat-grey-text); }

a { color: var(--baat-red-primary); text-decoration-thickness: 1.5px; }
a:hover { color: var(--baat-red-action); }

ul, ol { padding-left: 1.25em; }

/* Visible, high-contrast focus ring everywhere — never remove outline without replacing it. */
:focus-visible {
	outline: 3px solid var(--baat-gold);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: -60px;
	left: var(--baat-space-3);
	z-index: 10000;
	background: var(--baat-ink);
	color: var(--baat-white);
	padding: var(--baat-space-2) var(--baat-space-3);
	border-radius: 0 0 8px 8px;
	transition: top var(--baat-transition);
}
.skip-link:focus {
	position: fixed;
	top: 0;
	width: auto;
	height: auto;
	clip: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--baat-container);
	margin-inline: auto;
	padding-inline: var(--baat-space-4);
}

@media (max-width: 767px) {
	.container { padding-inline: var(--baat-space-3); }
}

.baat-section { padding-block: var(--baat-space-6); position: relative; }
.baat-section--dark { background: var(--baat-ink); color: var(--baat-white); }
.baat-section--dark p { color: rgba(255,255,255,0.72); }
.baat-section--maroon { background: linear-gradient(135deg, var(--baat-red-deep), var(--baat-red-primary)); color: var(--baat-white); }
.baat-section--maroon p { color: rgba(255,255,255,0.85); }
.baat-section--paper { background: var(--baat-paper); }

.baat-grid { display: grid; gap: var(--baat-space-4); }
.baat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.baat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.baat-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
	.baat-grid--3, .baat-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
	.baat-grid--2, .baat-grid--3, .baat-grid--4 { grid-template-columns: 1fr; }
}

/* Faint KL skyline watermark, used inside dark/maroon sections that don't have a full photo background. */
.baat-skyline-watermark {
	position: absolute;
	inset: auto 0 0 0;
	height: 40%;
	opacity: 0.08;
	pointer-events: none;
	background: url('../img/skyline.svg') bottom center / cover no-repeat;
}

/* Full-bleed photo background with a brand-colour wash, used behind hero/feature sections. */
.baat-photo-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
}
.baat-photo-bg::after {
	content: '';
	position: absolute;
	inset: 0;
}
.baat-photo-bg--maroon::after { background: linear-gradient(135deg, rgba(153,27,27,0.92) 0%, rgba(13,14,18,0.88) 100%); }
.baat-photo-bg--dark::after { background: linear-gradient(180deg, rgba(13,14,18,0.75) 0%, rgba(13,14,18,0.94) 100%); }
.baat-photo-bg + .container { position: relative; z-index: 1; }

[data-baat-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 500ms ease, transform 500ms ease;
}
[data-baat-reveal].is-revealed { opacity: 1; transform: none; }

/* Staggered entrance for cards sitting side-by-side in a grid row. */
.baat-grid > [data-baat-reveal]:nth-child(1) { transition-delay: 0ms; }
.baat-grid > [data-baat-reveal]:nth-child(2) { transition-delay: 120ms; }
.baat-grid > [data-baat-reveal]:nth-child(3) { transition-delay: 240ms; }
.baat-grid > [data-baat-reveal]:nth-child(4) { transition-delay: 360ms; }

/* ==========================================================================
   Floating decorative shapes — gentle ambient motion in hero/feature sections
   ========================================================================== */

@keyframes baat-float-a {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(30px, -45px) scale(1.12); }
}
@keyframes baat-float-b {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-38px, 32px) scale(0.9); }
}
@keyframes baat-float-c {
	0%, 100% { transform: translate(0, 0); }
	33% { transform: translate(24px, -18px); }
	66% { transform: translate(-16px, 22px); }
}
@keyframes baat-float-drift {
	0% { transform: translate(0, 0); }
	100% { transform: translate(0, -140px); opacity: 0; }
}

.baat-floating-shapes {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.baat-floating-shapes__shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
}
.baat-floating-shapes__shape--1 {
	width: 260px; height: 260px;
	top: -60px; right: 8%;
	background: radial-gradient(circle, var(--baat-gold-light) 0%, transparent 68%);
	opacity: 0.5;
	animation: baat-float-a 8s ease-in-out infinite;
}
.baat-floating-shapes__shape--2 {
	width: 170px; height: 170px;
	bottom: 8%; left: 6%;
	background: radial-gradient(circle, var(--baat-gold) 0%, transparent 68%);
	opacity: 0.45;
	animation: baat-float-b 10s ease-in-out infinite;
}
.baat-floating-shapes__shape--3 {
	width: 110px; height: 110px;
	top: 28%; left: 18%;
	background: radial-gradient(circle, #ffffff 0%, transparent 68%);
	opacity: 0.3;
	animation: baat-float-c 6.5s ease-in-out infinite;
}
.baat-floating-shapes__shape--4 {
	width: 220px; height: 220px;
	bottom: -50px; right: 16%;
	background: radial-gradient(circle, var(--baat-gold-light) 0%, transparent 68%);
	opacity: 0.4;
	animation: baat-float-b 12s ease-in-out infinite;
}

/* Small bright particles that continuously drift upward and fade, like embers. */
.baat-floating-shapes__particle {
	position: absolute;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--baat-gold-light);
	box-shadow: 0 0 8px 2px var(--baat-gold-light);
	animation: baat-float-drift linear infinite;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.baat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--baat-space-2);
	font-family: var(--baat-font-display);
	font-weight: 700;
	font-size: var(--baat-fs-sm);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--baat-radius-pill);
	padding: 0.9em 1.75em;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--baat-transition), box-shadow var(--baat-transition), background var(--baat-transition), color var(--baat-transition);
}
.baat-btn:hover { transform: translateY(-2px); }
.baat-btn:active { transform: translateY(0); }

.baat-btn--primary { background: var(--baat-red-primary); color: var(--baat-white); }
.baat-btn--primary:hover { background: var(--baat-red-deep); color: var(--baat-white); }

.baat-btn--action { background: var(--baat-red-action); color: var(--baat-white); box-shadow: 0 4px 14px rgba(220,38,38,0.35); }
.baat-btn--action:hover { background: #B91C1C; color: var(--baat-white); }

.baat-btn--gold { background: var(--baat-gold); color: var(--baat-ink); }
.baat-btn--gold:hover { background: var(--baat-gold-light); color: var(--baat-ink); }

.baat-btn--outline { background: transparent; border-color: currentColor; color: inherit; }
.baat-btn--outline:hover { background: rgba(0,0,0,0.05); color: inherit; }

.baat-btn--sm { padding: 0.6em 1.25em; font-size: 0.75rem; }
.baat-btn--block { display: flex; width: 100%; }

.baat-btn.is-disabled,
.baat-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	pointer-events: none;
}

/* ==========================================================================
   Site header / nav
   ========================================================================== */

/*
 * `position: fixed` (not sticky) is deliberate: sticky still reserves its own
 * space in normal flow, which pushes the hero section down BELOW the header
 * instead of letting the header float transparently OVER it. Fixed removes
 * it from flow entirely, so the hero can start at the true top of the page
 * with the header overlaid on top of it.
 */
.baat-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--baat-white);
	border-bottom: 1px solid var(--baat-grey-line);
	transition: background var(--baat-transition), backdrop-filter var(--baat-transition), border-color var(--baat-transition), box-shadow var(--baat-transition);
}
.baat-site-header.is-scrolled { box-shadow: var(--baat-shadow-card); }

/* WordPress's own admin bar is also `position: fixed; top:0`, only visible to
   logged-in admins — push our header below it so they don't collide when previewing. */
body.admin-bar .baat-site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .baat-site-header { top: 46px; }
}

/* Because the header no longer occupies flow space, every page WITHOUT a hero
   directly under it needs its content pushed down by the header's height —
   otherwise the page title/content renders hidden underneath the header. */
body:not(:has(main .baat-hero)) .site-main { padding-top: 72px; }

/*
 * On pages that open with a hero section (home, prenorbook) the header
 * starts fully transparent over the hero art, then gains a frosted-glass
 * background once the visitor scrolls past it. `:has()` scopes this to
 * only those pages — everywhere else (checkout, cart, generic pages) keeps
 * the plain solid header, since there's no hero behind it to read against.
 * Unsupported browsers just keep the normal solid header — safe fallback.
 */
.baat-site-header:has(+ main .baat-hero) {
	background: transparent;
	border-bottom-color: transparent;
}
.baat-site-header:has(+ main .baat-hero) .baat-site-header__nav a { color: var(--baat-white); text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
.baat-site-header:has(+ main .baat-hero) .baat-site-header__nav a:hover { color: var(--baat-gold-light); }
.baat-site-header:has(+ main .baat-hero) .baat-site-header__toggle-bar,
.baat-site-header:has(+ main .baat-hero) .baat-site-header__toggle-bar::before,
.baat-site-header:has(+ main .baat-hero) .baat-site-header__toggle-bar::after { background: var(--baat-white); }

.baat-site-header:has(+ main .baat-hero).is-scrolled {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(14px) saturate(180%);
	-webkit-backdrop-filter: blur(14px) saturate(180%);
	border-bottom-color: var(--baat-grey-line);
}
.baat-site-header:has(+ main .baat-hero).is-scrolled .baat-site-header__nav a { color: var(--baat-ink); text-shadow: none; }
.baat-site-header:has(+ main .baat-hero).is-scrolled .baat-site-header__toggle-bar,
.baat-site-header:has(+ main .baat-hero).is-scrolled .baat-site-header__toggle-bar::before,
.baat-site-header:has(+ main .baat-hero).is-scrolled .baat-site-header__toggle-bar::after { background: var(--baat-ink); }

/* The mobile dropdown panel is always a solid opaque sheet, so its links must
   always be dark/readable regardless of the transparent/glass header state above. */
.baat-site-header__menu[data-state="open"] .baat-site-header__nav a { color: var(--baat-ink) !important; text-shadow: none !important; }

.baat-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: var(--baat-space-2);
	gap: var(--baat-space-4);
}

/*
 * !important is deliberate here, not laziness: WooCommerce's own stylesheet
 * ships `.woocommerce img, .woocommerce-page img { max-width:100%; height:auto }`
 * on every WC-flagged page (cart/checkout/shop/my-account). That selector is
 * MORE specific than a bare `.baat-logo` class (class+tag beats class alone),
 * so it silently overrides our fixed logo sizing there, stretching the logo
 * to near-full-width. Bumping specificity alone doesn't help future-proof
 * against other plugins doing the same broad `img` reset, so we pin it here.
 */
.baat-logo { display: block !important; height: 40px !important; width: auto !important; max-width: none !important; }

.baat-site-header__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--baat-space-2);
}
.baat-site-header__toggle-bar,
.baat-site-header__toggle-bar::before,
.baat-site-header__toggle-bar::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--baat-ink);
	position: relative;
	transition: transform var(--baat-transition);
}
.baat-site-header__toggle-bar::before { content: ''; position: absolute; top: -7px; }
.baat-site-header__toggle-bar::after { content: ''; position: absolute; top: 7px; }

.baat-site-header__menu {
	display: flex;
	align-items: center;
	gap: var(--baat-space-4);
}

.baat-site-header__nav {
	display: flex;
	gap: var(--baat-space-4);
	list-style: none;
	margin: 0;
	padding: 0;
}
.baat-site-header__nav a {
	color: var(--baat-ink);
	font-weight: 600;
	font-size: var(--baat-fs-sm);
	text-decoration: none;
}
.baat-site-header__nav a:hover { color: var(--baat-red-primary); }

@media (max-width: 1023px) {
	.baat-site-header__toggle { display: block; }
	.baat-site-header__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		background: var(--baat-white);
		border-bottom: 1px solid var(--baat-grey-line);
		padding: var(--baat-space-4);
		gap: var(--baat-space-3);
	}
	.baat-site-header__menu[data-state="closed"] { display: none; }
	.baat-site-header__nav { flex-direction: column; gap: var(--baat-space-3); }
}

/* ==========================================================================
   Numbered section headings — gold badge on maroon
   ========================================================================== */

.baat-numbered-card {
	position: relative;
	background: var(--baat-white);
	border: 1px solid var(--baat-grey-line);
	border-radius: var(--baat-radius-card);
	padding: var(--baat-space-5) var(--baat-space-4) var(--baat-space-4);
	box-shadow: var(--baat-shadow-card);
	overflow: hidden;
	transition: box-shadow var(--baat-transition), transform var(--baat-transition);
}
.baat-numbered-card:hover { box-shadow: var(--baat-shadow-card-hover); transform: translateY(-6px); }

.baat-numbered-card__image {
	display: block;
	width: calc(100% + 2 * var(--baat-space-4));
	max-width: none; /* overrides the global `img { max-width: 100% }` reset below, which was capping this at the card's padded width and defeating the full-bleed negative margins */
	margin: calc(-1 * var(--baat-space-5)) calc(-1 * var(--baat-space-4)) var(--baat-space-3);
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 400ms ease;
}
.baat-numbered-card:hover .baat-numbered-card__image { transform: scale(1.06); }

.baat-numbered-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: 0.5em;
	border-radius: var(--baat-radius-hex);
	background: linear-gradient(135deg, var(--baat-red-deep), var(--baat-red-primary));
	color: var(--baat-gold-light);
	font-family: var(--baat-font-display);
	font-weight: 800;
	font-size: 1.1rem;
	margin-bottom: var(--baat-space-3);
}

.baat-numbered-card__title {
	font-size: var(--baat-fs-md);
	margin-bottom: var(--baat-space-2);
}

/* Diagonal gold corner flash, used on dark/maroon section headers per the media kit. */
.baat-corner-flash { position: relative; overflow: hidden; }
.baat-corner-flash::before {
	content: '';
	position: absolute;
	top: 0; right: 0;
	width: 140px; height: 140px;
	background: linear-gradient(135deg, transparent 48%, var(--baat-gold) 49%, var(--baat-gold-light) 51%, transparent 52%);
	pointer-events: none;
}

/* Rounded-hex icon container in maroon. */
.baat-hex-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: var(--baat-radius-hex);
	background: linear-gradient(135deg, var(--baat-red-deep), var(--baat-red-primary));
	color: var(--baat-white);
	flex-shrink: 0;
}
.baat-hex-icon svg { width: 1.75rem; height: 1.75rem; }

/* ==========================================================================
   Pills / badges
   ========================================================================== */

.baat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.35em 0.9em;
	border-radius: var(--baat-radius-pill);
	font-family: var(--baat-font-display);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
@keyframes baat-pulse-ring {
	0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
	70% { box-shadow: 0 0 0 9px rgba(220, 38, 38, 0); }
	100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.baat-pill--urgent { background: var(--baat-red-action); color: var(--baat-white); animation: baat-pulse-ring 2.4s ease-out infinite; }
.baat-pill--gold { background: var(--baat-gold); color: var(--baat-ink); }
.baat-pill--soldout { background: var(--baat-ink-soft); color: var(--baat-white); }

/* ==========================================================================
   Countdown
   ========================================================================== */

.baat-countdown__label {
	font-family: var(--baat-font-display);
	font-size: var(--baat-fs-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	color: inherit;
	margin-bottom: var(--baat-space-2);
	opacity: 0.85;
}

.baat-countdown__blocks {
	display: flex;
	gap: var(--baat-space-2);
	justify-content: center;
}

.baat-countdown__block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 3.5rem;
	padding: 0.6em 0.4em;
	background: linear-gradient(160deg, var(--baat-red-deep), var(--baat-ink));
	border: 1px solid var(--baat-gold);
	border-radius: 10px;
	color: var(--baat-white);
}

.baat-countdown__value {
	font-family: var(--baat-font-display);
	font-size: var(--baat-fs-lg);
	font-weight: 800;
	color: var(--baat-gold-light);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.baat-countdown__unit {
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 0.35em;
	color: rgba(255,255,255,0.7);
}

.baat-countdown--compact .baat-countdown__block { min-width: 2.75rem; padding: 0.4em 0.3em; }
.baat-countdown--compact .baat-countdown__value { font-size: var(--baat-fs-md); }

.baat-countdown--hero .baat-countdown__block { min-width: 4.5rem; padding: 0.9em 0.6em; }
.baat-countdown--hero .baat-countdown__value { font-size: var(--baat-fs-xl); }

.baat-countdown__expired-message {
	text-align: center;
	font-weight: 700;
	color: var(--baat-gold-light);
}

@media (max-width: 479px) {
	.baat-countdown__blocks { gap: var(--baat-space-1); }
	.baat-countdown__block { min-width: 2.75rem; }
}

/* ==========================================================================
   Package cards (used on LP2 — full styling wired up in Phase 2)
   ========================================================================== */

.baat-package-card {
	display: flex;
	flex-direction: column;
	background: var(--baat-white);
	border: 2px solid var(--baat-grey-line);
	border-radius: var(--baat-radius-card);
	padding: var(--baat-space-4);
	box-shadow: var(--baat-shadow-card);
}
@keyframes baat-shimmer-border {
	0%, 100% { box-shadow: 0 0 0 1px var(--baat-gold), var(--baat-shadow-card); }
	50% { box-shadow: 0 0 0 2px var(--baat-gold-light), var(--baat-shadow-card-hover); }
}
.baat-package-card--featured { border-color: var(--baat-gold); animation: baat-shimmer-border 3s ease-in-out infinite; }
.baat-package-card__price { font-family: var(--baat-font-display); font-size: var(--baat-fs-xl); color: var(--baat-red-primary); font-weight: 800; }
.baat-package-card__list { list-style: none; padding: 0; margin: var(--baat-space-3) 0; }
.baat-package-card__list li { padding-block: 0.3em; border-bottom: 1px dashed var(--baat-grey-line); font-size: var(--baat-fs-sm); }
.baat-package-card__cta { margin-top: auto; }

/* ==========================================================================
   Forms
   ========================================================================== */

.baat-form-field { margin-bottom: var(--baat-space-3); }
.baat-form-field label {
	display: block;
	font-weight: 700;
	font-size: var(--baat-fs-sm);
	margin-bottom: 0.4em;
}
.baat-form-field input,
.baat-form-field textarea,
.baat-form-field select {
	width: 100%;
	padding: 0.75em 0.9em;
	border: 1.5px solid var(--baat-grey-line);
	border-radius: 8px;
	font-family: var(--baat-font-body);
	font-size: var(--baat-fs-base);
	background: var(--baat-white);
	color: var(--baat-ink);
}
.baat-form-field input:focus,
.baat-form-field textarea:focus,
.baat-form-field select:focus { border-color: var(--baat-red-primary); }
.baat-form-field .baat-field-error { color: var(--baat-red-action); font-size: var(--baat-fs-sm); margin-top: 0.3em; }
.baat-form-field.has-error input,
.baat-form-field.has-error textarea { border-color: var(--baat-red-action); }

.baat-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.baat-form-status[role="status"],
.baat-form-status[role="alert"] {
	padding: 0.75em 1em;
	border-radius: 8px;
	margin-bottom: var(--baat-space-3);
	font-size: var(--baat-fs-sm);
}
.baat-form-status--success { background: rgba(46,125,50,0.12); color: #1B5E20; }
.baat-form-status--error { background: rgba(220,38,38,0.12); color: #991B1B; }

/* ==========================================================================
   WooCommerce checkout — advertiser fields section
   ========================================================================== */

.prenor-advertiser-fields {
	margin: var(--baat-space-4) 0;
	padding: var(--baat-space-4);
	background: var(--baat-white);
	border: 1px solid var(--baat-grey-line);
	border-radius: var(--baat-radius-card);
}
.prenor-advertiser-fields h3 {
	font-size: var(--baat-fs-md);
	margin-bottom: 0.3em;
}
.prenor-advertiser-fields__intro {
	font-size: var(--baat-fs-sm);
	margin-bottom: var(--baat-space-3);
}
.prenor-advertiser-fields .form-row { margin-bottom: var(--baat-space-3); }
.prenor-advertiser-fields label {
	display: block;
	font-weight: 700;
	font-size: var(--baat-fs-sm);
	margin-bottom: 0.4em;
}
.prenor-advertiser-fields input.input-text {
	width: 100%;
	padding: 0.75em 0.9em;
	border: 1.5px solid var(--baat-grey-line);
	border-radius: 8px;
	font-family: var(--baat-font-body);
	font-size: var(--baat-fs-base);
}
.prenor-advertiser-fields input.input-text:focus {
	border-color: var(--baat-red-primary);
	outline: none;
}

/* ==========================================================================
   Video feature section (LP1, admin-editable, hidden until a video is set)
   ========================================================================== */

.baat-video-feature {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--baat-ink);
}
.baat-video-feature__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.baat-video-feature__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13,14,18,0.55) 0%, rgba(153,27,27,0.5) 55%, rgba(13,14,18,0.8) 100%);
}
.baat-video-feature__content { position: relative; z-index: 1; text-align: center; padding-block: var(--baat-space-6); }
.baat-video-feature__text {
	color: var(--baat-white);
	font-family: var(--baat-font-display);
	font-weight: 700;
	font-size: var(--baat-fs-lg);
	max-width: 46ch;
	margin: 0 auto var(--baat-space-4);
	text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

@media (max-width: 767px) {
	/* Saves mobile bandwidth and sidesteps flaky autoplay support on some mobile browsers for large full-bleed video. */
	.baat-video-feature__video { display: none; }
	.baat-video-feature { background: linear-gradient(135deg, var(--baat-red-deep), var(--baat-ink)); }
}

/* ==========================================================================
   Footer legal
   ========================================================================== */

.baat-footer-legal {
	background: var(--baat-ink);
	color: rgba(255,255,255,0.75);
	padding-top: var(--baat-space-6);
	border-top: 3px solid;
	border-image: linear-gradient(90deg, var(--baat-red-primary), var(--baat-gold), var(--baat-red-primary)) 1;
}

.baat-footer-legal__col--brand { display: flex; flex-direction: column; }
.baat-footer-legal__logo { height: 44px !important; width: auto !important; max-width: none !important; margin-bottom: var(--baat-space-3); image-rendering: -webkit-optimize-contrast; }

.baat-footer-legal__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--baat-space-5);
	padding-bottom: var(--baat-space-5);
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.baat-footer-legal__col { border-left: 2px solid var(--baat-red-primary); padding-left: var(--baat-space-3); }
.baat-footer-legal__col-title {
	font-size: var(--baat-fs-sm);
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--baat-white);
	margin-bottom: 0.75em;
}
.baat-footer-legal__tagline { color: rgba(255,255,255,0.6); font-size: var(--baat-fs-sm); margin: 0; }
.baat-footer-legal__address,
.baat-footer-legal__contact { font-size: var(--baat-fs-sm); color: rgba(255,255,255,0.65); margin-bottom: 0.6em; }
.baat-footer-legal__contact a { color: var(--baat-gold-light); }
.baat-footer-legal__credentials-list { list-style: none; padding: 0; margin: 0; font-size: var(--baat-fs-sm); color: rgba(255,255,255,0.65); }
.baat-footer-legal__credentials-list li { margin-bottom: 0.5em; }

.baat-footer-legal__nav { padding-block: var(--baat-space-3); }
.baat-footer-legal__menu { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: var(--baat-space-4); flex-wrap: wrap; }
.baat-footer-legal__menu a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: var(--baat-fs-sm); }
.baat-footer-legal__menu a:hover { color: var(--baat-gold-light); }

.baat-footer-legal__bottom { padding-block: var(--baat-space-3); text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.baat-footer-legal__bottom p { margin: 0.2em 0; }
.baat-footer-legal__credit a { color: rgba(255,255,255,0.65); text-decoration: underline; text-underline-offset: 2px; }
.baat-footer-legal__credit a:hover { color: var(--baat-gold-light); }

.baat-footer-legal--compact .baat-footer-legal__columns { grid-template-columns: 1fr; text-align: center; }
.baat-footer-legal--compact .baat-footer-legal__col { border-left: none; padding-left: 0; }

@media (max-width: 1023px) {
	.baat-footer-legal__columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
	.baat-footer-legal__columns { grid-template-columns: 1fr; text-align: center; }
	.baat-footer-legal__col { border-left: none; border-top: 2px solid var(--baat-red-primary); padding-left: 0; padding-top: var(--baat-space-3); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.baat-hero {
	padding-block: 11rem 7rem;
	min-height: 88vh;
	display: flex;
	align-items: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.baat-hero > .container { width: 100%; }
.baat-hero__eyebrow {
	display: inline-block;
	font-family: var(--baat-font-display);
	font-size: var(--baat-fs-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--baat-gold-light);
	margin-bottom: var(--baat-space-3);
}
.baat-hero__title { font-size: var(--baat-fs-xxl); max-width: 34ch; margin-inline: auto; }
@media (max-width: 479px) {
	.baat-hero__title { font-size: clamp(2rem, 1.6rem + 3vw, 2.75rem); max-width: 22ch; }
}
.baat-hero__title em { font-style: normal; color: var(--baat-gold-light); }
.baat-hero--light .baat-hero__title em { color: var(--baat-red-primary); }
.baat-hero__subtitle { font-size: var(--baat-fs-md); max-width: 60ch; margin: var(--baat-space-3) auto; }
.baat-hero--dark .baat-hero__subtitle,
.baat-hero--maroon .baat-hero__subtitle { color: rgba(255,255,255,0.8); }
.baat-hero__actions { display: flex; gap: var(--baat-space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--baat-space-4); }
.baat-hero__media { margin-top: var(--baat-space-5); max-width: 360px; margin-inline: auto; }
@keyframes baat-media-float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-14px) rotate(1deg); }
}
.baat-hero__media--float img { animation: baat-media-float 5s ease-in-out infinite; }
.baat-hero__media img { border-radius: var(--baat-radius-card); box-shadow: var(--baat-shadow-card-hover); }

@media (max-width: 639px) {
	.baat-hero { padding-block: var(--baat-space-6) var(--baat-space-5); min-height: auto; }
	.baat-hero__actions { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   LP2 — urgency bar, book specs, benefits, distribution, timeline, FAQ
   ========================================================================== */

.baat-urgency-bar {
	position: sticky;
	top: 0;
	z-index: 200;
	background: linear-gradient(135deg, var(--baat-red-deep), var(--baat-ink));
	color: var(--baat-white);
	padding-block: var(--baat-space-3);
	border-bottom: 2px solid var(--baat-gold);
}
.baat-urgency-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--baat-space-3);
	text-align: center;
}
.baat-urgency-bar__text {
	font-family: var(--baat-font-display);
	font-weight: 700;
	font-size: var(--baat-fs-sm);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0;
}

.baat-spec-strip {
	display: flex;
	flex-wrap: wrap;
	gap: var(--baat-space-4);
	justify-content: center;
	text-align: center;
	list-style: none;
	padding: 0;
	margin: var(--baat-space-4) 0 0;
	font-size: var(--baat-fs-sm);
	color: var(--baat-white);
}
.baat-spec-strip li { position: relative; padding-inline: var(--baat-space-3); }
.baat-spec-strip li + li::before { content: '•'; position: absolute; left: -0.2em; color: var(--baat-gold); }

.baat-dimension-diagram {
	max-width: 220px;
	margin: var(--baat-space-4) auto 0;
	padding: var(--baat-space-3);
	border: 1px dashed var(--baat-gold);
	border-radius: 8px;
	text-align: center;
	color: var(--baat-white);
	font-size: 0.75rem;
}
.baat-dimension-diagram__box {
	aspect-ratio: 183 / 251;
	width: 90px;
	margin: 0.5em auto;
	border: 2px solid var(--baat-gold-light);
	border-radius: 4px;
}

.baat-benefit-block { display: flex; gap: var(--baat-space-3); align-items: flex-start; }
.baat-benefit-block__title { font-size: var(--baat-fs-md); margin-bottom: 0.3em; }

.baat-stat { text-align: center; }
.baat-stat__icon { margin-inline: auto var(--baat-space-2); margin-bottom: var(--baat-space-2); }
.baat-stat__value { font-family: var(--baat-font-display); font-size: var(--baat-fs-lg); font-weight: 800; color: var(--baat-red-primary); margin: 0; }
.baat-stat__label { font-size: var(--baat-fs-sm); margin: 0; }
.baat-section--dark .baat-stat__value,
.baat-section--maroon .baat-stat__value { color: var(--baat-gold-light); }
.baat-section--dark .baat-stat__label,
.baat-section--maroon .baat-stat__label { color: rgba(255,255,255,0.7); }

.baat-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--baat-space-3); }
.baat-timeline__item { border-left: 3px solid var(--baat-gold); padding-left: var(--baat-space-3); }
.baat-timeline__date { font-family: var(--baat-font-display); font-weight: 800; color: var(--baat-red-primary); }
@media (max-width: 767px) { .baat-timeline { grid-template-columns: 1fr; } }

.baat-faq { max-width: 800px; margin-inline: auto; }
.baat-faq__item {
	border-bottom: 1px solid var(--baat-grey-line);
	padding-block: var(--baat-space-3);
}
.baat-faq__item summary {
	cursor: pointer;
	font-weight: 700;
	font-family: var(--baat-font-display);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--baat-space-3);
}
.baat-faq__item summary::-webkit-details-marker { display: none; }
.baat-faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--baat-red-primary); flex-shrink: 0; }
.baat-faq__item[open] summary::after { content: '\2212'; }
.baat-faq__item p { margin-top: var(--baat-space-2); }

.baat-payment-terms {
	background: var(--baat-white);
	border: 1px solid var(--baat-grey-line);
	border-radius: var(--baat-radius-card);
	padding: var(--baat-space-4);
}
.baat-payment-terms__notice { font-size: var(--baat-fs-sm); border-top: 1px dashed var(--baat-grey-line); padding-top: var(--baat-space-3); margin-top: var(--baat-space-3); }

.baat-sticky-cta {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 200;
	background: var(--baat-white);
	border-top: 1px solid var(--baat-grey-line);
	box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
	padding: var(--baat-space-2) var(--baat-space-3);
	display: none;
}
@media (max-width: 1023px) {
	.baat-sticky-cta { display: block; }
	body { padding-bottom: 76px; }
}

/* ==========================================================================
   LP3 — teaser
   ========================================================================== */

.baat-teaser {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--baat-ink);
	color: var(--baat-white);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.baat-teaser__inner { max-width: 640px; padding: var(--baat-space-4); position: relative; z-index: 1; }
.baat-teaser__logo { height: 56px !important; width: auto !important; max-width: none !important; margin-inline: auto var(--baat-space-4); }
.baat-teaser__eyebrow { color: var(--baat-red-action); font-family: var(--baat-font-display); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.baat-teaser__powered { color: rgba(255,255,255,0.5); font-size: var(--baat-fs-sm); margin-bottom: var(--baat-space-4); }
.baat-teaser__title { font-size: var(--baat-fs-xl); margin-bottom: var(--baat-space-3); }
.baat-teaser__body { color: rgba(255,255,255,0.7); }
.baat-teaser__countdown { margin: var(--baat-space-5) 0; padding: var(--baat-space-4); border: 1px solid var(--baat-gold); border-radius: 12px; background: rgba(193,18,31,0.12); }
.baat-teaser__form { display: flex; gap: var(--baat-space-2); max-width: 420px; margin: var(--baat-space-4) auto; flex-wrap: wrap; }
.baat-teaser__form input { flex: 1; min-width: 200px; padding: 0.85em 1em; border-radius: var(--baat-radius-pill); border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--baat-white); }
.baat-teaser__form input::placeholder { color: rgba(255,255,255,0.5); }
.baat-teaser__secondary { font-size: var(--baat-fs-sm); color: rgba(255,255,255,0.6); }
.baat-teaser__secondary a { color: var(--baat-gold-light); font-weight: 700; }

/* ==========================================================================
   Generic content (index.php fallback)
   ========================================================================== */

.baat-generic-content { padding-block: var(--baat-space-6); max-width: 760px; }
.baat-generic-content__title { margin-bottom: var(--baat-space-3); }
