/* ═══ TOKENS & RESET ═══ */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --text-xs: clamp(0.68rem, 0.63rem + 0.25vw, 0.78rem);
  --text-sm: clamp(0.84rem, 0.78rem + 0.3vw, 0.96rem);
  --text-base: clamp(0.98rem, 0.9rem + 0.4vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1rem + 0.75vw, 1.4rem);
  --text-xl: clamp(1.3rem, 1.05rem + 1.25vw, 1.85rem);
  --text-2xl: clamp(1.65rem, 1.1rem + 2.75vw, 2.9rem);
  --text-3xl: clamp(2.1rem, 1.3rem + 4vw, 4.6rem);
  --text-4xl: clamp(2.8rem, 1.6rem + 6.5vw, 7.5rem);
}
[data-theme="dark"] {
  --bg: oklch(11% 0.01 128);
  --bg-2: oklch(15% 0.016 128);
  --bg-3: oklch(20% 0.022 128);
  --border: oklch(100% 0 0 / 0.07);
  --text: oklch(95% 0.008 128);
  --text-muted: oklch(58% 0.015 128);
  --accent: oklch(86% 0.28 128);
  --accent-2: oklch(74% 0.22 125);
  --accent-dim: oklch(86% 0.28 128 / 0.11);
  --glow: oklch(86% 0.28 128 / 0.3);
  --bg-card-hover: oklch(17% 0.019 128);
  --available: oklch(78% 0.18 145);
}
/* [data-theme="light"] {
        --bg: oklch(98% 0.005 135);
        --bg-2: oklch(94% 0.01 135);
        --bg-3: oklch(90% 0.015 135);
        --border: oklch(0% 0 0 / 0.09);
        --text: oklch(15% 0.015 135);
        --text-muted: oklch(48% 0.015 135);
        --accent: oklch(62% 0.21 135);
        --accent-2: oklch(52% 0.19 132);
        --accent-dim: oklch(62% 0.21 135 / 0.1);
        --glow: oklch(62% 0.21 135 / 0.22);
        --bg-card-hover: oklch(92% 0.015 135);
        --available: oklch(55% 0.18 150);
      } */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* ── NOISE BACKGROUND (static SVG, GPU-friendly) ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  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%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.038;
  pointer-events: none;
  z-index: -1;
  will-change: auto;
}
/* Subtle dot grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle,
    oklch(100% 0 0 / 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}
[data-theme="light"] body::before {
  opacity: 0.025;
}
[data-theme="light"] body::after {
  background-image: radial-gradient(
    circle,
    oklch(0% 0 0 / 0.055) 1px,
    transparent 1px
  );
}

/* Scroll progress — needs explicit width */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 8px var(--glow);
  will-change: transform;
}

/* Mesh bg */
.mesh-bg {
  background:
    radial-gradient(
      ellipse 58% 48% at 12% 22%,
      oklch(86% 0.28 128 / 0.14) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 48% 58% at 88% 82%,
      oklch(74% 0.22 125 / 0.11) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 70% 38% at 55% 8%,
      oklch(55% 0.14 160 / 0.07) 0%,
      transparent 60%
    ),
    var(--bg);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 99px;
}

