/*
 * Alix AI — central stylesheet (design system v2, modern showcase).
 * Direction: near-black canvas, huge Anton uppercase headlines mixing
 * solid + outlined text, teal accent, pill buttons, glassy cards,
 * generous rhythm. Inspired by modern RP/gaming showcases (Anton + Inter).
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Brand */
	--brand-500: #34A78A;
	--brand-400: #4CC4A7;
	--brand-glow: rgb(52 167 138 / 35%);
	--accent-500: #B13F58;
	--accent-400: #D9607C;             /* lighter raspberry for text on dark */
	--accent-glow: rgb(177 63 88 / 30%);

	/* Dark neutrals */
	--ink-900: #FAFAFA;
	--ink-600: #A6ABAF;
	--line: rgb(255 255 255 / 8%);      /* borders on dark */
	--bg-050: #0B0B0C;                  /* page canvas */
	--surface: #141416;                 /* cards */
	--surface-2: #1A1A1D;               /* raised cards */
	--surface-deep: #070708;            /* footer */

	/* Type */
	--font-body: 'Inter', Helvetica, Arial, sans-serif;
	--font-display: 'Anton', 'Space Grotesk', Impact, sans-serif;
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--step-1: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
	--step-2: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem);
	--step-3: clamp(2.2rem, 1.7rem + 2.6vw, 3.6rem);
	--step-4: clamp(2.8rem, 1.9rem + 5vw, 6rem);

	/* Layout */
	--container: 76rem;
	--gap: 1.25rem;
	--radius: 1.1rem;
	--radius-pill: 999px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.7;
	color: var(--ink-900);
	background: var(--bg-050);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.015em;
	line-height: 1.02;
	margin: 0 0 0.5em;
}

a {
	color: var(--brand-400);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--brand-500);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

:focus-visible {
	outline: 2px solid var(--brand-400);
	outline-offset: 2px;
}

@media (pointer: coarse) {
	a, button {
		min-height: 44px;
		min-width: 44px;
	}
}

[id] {
	scroll-margin-top: 6rem;
}

/* Raspberry text selection — secondary brand color. */

::selection {
	background: rgb(177 63 88 / 85%);
	color: #FFFFFF;
}

/* Outlined display text — hollow headline effect. */

.display-outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--ink-900);
}

/* Accent-colored display text (second-tone headlines). */

.display-accent {
	color: var(--brand-400);
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */

.container {
	width: min(var(--container), 100% - 2.5rem);
	margin-inline: auto;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.7em;
	border-radius: var(--radius-pill);
	background: var(--brand-500);
	color: #FFFFFF;
	font-weight: 700;
	font-size: var(--fs-sm, 0.9375rem);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn:hover {
	background: var(--brand-400);
	color: #0B2520;
	box-shadow: 0 0 0 1px var(--brand-400), 0 8px 30px var(--brand-glow);
	transform: translateY(-2px);
}

.btn--ghost {
	background: transparent;
	color: var(--ink-900);
	box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn--ghost:hover {
	background: rgb(177 63 88 / 14%);
	color: var(--accent-400);
	box-shadow: inset 0 0 0 1.5px var(--accent-400);
}

/* Small uppercase label used above titles. */

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45em 1.1em;
	border-radius: var(--radius-pill);
	background: rgb(52 167 138 / 12%);
	border: 1px solid rgb(52 167 138 / 30%);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--brand-400);
}

.chip::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand-400);
}

.empty-state {
	padding: 4rem 0;
	text-align: center;
	color: var(--ink-600);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.75em 1.25em;
	background: #FFFFFF;
	color: #0B0B0C;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus-visible {
	left: 0;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

/* ==========================================================================
   4. Site header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	/* Fully opaque: giant hero titles and teal glows must never bleed
	   through the bar, whatever the browser or scroll position. The
	   vertical gradient adds depth without any transparency. */
	background: linear-gradient(180deg, #0b0b0d 0%, #070708 100%);
	/* Brand seam under the bar: the same teal -> raspberry hairline as
	   the homepage section dividers. A designed edge, not a grey ruler. */
	border-bottom: 1px solid;
	border-image: linear-gradient(
			90deg,
			transparent 0%,
			rgb(52 167 138 / 35%) 25%,
			rgb(76 196 167 / 55%) 50%,
			rgb(177 63 88 / 30%) 75%,
			transparent 100%
		) 1;
	transition: box-shadow 200ms ease;
}

/* Scrolled state: same solid bar, deeper layered shadow for depth. */
.site-header.is-scrolled {
	box-shadow:
		0 0.75rem 2rem rgb(0 0 0 / 55%),
		0 0.25rem 0.75rem rgb(0 0 0 / 35%);
}

/* Logged-in users: WordPress pins its admin bar (32px) on top of the
   viewport, so the sticky header must stop below it or its top edge
   slides behind the bar while scrolling. Regular visitors are not
   affected — they never see the admin bar. */
body.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.9rem;
	transition: padding-block 200ms ease;
}

