:root {
	--bg: #050607;
	--surface: #0d0f12;
	--surface-2: #14171c;
	--text: #f7f8fa;
	--text-2: #b5bac4;
	--muted: #7d8490;
	--line: rgb(255 255 255 / 9%);
	--accent: #2583ff;
	--accent-2: #64a8ff;
	--success: #25c790;
	--danger: #ef6a72;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--container: 1240px;
	--reading: 760px;
	--shadow: 0 24px 70px rgb(0 0 0 / 35%);
	--font: Inter, "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	color-scheme: dark;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

body::before {
	position: fixed;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(circle at 16% 0%, rgb(37 131 255 / 12%), transparent 28rem),
		radial-gradient(circle at 90% 20%, rgb(37 199 144 / 5%), transparent 32rem);
	content: "";
	pointer-events: none;
}

a {
	color: inherit;
	text-decoration: none;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

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

.container {
	width: min(calc(100% - 32px), var(--container));
	margin-inline: auto;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	z-index: 1000;
	top: 12px;
	inset-inline-start: 12px;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	background: var(--text);
	color: var(--bg);
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid var(--line);
	background: rgb(5 6 7 / 82%);
	backdrop-filter: blur(20px);
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 72px;
	gap: 28px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-weight: 750;
	letter-spacing: -.02em;
}

.brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	border: 1px solid rgb(255 255 255 / 15%);
	border-radius: 12px;
	background: linear-gradient(145deg, #191d24, #0a0c0f);
	box-shadow: inset 0 1px rgb(255 255 255 / 8%);
	place-items: center;
}

.custom-logo {
	width: 40px;
	max-height: 40px;
	object-fit: contain;
}

.primary-nav {
	justify-self: center;
}

.nav-list,
.footer-links {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	gap: 6px;
	list-style: none;
}

.nav-list a {
	display: block;
	padding: 8px 11px;
	border-radius: 9px;
	color: var(--text-2);
	font-size: .9rem;
}

.nav-list a:hover,
.current-menu-item > a {
	background: var(--surface-2);
	color: var(--text);
}

.menu-toggle,
.search-toggle {
	display: grid;
	border: 0;
	background: transparent;
	color: var(--text);
	cursor: pointer;
	place-items: center;
}

.menu-toggle {
	display: none;
}

.search-toggle {
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 13px;
	font-size: 1.4rem;
}

.search-panel {
	padding: 18px 0;
	border-top: 1px solid var(--line);
	background: var(--surface);
}

.search-form {
	display: flex;
	width: min(100%, 820px);
	margin-inline: auto;
	gap: 10px;
}

.search-form input {
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg);
	color: var(--text);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 10px 30px rgb(37 131 255 / 24%);
}

.button-primary:hover {
	background: #1979f5;
}

.button-ghost {
	border-color: var(--line);
	background: rgb(255 255 255 / 3%);
	color: var(--text);
}

.hero {
	padding: clamp(64px, 9vw, 136px) 0 clamp(70px, 8vw, 120px);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
	align-items: center;
	gap: clamp(38px, 7vw, 100px);
}

.hero-copy h1 {
	margin: 12px 0 20px;
	font-size: clamp(3.4rem, 8vw, 7.5rem);
	line-height: .92;
	letter-spacing: -.075em;
}

[dir="rtl"] .hero-copy h1 {
	letter-spacing: -.04em;
}

.hero-copy p {
	max-width: 620px;
	margin: 0;
	color: var(--text-2);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	margin-top: 32px;
	gap: 12px;
}

.eyebrow {
	color: var(--accent-2);
	font-size: .78rem;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hero-feature {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 490px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.hero-feature::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 85%), transparent 62%);
	content: "";
}

.hero-feature img {
	width: 100%;
	height: 100%;
	min-height: 490px;
	object-fit: cover;
	transition: transform .5s ease;
}

.hero-feature:hover img {
	transform: scale(1.025);
}

.hero-feature__overlay {
	position: absolute;
	z-index: 1;
	right: 28px;
	bottom: 28px;
	left: 28px;
	display: grid;
	gap: 8px;
}

.hero-feature__overlay strong {
	font-size: clamp(1.4rem, 3vw, 2.2rem);
	line-height: 1.3;
}

