/* =====================================================================
   PROVERTUM THEME — Main stylesheet
   Like Vikings, we conquer the void.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
	--pv-bg:           #000;
	--pv-bg-elev-1:    #050505;
	--pv-bg-elev-2:    #0a0a0a;
	--pv-bg-band:      #030305;
	--pv-border:       #1a1a1a;
	--pv-border-soft:  #2a2a2a;

	--pv-text:         #f4f4f4;
	--pv-text-2:       #ccc;
	--pv-text-3:       #999;
	--pv-text-muted:   #666;
	--pv-text-faint:   #444;

	--pv-gold:         #c9a961;
	--pv-gold-soft:    rgba(201, 169, 97, 0.12);
	--pv-teal:         #9ec5b8;
	--pv-orange:       #d85a30;
	--pv-blue:         #378add;

	--pv-font-sans:    'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--pv-font-mono:    'JetBrains Mono', 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
	--pv-font-quote:   'Times New Roman', Georgia, serif;

	--pv-max:          1280px;
	--pv-gutter:       48px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
body.provertum-theme {
	margin: 0;
	background: var(--pv-bg);
	color: var(--pv-text-2);
	font-family: var(--pv-font-sans);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.provertum-theme h1, .provertum-theme h2, .provertum-theme h3 {
	color: var(--pv-text);
	font-weight: 300;
	margin: 0;
}
.provertum-theme a { color: var(--pv-text-2); text-decoration: none; transition: color .2s; }
.provertum-theme a:hover { color: var(--pv-text); }
.provertum-theme img { max-width: 100%; height: auto; display: block; }

.pv-main {
	min-height: 50vh;
}

.pv-mono { font-family: var(--pv-font-mono); font-variant-numeric: tabular-nums; }
.pv-quote { font-family: var(--pv-font-quote); font-style: italic; }

/* ---------- Header ---------- */
.pv-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 10;
	padding: 20px var(--pv-gutter);
}
.pv-header__inner {
	max-width: var(--pv-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.pv-header__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--pv-text);
}
.pv-header__logo {
	width: 14px; height: 14px;
	border: 1px solid #aaa;
	position: relative;
}
.pv-header__logo span {
	position: absolute;
	inset: 3px;
	background: var(--pv-gold);
	display: block;
}
.pv-header__name { font-size: 11px; letter-spacing: 4px; }
.pv-header__divider { width: 1px; height: 12px; background: var(--pv-text-faint); }
.pv-header__reg { font-family: var(--pv-font-mono); font-size: 10px; letter-spacing: 2px; color: var(--pv-text-muted); }

.pv-header__nav { display: flex; gap: 28px; }
.pv-header__link {
	font-size: 11px;
	letter-spacing: 2.5px;
	color: var(--pv-text-3);
	padding-bottom: 2px;
}
.pv-header__link:hover { color: var(--pv-text); }
.pv-header__link.is-active {
	color: var(--pv-text);
	border-bottom: 1px solid var(--pv-gold);
}