/* The bar breathes less once the page scrolls: the classic compact-bar
   behaviour of modern showcase sites. Class toggled by main.js. */
.site-header.is-scrolled .site-header__inner {
	padding-block: 0.55rem;
}

.site-branding img {
	max-height: 2.75rem;
	width: auto;
}

.site-branding__title {
	font-family: var(--font-display);
	font-size: var(--step-1);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink-900);
	text-decoration: none;
	transition: color 160ms ease;
}

.site-branding__title:hover {
	color: var(--brand-400);
}

/* Teal terminal dot after the name: small modern signature. */
.site-branding__title::after {
	content: '.';
	color: var(--brand-400);
	margin-left: 0.08em;
}

.site-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 600;
	color: var(--ink-900);
	cursor: pointer;
}

.site-nav__burger {
	position: relative;
	width: 1.5rem;
	height: 2px;
	background: var(--ink-900);
}

.site-nav__burger::before,
.site-nav__burger::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--ink-900);
	transition: transform 150ms ease, top 150ms ease;
}

.site-nav__burger::before { top: -0.45rem; }
.site-nav__burger::after  { top: 0.45rem; }

.site-nav.is-open .site-nav__burger::before { top: 0; transform: rotate(45deg); }
.site-nav.is-open .site-nav__burger::after  { top: 0; transform: rotate(-45deg); }
.site-nav.is-open .site-nav__burger        { background: transparent; }

.site-nav__list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	list-style: none;
	margin: 0;
	padding: 1rem 1.25rem 1.5rem;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	display: none;
}

.site-nav.is-open .site-nav__list {
	display: block;
}

.site-nav__list a {
	display: block;
	padding: 0.65rem 0.9rem;
	border-radius: var(--radius-pill);
	color: var(--ink-600);
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: color 140ms ease, background 140ms ease;
}

.site-nav__list a:hover {
	color: var(--ink-900);
	background: rgb(52 167 138 / 14%);
}

/* Current page: teal pill instead of a bare colored link. */
.site-nav__list .current-menu-item > a {
	color: var(--brand-400);
	background: rgb(52 167 138 / 10%);
}

@media (min-width: 48em) {
	.site-nav__toggle {
		display: none;
	}

	.site-nav__list {
		position: static;
		display: flex;
		gap: 0.35rem;
		padding: 0;
		background: none;
		border: 0;
	}
}

/* Dropdown sub-menus (Portfolio > Alix AI / Content Creator).
   Desktop: hover/focus dropdown. Mobile: indented inside the open panel. */
.site-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list .menu-item-has-children > a::after {
	content: " \25BE";
	font-size: 0.65em;
	opacity: 0.75;
}

.site-nav__list .sub-menu a {
	padding-left: 2rem;
}

@media (min-width: 48em) {
	.site-nav__list li {
		position: relative;
	}

	.site-nav__list .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20;
		min-width: 12.5rem;
		padding: 0.5rem;
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: 0 1.4rem 2.6rem rgb(0 0 0 / 55%);
		opacity: 0;
		visibility: hidden;
		transform: translateY(0.5rem);
		transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
	}

	.site-nav__list li:hover > .sub-menu,
	.site-nav__list li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.site-nav__list .sub-menu a {
		padding: 0.55rem 0.9rem;
	}
}

/* ==========================================================================
   5. Page head + card grid
   ========================================================================== */

.page-head {
	padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}

.page-head__title {
	font-size: var(--step-4);
	line-height: 0.95;
}

