/* =============================================================
   Stan Caramalac theme — main stylesheet
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
	/* User-facing palette — tweak these to retheme the whole site. */
	--bg-dark: #121212;
	--text-main: #ffffff;
	--accent-blue: #007BFF;
	--glass-bg: rgba(255, 255, 255, 0.05);
	--transition-speed: 0.3s;
	--hover-lift: -10px;
	--accent-glow: 0 10px 30px rgba(0, 123, 255, 0.3);

	/* Internal aliases (consumed by component styles below). */
	--bg: var(--bg-dark);
	--bg-2: #1a1a1a;
	--surface: rgba(255, 255, 255, 0.04);
	--surface-strong: rgba(255, 255, 255, 0.07);
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: var(--text-main);
	--text-muted: #d4d4d4;
	--text-dim: #a3a3a3;
	--text-faint: #737373;
	--accent: var(--accent-blue);
	--accent-strong: #1f8cff;
	--accent-soft: rgba(0, 123, 255, 0.18);
	--accent-ring: rgba(0, 123, 255, 0.32);
	--gold: #d4af37;
	--success-bg: rgba(16, 185, 129, 0.10);
	--success-border: rgba(16, 185, 129, 0.30);
	--success-text: #a7f3d0;
	--error-bg: rgba(244, 63, 94, 0.10);
	--error-border: rgba(244, 63, 94, 0.30);
	--error-text: #fecdd3;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--radius-full: 9999px;
	--shadow-sky: var(--accent-glow);
	--max: 1152px;
	--max-narrow: 768px;
	--space-pad: clamp(20px, 4vw, 32px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select, button { font-family: inherit; }
::selection { background: var(--accent-soft); color: #fff; }

/* ---------- Layout primitives ---------- */
.container {
	max-width: var(--max);
	margin: 0 auto;
	padding-left: var(--space-pad);
	padding-right: var(--space-pad);
}
.container--narrow { max-width: var(--max-narrow); }

.hide-on-mobile { display: none; }
@media (min-width: 640px) {
	.hide-on-mobile { display: inline; }
}

/* ---------- Reveal animations ---------- */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- Header ---------- */
.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
}
.site-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 8px var(--space-pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.015em;
	font-size: 19px;
	line-height: 1;
	min-height: 48px;
}
.site-brand__name {
	color: #fff;
	transition: color var(--transition-speed) ease;
}
.site-brand:hover .site-brand__name,
.site-brand:focus-visible .site-brand__name {
	color: var(--accent-blue);
}
.site-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	width: 48px;
	flex: 0 0 auto;
}
/* Logo wrapper — positions the image and the hover-tint overlay together. */
.stanc-logo {
	position: relative;
	display: inline-block;
	height: 48px;
	width: 48px;
	border-radius: 7px;
	overflow: hidden;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
	transition:
		filter var(--transition-speed) ease,
		transform var(--transition-speed) ease;
}
.stanc-logo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Hover tint: a flat sheet of --accent-blue, hidden by default. On hover it
   fades in with mix-blend-mode: color, which only transfers hue/saturation —
   it preserves the underlying bevel + lightness, so the gray monolith block
   visually shifts to electric blue while every sculpted edge stays intact. */
.stanc-logo__tint {
	position: absolute;
	inset: 0;
	background: var(--accent-blue);
	mix-blend-mode: color;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--transition-speed) ease;
}
.site-brand:hover .stanc-logo,
.site-brand:focus-visible .stanc-logo {
	transform: translateY(-1px);
	filter:
		drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45))
		drop-shadow(0 0 14px rgba(0, 123, 255, 0.55));
}
.site-brand:hover .stanc-logo__tint,
.site-brand:focus-visible .stanc-logo__tint {
	opacity: 1;
}
.site-nav {
	display: none;
	align-items: center;
	gap: 30px;
	font-size: 16px;
	color: var(--text-muted);
}
.site-nav a { transition: color var(--transition-speed); }
.site-nav a:hover { color: #fff; }
@media (min-width: 768px) { .site-nav { display: inline-flex; } }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: var(--radius-full);
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 600;
	transition: background var(--transition-speed),
	            color var(--transition-speed),
	            border-color var(--transition-speed),
	            transform var(--transition-speed),
	            box-shadow var(--transition-speed);
	white-space: nowrap;
	border: 1px solid transparent;
}
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: var(--accent-glow);
}
.btn--primary:hover {
	background: var(--accent-strong);
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(0, 123, 255, 0.42);
}
.btn--ghost {
	background: var(--glass-bg);
	color: var(--text);
	border-color: var(--border-strong);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; }