/* ---------- Hero ---------- */
.pv-hero {
	position: relative;
	height: 620px;
	overflow: hidden;
	background: var(--pv-bg);
}
.pv-hero__stars-tiny,
.pv-hero__stars-medium,
.pv-hero__stars-bright {
	position: absolute; inset: 0;
	pointer-events: none;
}
.pv-hero__stars-tiny {
	background:
		radial-gradient(0.4px 0.4px at 8% 12%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 14% 28%, #d4dcff 50%, transparent),
		radial-gradient(0.4px 0.4px at 22% 8%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 28% 38%, #e8eeff 50%, transparent),
		radial-gradient(0.4px 0.4px at 34% 18%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 41% 52%, #d0d8f0 50%, transparent),
		radial-gradient(0.4px 0.4px at 48% 24%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 55% 68%, #c8d0e8 50%, transparent),
		radial-gradient(0.4px 0.4px at 62% 32%, #ffe5b8 50%, transparent),
		radial-gradient(0.4px 0.4px at 68% 14%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 73% 48%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 79% 22%, #ffd4a8 50%, transparent),
		radial-gradient(0.4px 0.4px at 86% 38%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 91% 58%, #fff5e8 50%, transparent),
		radial-gradient(0.4px 0.4px at 96% 12%, #d4dcff 50%, transparent),
		radial-gradient(0.4px 0.4px at 18% 64%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 32% 82%, #e0e6ff 50%, transparent),
		radial-gradient(0.4px 0.4px at 46% 88%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 58% 78%, #ffe0b8 50%, transparent),
		radial-gradient(0.4px 0.4px at 71% 92%, #fff 50%, transparent),
		radial-gradient(0.4px 0.4px at 84% 84%, #d8e0f0 50%, transparent);
	background-size: 100% 100%;
}
.pv-hero__stars-medium {
	background:
		radial-gradient(1px 1px at 26% 22%, #fff 50%, transparent),
		radial-gradient(1px 1px at 54% 44%, #fff 50%, transparent),
		radial-gradient(1px 1px at 78% 28%, #ffe5b8 50%, transparent),
		radial-gradient(1px 1px at 42% 76%, #fff 50%, transparent),
		radial-gradient(1px 1px at 88% 66%, #d4dcff 50%, transparent);
	animation: pv-twinkle 5s infinite;
}
.pv-hero__stars-bright {
	background:
		radial-gradient(1.5px 1.5px at 18% 48%, #fff 50%, transparent),
		radial-gradient(1.5px 1.5px at 64% 18%, #ffd4a8 50%, transparent),
		radial-gradient(1.5px 1.5px at 92% 82%, #fff 50%, transparent);
	animation: pv-twinkle 7s infinite 1s;
}
.pv-hero__nebula {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(ellipse at 85% 75%, rgba(80,35,15,0.55) 0%, rgba(40,18,8,0.35) 18%, transparent 45%),
		radial-gradient(ellipse at 15% 20%, rgba(15,25,55,0.4) 0%, transparent 40%),
		radial-gradient(ellipse at 50% 50%, rgba(8,12,25,0.4) 0%, var(--pv-bg) 70%);
}
.pv-hero__planet {
	position: absolute;
	right: -180px;
	bottom: -220px;
	width: 680px;
	height: 680px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 28%,
		rgba(220,150,90,0.5) 0%,
		rgba(180,110,70,0.4) 12%,
		rgba(120,70,40,0.35) 28%,
		rgba(70,40,22,0.5) 48%,
		rgba(25,14,8,0.85) 65%,
		var(--pv-bg) 78%);
	box-shadow: inset 80px -40px 100px rgba(0,0,0,0.9), inset -20px 20px 40px rgba(255,200,140,0.08);
	pointer-events: none;
}
.pv-hero__planet--manifesto {
	right: auto;
	left: 70%;
	bottom: auto;
	top: 60%;
	transform: scale(0.6);
	opacity: 0.7;
}

.pv-hero__top-status {
	position: absolute;
	top: 80px; left: var(--pv-gutter);
	font-size: 10px; letter-spacing: 2.5px; color: var(--pv-teal);
	display: flex; align-items: center; gap: 8px;
	z-index: 2;
}
.pv-pulse-dot {
	display: inline-block;
	width: 8px; height: 8px;
	background: var(--pv-teal);
	border-radius: 50%;
	animation: pv-blink 2s infinite;
}

.pv-hero__radar {
	position: absolute;
	top: 140px; right: 50px;
	width: 90px; height: 90px;
	z-index: 2;
}
.pv-radar__ring {
	position: absolute; inset: 0;
	border: 1px solid rgba(201,169,97,0.25);
	border-radius: 50%;
}
.pv-radar__ring--inner { inset: 14px; border-color: rgba(201,169,97,0.18); }
.pv-radar__sweep {
	position: absolute;
	top: 50%; left: 50%;
	width: 42px; height: 1px;
	background: linear-gradient(90deg, var(--pv-gold), transparent);
	transform-origin: left center;
	animation: pv-radar 5s linear infinite;
}
.pv-radar__center {
	position: absolute;
	top: 50%; left: 50%;
	width: 3px; height: 3px;
	background: var(--pv-gold);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
.pv-radar__blip {
	position: absolute;
	width: 2px; height: 2px;
	background: var(--pv-teal);
	border-radius: 50%;
	animation: pv-blink 2s infinite;
}

.pv-hero__content {
	position: relative;
	z-index: 2;
	max-width: var(--pv-max);
	margin: 0 auto;
	padding: 140px var(--pv-gutter) 0;
}
.pv-overline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	font-size: 10px;
	letter-spacing: 4px;
	color: var(--pv-gold);
}
.pv-overline__dash {
	width: 24px; height: 1px;
	background: var(--pv-gold);
}
.pv-hero__title {
	font-size: clamp(36px, 6vw, 64px);
	letter-spacing: -2px;
	line-height: 0.95;
	margin: 0 0 28px;
	text-shadow: 0 2px 30px rgba(0,0,0,0.6);
	max-width: 640px;
}
.pv-hero__title--accent { color: var(--pv-gold); display: inline-block; }
.pv-hero__sub {
	font-size: 15px;
	color: var(--pv-text-3);
	line-height: 1.8;
	max-width: 440px;
	margin: 0 0 36px;
	text-shadow: 0 1px 12px rgba(0,0,0,0.9);
}
.pv-hero__footer {
	position: absolute;
	bottom: 22px; left: var(--pv-gutter); right: var(--pv-gutter);
	display: flex; justify-content: space-between;
	font-family: var(--pv-font-mono);
	font-size: 9px;
	letter-spacing: 2px;
	color: #555;
	z-index: 2;
}

/* ---------- CTAs ---------- */
.pv-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.pv-cta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 18px 32px;
	font-size: 12px;
	letter-spacing: 3px;
	font-weight: 500;
	transition: all .2s;
	cursor: pointer;
	border: 1px solid transparent;
}
.pv-cta--primary {
	background: var(--pv-gold);
	color: #000;
	border-color: var(--pv-gold);
}
.pv-cta--primary:hover { background: #e0bd6f; color: #000; transform: translateY(-1px); }
.pv-cta--secondary {
	color: var(--pv-text-2);
	border-color: var(--pv-border-soft);
	background: rgba(15,15,15,0.5);
	backdrop-filter: blur(4px);
}
.pv-cta--secondary:hover { color: var(--pv-text); border-color: var(--pv-text-3); }
.pv-cta--secondary svg { color: var(--pv-teal); }

/* ---------- Page hero (smaller, for sub-pages) ---------- */
.pv-page-hero {
	position: relative;
	height: 200px;
	overflow: hidden;
	background: var(--pv-bg);
	padding: 90px var(--pv-gutter) 0;
}
.pv-page-hero__content {
	position: relative;
	z-index: 2;
	max-width: var(--pv-max);
	margin: 0 auto;
}
.pv-page-hero__content--center {
	text-align: center;
}
.pv-page-hero__title {
	font-size: 36px;
	letter-spacing: -1px;
	line-height: 1;
}
.pv-page-hero__telemetry {
	position: absolute;
	bottom: 32px; right: var(--pv-gutter);
	font-size: 11px;
	color: var(--pv-text-3);
	text-align: right;
	z-index: 2;
}

/* ---------- Sections ---------- */
.pv-section {
	padding: 48px var(--pv-gutter);
	max-width: var(--pv-max);
	margin: 0 auto;
	border-top: 1px solid var(--pv-border);
}
.pv-section--alt { background: var(--pv-bg-band); }
.pv-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 24px;
}
.pv-section__head--center { display: block; text-align: center; }
.pv-section__overline {
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--pv-gold);
	margin-bottom: 6px;
}
.pv-section__overline--center { margin-bottom: 14px; }
.pv-section__title {
	font-size: 18px;
	color: var(--pv-text);
	font-weight: 300;
}
.pv-section__title--center { font-size: 26px; margin: 12px 0; }
.pv-section__more {
	font-size: 10px;
	letter-spacing: 2px;
	color: var(--pv-text-3);
}
.pv-section__text {
	font-size: 14px;
	color: var(--pv-text-3);
	line-height: 1.8;
	max-width: 440px;
}

/* ---------- Bands (manifesto pull-quote, etymology) ---------- */
.pv-band {
	background: var(--pv-bg-band);
	padding: 56px var(--pv-gutter);
	border-top: 1px solid var(--pv-border);
	text-align: center;
}
.pv-band--manifesto .pv-band__quote {
	font-size: 24px;
	color: var(--pv-text-2);
	line-height: 1.6;
	font-weight: 200;
	margin: 0 auto;
	max-width: 740px;
}
.pv-band__cta {
	margin-top: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}
.pv-divider {
	font-size: 9px;
	letter-spacing: 5px;
	color: var(--pv-text-3);
	margin-bottom: 10px;
}
.pv-divider--ceremonial { color: #888; }
.pv-divider__line {
	display: inline-block;
	width: 40px; height: 1px;
	background: #333;
}
.pv-divider__line--center {
	display: block;
	width: 60px;
	margin: 28px auto;
	background: var(--pv-gold);
}
.pv-link {
	font-size: 11px;
	letter-spacing: 4px;
	color: var(--pv-gold);
}
.pv-link:hover { color: var(--pv-text); }

/* ---------- Ship grid ---------- */
.pv-ship-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.pv-ship-grid--four {
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
@media (max-width: 1000px) {
	.pv-ship-grid, .pv-ship-grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.pv-ship-grid, .pv-ship-grid--four { grid-template-columns: 1fr; }
}

.pv-ship-card {
	background: var(--pv-bg-elev-2);
	border: 1px solid var(--pv-border);
	overflow: hidden;
	transition: all .25s;
	position: relative;
}
.pv-ship-card:hover { border-color: var(--pv-gold); transform: translateY(-2px); }
.pv-ship-card.is-recruiting { border-color: #5a2818; }
.pv-ship-card.is-recruiting::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--pv-orange), transparent);
	animation: pv-blink 2.2s infinite;
	z-index: 2;
}
.pv-ship-card__link { display: block; }
.pv-ship-card__image {
	height: 140px;
	background: #000;
	position: relative;
	overflow: hidden;
}
.pv-ship-card__image img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.pv-ship-card:hover .pv-ship-card__image img { transform: scale(1.04); }
.pv-ship-card__no-image {
	display: flex; align-items: center; justify-content: center;
	height: 100%;
	font-size: 40px;
	color: var(--pv-text-faint);
}
.pv-ship-card__model {
	position: absolute;
	top: 10px; left: 12px;
	font-family: var(--pv-font-mono);
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--role-color);
	font-weight: 500;
}
.pv-ship-card__role {
	position: absolute;
	top: 8px; right: 10px;
	font-size: 9px;
	letter-spacing: 1.5px;
	padding: 3px 8px;
	border: 0.5px solid;
}
.pv-ship-card__body { padding: 16px 18px 18px; }
.pv-ship-card__name {
	font-size: 16px;
	color: var(--pv-text);
	font-weight: 400;
	margin: 0 0 3px;
}
.pv-ship-card__captain {
	font-size: 11px;
	color: var(--pv-text-muted);
	letter-spacing: 1px;
	margin-bottom: 16px;
}
.pv-ship-card__progress {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.pv-ship-card__bar {
	flex: 1;
	height: 2px;
	background: var(--pv-border);
}
.pv-ship-card__bar span {
	display: block;
	height: 100%;
}
.pv-ship-card__crew-count {
	font-family: var(--pv-font-mono);
	font-size: 10px;
	letter-spacing: 1px;
}
.pv-ship-card__crew { display: flex; gap: 4px; }
.pv-crew-dot {
	width: 22px; height: 22px;
	border-radius: 50%;
	background: #2a2d32;
	color: var(--pv-text-2);
	font-size: 10px;
	display: flex; align-items: center; justify-content: center;
}
.pv-crew-dot.is-captain { font-weight: 500; }
.pv-crew-dot.pv-crew-more { font-size: 9px; }
.pv-crew-dot.pv-crew-open {
	background: transparent;
	border: 1px dashed;
	font-size: 12px;
}

/* ---------- Filters ---------- */
.pv-filters {
	max-width: var(--pv-max);
	margin: 0 auto;
	padding: 24px var(--pv-gutter);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 10px;
	letter-spacing: 2px;
	border-top: 1px solid var(--pv-border);
	border-bottom: 1px solid var(--pv-border);
	background: var(--pv-bg-elev-1);
}
.pv-filters__label { color: var(--pv-text-muted); margin-right: 8px; }
.pv-filter {
	padding: 6px 14px;
	border: 0.5px solid var(--pv-border-soft);
	color: var(--pv-text-3);
}
.pv-filter:hover, .pv-filter.is-active {
	border-color: var(--pv-gold);
	color: var(--pv-gold);
}

/* ---------- Ship detail hero ---------- */
.pv-ship-hero {
	position: relative;
	height: 480px;
	overflow: hidden;
	background: var(--pv-bg);
	padding-top: 80px;
}
.pv-ship-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.7;
}
.pv-ship-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.95) 100%),
		linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 50%);
}
.pv-ship-hero__content {
	position: absolute;
	bottom: 48px;
	left: var(--pv-gutter);
	z-index: 2;
	max-width: 600px;
}
.pv-ship-hero__title {
	font-size: 54px;
	letter-spacing: -1.5px;
	line-height: 1;
	margin: 8px 0;
	text-shadow: 0 2px 24px rgba(0,0,0,0.8);
}
.pv-ship-hero__sub {
	font-size: 14px;
	color: var(--pv-text-3);
	letter-spacing: 1px;
}
.pv-ship-hero__status {
	position: absolute;
	bottom: 48px;
	right: var(--pv-gutter);
	z-index: 2;
	text-align: right;
}
.pv-ship-hero__status-line {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 8px;
	font-size: 12px;
	letter-spacing: 2px;
}

.pv-ship-desc {
	font-size: 17px;
	line-height: 1.8;
	color: var(--pv-text-2);
	max-width: 720px;
	margin: 0 0 36px;
}

.pv-ship-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--pv-border);
}
@media (max-width: 700px) { .pv-ship-stats { grid-template-columns: repeat(2, 1fr); } }
.pv-stat__label {
	font-size: 9px;
	letter-spacing: 2.5px;
	color: var(--pv-text-muted);
	margin-bottom: 8px;
}
.pv-stat__value {
	font-size: 28px;
	font-weight: 200;
	color: var(--pv-text);
}

/* ---------- Crew positions ---------- */
.pv-positions__count {
	font-size: 10px;
	color: var(--pv-text-3);
	letter-spacing: 2px;
}
.pv-positions__list {
	display: grid;
	gap: 12px;
}
.pv-position {
	background: var(--pv-bg-elev-2);
	border: 1px solid var(--pv-border);
	padding: 18px 22px;
	display: flex;
	align-items: center;
	gap: 18px;
	transition: all .2s;
}
.pv-position.is-open {
	border: 1px dashed var(--role-color, var(--pv-gold));
	cursor: pointer;
}
.pv-position.is-open:hover {
	background: rgba(201, 169, 97, 0.04);
}
.pv-position__avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #2a2d32;
	color: var(--pv-text-2);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.pv-position__avatar--open {
	background: transparent;
	border: 1px dashed var(--role-color, var(--pv-gold));
	color: var(--role-color, var(--pv-gold));
	font-size: 20px;
	font-weight: 300;
}
.pv-position__info { flex: 1; }
.pv-position__role {
	font-size: 10px;
	letter-spacing: 2px;
	color: var(--pv-text-3);
	margin-bottom: 4px;
}
.pv-position__member {
	font-size: 15px;
	color: var(--pv-text);
	font-weight: 400;
}
.pv-position__cta {
	font-size: 11px;
	letter-spacing: 3px;
	color: var(--pv-text-3);
	font-weight: 500;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: color .2s;
}
.pv-position.is-open:hover .pv-position__cta {
	color: var(--role-color, var(--pv-gold));
}

.pv-positions__leave {
	margin-top: 24px;
	text-align: right;
}
.pv-leave-btn {
	background: transparent;
	border: 1px solid var(--pv-orange);
	color: var(--pv-orange);
	padding: 10px 20px;
	font-size: 11px;
	letter-spacing: 2px;
	cursor: pointer;
}
.pv-leave-btn:hover { background: var(--pv-orange); color: #000; }

.pv-crew-status {
	margin-top: 18px;
	padding: 12px 18px;
	border-left: 2px solid var(--pv-gold);
	font-size: 13px;
}
.pv-crew-status.is-error { border-left-color: var(--pv-orange); color: var(--pv-orange); }

.pv-ship-links { margin-top: 36px; text-align: right; }

/* ---------- Etymology / band ---------- */
.pv-band--etymology { padding-top: 56px; padding-bottom: 56px; }
.pv-etymology__title {
	text-align: center;
	margin-bottom: 32px;
}
.pv-etymology__title .pv-quote {
	display: block;
	font-size: 32px;
	color: var(--pv-text);
	font-weight: 200;
	margin-bottom: 6px;
}
.pv-etymology__title .pv-mono {
	font-size: 11px;
	color: var(--pv-text-3);
	letter-spacing: 3px;
}
.pv-etymology__pronounce {
	font-size: 13px;
	color: var(--pv-text-3);
	letter-spacing: 3px;
}
.pv-etymology__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--pv-border);
	border: 1px solid var(--pv-border);
	max-width: 960px;
	margin: 0 auto;
}
@media (max-width: 800px) { .pv-etymology__grid { grid-template-columns: 1fr; } }
.pv-etymology__root {
	background: var(--pv-bg-band);
	padding: 24px 28px;
	text-align: center;
}
.pv-etymology__root--full { padding: 36px 32px; text-align: left; }
.pv-etymology__num {
	font-size: 11px;
	color: var(--pv-gold);
	letter-spacing: 2px;
	margin-bottom: 8px;
}
.pv-etymology__word {
	font-size: 22px;
	color: var(--pv-text);
	margin-bottom: 4px;
}
.pv-etymology__label {
	font-size: 9px;
	letter-spacing: 2.5px;
	color: var(--pv-text-muted);
	margin-bottom: 14px;
}
.pv-etymology__desc {
	font-size: 13px;
	color: var(--pv-text-3);
	line-height: 1.8;
	margin: 0 0 18px;
}
.pv-etymology__divider {
	height: 0.5px;
	background: var(--pv-border);
	margin-bottom: 14px;
}
.pv-etymology__takeaway-label {
	font-size: 10px;
	letter-spacing: 2px;
	color: var(--pv-gold);
	margin-bottom: 4px;
}
.pv-etymology__takeaway {
	font-size: 13px;
	color: var(--pv-text-2);
	line-height: 1.6;
}
.pv-etymology__motto {
	font-size: 12px;
	color: var(--pv-text-3);
	line-height: 1.6;
}
.pv-etymology__summary {
	margin-top: 36px;
	text-align: center;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
	font-size: 15px;
	color: var(--pv-text-3);
	line-height: 1.9;
}

/* ---------- Manifesto page ---------- */
.pv-manifesto-hero {
	position: relative;
	min-height: 620px;
	overflow: hidden;
	background: var(--pv-bg);
	padding: 140px var(--pv-gutter) 80px;
}
.pv-manifesto-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 740px;
	margin: 0 auto;
}
.pv-manifesto-hero__quote {
	font-size: clamp(28px, 4vw, 42px);
	color: var(--pv-text);
	font-weight: 200;
	line-height: 1.25;
	margin: 28px 0;
}
.pv-manifesto-hero__body {
	font-size: 16px;
	color: var(--pv-text-3);
	line-height: 1.85;
	margin: 0 auto 20px;
	max-width: 560px;
}

.pv-band--question { padding: 48px var(--pv-gutter); text-align: center; }
.pv-band--question__pre {
	font-size: 11px;
	letter-spacing: 4px;
	color: var(--pv-text-3);
	margin-bottom: 18px;
}
.pv-band--question__hero {
	font-size: 28px;
	color: var(--pv-text);
	letter-spacing: 8px;
	font-weight: 300;
}
.pv-band--question__post {
	font-size: 13px;
	color: var(--pv-text-muted);
	margin-top: 18px;
	letter-spacing: 1px;
}

.pv-section--etymology-full,
.pv-section--charter {
	padding: 64px var(--pv-gutter);
}

.pv-charter__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
	margin: 48px 0;
}
@media (max-width: 800px) { .pv-charter__grid { grid-template-columns: 1fr; } }
.pv-charter__head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--pv-border);
}
.pv-charter__num { font-size: 11px; color: var(--pv-text-muted); letter-spacing: 2px; }
.pv-charter__title { font-size: 11px; letter-spacing: 3px; color: var(--pv-gold); }
.pv-charter__list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 13px;
	color: var(--pv-text-3);
	line-height: 1.9;
}
.pv-charter__list li {
	padding-left: 18px;
	position: relative;
	margin-bottom: 12px;
}
.pv-charter__list li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--pv-text-faint);
}

.pv-chain-of-command {
	margin-top: 32px;
	padding-top: 40px;
	border-top: 1px solid var(--pv-border);
	text-align: center;
}
.pv-chain__row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 28px;
}
.pv-chain__rank { padding: 14px 28px; text-align: center; }
.pv-chain__num { font-size: 9px; color: var(--pv-text-muted); letter-spacing: 2px; margin-bottom: 6px; }
.pv-chain__title { font-size: 14px; letter-spacing: 3px; color: var(--pv-text); }
.pv-chain__connector { width: 32px; height: 1px; background: #333; }

/* ---------- Activities ---------- */
.pv-activities-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1px;
	background: var(--pv-border);
	border: 1px solid var(--pv-border);
}
.pv-activities-grid--compact { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .pv-activities-grid, .pv-activities-grid--compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pv-activities-grid, .pv-activities-grid--compact { grid-template-columns: 1fr; } }

.pv-activity {
	background: var(--pv-bg-elev-1);
	padding: 20px 16px;
	transition: all .25s;
	display: block;
	color: var(--pv-text-3);
}
.pv-activity--full { padding: 28px 22px; }
.pv-activity:hover {
	background: rgba(201, 169, 97, 0.04);
	color: var(--pv-text);
}
.pv-activity:hover svg { stroke: var(--pv-gold); }
.pv-activity__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
}
.pv-activity__icon {
	width: 32px; height: 32px;
	color: var(--pv-text-3);
	transition: color .25s;
}
.pv-activity__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.pv-activity__num { font-size: 9px; color: var(--pv-text-faint); }
.pv-activity__label {
	font-size: 12px;
	letter-spacing: 2px;
	color: var(--pv-text);
	margin: 10px 0 8px;
}
.pv-activities-grid--compact .pv-activity__label { font-size: 10px; letter-spacing: 1.5px; }
.pv-activity__tagline {
	font-size: 11px;
	color: var(--pv-text-muted);
	line-height: 1.6;
	margin: 0 0 14px;
}
.pv-activity__count {
	font-size: 9px;
	color: var(--pv-text-3);
	letter-spacing: 1.5px;
}
.pv-activities-grid--compact .pv-activity__count { font-size: 9px; margin-top: 4px; }

