/* ===========================================================
   CAMP BUCK 2026 — Session Intelligence & Insights Dashboard
   Brand: The Freeman Company. Navy / Ember / Bark / Sky.
   =========================================================== */

/* Palette locked to the Freeman / Camp Buck brand system
   ink 900-400 · sky 400-100 · ember 600-300 · bark 600-200 · paper · slate */
:root {
	--ink-900: #041225;
	--ink-800: #04172f;
	--ink-700: #041f3e;
	--ink-600: #00215e;
	--ink-500: #003263;
	--ink-400: #00478e;

	--sky-400: #9ec4ef;
	--sky-300: #c9d9f0;
	--sky-200: #d9e8fb;
	--sky-100: #eaf1f9;

	--ember-600: #b4003f;
	--ember-500: #d1006f;
	--ember-400: #ff0373;
	--ember-300: #ff5aa0;

	--bark-600: #8a6320;
	--bark-500: #b98b3a;
	--bark-400: #d9a441;
	--bark-300: #e8c583;
	--bark-200: #f2e2c4;

	--paper: #f7f4ef;
	--paper-warm: #efe9e0;
	--paper-deep: #e3dacc;

	--slate-650: #3d4e64;
	--slate-550: #5c6e85;
	--slate-450: #7a8ca3;

	/* semantic aliases */
	--ink: var(--ink-900);
	--ink-soft: var(--slate-650);
	--ink-mute: var(--slate-550);
	--navy-deep: var(--ink-700);
	--navy: var(--ink-400);
	--navy-light: var(--ink-500);
	--ember: var(--ember-500);
	--ember-bright: var(--ember-400);
	--ember-deep: var(--ember-600);
	--bark: var(--bark-500);
	--bark-light: var(--bark-400);
	--sky-tint: var(--sky-100);
	/* page ground: cooled slightly off the warm paper so it reads crisp, not yellow */
	--ground: #f7f4ef;
	--line: #e3dacc;
	--line-soft: #efe9e0;
	--white: #ffffff;

	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--shadow-card:
		0 1px 2px rgba(4, 18, 37, 0.05), 0 18px 32px -16px rgba(4, 18, 37, 0.22);
	--shadow-lift: 0 24px 64px -20px rgba(4, 18, 37, 0.38);

	--radius-lg: 20px;
	--radius-md: 14px;
	--radius-sm: 8px;

	--container: 1240px;
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}

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

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.08;
	margin: 0;
	color: var(--ink);
	letter-spacing: -0.01em;
}
p {
	margin: 0;
}
a {
	color: inherit;
	text-decoration: none;
}

.wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 32px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ember);
}
.eyebrow::before {
	content: "";
	width: 26px;
	height: 3px;
	background: var(--bark-400);
	display: inline-block;
}

/* ---------- NAV (navy, bookends the footer) ---------- */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(4, 31, 62, 0.92);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	transition:
		box-shadow 0.25s ease,
		background 0.25s ease;
}
.site-nav.scrolled {
	box-shadow: 0 6px 26px -10px rgba(4, 18, 37, 0.5);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	gap: 24px;
}
.nav-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.nav-brand img {
	height: 42px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.nav-brand .divider {
	width: 1px;
	height: 26px;
	background: rgba(255, 255, 255, 0.22);
}
.nav-brand .brand-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12.5px;
	line-height: 1.25;
	color: var(--sky-300);
}
.nav-brand .brand-text strong {
	color: var(--white);
	display: block;
	font-size: 13px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nav-links a {
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 100px;
	color: var(--sky-300);
	transition:
		background 0.2s ease,
		color 0.2s ease;
	white-space: nowrap;
}
.nav-links a:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--white);
}
.nav-links a.cta {
	background: var(--ember-500);
	color: var(--white);
	margin-left: 6px;
}
.nav-links a.cta:hover {
	background: var(--ember-400);
	color: var(--white);
}
.nav-links a.download-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	margin-left: 4px;
}
.nav-links a.download-link svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.nav-links a.download-link:hover {
	border-color: var(--ember-300);
	color: var(--white);
	background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--white);
	border-radius: 10px;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.nav-toggle svg {
	width: 18px;
	height: 18px;
}

/* ---------- HERO MOSAIC ---------- */
.hero {
	position: relative;
	padding: 18px 18px 0;
	background: var(--navy-deep);
}

