/* ============================
   RESET & BASE
============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060606;
  --bg-2: #0d0d0f;
  --surface: #111114;
  --surface-2: #18181c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-dim: #a1a1aa;
  --text-mute: #6b6b75;
  --accent: #ff6a3d;
  --accent-2: #ffb86b;
  --accent-3: #6ea8ff;
  --accent-glow: rgba(255, 106, 61, 0.5);
  --grad-1: linear-gradient(135deg, #ff6a3d 0%, #ffb86b 50%, #6ea8ff 100%);
  --grad-2: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 1024px) {
  body { cursor: auto; }
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
@media (max-width: 1024px) { button { cursor: pointer; } }
a { color: inherit; text-decoration: none; cursor: none; }
@media (max-width: 1024px) { a { cursor: pointer; } }
ul { list-style: none; }

.italic { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============================
   LOADER
============================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__shimmer {
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.08) 62%,
    rgba(255, 255, 255, 0.08) 100%
  );
  background-size: 220% 100%;
  background-position: 220% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerSweep 3.6s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -120% 0; }
}

/* ============================
   CUSTOM CURSOR
============================ */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .cursor, .cursor-dot { display: none; }
}

/* ============================
   SCROLL PROGRESS
============================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-1);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ============================
   NAV
============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(6, 6, 6, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
  position: relative;
}

.nav__logo-mark {
  width: 26px;
  height: 31px;
  transition: transform 0.6s var(--ease-bounce), filter 0.4s var(--ease);
  flex-shrink: 0;
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.nav__logo-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.nav__logo-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
}

.nav__logo:hover .nav__logo-text::after {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .nav__logo-text { display: none; }
}

.nav__menu {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav__menu a {
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}

.nav__menu a:hover { color: var(--text); }
.nav__menu a:hover::after { width: 100%; }

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
}

.lang__btn {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  position: relative;
}

.lang__btn:hover {
  color: var(--text);
}

.lang__btn.is-active {
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 900px) {
  .nav__lang { padding: 3px; }
  .lang__btn { padding: 5px 8px; font-size: 10px; }
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-1);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}

.nav__cta:hover {
  border-color: transparent;
  color: #000;
}

.nav__cta:hover::before { opacity: 1; }
.nav__cta svg { transition: transform 0.4s var(--ease); }
.nav__cta:hover svg { transform: translateX(4px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 480px) {
  .nav__lang { display: none; }
  .mobile-menu .nav__lang { display: inline-flex; }
}

.mobile-menu .nav__lang {
  margin-top: 32px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 6, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-menu a {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ============================
   HERO
============================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 32px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.5), transparent 70%);
  top: -10%;
  left: -10%;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.4), transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -7s;
}

.hero__orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 107, 0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 40px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.hero__title {
  font-size: clamp(48px, 9vw, 144px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 64px;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.12em 0.04em 0.18em;
  margin: -0.12em -0.04em -0.18em;
}

.hero__title .word {
  display: inline-block;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 800px;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

.hero__meta-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__marquee {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 32px;
  animation: marquee 40s linear infinite;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.marquee__track span {
  flex-shrink: 0;
}

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

@media (max-width: 768px) {
  .hero__meta { grid-template-columns: 1fr; gap: 16px; }
  .hero__scroll { display: none; }
}

/* ============================
   SECTION COMMON
============================ */
.section__head {
  margin-bottom: 80px;
  max-width: 900px;
}

.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: 24px;
}

.section__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ============================
   ABOUT
============================ */
.about {
  padding: 160px 0;
  background: var(--bg);
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__text p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 640px;
}

.about__text strong {
  color: var(--text);
  font-weight: 500;
}

.about__card {
  position: sticky;
  top: 120px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(20px);
}

.about__card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.about__card-row:last-child { border-bottom: none; padding-bottom: 0; }

.about__card-row span {
  color: var(--text-mute);
  font-weight: 500;
}

.about__card-row strong {
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px #4ade80;
}

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__card { position: static; }
}

/* ============================
   STATS
============================ */
.stats {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: left;
}