.section {
	padding: clamp(68px, 9vw, 120px) 0;
}

.section-surface {
	border-block: 1px solid var(--line);
	background: var(--surface);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 34px;
	gap: 20px;
}

.section-heading h2,
.archive-header h1 {
	margin: 7px 0 0;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.12;
	letter-spacing: -.045em;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.content-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.content-card:hover {
	border-color: rgb(255 255 255 / 18%);
	background: var(--surface-2);
	transform: translateY(-4px);
}

.card-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-bottom: 1px solid var(--line);
	background: #080a0d;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.content-card:hover .card-media img {
	transform: scale(1.035);
}

.card-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 10%, rgb(37 131 255 / 18%), transparent 45%),
		linear-gradient(145deg, #11151b, #080a0d);
	color: rgb(255 255 255 / 35%);
	font-size: 3rem;
	place-items: center;
}

.card-body {
	padding: 22px;
}

.card-topline,
.card-meta,
.post-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.single-facts {
	display: flex;
	margin-top: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.single-facts > div {
	display: grid;
	min-width: 112px;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgb(255 255 255 / 3%);
	gap: 2px;
}

.single-facts span {
	color: var(--muted);
	font-size: .64rem;
}

.single-facts strong {
	font-size: .84rem;
}

.single-fact--rating strong {
	color: var(--accent-2);
	font-family: Inter, var(--font);
}

.card-topline {
	justify-content: space-between;
}

.rating {
	padding: 2px 8px;
	border: 1px solid rgb(37 199 144 / 24%);
	border-radius: 999px;
	background: rgb(37 199 144 / 8%);
	color: var(--success);
	font-size: .76rem;
	font-weight: 800;
}

.card-title {
	margin: 11px 0 8px;
	font-size: 1.28rem;
	line-height: 1.38;
}

.card-title a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.content-card {
	position: relative;
}

.card-body p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--text-2);
	font-size: .92rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.card-meta {
	margin-top: 18px;
	color: var(--muted);
	font-size: .78rem;
}

.portal-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.portal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgb(255 255 255 / 2%);
	font-weight: 700;
}

.portal:hover {
	border-color: rgb(37 131 255 / 45%);
	background: rgb(37 131 255 / 7%);
}

.portal small {
	color: var(--muted);
}

.archive-header {
	max-width: 850px;
	padding: 30px 0 58px;
}

.archive-description,
.archive-description p {
	color: var(--text-2);
	font-size: 1.12rem;
}

.single-hero {
	padding: clamp(56px, 8vw, 110px) 0 0;
}

.single-header-inner {
	display: grid;
	gap: 50px;
}

.single-title {
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
}

.single-title h1 {
	margin: 12px 0 20px;
	font-size: clamp(2.6rem, 7vw, 5.6rem);
	line-height: 1.04;
	letter-spacing: -.055em;
}

.lead {
	margin: 0 auto;
	color: var(--text-2);
	font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.post-meta {
	justify-content: center;
	margin-top: 24px;
	color: var(--muted);
	font-size: .86rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 18px;
	gap: 7px;
}

.chip {
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text-2);
	font-size: .78rem;
}

.chip:hover {
	border-color: var(--accent);
	color: var(--text);
}

