:root {
	--bg: #ffffff;
	--text: #0b0b0b;
	--muted: #5a5a5a;
	--rule: rgba(11, 11, 11, 0.12);
	--soft: rgba(11, 11, 11, 0.06);
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	line-height: 1.65 !important;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;h
}

.font-serif {
	font-family: "Cormorant Garamond", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.content-wrap {
	max-width: 1200px;
}

/* Cinematic white background with subtle topo + light grain */
.page-bg {
	position: relative;
	isolation: isolate;
}

.page-bg::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -2;
	background:
		radial-gradient(1200px 800px at 20% 10%, rgba(0, 0, 0, 0.045), transparent 55%),
		radial-gradient(900px 700px at 85% 25%, rgba(0, 0, 0, 0.035), transparent 55%),
		radial-gradient(1000px 900px at 50% 95%, rgba(0, 0, 0, 0.03), transparent 55%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.02));
}

.page-bg::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	opacity: 0.18;
	background-image:
		repeating-radial-gradient(circle at 25% 15%, rgba(0, 0, 0, 0.025) 0 1px, transparent 1px 22px),
		repeating-radial-gradient(circle at 75% 35%, rgba(0, 0, 0, 0.02) 0 1px, transparent 1px 26px);
	mix-blend-mode: multiply;
}

/* Header blur */
.header-blur {
	background: rgba(255, 255, 255, 0.84);
	backdrop-filter: blur(12px);
}

/* Reading styling */
.reading p {
	margin-top: 1rem;
	line-height: 1.9;
	font-size: 1.04rem;
	color: rgba(11, 11, 11, 0.92);
}

.reading .meta {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.55;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.reading .rule {
	height: 1px;
	background: var(--rule);
}

.reading figure {
	position: relative;
}

/* Cinematic image treatment */
.cinema-img {
	border-radius: 1rem;
	filter: contrast(1.09) saturate(1.06) brightness(0.98);
	transform: translateZ(0);
}

.reading figure::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 1rem;
	pointer-events: none;
	background:
		radial-gradient(800px 320px at 20% 25%, rgba(0, 0, 0, 0.22), transparent 62%),
		radial-gradient(800px 340px at 85% 30%, rgba(0, 0, 0, 0.18), transparent 64%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 40%, rgba(0, 0, 0, 0.18));
	mix-blend-mode: multiply;
	opacity: 0.85;
}

.reading figure::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 1rem;
	pointer-events: none;
	box-shadow:
		0 24px 55px rgba(0, 0, 0, 0.14),
		0 2px 0 rgba(0, 0, 0, 0.04),
		inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.reading figcaption {
	color: rgba(11, 11, 11, 0.62);
	font-size: 0.93rem;
	line-height: 1.6;
	margin-top: 0.85rem;
}

/* Drop cap for first paragraph after meta inside each article */
.dropcap:first-letter {
	float: left;
	font-family: "Cormorant Garamond", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
	font-size: 3.2rem;
	line-height: 0.9;
	padding-right: 0.5rem;
	padding-top: 0.2rem;
	color: rgba(11, 11, 11, 0.92);
}

/* Cinematic section separator */
.divider {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	margin: 3.25rem 0;
}

.divider .line {
	height: 1px;
	background: var(--rule);
}

.divider .mark {
	width: 42px;
	height: 42px;
	border-radius: 9999px;
	border: 1px solid var(--soft);
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	display: grid;
	place-items: center;
}

.divider .mark svg {
	opacity: 0.8;
}

/* Hero cinematic treatment */
.hero {
	position: relative;
	border-radius: 1.25rem;
	overflow: hidden;
}

.hero img {
	transform: scale(1.01);
	filter: contrast(1.08) saturate(1.06) brightness(0.98);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 320px at 10% 20%, rgba(0, 0, 0, 0.35), transparent 60%),
		radial-gradient(900px 380px at 90% 25%, rgba(0, 0, 0, 0.28), transparent 62%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 38%, rgba(0, 0, 0, 0.22));
	mix-blend-mode: multiply;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.14),
		0 30px 70px rgba(0, 0, 0, 0.18);
}