.page-head__query {
	color: var(--brand-400);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr));
	gap: var(--gap);
	padding-block: 0 3rem;
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
	transform: translateY(-5px);
	border-color: rgb(52 167 138 / 45%);
	box-shadow: 0 16px 40px rgb(0 0 0 / 45%), 0 0 24px rgb(52 167 138 / 10%);
}

.card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.card:hover .card__media img {
	transform: scale(1.06);
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.2rem 1.35rem 1.5rem;
}

.card__meta {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--brand-400);
}

.card__title {
	margin: 0;
	font-size: var(--step-2);
	line-height: 1.08;
}

.card__title a {
	color: inherit;
	text-decoration: none;
}

.card__title a:hover {
	color: var(--brand-400);
}

.card__excerpt {
	margin: 0;
	color: var(--ink-600);
	font-size: var(--fs-sm, 0.9375rem);
}

/* ==========================================================================
   6. Singular
   ========================================================================== */

.singular__head {
	padding-block: clamp(2.5rem, 5vw, 4rem) 1rem;
}

.singular__meta {
	margin: 0 0 0.6rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent-500);
}

.singular__title {
	font-size: var(--step-4);
	line-height: 0.95;
}

.singular__price {
	font-family: var(--font-display);
	font-size: var(--step-2);
	text-transform: uppercase;
	color: var(--brand-400);
	margin: 0.75rem 0 0;
}

.singular__media {
	padding-block: 0.5rem;
}

.singular__media img {
	width: 100%;
	border-radius: var(--radius);
}

.singular__content {
	max-width: 46rem;
	padding-block: 1rem 4rem;
}

.singular__cta {
	margin-top: 2rem;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */

.site-footer {
	margin-top: auto;
	background: var(--surface-deep);
	color: #C9CDCE;
	border-top: 1px solid var(--line);
	padding-block: 3.5rem 1.5rem;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
}

.site-footer__name {
	font-family: var(--font-display);
	font-size: var(--step-3);
	text-transform: uppercase;
	color: var(--ink-900);
	margin: 0;
}

.site-footer__tagline {
	margin: 0.4rem 0 0;
	font-size: var(--fs-sm, 0.9375rem);
	color: var(--ink-600);
}

.social-list,
.footer-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-list a,
.footer-list a {
	display: inline-block;
	padding: 0.5em 1.2em;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	color: #C9CDCE;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: color 140ms ease, border-color 140ms ease;
}

.social-list a:hover,
.footer-list a:hover {
	color: var(--brand-400);
	border-color: rgb(52 167 138 / 50%);
}

/* ==========================================================================
   Social icon buttons (header bar, footer, contact page)
   ========================================================================== */

.alix-social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.alix-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: rgb(255 255 255 / 3%);
	color: var(--ink-600);
	transition: color 140ms ease, border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.alix-social svg {
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
}

.alix-social a:hover {
	color: var(--brand-400);
	border-color: rgb(52 167 138 / 50%);
	background: rgb(52 167 138 / 12%);
	transform: translateY(-2px);
}

/* Unknown platform fallback: a neutral dot instead of an icon. */
.alix-social__dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

.site-header__social {
	margin-left: 0.35rem;
}

/* On small screens the header shrinks to logo + burger: keep it clean. */
@media (max-width: 48em) {
	.site-header__social {
		display: none;
	}
}

.site-footer__legal {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: var(--fs-xs, 0.8125rem);
	color: var(--ink-600);
}

.site-footer__legal p {
	margin: 0;
}

/* ==========================================================================
   8. Pagination + misc
   ========================================================================== */

.pagination,
.nav-links {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	padding-block: 1rem 3rem;
}

.page-numbers {
	display: inline-block;
	padding: 0.5em 1em;
	border-radius: var(--radius-pill);
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink-900);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--brand-500);
	border-color: var(--brand-500);
	color: #FFFFFF;
}

.error-404 {
	text-align: center;
	padding-block: 6rem 4rem;
}

.error-404__title {
	font-size: var(--step-4);
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 30rem;
}

.search-form input[type='search'] {
	flex: 1;
	padding: 0.65em 1.2em;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--ink-900);
	font: inherit;
}