.stat__num {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.stat__num span:last-child {
  font-size: 0.5em;
}

.stat__label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================
   EXPERIENCE / TIMELINE
============================ */
.experience {
  padding: 160px 0;
  background: var(--bg);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline__line {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline__line-fill {
  position: absolute;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--grad-1);
  transition: height 0.1s linear;
}

.timeline__item {
  position: relative;
  padding-bottom: 64px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 17px;
  height: 17px;
  background: var(--bg);
  border: 2px solid var(--line-2);
  border-radius: 50%;
  transition: all 0.4s var(--ease);
}

.timeline__item.is-visible .timeline__dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.15), 0 0 20px var(--accent-glow);
}

.timeline__date {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 16px;
}

.timeline__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.5s var(--ease);
}

.timeline__card:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5), 0 0 60px -30px var(--accent-glow);
}

.timeline__card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.timeline__card-head h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.timeline__company {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}

.timeline__card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline__tags span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================
   PROJECTS
============================ */
.projects {
  padding: 160px 0;
  background: var(--bg-2);
  position: relative;
}

.projects::before, .projects::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
}

.projects::before { top: 0; background: linear-gradient(to bottom, var(--bg), transparent); }
.projects::after { bottom: 0; background: linear-gradient(to top, var(--bg), transparent); }

/* Featured */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 80px;
  background: var(--surface);
  transition: all 0.6s var(--ease);
  position: relative;
}

.featured:hover {
  border-color: var(--line-2);
  transform: translateY(-6px);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.6);
}

