:root {
	--bg: #111210;
	--bg2: #171815;
	--bg3: #1E1F1C;
	--border: rgba(255, 255, 255, 0.07);
	--border-mid: rgba(255, 255, 255, 0.13);
	--rust: #C8674A;
	--rust-lt: #E8956D;
	--rust-dim: #8B4532;
	--sand: #E7DFD0;
	--sand-m: #A09080;
	--sand-dim: #6A5E52;
	--white: #F2EDE6;
	--fd: 'Fraunces', Georgia, serif;
	--fb: 'DM Sans', system-ui, sans-serif;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--r: 12px;
	--nav-bg: rgba(17, 18, 16, 0.84);
}

[data-theme="light"] {
	--bg: #F5F0E8;
	--bg2: #EDE8DF;
	--bg3: #E4DDD2;
	--border: rgba(0, 0, 0, 0.07);
	--border-mid: rgba(0, 0, 0, 0.13);
	--sand: #2C2420;
	--sand-m: #6A5E52;
	--sand-dim: #A09080;
	--white: #1A1210;
	--nav-bg: rgba(245, 240, 232, 0.84);
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--sand);
	font-family: var(--fb);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.75;
	overflow-x: hidden;
}

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

ul {
	list-style: none;
}

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

::-webkit-scrollbar {
	width: 3px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: var(--rust-dim);
	border-radius: 2px;
}

/* grain */
body::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
	background-size: 200px;
}

[data-theme="light"] body::after {
	opacity: 0.5;
}

/* NAV */
#nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 5%;
	background: var(--nav-bg);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
}

.nav-logo {
	font-family: var(--fd);
	font-weight: 400;
	font-size: 1.15rem;
	color: var(--white);
}

.nav-logo em {
	font-style: italic;
	color: var(--rust-lt);
}

.nav-links {
	display: flex;
	gap: 2.2rem;
}

.nav-links a {
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--sand-m);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: color .25s;
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--white);
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

#themeBtn {
	background: transparent;
	border: 1px solid var(--border-mid);
	border-radius: 50%;
	width: 34px;
	height: 34px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sand-m);
	font-size: .85rem;
	transition: .25s;
}

#themeBtn:hover {
	border-color: var(--rust);
	color: var(--rust-lt);
}

.ham {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.ham span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: var(--sand);
	border-radius: 2px;
	transition: .3s;
}

/* hero styles now in appended block below */

/* BUTTONS */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .65rem 1.5rem;
	border-radius: 6px;
	font-family: var(--fb);
	font-size: .85rem;
	font-weight: 400;
	letter-spacing: .02em;
	transition: .25s var(--ease);
	border: none;
	cursor: pointer;
}

.btn-rust {
	background: var(--rust);
	color: #fff;
}

.btn-rust:hover {
	background: var(--rust-lt);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(200, 103, 74, .3);
}

.btn-ghost {
	background: transparent;
	color: var(--sand);
	border: 1px solid var(--border-mid);
}

.btn-ghost:hover {
	border-color: var(--rust-dim);
	color: var(--rust-lt);
	transform: translateY(-2px);
}

/* SECTION */
.sw {
	max-width: 1100px;
	margin: 0 auto;
	padding: 6rem 5%;
	position: relative;
	z-index: 1;
}

.s-eye {
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rust);
	margin-bottom: .5rem;
}

.s-title {
	font-family: var(--fd);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	color: var(--white);
	line-height: 1.15;
	margin-bottom: .5rem;
}

.s-title em {
	font-style: italic;
	font-weight: 300;
	color: var(--rust-lt);
}

.s-sub {
	color: var(--sand-m);
	font-size: .97rem;
	max-width: 520px;
}

/* ABOUT */
#about {
	background: var(--bg2);
}

.about-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 5rem;
	margin-top: 3.5rem;
}

.about-body p {
	color: var(--sand-m);
	font-size: .95rem;
	margin-bottom: 1rem;
}

.about-body p a {
	color: var(--rust-lt);
	border-bottom: 1px solid transparent;
	transition: .2s;
}

