/*
Theme Name: Series Portfolio
Theme URI: https://github.com/Sushmitadasari/Portfolio_series
Author: Arslan — Valora Wave
Description: A cinematic, streaming-inspired one-page portfolio. Every section is an episode, every project is an "Original". Opening titles, a "Who's watching?" selector that reorders the page, seasons & episodes, a project overlay, a Play Intro highlight reel and a resume viewer. All content is edited in WordPress: Customizer → Series settings, plus Originals, Episodes and Moments in the admin menu. Design concept inspired by Sushmita Dasari's "Portfolio_series" (React); rebuilt from scratch for WordPress in PHP and vanilla JavaScript. Not affiliated with any streaming service.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: series-portfolio
Tags: one-column, portfolio, dark, custom-logo, featured-images, theme-options
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	color-scheme: dark;
	--ink: #07070a;
	--ink-2: #0e0e13;
	--ink-3: #16161d;
	--crimson: #e5132b;
	--crimson-2: #ff3d5a;
	--bone: #f4f1ec;
	--mist: #a7a6ad;
	--smoke: #6d6c75;
	--line: rgba(255, 255, 255, 0.1);
	--font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
	--font-serif: 'Instrument Serif', Georgia, serif;
	--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--gutter: clamp(16px, 4vw, 56px);
	--nav-h: 68px;
}

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

html {
	background: var(--ink);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--nav-h);
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--bone);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.sp-locked { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--crimson); color: #fff; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--crimson-2);
	outline-offset: 3px;
	border-radius: 6px;
}

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

.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 999;
	width: auto; height: auto; clip: auto;
	background: var(--bone); color: var(--ink);
	padding: 10px 16px; border-radius: 6px;
}

.gutter { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ==========================================================================
   Atmosphere: grain, streaks, shimmer
   ========================================================================== */
.sp-grain {
	position: fixed; inset: -50%;
	pointer-events: none; z-index: 90;
	opacity: 0.055;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: sp-grain 1.2s steps(6) infinite;
}
@keyframes sp-grain {
	0%, 100% { transform: translate(0, 0); }
	20% { transform: translate(-3%, 2%); }
	40% { transform: translate(2%, -3%); }
	60% { transform: translate(-2%, -1%); }
	80% { transform: translate(3%, 3%); }
}

.sp-streak {
	position: absolute; height: 1px; opacity: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 90, 110, 0.9), transparent);
	animation: sp-streak 7s var(--ease) infinite;
}
@keyframes sp-streak {
	0% { transform: translateX(-40%) scaleX(0.4); opacity: 0; }
	15% { opacity: 0.9; }
	45% { transform: translateX(40%) scaleX(1); opacity: 0; }
	100% { opacity: 0; }
}

.sp-shimmer {
	background: linear-gradient(90deg, var(--bone) 0%, var(--bone) 40%, #ff8a9a 50%, var(--bone) 60%, var(--bone) 100%);
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	animation: sp-shimmer 6s linear infinite;
}
@keyframes sp-shimmer { to { background-position: 200% center; } }

.glass {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
	border: 1px solid var(--line);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}

/* ==========================================================================
   Buttons & small pieces
   ========================================================================== */
.sp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 28px;
	border: 0; border-radius: 8px;
	font-size: 15px; font-weight: 700; text-decoration: none;
	cursor: pointer;
	transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.sp-btn--light { background: var(--bone); color: var(--ink); }
.sp-btn--light:hover { background: #fff; }
.sp-btn--glass { color: var(--bone); font-weight: 600; }
.sp-btn--glass:hover { background: rgba(255, 255, 255, 0.15); }
.sp-btn--outline { background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .25); color: var(--bone); font-weight: 600; }
.sp-btn--outline:hover { border-color: var(--bone); }
.sp-btn--round {
	width: 48px; height: 48px; padding: 0; border-radius: 50%;
	background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: var(--bone); font-size: 18px;
}
.sp-btn--round:hover { border-color: var(--bone); background: rgba(255, 255, 255, .1); }
.sp-btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }

.sp-chip {
	display: inline-flex; align-items: center;
	padding: 4px 10px; border-radius: 999px;
	background: rgba(0, 0, 0, .35);
	font-size: 11px; font-weight: 500; color: rgba(244, 241, 236, .9);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sp-chip--line { background: transparent; border: 1px solid var(--line); color: var(--mist); }

.sp-badge {
	display: inline-block;
	padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px;
	font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--bone);
}

.sp-mark { display: inline-flex; align-items: center; gap: 6px; }
.sp-mark svg { height: 1.15em; width: auto; }
.sp-mark span { font-size: .62em; font-weight: 700; letter-spacing: .36em; color: var(--mist); }

.sp-kicker {
	margin: 0 0 8px;
	font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
	color: var(--crimson-2);
}