.single-cover {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.single-cover img {
	width: 100%;
	max-height: 760px;
	object-fit: cover;
}

.reading-layout {
	padding-block: clamp(56px, 7vw, 96px);
}

.prose {
	max-width: var(--reading);
	margin-inline: auto;
	color: #e7e9ed;
	font-size: clamp(1.05rem, 2vw, 1.16rem);
	line-height: 1.95;
}

.prose > * + * {
	margin-top: 1.45em;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2em;
	color: var(--text);
	line-height: 1.3;
}

.prose h2 {
	font-size: 1.8em;
}

.prose h3 {
	font-size: 1.4em;
}

.prose a {
	color: var(--accent-2);
	text-decoration: underline;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

.prose img {
	border-radius: var(--radius);
}

.prose blockquote {
	padding-inline-start: 24px;
	margin-inline: 0;
	border-inline-start: 3px solid var(--accent);
	color: var(--text-2);
	font-size: 1.12em;
}

.prose pre,
.prose table {
	overflow-x: auto;
}

.prose pre {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #080a0c;
}

.prose table {
	display: block;
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 12px;
	border: 1px solid var(--line);
	text-align: start;
}

.pagination {
	margin-top: 48px;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 12px;
	place-items: center;
}

.page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
}

.empty-state {
	display: grid;
	max-width: 720px;
	min-height: 420px;
	align-content: center;
	justify-items: center;
	margin-inline: auto;
	gap: 14px;
	text-align: center;
}

.empty-state h1,
.empty-state h2,
.empty-state p {
	margin: 0;
}

.empty-state p,
.muted {
	color: var(--text-2);
}

.empty-state .search-form {
	width: min(100%, 620px);
	margin: 20px 0;
}

.site-footer {
	padding: 70px 0 26px;
	border-top: 1px solid var(--line);
	background: #030405;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 48px;
}

.footer-brand {
	margin-bottom: 18px;
}

.footer-links {
	align-items: flex-start;
	flex-direction: column;
	gap: 9px;
}

.footer-links a,
.footer-bottom {
	color: var(--text-2);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	padding-top: 28px;
	margin-top: 48px;
	border-top: 1px solid var(--line);
	font-size: .82rem;
}

@media (max-width: 1000px) {
	.header-inner {
		grid-template-columns: auto 1fr auto auto;
	}

	.menu-toggle {
		display: grid;
		width: 42px;
		height: 42px;
		justify-self: end;
		gap: 6px;
		place-content: center;
	}

	.menu-toggle span:not(.sr-only) {
		display: block;
		width: 20px;
		height: 2px;
		background: currentColor;
	}

	.primary-nav {
		position: absolute;
		top: 73px;
		right: 16px;
		left: 16px;
		display: none;
		padding: 12px;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--surface);
		box-shadow: var(--shadow);
	}

	.primary-nav.is-open {
		display: block;
	}

	.nav-list {
		align-items: stretch;
		flex-direction: column;
	}

	.nav-list a {
		padding: 11px 13px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-copy {
		max-width: 780px;
	}

	.hero-feature {
		min-height: min(62vw, 560px);
	}

	.hero-feature img {
		min-height: min(62vw, 560px);
	}

	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.container {
		width: min(calc(100% - 24px), var(--container));
	}

	.brand-name {
		display: none;
	}

	.hero {
		padding-top: 58px;
	}

	.hero-copy h1 {
		font-size: clamp(3rem, 20vw, 5rem);
	}

	.hero-feature,
	.hero-feature img {
		min-height: 390px;
	}

	.hero-feature__overlay {
		right: 20px;
		bottom: 20px;
		left: 20px;
	}

	.card-grid,
	.portal-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.search-form {
		flex-direction: column;
	}

	.single-title h1 {
		font-size: clamp(2.4rem, 12vw, 4rem);
	}

	.post-meta {
		flex-wrap: wrap;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* --------------------------------------------------------------------------
   Prototype integration — WordPress-native activity experience
   -------------------------------------------------------------------------- */

.narrow-container {
	width: min(calc(100% - 32px), 680px);
	margin-inline: auto;
}

.brand-wordmark {
	color: var(--text);
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.28rem;
	font-weight: 800;
	letter-spacing: -.045em;
	white-space: nowrap;
}

.brand-wordmark b {
	color: var(--accent);
}

.header-inner {
	grid-template-columns: auto 1fr auto;
}

.search-pill {
	display: flex;
	align-items: center;
	min-width: 218px;
	min-height: 43px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--muted);
	cursor: pointer;
	gap: 10px;
}

.search-pill:hover {
	border-color: rgb(255 255 255 / 18%);
	background: var(--surface-2);
	color: var(--text-2);
}

.search-pill kbd {
	padding: 2px 7px;
	margin-inline-start: auto;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: rgb(255 255 255 / 4%);
	color: var(--muted);
	font-family: Inter, system-ui, sans-serif;
	font-size: .68rem;
}

.mobile-search,
.mobile-tabbar {
	display: none;
}

.activity-home {
	min-height: 75vh;
}

.activity-intro {
	padding: clamp(54px, 8vw, 96px) 0 32px;
}

.activity-intro__copy {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.activity-intro h1 {
	margin: 8px 0 6px;
	font-size: clamp(2.35rem, 6vw, 3.6rem);
	line-height: 1.15;
	letter-spacing: -.05em;
}

.activity-intro p {
	margin: 0;
	color: var(--text-2);
}

.activity-status {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border: 1px solid rgb(37 199 144 / 20%);
	border-radius: 999px;
	background: rgb(37 199 144 / 8%);
	color: var(--success);
	font-size: .7rem;
	font-weight: 800;
	gap: 7px;
}

.activity-status__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 5px rgb(37 199 144 / 10%);
}

.timeline-section {
	padding: 24px 0 clamp(78px, 10vw, 130px);
}

.timeline {
	position: relative;
}

.timeline-item {
	position: relative;
	padding-inline-start: 46px;
	padding-bottom: 36px;
}

.timeline-item:last-child {
	padding-bottom: 0;
}

.timeline-item__line {
	position: absolute;
	top: 15px;
	bottom: -15px;
	inset-inline-start: 12px;
	width: 1px;
	background: var(--line);
}

.timeline-item:last-child .timeline-item__line {
	display: none;
}

.timeline-item__dot {
	position: absolute;
	z-index: 2;
	top: 14px;
	inset-inline-start: 7px;
	width: 11px;
	height: 11px;
	border: 2px solid var(--accent);
	border-radius: 50%;
	background: var(--bg);
	box-shadow: 0 0 13px rgb(37 131 255 / 56%);
}

.timeline-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
	transition: border-color .2s ease, transform .2s ease;
}

.timeline-card:hover {
	border-color: rgb(255 255 255 / 16%);
	transform: translateY(-2px);
}

.timeline-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 12px;
	color: var(--muted);
	font-size: .75rem;
}