.search-form input[type='search']::placeholder {
	color: var(--ink-600);
}

.search-form button {
	padding: 0.65em 1.5em;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--brand-500);
	color: #FFFFFF;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.search-form button:hover {
	background: var(--brand-400);
	color: #0B2520;
}

/* ==========================================================================
   9. Front page (front-page.php)
   ========================================================================== */

/* --- Hero --- */

.home-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(55% 65% at 78% 18%, rgb(52 167 138 / 14%), transparent 70%),
		radial-gradient(45% 60% at 12% 88%, rgb(177 63 88 / 9%), transparent 70%),
		var(--bg-050);
	border-bottom: 1px solid var(--line);
}

/* Faint grid texture, like modern gaming showcases. */

.home-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent);
	pointer-events: none;
}

.home-hero__inner {
	position: relative;
	padding-block: clamp(5rem, 14vh, 9rem);
}

.home-hero__eyebrow {
	margin: 0 0 1.4rem;
}

.home-hero__title {
	font-size: var(--step-4);
	line-height: 0.95;
	margin: 0 0 1.5rem;
}

.home-hero__lead {
	max-width: 38rem;
	color: var(--ink-600);
	font-size: var(--step-1);
	line-height: 1.55;
	margin: 0 0 2.2rem;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.home-hero__link {
	font-weight: 600;
	font-size: var(--fs-sm, 0.9375rem);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ink-900);
}

.home-hero__link:hover {
	color: var(--brand-400);
}

/* ==========================================================================
   Live stream (Kick embed) — responsive 16:9 player
   ========================================================================== */

.live-band__lead {
	max-width: 40rem;
	color: var(--ink-600);
	font-size: var(--step-1);
	line-height: 1.55;
	margin: 0 0 2rem;
}

.live-player {
	position: relative;
	width: 100%;
	max-width: 64rem;
	margin-inline: auto;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-deep);
	box-shadow: 0 1.5rem 4rem rgb(52 167 138 / 12%);
}

.live-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   Bluesky feed cards
   ========================================================================== */

.bsky-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr));
	gap: var(--gap);
}

.bsky-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bsky-card:hover {
	transform: translateY(-5px);
	border-color: rgb(52 167 138 / 45%);
	box-shadow: 0 16px 40px rgb(0 0 0 / 45%), 0 0 24px rgb(52 167 138 / 10%);
}

.bsky-card__thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: calc(var(--radius) - 0.35rem);
	border: 1px solid var(--line);
}

.bsky-card__text {
	flex: 1;
	margin: 0;
	color: var(--ink-900);
	line-height: 1.5;
	white-space: pre-line; /* keep the author's line breaks */
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bsky-card__meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink-600);
	font-size: 0.8125rem;
}

.bsky-card__meta time {
	color: var(--ink-600);
}

.bsky-card__meta span {
	color: var(--brand-400);
	font-weight: 600;
}

.bsky-card__avatar {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	object-fit: cover;
}

/* Per-post engagement — likes ♥ and reposts ↻. */
.bsky-card__stats {
	margin-left: auto;
	color: var(--ink-600);
	font-weight: 600;
	white-space: nowrap;
}

/* ==========================================================================
   YouTube latest video — lightweight facade, real player on click
   ========================================================================== */

.yt-feature {
	max-width: 64rem;
	margin-inline: auto;
}

.yt-player {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-deep);
	box-shadow: 0 1.5rem 4rem rgb(52 167 138 / 12%);
	cursor: pointer;
}

.yt-player__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Slight dim so the red play button pops. */
	filter: brightness(0.82);
	transition: filter 220ms ease, transform 420ms ease;
}

.yt-player:hover .yt-player__thumb,
.yt-player:focus-visible .yt-player__thumb {
	filter: brightness(1);
	transform: scale(1.03);
}

.yt-player__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4.25rem;
	height: 3rem;
	transform: translate(-50%, -50%);
	border-radius: var(--radius-pill);
	background: rgb(255 0 0 / 92%);
	box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 45%);
	transition: transform 160ms ease, background 160ms ease;
}

/* The white playback triangle. */
.yt-player__play::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 0.62em 0 0.62em 1.05em;
	border-color: transparent transparent transparent #FFFFFF;
}