.hero-mosaic {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 92px;
	gap: 6px;
	border-radius: 22px;
	overflow: hidden;
}
.hero-mosaic .cell {
	position: relative;
	overflow: hidden;
	background: #04172f;
	min-width: 0;
	min-height: 0;
}
.hero-mosaic .cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.05) contrast(1.03);
	transform: scale(1.02);
}
.hero-mosaic .c1 {
	grid-column: 1 / 3;
	grid-row: 1 / 4;
}
.hero-mosaic .c2 {
	grid-column: 3 / 4;
	grid-row: 1 / 3;
}
.hero-mosaic .c3 {
	grid-column: 4 / 5;
	grid-row: 1 / 3;
}
.hero-mosaic .c-core {
	grid-column: 3 / 5;
	grid-row: 3 / 6;
}
.hero-mosaic .c5 {
	grid-column: 5 / 7;
	grid-row: 1 / 3;
}
.hero-mosaic .c6 {
	grid-column: 1 / 2;
	grid-row: 4 / 7;
}
.hero-mosaic .c7 {
	grid-column: 2 / 3;
	grid-row: 4 / 7;
}
.hero-mosaic .c8 {
	grid-column: 5 / 6;
	grid-row: 3 / 7;
}
.hero-mosaic .c9 {
	grid-column: 6 / 7;
	grid-row: 3 / 7;
}
.hero-mosaic .cell::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(4, 18, 37, 0.08) 0%,
		rgba(4, 18, 37, 0.32) 100%
	);
}

.hero-core {
	background: linear-gradient(155deg, #041f3e 0%, #00478e 55%, #d1006f 145%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 28px 22px;
	position: relative;
}
.hero-core::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(
		circle at 30% 20%,
		rgba(255, 255, 255, 0.16),
		transparent 45%
	);
}
.hero-core-content {
	position: relative;
	z-index: 1;
	color: var(--white);
}
.hero-core .hero-eyebrow {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ff5aa0;
	margin-bottom: 10px;
	display: block;
}
.hero-core h1 {
	color: var(--white);
	font-size: clamp(1.4rem, 2.6vw, 2.1rem);
	font-weight: 800;
}

.hero-lower {
	position: relative;
	padding: 48px 0 56px;
	background: var(--ground);
	margin: 0 -18px;
	border-radius: 0 0 22px 22px;
}
.hero-lower .wrap {
	padding-top: 8px;
	display: grid;
	grid-template-columns: 1.3fr 0.9fr;
	gap: 56px;
	align-items: end;
}
.hero-lower h2.hero-headline {
	color: var(--ink);
	font-size: clamp(2.1rem, 4.4vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-top: 14px;
}
.hero-headline .accent {
	color: var(--ember);
}
.hero-narrative {
	font-size: 17px;
	color: var(--ink-soft);
	max-width: 46ch;
}

.hero-meta-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px 24px;
	box-shadow: var(--shadow-card);
}
.hero-meta-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 11px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 14px;
}
.hero-meta-row:last-child {
	border-bottom: none;
}
.hero-meta-row .k {
	color: var(--ink-soft);
	font-weight: 500;
}
.hero-meta-row .v {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
	text-align: right;
}

.report-btn {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var(--navy-deep);
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 13.5px;
	padding: 13px 18px;
	border-radius: 10px;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}
.report-btn svg {
	width: 16px;
	height: 16px;
}
.report-btn:hover {
	background: var(--ink);
	transform: translateY(-1px);
}

/* ---------- SECTION SHELL ---------- */
section {
	padding: 96px 0;
	scroll-margin-top: 90px;
}
#threads {
	background: var(--ground);
}
#sessions {
	background: var(--sky-100);
}
.section-head {
	max-width: 760px;
	margin-bottom: 48px;
}
.section-head h2 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	margin-top: 14px;
}
.section-head p.lede {
	margin-top: 16px;
	font-size: 17px;
	color: var(--ink-soft);
	max-width: 62ch;
}