/* ---------- Discord panel ---------- */
.pv-discord-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
@media (max-width: 800px) { .pv-discord-row { grid-template-columns: 1fr; } }
.pv-discord-panel {
	background: var(--pv-bg-elev-2);
	border: 1px solid var(--pv-border);
	padding: 22px;
}
.pv-discord-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 0.5px solid var(--pv-border);
}
.pv-discord-title { font-size: 14px; color: var(--pv-text); }
.pv-discord-status {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-family: var(--pv-font-mono);
	color: var(--pv-teal);
}
.pv-discord-section-label {
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--pv-text-muted);
	margin-bottom: 10px;
}
.pv-discord-members {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 18px;
}
.pv-discord-member {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--pv-text-2);
}
.pv-discord-more { color: var(--pv-text-muted); }
.pv-discord-dot {
	width: 5px; height: 5px;
	background: var(--pv-teal);
	border-radius: 50%;
}
.pv-cta-discord {
	display: block;
	background: var(--pv-gold);
	color: #000;
	padding: 12px;
	text-align: center;
	font-size: 11px;
	letter-spacing: 2.5px;
	font-weight: 500;
}
.pv-cta-discord:hover { background: #e0bd6f; color: #000; }

/* ---------- Footer ---------- */
.pv-footer {
	background: var(--pv-bg);
	border-top: 1px solid var(--pv-border);
}
.pv-footer__cta {
	padding: 64px var(--pv-gutter);
	text-align: center;
	max-width: var(--pv-max);
	margin: 0 auto;
}
.pv-footer__heading {
	font-size: 36px;
	color: var(--pv-text);
	font-weight: 300;
	margin: 14px 0;
	letter-spacing: -1px;
}
.pv-footer__sub {
	font-size: 15px;
	color: var(--pv-text-muted);
	max-width: 480px;
	margin: 0 auto 32px;
	line-height: 1.7;
}
.pv-footer__cta .pv-cta-row { justify-content: center; }
.pv-footer__base {
	padding: 32px var(--pv-gutter);
	border-top: 0.5px solid var(--pv-border);
	max-width: var(--pv-max);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--pv-text-faint);
}
.pv-footer__motto { color: var(--pv-text-3); }
@media (max-width: 700px) {
	.pv-footer__base { flex-direction: column; gap: 12px; }
}

