.marquee {
	--duration: 40s;
	--gap: 16px;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
	display: flex;
	gap: var(--gap);
	width: max-content;
	animation: marquee var(--duration) linear infinite;
	will-change: transform;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}
	
	to {
		transform: translateX(calc(-50% - (var(--gap) / 2)));
	}
}

.hero-kenburns {
	transform-origin: center center;
	animation: kenburns 24s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes kenburns {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.25);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
	}

	.hero-kenburns {
		animation: none;
		transform: none;
	}
}

:root {
	--bg: #ffffff;
	--card: #f4f5f7;
	--muted: #6b7280;
	--text: #111827;
	--title: #0b0b0c;
	--accent: #111111;
	--accent-2: #9ca3af;
	--ring: rgba(0, 0, 0, .22);
}

* {
	box-sizing: border-box
}

html,
body {
	height: 100%
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.container {
	width: min(1350px, 92vw) !important;
	margin-inline: auto !important;
}

section#years .container,
section#comments .container {
    width: min(1200px, 92vw) !important;
}

.section {
	padding: clamp(40px, 6vw, 92px) 0
}

.title {
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
	font-weight: 900;
	color: var(--title);
	letter-spacing: -.02em;
}

h2.title {
	font-size: clamp(28px, 3.6vw, 46px);
	margin: 0 0 12px
}

h3 {
	margin: 0 0 6px;
	font-size: clamp(18px, 2vw, 22px)
}

.sub {
	color: var(--muted);
	font-weight: 500
}

.badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--title);
	background: #f3f4f6;
	border: 1px solid rgba(0, 0, 0, .12);
	padding: 6px 10px;
	border-radius: 999px;
}

.button {
	--bgc: #111;
	display: inline-flex;
	align-items: center;
	gap: .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 .25s ease, box-shadow .25s ease, background .3s ease;
	white-space: nowrap;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -14px var(--ring);
	background: #000
}

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .90);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(15, 23, 42, .06)
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.logo svg {
	width: 36px;
	height: 36px
}

.logo .word {
	font-weight: 900;
	letter-spacing: .1px
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 10px
}

.nav-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.nav-links a {
	color: var(--text);
	text-decoration: none;
	font-weight: 900;
	padding: 8px 12px;
	border-radius: 12px;
	line-height: 1.1;
}

.nav-links a:hover {
	background: #f2f3f5
}

.menu-toggle {
	display: none;
	border: 1px solid rgba(15, 23, 42, .10);
	background: #fff;
	border-radius: 12px;
	padding: 10px 12px;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
}

.menu-toggle svg {
	width: 22px;
	height: 22px;
	display: block
}

.menu-panel {
	display: none;
	width: 100%;
	padding: 10px 0 14px;
}

.menu-panel .nav-links {
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
}

.menu-panel .nav-links a {
	background: #f4f5f7;
	border: 1px solid rgba(0, 0, 0, .10);
}

.menu-panel .nav-links a:hover {
	background: #eef0f2
}

@media (max-width:900px) {
	.nav .nav-links {
        display: none;
    }

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center
	}

	.menu-panel {
		display: block
	}

	.menu-panel[hidden] {
		display: none
	}
}

.years {
	background: radial-gradient(1200px 500px at 50% -120px, rgba(0, 0, 0, .06), transparent 60%) #fff;
	border-top: 1px solid #eef2f7;
	border-bottom: 1px solid #eef2f7;
}

.years .years-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.year-indicator {
	position: sticky;
	top: 72px;
	z-index: 5;
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
	pointer-events: none;
}

.year-indicator .pill {
	background: rgba(0, 0, 0, .82);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .10);
	padding: 8px 12px;
	border-radius: 999px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 12px;
	box-shadow: 0 18px 60px rgba(2, 6, 23, .25);
	backdrop-filter: blur(10px) saturate(120%);
}

.years-list {
	display: grid;
	gap: 16px;
	margin-top: 14px
}

.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 .65s ease, transform .65s ease, box-shadow .65s ease, border-color .65s ease;
}

.year-block.in {
	opacity: 1;
	transform: none
}

.year-block.active {
	border-color: rgba(0, 0, 0, .22);
	box-shadow: 0 18px 70px rgba(0, 0, 0, .08);
}

.year-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.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);
}

.year-top .count {
	color: var(--muted);
	font-weight: 700;
	font-size: 13px;
}

.trip-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 28px;
}

@media (max-width:860px) {
	.trip-list {
		columns: 1
	}
}

.trip-list li {
	break-inside: avoid;
	padding-left: 14px;
	margin: 8px 0;
	position: relative;
}

.trip-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: .72em;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	box-shadow: 0 8px 16px rgba(0, 0, 0, .14);
}

.subscribe {
	position: relative;
	background: #000;
	overflow: hidden;
	border-top: 1px solid #eef2f7;
}

.subscribe .bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: contrast(1.05) saturate(1.05) brightness(.78);
}

.subscribe .overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .35));
}

.subscribe .inner {
	position: relative;
	z-index: 2;
	padding: clamp(54px, 7vw, 96px) 0;
}

.subscribe .panel {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 26px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 22px;
	padding: clamp(18px, 3vw, 28px);
	background: rgba(0, 0, 0, .38);
	backdrop-filter: blur(10px) saturate(120%);
	box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

@media (max-width:900px) {
	.subscribe .panel {
		grid-template-columns: 1fr
	}
}

.subscribe .title {
	color: #fff
}

.subscribe .sub {
	color: rgba(255, 255, 255, .86)
}

.sub-form {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.sub-form input {
	flex: 1 1 220px;
	padding: 14px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .12);
	color: #fff;
	outline: none;
	font-weight: 700;
}

.sub-form input::placeholder {
	color: rgba(255, 255, 255, .72)
}

.sub-form input:focus {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .14)
}

.sub-note {
	margin-top: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, .76);
	font-weight: 600;
}

.sub-toast {
	margin-top: 10px;
	font-size: 13px;
	color: #fff;
	font-weight: 900;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .18);
	display: none;
}

.sub-toast.show {
	display: inline-block
}

.footer {
	padding: 34px 0 70px;
	border-top: 1px solid #eef2f7;
	background: #fff;
	color: var(--muted)
}

.progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0%;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	z-index: 60;
	box-shadow: 0 0 12px rgba(0, 0, 0, .28)
}

.to-top {
	position: fixed;
	right: 20px;
	bottom: 22px;
	z-index: 30;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
	transform: translateY(10px)
}

.to-top.show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0)
}

.to-top .button {
	padding: 12px 14px
}