/* ---------- MODAL OVERLAYS (Deep Dive / Gallery) ---------- */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(2, 8, 18, 0.82);
	z-index: 900;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 64px 24px;
	overflow-y: auto;
}
.modal-overlay.open {
	display: flex;
}
.modal-panel {
	width: 100%;
	max-width: 1080px;
	margin: auto 0;
	animation: modalIn 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.modal-panel.modal-panel-wide {
	max-width: 1280px;
}
@keyframes modalIn {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
.modal-close {
	position: fixed;
	top: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 950;
	transition: background 0.2s ease;
}
.modal-close:hover {
	background: rgba(255, 255, 255, 0.24);
}
.modal-close svg {
	width: 20px;
	height: 20px;
}

.gallery-modal-card {
	background: var(--white);
	border-radius: 26px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lift);
	padding: 40px 44px 44px;
}
.gallery-modal-card .section-head {
	margin-bottom: 28px;
}

/* ---------- BY THE NUMBERS ---------- */
.numbers-section {
	background: var(--navy-deep);
	padding: 88px 0;
	border-bottom: 4px solid var(--ember-500);
}
.numbers-section .eyebrow {
	color: #ff5aa0;
}
.numbers-section .eyebrow::before {
	background: var(--bark-light);
}
.numbers-section .section-head h2 {
	color: var(--white);
}
.numbers-section .section-head p.lede {
	color: #c9d9f0;
}

.numbers-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.number-card {
	background: #04172f;
	padding: 34px 26px;
	position: relative;
}
.number-card .num {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.1rem, 3.6vw, 3rem);
	background: linear-gradient(120deg, #ffffff, #ff5aa0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: -0.02em;
}
.number-card .lbl {
	margin-top: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #c9d9f0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ---------- THREAD BOARD ---------- */
.thread-instruction {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 13px;
	color: var(--ink-700);
	background: var(--bark-300);
	border: 1px solid var(--bark-500);
	border-radius: 100px;
	padding: 9px 16px;
	width: fit-content;
	margin-bottom: 28px;
}
.thread-instruction svg {
	width: 15px;
	height: 15px;
	color: var(--ember-600);
	flex-shrink: 0;
}

.thread-board {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px 20px;
}
.thread-board .thread-card {
	flex: 0 0 calc((100% - 60px) / 4);
}
.thread-card {
	--note-bg: #eee;
	--note-text: #222;
	--note-pin: #00478e;
	--rot: 0deg;
	min-width: 0;
	background: var(--note-bg);
	background-image: linear-gradient(
		160deg,
		rgba(255, 255, 255, 0.4),
		rgba(255, 255, 255, 0) 40%
	);
	color: var(--note-text);
	border-radius: 3px;
	padding: 32px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	box-shadow:
		0 16px 28px -14px rgba(4, 18, 37, 0.32),
		0 3px 6px rgba(4, 18, 37, 0.1);
	transform: rotate(var(--rot));
	transition:
		transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
		box-shadow 0.25s ease;
}
.thread-card:hover {
	transform: rotate(0deg) translateY(-6px) scale(1.02);
	box-shadow:
		0 26px 40px -16px rgba(4, 18, 37, 0.38),
		0 4px 8px rgba(4, 18, 37, 0.12);
	z-index: 3;
}
.thread-card::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #fff, var(--note-pin) 65%);
	box-shadow:
		0 4px 6px rgba(0, 0, 0, 0.35),
		inset 0 -1px 2px rgba(0, 0, 0, 0.2);
	z-index: 2;
}
.thread-board .thread-card:nth-child(7n + 1) {
	--rot: -2.2deg;
}
.thread-board .thread-card:nth-child(7n + 2) {
	--rot: 1.6deg;
}
.thread-board .thread-card:nth-child(7n + 3) {
	--rot: -1deg;
}
.thread-board .thread-card:nth-child(7n + 4) {
	--rot: 2.1deg;
}
.thread-board .thread-card:nth-child(7n + 5) {
	--rot: -1.7deg;
}
.thread-board .thread-card:nth-child(7n + 6) {
	--rot: 1.1deg;
}
.thread-board .thread-card:nth-child(7n + 7) {
	--rot: -2.4deg;
}

.thread-card .thread-num {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 10.5px;
	letter-spacing: 0.1em;
	opacity: 0.6;
}
.thread-card .thread-share {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 10.5px;
	letter-spacing: 0.06em;
	opacity: 0.75;
}
.thread-card h3 {
	font-size: 16px;
	line-height: 1.26;
	color: var(--note-text);
}
.thread-card .claim {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12.5px;
	font-style: italic;
	opacity: 0.85;
}
.thread-card p.desc {
	font-size: 12.8px;
	line-height: 1.48;
	opacity: 0.85;
	min-height: 4.2em;
}
.thread-tags {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 12px;
	border-top: 1px dashed rgba(0, 0, 0, 0.16);
	margin-top: auto;
}
.thread-tag {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 10.6px;
	width: 100%;
	height: 34px;
	box-sizing: border-box;
	padding: 0 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(0, 0, 0, 0.12);
	color: var(--note-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	transition:
		background 0.16s ease,
		transform 0.16s ease;
}
.thread-tag:hover {
	background: rgba(255, 255, 255, 0.88);
	transform: translateY(-1px);
}
.thread-tag .label {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
}
.thread-tag .arrow {
	font-size: 11px;
	opacity: 0.7;
	flex-shrink: 0;
}
.thread-more {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 10.4px;
	opacity: 0.6;
	padding: 2px 2px 0;
	letter-spacing: 0.02em;
}

/* ---------- TRACK FILTER ---------- */
.track-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}
.track-chip {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.02em;
	padding: 9px 16px;
	border-radius: 100px;
	border: 1.5px solid var(--line);
	background: var(--white);
	color: var(--ink-soft);
	cursor: pointer;
	transition: all 0.16s ease;
}
.track-chip:hover {
	border-color: var(--ember-500);
	color: var(--ember-500);
}
.track-chip.active {
	background: var(--ember-500);
	border-color: var(--ember-500);
	color: var(--white);
}

/* ---------- SESSION HUB ---------- */
.hub-layout {
	display: grid;
	gap: 16px;
}
.session-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
}
.session-grid .session-card {
	flex: 0 0 calc((100% - 36px) / 3);
	min-width: 0;
}
.session-card {
	text-align: left;
	cursor: pointer;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition:
		transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1),
		box-shadow 0.22s ease,
		border-color 0.22s ease;
	position: relative;
}
/* hover: the whole border darkens to navy and the card lifts. No accent rail. */
.session-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card);
	border-color: var(--ink-700);
}
.session-card.hidden-by-filter {
	display: none;
}
.session-card.active {
	border-color: var(--ember);
	box-shadow: var(--shadow-lift);
	background: var(--sky-100);
}