/* Reveal on scroll */
.sp-reveal { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.sp-reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Opening sequence
   ========================================================================== */
.sp-opening {
	position: fixed; inset: 0; z-index: 120;
	overflow: hidden; background: #000;
	transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.sp-opening[hidden] { display: none; }
.sp-opening.is-leaving { opacity: 0; transform: scale(1.04); filter: blur(12px); pointer-events: none; }

.sp-opening__bar { position: absolute; left: 0; right: 0; height: 7vh; background: #000; z-index: 30; transition: transform 1.2s var(--ease); }
.sp-opening__bar--top { top: 0; }
.sp-opening__bar--bottom { bottom: 0; }
.sp-opening[data-beat="6"] .sp-opening__bar--top { transform: translateY(-100%); }
.sp-opening[data-beat="6"] .sp-opening__bar--bottom { transform: translateY(100%); }

.sp-opening__glow {
	position: absolute; inset: 0; opacity: 0;
	background: radial-gradient(60% 50% at 50% 55%, rgba(229, 19, 43, .22), transparent 70%);
	transition: opacity 1.4s;
}
.sp-opening:not([data-beat="0"]):not([data-beat="1"]) .sp-opening__glow { opacity: 1; animation: sp-flicker 1.4s; }
@keyframes sp-flicker { 0% { opacity: 0; } 30% { opacity: .9; } 55% { opacity: .5; } 100% { opacity: 1; } }

.sp-opening__studio {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	margin: 0; font-size: clamp(11px, 1.4vw, 14px); font-weight: 600; color: var(--mist);
	letter-spacing: .2em; opacity: 0;
	transition: opacity .6s, letter-spacing 1.6s var(--ease), filter .6s;
}
.sp-opening[data-beat="1"] .sp-opening__studio { opacity: 1; letter-spacing: .6em; }

.sp-opening__portrait {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto;
	height: 68vh; max-width: 900px;
	display: flex; align-items: flex-end; justify-content: center;
	opacity: 0; transform: scale(1.12); filter: blur(18px) brightness(.3);
	transition: opacity 1.6s var(--ease), transform 1.6s var(--ease), filter 1.6s var(--ease);
}
.sp-opening__portrait img,
.sp-opening__portrait svg {
	height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
	mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
}
.sp-opening[data-beat="4"] .sp-opening__portrait,
.sp-opening[data-beat="5"] .sp-opening__portrait,
.sp-opening[data-beat="6"] .sp-opening__portrait { opacity: 1; transform: none; filter: none; }

.sp-opening__vignette { position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 60% at 50% 40%, transparent 30%, rgba(0, 0, 0, .85) 100%); }

.sp-opening__title {
	position: absolute; inset: 0; z-index: 10;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 0 16px; text-align: center;
	transition: transform 1.3s var(--ease);
}
.sp-opening[data-beat="4"] .sp-opening__title,
.sp-opening[data-beat="5"] .sp-opening__title,
.sp-opening[data-beat="6"] .sp-opening__title { transform: translateY(-30vh); }

.sp-opening__name {
	margin: 0; font-family: var(--font-display); font-weight: 400;
	font-size: clamp(4.6rem, 20vw, 15rem); line-height: .82; color: var(--bone);
	text-shadow: 0 8px 40px rgba(0, 0, 0, .8);
	opacity: 0; transform: scale(1.3); filter: blur(20px); letter-spacing: .5em;
	transition: all 1.3s var(--ease);
}
.sp-opening__tag {
	margin: 6px 0 0; font-size: clamp(14px, 1.6vw, 18px); font-weight: 700; color: var(--crimson-2);
	text-shadow: 0 2px 20px rgba(0, 0, 0, .9);
	opacity: 0; letter-spacing: 1.4em; transition: all 1.1s var(--ease);
}
.sp-opening:not([data-beat="0"]):not([data-beat="1"]) .sp-opening__name { opacity: 1; transform: none; filter: none; letter-spacing: .04em; }
.sp-opening[data-beat="3"] .sp-opening__tag,
.sp-opening[data-beat="4"] .sp-opening__tag,
.sp-opening[data-beat="5"] .sp-opening__tag,
.sp-opening[data-beat="6"] .sp-opening__tag { opacity: 1; letter-spacing: .7em; }

.sp-opening__foot {
	position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 20;
	display: flex; flex-direction: column; align-items: center; gap: 24px;
	padding: 0 16px; text-align: center;
}
.sp-opening__role {
	margin: 0; font-size: clamp(10px, 1.3vw, 14px); font-weight: 600; text-transform: uppercase;
	letter-spacing: .3em; color: rgba(244, 241, 236, .9);
	opacity: 0; transform: translateY(14px); transition: all .8s var(--ease);
}
.sp-opening[data-beat="5"] .sp-opening__role,
.sp-opening[data-beat="6"] .sp-opening__role { opacity: 1; transform: none; }

.sp-opening__play {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 16px 36px; border: 0; border-radius: 999px;
	background: var(--bone); color: var(--ink);
	font-size: 16px; font-weight: 800; letter-spacing: .06em; cursor: pointer;
	box-shadow: 0 0 60px rgba(229, 19, 43, .45);
	opacity: 0; transform: scale(.8); pointer-events: none;
	transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .2s;
}
.sp-opening__play:hover { background: #fff; }
.sp-opening[data-beat="6"] .sp-opening__play { opacity: 1; transform: none; pointer-events: auto; }

.sp-opening__skip {
	position: absolute; right: 16px; top: calc(7vh + 12px); z-index: 40;
	padding: 8px 16px; border-radius: 999px;
	background: transparent; border: 1px solid rgba(255, 255, 255, .2);
	font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--mist); cursor: pointer;
	transition: border-color .2s, color .2s;
}
.sp-opening__skip:hover { border-color: rgba(255, 255, 255, .6); color: var(--bone); }

/* ==========================================================================
   Who's watching?
   ========================================================================== */
.sp-profiles {
	position: fixed; inset: 0; z-index: 110;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 24px; background: var(--ink);
	transition: opacity .7s var(--ease);
}
.sp-profiles[hidden] { display: none; }
.sp-profiles.is-leaving { opacity: 0; pointer-events: none; }
.sp-profiles h2 { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: clamp(2.2rem, 5vw, 3.8rem); text-align: center; }
.sp-profiles > p { margin: 0 0 40px; color: var(--mist); text-align: center; }
.sp-profiles__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 36px); }
.sp-profile {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	width: clamp(120px, 15vw, 168px);
	padding: 0; border: 0; background: none; cursor: pointer; text-align: center;
	animation: sp-rise .7s var(--ease) both;
}
.sp-profile:nth-child(2) { animation-delay: .08s; }
.sp-profile:nth-child(3) { animation-delay: .16s; }
.sp-profile:nth-child(4) { animation-delay: .24s; }
@keyframes sp-rise { from { opacity: 0; transform: translateY(24px); } }
.sp-profile__avatar {
	position: relative; display: grid; place-items: center;
	width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
	background: radial-gradient(80% 80% at 30% 20%, color-mix(in srgb, var(--c) 70%, #fff 0%), color-mix(in srgb, var(--c) 35%, #000) 70%);
	box-shadow: inset 0 0 0 3px transparent;
	transition: transform .4s var(--ease), box-shadow .3s;
	font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); color: rgba(255, 255, 255, .92);
}
.sp-profile:hover .sp-profile__avatar,
.sp-profile:focus-visible .sp-profile__avatar { transform: scale(1.06); box-shadow: inset 0 0 0 3px var(--bone); }
.sp-profile__name { font-weight: 600; color: var(--mist); transition: color .2s; }
.sp-profile:hover .sp-profile__name { color: var(--bone); }
.sp-profile__blurb { margin-top: -8px; font-size: 12px; color: var(--smoke); line-height: 1.4; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.sp-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 80;
	height: var(--nav-h);
	display: flex; align-items: center; gap: 28px;
	background: linear-gradient(to bottom, rgba(7, 7, 10, .85), transparent);
	transition: transform .5s var(--ease), background-color .4s;
}
.sp-nav.is-solid { background: rgba(7, 7, 10, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sp-nav.is-hidden { transform: translateY(-100%); }
body.admin-bar .sp-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .sp-nav { top: 46px; } }

.sp-nav__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-size: 28px; letter-spacing: .04em; color: var(--crimson); line-height: 1; }
.sp-nav__brand img { max-height: 36px; width: auto; }
.sp-nav__links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.sp-nav__links a { font-size: 14px; color: rgba(244, 241, 236, .78); text-decoration: none; transition: color .2s; }
.sp-nav__links a:hover,
.sp-nav__links a.is-active { color: var(--bone); }
.sp-nav__links a.is-active { font-weight: 600; }
.sp-nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.sp-switch { position: relative; }
.sp-switch__btn {
	display: flex; align-items: center; gap: 8px;
	padding: 4px; border: 0; background: none; cursor: pointer; font-size: 13px; color: var(--mist);
}
.sp-switch__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--c, var(--crimson)); font-family: var(--font-display); font-size: 18px; color: #fff; }
.sp-switch__menu {
	position: absolute; right: 0; top: calc(100% + 10px);
	min-width: 240px; margin: 0; padding: 8px; list-style: none;
	border-radius: 10px; background: rgba(14, 14, 19, .97); border: 1px solid var(--line);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
	opacity: 0; transform: translateY(-6px); pointer-events: none;
	transition: opacity .25s, transform .25s var(--ease);
}
.sp-switch.is-open .sp-switch__menu { opacity: 1; transform: none; pointer-events: auto; }
.sp-switch__menu button {
	display: flex; align-items: center; gap: 12px; width: 100%;
	padding: 8px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left;
}
.sp-switch__menu button:hover,
.sp-switch__menu button[aria-current="true"] { background: rgba(255, 255, 255, .07); }
.sp-switch__menu strong { display: block; font-size: 14px; }
.sp-switch__menu small { display: block; font-size: 11px; color: var(--smoke); }