/* ── CUSTOM CURSOR ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  transition: transform 0.08s var(--ease-out-expo);
  will-change: left, top;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent);
  opacity: 0.6;
  transition:
    width 0.35s var(--ease-out-expo),
    height 0.35s var(--ease-out-expo),
    opacity 0.35s,
    background 0.35s;
  will-change: left, top;
}
.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  opacity: 0.85;
  background: var(--accent-dim);
}
.cursor-ring.clicking {
  width: 26px;
  height: 26px;
  opacity: 1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: oklch(from var(--bg) l c h/.97);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  display: flex;
}
.mobile-nav a {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.5rem);
  letter-spacing: -0.04em;
  color: var(--text-muted);
  text-decoration: none;
  transition:
    color 0.2s,
    transform 0.2s var(--ease-spring);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  transform: translateX(8px);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition:
    background 0.5s var(--ease-out-expo),
    border-color 0.5s,
    padding 0.4s var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  padding: 0.85rem 0;
  background: oklch(from var(--bg-2) l c h/.72);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo .dot {
  color: var(--accent);
  font-size: 1.5em;
  line-height: 0;
}

.avail-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  background: oklch(72% 0.2 142/0.09);
  border: 1px solid oklch(72% 0.2 142/0.25);
  border-radius: 99px;
  flex-shrink: 0;
}
.avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--available);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}
.avail-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--available);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
  outline: none;
}
.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: oklch(10% 0.018 38);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: none;
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s;
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow);
  outline: none;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  cursor: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.25s var(--ease-spring);
}
.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: none;
  border: none;
  cursor: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s,
    transform 0.2s var(--ease-spring);
}
.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--accent);
  transform: translateX(4px);
  outline: none;
}

.theme-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.3s var(--ease-spring);
}
.theme-btn:hover,
.theme-btn:focus {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(20deg) scale(1.05);
  outline: none;
}

.nav-cta {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease-out-expo),
    transform 0.5s var(--ease-out-expo);
}
.nav-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 99px;
  transition:
    transform 0.3s var(--ease-out-expo),
    opacity 0.3s,
    background 0.2s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--accent);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--accent);
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-word {
  position: absolute;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(9rem, 25vw, 26rem);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px oklch(100% 0 0/0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
}
[data-theme="light"] .hero-bg-word {
  -webkit-text-stroke: 1px oklch(0% 0 0/0.05);
}

/* ── HERO DECO — animated ── */
.hero-deco {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 38vw, 500px);
  pointer-events: none;
  user-select: none;
}
[data-theme="light"] .hero-deco .deco-ring {
  opacity: 0.25;
}
/* Individual animated pieces */
.deco-orbit-1 {
  transform-origin: 250px 250px;
  animation: decoOrbit1 18s linear infinite;
}
.deco-orbit-2 {
  transform-origin: 250px 250px;
  animation: decoOrbit2 28s linear infinite reverse;
}
.deco-orbit-3 {
  transform-origin: 250px 250px;
  animation: decoOrbit3 12s ease-in-out infinite;
}
.deco-dot-1 {
  animation: decoDot 4s ease-in-out infinite;
}
.deco-dot-2 {
  animation: decoDot 4s ease-in-out infinite 0.8s;
}
.deco-dot-3 {
  animation: decoDot 4s ease-in-out infinite 1.6s;
}
.deco-dot-4 {
  animation: decoDot 4s ease-in-out infinite 2.4s;
}
@keyframes decoOrbit1 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes decoOrbit2 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes decoOrbit3 {
  0%,
  100% {
    transform: rotate(-6deg) scale(1);
  }
  50% {
    transform: rotate(6deg) scale(1.03);
  }
}
@keyframes decoPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}
@keyframes decoDot {
  0%,
  100% {
    opacity: 0.4;
    r: 3;
  }
  50% {
    opacity: 1;
    r: 5;
  }
}

.hero-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 9.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--text);
  margin-bottom: 1.3rem;
}
.name-line {
  display: block;
  overflow: hidden;
}
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}
.char.in {
  opacity: 1;
  transform: translateY(0);
}
.accent-name .char {
  color: var(--accent);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}
.eyebrow-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid oklch(from var(--accent) l c h/.22);
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
.eyebrow-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-role-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.role-static {
  font-size: var(--text-lg);
  color: var(--text-muted);
  font-weight: 300;
}
.role-typed {
  font-size: var(--text-lg);
  color: var(--text);
  font-weight: 400;
  font-style: italic;
}
.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-desc {
  max-width: 500px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 2.5rem;
  font-size: var(--text-base);
}
.hero-desc strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.magnetic-wrap {
  display: inline-block;
  position: relative;
  transition: transform 0.3s var(--ease-spring);
}

.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4.5vw, 3.5rem);
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}
.stat-num em {
  color: var(--accent);
  font-style: normal;
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%,
  100% {
    transform: scaleY(1) translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(0.65) translateY(6px);
    opacity: 1;
  }
}

/* ── MARQUEE ── */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: roll 28s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0 1.75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes roll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