/* ---------- Empty / fallback ---------- */
.pv-empty {
	text-align: center;
	padding: 80px 20px;
	color: var(--pv-text-muted);
	font-size: 14px;
}
.pv-post { max-width: 720px; margin: 0 auto; }
.pv-post__content { color: var(--pv-text-2); line-height: 1.8; font-size: 16px; margin-top: 24px; }
.pv-post__content p { margin: 0 0 1.5em; }

/* ---------- Animations ---------- */
@keyframes pv-twinkle {
	0%, 100% { opacity: 0.9; }
	50% { opacity: 0.35; }
}
@keyframes pv-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}
@keyframes pv-radar {
	0% { transform: rotate(0); }
	100% { transform: rotate(360deg); }
}

/* ---------- Mobile-first nav (small adjustments) ---------- */
@media (max-width: 700px) {
	.pv-header__inner { flex-wrap: wrap; }
	.pv-header__nav { gap: 16px; font-size: 10px; }
	.pv-hero__radar { display: none; }
	.pv-hero__title { font-size: 36px; }
	.pv-ship-hero__title { font-size: 36px; }
	.pv-page-hero__title { font-size: 24px; }
	:root { --pv-gutter: 20px; }
}

/* =====================================================================
   v1.0.3 — Warm highlight animations
   Embers under the ice: ambient orange/gold glow at the focal points.
   ===================================================================== */