.sp-nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.sp-nav__burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--bone); transition: transform .3s var(--ease), opacity .2s; }
.sp-nav.is-menu .sp-nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sp-nav.is-menu .sp-nav__burger span:nth-child(2) { opacity: 0; }
.sp-nav.is-menu .sp-nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.sp-nav__burger { display: block; }
	.sp-nav__links {
		position: fixed; top: var(--nav-h); left: 0; right: 0;
		flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
		background: rgba(7, 7, 10, .97); border-bottom: 1px solid var(--line);
		opacity: 0; transform: translateY(-10px); pointer-events: none;
		transition: opacity .3s, transform .3s var(--ease);
	}
	.sp-nav__links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
	.sp-nav.is-menu .sp-nav__links { opacity: 1; transform: none; pointer-events: auto; }
	.sp-switch__label { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.sp-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.sp-hero__atmo { position: absolute; inset: 0; }
.sp-hero__atmo::before,
.sp-hero__atmo::after { content: ''; position: absolute; border-radius: 50%; filter: blur(32px); }
.sp-hero__atmo::before { right: -10%; top: -10%; width: 80vw; height: 90vh; background: radial-gradient(closest-side, rgba(229, 19, 43, .38), rgba(229, 19, 43, .08) 55%, transparent); }
.sp-hero__atmo::after { left: -10%; bottom: -20%; width: 60vw; height: 70vh; background: radial-gradient(closest-side, rgba(90, 20, 120, .25), transparent); }
@media (min-width: 1024px) { .sp-hero__atmo::before { right: -4%; width: 60vw; } }

.sp-hero__streaks { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.sp-particles { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.sp-hero__portrait {
	position: absolute; left: 0; right: 0; top: 48px; z-index: 2;
	height: 64svh; display: flex; align-items: flex-end; justify-content: center;
	will-change: transform;
}
.sp-hero__frame { position: relative; height: 100%; width: 100%; animation: sp-portrait-in 1.6s var(--ease) .1s both; }
@keyframes sp-portrait-in { from { clip-path: inset(100% -30% -10% -30%); opacity: 0; } to { clip-path: inset(-30% -30% -10% -30%); opacity: 1; } }
.sp-hero__ring {
	position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%);
	width: 78%; height: 78%; max-width: 78vh; border-radius: 50%;
	border: 1px solid rgba(255, 61, 90, .2);
	box-shadow: 0 0 120px rgba(229, 19, 43, .35), inset 0 0 80px rgba(229, 19, 43, .18);
}
.sp-hero__img {
	position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
	height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
	-webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
	mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
}
.sp-hero__rim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 30%, rgba(255, 61, 90, .16), transparent 70%); mix-blend-mode: screen; }