/* ── SECTIONS ── */
section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.ey-line {
  width: 1.4rem;
  height: 1px;
  background: var(--accent);
}
.ey-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: var(--text-3xl);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 0.9rem;
}
.section-sub {
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.72;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-top: 3.5rem;
}
.about-visual {
  position: relative;
}

.code-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
}
.code-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.cc-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.cc-r {
  background: oklch(65% 0.24 22);
}
.cc-y {
  background: oklch(80% 0.18 75);
}
.cc-g {
  background: oklch(70% 0.2 142);
}
.cc-title {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.code-body {
  padding: 1.35rem 1.25rem;
  font-size: 0.79rem;
  line-height: 1.9;
  color: var(--text-muted);
}
.code-line {
  display: flex;
  gap: 1rem;
}
.code-ln {
  width: 1.2rem;
  color: oklch(35% 0.01 0);
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}
.kw {
  color: oklch(68% 0.2 300);
}
.fn {
  color: oklch(78% 0.17 55);
}
.str {
  color: oklch(72% 0.2 142);
}
.cm {
  color: oklch(42% 0.01 0);
  font-style: italic;
}
.prop {
  color: oklch(65% 0.18 210);
}

.about-float {
  position: absolute;
  background: oklch(from var(--bg-2) l c h/.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.about-float.f-tr {
  top: 1.25rem;
  right: -1.25rem;
}
.about-float.f-bl {
  bottom: 1.25rem;
  left: -1.25rem;
}
.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid oklch(from var(--accent) l c h/.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.float-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.float-val {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.float-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0.5rem;
}
.about-bio {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 1.25rem;
}
.about-bio strong {
  color: var(--text);
  font-weight: 500;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.pillar-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent-dim);
  border: 1px solid oklch(from var(--accent) l c h/.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pillar-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.pillar-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── SKILLS BENTO ── */
.skills-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 0.85rem;
  margin-top: 3.5rem;
}
.skill-tile {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s;
}
.skill-tile:hover {
  border-color: oklch(from var(--accent) l c h/.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px oklch(0% 0 0/0.25);
}
.skill-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    var(--accent-dim),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.skill-tile:hover::before {
  opacity: 1;
}
.st-wide {
  grid-column: span 8;
}
.st-narrow {
  grid-column: span 4;
}
.st-half {
  grid-column: span 6;
}
.st-third {
  grid-column: span 4;
}
.st-accent {
  background:
    radial-gradient(
      ellipse 80% 60% at 10% 30%,
      var(--accent-dim) 0%,
      transparent 60%
    ),
    var(--bg-2);
}
.st-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 5.5rem);
  letter-spacing: -0.05em;
  color: oklch(from var(--accent) l c h/.14);
  line-height: 1;
  position: absolute;
  right: 1.25rem;
  top: 0.85rem;
  user-select: none;
}
.st-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.st-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.st-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 38ch;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}
.stag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  border: 1px solid oklch(from var(--accent) l c h/.18);
}

/* ── PROJECTS ── */
.proj-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.proj-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  padding: 0.38rem 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: none;
  transition: all 0.2s var(--ease-out-expo);
}
.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  outline: none;
}

.featured-project {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 360px;
  margin-bottom: 1rem;
  cursor: none;
  transition:
    border-color 0.35s,
    box-shadow 0.5s,
    transform 0.45s var(--ease-spring),
    opacity 0.4s;
}
.featured-project:hover {
  border-color: oklch(from var(--accent) l c h/.35);
  box-shadow: 0 32px 80px oklch(0% 0 0/0.35);
  transform: translateY(-4px);
}
.featured-project.filtered-out {
  opacity: 0.18;
  pointer-events: none;
  filter: grayscale(0.9);
}
.featured-content {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.featured-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(10% 0.018 38);
  background: var(--accent);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
}
.featured-type {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.featured-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
}
.featured-desc {
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 1.5rem;
  max-width: 45ch;
  font-size: var(--text-base);
}