:root {
	--pv-glow-orange:      rgba(216, 90, 48, 0.45);
	--pv-glow-orange-soft: rgba(216, 90, 48, 0.18);
	--pv-glow-gold:        rgba(201, 169, 97, 0.55);
	--pv-glow-gold-soft:   rgba(201, 169, 97, 0.20);
}

/* --- Hero title — ambient orange glow that breathes behind the accent line --- */
.pv-hero__title--accent {
	position: relative;
	display: inline-block;
}
.pv-hero__title--accent::before {
	content: '';
	position: absolute;
	inset: -60px -90px;
	background:
		radial-gradient(ellipse at 30% 50%, var(--pv-glow-orange) 0%, transparent 60%),
		radial-gradient(ellipse at 70% 50%, var(--pv-glow-gold-soft) 0%, transparent 65%);
	filter: blur(28px);
	z-index: -1;
	pointer-events: none;
	animation: pv-ember-breathe 6s ease-in-out infinite;
}
@keyframes pv-ember-breathe {
	0%, 100% { opacity: 0.55; transform: scale(0.95); }
	50%      { opacity: 1.0;  transform: scale(1.08); }
}

/* --- Section overlines — slow golden shimmer across the labels ---
   Skip overlines that have an inline style (those carry role-specific colors) */
.pv-section__overline:not([style]),
.pv-overline > span:not(.pv-overline__dash) {
	background: linear-gradient(
		90deg,
		var(--pv-gold) 0%,
		#f5d089 30%,
		#ffe9b0 50%,
		#f5d089 70%,
		var(--pv-gold) 100%
	);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: pv-shimmer 6s linear infinite;
}
@keyframes pv-shimmer {
	0%   { background-position: 100% 50%; }
	100% { background-position: -100% 50%; }
}

/* --- Ship card — scan-line sweep on hover --- */
.pv-ship-card { isolation: isolate; }
.pv-ship-card::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(216, 90, 48, 0.8) 50%,
		transparent 100%
	);
	box-shadow: 0 0 12px rgba(216, 90, 48, 0.6);
	opacity: 0;
	transform: translateY(0);
	z-index: 4;
	pointer-events: none;
}
.pv-ship-card:hover::after {
	animation: pv-scan-sweep 1.4s ease-out;
}
@keyframes pv-scan-sweep {
	0%   { opacity: 0; transform: translateY(0); }
	8%   { opacity: 1; }
	92%  { opacity: 1; }
	100% { opacity: 0; transform: translateY(140px); }
}

/* Card-wide ambient hover glow */
.pv-ship-card {
	transition: all .25s, box-shadow .35s ease-out;
}
.pv-ship-card:hover {
	box-shadow:
		0 0 0 1px var(--pv-gold),
		0 8px 32px -8px rgba(201, 169, 97, 0.35),
		0 0 60px -20px rgba(216, 90, 48, 0.25);
}

/* --- Recruiting ships — stronger always-on orange pulse glow --- */
.pv-ship-card.is-recruiting {
	border-color: rgba(216, 90, 48, 0.55);
	animation: pv-recruit-pulse 3.5s ease-in-out infinite;
}
@keyframes pv-recruit-pulse {
	0%, 100% {
		box-shadow:
			0 0 0 1px rgba(216, 90, 48, 0.4),
			0 0 24px -8px rgba(216, 90, 48, 0.45),
			inset 0 0 32px -16px rgba(216, 90, 48, 0.25);
	}
	50% {
		box-shadow:
			0 0 0 1px rgba(216, 90, 48, 0.75),
			0 0 36px -4px rgba(216, 90, 48, 0.65),
			inset 0 0 48px -12px rgba(216, 90, 48, 0.45);
	}
}
.pv-ship-card.is-recruiting:hover {
	box-shadow:
		0 0 0 1px var(--pv-orange),
		0 12px 40px -8px rgba(216, 90, 48, 0.6),
		0 0 80px -16px rgba(216, 90, 48, 0.4);
}

/* --- Manifesto band — ambient warm glow behind the pull-quote --- */
.pv-band--manifesto {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.pv-band--manifesto::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 90%; height: 280%;
	background: radial-gradient(
		ellipse at center,
		var(--pv-glow-orange-soft) 0%,
		var(--pv-glow-gold-soft) 25%,
		transparent 55%
	);
	filter: blur(36px);
	transform: translate(-50%, -50%);
	z-index: -1;
	pointer-events: none;
	animation: pv-ember-breathe 8s ease-in-out infinite;
}

/* Same treatment for the band--etymology so it doesn't feel cold next to it */
.pv-band--etymology {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.pv-band--etymology::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 80%; height: 200%;
	background: radial-gradient(
		ellipse at center,
		var(--pv-glow-gold-soft) 0%,
		transparent 60%
	);
	filter: blur(40px);
	transform: translate(-50%, -50%);
	z-index: -1;
	pointer-events: none;
	animation: pv-ember-breathe 10s ease-in-out infinite reverse;
}

/* --- CTA primary — slow metallic shine sweep --- */
.pv-cta--primary {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.pv-cta--primary::before {
	content: '';
	position: absolute;
	top: 0; left: -150%;
	width: 70%; height: 100%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 240, 200, 0.5) 50%,
		transparent 100%
	);
	transform: skewX(-20deg);
	pointer-events: none;
	animation: pv-shine 5s ease-in-out infinite;
}
@keyframes pv-shine {
	0%, 60% { left: -150%; }
	100%    { left: 200%; }
}
.pv-cta--primary:hover {
	box-shadow:
		0 0 0 1px var(--pv-gold),
		0 8px 24px -6px rgba(201, 169, 97, 0.6),
		0 0 40px -10px rgba(216, 90, 48, 0.4);
}

/* (stat values intentionally have no shimmer — they often carry inline colors
   for role / status / role color and would conflict with text-fill-color.) */

/* --- Hero CTA "ENLIST NOW" — make the arrow glow --- */
.pv-cta--primary span {
	display: inline-block;
	animation: pv-arrow-nudge 2.5s ease-in-out infinite;
}
@keyframes pv-arrow-nudge {
	0%, 100% { transform: translateX(0); }
	50%      { transform: translateX(4px); }
}

/* --- Etymology dot pulse — make the · separators in PRO·VER·TUM breathe --- */
.pv-etymology__title .pv-mono {
	background: linear-gradient(
		90deg,
		var(--pv-text-3) 0%,
		var(--pv-gold) 50%,
		var(--pv-text-3) 100%
	);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: pv-shimmer 5s linear infinite;
}

/* --- Friend/Foe band (manifesto page) — warm ambient glow --- */
.pv-band--question {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.pv-band--question::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 70%; height: 250%;
	background: radial-gradient(
		ellipse at center,
		var(--pv-glow-orange) 0%,
		var(--pv-glow-orange-soft) 25%,
		transparent 55%
	);
	filter: blur(48px);
	transform: translate(-50%, -50%);
	z-index: -1;
	pointer-events: none;
	animation: pv-ember-breathe 7s ease-in-out infinite;
}