.yt-player:hover .yt-player__play,
.yt-player:focus-visible .yt-player__play {
	transform: translate(-50%, -50%) scale(1.1);
	background: #FF0000;
}

/* Once clicked, the button is replaced by the iframe: it fills the frame. */
.yt-feature iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 1.5rem 4rem rgb(52 167 138 / 12%);
}

.yt-feature__caption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}

.yt-feature__title {
	font-weight: 600;
	color: var(--ink-900);
}

.yt-feature__meta {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	color: var(--ink-600);
	font-size: 0.8125rem;
	white-space: nowrap;
}

/* Channel stat badges (only rendered when a YouTube API key is set). */
.yt-stats {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.yt-stats__chip {
	display: inline-flex;
	align-items: baseline;
	gap: 0.3em;
	padding: 0.35em 0.9em;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: rgb(255 255 255 / 3%);
	font-size: 0.8125rem;
	color: var(--ink-600);
	white-space: nowrap;
}

.yt-stats__num {
	font-weight: 700;
	color: var(--brand-400);
}

/* Subscribers wear the raspberry accent — teal is already the video views. */
.yt-stats__chip--subs .yt-stats__num {
	color: var(--accent-400, #D9607C);
}

/* ==========================================================================
   TikTok profile card — stats badges reuse the .yt-stats__chip pills
   ========================================================================== */

.tt-card {
	max-width: 42rem;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgb(255 255 255 / 3%);
}

.tt-card__avatar {
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	/* TikTok chromatic glitch: cyan + red offset rings. */
	box-shadow:
		-0.2rem 0 0 rgb(37 244 238 / 75%),
		0.2rem 0 0 rgb(254 44 85 / 75%);
}

.tt-card__info {
	min-width: 0;
}

.tt-card__handle {
	margin: 0 0 0.35rem;
	font-weight: 700;
	color: var(--ink-900);
}

.tt-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.tt-card__follow {
	margin-left: auto;
	flex: none;
}

@media (max-width: 40em) {
	.tt-card {
		flex-direction: column;
		text-align: center;
	}

	.tt-card__chips {
		justify-content: center;
	}

	.tt-card__follow {
		margin-left: 0;
	}
}

/* Pinned latest videos — portrait thumbnails, teal play badge. */
.tt-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 40rem;
	margin: 2.25rem auto 0;
	padding: 0;
	list-style: none;
}

.tt-video {
	display: block;
	text-decoration: none;
}

.tt-video__thumb {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-deep, #070708);
}

.tt-video__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}

.tt-video:hover .tt-video__thumb img {
	transform: scale(1.05);
}

.tt-video__play {
	position: absolute;
	left: 0.6rem;
	bottom: 0.6rem;
	width: 2.1rem;
	height: 1.45rem;
	border-radius: var(--radius-pill);
	background: rgb(52 167 138 / 92%);
	box-shadow: 0 0.4rem 1.2rem rgb(0 0 0 / 40%);
}

.tt-video__play::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 0.45em 0 0.45em 0.75em;
	border-color: transparent transparent transparent #06110e;
}

.tt-video__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 0.6rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink-900, #ffffff);
}

@media (max-width: 40em) {
	.tt-grid {
		gap: 0.75rem;
	}

	.tt-video__title {
		font-size: 0.75rem;
	}
}

/* Pulsing LIVE badge — rendered only while the Kick stream is on air. */
.live-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin-left: 0.75rem;
	padding: 0.18em 0.7em;
	border-radius: var(--radius-pill);
	border: 1px solid rgb(229 72 77 / 45%);
	background: rgb(229 72 77 / 14%);
	color: #ff6b70;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	vertical-align: middle;
}

.live-badge__dot {
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	background: currentColor;
}

@media (prefers-reduced-motion: no-preference) {
	.live-badge__dot {
		animation: live-pulse 1.4s ease-in-out infinite;
	}
}

@keyframes live-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.4;
		transform: scale(0.75);
	}
}

/* ==========================================================================
   Archive hero — Portfolio Sections pages (Alix AI OC / Content Creator)
   ========================================================================== */

.archive-hero {
	position: relative;
	padding-block: clamp(3.5rem, 9vw, 6.5rem) 2.75rem;
	background-color: var(--surface-deep);
	background-size: cover;
	background-position: center;
}