.featured-visual {
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
}
.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease-out-expo),
    opacity 0.4s;
  opacity: 0.65;
}
.featured-project:hover .featured-visual img {
  transform: scale(1.04);
  opacity: 0.85;
}
.featured-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}
.featured-visual-placeholder svg {
  width: 100%;
  height: auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.project-card {
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: none;
  transition:
    transform 0.45s var(--ease-spring),
    border-color 0.3s,
    box-shadow 0.45s,
    opacity 0.4s,
    filter 0.4s;
}
.project-card.filtered-out {
  opacity: 0.18;
  filter: grayscale(0.9);
  pointer-events: none;
}
.project-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: oklch(from var(--accent) l c h/.32);
  box-shadow: 0 28px 70px oklch(0% 0 0/0.38);
}
.project-card.s7 {
  grid-column: span 7;
}
.project-card.s5 {
  grid-column: span 5;
}
.project-card.s4 {
  grid-column: span 4;
}
.project-card.s6 {
  grid-column: span 6;
}
.project-card.tall {
  grid-row: span 2;
}

.proj-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  transition:
    opacity 0.5s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}
.project-card:hover .proj-img {
  opacity: 0.4;
  transform: scale(1.05);
}

.project-glow {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  transition: opacity 0.5s;
  pointer-events: none;
}
.project-card:hover .project-glow {
  opacity: 0.22;
}

