:root {
	--bg: #0c0e12;
	--bg-deep: #08090c;
	--ink: #f4f0e6;
	--muted: #a8a295;
	--line: rgba(244, 240, 230, 0.14);
	--accent: #f7b600;
	--card: #161922;
	--ink-card: #10131a;
	--lime: #d6f26a;
	--visa: #1434cb;
	--gold: #f7b600;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--shadow: 0 30px 70px rgba(22, 23, 19, 0.1);
	--radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background:
		radial-gradient(820px 460px at 100% -8%, rgba(20, 52, 203, 0.55), transparent 62%),
		radial-gradient(680px 380px at -12% 12%, rgba(247, 182, 0, 0.22), transparent 58%),
		radial-gradient(540px 320px at 70% 36%, rgba(62, 224, 197, 0.08), transparent 60%),
		var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.05rem;
	line-height: 1.55;
	font-weight: 400;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }

a { color: inherit; }

::selection {
	background: var(--lime);
	color: var(--ink);
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--gold);
	color: #14120c;
	padding: 0.6rem 0.9rem;
	z-index: 20;
}

.skip:focus { top: 1rem; }

.nav {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 6vw;
	background: rgba(12, 14, 18, 0.82);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
}

.nav.is-stuck { border-bottom-color: var(--line); }

.mark {
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 0.7rem;
	background: var(--gold);
	color: #14120c;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-links a {
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
}

.nav-links a:hover { color: var(--accent); }

.nav-github {
	border: 1px solid rgba(244, 240, 230, 0.35);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
}

.nav-github:hover {
	background: var(--gold);
	color: #14120c !important;
}

.menu {
	display: none;
	align-items: center;
	gap: 0.55rem;
	border: 1px solid var(--line);
	background: transparent;
	border-radius: 999px;
	padding: 0.45rem 0.8rem;
	font: inherit;
	cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
	display: block;
	width: 1rem;
	height: 1.5px;
	background: var(--ink);
	position: relative;
	content: "";
}

.menu-bars::before,
.menu-bars::after {
	position: absolute;
	left: 0;
}

.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 2.4rem;
	align-items: center;
	padding: 3.4rem 6vw 2.4rem;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1rem;
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 6px rgba(214, 242, 106, 0.16);
	animation: pulse 1.8s ease-out infinite;
}

h1 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(4.4rem, 9vw, 8.4rem);
	line-height: 0.86;
	letter-spacing: -0.04em;
}

h1 em {
	font-style: italic;
	color: var(--accent);
}

.role {
	margin: 1.4rem 0 0.4rem;
	font-family: var(--serif);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-style: italic;
}

.caret {
	display: inline-block;
	width: 2px;
	height: 0.9em;
	margin-left: 2px;
	background: var(--accent);
	transform: translateY(0.08em);
	animation: blink 1s steps(1) infinite;
}

.lede {
	max-width: 38rem;
	margin: 0.4rem 0 0;
	color: var(--muted);
	font-size: 1.15rem;
	font-weight: 300;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.8rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 500;
	border: 1px solid transparent;
	cursor: pointer;
	font: inherit;
}

.btn-primary {
	background: var(--gold);
	color: #14120c;
}

.btn-primary:hover { background: #ffd15a; }

.btn-ghost {
	border-color: rgba(244, 240, 230, 0.35);
	background: transparent;
	color: inherit;
}

.btn-ghost:hover { background: var(--gold); color: #14120c; }

.now {
	background: var(--ink-card);
	color: #f6f1e7;
	border-radius: var(--radius);
	padding: 1.6rem 1.5rem 0.6rem;
	box-shadow: var(--shadow);
}

.now-kicker {
	margin: 0 0 0.4rem;
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lime);
}

.now dl { margin: 0; }

.now div {
	padding: 0.95rem 0;
	border-top: 1px solid rgba(246, 241, 231, 0.12);
}

.now dt {
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(246, 241, 231, 0.55);
}

.now dd {
	margin: 0.2rem 0 0;
	font-size: 1.08rem;
}

.now a { color: #fff; }

.strip {
	margin: 0 6vw 1rem;
	border-block: 1px solid var(--line);
	overflow: hidden;
}

.strip ul {
	display: flex;
	gap: 2.2rem;
	list-style: none;
	margin: 0;
	padding: 0.9rem 0;
	font-family: var(--mono);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.strip li::before {
	content: "✦";
	color: var(--accent);
	margin-right: 0.7rem;
}

.section {
	padding: 4.5rem 6vw;
}

.section-head {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 1.5rem;
	align-items: end;
	margin-bottom: 1.8rem;
}

.section-head h2,
.about h2,
.contact h2 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.section-lede {
	margin: 0.85rem 0 0;
	max-width: 40rem;
	color: var(--muted);
}

.beats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.7rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.beats li {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 1rem 1.05rem 1.15rem;
}

.beats strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.projects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.project {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	min-height: 280px;
	padding: 1.4rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 24px;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease;
}

.project-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.6rem; min-height: 0; }

.project:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
}

.project-index {
	font-family: var(--serif);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--accent);
}

