/*
Theme Name: Student Loans Are Broke
Theme URI: https://studentloansarebroke.com
Author: Student Loans Are Broke
Author URI: https://studentloansarebroke.com
Description: A clean, professional, server-side rendered WordPress theme for the "Student Loans Are Broke" podcast & resource hub. Features a podcast/stories grid (YouTube), a helpful topics library, a categorized resources directory, and a working contact page — all with tasteful scroll animations. Built without a page builder; drop it in and it adapts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studentloansarebroke
Tags: podcast, blog, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments, block-styles, wide-blocks
*/

/* =====================================================================
   Design tokens
   ===================================================================== */
:root {
	--navy-900: #0f2438;
	--navy-800: #16324f;
	--navy-700: #1e3a5f;
	--navy-600: #274a72;
	--sky-400: #8fcdd0;
	--sky-300: #a8dadc;
	--sky-200: #cbe8ea;
	--sky-100: #e7f4f5;
	--accent: #2f6fed;
	--accent-600: #1f5ad6;
	--accent-700: #1848b0;
	--ink: #0b1017;
	--ink-soft: #263141;
	--muted: #5b6675;
	--muted-2: #7c8798;
	--paper: #ffffff;
	--paper-2: #f4f7fa;
	--paper-3: #eef2f7;
	--line: #e4e8ee;
	--line-strong: #d3d9e2;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(15, 36, 56, .06), 0 1px 3px rgba(15, 36, 56, .08);
	--shadow: 0 10px 30px -12px rgba(15, 36, 56, .25);
	--shadow-lg: 0 30px 60px -20px rgba(15, 36, 56, .35);

	--container: 1180px;
	--gutter: clamp(20px, 5vw, 56px);

	--ff-display: "Sora", "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ff-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--dur: .5s;

	--header-h: 76px;
}