/* Header CTA ghost: transparent + 1px white border, fills with accent on hover. */
.btn--header-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.01em;
}
.btn--header-ghost:hover,
.btn--header-ghost:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: var(--accent-glow);
	transform: translateY(-1px);
}
.btn .btn__icon, .btn .icon { transition: transform var(--transition-speed); }
.btn:hover .btn__icon, .btn:hover .icon--arrow-right, .btn:hover .icon--arrow-up-right { transform: translateX(2px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Hero (split-screen on desktop) ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg-grid, .hero__bg-glow {
	position: absolute; inset: 0; pointer-events: none;
}
.hero__bg-grid {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: -1px -1px;
	opacity: 0.6;
}
.hero__bg-glow {
	background:
		radial-gradient(ellipse 60% 40% at 20% 10%, rgba(0, 123, 255, 0.18), transparent 60%),
		radial-gradient(ellipse 50% 35% at 85% 30%, rgba(212, 175, 55, 0.06), transparent 60%);
}
.hero__inner {
	position: relative;
	padding-top: 160px;
	padding-bottom: 96px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}
@media (min-width: 1024px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 72px;
		/* Quiet-luxury whitespace — give the headline serious room to breathe. */
		padding-top: 240px;
		padding-bottom: 160px;
	}
}

.hero__copy { text-align: center; }
@media (min-width: 1024px) { .hero__copy { text-align: left; } }

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border-strong);
	background: var(--glass-bg);
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--text-muted);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.pill__dot {
	position: relative;
	display: inline-flex;
	width: 8px;
	height: 8px;
}
.pill__dot::after {
	content: "";
	position: relative;
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--accent);
}
.pill__dot-pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--accent-ring);
	animation: stanc-pulse 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes stanc-pulse {
	0%   { transform: scale(0.95); opacity: 0.6; }
	70%  { transform: scale(1.6); opacity: 0; }
	100% { transform: scale(1.6); opacity: 0; }
}

.hero__headline {
	margin: 36px 0 0;
	/* High-end serif for the editorial / quiet-luxury feel. */
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: clamp(2.8rem, 6.4vw, 5.25rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 0.98;
	color: #fff;
}
.hero__headline-accent {
	background: linear-gradient(135deg, #4dabff, var(--accent-blue) 50%, #66c2ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__sub {
	margin: 28px 0 0;
	max-width: 620px;
	font-size: clamp(1.05rem, 2.1vw, 1.22rem);
	line-height: 1.6;
	color: var(--text-muted);
}
@media (max-width: 1023px) { .hero__sub { margin-left: auto; margin-right: auto; } }
.hero__sub strong { color: #fff; font-weight: 600; }

.hero__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	margin-top: 40px;
}
@media (min-width: 640px)  { .hero__cta { flex-direction: row; } }
@media (min-width: 1024px) { .hero__cta { justify-content: flex-start; } }

/* Quiet-luxury trust line: a single muted-gray text row under the
   subheadline, items separated by a thin middle dot. */
.hero__trust-line {
	margin: 22px 0 0;
	max-width: 620px;
	font-size: 13px;
	line-height: 1.7;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted);
	opacity: 0.85;
}
@media (max-width: 1023px) { .hero__trust-line { margin-left: auto; margin-right: auto; } }
.hero__trust-item { display: inline; }
.hero__trust-sep {
	display: inline-block;
	margin: 0 14px;
	color: rgba(255, 255, 255, 0.22);
	font-weight: 300;
}

/* Hero portrait (right side) */
.hero__media {
	display: flex;
	justify-content: center;
	align-items: center;
	order: -1; /* portrait above copy on mobile */
}
@media (min-width: 1024px) { .hero__media { order: 0; justify-content: flex-end; } }

.hero__portrait {
	position: relative;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--border-strong);
	background: var(--glass-bg);
	box-shadow: var(--accent-glow);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .hero__portrait { max-width: 420px; } }
