/*
Theme Name: Cameron Stack One-Page
Description: A one-page portfolio theme for a podcast strategist. Black and neon green, with a hover-preview dock, rotating headline, brand marquee, and shows and interviews you edit from the dashboard.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cameron-stack
License: GPL-2.0-or-later
*/

:root {
	--ink: #050505;
	--panel: #0b0b0b;
	--panel-2: #111111;
	--line: #1b1b1b;
	--line-2: #2a2a2a;
	--text: #f5f5f5;
	--soft: #c9c9c9;
	--muted: #8a8a8a;
	--green: #00ff1a;
	--display: "Inter Tight", "Inter", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--ink); }
html.is-locked { overflow: hidden; }
body {
	margin: 0; background: var(--ink); color: var(--text);
	font-family: var(--body); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); z-index: 60; }

/* Top bar */
.topbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	padding: 16px clamp(20px, 4vw, 48px);
	transition: background 0.25s ease, border-color 0.25s ease;
	border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(5, 5, 5, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; justify-self: start; }
.brand strong { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.brand span { font-size: 12px; color: var(--muted); }
.topnav { display: flex; gap: 28px; font-size: 14px; }
.topnav a { text-decoration: none; color: var(--soft); transition: color 0.15s ease; }
.topnav a:hover { color: var(--green); }
.topbar-cta { justify-self: end; padding: 8px 18px; font-size: 13px; }

/* Pills and links */
.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 24px; border-radius: 999px; border: 1px solid var(--line-2);
	background: transparent; color: var(--text); text-decoration: none;
	font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.pill:hover { border-color: var(--green); color: var(--green); }
.pill-solid { background: var(--green); border-color: var(--green); color: var(--ink); }
.pill-solid:hover { background: #fff; border-color: #fff; color: var(--ink); }
.link { color: var(--green); font-weight: 600; font-size: 14px; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 120px 24px 96px; overflow: hidden;
}
.hero::before {
	content: ""; position: absolute; inset: auto 0 -30% 0; height: 70%;
	background: radial-gradient(ellipse at 50% 100%, rgba(0, 255, 26, 0.14), transparent 62%);
	pointer-events: none;
}
.hero-name, .hero-line { transition: opacity 0.35s ease, filter 0.35s ease; }
.hero-name {
	position: relative; margin: 0 0 clamp(28px, 4.5vw, 56px); font-family: var(--display); font-weight: 700;
	font-size: clamp(46px, 8.4vw, 112px); line-height: 0.98; letter-spacing: -0.05em;
}
.hero-name span { color: var(--green); }
.hero-line {
	position: relative; margin: 0; max-width: 21em; color: var(--soft);
	font-family: var(--display); font-weight: 500; font-size: clamp(26px, 4.1vw, 58px);
	line-height: 1.18; letter-spacing: -0.025em;
}
.swap {
	display: inline-block; font-style: italic; font-weight: 500; color: var(--text);
	transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}
.swap.is-out { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.hero.is-previewing .hero-name, .hero.is-previewing .hero-line { opacity: 0.3; filter: blur(3px); }

.dock-hint { position: relative; margin: 11vh 0 16px; font-size: 13px; color: var(--muted); }
.dock { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 14px; }
.dock-item {
	display: flex; align-items: center; height: 64px; border-radius: 20px;
	text-decoration: none; background: transparent; border: 1px solid transparent;
	transition: background 0.25s ease, border-color 0.25s ease;
}
.dock-icon {
	flex: none; width: 64px; height: 64px; border-radius: 18px;
	display: grid; place-items: center;
	background: linear-gradient(160deg, #1b1b1b, #090909);
	border: 1px solid var(--line-2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	margin: -1px;
}
.dock-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.is-primary .dock-icon { background: var(--green); border-color: var(--green); }
.is-primary .dock-icon svg { stroke: var(--ink); }
.dock-label {
	max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
	font-size: 14px; font-weight: 600; padding-left: 0;
	transition: max-width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, padding 0.35s ease;
}
.dock-item:hover, .dock-item:focus-visible { background: rgba(255, 255, 255, 0.06); border-color: var(--line-2); }
.dock-item:hover .dock-label, .dock-item:focus-visible .dock-label { max-width: 130px; opacity: 1; padding: 0 20px 0 14px; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--line-2); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); }

/* Hover previews */
.preview {
	position: absolute; top: 47%; width: 296px; padding: 20px; text-align: left;
	background: rgba(12, 12, 12, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--line-2); border-radius: 22px;
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.75);
	opacity: 0; filter: blur(8px); transform: translateY(14px) scale(0.96);
	pointer-events: none; transition: opacity 0.3s ease, filter 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
	z-index: 1;
}
.preview-left { left: clamp(24px, 6vw, 110px); }
.preview-right { right: clamp(24px, 6vw, 110px); }
.preview.is-on { opacity: 1; filter: none; transform: none; }
.preview header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.preview header strong { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.tag { font-size: 11px; font-weight: 600; color: var(--green); border: 1px solid rgba(0, 255, 26, 0.4); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.preview p { margin: 0 0 16px; font-size: 14px; color: var(--soft); line-height: 1.5; }
.pv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 0; }
.pv-stats div { display: flex; flex-direction: column; }
.pv-stats dd { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.pv-stats dt { font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
.pv-list { list-style: none; margin: 0 0 12px; padding: 0; }
.pv-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pv-list small { color: var(--muted); }
.pv-foot { color: var(--green) !important; font-weight: 600; margin: 0 !important; }
.pv-title { font-family: var(--display); font-weight: 600; font-size: 19px !important; line-height: 1.2 !important; letter-spacing: -0.02em; color: var(--text) !important; }
.pv-meta { font-size: 12px !important; color: var(--muted) !important; }
.pv-btn { display: block; padding: 11px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }

/* Layout */
.wrap { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.band { padding: 96px 0; border-top: 1px solid var(--line); }
.band h2, .marquee-block h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.035em; }
.sub { margin: 0 0 34px; max-width: 38em; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.actions-between { justify-content: space-between; align-items: center; margin-top: 24px; }

/* Profile */
.profile { border-top: 0; padding-top: 72px; }
.profile-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.lede { margin: 0 0 24px; font-size: 19px; color: var(--soft); line-height: 1.5; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li { position: relative; padding: 9px 0 9px 22px; font-weight: 500; line-height: 1.45; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 6px; border-radius: 1px; background: var(--green); }
.bullets b { color: var(--green); font-weight: 600; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-2); box-shadow: 0 0 80px rgba(0, 255, 26, 0.1); }
.portrait-empty { aspect-ratio: 4 / 5; border: 1px dashed rgba(0, 255, 26, 0.45); border-radius: 24px; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 13px; color: var(--muted); }

/* Marquee */
.marquee-block { padding: 88px 0 0; border-top: 1px solid var(--line); }
.marquee-block h2 { margin-bottom: 32px; }
.marquee {
	background: var(--green); color: var(--ink); overflow: hidden; padding: 26px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee-set span { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.04em; white-space: nowrap; }
.marquee-set span.is-serif { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.marquee-set i { font-style: normal; margin: 0 30px; font-size: 24px; opacity: 0.65; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-block + .band { margin-top: 88px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
	display: flex; flex-direction: column; gap: 10px; margin: 0;
	background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
	text-decoration: none; transition: border-color 0.18s ease;
}
.card h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.22; letter-spacing: -0.025em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.card .meta { color: var(--green); font-size: 13px; font-weight: 600; }
.card .link { margin-top: auto; padding-top: 6px; }
a.card:hover { border-color: rgba(0, 255, 26, 0.5); }
.press-card .byline { font-size: 13px; margin-top: auto; padding-top: 6px; }
.review { gap: 18px; }
.review blockquote { margin: 0; color: #e6e6e6; font-size: 15px; line-height: 1.6; }
.review figcaption { margin-top: auto; color: var(--green); font-size: 13px; font-weight: 600; }
.group { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Shows */
.wrap-wide { max-width: 1040px; }
.show-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; align-items: start; }
.show-card {
	display: flex; flex-direction: column; gap: 16px; padding: 24px 0 0;
	background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0;
}
.show-head { display: flex; align-items: center; gap: 14px; }
.show-head h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -0.03em; }
.show-head .meta { margin: 2px 0 0; color: var(--green); font-size: 13px; font-weight: 600; }
.show-art { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line-2); }
.show-desc { margin: 0; color: var(--muted); font-size: 15px; }
.show-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.show-stats div { display: flex; flex-direction: column; }
.show-stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: -0.04em; }
.show-stats dt { margin-top: 3px; font-size: 12px; color: var(--muted); }
.show-proof { margin: 0; padding-left: 14px; border-left: 2px solid var(--green); color: var(--soft); font-size: 15px; line-height: 1.5; }
.player { display: block; width: 100%; border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.embed { display: flex; flex-direction: column; gap: 10px; }
.embed iframe { display: block; width: 100% !important; max-width: 100% !important; border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.embed iframe[src*="youtube"], .embed iframe[src*="vimeo"] { height: auto !important; aspect-ratio: 16 / 9; }
.player-video { position: relative; aspect-ratio: 16 / 9; border-radius: 0; overflow: hidden; background: var(--panel-2); }
.player-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.more { margin: 28px 0 0; color: var(--green); font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; text-align: center; }
.empty { color: var(--muted); }

/* Interviews */
.interview-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; align-items: start; }
.interview { gap: 10px; padding: 0; background: none; border: 0; border-radius: 0; }
.interview .player, .interview .player-video { margin-bottom: 4px; }

/* Work with me */
.cta { text-align: center; padding: 120px 0; background: radial-gradient(ellipse at 50% 100%, rgba(0, 255, 26, 0.12), transparent 60%); }
.cta .sub { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; margin-top: 8px; }
.pill-lg { padding: 16px 30px; font-size: 15px; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 24px; text-align: center; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }
.foot-links { list-style: none; margin: 0 0 14px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot-links a { text-decoration: none; color: var(--soft); }
.foot-links a:hover { color: var(--green); }

/* Responsive */
.hint-touch { display: none; }
@media (hover: none) {
	.hint-hover { display: none; }
	.hint-touch { display: inline; }
}
@media (max-width: 1100px) {
	.preview { display: none; }
}
@media (max-width: 860px) {
	.topbar { grid-template-columns: 1fr auto; }
	.topnav { display: none; }
	.profile-grid { grid-template-columns: 1fr; }
	.show-grid, .interview-grid { grid-template-columns: 1fr; }
	.portrait { max-width: 360px; }
	.grid, .grid-3 { grid-template-columns: 1fr; }
	.dock-hint { margin-top: 9vh; }
	.dock { gap: 10px; }
	.dock-item:hover .dock-label, .dock-item:focus-visible .dock-label { max-width: 0; padding: 0; opacity: 0; }
	.band { padding: 72px 0; }
}
@media (max-width: 420px) {
	.dock-icon { width: 54px; height: 54px; }
	.dock-item { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee-track { animation: none; }
	* { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