.about-body p a:hover {
	border-color: var(--rust-lt);
}

.plist {
	margin-top: 1.8rem;
}

.plist li {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: .5rem;
	padding: .55rem 0;
	border-bottom: 1px solid var(--border);
	font-size: .88rem;
}

.plist strong {
	font-size: .7rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sand-dim);
	font-weight: 400;
}

.about-cta {
	margin-top: 2rem;
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
}

.sk-g {
	margin-bottom: 1.5rem;
}

.sk-lbl {
	font-size: .7rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rust);
	margin-bottom: .5rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.tag {
	padding: .22rem .75rem;
	border-radius: 20px;
	font-size: .78rem;
	font-weight: 300;
	border: 1px solid var(--border-mid);
	color: var(--sand-m);
	background: var(--bg3);
	transition: .2s;
}

.tag:hover {
	border-color: var(--rust-dim);
	color: var(--rust-lt);
}

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

.comp-item {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .6rem .9rem;
	background: var(--bg3);
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: .82rem;
	color: var(--sand-m);
	transition: .2s;
}

.comp-item:hover {
	border-color: var(--rust-dim);
	color: var(--sand);
}

.comp-item::before {
	content: '·';
	color: var(--rust);
	font-size: 1.2rem;
	line-height: 1;
}

/* RESUME */
#resume {
	background: var(--bg);
}

/* timeline styles replaced by exp-list — see appended block */

/* PROJECTS */
#projects {
	background: var(--bg2);
}

.proj-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 1.25rem;
	margin-top: 3rem;
}

.proj-card {
	background: var(--bg3);
	border: 1px solid var(--border);
	border-radius: var(--r);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: .25s var(--ease);
}

.proj-card:hover {
	border-color: var(--rust-dim);
	transform: translateY(-3px);
}

.proj-name {
	font-family: var(--fd);
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--white);
	margin-bottom: .3rem;
}

.proj-stack {
	font-size: .72rem;
	color: var(--rust);
	letter-spacing: .05em;
	margin-bottom: .9rem;
}

.proj-desc-p {
	font-size: .88rem;
	color: var(--sand-m);
	flex: 1;
	line-height: 1.7;
}

.proj-link {
	margin-top: 1.2rem;
}

.proj-cta {
	text-align: center;
	margin-top: 2.5rem;
}

/* CONTACT */
#contact {
	background: var(--bg);
}

.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	margin-top: 3.5rem;
	align-items: start;
}

.contact-body h3 {
	font-family: var(--fd);
	font-size: 1.5rem;
	font-weight: 300;
	font-style: italic;
	color: var(--white);
	margin-bottom: .75rem;
}

.contact-body p {
	color: var(--sand-m);
	font-size: .93rem;
}

.contact-cards {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.c-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--bg2);
	border: 1px solid var(--border);
	border-radius: var(--r);
	transition: .25s var(--ease);
}

.c-card:hover {
	border-color: var(--rust-dim);
	transform: translateX(4px);
}

.c-card .ico {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(200, 103, 74, .12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rust-lt);
	font-size: .85rem;
	flex-shrink: 0;
}

.c-card small {
	display: block;
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--sand-dim);
}

.c-card span {
	font-size: .88rem;
	color: var(--sand);
}

/* FOOTER */
footer {
	background: var(--bg2);
	border-top: 1px solid var(--border);
	padding: 1.75rem 5%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	position: relative;
	z-index: 1;
}

footer p {
	font-size: .8rem;
	color: var(--sand-dim);
}

footer a {
	color: var(--rust-lt);
}

.ft-social {
	display: flex;
	gap: .65rem;
}

.ft-social a {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--border);
	color: var(--sand-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .78rem;
	transition: .2s;
}

.ft-social a:hover {
	border-color: var(--rust-dim);
	color: var(--rust-lt);
}

