/* =============================================================================
   styles.css  —  DesiDaWulf portfolio
   -----------------------------------------------------------------------------
   Organized top-to-bottom:
     1. Design tokens (colors, fonts, spacing) in :root  ← change the brand here
     2. Base / reset
     3. Layout helpers (container, grid)
     4. Buttons
     5. Navbar
     6. Hero
     7. Section headings
     8. About
     9. Cards (portfolio / vtuber / sponsors)
    10. Emotes
    11. Videos / Twitch
    12. Footer
    13. Floating social dock
    14. Scroll reveal animations
    15. Responsive (mobile) tweaks
    16. Reduced-motion accessibility

   Uses modern CSS: custom properties, clamp() for fluid type, CSS grid,
   :is()/:where(), color-mix(), and aspect-ratio.
   ============================================================================= */

/* ============================ 1. DESIGN TOKENS ============================ */
:root {
	/* --- Brand colors (pulled from Desi's blue-wolf art) --------------------- */
	--bg: #0a1430;
	/* deep navy page background */
	--bg-2: #0c1a3d;
	/* slightly lighter navy for alternating bands */
	--surface: #122150;
	/* card background */
	--surface-2: #182c63;
	/* raised / hover card background */
	--primary: #3ec6ff;
	/* signature bright cyan (logo + gamepads) */
	--primary-strong: #1c9fe0;
	/* deeper cyan for gradients */
	--accent: #ff9a4d;
	/* warm orange (from her heterochromia eye) */
	--text: #eef4ff;
	/* main text */
	--muted: #a3b6dd;
	/* secondary text */
	--border: color-mix(in srgb, var(--primary) 18%, transparent);
	--ring: color-mix(in srgb, var(--primary) 45%, transparent);

	/* --- Typography --------------------------------------------------------- */
	--font-display: "Fredoka", system-ui, sans-serif;
	/* headings */
	--font-body: "Outfit", system-ui, sans-serif;
	/* body text */

	/* --- Shape & spacing ---------------------------------------------------- */
	--radius: 18px;
	--radius-sm: 12px;
	--radius-lg: 28px;
	--maxw: 1140px;
	--shadow: 0 18px 50px rgba(0, 8, 30, 0.45);
	--shadow-sm: 0 8px 24px rgba(0, 8, 30, 0.35);
}

/* ============================ 2. BASE / RESET ============================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
	/* offset sticky nav */
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Subtle paw-print texture + glow built from layered gradients. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(1100px 700px at 80% -10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
		radial-gradient(900px 600px at -10% 20%, color-mix(in srgb, var(--primary-strong) 14%, transparent), transparent 60%),
		var(--bg);
}

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

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

h1,
h2,
h3 {
	font-family: var(--font-display);
	line-height: 1.1;
	margin: 0;
}

/* Keyboard focus outline — important for accessibility. */
:where(a, button, [tabindex]):focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Accessibility skip link (hidden until focused). */
.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--primary);
	color: #04122b;
	padding: 10px 16px;
	font-weight: 600;
	border-radius: 0 0 10px 0;
	z-index: 1000;
}

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

/* ============================ 3. LAYOUT HELPERS ========================== */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: clamp(18px, 5vw, 40px);
}

.section {
	padding-block: clamp(64px, 9vw, 120px);
}

.section--alt {
	background: var(--bg-2);
}

.grid {
	display: grid;
	gap: 22px;
}

.grid--cards {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid--emotes {
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 12px;
}

.grid--videos {
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ============================ 4. BUTTONS ================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn--primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-strong));
	color: #042038;
	box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn--ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--text);
}

.btn:hover {
	transform: translateY(-3px);
}

.btn--ghost:hover {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 12%, transparent);
}

/* ============================ 5. NAVBAR ================================== */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	border-bottom: 1px solid var(--border);
}

.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

.nav__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: .3px;
}

.nav__brand span:last-child {
	background: linear-gradient(135deg, var(--primary), #bfe9ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.nav__paw {
	filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--primary) 60%, transparent));
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav__links a {
	padding: 8px 14px;
	border-radius: 999px;
	font-weight: 500;
	color: var(--muted);
	font-size: .96rem;
	transition: color .2s ease, background .2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
	color: var(--text);
	background: color-mix(in srgb, var(--primary) 14%, transparent);
}