/* =====================================================================
   Reset / base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-soft);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-700); }

h1, h2, h3, h4, h5 {
	font-family: var(--ff-display);
	color: var(--ink);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

blockquote {
	margin: 1.5em 0;
	padding: .4em 0 .4em 1.25em;
	border-left: 4px solid var(--sky-300);
	color: var(--ink-soft);
	font-style: italic;
}

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	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 {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 1000;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =====================================================================
   Layout helpers
   ===================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--paper2 { background: var(--paper-2); }
.section--navy {
	background: radial-gradient(120% 120% at 80% -10%, var(--navy-700) 0%, var(--navy-900) 60%);
	color: #dbe6f0;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	font-family: var(--ff-display);
	font-weight: 600;
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px;
}
.eyebrow::before {
	content: "";
	width: 26px; height: 2px;
	background: currentColor;
	border-radius: 2px;
}
.section--navy .eyebrow { color: var(--sky-300); }

.section-head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--navy .section-head p { color: #b9c8d8; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
	--btn-bg: var(--accent);
	--btn-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	font-family: var(--ff-display);
	font-weight: 600;
	font-size: .98rem;
	letter-spacing: .01em;
	line-height: 1;
	padding: 15px 26px;
	border-radius: var(--radius-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
	box-shadow: 0 8px 20px -8px rgba(47, 111, 237, .6);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 14px 28px -10px rgba(47, 111, 237, .7); }
.btn:active { transform: translateY(0); }

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	border-color: var(--line-strong);
	box-shadow: none;
}
.btn--ghost:hover { --btn-fg: var(--ink); border-color: var(--accent); background: var(--sky-100); }

.btn--light {
	--btn-bg: #fff;
	--btn-fg: var(--navy-800);
	box-shadow: 0 10px 30px -12px rgba(0,0,0,.4);
}
.btn--light:hover { --btn-fg: var(--navy-900); }

.btn--outline-light {
	--btn-bg: transparent;
	--btn-fg: #fff;
	border-color: rgba(255,255,255,.35);
	box-shadow: none;
}
.btn--outline-light:hover { --btn-fg: #fff; border-color: #fff; background: rgba(255,255,255,.08); }

.btn--sm { padding: 11px 18px; font-size: .9rem; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-family: var(--ff-display);
	font-weight: 600;
	font-size: .95rem;
}
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* =====================================================================
   Header / navigation
   ===================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(11, 16, 23, .92);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid rgba(255,255,255,.07);
	transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0,0,0,.7); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--ff-display);
	font-weight: 700;
	color: #fff;
	letter-spacing: -.01em;
}
.brand:hover { color: #fff; }
.brand__mark {
	width: 42px; height: 42px;
	border-radius: 11px;
	display: grid; place-items: center;
	background: var(--navy-700);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
	flex: none;
}
.brand__mark img, .brand__mark svg { width: 30px; height: 30px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text b { font-size: 1.02rem; }
.brand__text span { font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-300); }
.brand--logo img { width: auto; max-height: 46px; }

.primary-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
	position: relative;
	display: block;
	padding: 10px 15px;
	color: #cdd8e4;
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: .95rem;
	border-radius: 8px;
	transition: color .2s var(--ease), background .2s var(--ease);
}
.primary-nav a::after {
	content: "";
	position: absolute;
	left: 15px; right: 15px; bottom: 5px;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: #fff; }
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { transform: scaleX(1); }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	border: 0; background: transparent;
	cursor: pointer;
	border-radius: 10px;
	align-items: center; justify-content: center;
}
.nav-toggle span {
	position: relative;
	width: 22px; height: 2px;
	background: #fff; border-radius: 2px;
	transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
	content: ""; position: absolute; left: 0;
	width: 22px; height: 2px; background: #fff; border-radius: 2px;
	transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(90% 120% at 15% 0%, rgba(47,111,237,.16) 0%, transparent 55%),
		radial-gradient(80% 100% at 100% 20%, rgba(168,218,220,.28) 0%, transparent 50%),
		linear-gradient(180deg, #fbfdff 0%, var(--paper-2) 100%);
	padding-block: clamp(64px, 9vw, 130px);
}
.hero__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: 8px 16px 8px 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: .85rem;
	font-weight: 600;
	font-family: var(--ff-display);
	color: var(--ink-soft);
	box-shadow: var(--shadow-sm);
	margin-bottom: 24px;
}
.hero__badge .dot {
	width: 22px; height: 22px; border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--sky-400));
	color: #fff; display: grid; place-items: center; font-size: .7rem;
}
.hero h1 {
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	line-height: 1.02;
	margin-bottom: 22px;
}
.hero h1 .accent {
	position: relative;
	color: var(--accent);
	white-space: nowrap;
}
.hero h1 .accent::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: .06em;
	height: .28em;
	background: var(--sky-300);
	opacity: .55;
	z-index: -1;
	border-radius: 4px;
}
.hero__lead {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: var(--muted);
	max-width: 46ch;
	margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 48px);
	margin-top: 42px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}
.hero__stat b {
	display: block;
	font-family: var(--ff-display);
	font-size: 1.9rem;
	color: var(--ink);
	line-height: 1;
}
.hero__stat span { font-size: .88rem; color: var(--muted-2); }

/* Centered hero variant (matches the existing site) */
.hero--center { text-align: center; }
.hero--center .hero__inner {
	max-width: 780px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero__mark {
	position: relative;
	width: 120px; height: 120px;
	border-radius: 28px;
	display: grid; place-items: center;
	background: radial-gradient(120% 120% at 30% 20%, var(--navy-700), var(--navy-900));
	box-shadow: var(--shadow-lg);
	margin-bottom: 30px;
	overflow: hidden;
}
.hero__mark svg { position: relative; z-index: 1; }
.hero__waves--hero {
	position: absolute; inset: auto 0 0 0; height: 40%;
	display: flex; align-items: flex-end; justify-content: center; gap: 3px;
	padding: 0 12px 12px; opacity: .6;
}
.hero--center h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 18px; }
.hero--center .hero__lead { margin-inline: auto; max-width: 52ch; margin-bottom: 0; }