.sp-float { position: absolute; display: none; padding: 10px 16px; border-radius: 12px; animation: sp-float-in .9s var(--ease) both; }
.sp-float p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sp-float small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.sp-float__inner { animation: sp-bob 5s ease-in-out infinite; }
.sp-float--1 { left: 2%; top: 30%; animation-delay: 1.2s; }
.sp-float--2 { right: 0; top: 18%; animation-delay: 1.38s; }
.sp-float--2 .sp-float__inner { animation-duration: 6s; }
.sp-float--3 { right: 4%; bottom: 24%; animation-delay: 1.56s; }
.sp-float--3 .sp-float__inner { animation-duration: 7s; }
@keyframes sp-float-in { from { opacity: 0; filter: blur(6px); } }
@keyframes sp-bob { 50% { transform: translateY(-6px); } }
@media (min-width: 768px) { .sp-float { display: block; } }

.sp-hero__fade-m { position: absolute; left: 0; right: 0; top: 40svh; z-index: 3; height: 36svh; background: linear-gradient(to bottom, transparent, rgba(7, 7, 10, .7), var(--ink)); }
.sp-hero__fade-d { display: none; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, var(--ink) 0%, rgba(7, 7, 10, .7) 32%, transparent 58%); }
.sp-hero__fade-b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 12rem; background: linear-gradient(to top, var(--ink), transparent); }

.sp-hero__copy {
	position: relative; z-index: 4;
	min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: 54svh; padding-bottom: 64px;
	will-change: transform, opacity;
}
.sp-hero__copy > * { animation: sp-rise .9s var(--ease) both; }
.sp-hero__copy > *:nth-child(2) { animation-delay: .08s; }
.sp-hero__copy > *:nth-child(3) { animation-delay: .16s; }
.sp-hero__copy > *:nth-child(4) { animation-delay: .24s; }
.sp-hero__copy > *:nth-child(5) { animation-delay: .32s; }
.sp-hero__copy > *:nth-child(6) { animation-delay: .4s; }
.sp-hero__copy > *:nth-child(7) { animation-delay: .48s; }

.sp-hero__mark { margin-bottom: 12px; font-size: 18px; }
.sp-hero__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 12vw, 11rem); line-height: .82; letter-spacing: .02em; }
.sp-hero__tag { margin: 4px 0 0; font-size: clamp(14px, 1.3vw, 16px); font-weight: 700; letter-spacing: .62em; color: var(--crimson-2); }
.sp-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; font-size: 13px; font-weight: 500; color: var(--mist); }
.sp-hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--smoke); }
.sp-hero__tagline { margin: 16px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 241, 236, .9); }
.sp-hero__intro { max-width: 36rem; margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: rgba(244, 241, 236, .8); }
.sp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

@media (min-width: 640px) { .sp-hero__portrait { height: 70svh; } .sp-hero__copy { padding-bottom: 80px; } }
@media (min-width: 1024px) {
	.sp-hero__portrait { left: auto; right: 3vw; top: 80px; bottom: 0; height: auto; width: 54vw; }
	.sp-hero__frame { height: 86vh; }
	.sp-hero__fade-m { display: none; }
	.sp-hero__fade-d { display: block; }
	.sp-hero__copy { max-width: 52vw; justify-content: center; padding-top: 96px; padding-bottom: 0; }
}
@media (min-width: 1280px) { .sp-hero__portrait { right: 6vw; width: 48vw; } }

/* Monogram portrait fallback */
.sp-monogram text { font-family: var(--font-display); }

/* ==========================================================================
   Sections
   ========================================================================== */
.sp-sections { position: relative; z-index: 5; }
.sp-section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sp-section + .sp-section { border-top: 1px solid rgba(255, 255, 255, .04); }

.sp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.sp-head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .9; letter-spacing: .02em; }
.sp-head h2 em { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--crimson-2); text-transform: none; }
.sp-head p.sp-head__sub { margin: 10px 0 0; max-width: 40rem; color: var(--mist); }