.hero__portrait img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.hero__portrait-glow {
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 80px rgba(0, 123, 255, 0.15);
}
.hero__portrait-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.10), transparent 70%), var(--bg-2);
	color: var(--text-muted);
	text-align: center;
	padding: 24px;
}
.hero__portrait-monogram {
	font-size: clamp(4rem, 9vw, 6rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--accent-blue), #66c2ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
}
.hero__portrait-caption {
	font-size: 12px;
	color: var(--text-faint);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---------- Section heads ---------- */
.section-head { max-width: 768px; margin: 0 auto; text-align: center; }
.eyebrow {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--accent);
	margin: 0;
}
.eyebrow--gold { color: var(--gold); }
.section-heading {
	margin: 16px 0 0;
	font-size: clamp(1.9rem, 4.2vw, 2.85rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #fff;
}
.section-sub {
	margin: 18px 0 0;
	font-size: 1.075rem;
	line-height: 1.65;
	color: var(--text-muted);
}

/* ---------- Featured Insights (videos) ---------- */
.insights {
	position: relative;
	border-top: 1px solid var(--border);
	padding: 88px 0;
}
@media (min-width: 640px) { .insights { padding: 120px 0; } }
/* Carousel container — gives breathing room for hover-lift + arrows */
.insights__carousel {
	position: relative;
	margin-top: 56px;
	padding: 16px 0 56px;
}
@media (min-width: 1024px) { .insights__carousel { padding: 20px 64px 60px; } }

.insights__swiper {
	overflow: hidden;
	padding: 8px 4px 14px;
}

.insights__card {
	display: flex !important;
	flex-direction: column;
	height: auto;
	border: 1px solid var(--border);
	background: var(--glass-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.insights__card:hover {
	transform: translateY(var(--hover-lift)) scale(1.02);
	border-color: var(--accent);
	box-shadow: var(--accent-glow);
}

/* YouTube facade: thumbnail + play button (loads iframe on click) */
.insights__facade {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
}
.insights__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-speed), filter var(--transition-speed);
}
.insights__facade:hover .insights__thumb {
	transform: scale(1.04);
	filter: brightness(0.95);
}
.insights__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	box-shadow: var(--accent-glow);
	transition: transform var(--transition-speed), background var(--transition-speed);
}
.insights__play .icon { margin-left: 3px; }
.insights__facade:hover .insights__play {
	transform: translate(-50%, -50%) scale(1.08);
}
.insights__iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #000;
}

.insights__body { padding: 20px 22px 22px; }
.insights__title {
	margin: 0;
	font-size: 1.075rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.01em;
	line-height: 1.3;
}
.insights__watch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 500;
	color: var(--accent);
	transition: color var(--transition-speed);
}
.insights__watch:hover { color: #fff; }
.insights__watch .icon { color: inherit; }

/* Carousel nav arrows */
.insights__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--accent-ring);
	background: rgba(0, 123, 255, 0.08);
	color: var(--accent);
	cursor: pointer;
	transition: background var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed), transform var(--transition-speed), opacity var(--transition-speed);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .insights__nav { display: inline-flex; } }
.insights__nav:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: var(--accent-glow);
	transform: translateY(-50%) scale(1.05);
}
.insights__nav--prev { left: 0; }
.insights__nav--next { right: 0; }
.insights__nav--prev .icon { transform: rotate(180deg); }
.insights__nav.swiper-button-disabled,
.insights__nav[aria-disabled="true"] {
	opacity: 0.35;
	pointer-events: none;
}

/* Carousel pagination dots */
.insights__dots.swiper-pagination {
	position: relative;
	margin-top: 28px;
	display: flex;
	justify-content: center;
	gap: 8px;
	pointer-events: auto;
}
.insights__dots .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: var(--text-muted);
	opacity: 0.4;
	border-radius: 999px;
	transition: width var(--transition-speed), background var(--transition-speed), opacity var(--transition-speed), box-shadow var(--transition-speed);
}
.insights__dots .swiper-pagination-bullet-active {
	background: var(--accent);
	opacity: 1;
	width: 24px;
	box-shadow: 0 0 12px rgba(0, 123, 255, 0.55);
}

/* Watch more on YouTube link */
.insights__more {
	margin: 8px 0 0;
	text-align: center;
}
.insights__more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-dim);
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	background: var(--glass-bg);
	transition: color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed), transform var(--transition-speed);
}
.insights__more a:hover {
	color: #fff;
	border-color: var(--accent);
	box-shadow: var(--accent-glow);
	transform: translateY(-2px);
}
.insights__more a svg { color: inherit; }