.project-body { flex: 1; }

.project-meta {
	margin: 0 0 0.35rem;
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.project h3 {
	margin: 0 0 0.45rem;
	font-size: 1.55rem;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.project p { margin: 0; color: var(--muted); max-width: 46rem; }

.project-go {
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.project-wide .project-go { margin-left: auto; }

.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.about-copy p {
	margin-top: 0;
	color: var(--muted);
	font-size: 1.12rem;
}

.facts {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.facts li {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}

.facts span {
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	align-self: center;
}

.contact-panel {
	background: var(--ink-card);
	color: #f6f1e7;
	border-radius: 32px;
	padding: clamp(1.5rem, 4vw, 3.2rem);
}

.contact .eyebrow { color: var(--lime); }

.contact-note {
	max-width: 36rem;
	color: rgba(246, 241, 231, 0.72);
}

.note {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}

.note label { display: grid; gap: 0.4rem; }

.note .full { grid-column: 1 / -1; }
.note button { grid-column: 1 / -1; justify-self: start; }

.note span {
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(246, 241, 231, 0.6);
}

.note input,
.note textarea {
	width: 100%;
	border: 1px solid rgba(246, 241, 231, 0.18);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	border-radius: 14px;
	padding: 0.85rem 0.9rem;
	font: inherit;
}

.note input:focus,
.note textarea:focus,
.btn:focus-visible,
.nav a:focus-visible,
.menu:focus-visible,
.mark:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 3px;
}

.footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 6vw 2rem;
	color: var(--muted);
	font-size: 0.95rem;
}

.footer a { color: var(--ink); }

.switcher {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 1rem;
	align-items: stretch;
}

.switcher-tabs {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.switcher-tabs button,
.lane-tabs button,
.steps button,
.brand-grid button {
	font: inherit;
	cursor: pointer;
	text-align: left;
	color: inherit;
	background: var(--card);
	border: 1px solid var(--line);
}

.switcher-tabs button {
	display: grid;
	grid-template-columns: 40px 1fr;
	column-gap: 0.7rem;
	row-gap: 0.05rem;
	align-items: center;
	padding: 0.7rem 0.85rem;
	border-radius: 16px;
}

.co-mark {
	grid-row: 1 / span 3;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: contain;
	background: #fff;
	padding: 5px;
	border: 1px solid var(--line);
}

.co-mark-fill {
	padding: 0;
	object-fit: cover;
	background: #15181c;
}

.switcher-tabs button span,
.switcher-tabs button small {
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.switcher-tabs button strong {
	font-size: 1.05rem;
	font-weight: 500;
}

.switcher-tabs button[aria-selected="true"],
.lane-tabs button[aria-selected="true"],
.steps button[aria-selected="true"],
.brand-grid button[aria-selected="true"] {
	background: var(--visa);
	color: #f7f4ea;
	border-color: var(--visa);
}

.switcher-tabs button[aria-selected="true"] span,
.switcher-tabs button[aria-selected="true"] small {
	color: var(--gold);
}

.switcher-tabs button[aria-selected="true"] .co-mark {
	border-color: transparent;
	box-shadow: 0 0 0 1px rgba(246, 241, 231, 0.28);
}

.stage-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: clamp(1.3rem, 3vw, 2.2rem);
	min-height: 100%;
}

.stage-title {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.stage-title .co-mark {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	grid-row: auto;
}

.stage-kicker,
.dock-kicker {
	margin: 0 0 0.6rem;
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.stage-card h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 0.95;
}

.product-lockup {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.95rem 0 0.15rem;
}

.product-lockup img {
	width: 46px;
	height: 46px;
	border-radius: 12px;
}

.product-lockup span {
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.stage-company {
	max-width: 40rem;
	color: var(--muted);
}

.stage-card ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
}

.stage-card li { margin: 0.4rem 0; }

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1.2rem 0 0;
}

.chips span {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.25rem 0.65rem;
	font-family: var(--mono);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

.board {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: 1rem;
}

.lane-tabs,
.steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.lane-tabs { margin-bottom: 1rem; }

.lane-tabs button,
.steps button {
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
}

.brand-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.55rem;
	min-height: 9rem;
}

.brand-grid[hidden] { display: none; }

.brand-grid button {
	border-radius: 16px;
	padding: 1rem 0.9rem;
	font-weight: 500;
	font-size: 1.05rem;
}

.brand-grid button:hover,
.switcher-tabs button:hover,
.lane-tabs button:hover,
.steps button:hover {
	border-color: var(--accent);
}

.ai-note {
	display: block;
	min-height: 0;
}

.ai-note p {
	margin: 0 0 1rem;
	max-width: 42rem;
	color: var(--muted);
}

.dock {
	margin-top: 0.8rem;
	padding: 1rem 1.1rem;
	border-radius: 18px;
	background: #07080b;
	color: #f6f1e7;
}

.dock p { margin: 0; }

.dock-kicker { color: var(--lime); }

#dock-copy { margin-top: 0.35rem; }

.steps { margin-top: 0.8rem; }

.switcher-tabs button:focus-visible,
.lane-tabs button:focus-visible,
.steps button:focus-visible,
.brand-grid button:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 3px;
}

@media (max-width: 860px) {
	.menu { display: inline-flex; }

	.nav-links {
		position: fixed;
		inset: 4.4rem 1rem auto;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0.2rem;
		padding: 0.8rem;
		background: var(--card);
		border: 1px solid var(--line);
		border-radius: 18px;
		box-shadow: var(--shadow);
	}

	.nav-links.is-open { display: flex; }

	.nav-links a {
		padding: 0.85rem 0.7rem;
		border-radius: 12px;
	}

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

	.hero,
	.section-head,
	.about,
	.note,
	.project-wide,
	.projects {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
		padding-top: 2.2rem;
		gap: 1.6rem;
	}

	h1 { font-size: clamp(3.4rem, 16vw, 5rem); }

	.project-wide { flex-direction: column; align-items: flex-start; }

	.project-wide .project-go { margin-left: 0; }

	.footer { flex-direction: column; }

	.switcher,
	.brand-grid,
	.beats { grid-template-columns: 1fr; }

	.switcher-tabs {
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 0.2rem;
	}

	.switcher-tabs button { min-width: 12.5rem; }
}

.pipe {
	position: relative;
	overflow: hidden;
	min-height: 22rem;
	padding: 1rem 1rem 1.1rem;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(20, 52, 203, 0.28), transparent 42%),
		#10131a;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.pipe-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.8rem;
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pipe-top strong { color: var(--lime); font-weight: 500; }

.pipe-stages {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
	margin-bottom: 0.7rem;
}

.pipe-stages span {
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.pipe-window {
	overflow: hidden;
	display: grid;
	gap: 0.55rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.pipe-lane {
	display: flex;
	gap: 0.55rem;
	width: max-content;
	animation: marquee 32s linear infinite;
}

.pipe-lane.back { animation-duration: 42s; animation-direction: reverse; }

.pill {
	flex: none;
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	background: #0c0e12;
	border: 1px solid var(--line);
	font-family: var(--mono);
	font-size: 0.78rem;
	white-space: nowrap;
}

.pill.fuel { color: #ffb067; border-color: rgba(255, 176, 103, 0.45); }
.pill.park { color: #5eefd4; border-color: rgba(94, 239, 212, 0.4); }
.pill.home { color: #ff8fa3; border-color: rgba(255, 143, 163, 0.4); }
.pill.job { color: #c6b0ff; border-color: rgba(198, 176, 255, 0.45); }
.pill.visa { color: var(--gold); border-color: rgba(247, 182, 0, 0.55); background: rgba(20, 52, 203, 0.35); }

.story-switch { display: grid; gap: 1rem; }

.story-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.7rem;
}

.story-tabs button {
	display: grid;
	gap: 0.15rem;
	text-align: left;
	padding: 0.95rem 1rem;
	border-radius: 18px;
	border: 1px solid var(--line);
	background: var(--card);
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.story-tabs button span,
.story-tabs button small {
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.story-tabs button strong { font-size: 1.2rem; font-weight: 500; }

.story-tabs button[aria-selected="true"] {
	background: var(--visa);
	border-color: var(--visa);
	color: #f7f4ea;
}

.story-tabs button[aria-selected="true"] span,
.story-tabs button[aria-selected="true"] small { color: var(--gold); }

.story-card[hidden] { display: none; }

.story-card {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
	gap: 1.2rem;
	align-items: stretch;
	padding: clamp(1.2rem, 3vw, 2rem);
	border-radius: 28px;
	background: var(--card);
	border: 1px solid var(--line);
}

.story-card h3 {
	margin: 0 0 0.6rem;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.1rem, 4vw, 3.3rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
}

.story-copy p { color: var(--muted); max-width: 40rem; }

.guests {
	display: flex;
	align-items: baseline;
	gap: 0.8rem;
	margin: 1rem 0;
}

.guests b {
	font-family: var(--serif);
	font-size: clamp(3rem, 6vw, 4.6rem);
	font-weight: 400;
	line-height: 0.9;
	color: var(--gold);
}

.guests span { color: var(--muted); max-width: 14rem; }

.journey {
	display: flex;
	gap: 0.45rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.journey li {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(247, 182, 0, 0.4);
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	animation: step 4.8s ease-in-out infinite;
}

.journey li:nth-child(2) { animation-delay: 1.6s; }
.journey li:nth-child(3) { animation-delay: 3.2s; }

.phone {
	display: flex;
	flex-direction: column;
	min-height: 28rem;
	padding: 0.9rem;
	border-radius: 28px;
	background: #07080c;
	border: 1px solid rgba(247, 182, 0, 0.28);
}

.phone-bar {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.8rem;
	font-weight: 500;
}

.phone-bar img { width: 36px; height: 36px; border-radius: 10px; }

.phone-bar small {
	display: block;
	color: var(--lime);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.phone-log {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.bubble {
	max-width: 88%;
	margin: 0;
	padding: 0.7rem 0.85rem;
	border-radius: 16px;
	animation: pop 0.35s ease;
}

.bubble.guest {
	align-self: flex-end;
	background: #1c2433;
	border-bottom-right-radius: 4px;
}

.bubble.bot {
	align-self: flex-start;
	background: var(--visa);
	border-bottom-left-radius: 4px;
}

.phone-sources {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.8rem;
}

.phone-sources span {
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.phone-sources span.on {
	color: #14120c;
	background: var(--gold);
	border-color: var(--gold);
}

.gates {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.gate {
	overflow: hidden;
	position: relative;
	padding: 0.8rem 0.7rem;
	border-radius: 20px;
	background: #07080c;
	border: 1px solid var(--line);
}

.gate > strong {
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: 0.6rem;
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lime);
}

.gate-window {
	height: 8.6rem;
	overflow: hidden;
}

.gate-fall {
	display: grid;
	gap: 0.45rem;
	animation: fall 8s linear infinite;
}

.mine-phone { border-color: rgba(62, 224, 197, 0.35); }
.bubble.me { align-self: flex-end; background: #1f6f86; border-bottom-right-radius: 4px; }
.bubble.ollama { align-self: flex-start; background: #14342c; border-bottom-left-radius: 4px; }

@media (max-width: 860px) {
	.story-tabs,
	.story-card,
	.gates { grid-template-columns: 1fr; }
	.pipe, .phone { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.caret, .dot, .pipe-lane, .gate-fall, .journey li, .bubble { animation: none; }
	.project { transition: none; }
}

@keyframes blink {
	50% { opacity: 0; }
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(214, 242, 106, 0.45); }
	100% { box-shadow: 0 0 0 12px rgba(214, 242, 106, 0); }
}

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

@keyframes fall {
	from { transform: translateY(-50%); }
	to { transform: translateY(0); }
}

@keyframes step {
	0%, 100% { background: transparent; color: var(--ink); }
	35% { background: var(--gold); color: #14120c; }
}

@keyframes pop {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