.featured__visual {
  position: relative;
  min-height: 480px;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured__visual--ailoom {
  background: radial-gradient(ellipse at center, #6a1414 0%, #4a0d0d 55%, #2e0808 100%);
}

.featured__glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(199, 176, 122, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  animation: ailoomGlow 6s ease-in-out infinite;
}

@keyframes ailoomGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.featured__ring {
  position: absolute;
  border: 1px solid rgba(199, 176, 122, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.featured__ring--1 {
  width: 70%;
  aspect-ratio: 1;
  animation: ailoomRing 18s linear infinite;
}

.featured__ring--2 {
  width: 90%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(199, 176, 122, 0.1);
  animation: ailoomRing 28s linear infinite reverse;
}

.featured__ring--3 {
  width: 55%;
  aspect-ratio: 1;
  border-color: rgba(199, 176, 122, 0.25);
  animation: ailoomRing 14s linear infinite;
}

@keyframes ailoomRing {
  to { transform: rotate(360deg); }
}

.featured__logo {
  position: relative;
  z-index: 2;
  width: 55%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(199, 176, 122, 0.35));
  animation: ailoomLogo 8s ease-in-out infinite;
}

@keyframes ailoomLogo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.featured__label {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.featured__pulse {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.featured__body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured__eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 16px;
}

.featured__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.featured__sub {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-dim);
  margin-bottom: 24px;
}

.featured__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.featured__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.featured__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured__meta span {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

.featured__meta strong {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .featured { grid-template-columns: 1fr; }
  .featured__visual { min-height: 320px; }
  .featured__body { padding: 40px 32px; }
}

/* Project grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.project:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.project__visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.project__body {
  padding: 28px;
}

.project__body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.project__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project__tags span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Project visuals */
.project__visual--map {
  background: linear-gradient(135deg, #0a1929 0%, #1a3a5c 100%);
}

.map-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(110, 168, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 168, 255, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(400px) rotateX(60deg);
  animation: mapPan 20s linear infinite;
}

@keyframes mapPan {
  to { background-position: 80px 80px; }
}

.map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-route__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: routeDraw 5s ease-in-out infinite;
}

@keyframes routeDraw {
  0% { stroke-dashoffset: 130; opacity: 0.9; }
  60%, 90% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.55);
  opacity: 0.35;
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.4);
  animation: pinReveal 5s ease-in-out infinite;
  animation-fill-mode: backwards;
  z-index: 2;
}

.map-pin::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.map-pin--1 { top: 30%; left: 25%; animation-delay: 0s; }
.map-pin--2 { top: 50%; left: 60%; animation-delay: 1s; }
.map-pin--3 { top: 65%; left: 35%; animation-delay: 2.5s; }

@keyframes pinReveal {
  0% {
    transform: rotate(-45deg) scale(0.55);
    opacity: 0.35;
    box-shadow: 0 0 12px rgba(110, 168, 255, 0.4);
  }
  10% {
    transform: rotate(-45deg) scale(1.35);
    opacity: 1;
    box-shadow: 0 0 24px var(--accent), 0 0 40px var(--accent-glow);
  }
  20%, 80% {
    transform: rotate(-45deg) scale(1);
    opacity: 1;
    box-shadow: 0 0 18px var(--accent-glow);
  }
  100% {
    transform: rotate(-45deg) scale(0.55);
    opacity: 0.35;
    box-shadow: 0 0 12px rgba(110, 168, 255, 0.4);
  }
}

.project__visual--btc {
  background: linear-gradient(135deg, #2a1810 0%, #4a2c10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btc-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.btc-chart__grid {
  stroke: rgba(247, 147, 26, 0.08);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.btc-chart__area {
  fill: url(#btcArea);
  opacity: 0;
  animation: btcAreaFade 5s ease-out infinite;
}

.btc-chart__line {
  fill: none;
  stroke: #f7931a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(247, 147, 26, 0.7));
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: btcDraw 5s ease-out infinite;
}

.btc-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f7931a;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(247, 147, 26, 0.9), 0 0 24px rgba(247, 147, 26, 0.5);
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: btcDot 5s ease-in-out infinite;
  z-index: 2;
}

.btc-dot--1 { left: 30%; top: 63.6%; animation-delay: 1.6s; }
.btc-dot--2 { left: 60%; top: 54.5%; animation-delay: 2.4s; }
.btc-dot--3 { left: 90%; top: 22.7%; animation-delay: 3.2s; }

.btc-coin {
  font-size: 64px;
  font-weight: 700;
  color: #f7931a;
  text-shadow: 0 0 30px rgba(247, 147, 26, 0.6);
  z-index: 3;
  position: relative;
  animation: btcGlow 3.5s ease-in-out infinite;
}

@keyframes btcDraw {
  0% { stroke-dashoffset: 700; }
  60%, 100% { stroke-dashoffset: 0; }
}

@keyframes btcAreaFade {
  0%, 30% { opacity: 0; }
  60%, 100% { opacity: 1; }
}

@keyframes btcDot {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes btcGlow {
  0%, 100% {
    text-shadow: 0 0 30px rgba(247, 147, 26, 0.5);
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 0 50px rgba(247, 147, 26, 0.9), 0 0 90px rgba(247, 147, 26, 0.35);
    transform: translateY(-4px);
  }
}

.project__visual--earn {
  background: linear-gradient(135deg, #0a2a1f 0%, #1a4a3c 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
}

.earn-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100%;
}

.earn-bars span {
  width: 18px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 4px 4px 0 0;
  animation: earnBar 1.5s ease-in-out infinite;
}

.earn-bars span:nth-child(1) { animation-delay: 0s; }
.earn-bars span:nth-child(2) { animation-delay: 0.15s; }
.earn-bars span:nth-child(3) { animation-delay: 0.3s; }
.earn-bars span:nth-child(4) { animation-delay: 0.45s; }
.earn-bars span:nth-child(5) { animation-delay: 0.6s; }

@keyframes earnBar {
  0%, 100% { height: 30%; }
  50% { height: 80%; }
}

.project__visual--miner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.miner-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.5), transparent);
  animation: minerPulse 2s ease-out infinite;
}

@keyframes minerPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.miner-stat {
  font-size: 64px;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(110, 168, 255, 0.6));
  animation: minerSpin 4s linear infinite;
}

@keyframes minerSpin {
  to { transform: rotate(360deg); }
}

.project__visual--quote {
  background: linear-gradient(135deg, #2a1a2e 0%, #4e2a4a 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.quote-mark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 100px;
  line-height: 0.7;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.quote-line {
  height: 8px;
  background: rgba(255, 184, 107, 0.3);
  border-radius: 4px;
  animation: quoteShimmer 3s ease-in-out infinite;
}

.quote-line.short { width: 60%; }

@keyframes quoteShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.project__visual--marketing {
  background: linear-gradient(135deg, #1a0a2e 0%, #3a1a5e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mkt-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mkt-chart__grid {
  stroke: rgba(168, 85, 247, 0.1);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.mkt-chart__area {
  fill: url(#mktArea);
  opacity: 0;
  animation: mktAreaFade 5s ease-out infinite;
}

.mkt-chart__line {
  fill: none;
  stroke: #a855f7;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.7));
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: mktDraw 5s ease-out infinite;
}

.mkt-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
  animation: mktPulse 3s ease-in-out infinite;
}

.mkt-badge__arrow {
  font-size: 14px;
  color: #c084fc;
}

@keyframes mktDraw {
  0% { stroke-dashoffset: 700; }
  60%, 100% { stroke-dashoffset: 0; }
}

@keyframes mktAreaFade {
  0%, 30% { opacity: 0; }
  60%, 100% { opacity: 1; }
}

@keyframes mktPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(168, 85, 247, 0.15);
    transform: scale(1.04);
  }
}

@media (max-width: 1024px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .projects__grid { grid-template-columns: 1fr; }
}

.project__visual--book {
  background: linear-gradient(135deg, #042f2e 0%, #134e4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(45, 212, 191, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.book-cal__head {
  display: grid;
  grid-template-columns: repeat(5, 22px);
  gap: 6px;
}

.book-cal__head span {
  height: 4px;
  background: rgba(45, 212, 191, 0.35);
  border-radius: 2px;
}

.book-cal__grid {
  display: grid;
  grid-template-columns: repeat(5, 22px);
  grid-template-rows: repeat(4, 22px);
  gap: 6px;
}

.book-cal__cell {
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 5px;
  animation: bookCellWave 4s ease-in-out infinite;
}

.book-cal__cell:nth-child(1)  { animation-delay: 0s; }
.book-cal__cell:nth-child(2)  { animation-delay: 0.06s; }
.book-cal__cell:nth-child(3)  { animation-delay: 0.12s; }
.book-cal__cell:nth-child(4)  { animation-delay: 0.18s; }
.book-cal__cell:nth-child(5)  { animation-delay: 0.24s; }
.book-cal__cell:nth-child(6)  { animation-delay: 0.30s; }
.book-cal__cell:nth-child(7)  { animation-delay: 0.36s; }
.book-cal__cell:nth-child(9)  { animation-delay: 0.48s; }
.book-cal__cell:nth-child(10) { animation-delay: 0.54s; }
.book-cal__cell:nth-child(11) { animation-delay: 0.60s; }
.book-cal__cell:nth-child(12) { animation-delay: 0.66s; }
.book-cal__cell:nth-child(13) { animation-delay: 0.72s; }
.book-cal__cell:nth-child(14) { animation-delay: 0.78s; }
.book-cal__cell:nth-child(15) { animation-delay: 0.84s; }
.book-cal__cell:nth-child(16) { animation-delay: 0.90s; }
.book-cal__cell:nth-child(17) { animation-delay: 0.96s; }
.book-cal__cell:nth-child(18) { animation-delay: 1.02s; }
.book-cal__cell:nth-child(19) { animation-delay: 1.08s; }
.book-cal__cell:nth-child(20) { animation-delay: 1.14s; }

.book-cal__cell--booked {
  background: #2dd4bf;
  border-color: #2dd4bf;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.7), 0 0 28px rgba(45, 212, 191, 0.3);
  animation: bookCellBooked 4s ease-in-out infinite;
  position: relative;
}

.book-cal__cell--booked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #042f2e;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@keyframes bookCellWave {
  0%, 60%, 100% {
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.18);
  }
  25% {
    background: rgba(45, 212, 191, 0.32);
    border-color: rgba(45, 212, 191, 0.5);
  }
}

@keyframes bookCellBooked {
  0%, 100% {
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.7), 0 0 28px rgba(45, 212, 191, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.95), 0 0 40px rgba(45, 212, 191, 0.5);
    transform: scale(1.1);
  }
}

/* ============================
   SKILLS
============================ */
.skills {
  padding: 160px 0;
  background: var(--bg);
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-cat {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.skill-cat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-1);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.skill-cat:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-6px);
}