.session-card .track-tag {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.session-card .track-tag .track-name {
	color: var(--ember);
}
.session-card .track-tag .track-date {
	color: var(--ink-soft);
	font-weight: 600;
	letter-spacing: 0.04em;
}
.session-card h3 {
	font-size: 17.5px;
	line-height: 1.28;
}
.session-card .hook {
	font-size: 13.5px;
	color: var(--ink-soft);
	line-height: 1.5;
}
.session-card .meta-line {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12.5px;
	color: var(--ink-mute);
	padding-top: 14px;
	border-top: 1px dashed var(--line);
}
.session-card .meta-line .btn-open {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ember-500);
	font-size: 12.5px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* ---------- DEEP DIVE ---------- */
.deepdive-card {
	background: var(--white);
	border-radius: 26px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lift);
	overflow: hidden;
}
.dd-header {
	background: var(--ink-700);
	color: var(--white);
	padding: 44px 48px;
	position: relative;
	overflow: hidden;
}
.dd-header .dd-track {
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ff5aa0;
}
.dd-header h3 {
	color: var(--white);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	margin-top: 12px;
	max-width: 30ch;
	position: relative;
	z-index: 1;
}
.dd-header .dd-meta {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	font-size: 13.5px;
	color: #c9d9f0;
	position: relative;
	z-index: 1;
}
.dd-header .dd-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.dd-speakers {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	position: relative;
	z-index: 1;
}
.dd-speaker-chip {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 100px;
	padding: 8px 14px;
	font-size: 12.5px;
}
.dd-speaker-chip strong {
	font-family: var(--font-display);
	font-weight: 700;
}
.dd-speaker-chip .org {
	opacity: 0.85;
}
.dd-also {
	margin-top: 12px;
	font-size: 12.5px;
	color: #c9d9f0;
	opacity: 0.85;
	position: relative;
	z-index: 1;
}