.platform-badge {
	display: inline-flex;
	align-items: center;
	color: var(--text-2);
	font-weight: 700;
	gap: 7px;
}

.platform-badge__icon {
	display: grid;
	width: 25px;
	height: 25px;
	border-radius: 8px;
	background: rgb(255 255 255 / 5%);
	color: var(--accent-2);
	font-family: Inter, system-ui, sans-serif;
	font-size: .8rem;
	place-items: center;
}

.platform-badge--youtube .platform-badge__icon {
	background: rgb(255 0 0 / 10%);
	color: #ff4d4d;
}

.platform-badge--instagram .platform-badge__icon {
	background: rgb(225 48 108 / 10%);
	color: #ed5b8e;
}

.platform-badge--tiktok .platform-badge__icon {
	background: rgb(37 244 238 / 8%);
	color: #25f4ee;
}

.platform-badge--snapchat .platform-badge__icon {
	background: rgb(255 252 0 / 10%);
	color: #fffc00;
}

.timeline-media {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0 16px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #050607;
}

.timeline-media img {
	width: 100%;
	max-height: 520px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .5s ease;
}

.timeline-media:hover img {
	transform: scale(1.025);
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 58px;
	height: 58px;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: 50%;
	background: rgb(255 255 255 / 17%);
	color: #fff;
	font-size: 1.05rem;
	backdrop-filter: blur(12px);
	transform: translate(-50%, -50%);
	place-items: center;
}

.media-duration {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 3px 8px;
	border-radius: 7px;
	background: rgb(0 0 0 / 78%);
	color: #fff;
	font-family: Inter, system-ui, sans-serif;
	font-size: .72rem;
}

[dir="rtl"] .media-duration {
	right: auto;
	left: 12px;
}

.timeline-card__body {
	padding: 18px 20px 20px;
}

.timeline-card__body h3 {
	margin: 0 0 8px;
	font-size: clamp(1.05rem, 3vw, 1.35rem);
	line-height: 1.45;
}

.timeline-card__body h3 a:hover {
	color: var(--accent-2);
}

.timeline-summary,
.timeline-summary p {
	margin: 0;
	color: #e8e9ec;
	font-size: .96rem;
	line-height: 1.85;
}

.location-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	margin-top: 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgb(255 255 255 / 3%);
	color: var(--text-2);
	font-size: .75rem;
	gap: 6px;
}

.social-metrics {
	display: flex;
	align-items: center;
	margin-top: 17px;
	color: var(--muted);
	font-family: Inter, system-ui, sans-serif;
	font-size: .76rem;
	gap: 22px;
}