/* Rails */
.sp-rail-wrap { position: relative; }
.sp-rail {
	display: flex; gap: 16px; overflow-x: auto;
	scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
	padding: 8px var(--gutter) 24px; margin: -8px 0 0;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
	perspective: 1200px;
}
.sp-rail::-webkit-scrollbar { display: none; }
.sp-rail > * { scroll-snap-align: start; flex-shrink: 0; }
.sp-rail__arrow {
	position: absolute; top: 0; bottom: 24px; z-index: 6; width: var(--gutter); min-width: 44px;
	display: none; align-items: center; justify-content: center;
	border: 0; cursor: pointer; font-size: 32px; color: var(--bone);
	opacity: 0; transition: opacity .3s;
}
.sp-rail__arrow--prev { left: 0; background: linear-gradient(90deg, rgba(7, 7, 10, .9), transparent); }
.sp-rail__arrow--next { right: 0; background: linear-gradient(-90deg, rgba(7, 7, 10, .9), transparent); }
.sp-rail-wrap:hover .sp-rail__arrow:not([disabled]) { opacity: 1; }
.sp-rail__arrow[disabled] { pointer-events: none; }
@media (hover: hover) and (min-width: 768px) { .sp-rail__arrow { display: flex; } }

/* Tilt */
.sp-tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }

/* Poster backdrop (generated key art) */
.sp-poster { position: absolute; inset: 0; overflow: hidden;
	background:
		radial-gradient(120% 90% at 85% 10%, var(--via) 0%, transparent 60%),
		radial-gradient(90% 80% at 0% 100%, var(--from) 0%, transparent 70%),
		linear-gradient(160deg, var(--from) 0%, var(--to) 100%);
}
.sp-poster::before { content: ''; position: absolute; right: -25%; top: -33%; width: 70%; height: 140%; transform: rotate(18deg); opacity: .4; filter: blur(32px); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 33%, transparent), transparent); }
.sp-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .1) 50%, transparent); }
.sp-poster__scan { position: absolute; inset: 0; opacity: .18; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px); }
.sp-poster__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: luminosity; }
.sp-poster svg.sp-motif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }

.pal-crimson { --from: #24060b; --via: #6e0d1d; --to: #09070a; --accent: #ff3d5a; }
.pal-amber   { --from: #1c1003; --via: #6b3c06; --to: #0a0806; --accent: #ffb547; }
.pal-ocean   { --from: #04121f; --via: #0f4c6e; --to: #05080d; --accent: #4cc9ff; }
.pal-violet  { --from: #120822; --via: #3d1a6e; --to: #07060c; --accent: #b98bff; }
.pal-jade    { --from: #03150f; --via: #0d5a40; --to: #050a08; --accent: #46e3a8; }

/* ==========================================================================
   Continue watching
   ========================================================================== */
.sp-continue { padding-top: 8px; padding-bottom: 24px; margin-top: -48px; position: relative; z-index: 6; }
.sp-continue h2 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.sp-cw { width: min(72vw, 300px); text-decoration: none; }
.sp-cw__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; outline: 1px solid var(--line); transition: transform .5s var(--ease), outline-color .3s; }
.sp-cw:hover .sp-cw__thumb { transform: scale(1.04); outline-color: rgba(255, 255, 255, .35); }
.sp-cw__title { position: absolute; left: 14px; bottom: 16px; z-index: 2; font-family: var(--font-display); font-size: 28px; line-height: 1; }
.sp-cw__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.sp-cw__play span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--bone); background: rgba(0, 0, 0, .4); }
.sp-cw:hover .sp-cw__play { opacity: 1; }
.sp-cw__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .2); }
.sp-cw__bar i { display: block; height: 100%; width: 0; background: var(--crimson); transition: width .6s var(--ease); }
.sp-cw__meta { margin: 8px 0 0; font-size: 12px; color: var(--mist); }

/* ==========================================================================
   About (The Pilot)
   ========================================================================== */
.sp-about { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .sp-about { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.sp-about__lede { margin: 0; font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; color: var(--bone); }
.sp-about__body { margin-top: 20px; color: rgba(244, 241, 236, .78); }
.sp-about__body p { margin: 0 0 1em; }
.sp-about__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sp-cards { display: grid; gap: 14px; }
.sp-card { padding: 20px 22px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .3s; }
.sp-card:hover { border-color: rgba(255, 61, 90, .5); }
.sp-card__k { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--smoke); }
.sp-card h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.sp-card p { margin: 6px 0 0; font-size: 14px; color: var(--mist); }
.sp-card__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--mist); }
.sp-card__row strong { color: var(--crimson-2); font-weight: 600; }

/* ==========================================================================
   Journey (Seasons)
   ========================================================================== */
.sp-seasons__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.sp-seasons__tabs::-webkit-scrollbar { display: none; }
.sp-seasons__tab {
	flex-shrink: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer;
	background: transparent; border: 1px solid var(--line); color: var(--mist); font-size: 14px; font-weight: 600;
	transition: background-color .25s, color .25s, border-color .25s;
}
.sp-seasons__tab:hover { color: var(--bone); border-color: rgba(255, 255, 255, .3); }
.sp-seasons__tab[aria-selected="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.sp-season[hidden] { display: none; }
.sp-season__intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; }
.sp-season__intro h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: .03em; }
.sp-season__intro span { font-size: 13px; color: var(--crimson-2); font-weight: 600; letter-spacing: .1em; }
.sp-season__intro p { flex-basis: 100%; margin: 0; max-width: 46rem; color: var(--mist); }