/* REVEAL */
.rv {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.rv.in {
	opacity: 1;
	transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 860px) {
	#intro {
		grid-template-columns: 1fr;
		padding-top: 7rem;
		gap: 3rem;
		text-align: center;
	}

	.hero-photo {
		justify-content: center;
		order: -1;
	}

	.photo-frame {
		width: 240px;
	}

	.hero-eyebrow {
		justify-content: center;
	}

	.hero-actions,
	.hero-social {
		justify-content: center;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

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

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

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.ham {
		display: flex;
	}

	.nav-links {
		display: flex;
		position: fixed;
		top: 0;
		right: -100%;
		bottom: 0;
		width: 70%;
		max-width: 260px;
		background: var(--bg2);
		border-left: 1px solid var(--border);
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		padding: 3rem 2rem;
		gap: 2rem;
		transition: right .35s var(--ease);
		z-index: 999;
		height: 100vh;
		box-sizing: border-box;
	}

	.nav-links.open {
		right: 0;
	}

	.nav-links li {
		width: 100%;
	}

	.nav-links a {
		font-size: 1rem;
		display: block;
		width: 100%;
		color: var(--sand);
	}
}

.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 998;
}

.nav-overlay.open {
	display: block;
}

/* ── HERO REDESIGN ── */
#intro {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 380px;
	align-items: center;
	gap: 5rem;
	padding: 8rem 5% 5rem;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hero-left {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}


.hero-statements {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hero-stmt {
	font-family: var(--fd);
	font-size: clamp(0.95rem, 1.8vw, 1.15rem);
	font-weight: 300;
	font-style: italic;
	color: var(--sand-m);
	line-height: 1.5;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	opacity: 0;
	transform: translateY(10px);
	animation: stmtIn 0.55s var(--ease) forwards;
	animation-delay: calc(0.15s + var(--i) * 0.18s);
}

.hero-stmt::before {
	content: '';
	display: block;
	height: 1px;
	background: var(--rust);
	flex-shrink: 0;
	width: 0;
	animation: lineGrow 0.4s var(--ease) forwards;
	animation-delay: calc(0.25s + var(--i) * 0.18s);
}

@keyframes stmtIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes lineGrow {
	to {
		width: 24px;
	}
}

.hero-name-block {
	margin: 0;
}

.hero-name {
	font-family: var(--fd);
	font-size: clamp(4rem, 9vw, 7rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--white);
}

.hero-name .it {
	font-style: italic;
	font-weight: 300;
	color: var(--rust-lt);
}

.hero-bio {
	font-size: 0.97rem;
	color: var(--sand-m);
	line-height: 1.75;
	max-width: 480px;
}

.hero-bio strong {
	color: var(--sand);
	font-weight: 500;
}

.hero-bio a {
	color: var(--rust-lt);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}

.hero-bio a:hover {
	border-color: var(--rust-lt);
}

.hero-links {
	font-size: 0.9rem;
	color: var(--sand-m);
}

.hero-links a {
	color: var(--rust-lt);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}

.hero-links a:hover {
	border-color: var(--rust-lt);
}

/* photo — no badge in new hero */
.hero-photo {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.photo-frame {
	position: relative;
	width: 320px;
}

.photo-frame::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 20px;
	right: -20px;
	bottom: -20px;
	border: 1px solid var(--rust-dim);
	border-radius: var(--r);
	z-index: 0;
}

.photo-frame img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 3/4;
	object-fit: cover;
	object-position: top center;
	border-radius: var(--r);
	filter: grayscale(15%) sepia(8%);
}

/* ── MARQUEE ── */
.marquee-wrap {
	overflow: hidden;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--bg2);
	padding: 0.9rem 0;
	position: relative;
	z-index: 1;
}

.marquee-track {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	width: max-content;
	animation: marquee 40s linear infinite;
	white-space: nowrap;
}

.marquee-track span {
	font-family: var(--fd);
	font-style: italic;
	font-size: 0.9rem;
	font-weight: 300;
	color: var(--sand-m);
}

.marquee-track .dot {
	color: var(--rust);
	font-style: normal;
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.marquee-wrap:hover .marquee-track {
	animation-play-state: paused;
}

/* ── EXPERIENCE PROSE LIST ── */
.exp-list {
	margin-top: 3rem;
	display: flex;
	flex-direction: column;
}

.exp-row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 2rem;
	padding: 2rem 0;
	border-bottom: 1px solid var(--border);
}