/* Headings feel more adventurous */
.title {
	letter-spacing: -0.02em;
}

/* Number blocks keep original content but improve spacing */
.reading .numblock {
	margin-top: 1rem;
	line-height: 1.9;
	font-size: 1.04rem;
	color: rgba(11, 11, 11, 0.92);
}

.reading .numblock .line {
	margin-top: 0.9rem;
	padding-left: 0.75rem;
	border-left: 2px solid rgba(0, 0, 0, 0.08);
}

/* Fade in for images */
.reveal {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Sidebar active state */
.toc a {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: 0.75rem;
	color: rgba(11, 11, 11, 0.72);
	transition: background 200ms ease, color 200ms ease;
}

.toc a:hover {
	background: rgba(0, 0, 0, 0.04);
	color: rgba(11, 11, 11, 0.9);
}

.toc a.is-active {
	background: rgba(0, 0, 0, 0.06);
	color: rgba(11, 11, 11, 0.95);
}

/* Floating quick nav (right) */
.float-nav {
	position: fixed;
	right: 16px;
	bottom: 18px;
	z-index: 40;
}

@media (min-width: 1024px) {
	.float-nav {
		right: 22px;
		bottom: 22px;
	}
}

.float-btn {
	border: 1px solid rgba(0, 0, 0, 0.14);
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(10px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* ==============================
			ADDED: Header + Years + Subscribe + Footer styles (scoped)
			============================== */
header.header,
section.years,
section.subscribe,
footer.footer {
	--bg: #ffffff;
	--card: #f4f5f7;
	--muted: #6b7280;
	--text: #111827;
	--title: #0b0b0c;
	--accent: #111111;
	--accent-2: #9ca3af;
	--ring: rgba(0, 0, 0, 0.22);
}

.container {
    width: min(1350px, 92vw) !important;
	margin-inline: auto !important;
}

section#years .container {
    width: min(1200px, 92vw) !important;
}

section#comments .container {
    width: min(1200px, 92vw) !important;
}

.section {
	padding: clamp(40px, 6vw, 92px) 0;
}

/* Chips / Buttons */
.badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--title);
	background: #f3f4f6;
	border: 1px solid rgba(0, 0, 0, 0.12);
	padding: 6px 10px;
	border-radius: 999px;
}

.button {
	--bgc: #111;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: var(--bgc);
	color: #fff;
	text-decoration: none;
	padding: 14px 20px;
	border-radius: 999px;
	font-weight: 900;
	box-shadow: 0 10px 24px -10px var(--ring);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
	white-space: nowrap;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -14px var(--ring);
	background: #000;
}

.button.secondary {
	--bgc: #fff;
	background: #fff;
	color: #111;
	border: 1px solid rgba(0, 0, 0, 0.16);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.18);
}

/* Header */
header.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

header.header .nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
}

header.header .logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

header.header .logo svg {
	width: 36px;
	height: 36px;
}

header.header .logo .word {
	font-weight: 900;
	letter-spacing: 0.1px;
}

header.header .nav-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

header.header .nav-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

header.header .nav-links a {
	color: var(--text);
	text-decoration: none;
	font-weight: 900;
	padding: 8px 13px;
	border-radius: 12px;
	line-height: 1.5;
}

header.header .nav-links a:hover {
	background: #f2f3f5;
}

header.header .menu-toggle {
	display: none;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: #fff;
	border-radius: 12px;
	padding: 10px 12px;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}

header.header .menu-toggle svg {
	width: 22px;
	height: 22px;
	display: block;
}

header.header .menu-panel {
	display: none;
	width: 100%;
	padding: 10px 0 14px;
}

header.header .menu-panel .nav-links {
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
}