.social-metrics span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.timeline-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	margin-top: 16px;
	border-top: 1px solid var(--line);
	gap: 16px;
}

.text-link {
	color: var(--accent-2);
	font-size: .84rem;
	font-weight: 750;
}

.external-link {
	color: var(--muted);
	font-size: .78rem;
}

.external-link:hover,
.text-link:hover {
	color: var(--text);
}

.timeline-more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 46px);
	min-height: 53px;
	margin-top: 34px;
	margin-inline-start: 46px;
	border: 1px solid var(--line);
	border-radius: 17px;
	background: rgb(255 255 255 / 2%);
	color: var(--text-2);
	font-size: .85rem;
	font-weight: 700;
	gap: 8px;
}

.timeline-more:hover {
	border-color: rgb(255 255 255 / 17%);
	background: rgb(255 255 255 / 4%);
	color: var(--text);
}

.guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.guide-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
	transition: transform .22s ease, border-color .22s ease;
}

.guide-card:hover {
	border-color: rgb(255 255 255 / 17%);
	transform: translateY(-4px);
}

.guide-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	height: 330px;
	background: #070809;
}

.guide-card__media img,
.guide-card__media .card-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .55s ease;
}

.guide-card:hover .guide-card__media img {
	transform: scale(1.035);
}

.guide-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--surface) 2%, rgb(0 0 0 / 62%) 35%, transparent 72%);
}

.guide-rating {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	padding: 5px 9px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgb(8 8 8 / 66%);
	color: #ffd452;
	font-family: Inter, system-ui, sans-serif;
	font-size: .72rem;
	font-weight: 750;
	backdrop-filter: blur(10px);
}

.guide-card__title {
	position: absolute;
	right: 20px;
	bottom: 20px;
	left: 20px;
	display: grid;
	gap: 7px;
}

.guide-card__title strong {
	color: var(--text);
	font-size: 1.45rem;
	line-height: 1.35;
}

.guide-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px;
	color: var(--text-2);
	font-size: .78rem;
}

.guide-card__meta span {
	padding: 6px 10px;
	border-radius: 10px;
	background: rgb(255 255 255 / 3%);
}

.guide-card__meta .budget {
	background: rgb(37 199 144 / 8%);
	color: var(--success);
}

.photo-grid {
	columns: 3;
	column-gap: 20px;
}

.photo-tile {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 20px;
	overflow: hidden;
	break-inside: avoid;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--surface);
	color: var(--text);
	cursor: zoom-in;
	text-align: start;
}

.photo-tile img {
	width: 100%;
	height: auto;
	transition: transform .55s ease;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
	transform: scale(1.035);
}

.photo-tile__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 82%), transparent 50%);
	opacity: 0;
	transition: opacity .25s ease;
}

.photo-tile__meta {
	position: absolute;
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: grid;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease;
	gap: 3px;
}

.photo-tile__meta span {
	color: var(--accent-2);
	font-size: .7rem;
}

.photo-tile:hover .photo-tile__shade,
.photo-tile:focus-visible .photo-tile__shade,
.photo-tile:hover .photo-tile__meta,
.photo-tile:focus-visible .photo-tile__meta {
	opacity: 1;
	transform: translateY(0);
}

.archive-header--center {
	margin-inline: auto;
	text-align: center;
}

.archive-header > p {
	color: var(--text-2);
}

.has-open-modal {
	overflow: hidden;
}

.modal-layer {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	padding: 24px;
	opacity: 0;
	transition: opacity .16s ease;
	place-items: center;
}

.modal-layer[hidden] {
	display: none;
}

.modal-layer.is-visible {
	opacity: 1;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgb(3 4 5 / 88%);
	backdrop-filter: blur(18px);
}

.search-dialog {
	position: relative;
	width: min(100%, 700px);
	max-height: min(76vh, 720px);
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: 0 38px 100px rgb(0 0 0 / 65%);
	transform: translateY(-12vh);
}

.search-dialog__field {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	gap: 12px;
}

.search-dialog__field > span {
	color: var(--muted);
	font-size: 1.35rem;
}

.search-dialog__field input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font-size: 1.08rem;
}

