:root {
	--void: #0a0b0e;
	--panel: rgba(255, 255, 255, 0.035);
	--panel-2: rgba(255, 255, 255, 0.055);
	--line: rgba(255, 255, 255, 0.12);
	--line-strong: rgba(255, 255, 255, 0.2);
	--text: #f4f1ea;
	--muted: #9ba2ae;
	--muted-2: #767d89;
	--amber: #ffb347;
	--amber-deep: #ff8a1f;
	--red: #e63946;
	--cobalt: #0040c0;
	--cobalt-bright: #3f7bff;
	--font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	position: relative;
	min-height: 100dvh;
	overflow-x: hidden;
	background:
		radial-gradient(1200px 820px at 78% 8%, rgba(255, 138, 31, 0.10) 0%, transparent 62%),
		radial-gradient(1000px 700px at 4% 96%, rgba(230, 57, 70, 0.10) 0%, transparent 60%),
		linear-gradient(178deg, #10121a 0%, var(--void) 46%, #07080b 100%);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.5;
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 3px 3px;
}

a { color: inherit; }

#routes {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	display: block;
	
	mask-image: radial-gradient(130% 105% at 6% 106%, black 12%, rgba(0, 0, 0, 0.62) 48%, transparent 80%);
	-webkit-mask-image: radial-gradient(130% 105% at 6% 106%, black 12%, rgba(0, 0, 0, 0.62) 48%, transparent 80%);
}

.glow {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.pool {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}

.pool--amber {
	width: 62vw;
	height: 62vw;
	top: -22%;
	right: -14%;
	background: radial-gradient(circle, rgba(255, 179, 71, 0.17), transparent 62%);
	animation: drift1 29s ease-in-out infinite;
}

.pool--red {
	width: 48vw;
	height: 48vw;
	bottom: -20%;
	left: -12%;
	background: radial-gradient(circle, rgba(230, 57, 70, 0.15), transparent 62%);
	animation: drift2 35s ease-in-out infinite;
}

.pool--cobalt {
	width: 40vw;
	height: 40vw;
	top: 46%;
	left: 42%;
	background: radial-gradient(circle, rgba(63, 123, 255, 0.11), transparent 62%);
	animation: drift3 41s ease-in-out infinite;
}

@keyframes drift1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	40%      { transform: translate(-7vw, 6vh) scale(1.1); }
	70%      { transform: translate(-2vw, 11vh) scale(1.02); }
}
@keyframes drift2 {
	0%, 100% { transform: translate(0, 0) scale(1.04); }
	45%      { transform: translate(8vw, -7vh) scale(0.94); }
	75%      { transform: translate(13vw, -2vh) scale(1.12); }
}
@keyframes drift3 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(-6vw, -9vh) scale(1.16); }
}

.shell {
	position: relative;
	z-index: 2;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	gap: clamp(1.4rem, 3.4vh, 2.6rem);
	padding: clamp(1.1rem, 3vh, 2rem) clamp(1.2rem, 4.6vw, 4rem);
}

@keyframes riseIn {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes wipeIn {
	from { opacity: 0; clip-path: inset(0 100% 0 0); }
	to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.9rem 1.6rem;
	padding-bottom: clamp(0.9rem, 2vh, 1.4rem);
	border-bottom: 1px solid var(--line);
	animation: riseIn 0.5s 0s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.brand {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
}

.brand__plate {
	display: inline-block;
	line-height: 0;
	background: var(--cobalt);
	border-radius: 10px;
	box-shadow:
		0 8px 26px rgba(0, 64, 192, 0.28),
		0 1px 4px rgba(0, 0, 0, 0.35);
}

.brand__mark {
	display: block;
	width: clamp(8.5rem, 13vw, 11.5rem);
	height: auto;
	border-radius: 0;
	background: transparent;
}

.top__nav {
	display: flex;
	align-items: center;
	gap: clamp(0.5rem, 1.4vw, 0.9rem);
}

.top__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-family: var(--font-mono);
	font-size: clamp(0.66rem, 1.1vw, 0.78rem);
	letter-spacing: 0.14em;
	text-decoration: none;
	color: var(--muted);
	padding: 0.55em 1em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.top__link:hover {
	color: var(--text);
	border-color: rgba(255, 179, 71, 0.55);
	background: rgba(255, 179, 71, 0.08);
	transform: translateY(-1px);
}

.stage {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.8rem, 4.5vw, 4rem);
	padding: clamp(1rem, 3vh, 2.4rem) 0;
}

.copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(0.9rem, 2.4vh, 1.5rem);
	max-width: 34rem;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	margin: 0;
	font-family: var(--font-mono);
	font-size: clamp(0.6rem, 1vw, 0.72rem);
	font-weight: 500;
	letter-spacing: 0.22em;
	color: #ffd9a3;
	padding: 0.6em 1.1em;
	border: 1px solid rgba(255, 179, 71, 0.32);
	border-radius: 999px;
	background: rgba(255, 138, 31, 0.09);
	animation: riseIn 0.5s 0.05s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.status__dot {
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.18), 0 0 12px rgba(255, 179, 71, 0.9);
	animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.4; transform: scale(0.66); }
}