/* Hamburger (hidden on desktop). */
.nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}

.nav__toggle span {
	width: 26px;
	height: 3px;
	background: var(--text);
	border-radius: 3px;
	transition: transform .25s ease, opacity .25s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ============================ 6. HERO =================================== */
.hero {
	position: relative;
	padding-block: clamp(60px, 10vw, 120px);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(30px, 6vw, 70px);
	align-items: center;
}

.hero__eyebrow {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--primary);
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: .9rem;
	margin: 0 0 14px;
}

.hero__title {
	font-size: clamp(2.6rem, 7vw, 4.6rem);
	font-weight: 700;
}

.hero__title span[data-hero-name] {
	background: linear-gradient(135deg, #ffffff, var(--primary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__title-sub {
	display: block;
	font-size: clamp(1.1rem, 2.4vw, 1.7rem);
	font-weight: 500;
	color: var(--text);
	margin-top: 10px;
	max-width: 16ch;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.hero__socials {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	flex-wrap: wrap;
}

/* Hero avatar with glowing animated ring. */
.hero__art {
	display: flex;
	justify-content: center;
}

.hero__avatar-ring {
	position: relative;
	display: grid;
	place-items: center;
	padding: 10px;
	border-radius: 50%;
	box-shadow: var(--shadow);
	isolation: isolate;
	/* Size the ring to the avatar so the spinning gradient hugs it. */
	width: clamp(240px, 36vw, 380px);
	height: clamp(240px, 36vw, 380px);
}

/* The glowing gradient RING spins on a pseudo-element BEHIND the image, so the
   photo itself stays perfectly still and always sits on top (no z-index jank). */
.hero__avatar-ring::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--primary-strong), var(--primary));
	animation: spin 14s linear infinite;
	z-index: 0;
}

.hero__avatar {
	position: relative;
	z-index: 1;
	width: clamp(220px, 34vw, 360px);
	height: clamp(220px, 34vw, 360px);
	border-radius: 50%;
	object-fit: cover;
	background: var(--surface);
	border: 6px solid var(--bg);
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Decorative animated background. */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: .5;
}

.blob--1 {
	width: 380px;
	height: 380px;
	background: var(--primary);
	top: -80px;
	right: -60px;
}

.blob--2 {
	width: 320px;
	height: 320px;
	background: var(--primary-strong);
	bottom: -120px;
	left: -80px;
}

.paw {
	position: absolute;
	font-size: 2rem;
	opacity: .12;
}

.paw--1 {
	top: 18%;
	left: 8%;
	transform: rotate(-20deg);
}

.paw--2 {
	top: 64%;
	left: 46%;
	transform: rotate(15deg);
	font-size: 1.4rem;
}

.paw--3 {
	top: 30%;
	right: 12%;
	transform: rotate(25deg);
	font-size: 1.6rem;
}

/* ============================ 7. SECTION HEADINGS ======================= */
.section__title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 30px;
}

.section__kicker {
	display: block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 10px;
}

.section__intro {
	color: var(--muted);
	max-width: 60ch;
	font-size: 1.08rem;
	margin: -10px 0 34px;
}

/* ============================ 8. ABOUT ================================== */
.about {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(26px, 5vw, 56px);
	align-items: center;
}

.about__portrait img {
	width: 100%;
	border-radius: var(--radius-lg);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	background: var(--surface);
}

.about__body p {
	color: var(--muted);
	margin: 0 0 16px;
	font-size: 1.08rem;
}

.about__facts {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.about__facts li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	min-width: 140px;
}

.about__facts strong {
	display: block;
	font-family: var(--font-display);
	color: var(--primary);
	font-size: 1.05rem;
}

.about__facts span {
	color: var(--muted);
	font-size: .9rem;
}

/* ============================ 9. CARDS ================================= */
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: var(--ring);
}