.sp-ep { width: min(80vw, 380px); }
.sp-ep .sp-tilt { height: 100%; border-radius: 12px; }
.sp-ep__card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--ink-2); outline: 1px solid var(--line); transition: outline-color .4s; }
.sp-ep:hover .sp-ep__card { outline-color: rgba(255, 61, 90, .6); }
.sp-ep__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.sp-ep__thumb .sp-poster { transition: transform 1.2s var(--ease); }
.sp-ep:hover .sp-ep__thumb .sp-poster { transform: scale(1.1); }
.sp-ep__num { position: absolute; right: 8px; bottom: -24px; z-index: 1; font-family: var(--font-display); font-size: 7.5rem; line-height: 1; color: rgba(255, 255, 255, .09); }
.sp-ep__label { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: rgba(244, 241, 236, .8); }
.sp-ep__label b { padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .5); color: var(--bone); }
.sp-ep__title { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: .03em; }
.sp-ep__body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.sp-ep__runtime { margin: 0 0 8px; font-size: 11px; font-weight: 600; color: var(--mist); }
.sp-ep__desc { flex: 1; margin: 0; font-size: 14px; line-height: 1.6; color: rgba(244, 241, 236, .75); }
.sp-ep__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ==========================================================================
   Originals (projects)
   ========================================================================== */
.sp-orig { width: min(84vw, 640px); }
@media (min-width: 1024px) { .sp-orig { width: 46vw; } }
@media (min-width: 1280px) { .sp-orig { width: 42vw; } }
.sp-orig .sp-tilt { border-radius: 16px; }
.sp-orig__card {
	position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
	padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left;
	background: var(--ink-2); outline: 1px solid var(--line);
	transition: outline-color .5s, box-shadow .5s;
}
@media (min-width: 640px) { .sp-orig__card { aspect-ratio: 16 / 12; } }
@media (min-width: 1024px) { .sp-orig__card { aspect-ratio: auto; height: 66vh; min-height: 460px; } }
.sp-orig:hover .sp-orig__card { outline-color: rgba(255, 255, 255, .25); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.sp-orig__card .sp-poster { transition: transform 1.4s var(--ease); }
.sp-orig:hover .sp-orig__card .sp-poster { transform: scale(1.07); }
.sp-orig__top { position: absolute; left: 24px; right: 24px; top: 24px; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.sp-orig__brand { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .34em; color: rgba(244, 241, 236, .8); }
.sp-orig__brand b { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: 0; line-height: 1; color: var(--crimson-2); }
.sp-orig__copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.5vw, 28px); }
.sp-orig__genre { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); }
.sp-orig__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .88; letter-spacing: .03em; }
.sp-orig__logline { max-width: 28rem; margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(244, 241, 236, .75); }
.sp-orig__stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sp-orig__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; min-height: 44px; padding: 0 20px; border-radius: 8px; background: var(--bone); color: var(--ink); font-size: 14px; font-weight: 700; }

/* Project modal */
.sp-modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: clamp(0px, 4vh, 48px) clamp(0px, 3vw, 32px); }
.sp-modal[hidden] { display: none; }
.sp-modal__backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: sp-fade .4s both; }
@keyframes sp-fade { from { opacity: 0; } }
.sp-modal__panel { position: relative; width: 100%; max-width: 980px; min-height: 100%; background: var(--ink-2); border-radius: 0; overflow: hidden; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9); animation: sp-pop .6s var(--ease) both; }
@media (min-width: 720px) { .sp-modal__panel { min-height: 0; border-radius: 16px; } }
@keyframes sp-pop { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.sp-modal__close { position: absolute; right: 16px; top: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0, 0, 0, .6); color: var(--bone); font-size: 20px; }
.sp-modal__close:hover { background: rgba(0, 0, 0, .9); }
.sp-modal__hero { position: relative; aspect-ratio: 16 / 8; min-height: 260px; }
.sp-modal__art { position: absolute; inset: 0; }
.sp-modal__head .sp-orig__brand { margin: 0 0 10px; }
.sp-modal__hero .sp-poster::after { background: linear-gradient(to top, var(--ink-2), rgba(14, 14, 19, .3) 45%, transparent); }
.sp-modal__head { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 4vw, 40px); }
.sp-modal__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .88; letter-spacing: .03em; }
.sp-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 13px; color: var(--mist); }
.sp-modal__meta .match { color: #46e3a8; font-weight: 700; }
.sp-modal__body { padding: 8px clamp(20px, 4vw, 40px) clamp(28px, 4vw, 48px); }
.sp-modal__logline { margin: 0; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; }
.sp-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.sp-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 28px 0; }
.sp-metric { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.sp-metric b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--accent, var(--crimson-2)); }
.sp-metric span { display: block; margin-top: 6px; font-size: 12px; color: var(--mist); line-height: 1.4; }
.sp-modal__content { color: rgba(244, 241, 236, .82); }
.sp-modal__content h2, .sp-modal__content h3, .sp-modal__content h4 { margin: 1.6em 0 .5em; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--smoke); }
.sp-modal__content ul { padding-left: 1.2em; }
.sp-modal__content li { margin: .4em 0; }
.sp-modal__content img { border-radius: 10px; }

/* ==========================================================================
   Top picks
   ========================================================================== */