.dd-body {
	padding: 44px 48px 52px;
}
.dd-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin-bottom: 44px;
}
.dd-metric {
	background: var(--paper-warm);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 20px 18px;
}
.dd-metric .val {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	color: var(--ember-deep);
	letter-spacing: -0.01em;
	line-height: 1.1;
}
.dd-metric .lbl {
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ink-soft);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.dd-metric .ctx {
	margin-top: 8px;
	font-size: 13px;
	color: var(--ink-soft);
	line-height: 1.5;
}

.dd-grid-2col {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 44px;
}
.dd-block-title {
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ember-500);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.dd-block-title::before {
	content: "";
	width: 20px;
	height: 3px;
	background: var(--bark-400);
}
.dd-briefing p {
	font-size: 15.5px;
	color: var(--ink-soft);
	margin-bottom: 16px;
	line-height: 1.72;
}
.dd-briefing p:last-child {
	margin-bottom: 0;
}

.dd-quote-block {
	margin-top: 34px;
	background: linear-gradient(180deg, #eaf1f9, #d9e8fb);
	border: 1px solid #c9d9f0;
	border-radius: var(--radius-lg);
	padding: 32px 34px;
	position: relative;
}
.dd-quote-block .qlabel {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ember-deep);
	margin-bottom: 14px;
}
.dd-quote-block .qmark {
	font-family: Georgia, serif;
	font-size: 64px;
	line-height: 0;
	color: #9ec4ef;
	display: block;
	margin-bottom: -6px;
}
.dd-quote-block blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.1rem, 1.8vw, 1.4rem);
	line-height: 1.42;
	color: var(--ink);
	letter-spacing: -0.005em;
}
.dd-quote-block cite {
	display: block;
	margin-top: 18px;
	font-style: normal;
	font-size: 13.5px;
	color: var(--ink-soft);
}
.dd-quote-block cite strong {
	color: var(--ink);
	font-family: var(--font-display);
}

.dd-side {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.dd-matters {
	background: var(--paper-warm);
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	padding: 26px 28px;
}
.dd-matters p {
	font-size: 14.5px;
	color: var(--ink-soft);
	line-height: 1.65;
}
.dd-theme-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dd-theme-tag {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 11.5px;
	padding: 8px 13px;
	border-radius: 100px;
	background: var(--sky-tint);
	color: var(--navy);
	border: 1px solid #c9d9f0;
}

/* ---------- PHOTO REEL (marquee) ---------- */
.photo-band {
	padding: 0;
	background: var(--ink-700);
	overflow: hidden;
	border-top: 4px solid var(--ember-500);
	border-bottom: 4px solid var(--bark-400);
}
.band-track {
	display: flex;
	gap: 10px;
	width: max-content;
	animation: bandScroll 70s linear infinite;
	padding: 12px 0;
}
.photo-band:hover .band-track {
	animation-play-state: paused;
}
@keyframes bandScroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
/* fixed box so the marquee width is deterministic even before images decode */
.band-track img {
	height: 190px;
	width: 270px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	opacity: 0.94;
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;
	cursor: zoom-in;
	background: var(--ink-800);
}
.band-track img:hover {
	opacity: 1;
	transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
	.band-track {
		animation: none;
	}
}

/* ---------- FLOATING SOUNDTRACK CONTROL ---------- */
.audio-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 880;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--ink-700);
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 100px;
	padding: 11px 18px 11px 15px;
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12.5px;
	box-shadow: var(--shadow-lift);
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}
.audio-fab:hover {
	background: var(--ink-900);
	transform: translateY(-2px);
}
.audio-fab-label {
	letter-spacing: 0.02em;
}
.audio-fab-icon {
	width: 16px;
	height: 16px;
	display: none;
}
.audio-fab .audio-eq {
	display: inline-flex;
}
/* muted state swaps the equaliser for a crossed speaker */
.audio-fab.muted .audio-eq {
	display: none;
}
.audio-fab.muted .audio-fab-icon {
	display: block;
}