/* Hero media / floating podcast card */
.hero__media { position: relative; }
.hero__card {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	border: 1px solid var(--line);
}
.hero__card-cover {
	position: relative;
	aspect-ratio: 16 / 10;
	background: radial-gradient(120% 120% at 30% 20%, var(--navy-700), var(--navy-900));
	display: grid; place-items: center;
	overflow: hidden;
}
.hero__card-cover img { width: 46%; opacity: .96; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.hero__waves {
	position: absolute; inset: auto 0 0 0; height: 46%;
	display: flex; align-items: flex-end; justify-content: center; gap: 5px;
	padding: 0 22px 22px;
	opacity: .85;
}
.hero__waves i {
	flex: 1; max-width: 7px;
	background: linear-gradient(var(--sky-300), var(--sky-400));
	border-radius: 6px;
	animation: eq 1.4s var(--ease) infinite;
}
.hero__card-body { padding: 20px 22px 24px; }
.hero__card-body .tag {
	font-family: var(--ff-display); font-weight: 600; font-size: .72rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.hero__card-body h3 { font-size: 1.16rem; margin: 6px 0 4px; }
.hero__card-body p { font-size: .92rem; color: var(--muted); margin: 0; }
.hero__pill {
	position: absolute; z-index: 2;
	background: #fff; border-radius: var(--radius-pill);
	box-shadow: var(--shadow);
	padding: 10px 16px;
	display: flex; align-items: center; gap: 10px;
	font-family: var(--ff-display); font-weight: 600; font-size: .85rem;
	border: 1px solid var(--line);
}
.hero__pill--top { top: 18px; right: -14px; animation: float 5s ease-in-out infinite; }
.hero__pill--bottom { bottom: 26px; left: -18px; animation: float 6s ease-in-out infinite .8s; }
.hero__pill .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--sky-100); color: var(--accent); display: grid; place-items: center; }

@keyframes eq {
	0%, 100% { height: 22%; }
	50% { height: 92%; }
}
.hero__waves i:nth-child(2){ animation-delay: .15s; }
.hero__waves i:nth-child(3){ animation-delay: .30s; }
.hero__waves i:nth-child(4){ animation-delay: .12s; }
.hero__waves i:nth-child(5){ animation-delay: .40s; }
.hero__waves i:nth-child(6){ animation-delay: .22s; }
.hero__waves i:nth-child(7){ animation-delay: .35s; }
.hero__waves i:nth-child(8){ animation-delay: .08s; }
.hero__waves i:nth-child(9){ animation-delay: .28s; }
.hero__waves i:nth-child(10){ animation-delay: .18s; }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* Platform links row */
.platforms {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
	margin-top: 34px;
}
.platforms span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.platforms a {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--ff-display); font-weight: 600; font-size: .92rem;
	color: var(--ink-soft);
	padding: 8px 14px; border-radius: var(--radius-pill);
	background: #fff; border: 1px solid var(--line);
	transition: transform .2s var(--ease), border-color .2s, color .2s;
}
.platforms a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

/* =====================================================================
   Cards / grids
   ===================================================================== */
.grid { display: grid; gap: clamp(20px, 3vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
	display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }

/* Episode / video card */
.episode-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--navy-800);
	overflow: hidden;
}
.episode-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.episode-card__placeholder {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	background: radial-gradient(120% 120% at 30% 20%, var(--navy-700), var(--navy-900));
	opacity: .9;
}
.episode-card__placeholder svg { width: 64px; height: 64px; opacity: .85; }
.card:hover .episode-card__media img { transform: scale(1.06); }
.episode-card__play {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	background: linear-gradient(180deg, rgba(11,16,23,.05), rgba(11,16,23,.45));
	transition: background .3s var(--ease);
}
.card:hover .episode-card__play { background: linear-gradient(180deg, rgba(47,111,237,.15), rgba(11,16,23,.55)); }
.episode-card__play .pbtn {
	width: 64px; height: 64px; border-radius: 50%;
	background: rgba(255,255,255,.92);
	display: grid; place-items: center;
	box-shadow: var(--shadow);
	transition: transform .3s var(--ease);
}
.card:hover .episode-card__play .pbtn { transform: scale(1.08); }
.episode-card__play .pbtn svg { width: 24px; height: 24px; margin-left: 3px; color: var(--accent); }
.episode-card__badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	background: rgba(11,16,23,.72);
	color: #fff; font-family: var(--ff-display); font-weight: 600;
	font-size: .72rem; letter-spacing: .05em;
	padding: 5px 11px; border-radius: var(--radius-pill);
	backdrop-filter: blur(4px);
}
.episode-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.episode-card__meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 600; margin-bottom: 8px; }
.episode-card__body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.episode-card__body h3 a { color: var(--ink); }
.episode-card__body h3 a:hover { color: var(--accent); }
.episode-card__body p { font-size: .95rem; color: var(--muted); margin-bottom: 16px; }
.episode-card__foot { margin-top: auto; }