.sp-pick { position: relative; display: flex; align-items: flex-end; height: 220px; }
.sp-pick__num {
	position: relative; z-index: 1; flex: 0 0 auto; margin-right: -18px;
	font-family: var(--font-display); font-size: 220px; line-height: .78; letter-spacing: -.06em;
	color: var(--ink); -webkit-text-stroke: 3px rgba(244, 241, 236, .35);
	transition: -webkit-text-stroke-color .3s;
}
.sp-pick:hover .sp-pick__num { -webkit-text-stroke-color: var(--crimson-2); }
.sp-pick__card { position: relative; z-index: 2; flex: 0 0 min(56vw, 220px); height: 100%; border-radius: 10px; overflow: hidden; outline: 1px solid var(--line); transition: transform .5s var(--ease); }
.sp-pick:hover .sp-pick__card { transform: translateY(-6px); }
.sp-pick__copy { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.sp-pick__label { margin: 0 0 4px; font-size: 9px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.sp-pick__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: .95; letter-spacing: .03em; }
.sp-pick__detail { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: rgba(244, 241, 236, .7); }

/* ==========================================================================
   Skills
   ========================================================================== */
.sp-skills { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.sp-genre { position: relative; padding: 24px; border-radius: 16px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.sp-genre::before { content: ''; position: absolute; right: -30%; top: -60%; width: 80%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); }
.sp-genre__head { position: relative; margin-bottom: 18px; }
.sp-genre h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; letter-spacing: .03em; }
.sp-genre__sub { margin: 4px 0 0; font-size: 12px; color: var(--mist); }
.sp-genre__count { position: absolute; right: 0; top: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.sp-skill-list { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sp-skill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.sp-skill:hover { border-color: var(--accent); background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.sp-skill__mono { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); font-size: 10px; font-weight: 800; color: var(--accent); }
.sp-skill--primary { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.sp-skill--primary::after { content: '★'; font-size: 10px; color: var(--accent); }

/* ==========================================================================
   Moments (achievements + certifications)
   ========================================================================== */
.sp-awards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sp-award { position: relative; display: flex; flex-direction: column; align-items: center; padding: 32px 22px 26px; border-radius: 16px; text-align: center; overflow: hidden; background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .5s var(--ease); }
a.sp-award:hover { border-color: var(--accent); transform: translateY(-4px); }
.sp-award__laurel { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.sp-award__laurel svg { width: 22px; height: 40px; }
.sp-award__laurel svg:last-child { transform: scaleX(-1); }
.sp-award h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: .95; letter-spacing: .03em; }
.sp-award__org { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--bone); }
.sp-award__detail { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--mist); }
.sp-award__link { margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--accent); }

.sp-certs-head { display: flex; align-items: baseline; justify-content: space-between; margin: clamp(40px, 6vw, 64px) 0 14px; }
.sp-certs-head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.sp-certs-head span { font-size: 12px; color: var(--mist); }
.sp-cert { display: flex; flex-direction: column; justify-content: space-between; width: 240px; min-height: 140px; padding: 18px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
a.sp-cert:hover { border-color: rgba(255, 61, 90, .6); transform: translateY(-3px); }
.sp-cert__issuer { font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--crimson-2); }
.sp-cert__name { margin: 8px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.sp-cert__go { margin-top: 12px; font-size: 12px; color: var(--mist); }

/* ==========================================================================
   Resume (The Full Story)
   ========================================================================== */
.sp-story { position: relative; display: grid; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
@media (min-width: 900px) { .sp-story { grid-template-columns: 1.2fr 1fr; } }
.sp-story::before { content: ''; position: absolute; left: -10%; bottom: -40%; width: 70%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 19, 43, .22), transparent); }
.sp-story > * { position: relative; }
.sp-story h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: .9; }
.sp-story p { color: var(--mist); }
.sp-story__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sp-sheet { position: relative; aspect-ratio: 8.5 / 11; max-width: 360px; width: 100%; margin: 0 auto; padding: 28px 26px; border-radius: 8px; background: var(--bone); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); transform: rotate(-2deg); transition: transform .6s var(--ease); cursor: pointer; border: 0; text-align: left; font: inherit; }
.sp-sheet:hover { transform: rotate(0) translateY(-6px); }
.sp-sheet__name { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.sp-sheet__role { margin-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--crimson); }
.sp-sheet__rule { height: 2px; margin: 14px 0; background: var(--ink); }
.sp-sheet__k { margin: 12px 0 6px; font-size: 8px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #8b8992; }
.sp-sheet__line { height: 6px; margin: 6px 0; border-radius: 3px; background: #d9d5ce; }
.sp-sheet__line:nth-child(odd) { width: 86%; }
.sp-sheet__line:nth-child(3n) { width: 64%; }
.sp-sheet__stamp { position: absolute; right: 18px; bottom: 18px; padding: 4px 10px; border: 2px solid var(--crimson); border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--crimson); transform: rotate(-8deg); }

.sp-pdf { position: fixed; inset: 0; z-index: 130; display: flex; flex-direction: column; background: #0b0b0f; }
.sp-pdf[hidden] { display: none; }
.sp-pdf__bar { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.sp-pdf__bar strong { margin-right: auto; font-size: 15px; }
.sp-pdf iframe { flex: 1; width: 100%; border: 0; background: #2a2a30; }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
.sp-final { position: relative; padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 7vw, 80px); text-align: center; overflow: hidden; }
.sp-final::before { content: ''; position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: 90vw; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 19, 43, .2), transparent); }
.sp-final > * { position: relative; }
.sp-final__tbc { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 11vw, 9.5rem); line-height: .85; letter-spacing: .02em; }
.sp-final__tbc span { color: var(--crimson-2); }
.sp-final__text { max-width: 36rem; margin: 20px auto 0; font-size: 17px; color: var(--mist); }
.sp-final__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.sp-footer { padding: 28px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .06); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; color: var(--smoke); }
.sp-footer a { color: var(--mist); text-decoration: none; }
.sp-footer a:hover { color: var(--bone); }
.sp-footer ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Play Intro (highlight reel)
   ========================================================================== */