.skill-cat:hover::before { opacity: 1; }

.skill-cat__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.skill-cat__num {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.1em;
}

.skill-cat__head h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.skill-cat ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-cat li {
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  padding-left: 16px;
}

.skill-cat li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .skills__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .skills__grid { grid-template-columns: 1fr; }
}

/* ============================
   EDUCATION
============================ */
.education {
  padding: 160px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.edu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.edu__card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: all 0.5s var(--ease);
  position: relative;
}

.edu__card:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.edu__year {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 16px;
}

.edu__card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.edu__degree {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 16px;
}

.edu__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.edu__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 106, 61, 0.1);
  border: 1px solid rgba(255, 106, 61, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .edu__grid { grid-template-columns: 1fr; }
}

/* ============================
   CONTACT
============================ */
.contact {
  padding: 140px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
}

.contact__inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact .section__label {
  margin-bottom: 32px;
}

.contact__title {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 32px;
}

.contact__desc {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-dim);
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.contact__email:hover {
  color: var(--accent);
  transform: translateX(8px);
}

.contact__email svg {
  transition: transform 0.4s var(--ease);
}

.contact__email:hover svg {
  transform: rotate(-45deg) translateX(4px);
}

.contact__channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.contact__channels a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}

.contact__channels a:hover {
  padding-left: 12px;
  border-color: var(--accent);
}

