@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

:root {
	--rx-bg: #050814;
	--rx-ink: #f4f8ff;
	--rx-ink-soft: #d8e7fb;
	--rx-muted: #91a3bd;
	--rx-blue: #69b8ff;
	--rx-blue-strong: #a9d8ff;
	--rx-surface: rgba(12, 20, 34, 0.72);
	--rx-line: rgba(169, 216, 255, 0.18);
	--rx-line-strong: rgba(169, 216, 255, 0.32);
	--rx-radius: 8px;
	--rx-shadow: 0 28px 76px rgba(0, 0, 0, 0.38);
}

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

html {
	background: var(--rx-bg);
	scroll-behavior: smooth;
}

body {
	background: var(--rx-bg);
	color: var(--rx-ink);
	line-height: 1.65;
	margin: 0;
	min-width: 320px;
}

body, input, select, textarea {
	font-family: Inter, Helvetica, sans-serif;
	font-weight: 400;
}

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

a {
	color: var(--rx-blue-strong);
	text-decoration-color: rgba(169, 216, 255, 0.34);
	text-underline-offset: 0.18em;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--rx-ink);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0 0 1rem;
}

p {
	color: var(--rx-muted);
	margin: 0 0 1rem;
}

p.major {
	color: var(--rx-ink-soft);
	font-size: 1.16rem;
}