.sp-reel { position: fixed; inset: 0; z-index: 140; overflow: hidden; background: #000; }
.sp-reel[hidden] { display: none; }
.sp-reel__bg { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; opacity: .28; animation: sp-reel-zoom 1.4s var(--ease) both; }
.sp-reel__bg img, .sp-reel__bg svg { height: 92vh; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 95%); mask-image: linear-gradient(to bottom, #000 50%, transparent 95%); }
@keyframes sp-reel-zoom { from { transform: scale(1.4); opacity: 0; filter: blur(10px); } }
.sp-reel__shade { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(0, 0, 0, .3), rgba(0, 0, 0, .9)); }
.sp-reel__bars { position: absolute; left: var(--gutter); right: var(--gutter); top: 20px; z-index: 5; display: flex; gap: 6px; }
.sp-reel__bars span { flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .22); }
.sp-reel__bars i { display: block; height: 100%; width: 0; background: var(--bone); }
.sp-reel__bars span.is-done i { width: 100%; }
.sp-reel__top { position: absolute; left: var(--gutter); right: var(--gutter); top: 36px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp-reel__top .sp-mark { font-size: 16px; }
.sp-reel__ctrls { display: flex; gap: 8px; }
.sp-reel__ctrls button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .4); cursor: pointer; color: var(--bone); }
.sp-reel__ctrls button:hover { border-color: var(--bone); }
.sp-reel__tap { position: absolute; top: 90px; bottom: 0; z-index: 3; width: 35%; border: 0; background: transparent; cursor: pointer; }
.sp-reel__tap--prev { left: 0; }
.sp-reel__tap--next { right: 0; }
.sp-reel__stage { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: 100px var(--gutter) 60px; pointer-events: none; text-align: center; }
.sp-slide { max-width: 900px; }
.sp-slide.is-in > * { animation: sp-rise .8s var(--ease) both; }
.sp-slide.is-in > *:nth-child(2) { animation-delay: .1s; }
.sp-slide.is-in > *:nth-child(3) { animation-delay: .2s; }
.sp-slide.is-in > *:nth-child(4) { animation-delay: .3s; }
.sp-slide__kicker { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--crimson-2); }
.sp-slide__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 10vw, 8rem); line-height: .88; letter-spacing: .02em; }
.sp-slide__lines { margin: 22px 0 0; padding: 0; list-style: none; }
.sp-slide__lines li { margin: 6px 0; font-size: clamp(15px, 1.8vw, 19px); color: rgba(244, 241, 236, .82); }
.sp-slide__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }

/* ==========================================================================
   Toast & cursor
   ========================================================================== */
.sp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; font-size: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.sp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.sp-cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.sp-cursor__dot { position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--crimson-2); }
.sp-cursor__ring { position: fixed; display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(244, 241, 236, .45); font-size: 0; font-weight: 800; letter-spacing: .14em; color: var(--ink); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s, font-size .2s; }
.sp-cursor.is-link .sp-cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--crimson-2); }
.sp-cursor.is-view .sp-cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--bone); border-color: var(--bone); font-size: 10px; }
.has-sp-cursor .sp-cursor { display: block; }
.has-sp-cursor, .has-sp-cursor a, .has-sp-cursor button, .has-sp-cursor [role="button"] { cursor: none; }

/* ==========================================================================
   Blog / page templates
   ========================================================================== */
.sp-page { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) var(--gutter) 96px; }
.sp-page__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5rem); line-height: .92; letter-spacing: .02em; }
.sp-page__meta { margin-bottom: 32px; font-size: 13px; color: var(--mist); }
.sp-page__thumb { margin: 0 0 32px; border-radius: 14px; overflow: hidden; }
.sp-entry { font-size: 17px; line-height: 1.75; color: rgba(244, 241, 236, .86); }
.sp-entry h2, .sp-entry h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: 1; color: var(--bone); }
.sp-entry h2 { font-size: 2.4rem; margin: 1.6em 0 .5em; }
.sp-entry h3 { font-size: 1.8rem; margin: 1.4em 0 .4em; }
.sp-entry a { color: var(--crimson-2); }
.sp-entry blockquote { margin: 1.6em 0; padding-left: 1em; border-left: 3px solid var(--crimson); font-family: var(--font-serif); font-size: 1.4em; color: var(--bone); }
.sp-entry pre, .sp-entry code { background: var(--ink-3); border-radius: 6px; }
.sp-entry pre { padding: 16px; overflow-x: auto; }
.sp-entry img { border-radius: 10px; }
.sp-entry .alignwide { margin-left: -8vw; margin-right: -8vw; max-width: none; }
.sp-entry .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.sp-list { display: grid; gap: 18px; }
.sp-list__item { display: block; padding: 24px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.sp-list__item:hover { border-color: rgba(255, 61, 90, .5); }
.sp-list__item h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: .02em; line-height: 1; }
.sp-list__item p { margin: 8px 0 0; color: var(--mist); }
.sp-pagination { display: flex; gap: 10px; margin-top: 32px; }
.sp-pagination a, .sp-pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.sp-pagination .current { background: var(--bone); color: var(--ink); }
.comment-list { padding-left: 0; list-style: none; }
.comment-respond input, .comment-respond textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--ink-2); color: var(--bone); }
.comment-respond .submit { width: auto; padding: 12px 24px; background: var(--bone); color: var(--ink); font-weight: 700; border: 0; cursor: pointer; }
.wp-caption, .gallery-caption { font-size: 13px; color: var(--mist); }
.sticky, .bypostauthor { position: relative; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sp-grain, .sp-streak, .sp-shimmer, .sp-float__inner { animation: none !important; }
	.sp-streak { display: none; }
	.sp-reveal { opacity: 1; transform: none; filter: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