.card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
	overflow: hidden;
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.card__context {
	color: var(--primary);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.card__title {
	font-size: 1.25rem;
	font-weight: 600;
}

.card__role {
	color: var(--accent);
	font-weight: 500;
	font-size: .92rem;
}

.card__desc {
	color: var(--muted);
	font-size: .98rem;
	margin: 4px 0 0;
}

.card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
}

.card__tag {
	font-size: .78rem;
	padding: 5px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 12%, transparent);
	color: var(--primary);
	border: 1px solid var(--border);
}

/* "Work available upon request" overlay for NDA work. */
.card__locked {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	gap: 6px;
	text-align: center;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: blur(3px);
	color: var(--text);
	font-family: var(--font-display);
	padding: 16px;
}

.card__locked span:first-child {
	font-size: 1.6rem;
}

a.card {
	cursor: pointer;
}

/* Featured (food wrapper) — wider hero-style card. */
.feature {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(20px, 4vw, 44px);
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
	border: 1px solid var(--ring);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 34px;
	box-shadow: var(--shadow);
}

.feature__media {
	aspect-ratio: 4 / 3;
	background: var(--surface);
}

.feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature__body {
	padding: clamp(22px, 4vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.feature__badge {
	align-self: flex-start;
	font-family: var(--font-display);
	font-size: .8rem;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--accent);
	color: #3a1c00;
	font-weight: 600;
}

.feature__title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
}

/* --- Portfolio sub-galleries (UI screens, icons, environment art) ---------- */
.subsection {
	margin-top: clamp(40px, 6vw, 64px);
}

.subsection__title {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.6vw, 1.8rem);
	font-weight: 600;
	margin: 0 0 6px;
}

/* Gallery tiles for wide UI screens + scenery. */
.grid--gallery {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}

/* Gallery tiles for square-ish icons. */
.grid--icons {
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 16px;
}

.tile {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tile:hover {
	transform: translateY(-5px);
	border-color: var(--ring);
	box-shadow: var(--shadow-sm);
}

.tile__media {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
	overflow: hidden;
}

.grid--icons .tile__media {
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	padding: 14px;
}

.tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grid--icons .tile__media img {
	object-fit: contain;
}

.tile__cap {
	padding: 10px 12px;
	font-size: .85rem;
	color: var(--muted);
	text-align: center;
}

/* --- Portrait cards (VTuber models / pets): show the WHOLE character ------- */
.card--portrait .card__media {
	aspect-ratio: 3 / 4;
	display: grid;
	place-items: center;
	padding: 14px;
	background:
		radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
		linear-gradient(135deg, var(--surface-2), var(--surface));
}

.card--portrait .card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* never crop the character */
	object-position: center;
}

/* --- Emote commission showcase (wide badge/emote strips) ------------------- */
.emote-commissions {
	display: grid;
	gap: 18px;
	margin-bottom: 30px;
}