header.header .menu-panel .nav-links a {
	background: #f4f5f7;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

header.header .menu-panel .nav-links a:hover {
	background: #eef0f2;
}

@media (max-width: 900px) {
	header.header .nav .nav-links {
		display: none;
	}

	header.header .menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	header.header .menu-panel {
		display: block;
	}

	header.header .menu-panel[hidden] {
		display: none;
	}
}

.hidden {
    display: none;
}

/* Years section (scoped) */
section.years {
	background: radial-gradient(1200px 500px at 50% -120px, rgba(0, 0, 0, 0.06), transparent 60%) #fff;
	border-top: 1px solid #eef2f7;
	border-bottom: 1px solid #eef2f7;
}

section.years .years-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

section.years .title {
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
	font-weight: 900;
	color: var(--title);
	letter-spacing: -0.02em;
}

section.years h2.title {
	font-size: clamp(28px, 3.6vw, 46px);
	margin: 0 0 12px;
}

section.years .sub {
	color: var(--muted);
	font-weight: 500;
}

section.years .year-indicator {
	position: sticky;
	top: 72px;
	z-index: 5;
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
	pointer-events: none;
}

section.years .year-indicator .pill {
	background: rgba(0, 0, 0, 0.82);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 8px 12px;
	border-radius: 999px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 12px;
	box-shadow: 0 18px 60px rgba(2, 6, 23, 0.25);
	backdrop-filter: blur(10px) saturate(120%);
}

section.years .years-list {
	display: grid;
	gap: 16px;
	margin-top: 14px;
}

section.years .year-block {
	border: 1px solid #e6eef7;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff, #fbfbfc);
	padding: 18px 18px 16px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.65s ease, border-color 0.65s ease;
}

section.years .year-block.in {
	opacity: 1;
	transform: none;
}

section.years .year-block.active {
	border-color: rgba(0, 0, 0, 0.22);
	box-shadow: 0 18px 70px rgba(0, 0, 0, 0.08);
}

section.years .year-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

section.years .year-top .year {
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
	font-weight: 900;
	font-size: clamp(22px, 2.6vw, 30px);
	margin: 0;
	color: var(--title);
}

section.years .year-top .count {
	color: var(--muted);
	font-weight: 700;
	font-size: 13px;
}

section.years .trip-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 28px;
}

@media (max-width: 860px) {
	section.years .trip-list {
		columns: 1;
	}
}

section.years .trip-list li {
	break-inside: avoid;
	padding-left: 14px;
	margin: 8px 0;
	position: relative;
}

section.years .trip-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}

/* Subscribe */
section.subscribe {
	position: relative;
	background: #000;
	overflow: hidden;
	border-top: 1px solid #eef2f7;
}

section.subscribe .bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: contrast(1.05) saturate(1.05) brightness(0.78);
}

section.subscribe .overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.35));
}

section.subscribe .inner {
	position: relative;
	z-index: 2;
	padding: clamp(54px, 7vw, 96px) 0;
}

section.subscribe .panel {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 26px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 22px;
	padding: clamp(18px, 3vw, 28px);
	background: rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(10px) saturate(120%);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
	section.subscribe .panel {
		grid-template-columns: 1fr;
	}
}

section.subscribe .title {
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.02em;
}

section.subscribe .sub {
	color: rgba(255, 255, 255, 0.86);
	font-weight: 500;
}

section.subscribe .sub-form {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

section.subscribe .sub-form input {
	flex: 1 1 220px;
	padding: 14px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	outline: none;
	font-weight: 700;
}

section.subscribe .sub-form input::placeholder {
	color: rgba(255, 255, 255, 0.72);
}

section.subscribe .sub-form input:focus {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

section.subscribe .sub-note {
	margin-top: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.76);
	font-weight: 600;
}

section.subscribe .sub-toast {
	margin-top: 10px;
	font-size: 13px;
	color: #fff;
	font-weight: 900;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	display: none;
}

section.subscribe .sub-toast.show {
	display: inline-block;
}

/* Footer */
footer.footer {
	padding: 34px 0 70px;
	border-top: 1px solid #eef2f7;
	background: #fff;
	color: var(--muted);
}