.exp-row:first-child {
	border-top: 1px solid var(--border);
}

.exp-meta {
	padding-top: 0.2rem;
}

.exp-period {
	font-size: 0.75rem;
	color: var(--sand-dim);
	letter-spacing: 0.04em;
	font-weight: 400;
}

.exp-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.exp-co {
	display: flex;
	align-items: center;
	font-size: 0.78rem;
	color: var(--sand-dim);
	font-style: italic;
	gap: 6px;
}

.exp-co img {
	width: 16px;
	height: 16px;
	border-radius: 3px;
	object-fit: contain;
	flex-shrink: 0;
	display: inline-block;
}

.exp-role {
	font-family: var(--fd);
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--white);
}

.exp-desc {
	font-size: 0.88rem;
	color: var(--sand-m);
	line-height: 1.7;
	margin-top: 0.2rem;
	max-width: 560px;
}

/* ── EDUCATION ── */
.edu-list {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.edu-row {
	display: flex;
	align-items: baseline;
	gap: 1.5rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.88rem;
}

.edu-year {
	color: var(--sand-dim);
	font-size: 0.75rem;
	min-width: 60px;
	flex-shrink: 0;
}

.edu-name {
	color: var(--sand);
}

.edu-name em {
	color: var(--sand-m);
	font-style: italic;
}

/* ── OFF THE CLOCK ── */
#life {
	background: var(--bg2);
}

.life-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin-top: 3rem;
	border: 1px solid var(--border);
	border-radius: var(--r);
	overflow: hidden;
}

.life-card {
	padding: 2rem;
	background: var(--bg3);
	transition: background .25s;
}

.life-card:hover {
	background: var(--bg2);
}

.life-card-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--rust);
	margin-bottom: 0.75rem;
}

.life-card p {
	font-size: 0.9rem;
	color: var(--sand-m);
	line-height: 1.75;
}

/* ── RESPONSIVE UPDATES ── */
@media (max-width: 860px) {
	#intro {
		grid-template-columns: 1fr;
		padding-top: 6rem;
		gap: 2.5rem;
		text-align: left;
	}

	.hero-photo {
		order: -1;
	}

	.photo-frame {
		width: 200px;
	}

	.exp-row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.exp-meta {
		padding-top: 0;
	}

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

/* ── TERMINAL ── */
#terminal-section {
	background: var(--bg);
	position: relative;
	z-index: 1;
}

#terminal-section .sw {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.terminal-window {
	background: #0D0D0B;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
	max-width: 720px;
	margin: 0 auto;
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .terminal-window {
	border-color: rgba(0, 0, 0, 0.15);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.terminal-bar {
	background: #1C1C1A;
	padding: 0.75rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.t-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}

.t-red {
	background: #FF5F56;
}

.t-yellow {
	background: #FFBD2E;
}

.t-green {
	background: #27C93F;
}

.t-title {
	font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
	font-size: 0.72rem;
	color: #666;
	margin-left: 0.5rem;
}

.terminal-body {
	padding: 1.4rem 1.5rem 1.8rem;
	font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
	font-size: 0.82rem;
	line-height: 1.75;
	min-height: 280px;
	color: #C8C0B0;
}

.t-line {
	display: block;
}

.t-prompt {
	color: #27C93F;
	user-select: none;
}

.t-cmd {
	color: #E8DFD0;
}

.t-output {
	color: #888880;
}

.t-highlight {
	color: #E8956D;
}

.t-dim {
	color: #555550;
}

.t-bar-fill {
	color: #27C93F;
	letter-spacing: -1px;
}

.t-pass {
	color: #27C93F;
}

.t-warn {
	color: #FFBD2E;
}

.t-cursor {
	display: inline-block;
	width: 8px;
	height: 14px;
	background: #C8674A;
	vertical-align: text-bottom;
	animation: t-blink 1s step-end infinite;
	margin-left: 1px;
}

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

/* ── INTERACTIVE TIMELINE ── */
.itl-wrap {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 0;
	margin-top: 3rem;
	min-height: 260px;
}

.itl-nav {
	border-right: 1px solid var(--border);
	display: flex;
	flex-direction: column;
}

.itl-item {
	padding: 1rem 1.25rem 1rem 0;
	cursor: pointer;
	border-right: 2px solid transparent;
	margin-right: -1px;
	transition: all 0.2s var(--ease);
	user-select: none;
}

.itl-item:hover .itl-co {
	color: var(--sand);
}

.itl-item.active {
	border-right-color: var(--rust);
}

.itl-item.active .itl-co {
	color: var(--white);
}

.itl-item.active .itl-year {
	color: var(--rust);
}

.itl-year {
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	color: var(--sand-dim);
	margin-bottom: 0.3rem;
	transition: color 0.2s;
	text-transform: uppercase;
}

.itl-co {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--sand-m);
	transition: color 0.2s;
}