/* ---------- Offers ---------- */
.offers {
	position: relative;
	border-top: 1px solid var(--border);
	padding: 88px 0;
}
@media (min-width: 640px) { .offers { padding: 120px 0; } }
.offers__group { margin-top: 64px; }
.offers__group:first-of-type { margin-top: 56px; }
.offers__group-head { margin-bottom: 28px; text-align: center; }
.offers__group-head h3 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.01em;
}
.offers__group-head p {
	margin: 6px auto 0;
	max-width: 620px;
	font-size: 14px;
	color: var(--text-dim);
}
.tier-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 768px)  { .tier-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tier-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tier {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	background: var(--glass-bg);
	border-radius: var(--radius-lg);
	padding: 28px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.tier:hover {
	transform: translateY(var(--hover-lift));
	border-color: var(--accent);
	box-shadow: var(--accent-glow);
}
.tier--featured {
	border-color: var(--accent-ring);
	background: linear-gradient(180deg, rgba(0, 123, 255, 0.08), var(--glass-bg));
	box-shadow: 0 25px 50px -12px rgba(0, 123, 255, 0.18);
}
.tier__badge {
	position: absolute;
	top: -12px;
	left: 28px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: var(--radius-full);
	background: var(--accent);
	color: #fff;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
}
.tier__name { margin: 0; font-size: 1.25rem; font-weight: 600; color: #fff; }
.tier__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.tier__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-top: 22px;
}
.tier__price-amount {
	font-size: clamp(2.1rem, 3.6vw, 2.75rem);
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1;
}
.tier__price-cadence { font-size: 14px; color: var(--text-dim); }
.tier__hours {
	display: inline-flex;
	width: fit-content;
	margin-top: 12px;
	border-radius: 6px;
	background: var(--surface-strong);
	box-shadow: inset 0 0 0 1px var(--accent-ring);
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	color: #66c2ff;
}
.tier__rate { margin: 8px 0 0; font-size: 12px; color: var(--text-faint); }
.tier__features {
	flex: 1;
	list-style: none;
	margin: 24px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tier__features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
}
.tier__features .icon { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.tier__cta { margin-top: 28px; }

/* ---------- Bespoke AI Implementation ---------- */
.ai-section {
	position: relative;
	border-top: 1px solid var(--border);
	padding: 88px 0;
	overflow: hidden;
}
@media (min-width: 640px) { .ai-section { padding: 128px 0; } }
.ai-section__bg-glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 123, 255, 0.14), transparent 60%),
		radial-gradient(ellipse 40% 30% at 80% 100%, rgba(212, 175, 55, 0.08), transparent 60%);
}
.ai-section__shell {
	position: relative;
	border: 1px solid var(--border-strong);
	background: var(--glass-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--radius-xl);
	padding: 56px 32px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) { .ai-section__shell { padding: 72px 56px; } }
.ai-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 48px;
}
@media (min-width: 640px)  { .ai-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1024px) { .ai-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.ai-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.025);
	border-radius: var(--radius-lg);
	padding: 24px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.ai-card:hover {
	transform: translateY(var(--hover-lift));
	border-color: var(--accent);
	box-shadow: var(--accent-glow);
}
.ai-card__icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--accent-soft);
	box-shadow: inset 0 0 0 1px var(--accent-ring);
	color: var(--accent);
}
.ai-card__pillar {
	margin: 18px 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}
.ai-card__title {
	margin: 4px 0 8px;
	font-size: 1.075rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.01em;
}
.ai-card__body {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-muted);
}

.ai-section__cta {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.ai-section__note {
	margin: 0;
	font-size: 12px;
	color: var(--text-faint);
}

/* ---------- Contact ---------- */
.contact {
	position: relative;
	border-top: 1px solid var(--border);
	padding: 88px 0;
}
@media (min-width: 640px) { .contact { padding: 120px 0; } }
.contact__bg-glow {
	position: absolute;
	inset: 0 0 auto 0;
	height: 256px;
	z-index: 0;
	background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 123, 255, 0.18), transparent 60%);
	pointer-events: none;
}
.contact > .container { position: relative; z-index: 1; }
.contact__shell {
	margin-top: 48px;
	border: 1px solid var(--border);
	background: var(--glass-bg);
	border-radius: var(--radius-lg);
	padding: 24px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
@media (min-width: 640px) { .contact__shell { padding: 40px; } }

.contact__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 24px 12px;
	color: var(--text-muted);
}
.contact__placeholder h3 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
}
.contact__placeholder p { margin: 0; max-width: 540px; line-height: 1.6; font-size: 14px; }
.contact__placeholder em { color: #fff; font-style: normal; }
.contact__placeholder-icon {
	display: inline-flex;
	width: 56px; height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--accent-soft);
	box-shadow: inset 0 0 0 1px var(--accent-ring);
	color: var(--accent);
}
.contact__placeholder-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--text-dim);
}
.contact__placeholder-meta .icon { color: var(--accent); }