.search-dialog__field button {
	padding: 5px 8px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgb(255 255 255 / 4%);
	color: var(--muted);
	font-family: Inter, system-ui, sans-serif;
	font-size: .65rem;
	cursor: pointer;
}

.search-dialog__results {
	max-height: min(58vh, 560px);
	padding: 12px;
	overflow-y: auto;
	background: #08090b;
}

.search-hint {
	padding: 48px 20px;
	margin: 0;
	color: var(--muted);
	text-align: center;
}

.search-result {
	display: grid;
	grid-template-columns: 58px 1fr;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	gap: 13px;
}

.search-result:hover,
.search-result:focus-visible {
	background: rgb(255 255 255 / 5%);
}

.search-result img,
.search-result__placeholder {
	display: grid;
	width: 58px;
	height: 58px;
	border-radius: 11px;
	background: var(--surface-2);
	object-fit: cover;
	place-items: center;
}

.search-result > span:last-child {
	display: grid;
	min-width: 0;
}

.search-result small {
	color: var(--accent-2);
	font-size: .65rem;
	text-transform: uppercase;
}

.search-result strong,
.search-result em {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-result strong {
	font-size: .9rem;
}

.search-result em {
	color: var(--muted);
	font-size: .72rem;
	font-style: normal;
}

.photo-dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	width: min(100%, 1180px);
	max-height: 88vh;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 28px;
	background: var(--surface);
	box-shadow: 0 40px 110px rgb(0 0 0 / 75%);
}

.modal-close {
	position: absolute;
	z-index: 2;
	top: 16px;
	inset-inline-start: 16px;
	display: grid;
	width: 42px;
	height: 42px;
	border: 1px solid rgb(255 255 255 / 14%);
	border-radius: 50%;
	background: rgb(0 0 0 / 55%);
	color: #fff;
	font-size: 1.35rem;
	cursor: pointer;
	backdrop-filter: blur(10px);
	place-items: center;
}

.photo-dialog__image {
	display: grid;
	min-height: 68vh;
	background: #000;
	place-items: center;
}

.photo-dialog__image img {
	width: 100%;
	height: 100%;
	max-height: 88vh;
	object-fit: contain;
}

.photo-dialog__details {
	display: flex;
	padding: 34px 28px;
	overflow-y: auto;
	border-inline-start: 1px solid var(--line);
	flex-direction: column;
	gap: 28px;
}

.detail-label {
	color: var(--muted);
	font-size: .65rem;
	font-weight: 750;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.photo-dialog__details h2 {
	margin: 5px 0 0;
	font-size: 1.45rem;
	line-height: 1.35;
}

.photo-location {
	display: flex;
	align-items: center;
	padding: 13px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgb(255 255 255 / 3%);
	gap: 9px;
}

.photo-location[hidden] {
	display: none;
}

.photo-location > span:first-child {
	color: var(--accent-2);
}

.photo-context-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.photo-context-grid > div {
	display: grid;
	min-height: 96px;
	align-content: center;
	padding: 13px;
	border-radius: 14px;
	background: var(--surface-2);
	gap: 4px;
}

.photo-context-grid span {
	color: var(--muted);
	font-size: .62rem;
}

.photo-context-grid strong {
	overflow: hidden;
	font-size: .9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.photo-context-grid > div:last-child strong {
	font-family: Inter, var(--font);
}

.photo-atmosphere {
	display: flex;
	padding: 12px 14px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	color: var(--text-2);
	font-size: .76rem;
	line-height: 1.7;
	flex-wrap: wrap;
	gap: 7px 15px;
}

.photo-atmosphere[hidden],
.photo-atmosphere span[hidden] {
	display: none;
}

.photo-atmosphere b {
	color: var(--muted);
	font-weight: 600;
}

.photo-map[hidden] {
	display: none;
}

.photo-story__header {
	padding: 148px 0 38px;
	text-align: center;
}

.photo-story__header h1 {
	max-width: 840px;
	margin: 8px auto 0;
	font-size: clamp(2rem, 5vw, 4.6rem);
	line-height: 1.08;
}

.photo-story__location {
	display: inline-flex;
	align-items: center;
	margin: 18px 0 0;
	color: var(--text-2);
	gap: 7px;
}

.photo-story__location span {
	color: var(--accent-2);
}

.photo-story__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
	align-items: start;
	gap: 28px;
}

.photo-story__image {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: #000;
}

.photo-story__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 82vh;
	object-fit: contain;
}