/* Dark gradient overlay so the huge title stays readable over art. */
.archive-hero--image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(7 7 8 / 55%) 0%, rgb(11 11 12 / 92%) 100%);
}

.archive-hero__inner {
	position: relative;
}

.archive-hero__eyebrow {
	margin: 0 0 1.2rem;
}

.archive-hero__title {
	font-size: var(--step-4);
	line-height: 0.95;
	margin: 0 0 1.1rem;
}

.archive-hero__lead {
	max-width: 40rem;
	color: var(--ink-600);
	font-size: var(--step-1);
	line-height: 1.55;
	margin: 0 0 1rem;
}

.archive-hero__count {
	margin: 0;
	color: var(--brand-400);
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Gentle entrance: fade + rise, CSS-only. */

@media (prefers-reduced-motion: no-preference) {
	.home-hero__inner > * {
		animation: alix-rise 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.home-hero__inner > :nth-child(2) { animation-delay: 70ms; }
	.home-hero__inner > :nth-child(3) { animation-delay: 140ms; }
	.home-hero__inner > :nth-child(4) { animation-delay: 210ms; }

	@keyframes alix-rise {
		from {
			opacity: 0;
			transform: translateY(18px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

/* --- Shared section rhythm --- */

.home-section {
	padding-block: clamp(3.5rem, 8vw, 6rem);
	/* Hairline that fades in/out at both edges and shifts teal ->
	   raspberry across the width: a designed seam, not a fence. */
	border-top: 1px solid;
	border-image: linear-gradient(
			90deg,
			transparent 0%,
			rgb(52 167 138 / 35%) 25%,
			rgb(76 196 167 / 55%) 50%,
			rgb(177 63 88 / 30%) 75%,
			transparent 100%
		) 1;
}

.home-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.4rem;
}

.home-section__title {
	font-size: var(--step-3);
	margin: 0;
}

.home-section__more {
	font-weight: 600;
	font-size: var(--fs-sm, 0.9375rem);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* --- Highlights strip (feature cards, ALRP-style) --- */

.highlights-band {
	margin-top: -1px; /* overlap the hero's own border-bottom exactly */
	border-top: 0;
}

.highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
}

@media (max-width: 56em) {
	.highlights {
		grid-template-columns: 1fr;
	}
}

.feature-card {
	position: relative;
	padding: 1.8rem 1.7rem 2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 200ms ease, transform 200ms ease;
}

.feature-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--brand-500), transparent);
	opacity: 0;
	transition: opacity 200ms ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	border-color: rgb(52 167 138 / 40%);
}

.feature-card:hover::before {
	opacity: 1;
}

.feature-card__title {
	font-size: var(--step-2);
	margin: 0 0 0.6rem;
}

.feature-card__text {
	margin: 0;
	color: var(--ink-600);
	font-size: var(--fs-sm, 0.9375rem);
}

/* --- Services --- */

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
}

@media (max-width: 56em) {
	.services-grid {
		grid-template-columns: 1fr;
	}
}

.service-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.8rem 1.7rem 2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 200ms ease, transform 200ms ease;
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: rgb(52 167 138 / 40%);
}

.service-card__title {
	margin: 0;
	font-size: var(--step-2);
}

.service-card__title a {
	color: inherit;
	text-decoration: none;
}

.service-card__title a:hover {
	color: var(--brand-400);
}

.service-card__excerpt {
	margin: 0;
	color: var(--ink-600);
	font-size: var(--fs-sm, 0.9375rem);
}

.service-card__price {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-1);
	text-transform: uppercase;
	color: var(--brand-400);
}

.service-card__link {
	margin-top: auto;
	padding-top: 0.5rem;
	font-weight: 600;
	font-size: var(--fs-sm, 0.9375rem);
}

/* --- About teaser --- */

.about-teaser {
	background: var(--surface);
	border-block: 1px solid var(--line);
}

.about-teaser__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.about-teaser__text {
	max-width: 42rem;
	margin: 0;
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--ink-600);
}

/* --- Press band --- */

.press-band {
	background: var(--surface-deep);
}

/* --- Final CTA --- */

