@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
	--bg: #0A0A0B;
	--elevated: #181818;
	--elevated2: #232323;
	--text: #FFFFFF;
	--dim: #B3B3B3;
	--dim2: #808080;
	--red: #E50914;
	--red-dark: #B20710;
	--border: rgba(255,255,255,0.12);
	--font-title: 'Bebas Neue', sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.title { font-family: var(--font-title); letter-spacing: 0.02em; font-weight: 400; }

/* ===================== Nav ===================== */
.nf-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
	padding: 0;
}
.nf-nav .bar { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nf-nav .left { display: flex; align-items: center; gap: 40px; }
.nf-logo { font-family: var(--font-title); font-size: 1.8rem; color: var(--red); letter-spacing: 0.08em; }
.nf-tabs { display: flex; align-items: center; gap: 24px; }
.nf-tabs a { font-size: 0.9rem; color: var(--dim); font-weight: 500; transition: color .15s; white-space: nowrap; }
.nf-tabs a:hover, .nf-tabs a.active { color: var(--text); }
.nf-nav .right { display: flex; align-items: center; gap: 14px; }
.nf-avatar {
	width: 32px; height: 32px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border);
}
@media (max-width: 900px) { .nf-tabs { display: none; } }

/* ===================== Buttons & chips ===================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; border-radius: 4px; font-weight: 600; font-size: 0.95rem; border: none; transition: all .15s; }
.btn-play { background: #fff; color: #000; }
.btn-play:hover { background: rgba(255,255,255,0.85); }
.btn-ghost { background: rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.3); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-block { width: 100%; padding: 14px; }

.chip { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; padding: 5px 10px; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.chip-red { border-color: var(--red); color: var(--red); }

/* ===================== Rows & cards ===================== */
.row-title { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: 0.03em; color: var(--dim); margin: 0 0 18px; }
.nf-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; -ms-overflow-style: none; }
.nf-row::-webkit-scrollbar { display: none; }

.nf-card {
	position: relative; flex: 0 0 auto; width: 280px; aspect-ratio: 16/9;
	border-radius: 6px; overflow: hidden; border: 1px solid var(--border);
	box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
	transition: transform .3s, border-color .3s; display: block;
}
.nf-card:hover { transform: scale(1.06); z-index: 10; border-color: rgba(255,255,255,0.3); }
.nf-card .bg { position: absolute; inset: 0; }
.nf-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 60%, transparent); }
.nf-card .play-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.nf-card:hover .play-hover { opacity: 1; }
.nf-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; padding-bottom: 18px; }
.nf-card .ep-label { font-size: 0.68rem; font-family: var(--font-body); color: var(--dim); letter-spacing: 0.08em; margin: 0 0 2px; }
.nf-card .ep-title { font-family: var(--font-title); font-size: 1.3rem; letter-spacing: 0.02em; margin: 0; }
.nf-card .ep-meta { font-size: 0.72rem; color: var(--dim2); margin: 2px 0 0; }
.nf-card .badge { position: absolute; top: 10px; left: 10px; }
.nf-card .stars { position: absolute; top: 10px; right: 10px; font-size: 0.72rem; color: var(--dim); font-family: monospace; }

.progress-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.15); }
.progress-fill { height: 100%; background: var(--red); }

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-cards { grid-template-columns: 1fr; } .nf-card { width: 100%; } }

.top-row { display: flex; gap: 0; overflow-x: auto; padding: 14px 0 20px; scrollbar-width: none; -ms-overflow-style: none; }
.top-row::-webkit-scrollbar { display: none; }
.top-item { display: flex; align-items: center; flex: 0 0 auto; padding-right: 26px; }
.top-rank {
	font-family: var(--font-title); font-size: 6.5rem; line-height: 1; font-weight: 400;
	color: transparent; -webkit-text-stroke: 2px var(--border); text-stroke: 2px var(--border);
	margin-right: -16px; position: relative; z-index: 1; user-select: none;
}
.top-item:nth-child(1) .top-rank { -webkit-text-stroke: 2px var(--red); text-stroke: 2px var(--red); }
.top-card {
	position: relative; z-index: 2; width: 170px; padding: 16px; border-radius: 6px;
	background: var(--elevated); border: 1px solid var(--border); transition: border-color .2s, transform .2s;
}
.top-item:hover .top-card { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.top-name { font-family: var(--font-title); font-size: 1.05rem; margin: 0 0 12px; letter-spacing: 0.01em; }
.top-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); overflow: hidden; }
.top-bar-fill { height: 100%; background: var(--red); border-radius: 2px; }
.top-pct { font-size: 0.72rem; color: var(--dim2); margin-top: 8px; }
@media (max-width: 640px) { .top-rank { font-size: 4.5rem; margin-right: -10px; } .top-card { width: 140px; padding: 12px; } }