/* ---------- Contact Form 7 styling ---------- */
.contact__cf7 .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.contact__cf7 .wpcf7-form label,
.contact__cf7 .wpcf7-form p {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #e5e5e5;
	margin: 0;
}
.contact__cf7 .wpcf7-form input[type="text"],
.contact__cf7 .wpcf7-form input[type="email"],
.contact__cf7 .wpcf7-form input[type="tel"],
.contact__cf7 .wpcf7-form input[type="url"],
.contact__cf7 .wpcf7-form select,
.contact__cf7 .wpcf7-form textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	border: 1px solid var(--border-strong);
	background: rgba(0, 0, 0, 0.35);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-size: 14px;
	color: var(--text);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
	outline: none;
	transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
	font-family: inherit;
}
.contact__cf7 .wpcf7-form select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}
.contact__cf7 .wpcf7-form textarea { resize: vertical; min-height: 120px; }
.contact__cf7 .wpcf7-form input:focus,
.contact__cf7 .wpcf7-form select:focus,
.contact__cf7 .wpcf7-form textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-ring);
}
.contact__cf7 .wpcf7-form input::placeholder,
.contact__cf7 .wpcf7-form textarea::placeholder { color: var(--text-faint); }
.contact__cf7 .wpcf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	border: 0;
	border-radius: var(--radius-full);
	padding: 14px 28px;
	font-size: 14px;
	cursor: pointer;
	box-shadow: var(--accent-glow);
	transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
	width: auto;
	margin-top: 8px;
}
.contact__cf7 .wpcf7-form input[type="submit"]:hover {
	background: var(--accent-strong);
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(0, 123, 255, 0.42);
}
.contact__cf7 .wpcf7-not-valid-tip {
	color: var(--error-text);
	font-size: 12px;
	margin-top: 6px;
}
.contact__cf7 .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: var(--radius-sm) !important;
	font-size: 14px !important;
	border-width: 1px !important;
}
.contact__cf7 .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--success-border) !important;
	background: var(--success-bg);
	color: var(--success-text);
}
.contact__cf7 .wpcf7 form.invalid .wpcf7-response-output,
.contact__cf7 .wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--error-border) !important;
	background: var(--error-bg);
	color: var(--error-text);
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--border);
	background: var(--bg);
	padding: 48px 0 40px;
}
.site-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--space-pad);
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.site-footer__youtube-callout {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	align-self: center;
	max-width: 100%;
	border: 1px solid var(--border-strong);
	background: var(--glass-bg);
	border-radius: var(--radius-full);
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-muted);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: color var(--transition-speed), border-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}
.site-footer__youtube-callout:hover {
	color: #fff;
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: var(--accent-glow);
}
.site-footer__youtube-callout .icon--brand { color: #ff0000; transition: color var(--transition-speed); }
.site-footer__youtube-callout:hover .icon--brand { color: #ff3838; }
.site-footer__youtube-callout span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
@media (max-width: 480px) {
	.site-footer__youtube-callout {
		font-size: 12px;
		padding: 8px 14px;
	}
}

.site-footer__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}
@media (min-width: 768px) {
	.site-footer__row {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}
.site-footer__copy { margin: 0; font-size: 13px; color: var(--text-faint); }

.site-footer__socials {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.site-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border);
	background: var(--glass-bg);
	color: var(--text-dim);
	filter: grayscale(1);
	transition: color var(--transition-speed), filter var(--transition-speed), border-color var(--transition-speed), transform var(--transition-speed), background var(--transition-speed);
}
.site-footer__social:hover {
	color: var(--accent);
	border-color: var(--accent);
	filter: grayscale(0);
	transform: translateY(-3px);
	background: var(--accent-soft);
}
.site-footer__legal {
	display: inline-flex;
	gap: 16px;
	font-size: 13px;
	color: var(--text-dim);
}
.site-footer__legal a { transition: color var(--transition-speed); }
.site-footer__legal a:hover { color: #fff; }

/* ---------- Generic page (privacy, etc) ---------- */
.page-section { padding: 96px 0; }
.page-back { font-size: 14px; color: var(--accent); }
.page-back:hover { color: #66c2ff; }
.page-title {
	margin: 24px 0 0;
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.02em;
}
.page-content {
	margin-top: 32px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text-muted);
}
.page-content p { margin: 0 0 20px; }