/* Topic card */
.topic-card { padding: 28px 26px 30px; }
.topic-card__ic {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center; margin-bottom: 18px;
	background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
	color: var(--navy-700);
}
.topic-card__ic svg { width: 26px; height: 26px; }
.topic-card .eyebrow { font-size: .7rem; margin-bottom: 10px; }
.topic-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.topic-card h3 a { color: var(--ink); }
.topic-card h3 a:hover { color: var(--accent); }
.topic-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.topic-card__foot { margin-top: auto; }

/* Resource card */
.resource-card { padding: 24px 24px 26px; }
.resource-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.resource-card__avatar {
	width: 46px; height: 46px; border-radius: 12px; flex: none;
	display: grid; place-items: center;
	font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem;
	background: var(--navy-800); color: var(--sky-300);
}
.resource-card__head h3 { font-size: 1.08rem; margin: 0; }
.resource-card__url { font-size: .82rem; color: var(--accent); font-weight: 600; }
.resource-card p { font-size: .93rem; color: var(--muted); margin-bottom: 16px; }
.resource-card__foot { margin-top: auto; }

.resource-group__title {
	display: flex; align-items: center; gap: 14px;
	font-size: 1.35rem; margin-bottom: 24px;
}
.resource-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tag-pill {
	display: inline-block;
	font-family: var(--ff-display); font-weight: 600;
	font-size: .74rem; letter-spacing: .04em;
	padding: 5px 12px; border-radius: var(--radius-pill);
	background: var(--sky-100); color: var(--navy-700);
}

/* =====================================================================
   Story CTA band
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.2fr .8fr;
	align-items: center; gap: 40px;
	background: radial-gradient(120% 140% at 100% 0%, var(--navy-700), var(--navy-900));
	border-radius: var(--radius-lg);
	padding: clamp(36px, 5vw, 64px);
	color: #dce7f1;
	box-shadow: var(--shadow-lg);
}
.cta-band__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.cta-band__inner p { color: #b7c6d7; margin-bottom: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__glow {
	position: absolute; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(168,218,220,.28), transparent 65%);
	top: -120px; left: -80px; filter: blur(10px);
}

/* =====================================================================
   Page hero (interior pages)
   ===================================================================== */
.page-hero {
	background: radial-gradient(100% 140% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 70%);
	color: #cfdcea;
	padding-block: clamp(52px, 7vw, 96px);
}
.page-hero__crumbs { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 16px; }
.page-hero__crumbs a { color: var(--sky-300); }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: #b7c6d7; max-width: 60ch; font-size: 1.08rem; margin-bottom: 0; }

/* =====================================================================
   Single content (article)
   ===================================================================== */
.article { padding-block: clamp(48px, 6vw, 84px); }
.prose { font-size: 1.08rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.32rem; margin-top: 1.6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sky-300); }
.prose img { border-radius: var(--radius); margin: 1.4em 0; box-shadow: var(--shadow-sm); }
.prose ul li, .prose ol li { margin-bottom: .5em; }

.embed-frame {
	position: relative; aspect-ratio: 16/9;
	border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); margin-bottom: 32px;
	background: var(--navy-900);
}
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.contact-info__item {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 20px 0; border-bottom: 1px solid var(--line);
}
.contact-info__item:first-of-type { padding-top: 0; }
.contact-info__ic {
	width: 46px; height: 46px; border-radius: 12px; flex: none;
	display: grid; place-items: center;
	background: var(--sky-100); color: var(--accent);
}
.contact-info__item h4 { margin: 0 0 3px; font-size: 1.02rem; }
.contact-info__item a { font-weight: 600; }
.contact-info__item p { margin: 0; color: var(--muted); font-size: .95rem; }