.photo-story__image figcaption {
	padding: 15px 18px;
	border-top: 1px solid var(--line);
	background: var(--surface);
	color: var(--text-2);
	font-size: .82rem;
	line-height: 1.75;
}

.photo-story__context {
	position: sticky;
	top: 104px;
	display: grid;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
	gap: 22px;
}

.photo-story__facts {
	display: grid;
	border-block: 1px solid var(--line);
	padding-block: 8px;
}

.photo-story__facts p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	margin: 0;
	gap: 16px;
}

.photo-story__facts span {
	color: var(--muted);
	font-size: .72rem;
}

.photo-story__facts strong {
	font-size: .8rem;
}

.photo-story__prose {
	padding-top: 64px;
	padding-bottom: 64px;
}

@media (max-width: 1000px) {
	body {
		padding-bottom: 102px;
	}

	.header-inner {
		grid-template-columns: 1fr auto;
		min-height: 68px;
	}

	.primary-nav,
	.search-pill {
		display: none;
	}

	.photo-story__layout {
		grid-template-columns: 1fr;
	}

	.photo-story__context {
		position: static;
	}

	.mobile-search {
		display: grid;
		width: 42px;
		height: 42px;
		border: 1px solid var(--line);
		border-radius: 50%;
		background: var(--surface);
		color: var(--text);
		cursor: pointer;
		place-items: center;
	}

	.mobile-tabbar {
		position: fixed;
		z-index: 200;
		right: 16px;
		bottom: max(16px, env(safe-area-inset-bottom));
		left: 16px;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		padding: 8px;
		border: 1px solid rgb(255 255 255 / 10%);
		border-radius: 24px;
		background: rgb(9 10 12 / 88%);
		box-shadow: 0 20px 50px rgb(0 0 0 / 50%);
		backdrop-filter: blur(22px);
	}

	.mobile-tabbar a {
		display: grid;
		min-height: 56px;
		align-content: center;
		justify-items: center;
		border-radius: 17px;
		color: var(--muted);
		gap: 2px;
	}

	.mobile-tabbar a > span {
		font-size: 1.18rem;
	}

	.mobile-tabbar small {
		font-size: .62rem;
	}

	.mobile-tabbar a.is-active {
		background: rgb(37 131 255 / 10%);
		color: var(--accent-2);
	}

	.guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.photo-grid {
		columns: 2;
	}

	.photo-dialog {
		grid-template-columns: 1fr;
		max-height: 92vh;
		overflow-y: auto;
	}

	.photo-dialog__image {
		min-height: 48vh;
	}

	.photo-dialog__image img {
		max-height: 62vh;
	}

	.photo-dialog__details {
		overflow: visible;
		border-top: 1px solid var(--line);
		border-inline-start: 0;
	}
}

@media (max-width: 640px) {
	.narrow-container {
		width: min(calc(100% - 24px), 680px);
	}

	.activity-intro__copy {
		align-items: flex-start;
		flex-direction: column;
	}

	.timeline-item {
		padding-inline-start: 33px;
	}

	.timeline-item__line {
		inset-inline-start: 8px;
	}

	.timeline-item__dot {
		inset-inline-start: 3px;
	}

	.timeline-card__header {
		padding: 15px 16px 10px;
	}

	.timeline-media {
		margin: 0 12px;
	}

	.timeline-card__body {
		padding: 16px;
	}

	.timeline-more {
		width: calc(100% - 33px);
		margin-inline-start: 33px;
	}

	.guide-grid {
		grid-template-columns: 1fr;
	}

	.guide-card__media {
		height: 360px;
	}

	.photo-grid {
		columns: 1;
	}

	.photo-tile__shade,
	.photo-tile__meta {
		opacity: 1;
		transform: none;
	}

	.modal-layer {
		padding: 10px;
	}

	.search-dialog {
		align-self: start;
		margin-top: 8vh;
		transform: none;
	}

	.photo-dialog__details {
		padding: 24px 18px;
	}
}