.audio-eq {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	height: 15px;
}
.audio-eq i {
	width: 3px;
	background: var(--ember-300);
	border-radius: 2px;
	height: 30%;
	display: block;
}
.audio-fab.playing .audio-eq i {
	animation: eq 0.9s ease-in-out infinite;
}
.audio-fab.playing .audio-eq i:nth-child(2) {
	animation-delay: 0.15s;
}
.audio-fab.playing .audio-eq i:nth-child(3) {
	animation-delay: 0.3s;
}
.audio-fab.playing .audio-eq i:nth-child(4) {
	animation-delay: 0.45s;
}
@keyframes eq {
	0%,
	100% {
		height: 25%;
	}
	50% {
		height: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.audio-fab.playing .audio-eq i {
		animation: none;
	}
}

/* ---------- VOICES (sticky notes) ---------- */
.voice-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 34px;
}
.voices-grid {
	columns: 3;
	column-gap: 22px;
	padding-top: 8px;
}
.voice-card {
	--note-bg: var(--bark-200);
	--note-text: var(--ink-900);
	--note-pin: var(--bark-500);
	--rot: 0deg;
	break-inside: avoid;
	margin-bottom: 30px;
	position: relative;
	background: var(--note-bg);
	background-image: linear-gradient(
		160deg,
		rgba(255, 255, 255, 0.4),
		rgba(255, 255, 255, 0) 40%
	);
	color: var(--note-text);
	border-radius: 3px;
	padding: 34px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow:
		0 16px 28px -14px rgba(4, 18, 37, 0.4),
		0 3px 6px rgba(4, 18, 37, 0.12);
	transform: rotate(var(--rot));
	transition:
		transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
		box-shadow 0.25s ease;
}
.voice-card:hover {
	transform: rotate(0deg) translateY(-6px) scale(1.02);
	box-shadow:
		0 26px 40px -16px rgba(4, 18, 37, 0.45),
		0 4px 8px rgba(4, 18, 37, 0.14);
	z-index: 3;
}
/* translucent tape strip, slightly askew, instead of a pin */
.voice-card::before {
	content: "";
	position: absolute;
	top: -11px;
	left: 50%;
	width: 86px;
	height: 26px;
	margin-left: -43px;
	background: rgba(255, 255, 255, 0.62);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 2px 5px rgba(4, 18, 37, 0.18);
	transform: rotate(var(--tape-rot, -2.5deg));
	z-index: 2;
}

/* note colours cycle through the guide, feature quotes get the ember note */
.voice-card.n1 {
	--note-bg: #f2e2c4;
}
.voice-card.n2 {
	--note-bg: #d9e8fb;
}
.voice-card.n3 {
	--note-bg: #efe9e0;
}
.voice-card.n4 {
	--note-bg: #eaf1f9;
}
.voice-card.n5 {
	--note-bg: #e3dacc;
}
/* the guide has no pastel in the ember family, so this is a light tint of ember-300 */
.voice-card.is-feature {
	--note-bg: #ffdcea;
	--note-text: #041225;
}

.voices-grid .voice-card:nth-child(6n + 1) {
	--rot: -2.1deg;
	--tape-rot: 3deg;
}
.voices-grid .voice-card:nth-child(6n + 2) {
	--rot: 1.5deg;
	--tape-rot: -3.5deg;
}
.voices-grid .voice-card:nth-child(6n + 3) {
	--rot: -1.2deg;
	--tape-rot: 2deg;
}
.voices-grid .voice-card:nth-child(6n + 4) {
	--rot: 2deg;
	--tape-rot: -2deg;
}
.voices-grid .voice-card:nth-child(6n + 5) {
	--rot: -1.7deg;
	--tape-rot: 4deg;
}
.voices-grid .voice-card:nth-child(6n + 6) {
	--rot: 1.1deg;
	--tape-rot: -3deg;
}