/* --- Footer CTA section — same ambient glow as manifesto --- */
.pv-footer__cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.pv-footer__cta::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 80%; height: 220%;
	background: radial-gradient(
		ellipse at center,
		var(--pv-glow-gold-soft) 0%,
		var(--pv-glow-orange-soft) 30%,
		transparent 60%
	);
	filter: blur(40px);
	transform: translate(-50%, -50%);
	z-index: -1;
	pointer-events: none;
	animation: pv-ember-breathe 9s ease-in-out infinite;
}

/* --- Activity tiles — subtle gold border on hover --- */
.pv-activity {
	transition: all .3s ease;
}
.pv-activity:hover {
	box-shadow:
		inset 0 0 0 1px rgba(201, 169, 97, 0.35),
		0 0 24px -8px rgba(201, 169, 97, 0.3);
}

/* --- Respect users who don't want motion --- */
@media (prefers-reduced-motion: reduce) {
	.pv-hero__title--accent::before,
	.pv-band--manifesto::before,
	.pv-band--etymology::before,
	.pv-band--question::before,
	.pv-footer__cta::before,
	.pv-ship-card.is-recruiting,
	.pv-cta--primary::before,
	.pv-section__overline:not([style]),
	.pv-overline > span:not(.pv-overline__dash),
	.pv-etymology__title .pv-mono,
	.pv-cta--primary span {
		animation: none !important;
	}
	.pv-ship-card:hover::after { animation: none !important; opacity: 0 !important; }
}

/* =====================================================================
   v1.0.4 — Always-on warmth
   The hover/animation effects added in v1.0.3 only kicked in on interaction.
   This adds subtle ambient warmth to every card and tile so the resting
   state isn't cold-black. Like a fire kept low overnight.
   ===================================================================== */

/* --- Ship cards — always-on inset warmth glow from the bottom --- */
.pv-ship-card {
	background:
		radial-gradient(ellipse 80% 60% at 50% 110%, rgba(216, 90, 48, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse 100% 80% at 50% 0%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
		var(--pv-bg-elev-2);
	border-color: rgba(201, 169, 97, 0.16);
}
.pv-ship-card__body {
	position: relative;
}
.pv-ship-card__body::after {
	/* faint warm wash at the bottom of every card body */
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 60%;
	background: radial-gradient(ellipse at center bottom, rgba(216, 90, 48, 0.06) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}
.pv-ship-card__body > * { position: relative; z-index: 1; }

/* --- Activity tiles — warm gradient + brighter icons --- */
.pv-activity {
	background:
		radial-gradient(ellipse 70% 80% at 50% 100%, rgba(201, 169, 97, 0.07) 0%, transparent 55%),
		radial-gradient(ellipse 100% 60% at 50% 0%, rgba(216, 90, 48, 0.04) 0%, transparent 50%),
		var(--pv-bg-elev-1);
}
.pv-activity__icon {
	color: rgba(201, 169, 97, 0.65);  /* always gold-tinted at rest */
	filter: drop-shadow(0 0 6px rgba(201, 169, 97, 0.2));
	transition: color .25s, filter .25s, transform .25s;
}
.pv-activity:hover .pv-activity__icon {
	color: var(--pv-gold);
	filter: drop-shadow(0 0 10px rgba(216, 90, 48, 0.4));
	transform: scale(1.08);
}
.pv-activity__label {
	color: var(--pv-text);  /* was --pv-text on hover only; bring up at rest */
}
.pv-activity:hover .pv-activity__label {
	color: var(--pv-gold);
}

/* Subtle ambient pulse on activity icons so the grid feels alive */
.pv-activity:nth-child(3n+1) .pv-activity__icon { animation: pv-icon-glow 7s ease-in-out infinite; }
.pv-activity:nth-child(3n+2) .pv-activity__icon { animation: pv-icon-glow 7s ease-in-out infinite 2.3s; }
.pv-activity:nth-child(3n)   .pv-activity__icon { animation: pv-icon-glow 7s ease-in-out infinite 4.6s; }
@keyframes pv-icon-glow {
	0%, 100% {
		filter: drop-shadow(0 0 4px rgba(201, 169, 97, 0.15));
		opacity: 0.7;
	}
	50% {
		filter: drop-shadow(0 0 12px rgba(201, 169, 97, 0.5)) drop-shadow(0 0 4px rgba(216, 90, 48, 0.3));
		opacity: 1;
	}
}

/* --- Etymology root boxes — warm gradient --- */
.pv-etymology__root {
	background:
		radial-gradient(ellipse 80% 80% at 50% 100%, rgba(201, 169, 97, 0.06) 0%, transparent 55%),
		var(--pv-bg-band);
}

/* --- Discord panel — same treatment --- */
.pv-discord-panel {
	background:
		radial-gradient(ellipse 100% 60% at 50% 100%, rgba(201, 169, 97, 0.06) 0%, transparent 55%),
		radial-gradient(ellipse 60% 100% at 0% 0%, rgba(216, 90, 48, 0.04) 0%, transparent 50%),
		var(--pv-bg-elev-2);
	border-color: rgba(201, 169, 97, 0.14);
}
.pv-discord-member { color: var(--pv-text); }
.pv-discord-section-label { color: var(--pv-text-3); }

/* --- Section--alt — slightly warmer than pure dark --- */
.pv-section--alt {
	background:
		radial-gradient(ellipse 60% 100% at 80% 50%, rgba(216, 90, 48, 0.04) 0%, transparent 50%),
		radial-gradient(ellipse 60% 100% at 20% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
		var(--pv-bg-band);
}

/* --- Charter columns on manifesto page — warm wash --- */
.pv-charter__col {
	background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(201, 169, 97, 0.04) 0%, transparent 50%);
	padding: 0 8px;
}

/* --- Filters bar — slight warmth --- */
.pv-filters {
	background:
		linear-gradient(90deg, transparent 0%, rgba(201, 169, 97, 0.03) 50%, transparent 100%),
		var(--pv-bg-elev-1);
}

/* --- Stat blocks on ship detail — bottom warmth --- */
.pv-stat {
	padding-bottom: 8px;
	background: linear-gradient(180deg, transparent 0%, rgba(216, 90, 48, 0.05) 100%);
}

/* --- Ship grid — center small fleets instead of stranding them on the left --- */
.pv-ship-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
.pv-ship-grid .pv-ship-card {
	flex: 1 1 320px;
	max-width: 420px;
	min-width: 280px;
}
.pv-ship-grid--four .pv-ship-card {
	flex: 1 1 280px;
	max-width: 320px;
}

/* --- Brighter base text for body copy (less ghostly) --- */
.pv-section__text {
	color: var(--pv-text-2);
}
.pv-activity__tagline {
	color: var(--pv-text-3);
}

/* --- Empty-state placeholder cards (for partial rows on the homepage) ---
   Not yet rendered by templates; reserved for a future enhancement.
   When implemented, render <article class="pv-ship-card pv-ship-card--empty">. */
.pv-ship-card--empty {
	background: transparent;
	border: 1px dashed rgba(201, 169, 97, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	color: rgba(201, 169, 97, 0.4);
	font-size: 11px;
	letter-spacing: 3px;
}
.pv-ship-card--empty::before { content: '⟁ DRY DOCK · AWAITING VESSEL'; }

/* --- Respect reduced motion for the new icon pulse --- */
@media (prefers-reduced-motion: reduce) {
	.pv-activity .pv-activity__icon { animation: none !important; opacity: 1 !important; }
}

/* =====================================================================
   v1.0.6 — Sticky nav, back links, and ship modal
   ===================================================================== */

/* --- Sticky header — stays visible as you scroll, with backdrop blur --- */
.pv-header {
	position: sticky;
	top: 0;
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
	border-bottom: 0.5px solid rgba(201, 169, 97, 0.12);
	transition: background .25s, border-color .25s;
}
.pv-header__inner { position: relative; z-index: 2; }
/* Add a subtle warm wash behind the nav when scrolled */
.pv-header::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 100%, rgba(216, 90, 48, 0.05), transparent 60%);
	pointer-events: none;
	z-index: 1;
}

/* --- Back link on ship detail / sub-pages --- */
.pv-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--pv-text-3);
	padding: 6px 0;
	margin-bottom: 12px;
	transition: color .2s, gap .2s;
}
.pv-back-link::before {
	content: '←';
	display: inline-block;
	transition: transform .2s;
}
.pv-back-link:hover {
	color: var(--pv-gold);
	gap: 14px;
}
.pv-back-link:hover::before {
	transform: translateX(-3px);
}