.headline {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(3.1rem, 8.2vw, 6.6rem);
	line-height: 0.96;
	letter-spacing: -0.035em;
	text-wrap: balance;
	animation: riseIn 0.6s 0.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.headline em {
	font-style: normal;
	background: linear-gradient(104deg,
		var(--amber) 0%,
		#fff0d2 26%,
		var(--amber-deep) 48%,
		var(--red) 72%,
		var(--amber) 100%);
	background-size: 260% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: sheen 11s linear infinite;
}

@keyframes sheen {
	to { background-position: 260% center; }
}

.lede {
	margin: 0;
	max-width: 40ch;
	color: var(--muted);
	font-size: clamp(0.98rem, 1.5vw, 1.14rem);
	line-height: 1.65;
	animation: riseIn 0.55s 0.18s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.clock {
	width: 100%;
	animation: riseIn 0.55s 0.24s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.clock__label {
	margin: 0 0 0.7rem;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.clock__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cell {
	position: relative;
	flex: 1 1 4.6rem;
	min-width: 4.4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	padding: 0.7rem 0.5rem 0.55rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	overflow: hidden;
}

.cell::before {
	content: "";
	position: absolute;
	top: 0;
	left: 12%;
	right: 12%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.75), transparent);
}

.cell__num {
	font-family: var(--font-mono);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	font-size: clamp(1.5rem, 3.1vw, 2.2rem);
	line-height: 1.05;
	color: var(--text);
	text-shadow: 0 0 18px rgba(255, 179, 71, 0.35);
}

.cell__num.is-tick {
	animation: tick 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes tick {
	from { transform: translateY(-32%); opacity: 0.15; }
	to   { transform: translateY(0); opacity: 1; }
}

.cell__unit {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.clock__note {
	margin: 0.7rem 0 0;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: var(--muted-2);
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	animation: riseIn 0.55s 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: clamp(0.86rem, 1.3vw, 0.98rem);
	letter-spacing: 0.01em;
	padding: 0.92em 1.7em;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	will-change: transform;
}

.cta:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: 3px;
}

.cta--primary {
	color: #1a0f02;
	background: linear-gradient(112deg, var(--amber) 0%, #ffc86b 40%, var(--amber-deep) 100%);
	box-shadow:
		0 12px 30px rgba(255, 138, 31, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cta--primary:hover {
	transform: translateY(-2px);
	box-shadow:
		0 18px 40px rgba(255, 138, 31, 0.36),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta--ghost {
	color: var(--text);
	font-family: var(--font-mono);
	font-weight: 400;
	border: 1px solid var(--line-strong);
	background: var(--panel);
}
.cta--ghost:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 179, 71, 0.6);
	background: rgba(255, 179, 71, 0.07);
}

.feed {
	display: flex;
	flex-direction: column;
	gap: clamp(0.7rem, 1.6vh, 1rem);
	min-width: 0;
	animation: riseIn 0.65s 0.14s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.frame {
	position: relative;
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #05060a;
	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.55),
		inset 0 0 0 1px rgba(255, 255, 255, 0.03);
	animation: wipeIn 0.9s 0.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.frame__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1040 / 650;
	object-fit: cover;
	
	filter: contrast(1.12) saturate(0.92) brightness(0.86);
	transform-origin: 56% 46%;
	animation: creep 34s ease-in-out infinite alternate;
}

@keyframes creep {
	from { transform: scale(1.02); }
	to   { transform: scale(1.12); }
}

.frame::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(120% 100% at 50% 50%, transparent 38%, rgba(5, 6, 10, 0.72) 100%),
		linear-gradient(200deg, rgba(255, 138, 31, 0.16), transparent 55%, rgba(10, 11, 14, 0.5) 100%);
}

.frame__scan {
	position: absolute;
	left: 0;
	right: 0;
	height: 28%;
	top: -28%;
	pointer-events: none;
	background: linear-gradient(180deg,
		transparent,
		rgba(255, 179, 71, 0.07) 55%,
		rgba(255, 214, 153, 0.5) 96%,
		transparent);
	animation: sweep 7.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes sweep {
	0%        { transform: translateY(0); opacity: 0; }
	12%       { opacity: 1; }
	88%       { opacity: 1; }
	100%      { transform: translateY(460%); opacity: 0; }
}

.frame__bracket {
	position: absolute;
	width: 26px;
	height: 26px;
	z-index: 3;
	pointer-events: none;
	border: 2px solid rgba(255, 214, 153, 0.75);
}
.frame__bracket--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.frame__bracket--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.frame__bracket--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.frame__bracket--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.frame__hud {
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 0;
	
	background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.72) 62%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 1.5rem 1.6rem 1rem;
	font-family: var(--font-mono);
	font-size: clamp(0.58rem, 0.9vw, 0.7rem);
	letter-spacing: 0.18em;
	color: rgba(255, 236, 209, 0.88);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.frame__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
}

.frame__rec {
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 10px rgba(230, 57, 70, 0.9);
	animation: pulse 1.8s ease-in-out infinite;
}

.frame__coords { color: rgba(255, 236, 209, 0.6); }

.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.5rem, 1.2vw, 0.75rem);
}

.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.95rem 1.05rem 1rem;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--panel);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tile:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 179, 71, 0.45);
	background: var(--panel-2);
}