.voice-qmark {
	font-family: Georgia, serif;
	font-size: 44px;
	line-height: 0.5;
	opacity: 0.45;
}
.voice-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15.5px;
	line-height: 1.42;
	color: var(--note-text);
	letter-spacing: -0.005em;
}
.voice-card.is-feature .voice-text {
	font-size: 17.5px;
}
.voice-attrib {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: auto;
	padding-top: 13px;
	border-top: 1px dashed rgba(0, 0, 0, 0.18);
}
.voice-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(0, 0, 0, 0.14);
	color: var(--note-text);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 13px;
	overflow: hidden;
}
.voice-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.voice-name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 13.5px;
	color: var(--note-text);
}
.voice-role {
	font-size: 11.8px;
	line-height: 1.35;
	opacity: 0.78;
}
.voice-session {
	font-size: 11px;
	opacity: 0.65;
	margin-top: 4px;
	font-weight: 600;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
	columns: 4;
	column-gap: 12px;
}
.gallery-grid .gallery-item {
	width: 100%;
	display: block;
	margin-bottom: 12px;
	border-radius: 10px;
	cursor: zoom-in;
	break-inside: avoid;
	position: relative;
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}
.gallery-grid .gallery-item:hover {
	transform: scale(1.015);
	box-shadow: var(--shadow-card);
}
.gallery-grid .gallery-item img {
	width: 100%;
	display: block;
}
.gallery-item.is-video .play-badge {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(4, 18, 37, 0.28);
}
.gallery-item.is-video .play-badge svg {
	width: 52px;
	height: 52px;
	color: var(--white);
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(2, 8, 18, 0.94);
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.lightbox.open {
	display: flex;
}
.lightbox img,
.lightbox video {
	max-width: min(92vw, 1100px);
	max-height: 86vh;
	border-radius: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--white);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.22);
}
.lightbox-close {
	top: 24px;
	right: 24px;
}
.lightbox-prev {
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox-next {
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
	width: 20px;
	height: 20px;
}
.lightbox-counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #c9d9f0;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
}
.lightbox-caption {
	position: absolute;
	bottom: 56px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 14px;
	text-align: center;
	max-width: 60ch;
}

/* ---------- FOOTER ---------- */
.site-footer {
	background: var(--navy-deep);
	color: #c9d9f0;
	padding: 56px 0 40px;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
/* the mark is navy artwork, so knock it out to white on the dark footer */
.footer-inner img {
	height: 44px;
	filter: brightness(0) invert(1);
	opacity: 0.92;
}
.footer-links {
	display: flex;
	gap: 22px;
	font-size: 13.5px;
}
.footer-links a:hover {
	color: var(--white);
}
.footer-bottom {
	margin-top: 22px;
	font-size: 12.5px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	color: #7a8ca3;
}

/* ---------- FADE-IN ---------- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}
.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- COUNT-UP ---------- */
.count-up {
	display: inline-block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
	.hero-lower .wrap {
		grid-template-columns: 1fr;
	}
	.numbers-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.thread-board .thread-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}
	.session-grid .session-card {
		flex: 0 0 calc((100% - 18px) / 2);
	}
	.dd-metrics {
		grid-template-columns: repeat(2, 1fr);
	}
	.dd-grid-2col {
		grid-template-columns: 1fr;
	}
	.dd-header,
	.dd-body {
		padding: 32px 28px;
	}
	.gallery-grid {
		columns: 3;
	}
}

@media (max-width: 720px) {
	.wrap {
		padding: 0 20px;
	}
	.nav-links {
		display: none;
	}
	.nav-toggle {
		display: flex;
	}
	.hero-mosaic {
		grid-auto-rows: 58px;
		grid-template-columns: repeat(4, 1fr);
	}
	.hero-mosaic .c1 {
		grid-column: 1/3;
		grid-row: 1/3;
	}
	.hero-mosaic .c2 {
		grid-column: 3/4;
		grid-row: 1/2;
	}
	.hero-mosaic .c3 {
		grid-column: 4/5;
		grid-row: 1/2;
	}
	.hero-mosaic .c-core {
		grid-column: 3/5;
		grid-row: 2/5;
	}
	.hero-mosaic .c5 {
		display: none;
	}
	.hero-mosaic .c6 {
		grid-column: 1/2;
		grid-row: 3/6;
	}
	.hero-mosaic .c7 {
		grid-column: 2/3;
		grid-row: 3/6;
	}
	.hero-mosaic .c8 {
		display: none;
	}
	.hero-mosaic .c9 {
		display: none;
	}
	.numbers-grid {
		grid-template-columns: 1fr 1fr;
	}
	.thread-board .thread-card {
		flex: 0 0 100%;
	}
	.session-grid .session-card {
		flex: 0 0 100%;
	}
	.dd-metrics {
		grid-template-columns: 1fr 1fr;
	}
	section {
		padding: 64px 0;
	}
	.gallery-grid {
		columns: 2;
	}
	.lightbox-prev,
	.lightbox-next {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 980px) {
	.voices-grid {
		columns: 2;
	}
}
@media (max-width: 720px) {
	.voices-grid {
		columns: 1;
	}
	.audio-fab {
		right: 14px;
		bottom: 14px;
		padding: 10px 15px 10px 13px;
		font-size: 12px;
	}
}