/* --- Ship modal — quick-browse overlay --- */
.pv-modal-open {
	overflow: hidden;
}
.pv-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5vh 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;

	/* CSS vars for math — adjusted by WP admin bar and viewport breakpoints */
	--pv-modal-hero-h: 320px;
}
.pv-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}
.pv-modal__backdrop {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse at center,
		rgba(20, 8, 4, 0.85) 0%,
		rgba(0, 0, 0, 0.95) 70%
	);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	cursor: pointer;
}
.pv-modal__container {
	position: relative;
	width: 100%;
	max-width: 880px;
	max-height: calc(90vh - var(--pv-admin-bar-h, 0px));
	background: var(--pv-bg-elev-1);
	border: 1px solid rgba(201, 169, 97, 0.25);
	box-shadow:
		0 0 0 1px rgba(216, 90, 48, 0.2),
		0 24px 80px -16px rgba(216, 90, 48, 0.3),
		0 0 120px -32px rgba(201, 169, 97, 0.4);
	transform: scale(0.95) translateY(20px);
	transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
}
.pv-modal.is-open .pv-modal__container {
	transform: scale(1) translateY(0);
}
/* .pv-modal__content has no special layout — hero and body stack as normal blocks */
.pv-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--pv-border-soft);
	background: rgba(0, 0, 0, 0.5);
	color: var(--pv-text-2);
	font-size: 18px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.pv-modal__close:hover {
	border-color: var(--pv-orange);
	color: var(--pv-orange);
	background: rgba(216, 90, 48, 0.1);
}

/* Modal hero */
.pv-modal__hero {
	position: relative;
	height: var(--pv-modal-hero-h);
	overflow: hidden;
}
.pv-modal__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
}
.pv-modal__hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.95) 100%),
		linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 60%);
	pointer-events: none;
}
.pv-modal__hero-content {
	position: absolute;
	bottom: 24px;
	left: 28px;
	right: 120px;
	z-index: 2;
}
.pv-modal__hero-overline {
	font-size: 10px;
	letter-spacing: 2.5px;
	color: var(--role-color, var(--pv-gold));
	margin-bottom: 8px;
}
.pv-modal__name {
	font-size: 36px;
	color: var(--pv-text);
	margin: 0 0 4px;
	font-weight: 200;
	letter-spacing: -1px;
	text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
.pv-modal__captain {
	font-size: 13px;
	color: var(--pv-text-3);
	letter-spacing: 1px;
}
.pv-modal__status {
	position: absolute;
	bottom: 24px;
	right: 28px;
	z-index: 2;
	text-align: right;
	font-size: 11px;
	letter-spacing: 2px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Modal body — explicit max-height = (90vh - admin bar) - hero height.
   When content is shorter, body is naturally short. When longer, body scrolls. */
.pv-modal__body {
	max-height: calc(90vh - var(--pv-admin-bar-h, 0px) - var(--pv-modal-hero-h));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 28px;
	background:
		radial-gradient(ellipse 80% 80% at 50% 100%, rgba(216, 90, 48, 0.04) 0%, transparent 55%),
		var(--pv-bg-elev-1);
	/* Invisible scrollbar — still scrolls, just doesn't paint */
	scrollbar-width: none;
}
.pv-modal__body::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

/* WordPress admin bar offset — modal starts below the bar when an admin is logged in */
body.admin-bar { --pv-admin-bar-h: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --pv-admin-bar-h: 46px; }
}

.pv-modal__desc {
	font-size: 15px;
	color: var(--pv-text-2);
	line-height: 1.7;
	margin: 0 0 24px;
	font-family: var(--pv-font-quote);
	font-style: italic;
}
.pv-modal__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 0 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--pv-border);
}
.pv-modal__stat {
	min-width: 0;
}
.pv-modal__stat-label {
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--pv-text-muted);
	margin-bottom: 4px;
}
.pv-modal__stat-value {
	font-size: 18px;
	color: var(--pv-text);
	font-weight: 300;
}
.pv-modal__positions-label {
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--pv-gold);
	margin-bottom: 12px;
}
.pv-modal__positions {
	display: grid;
	gap: 8px;
	margin-bottom: 24px;
}
.pv-modal__position {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	background: var(--pv-bg-elev-2);
	border: 1px solid var(--pv-border);
	font-size: 13px;
}
.pv-modal__position.is-open {
	border: 1px dashed var(--role-color, var(--pv-gold));
	color: var(--role-color, var(--pv-gold));
}
.pv-modal__position-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #2a2d32;
	color: var(--pv-text-2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}
.pv-modal__position-avatar.is-captain {
	background: var(--role-color, var(--pv-gold));
	color: #000;
}
.pv-modal__position-avatar.is-open {
	background: transparent;
	border: 1px dashed currentColor;
	color: var(--role-color, var(--pv-gold));
}
.pv-modal__position-name {
	flex: 1;
	color: var(--pv-text);
}
.pv-modal__position-role {
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--pv-text-muted);
}

.pv-modal__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 16px;
	padding-top: 20px;
	border-top: 1px solid var(--pv-border);
}
.pv-modal__loading {
	padding: 80px 20px;
	text-align: center;
	color: var(--pv-text-muted);
	font-size: 11px;
	letter-spacing: 2px;
}