.card-grid-item {
	position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--border);
	aspect-ratio: 16/10; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); transition: transform .3s, border-color .3s;
	display: block;
}
.card-grid-item:hover { transform: scale(1.03); border-color: rgba(255,255,255,0.3); }
.card-grid-item:hover .play-hover { opacity: 1 !important; }

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero .portrait-wrap { position: absolute; inset: 0; display: flex; justify-content: flex-end; }
.hero .portrait-wrap img { height: 100%; width: 60%; object-fit: cover; object-position: top; opacity: 0.75; }
.hero .fade-r { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg) 0%, rgba(10,10,11,0.85) 45%, transparent 80%); }
.hero .fade-t { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(10,10,11,0.2) 60%, transparent); }
.hero .glow { position: absolute; inset: 0; opacity: 0.25; background: radial-gradient(circle at 20% 20%, rgba(229,9,20,0.45), transparent 60%); }
.hero .content { position: relative; width: 100%; padding: 160px 24px 80px; max-width: 1400px; margin: 0 auto; }
.hero h1 { font-family: var(--font-title); font-size: clamp(3.5rem, 11vw, 8.5rem); line-height: 0.9; margin: 0 0 4px; letter-spacing: 0.02em; }
.hero .subtitle { font-family: var(--font-title); font-size: clamp(1.2rem, 2.5vw, 1.8rem); letter-spacing: 0.3em; color: var(--dim); margin: 0 0 20px; }
.hero .meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero .bio { max-width: 560px; color: var(--dim); font-size: 1.1rem; margin-bottom: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Intro cascade animation */
.intro-1 { animation: fadeUp .6s cubic-bezier(.16,1,.3,1) .2s both; }
.intro-2 { animation: titleIn .9s cubic-bezier(.16,1,.3,1) .35s both; }
.intro-3 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .6s both; }
.intro-4 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .75s both; }
.intro-5 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .9s both; }
.intro-6 { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) 1.05s both; }
@keyframes fadeUp { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }
@keyframes titleIn { from { opacity:0; transform: translateY(30px) scale(.96); letter-spacing: 0.15em; } to { opacity:1; transform: translateY(0) scale(1); letter-spacing: 0.02em; } }

/* ===================== Stats ===================== */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-box { text-align: center; border: 1px solid var(--border); background: rgba(24,24,24,0.5); border-radius: 6px; padding: 20px; }
.stat-box .value { font-family: var(--font-title); font-size: 2.2rem; color: var(--red); }
.stat-box .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-top: 4px; }
@media (max-width: 640px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Section shells ===================== */
.section { padding: 56px 0; }
.page-hero { position: relative; padding: 160px 0 56px; overflow: hidden; }
.page-hero .tint { position: absolute; inset: 0; z-index: -1; }

/* ===================== Entry splash (plays before the gate) ===================== */
.entry-screen {
	min-height: 100vh; display: flex; align-items: center; justify-content: center;
	background: #0d0b12; position: relative; overflow: hidden; cursor: pointer;
	animation: entryFade 1.2s ease both;
}
.entry-glow {
	position: absolute; inset: 0;
	background: radial-gradient(circle at 70% 30%, rgba(229,9,20,0.35), transparent 55%);
}
.entry-inner { position: relative; text-align: center; opacity: 0.92; }
.entry-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--red); text-transform: uppercase; margin-bottom: 10px; animation: fadeUp .6s ease .1s both; }
.entry-title { font-family: var(--font-title); font-size: clamp(3rem, 10vw, 6rem); letter-spacing: 0.04em; margin: 0; animation: titleIn 1.1s cubic-bezier(.16,1,.3,1) .2s both; }
.entry-sub { font-family: var(--font-title); font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: 0.3em; color: var(--dim); margin-top: 8px; animation: fadeUp .6s ease .5s both; }
.entry-screen.fade-out { animation: entryFadeOut .4s ease forwards; }
@keyframes entryFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes entryFadeOut { from { opacity: 1; } to { opacity: 0; } }

.gate-screen.fade-in { animation: entryFade .5s ease both; }