.itl-co img {
	width: 16px;
	height: 16px;
	border-radius: 3px;
	object-fit: contain;
	flex-shrink: 0;
}

.itl-content {
	padding: 0 0 0 2rem;
}

.itl-panel {
	display: none;
	animation: itlFade 0.28s var(--ease);
}

.itl-panel.active {
	display: block;
}

@keyframes itlFade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.itl-role {
	font-family: var(--fd);
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 0.3rem;
}

.itl-company {
	font-size: 0.85rem;
	color: var(--rust-lt);
	margin-bottom: 0.25rem;
	font-style: italic;
}

.itl-period {
	font-size: 0.72rem;
	color: var(--sand-dim);
	letter-spacing: 0.06em;
	margin-bottom: 1.25rem;
}

.itl-stats {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.itl-stat {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.itl-stat-val {
	font-family: var(--fd);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--rust-lt);
	line-height: 1;
}

.itl-stat-lbl {
	font-size: 0.68rem;
	color: var(--sand-dim);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.itl-desc {
	font-size: 0.9rem;
	color: var(--sand-m);
	line-height: 1.75;
	margin-bottom: 1.25rem;
	max-width: 520px;
}

.itl-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.itl-tag {
	padding: 0.22rem 0.75rem;
	border-radius: 20px;
	font-size: 0.75rem;
	border: 1px solid var(--border-mid);
	color: var(--sand-m);
	background: var(--bg3);
	transition: 0.2s;
}

.itl-tag:hover {
	border-color: var(--rust-dim);
	color: var(--rust-lt);
}

@media (max-width: 860px) {
	.itl-wrap {
		grid-template-columns: 1fr;
	}

	.itl-nav {
		flex-direction: row;
		border-right: none;
		border-bottom: 1px solid var(--border);
		overflow-x: auto;
		gap: 0;
		padding-bottom: 0;
		scrollbar-width: none;
	}

	.itl-nav::-webkit-scrollbar {
		display: none;
	}

	.itl-item {
		padding: 0.6rem 1rem 0.75rem;
		border-right: none;
		border-bottom: 2px solid transparent;
		margin-right: 0;
		margin-bottom: -1px;
		white-space: nowrap;
		flex-shrink: 0;
	}

	.itl-item.active {
		border-right-color: transparent;
		border-bottom-color: var(--rust);
	}

	.itl-content {
		padding: 1.5rem 0 0;
	}
}

/* ── HERO ENTRANCE CHOREOGRAPHY ── */
.hero-name-block {
	opacity: 0;
	transform: translateY(12px);
	animation: stmtIn 0.6s var(--ease) forwards;
	animation-delay: 0.65s;
}

.hero-bio {
	opacity: 0;
	transform: translateY(10px);
	animation: stmtIn 0.55s var(--ease) forwards;
	animation-delay: 0.82s;
}

.hero-links {
	opacity: 0;
	animation: stmtIn 0.5s var(--ease) forwards;
	animation-delay: 0.96s;
}

.hero-social {
	opacity: 0;
	animation: stmtIn 0.5s var(--ease) forwards;
	animation-delay: 1.08s;
}