.emote-commission {
	margin: 0;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(16px, 3vw, 32px);
	align-items: center;
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
	border: 1px solid var(--ring);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.emote-commission__media {
	padding: 18px;
	background:
		repeating-conic-gradient(color-mix(in srgb, #000 18%, transparent) 0% 25%, transparent 0% 50%) 0 / 22px 22px,
		var(--bg-2);
}

.emote-commission__media img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.emote-commission__cap {
	padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px) 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.emote-commission__cap strong {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--primary);
}

.emote-commission__cap span {
	color: var(--muted);
	font-size: .98rem;
}

/* --- Zoomable images: cursor + hover "expand" hint ------------------------- */
.card:not(.card--locked) .card__media,
.feature__media,
.tile__media,
.emote-commission__media,
.emote {
	position: relative;
}

.card__media img,
.feature__media img,
.tile__media img,
.emote-commission__media img,
.emote img {
	cursor: zoom-in;
}

/* Little magnifier badge that fades in on hover to signal "click to enlarge". */
.tile__media::after,
.card__media::after,
.feature__media::after {
	content: "⤢";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	font-size: 1rem;
	color: #042038;
	background: color-mix(in srgb, var(--primary) 90%, white);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}

.tile:hover .tile__media::after,
.card:hover .card__media::after,
.feature:hover .feature__media::after {
	opacity: 1;
	transform: none;
}

/* Don't show the zoom hint over the NDA "locked" cards. */
.card:has(.card__locked) .card__media::after {
	display: none;
}

/* --- Lightbox overlay ----------------------------------------------------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 48px);
	background: color-mix(in srgb, #02060f 88%, transparent);
	backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox__fig {
	margin: 0;
	max-width: min(1100px, 100%);
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	transform: scale(.96);
	transition: transform .25s ease;
}

.lightbox.is-open .lightbox__fig {
	transform: none;
}

.lightbox__img {
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	background: var(--surface);
}

.lightbox__cap {
	color: var(--text);
	font-family: var(--font-display);
	font-size: 1rem;
	text-align: center;
	max-width: 60ch;
}

.lightbox__close {
	position: absolute;
	top: clamp(12px, 3vw, 26px);
	right: clamp(12px, 3vw, 26px);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--text);
	background: color-mix(in srgb, var(--surface) 80%, transparent);
	border: 1px solid var(--ring);
	transition: background .2s ease, transform .2s ease;
}

.lightbox__close:hover {
	background: var(--primary);
	color: #042038;
	transform: rotate(90deg);
}

/* --- Back-to-top button --------------------------------------------------- */
.to-top {
	position: fixed;
	right: 20px;
	bottom: 86px;
	/* sits above the floating social dock */
	z-index: 80;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.3rem;
	color: #042038;
	background: linear-gradient(135deg, var(--primary), var(--primary-strong));
	box-shadow: var(--shadow-sm);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}

.to-top.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.to-top:hover {
	transform: translateY(-3px);
}

/* ============================ 10. EMOTES =============================== */
.emote {
	display: grid;
	place-items: center;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 12px 8px;
	transition: transform .2s ease, border-color .2s ease;
}

.emote:hover {
	transform: translateY(-4px) scale(1.06);
	border-color: var(--ring);
}

.emote img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	image-rendering: auto;
}

.emote span {
	font-size: .82rem;
	color: var(--muted);
	margin-top: 8px;
}

/* ============================ 11. VIDEOS / TWITCH ====================== */
.video {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: #000;
	aspect-ratio: 16 / 9;
	box-shadow: var(--shadow-sm);
}

.video iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.content__live {
	margin-top: 26px;
}

.content__live .video {
	aspect-ratio: 16 / 9;
	max-width: 900px;
}

.content__links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

/* --- VTuber "Models in Action" video cards -------------------------------- */
.vid-card {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.vid-card:hover {
	transform: translateY(-5px);
	border-color: var(--ring);
	box-shadow: var(--shadow-sm);
}

.vid-card .video {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Placeholder shown until a clip is uploaded to YouTube. */
.vid-card__soon {
	aspect-ratio: 16 / 9;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 8px;
	background:
		radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
		linear-gradient(135deg, var(--surface-2), var(--surface));
	color: var(--muted);
	font-family: var(--font-display);
}

.vid-card__soon-icon {
	font-size: 2rem;
}

.vid-card__cap {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vid-card__cap strong {
	font-family: var(--font-display);
	font-size: 1.02rem;
	color: var(--text);
}

.vid-card__cap span {
	color: var(--muted);
	font-size: .92rem;
}

/* ============================ 12. FOOTER ============================== */
.footer {
	border-top: 1px solid var(--border);
	background: var(--bg-2);
	/* Extra bottom padding so the FLOATING dock never covers footer text. */
	padding-block: 50px 130px;
	text-align: center;
}

/* When the socials are PINNED they become the page's real footer bar, so the
   footer above them no longer needs the big floating-clearance gap. */
body.dock-pinned .footer {
	padding-bottom: 44px;
	border-bottom: 1px solid var(--border);
}

.footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.footer__logo {
	width: min(300px, 70vw);
	height: auto;
	margin-bottom: 6px;
}

.footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.4rem;
}

.footer__brand span:last-child {
	background: linear-gradient(135deg, var(--primary), #bfe9ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.footer__message {
	color: var(--muted);
	margin: 4px 0 0;
	font-size: 1.05rem;
}

.footer__email a {
	color: var(--primary);
}

/* ============================ 13. SOCIAL DOCK ========================= */
/* Reusable circular social icon button (used in hero, footer area, dock). */
.social-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.social-icon svg {
	width: 22px;
	height: 22px;
}

.social-icon:hover {
	transform: translateY(-4px);
	background: linear-gradient(135deg, var(--primary), var(--primary-strong));
	color: #042038;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}

/* The dock container. Two modes: floating (default) and pinned. */
.social-dock {
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	border: 1px solid var(--ring);
	box-shadow: var(--shadow);
	backdrop-filter: blur(12px);
}

.social-dock__links {
	display: flex;
	gap: 8px;
}

/* FLOATING mode: fixed to the screen so it follows you everywhere. */
.social-dock.is-floating {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
}

/* PINNED mode: becomes a full-width bar at the very bottom of the page, styled
   like a real footer extension (sits right under the footer in the document). */
.social-dock.is-pinned {
	position: static;
	transform: none;
	width: 100%;
	max-width: none;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 24px 16px;
	border: 0;
	border-top: 1px solid var(--border);
	border-radius: 0;
	background: var(--bg);
	box-shadow: none;
	backdrop-filter: none;
}

/* Small "Find me everywhere" label that appears only in the pinned footer bar. */
.social-dock.is-pinned::before {
	content: "Find me everywhere";
	flex-basis: 100%;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .8rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 4px;
}

/* The pin/float toggle button. */
.social-dock__pin {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 0;
	cursor: pointer;
	padding: 8px 14px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .85rem;
	background: color-mix(in srgb, var(--primary) 16%, transparent);
	color: var(--text);
	transition: background .2s ease;
}

.social-dock__pin:hover {
	background: color-mix(in srgb, var(--primary) 28%, transparent);
}

.social-dock.is-pinned .social-dock__pin-label::after {
	content: "";
}

/* Paw-print placeholder shown while real images haven't been added yet. */
.img-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 120px;
	font-size: clamp(1.8rem, 5vw, 3rem);
	opacity: .35;
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

.img-placeholder--tall {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
}

.hero__avatar-placeholder {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: clamp(220px, 34vw, 360px);
	height: clamp(220px, 34vw, 360px);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--surface-2), var(--surface));
	border: 6px solid var(--bg);
	font-size: 4rem;
	opacity: .5;
}

/* ============================ 14. SCROLL REVEAL ======================= */
/* Elements start slightly down + transparent, then fade/slide in when they
   enter the viewport (class added by JS via IntersectionObserver). */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ============================ 15. RESPONSIVE ========================== */
@media (max-width: 860px) {
	.hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__art {
		order: -1;
	}

	.hero__cta,
	.hero__socials {
		justify-content: center;
	}

	.hero__title-sub {
		margin-inline: auto;
	}

	.about {
		grid-template-columns: 1fr;
	}

	.about__portrait {
		max-width: 360px;
		margin-inline: auto;
	}

	.feature {
		grid-template-columns: 1fr;
	}

	.emote-commission {
		grid-template-columns: 1fr;
	}

	.emote-commission__cap {
		padding: 0 clamp(16px, 4vw, 24px) clamp(18px, 4vw, 26px);
	}

	/* Mobile nav: links collapse into a dropdown panel. */
	.nav__toggle {
		display: flex;
	}

	.nav__links {
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 14px clamp(18px, 5vw, 40px) 22px;
		background: color-mix(in srgb, var(--bg) 96%, transparent);
		border-bottom: 1px solid var(--border);
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: transform .22s ease, opacity .22s ease;
	}

	.nav__links.is-open {
		transform: none;
		opacity: 1;
		pointer-events: auto;
	}

	.nav__links a {
		padding: 12px 16px;
	}
}

@media (max-width: 480px) {
	.social-dock__pin-label {
		display: none;
	}

	/* save space on tiny screens */
	.grid--videos {
		grid-template-columns: 1fr;
	}
}

/* ============================ 16. REDUCED MOTION ====================== */
/* Respect users who prefer less animation (accessibility / motion sickness). */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
	}

	html {
		scroll-behavior: auto;
	}

	.reveal {
		transition: none;
		opacity: 1;
		transform: none;
	}
}