.socials { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.socials a {
	width: 44px; height: 44px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--paper-2); border: 1px solid var(--line);
	color: var(--ink-soft);
	transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.socials a:hover { transform: translateY(-3px); background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.socials a svg { width: 20px; height: 20px; }

.contact-form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(26px, 4vw, 40px);
	box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-label { display: block; font-family: var(--ff-display); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.form-control {
	width: 100%;
	font: inherit; font-size: 1rem;
	padding: 13px 15px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--paper-2);
	color: var(--ink);
	transition: border-color .2s var(--ease), background .2s, box-shadow .2s;
}
.form-control:focus {
	outline: none;
	border-color: var(--accent);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(47,111,237,.12);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-note { font-size: .85rem; color: var(--muted-2); margin-top: 14px; }

.form-alert {
	padding: 14px 18px; border-radius: var(--radius-sm);
	font-weight: 600; font-size: .95rem; margin-bottom: 22px;
	display: flex; gap: 10px; align-items: center;
}
.form-alert--ok { background: #e6f7ee; color: #0f7a41; border: 1px solid #b8e6ce; }
.form-alert--err { background: #fdeaea; color: #b3261e; border: 1px solid #f4c7c4; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
	background: radial-gradient(120% 120% at 0% 0%, var(--navy-800), var(--navy-900) 70%);
	color: #aebccd;
	padding-top: clamp(52px, 6vw, 80px);
}
.site-footer a { color: #cdd8e4; }
.site-footer a:hover { color: #fff; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; color: #9db0c4; max-width: 34ch; }
.footer-col h4 {
	color: #fff; font-size: .82rem; letter-spacing: .14em;
	text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: .95rem; }
.footer-cta p { font-size: .95rem; color: #9db0c4; margin-bottom: 16px; }
.footer-signup { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-signup input {
	flex: 1; min-width: 160px;
	padding: 13px 15px; border-radius: var(--radius-pill);
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .95rem;
}
.footer-signup input::placeholder { color: #8aa0b6; }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	padding-block: 26px; font-size: .88rem; color: #8399ae;
}
.footer-bottom .socials a { width: 40px; height: 40px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #cdd8e4; }
.footer-bottom .socials a:hover { background: #fff; color: var(--navy-800); }

/* =====================================================================
   Scroll reveal animation
   ===================================================================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: .40s; }

/* =====================================================================
   Pagination / misc
   ===================================================================== */
.pagination {
	display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
	margin-top: 48px;
}
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 10px; border: 1px solid var(--line);
	font-family: var(--ff-display); font-weight: 600; color: var(--ink-soft);
	background: #fff;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

.empty-state {
	text-align: center; padding: 60px 20px;
	border: 2px dashed var(--line-strong); border-radius: var(--radius-lg);
	color: var(--muted);
}
.empty-state h3 { color: var(--ink); }

/* WordPress alignment / caption defaults */
.alignwide { width: min(100%, 1100px); margin-inline: auto; }
.alignfull { width: 100%; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted-2); text-align: center; margin-top: 8px; }
.sticky, .gallery-caption { display: block; }
.bypostauthor { display: block; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { max-width: 480px; margin-inline: auto; order: -1; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	:root { --header-h: 66px; }
	.nav-toggle { display: inline-flex; }
	.header-cta .btn { display: none; }
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(11,16,23,.98);
		backdrop-filter: blur(12px);
		padding: 14px var(--gutter) 26px;
		border-bottom: 1px solid rgba(255,255,255,.08);
		transform: translateY(-120%);
		transition: transform .4s var(--ease);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.primary-nav.is-open { transform: translateY(0); }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.primary-nav a { padding: 15px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
	.primary-nav a::after { display: none; }
	.primary-nav .btn { margin-top: 16px; width: 100%; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.form-row--split { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.hero__stats { gap: 22px; }
	.hero__pill--top { right: 4px; }
	.hero__pill--bottom { left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}