/* ===================== Who's watching (gate) ===================== */
.gate-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: radial-gradient(ellipse at top, #1a0505 0%, var(--bg) 60%); }
.gate-screen h1 { font-family: var(--font-title); font-size: 2.6rem; margin-bottom: 36px; }
.profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 28px; }
.profile-card {
	width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px;
	background: none; border: none; color: #fff;
}
.profile-tile {
	width: 150px; height: 190px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
	border: 3px solid transparent; transition: border-color .15s, transform .15s; overflow: hidden; position: relative;
}
.profile-card:hover .profile-tile, .profile-card:focus .profile-tile { border-color: #fff; transform: translateY(-4px); }
.profile-tile img { width: 100%; height: 100%; object-fit: cover; }
.profile-tile .icon { font-size: 2.6rem; }
.profile-name { font-weight: 600; }
.profile-desc { font-size: 0.8rem; color: var(--dim); line-height: 1.4; }
.gate-note { color: var(--dim2); font-size: 0.85rem; max-width: 420px; margin: 0 auto; }

/* ===================== Skill universe ===================== */
.skills-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.skill-nav button {
	display: block; width: 100%; text-align: left; background: none; border: none; border-left: 4px solid transparent;
	color: var(--text); padding: 12px 16px; border-radius: 4px; margin-bottom: 4px; transition: background .15s, border-color .15s;
}
.skill-nav button:hover { background: rgba(255,255,255,0.05); }
.skill-nav button.active { background: rgba(255,255,255,0.1); border-color: var(--red); }
.skill-nav .name { font-weight: 600; display: block; }
.skill-nav .count { font-size: 0.72rem; color: var(--dim2); }
.skill-tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.skill-tile { min-width: 140px; padding: 18px; text-align: center; font-weight: 600; border: 1px solid var(--border); border-radius: 6px; background: var(--elevated); }
@media (max-width: 760px) { .skills-layout { grid-template-columns: 1fr; } }

/* ===================== Bio card (About) ===================== */
.bio-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--elevated); }
.bio-card .photo { position: relative; min-height: 360px; }
.bio-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio-card .photo .tint { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 50%); }
.bio-card .photo .name-badge { position: absolute; left: 18px; bottom: 16px; }
.bio-card .photo .name-badge .label { font-size: 0.65rem; color: var(--red); font-weight: 700; letter-spacing: 0.08em; }
.bio-card .photo .name-badge .name { font-family: var(--font-title); font-size: 1.3rem; letter-spacing: 0.02em; }
.bio-card .content { padding: 32px; }
.bio-quote { font-size: 1.15rem; font-style: italic; color: var(--text); line-height: 1.6; margin: 0 0 10px; }
.bio-quote-by { font-size: 0.78rem; color: var(--dim2); margin-bottom: 24px; }
.bio-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bio-info-grid .item { border-top: 1px solid var(--border); padding-top: 10px; }
.bio-info-grid .item .k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); font-weight: 700; margin-bottom: 4px; }
.bio-info-grid .item .v { font-size: 0.9rem; color: var(--dim); }
@media (max-width: 760px) { .bio-card { grid-template-columns: 1fr; } .bio-card .photo { min-height: 260px; } }

/* ===================== Originals intro ===================== */
.originals-intro { max-width: 640px; }
.originals-intro p { color: var(--dim); margin: 14px 0 10px; }
.scroll-hint { font-size: 0.78rem; color: var(--dim2); font-weight: 600; }

/* ===================== Toolkit spotlight ===================== */
.toolkit-spotlight {
	border: 1px solid var(--border); border-radius: 14px;
	background: linear-gradient(135deg, #1a0a05, var(--elevated) 65%);
	padding: 40px;
}
.ts-title { font-family: var(--font-title); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 14px; letter-spacing: 0.02em; }
.ts-desc { color: var(--dim); max-width: 70ch; line-height: 1.6; margin-bottom: 26px; }
.ts-cmd {
	display: inline-flex; align-items: center; gap: 14px; background: #000;
	border: 1px solid var(--border); border-radius: 8px; padding: 12px 18px; flex-wrap: wrap;
}
.ts-cmd code { font-family: monospace; color: #F9D23C; font-size: 0.95rem; }
@media (max-width: 640px) { .toolkit-spotlight { padding: 26px; } }

.poster-card { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; display: flex; align-items: flex-end; transition: transform .3s, border-color .3s; }
.poster-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.3); }
.poster-card .bg { position: absolute; inset: 0; opacity: 0.9; }
.poster-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.3) 55%, transparent); }
.poster-card .pc-content { position: relative; padding: 24px; width: 100%; }
.poster-card .pc-eyebrow { font-size: 0.7rem; color: var(--dim); letter-spacing: 0.08em; margin-bottom: 6px; }
.poster-card .pc-title { font-family: var(--font-title); font-size: 1.9rem; letter-spacing: 0.02em; margin-bottom: 8px; }
.poster-card .pc-desc { font-size: 0.88rem; color: var(--dim); margin-bottom: 14px; max-width: 46ch; }
.poster-card .pc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .poster-grid { grid-template-columns: 1fr; } }