.tile__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(0.95rem, 1.5vw, 1.1rem);
	letter-spacing: 0.01em;
	color: var(--text);
}

.tile__name b {
	font-weight: 800;
	background: linear-gradient(100deg, var(--amber) 0%, var(--amber-deep) 55%, var(--red) 130%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tile__desc {
	font-size: clamp(0.74rem, 1.1vw, 0.84rem);
	line-height: 1.5;
	color: var(--muted);
}

.tile__go {
	position: absolute;
	top: 0.85rem;
	right: 0.95rem;
	font-size: 0.85rem;
	color: var(--muted-2);
	transition: color 0.2s ease, transform 0.2s ease;
}

.tile:hover .tile__go {
	color: var(--amber);
	transform: translate(2px, -2px);
}

.ticker {
	overflow: hidden;
	padding: 0.6rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
	animation: fadeIn 0.6s 0.38s ease both;
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: crawl 64s linear infinite;
}

.ticker__set {
	display: flex;
	flex: none;
	align-items: center;
	gap: 2.4rem;
	padding-right: 2.4rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted-2);
	white-space: nowrap;
}

.ticker__set > span::after {
	content: "";
	display: inline-block;
	width: 0.34em;
	height: 0.34em;
	margin-left: 2.4rem;
	vertical-align: 0.18em;
	background: rgba(255, 179, 71, 0.5);
	transform: rotate(45deg);
}

@keyframes crawl {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	animation: fadeIn 0.6s 0.42s ease both;
}

.office {
	display: flex;
	flex-direction: column;
	font-style: normal;
	font-size: 0.83rem;
	line-height: 1.55;
	color: var(--muted);
}

.office__label {
	margin-bottom: 0.35rem;
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.office__name {
	color: var(--text);
	font-weight: 600;
}

.office__mail {
	margin-top: 0.3rem;
	width: fit-content;
	color: #ffd9a3;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 179, 71, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.office__mail:hover {
	color: var(--amber);
	border-color: var(--amber);
}

.foot__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--muted-2);
}

.foot__sep { opacity: 0.5; }

@media (max-width: 1040px) {
	.stage {
		grid-template-columns: minmax(0, 1fr);
		gap: clamp(1.6rem, 5vh, 2.6rem);
		align-items: start;
	}
	.copy { max-width: 40rem; }
	.feed { max-width: 52rem; }
	#routes {
		mask-image: radial-gradient(140% 80% at 50% 112%, black 6%, rgba(0, 0, 0, 0.5) 45%, transparent 78%);
		-webkit-mask-image: radial-gradient(140% 80% at 50% 112%, black 6%, rgba(0, 0, 0, 0.5) 45%, transparent 78%);
	}
}

@media (min-width: 1041px) and (max-height: 1080px) {
	.shell { gap: clamp(1rem, 2.2vh, 1.7rem); }
	.headline { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
	.lede { font-size: 1.06rem; }
}

@media (min-width: 1500px) {
	.copy { max-width: 38rem; }
	.headline { font-size: clamp(3.4rem, 5.2vw, 6.1rem); }
}

@media (min-width: 1041px) and (max-height: 900px) {
	.shell { gap: clamp(0.8rem, 1.8vh, 1.3rem); }
	.stage { padding: 0.6rem 0; }
	.copy { gap: clamp(0.65rem, 1.6vh, 1rem); }
	.headline { font-size: clamp(2.7rem, 5.6vw, 4.6rem); }
	.lede { font-size: 1rem; max-width: 46ch; }
	.cell { padding: 0.55rem 0.45rem 0.45rem; }
	.cell__num { font-size: 1.7rem; }
	.clock__label { margin-bottom: 0.5rem; }
	.clock__note { margin-top: 0.5rem; }
	.cta { padding: 0.8em 1.55em; }
	.ticker { padding: 0.45rem 0; }
}

@media (min-width: 1041px) and (max-height: 720px) {
	.ticker { display: none; }
	.headline { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
	.frame__img { aspect-ratio: 16 / 9; }
}

@media (max-width: 620px) {
	.top { gap: 0.8rem; }
	.status { font-size: 0.58rem; letter-spacing: 0.14em; }
	.headline { font-size: clamp(2.6rem, 13vw, 4rem); }
	.cell { flex: 1 1 3.9rem; min-width: 3.7rem; }
	.tiles { grid-template-columns: minmax(0, 1fr); }
	.cta, .cta--ghost { flex: 1 1 100%; }
	.foot { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.headline em { background-position: 0 center; }
	.frame__img { transform: scale(1.04); }
	.frame__scan { display: none; }
}