.contact__channel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}

.contact__channel-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .contact__channels { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   FOOTER
============================ */
.footer {
  padding: 32px 0 40px;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__rights {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.footer__mark {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  opacity: 0.95;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  cursor: none;
}

.footer__mark:hover {
  opacity: 1;
}

.footer__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  width: 100%;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer__meta div:first-child {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .footer__meta {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================
   REVEAL ANIMATIONS
============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split-up {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: splitUp 1.1s var(--ease) forwards;
}

.split-up:nth-child(2) { animation-delay: 0.05s; }
.split-up:nth-child(3) { animation-delay: 0.1s; }

.hero__title .word.split-up {
  animation-delay: calc(var(--i, 0) * 0.08s + 1.2s);
}

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

/* Hero stagger */
.hero__eyebrow.split-up { animation-delay: 1s; }
.hero__meta-item.split-up:nth-child(1) { animation-delay: 1.8s; }
.hero__meta-item.split-up:nth-child(2) { animation-delay: 1.9s; }
.hero__meta-item.split-up:nth-child(3) { animation-delay: 2s; }

/* ============================
   MOUSE SPOTLIGHT
============================ */
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 130, 80, 0.10) 0%, rgba(255, 130, 80, 0.04) 35%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1s var(--ease);
  filter: blur(20px);
}
.spotlight.is-visible { opacity: 1; }

@media (max-width: 1024px) {
  .spotlight { display: none; }
}

/* ============================
   WELCOME CARD
============================ */
.welcome-card {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 340px;
  max-width: calc(100vw - 56px);
  padding: 24px 28px 22px;
  background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px -20px rgba(255, 106, 61, 0.25);
  z-index: 200;
  transform: translateY(140%) scale(0.98);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s var(--ease);
  overflow: hidden;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 61, 0.7), rgba(255, 184, 107, 0.7), transparent);
  animation: welcomeBeam 4s ease-in-out infinite;
}

@keyframes welcomeBeam {
  0%, 100% { transform: translateX(-30%); opacity: 0.4; }
  50% { transform: translateX(30%); opacity: 1; }
}

.welcome-card.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.welcome-card__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.welcome-card__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.welcome-card__time-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.welcome-card__time-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.welcome-card__greeting {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.welcome-card__location {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}

.welcome-card__hint {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.welcome-card__hint kbd {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10px;
  font-family: 'Inter', monospace;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
}

@media (max-width: 480px) {
  .welcome-card { bottom: 16px; right: 16px; left: 16px; width: auto; }
}

/* ============================
   KONAMI CONFETTI
============================ */
.konami-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 1000;
  top: -20px;
  animation: konamiFall 2.8s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes konamiFall {
  0% { transform: translateY(0) rotate(0deg) scale(0); opacity: 1; }
  10% { transform: translateY(40px) rotate(45deg) scale(1); opacity: 1; }
  100% { transform: translateY(110vh) rotate(900deg) scale(0.6); opacity: 0; }
}

body.konami-active .hero__title {
  animation: konamiHero 1.2s var(--ease-bounce);
}

@keyframes konamiHero {
  0% { transform: scale(1); }
  30% { transform: scale(1.05) rotate(-1deg); }
  60% { transform: scale(0.98) rotate(0.5deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Selection */
::selection {
  background: var(--accent);
  color: #000;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