.cta-band {
	position: relative;
	padding-block: clamp(4rem, 10vw, 7rem);
	text-align: center;
	border-top: 1px solid;
	border-image: linear-gradient(
			90deg,
			transparent 0%,
			rgb(52 167 138 / 35%) 25%,
			rgb(76 196 167 / 55%) 50%,
			rgb(177 63 88 / 30%) 75%,
			transparent 100%
		) 1;
	background:
		radial-gradient(50% 80% at 30% 110%, rgb(177 63 88 / 14%), transparent 70%),
		radial-gradient(50% 80% at 70% 110%, rgb(52 167 138 / 12%), transparent 70%);
}

/* CTA badges wear the raspberry: teal = explore, raspberry = action. */
.cta-band .chip {
	background: rgb(177 63 88 / 14%);
	border-color: rgb(177 63 88 / 32%);
	color: var(--accent-400);
}

.cta-band .chip::before {
	background: var(--accent-400);
}

.cta-band__eyebrow {
	margin: 0 0 1.4rem;
}

.cta-band__title {
	font-size: var(--step-4);
	margin-bottom: 0.75rem;
}

.cta-band__text {
	max-width: 36rem;
	margin: 0 auto 2rem;
	color: var(--ink-600);
}

/* Copy deterrent (JS reinforces): kill caret/selection visuals site-wide,
   except inside form fields. See inc/security.php. */
body:not(.wp-admin) {
	-webkit-user-select: none;
	user-select: none;
}

input,
textarea {
	-webkit-user-select: text;
	user-select: text;
}

/* Block the iOS/Android long-press callout & image save on touch. */
img {
	-webkit-touch-callout: none;
	pointer-events: auto;
}

/* ==========================================================================
   10. Contact page (page-contact.php)
   ========================================================================== */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22rem;
	gap: 3rem;
	padding-block: 1rem 5rem;
}

@media (max-width: 56em) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0 0 1.1rem;
}

.contact-form__field label {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ink-600);
}

.contact-form__field input,
.contact-form__field textarea {
	width: 100%;
	padding: 0.8em 1.1em;
	border: 1px solid var(--line);
	border-radius: 0.9rem;
	background: var(--surface);
	color: var(--ink-900);
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form__field textarea {
	resize: vertical;
	min-height: 9rem;
}

.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible {
	outline: none;
	border-color: var(--brand-500);
	box-shadow: 0 0 0 3px rgb(52 167 138 / 18%);
}

.contact-side__title {
	font-size: var(--step-2);
	margin: 1.75rem 0 1rem;
}

/* Form framed as a card so the layout feels built, not defaulted. */
.contact-grid__form {
	padding: 2rem;
	border: 1px solid var(--line);
	border-radius: 1.25rem;
	background: var(--surface);
}

@media (max-width: 56em) {
	.contact-grid__form {
		padding: 1.5rem;
	}
}

.contact-form__note {
	margin: 1rem 0 0;
	font-size: 0.8rem;
	color: var(--ink-600);
}

/* Sidebar cards — raspberry accents bring the secondary color in. */
.contact-side__card {
	padding: 1.35rem 1.5rem;
	margin-bottom: 1rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--surface);
}

.contact-side__label {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.18em 0.7em;
	border-radius: var(--radius-pill);
	border: 1px solid rgb(177 63 88 / 40%);
	background: rgb(177 63 88 / 14%);
	color: var(--accent-400);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-side__heading {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 800;
}

.contact-side__text {
	margin: 0 0 0.4rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ink-600);
}

.contact-side__mail {
	font-weight: 700;
	color: var(--brand-400);
	text-decoration: none;
	word-break: break-all;
}

.contact-side__mail:hover,
.contact-side__mail:focus-visible {
	text-decoration: underline;
}

.notice {
	padding: 1rem 1.4rem;
	margin-bottom: 1.5rem;
	border-radius: 0.9rem;
	font-weight: 600;
}

.notice--ok {
	background: rgb(52 167 138 / 12%);
	border: 1px solid rgb(52 167 138 / 40%);
	color: var(--brand-400);
}

.notice--err {
	background: rgb(177 63 88 / 12%);
	border: 1px solid rgb(177 63 88 / 40%);
	color: #E58AA0;
}