/* ===================== Journey (seasons) ===================== */
.season-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.season-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--dim); font-size: 0.85rem; }
.season-tab.active { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.season-detail h3 { font-family: var(--font-title); font-size: 1.8rem; letter-spacing: 0.02em; margin: 0 0 6px; }
.season-meta { color: var(--dim2); font-size: 0.85rem; margin-bottom: 8px; }
.season-desc { color: var(--dim); max-width: 640px; margin-bottom: 28px; }

/* ===================== Resume episode ===================== */
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.resume-block h4 { font-family: var(--font-title); font-size: 1.1rem; letter-spacing: 0.05em; color: var(--red); margin: 28px 0 10px; text-transform: uppercase; }
.resume-block h4:first-child { margin-top: 0; }
.resume-item { margin-bottom: 14px; }
.resume-item .title-line { font-weight: 600; }
.resume-item .sub-line { font-size: 0.85rem; color: var(--dim); }
@media (max-width: 800px) { .resume-grid { grid-template-columns: 1fr; } }

/* ===================== Moments (blog) ===================== */
.moments-list { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.moment-row { display: flex; align-items: center; gap: 20px; padding: 18px; border-bottom: 1px solid var(--border); transition: background .15s; }
.moment-row:last-child { border-bottom: none; }
.moment-row:hover { background: rgba(255,255,255,0.04); }
.moment-num { font-family: var(--font-title); font-size: 1.8rem; color: var(--dim2); width: 48px; flex-shrink: 0; }
.moment-row .body { flex: 1; min-width: 0; }
.moment-row .m-title { font-family: var(--font-title); font-size: 1.2rem; letter-spacing: 0.02em; }
.moment-row .m-excerpt { font-size: 0.85rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.prose { color: var(--dim); line-height: 1.8; }
.prose h2 { font-family: var(--font-title); font-size: 1.8rem; color: var(--text); margin: 36px 0 12px; letter-spacing: 0.02em; }
.prose h3 { font-family: var(--font-title); font-size: 1.4rem; color: var(--text); margin: 28px 0 10px; letter-spacing: 0.02em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; }

/* ===================== Contact / outro ===================== */
.outro { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.outro .tint { position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(29,124,79,0.18), var(--bg) 60%); z-index: -1; }
.outro .inner { max-width: 640px; margin: 0 auto; padding: 120px 24px; text-align: center; width: 100%; }
.outro h1 { font-family: var(--font-title); font-size: clamp(2.8rem, 7vw, 4.5rem); letter-spacing: 0.02em; margin-bottom: 8px; }
.outro .who { font-family: var(--font-title); font-size: 1.3rem; letter-spacing: 0.25em; color: var(--dim); margin: 0; }
.outro .role { font-size: 0.8rem; color: var(--dim2); margin-bottom: 36px; }
.form-group { text-align: left; margin-bottom: 14px; }
.input {
	width: 100%; padding: 12px 16px; border-radius: 6px; border: 1px solid var(--border);
	background: var(--elevated); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
}
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 2px rgba(229,9,20,0.3); }
.input-error { color: var(--red); font-size: 0.78rem; margin-top: 4px; }
.notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-weight: 600; }
.notice-success { background: rgba(31,170,89,0.12); border: 1px solid rgba(31,170,89,0.4); color: #4fd983; }
.notice-error { background: rgba(229,9,20,0.12); border: 1px solid rgba(229,9,20,0.4); color: #ff6b6b; }
.outro .pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.outro .pill-row .btn { padding: 9px 18px; font-size: 0.85rem; }
.replay-links { display: flex; justify-content: center; gap: 24px; margin-top: 32px; font-size: 0.78rem; color: var(--dim2); }
.replay-links a:hover { color: var(--text); }
.honeypot { position: absolute; left: -9999px; }

/* ===================== Footer ===================== */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 60px; }
.site-footer .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer p { color: var(--dim2); font-size: 0.85rem; margin: 0; }
.site-footer .links { display: flex; gap: 20px; font-size: 0.85rem; font-weight: 500; }
.site-footer .links a { color: var(--dim); }
.site-footer .links a:hover { color: var(--red); }

/* ===================== Reveal / scroll animation ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--delay, 0ms); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
[x-cloak] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal, .intro-1, .intro-2, .intro-3, .intro-4, .intro-5, .intro-6 { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ===================== Mobile nav toggle ===================== */
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 4px; padding: 8px; color: #fff; }
.nf-tabs-mobile { display: none; }
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.nf-tabs-mobile { display: none; position: fixed; inset: 80px 0 0 0; background: var(--bg); flex-direction: column; padding: 24px; gap: 4px; z-index: 99; overflow-y: auto; }
	.nf-tabs-mobile.open { display: flex; }
	.nf-tabs-mobile a { padding: 14px 8px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
}