.proj-content {
  position: absolute;
  inset: 0;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    oklch(from var(--bg-2) l c h/.97) 0%,
    oklch(from var(--bg-2) l c h/.55) 50%,
    transparent 100%
  );
}
.proj-type {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.proj-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.55rem;
}
.proj-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 38ch;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
}
.project-card:hover .proj-desc {
  opacity: 1;
  transform: none;
}
.proj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}
.chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.proj-links {
  display: flex;
  gap: 0.6rem;
}
.plink {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  cursor: none;
  transition: all 0.2s;
}
.plink.p {
  background: var(--accent);
  color: oklch(10% 0.018 38);
}
.plink.p:hover,
.plink.p:focus {
  box-shadow: 0 4px 16px var(--glow);
  outline: none;
}
.plink.s {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
}
.plink.s:hover,
.plink.s:focus {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

/* ── UNIFIED TIMELINE (experience + education) ── */
.timeline-section {
  margin-top: 3.5rem;
}
.unified-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0 0;
}
.unified-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: var(--border);
  z-index: 0;
}
.tl-row {
  display: contents;
}
.tl-item {
  position: relative;
  padding-bottom: 3rem;
}
.tl-item.left {
  grid-column: 1;
  text-align: right;
  padding-right: 2.5rem;
}
.tl-item.right {
  grid-column: 3;
  text-align: left;
  padding-left: 2.5rem;
}
.tl-node {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  z-index: 1;
  position: relative;
  height: 100%;
}
.tl-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  transition:
    background 0.3s,
    box-shadow 0.3s;
  margin-top: 4px;
}
.tl-row:hover .tl-node-dot {
  background: var(--accent);
  box-shadow: 0 0 14px var(--glow);
}
.tl-cat {
  position: absolute;
  top: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--bg);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.tl-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.tl-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.tl-where {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.tl-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.tl-headers {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  margin-bottom: 2rem;
  gap: 0;
}
.tl-header-left {
  grid-column: 1;
  text-align: right;
  padding-right: 2.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tl-header-right {
  grid-column: 3;
  text-align: left;
  padding-left: 2.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tl-header-mid {
  grid-column: 2;
}

/* ── CONTACT ── */
.contact-shell {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  overflow: hidden;
}
.contact-top {
  padding: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-display-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 9rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px oklch(from var(--accent) l c h/.22);
  position: absolute;
  bottom: -0.12em;
  right: clamp(1.5rem, 4vw, 3.5rem);
  user-select: none;
  pointer-events: none;
}
[data-theme="light"] .contact-display-text {
  -webkit-text-stroke: 1px oklch(from var(--accent) l c h/.15);
}
.contact-headline {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: var(--text-3xl);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.contact-headline .hi {
  color: var(--accent);
}
.contact-sub {
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.72;
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-left {
  padding: clamp(2rem, 4vw, 3rem);
  border-right: 1px solid var(--border);
}
.contact-right {
  padding: clamp(2rem, 4vw, 3rem);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-link-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.clink {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: var(--text-sm);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-out-expo);
  flex: 1;
}
.clink:hover,
.clink:focus {
  background: var(--bg-3);
  border-color: var(--border);
  color: var(--text);
  transform: translateX(4px);
  outline: none;
}
.clink-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid oklch(from var(--accent) l c h/.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}
.clink-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.clink:hover .clink-icon,
.clink:focus .clink-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Copy button styles */
.copy-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-muted);
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s var(--ease-out-expo);
  padding: 0;
}
.contact-link-wrapper:hover .copy-btn {
  opacity: 1;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.copy-btn.copied {
  border-color: var(--available);
  color: var(--available);
  background: oklch(78% 0.18 145 / 0.1);
  opacity: 1;
}
.copy-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.flabel {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.finput,
.ftextarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: var(--text-sm);
  width: 100%;
  cursor: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.finput:focus,
.ftextarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.ftextarea {
  resize: vertical;
  min-height: 110px;
}
::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.form-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  padding: 0.5rem 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.form-status.visible {
  opacity: 1;
}
.form-status.success {
  color: var(--available);
}
.form-status.error {
  color: oklch(65% 0.24 22);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text);
  z-index: 10002;
  transform: translateY(100px);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-spring),
    opacity 0.4s;
  box-shadow: 0 10px 40px oklch(0% 0 0/0.3);
}
.toast.visible {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  margin-right: 0.5rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
}
.footer-marquee {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1.25rem 0;
}
.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: roll 22s linear infinite;
}
.fmq-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--text-muted);
  white-space: nowrap;
}
.fmq-item em {
  color: var(--accent);
  font-style: normal;
}
.fmq-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: oklch(from var(--accent) l c h/.4);
  flex-shrink: 0;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem clamp(1.2rem, 5vw, 3rem);
  max-width: 1180px;
  margin: 0 auto;
}
.foot-copy {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.foot-socials {
  display: flex;
  gap: 0.6rem;
}
.soc {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  cursor: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.25s var(--ease-spring);
}
.soc:hover,
.soc:focus {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  outline: none;
}
.soc svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── REVEAL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo);
}
[data-reveal].on {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-visual {
    min-height: 200px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .st-wide {
    grid-column: span 12;
  }
  .st-narrow {
    grid-column: span 12;
  }
  .st-half {
    grid-column: span 6;
  }
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-float.f-tr {
    right: 0;
  }
  .about-float.f-bl {
    left: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .st-half {
    grid-column: span 12;
  }
  .st-third {
    grid-column: span 12;
  }
  .unified-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .unified-timeline::before {
    left: 16px;
    transform: none;
  }
  .tl-item.left,
  .tl-item.right {
    grid-column: 1;
    text-align: left;
    padding-left: 2.5rem;
    padding-right: 0;
  }
  .tl-node {
    grid-column: 1;
    position: absolute;
    left: 0;
    top: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .tl-node-dot {
    margin: 0;
  }
  .tl-item {
    position: relative;
    padding-left: 2.5rem !important;
  }
  .tl-row {
    display: block;
    position: relative;
    padding-left: 0;
  }
  .tl-headers {
    grid-template-columns: 1fr;
  }
  .tl-header-left,
  .tl-header-right {
    grid-column: 1;
    text-align: left;
    padding-left: 2.5rem;
    padding-right: 0;
  }
  .tl-header-mid {
    display: none;
  }
  .copy-btn {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .nav-links,
  .avail-badge {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-bg-word,
  .hero-deco {
    display: none;
  }
  body {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .project-card.s7,
  .project-card.s5,
  .project-card.s4,
  .project-card.s6 {
    grid-column: span 1;
  }
  .project-card.tall {
    grid-row: span 1;
  }
  .btn-primary,
  .btn-outline,
  .btn-ghost,
  .theme-btn,
  .hamburger,
  .filter-btn,
  .plink,
  .project-card,
  .featured-project,
  .skill-tile,
  .clink,
  .copy-btn,
  .soc,
  .finput,
  .ftextarea {
    cursor: pointer;
  }
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .contact-top {
    padding: 1.75rem 1.5rem;
  }
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