.site-shell {
	background:
		radial-gradient(circle at 50% 0%, rgba(105, 184, 255, 0.18), transparent 28rem),
		radial-gradient(circle at 88% 18%, rgba(31, 111, 184, 0.22), transparent 22rem),
		linear-gradient(180deg, #050814 0%, #08111f 52%, #040713 100%);
	min-height: 100vh;
	overflow: hidden;
	position: relative;
}

.site-header {
	align-items: center;
	backdrop-filter: blur(18px);
	background: rgba(5, 8, 20, 0.72);
	border-bottom: 1px solid var(--rx-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.78rem clamp(1rem, 4vw, 3rem);
	position: sticky;
	top: 0;
	z-index: 20;
}

.brand {
	align-items: center;
	color: var(--rx-ink);
	display: inline-flex;
	gap: 0.75rem;
	text-decoration: none;
}

.brand img {
	filter: drop-shadow(0 0 18px rgba(105, 184, 255, 0.38));
	height: 2.25rem;
	width: 2.25rem;
}

.brand span {
	font-size: 0.98rem;
	font-weight: 800;
}

.translate-tools {
	align-items: center;
	display: flex;
	gap: 0.35rem;
}

.translate-button {
	background: rgba(169, 216, 255, 0.06);
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	color: var(--rx-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1;
	padding: 0.65rem 0.75rem;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.translate-button:hover {
	background: rgba(105, 184, 255, 0.14);
	border-color: var(--rx-line-strong);
	color: var(--rx-blue-strong);
}

#google_translate_element {
	height: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.goog-te-banner-frame,
.goog-te-gadget {
	display: none !important;
}

body {
	top: 0 !important;
}

.intro-stage {
	display: grid;
	justify-items: center;
	margin: 0 auto;
	max-width: 82rem;
	min-height: 58vh;
	padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 6vw, 4rem);
	text-align: center;
}

.hero-mark {
	filter: drop-shadow(0 0 34px rgba(105, 184, 255, 0.42));
	margin-bottom: 1.5rem;
	max-width: clamp(7rem, 18vw, 12rem);
	width: 34vw;
}

.eyebrow {
	color: var(--rx-blue);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 0.8rem;
	text-transform: uppercase;
}

.intro-stage h1 {
	font-size: clamp(3.4rem, 12vw, 8.8rem);
	line-height: 0.9;
	margin-bottom: 1.2rem;
	text-shadow: 0 20px 58px rgba(0, 0, 0, 0.54);
}

.intro-stage > p {
	max-width: 46rem;
}

.content-zone {
	padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem);
}

.section-kicker,
.gallery-intro {
	margin-inline: auto;
	max-width: 76rem;
}

.section-kicker {
	margin-bottom: 2rem;
}

.section-kicker h2 {
	font-size: clamp(2rem, 4vw, 3.8rem);
}

.story-stack {
	display: grid;
	gap: 1rem;
	margin: 0 auto;
	max-width: 76rem;
}

.story-panel {
	align-items: center;
	background: linear-gradient(145deg, rgba(169, 216, 255, 0.075), rgba(169, 216, 255, 0.025)), var(--rx-surface);
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
	display: grid;
	gap: clamp(1.25rem, 3vw, 2.4rem);
	grid-template-columns: minmax(13rem, 0.48fr) minmax(0, 1fr);
	padding: clamp(1rem, 2.8vw, 2rem);
}

.story-panel:nth-child(even) {
	grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.48fr);
}

.story-panel:nth-child(even) img {
	order: 2;
}

.story-panel img {
	border-radius: var(--rx-radius);
	filter: saturate(0.8) contrast(1.12) brightness(0.88);
	height: 100%;
	max-height: 20rem;
	object-fit: cover;
	width: 100%;
}

.card-index {
	color: var(--rx-blue);
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin-bottom: 0.75rem;
}

.story-panel h3 {
	font-size: clamp(1.45rem, 2.5vw, 2.4rem);
	margin-bottom: 0.75rem;
}

.text-link {
	display: inline-block;
	font-weight: 800;
	margin: 0.25rem 1rem 0 0;
	text-decoration: none;
}

.text-link:after {
	content: ' ->';
}

.gallery-intro {
	margin-bottom: 2rem;
	text-align: center;
}

.gallery-intro h2 {
	font-size: clamp(1.35rem, 2.4vw, 2.15rem);
	line-height: 1.15;
	margin: 0;
}

.mosaic-gallery {
	display: grid;
	gap: 0.85rem;
	grid-auto-flow: dense;
	grid-auto-rows: 11rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 82rem;
}

.mosaic-gallery article {
	border: 1px solid var(--rx-line);
	border-radius: var(--rx-radius);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
	overflow: hidden;
	position: relative;
}

.mosaic-gallery article.wide {
	grid-column: span 2;
}

.mosaic-gallery article.tall {
	grid-row: span 2;
}

.mosaic-gallery a {
	display: block;
	height: 100%;
	text-decoration: none;
}

.mosaic-gallery img {
	filter: saturate(0.82) contrast(1.14) brightness(0.86);
	height: 100%;
	object-fit: cover;
	transition: filter 0.25s ease, transform 0.25s ease;
	width: 100%;
}

.mosaic-gallery span {
	background: linear-gradient(180deg, transparent, rgba(3, 7, 17, 0.92));
	bottom: 0;
	color: rgba(244, 248, 255, 0.76);
	display: grid;
	font-size: 0.82rem;
	gap: 0.2rem;
	left: 0;
	padding: 2.6rem 1rem 1rem;
	position: absolute;
	right: 0;
}

.mosaic-gallery strong {
	color: var(--rx-ink);
	font-size: 1rem;
}

.mosaic-gallery article:hover img {
	filter: saturate(0.95) contrast(1.1) brightness(1);
	transform: scale(1.025);
}

body.lightbox-open {
	overflow: hidden;
}

.lightbox-view {
	align-items: center;
	background: rgba(3, 7, 17, 0.92);
	display: none;
	inset: 0;
	justify-content: center;
	padding: clamp(1rem, 4vw, 3rem);
	position: fixed;
	z-index: 1000;
}

.lightbox-view.is-open {
	display: flex;
}

.lightbox-view figure {
	margin: 0;
	max-height: 92vh;
	max-width: min(92vw, 80rem);
	position: relative;
}

.lightbox-view img {
	border: 1px solid var(--rx-line-strong);
	border-radius: var(--rx-radius);
	box-shadow: var(--rx-shadow);
	display: block;
	max-height: 82vh;
	max-width: 100%;
	object-fit: contain;
}

.lightbox-view figcaption {
	color: var(--rx-ink-soft);
	font-size: 0.95rem;
	margin-top: 0.85rem;
	text-align: center;
}

.lightbox-close,
.lightbox-nav {
	align-items: center;
	backdrop-filter: blur(14px);
	background: rgba(8, 17, 31, 0.48);
	border: 1px solid rgba(169, 216, 255, 0.18);
	border-radius: 999px;
	color: rgba(244, 248, 255, 0.72);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 1.5rem;
	font-weight: 700;
	height: 2.55rem;
	justify-content: center;
	line-height: 1;
	position: fixed;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
	width: 2.55rem;
	z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus,
.lightbox-nav:hover,
.lightbox-nav:focus {
	background: rgba(105, 184, 255, 0.13);
	border-color: rgba(169, 216, 255, 0.38);
	color: var(--rx-ink);
	opacity: 1;
}

.lightbox-close {
	right: 1rem;
	top: 1rem;
}

.lightbox-prev {
	left: clamp(0.75rem, 2vw, 1.5rem);
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: clamp(0.75rem, 2vw, 1.5rem);
	top: 50%;
	transform: translateY(-50%);
}

.footer-modern {
	background:
		linear-gradient(180deg, rgba(5, 8, 20, 0.58), #030611),
		radial-gradient(circle at 50% 0%, rgba(105, 184, 255, 0.12), transparent 38%);
	border-top: 1px solid var(--rx-line);
	color: var(--rx-ink);
	padding: 3rem 1rem;
}

.footer-modern p,
.footer-modern a {
	color: rgba(244, 248, 255, 0.76);
}

.align-center {
	text-align: center;
}

.inner {
	margin-inline: auto;
	max-width: 76rem;
}

@media screen and (max-width: 980px) {
	.story-panel,
	.story-panel:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.story-panel:nth-child(even) img {
		order: 0;
	}

	.story-panel img {
		aspect-ratio: 16 / 9;
		max-height: none;
	}

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

@media screen and (max-width: 760px) {
	p {
		line-height: 1.58;
	}

	p.major {
		font-size: 1.02rem;
	}

	.site-header {
		padding: 0.72rem 1rem;
	}

	.brand {
		gap: 0.55rem;
	}

	.brand img {
		height: 1.9rem;
		width: 1.9rem;
	}

	.brand span {
		font-size: 0.88rem;
	}

	.translate-button {
		font-size: 0.7rem;
		padding: 0.55rem 0.62rem;
	}

	.intro-stage {
		min-height: auto;
		padding: 3rem 1rem 2.25rem;
	}

	.hero-mark {
		margin-bottom: 1rem;
		max-width: 7.5rem;
		width: 42vw;
	}

	.intro-stage h1 {
		font-size: clamp(3rem, 18vw, 4.8rem);
		margin-bottom: 0.9rem;
	}

	.content-zone {
		padding: 2.35rem 1rem;
	}

	.section-kicker {
		margin-bottom: 1.25rem;
	}

	.section-kicker h2 {
		font-size: clamp(1.8rem, 9vw, 2.45rem);
	}

	.story-stack {
		gap: 0.85rem;
	}

	.story-panel {
		gap: 1rem;
		padding: 0.82rem;
	}

	.story-panel > div {
		padding: 0 0.2rem 0.35rem;
	}

	.story-panel h3 {
		font-size: clamp(1.3rem, 7vw, 1.85rem);
		line-height: 1.12;
	}

	.card-index {
		font-size: 0.7rem;
		margin-bottom: 0.45rem;
	}

	.text-link {
		margin-top: 0.4rem;
	}

	.gallery-intro {
		margin-bottom: 1.25rem;
		text-align: left;
	}

	.gallery-intro h2 {
		font-size: clamp(1.25rem, 6vw, 1.65rem);
	}

	.mosaic-gallery {
		gap: 0.7rem;
		grid-auto-rows: 13rem;
	}

	.mosaic-gallery span {
		font-size: 0.78rem;
		padding: 2.2rem 0.85rem 0.85rem;
	}

	.mosaic-gallery strong {
		font-size: 0.94rem;
	}

	.footer-modern {
		padding: 2rem 1rem;
	}
}

@media screen and (max-width: 640px) {
	.site-header {
		align-items: center;
		flex-direction: row;
	}

	.mosaic-gallery {
		grid-auto-rows: 14rem;
		grid-template-columns: 1fr;
	}

	.mosaic-gallery article.wide,
	.mosaic-gallery article.tall {
		grid-column: auto;
		grid-row: auto;
	}

	.lightbox-nav {
		bottom: 1rem;
		top: auto;
		transform: none;
	}

	.lightbox-view {
		align-items: center;
		padding: 4rem 0.75rem 4.5rem;
	}

	.lightbox-view img {
		max-height: 72vh;
	}

	.lightbox-view figcaption {
		font-size: 0.82rem;
		margin-top: 0.6rem;
	}

	.lightbox-close,
	.lightbox-nav {
		height: 2.35rem;
		width: 2.35rem;
	}

	.lightbox-close {
		right: 0.75rem;
		top: 0.75rem;
	}

	.lightbox-prev {
		left: calc(50% - 3rem);
	}

	.lightbox-next {
		right: calc(50% - 3rem);
	}
}

@media screen and (max-width: 420px) {
	.site-header {
		gap: 0.65rem;
	}

	.brand span {
		display: none;
	}

	.translate-tools {
		gap: 0.25rem;
	}

	.translate-button {
		padding-inline: 0.54rem;
	}

	.intro-stage {
		padding-top: 2.35rem;
	}

	.hero-mark {
		max-width: 6.4rem;
	}

	.story-panel {
		border-radius: 7px;
	}

	.mosaic-gallery {
		grid-auto-rows: 12rem;
	}
}