@media (max-width: 700px) {
	.pv-modal { padding: 0; align-items: stretch; --pv-modal-hero-h: 220px; }
	.pv-modal__container { max-width: 100%; max-height: calc(100vh - var(--pv-admin-bar-h, 0px)); }
	.pv-modal__hero-content { right: 60px; }
	.pv-modal__name { font-size: 26px; }
	.pv-modal__stats { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   v1.0.10 — Clickable modal positions + prominent back-to-fleet button
   ===================================================================== */

/* --- Clickable modal positions --- */
.pv-modal__position.is-clickable {
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.pv-modal__position.is-clickable:hover,
.pv-modal__position.is-clickable:focus-visible {
	outline: none;
	background:
		radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08) 0%, transparent 80%),
		var(--pv-bg-elev-2);
	border-color: rgba(201, 169, 97, 0.5);
	transform: translateX(3px);
	box-shadow: 0 0 24px -8px rgba(201, 169, 97, 0.4);
}
/* Open positions (join) — gold accent on hover */
.pv-modal__position.is-clickable.is-join:hover,
.pv-modal__position.is-clickable.is-join:focus-visible {
	background:
		radial-gradient(ellipse at center, rgba(201, 169, 97, 0.1) 0%, transparent 80%),
		var(--pv-bg-elev-2);
}
/* Current user's position (depart) — orange accent on hover */
.pv-modal__position.is-clickable.is-leave {
	border-color: rgba(216, 90, 48, 0.35);
	background:
		radial-gradient(ellipse at center, rgba(216, 90, 48, 0.05) 0%, transparent 70%),
		var(--pv-bg-elev-2);
}
.pv-modal__position.is-clickable.is-leave:hover,
.pv-modal__position.is-clickable.is-leave:focus-visible {
	border-color: var(--pv-orange);
	background:
		radial-gradient(ellipse at center, rgba(216, 90, 48, 0.12) 0%, transparent 80%),
		var(--pv-bg-elev-2);
	box-shadow: 0 0 24px -8px rgba(216, 90, 48, 0.5);
}
/* Loading state */
.pv-modal__position.is-loading {
	opacity: 0.4;
	pointer-events: none;
}

/* Action label inside a clickable position */
.pv-modal__position-action {
	font-size: 10px;
	letter-spacing: 2.5px;
	color: var(--role-color, var(--pv-gold));
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	transition: color .2s, gap .2s;
}
.pv-modal__position.is-leave .pv-modal__position-action {
	color: var(--pv-orange);
}
.pv-modal__position.is-clickable:hover .pv-modal__position-action {
	color: #fff;
	gap: 10px;
}
.pv-modal__position-action .pv-arrow {
	display: inline-block;
	transition: transform .2s;
}
.pv-modal__position.is-clickable:hover .pv-modal__position-action .pv-arrow {
	transform: translateX(3px);
}
/* Checkmark on filled positions (not the current user's) */
.pv-modal__position-check {
	flex-shrink: 0;
	opacity: 0.6;
}

/* --- Modal toast — success/error message --- */
.pv-modal__toast {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translate(-50%, 16px);
	background: rgba(0, 0, 0, 0.92);
	border: 1px solid var(--pv-gold);
	color: var(--pv-text);
	padding: 14px 28px;
	font-size: 12px;
	letter-spacing: 2px;
	box-shadow:
		0 0 0 1px rgba(201, 169, 97, 0.2),
		0 12px 32px -8px rgba(0, 0, 0, 0.8),
		0 0 40px -8px rgba(201, 169, 97, 0.5);
	opacity: 0;
	transition: opacity .35s ease, transform .35s ease;
	z-index: 100;
	pointer-events: none;
	max-width: calc(100% - 48px);
	text-align: center;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.pv-modal__toast.is-error {
	border-color: var(--pv-orange);
	color: var(--pv-orange);
	box-shadow:
		0 0 0 1px rgba(216, 90, 48, 0.3),
		0 12px 32px -8px rgba(0, 0, 0, 0.8),
		0 0 40px -8px rgba(216, 90, 48, 0.6);
}
.pv-modal__toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* --- Enhanced back-to-fleet button on ship detail page --- */
.pv-back-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 22px;
	border: 1px solid rgba(201, 169, 97, 0.55);
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--pv-gold);
	font-size: 11px;
	letter-spacing: 2.5px;
	font-weight: 500;
	margin-bottom: 18px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	box-shadow:
		0 0 0 1px transparent,
		0 4px 18px -4px rgba(0, 0, 0, 0.6),
		0 0 24px -8px rgba(201, 169, 97, 0.35);
	transition: color .25s, border-color .25s, background .25s, gap .25s, box-shadow .35s;
	animation: pv-back-link-glow 4s ease-in-out infinite;
}
.pv-back-link::before {
	content: '←';
	font-size: 15px;
	transition: transform .25s;
}
.pv-back-link::after {
	/* Metallic shine sweep on hover */
	content: '';
	position: absolute;
	top: 0; left: -150%;
	width: 70%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 240, 200, 0.35) 50%,
		transparent 100%
	);
	transform: skewX(-20deg);
	pointer-events: none;
	transition: left .65s ease;
}
.pv-back-link:hover,
.pv-back-link:focus-visible {
	outline: none;
	color: #fff;
	border-color: var(--pv-gold);
	background: rgba(201, 169, 97, 0.14);
	gap: 14px;
	box-shadow:
		0 0 0 1px var(--pv-gold),
		0 6px 22px -4px rgba(0, 0, 0, 0.7),
		0 0 48px -6px rgba(201, 169, 97, 0.6),
		inset 0 0 24px -8px rgba(201, 169, 97, 0.4);
}
.pv-back-link:hover::before,
.pv-back-link:focus-visible::before {
	transform: translateX(-5px);
}
.pv-back-link:hover::after,
.pv-back-link:focus-visible::after {
	left: 150%;
}

@keyframes pv-back-link-glow {
	0%, 100% {
		box-shadow:
			0 0 0 1px transparent,
			0 4px 18px -4px rgba(0, 0, 0, 0.6),
			0 0 24px -8px rgba(201, 169, 97, 0.35);
	}
	50% {
		box-shadow:
			0 0 0 1px rgba(201, 169, 97, 0.3),
			0 4px 18px -4px rgba(0, 0, 0, 0.6),
			0 0 36px -6px rgba(201, 169, 97, 0.5);
	}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.pv-back-link { animation: none !important; }
	.pv-back-link::after { display: none !important; }
}

/* =====================================================================
   v1.0.11 — Full-page clickable positions (matches modal behavior)
   ===================================================================== */

/* The old .pv-position.is-open cursor:pointer applied even when the user
   couldn't actually click (already in crew). Replace with explicit
   .is-clickable opt-in so semantics match interactivity. */
.pv-position.is-open {
	cursor: default;  /* overridden by .is-clickable below */
}

.pv-position.is-clickable {
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
	outline: none;
}
.pv-position.is-clickable:hover,
.pv-position.is-clickable:focus-visible {
	background:
		radial-gradient(ellipse at center, rgba(201, 169, 97, 0.07) 0%, transparent 80%),
		var(--pv-bg-elev-2);
	border-color: rgba(201, 169, 97, 0.5);
	transform: translateX(3px);
	box-shadow: 0 0 28px -8px rgba(201, 169, 97, 0.4);
}

/* Open positions (join) — gold accent on hover */
.pv-position.is-clickable.is-join:hover,
.pv-position.is-clickable.is-join:focus-visible {
	background:
		radial-gradient(ellipse at center, rgba(201, 169, 97, 0.1) 0%, transparent 80%),
		var(--pv-bg-elev-2);
}

/* Current user's filled position (depart) — orange accent at rest and hover */
.pv-position.is-clickable.is-leave {
	border-color: rgba(216, 90, 48, 0.35);
	background:
		radial-gradient(ellipse at center, rgba(216, 90, 48, 0.05) 0%, transparent 70%),
		var(--pv-bg-elev-2);
}
.pv-position.is-clickable.is-leave:hover,
.pv-position.is-clickable.is-leave:focus-visible {
	border-color: var(--pv-orange);
	background:
		radial-gradient(ellipse at center, rgba(216, 90, 48, 0.12) 0%, transparent 80%),
		var(--pv-bg-elev-2);
	box-shadow: 0 0 28px -8px rgba(216, 90, 48, 0.5);
}

.pv-position.is-loading {
	opacity: 0.4;
	pointer-events: none;
}

/* Action label — appears in each clickable position, brightens on hover */
.pv-position__action {
	font-size: 11px;
	letter-spacing: 2.5px;
	color: var(--role-color, var(--pv-gold));
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	transition: color .2s, gap .2s;
}
.pv-position.is-leave .pv-position__action {
	color: var(--pv-orange);
}
.pv-position.is-clickable:hover .pv-position__action,
.pv-position.is-clickable:focus-visible .pv-position__action {
	color: #fff;
	gap: 10px;
}
.pv-position__action .pv-arrow {
	display: inline-block;
	transition: transform .2s;
}
.pv-position.is-clickable:hover .pv-position__action .pv-arrow,
.pv-position.is-clickable:focus-visible .pv-position__action .pv-arrow {
	transform: translateX(3px);
}
