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

:root {
  --bg: #050505;
  --bg-soft: #0a0a0c;
  --ink: #f2f2f0;
  --muted: #8a8a92;
  --accent: #c8ff2e;
  --accent2: #7b5cff;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #050505; }

.accent { color: var(--accent); }

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

/* hide native cursor on fine pointers — custom cursor takes over */
@media (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

/* ============ NOISE OVERLAY ============ */
.noise {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noiseShift 0.4s steps(4) infinite;
}
@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0;
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
.preloader__curtain {
  position: absolute; top: 0; height: 100%; width: 34%;
  background: #0c0c10;
}
.preloader__curtain:nth-child(2) { left: 0; }
.preloader__curtain:nth-child(3) { left: 33%; }
.preloader__curtain:nth-child(4) { left: 66%; width: 34.5%; }
.preloader__inner {
  position: relative; z-index: 2;
  text-align: center;
}
.preloader__counter {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.preloader__counter::after { content: '%'; color: var(--accent); font-size: 0.4em; }
.preloader__label {
  margin-top: 1rem;
  font-size: 0.7rem; letter-spacing: 0.5em;
  color: var(--muted);
}
.preloader__bar {
  margin: 1.5rem auto 0; width: 200px; height: 1px;
  background: #2a2a30; overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
}

/* ============ CURSOR ============ */
.cursor, .cursor-follower {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
}
.cursor-follower {
  width: 42px; height: 42px;
  border: 1px solid rgba(200, 255, 46, 0.5);
  transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}
.cursor-follower.is-hover {
  width: 72px; height: 72px;
  background: rgba(200, 255, 46, 0.12);
  border-color: var(--accent);
}
@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 9500;
}

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9400;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.5rem, 4vw, 4rem);
  mix-blend-mode: difference;
}
.header__logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem; letter-spacing: 0.05em;
}
.header__nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.header__link {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative;
}
.header__link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.header__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.header__link--cta {
  border: 1px solid currentColor;
  padding: 0.55rem 1.2rem; border-radius: 999px;
}
.header__link--cta::after { display: none; }

/* ============ SECTIONS COMMON ============ */
.section { padding: clamp(6rem, 12vw, 11rem) clamp(1.5rem, 4vw, 4rem); position: relative; }
.section__head {
  display: flex; align-items: baseline; gap: 1.2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.section__num {
  font-size: 0.85rem; color: var(--accent);
  font-weight: 500; letter-spacing: 0.2em;
}
.section__num::before { content: '/ '; color: var(--muted); }
.section__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800;
  letter-spacing: 0.04em;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  pointer-events: none;
}
.hero__tag {
  font-size: 0.72rem; letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 2.2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8.8vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; white-space: nowrap; }
.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero__sub {
  margin-top: 2.6rem;
  display: flex; gap: clamp(2rem, 8vw, 7rem); align-items: flex-start; flex-wrap: wrap;
}
.hero__role {
  font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600;
  color: var(--accent);
}
.hero__desc {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: var(--muted); line-height: 1.5;
}
.hero__scroll {
  position: absolute; bottom: 2.2rem; right: clamp(1.5rem, 4vw, 4rem);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.65rem; letter-spacing: 0.4em; color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* split chars */
.char {
  display: inline-block;
  white-space: pre;
  transform: translateY(115%);
  will-change: transform;
}
.word { display: inline-block; overflow: hidden; vertical-align: top; }
.word .word-inner { display: inline-block; transform: translateY(110%); will-change: transform; }

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 1.6rem 0;
  border-top: 1px solid #1a1a20;
  border-bottom: 1px solid #1a1a20;
  background: var(--bg-soft);
}
.marquee__track {
  display: inline-block; white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #3c3c46;
  letter-spacing: 0.06em;
}

/* ============ ABOUT ============ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about__photo-wrap { position: relative; }
.about__photo-frame {
  overflow: hidden; border-radius: 4px;
  transform: rotate(-2deg);
}
.about__photo {
  width: 100%; display: block;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.6s ease, transform 0.6s ease;
  transform: scale(1.05);
}
.about__photo-wrap:hover .about__photo { filter: grayscale(0); transform: scale(1); }
.about__photo-deco {
  position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--accent);
  border-radius: 4px; z-index: -1;
  transform: rotate(-2deg);
}
.about__statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  font-weight: 700; line-height: 1.18;
}
.about__every {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 700; color: var(--accent);
}
.about__desc {
  margin-top: 2rem; max-width: 56ch;
  color: var(--muted); line-height: 1.7;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.about__stats {
  margin-top: 3.5rem;
  display: flex; gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800; line-height: 1;
  display: flex; align-items: baseline;
}
.stat__label {
  margin-top: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

/* ============ SKILLS ============ */
.skills { background: var(--bg-soft); }
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
}
.skill-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  border: 1px solid #1d1d24;
  border-radius: 6px;
  background: #0c0c10;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.4s;
}
.skill-card:hover { border-color: rgba(200, 255, 46, 0.45); }
.skill-card__num {
  font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent);
  margin-bottom: 2.6rem;
}
.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 0.9rem;
}
.skill-card p {
  font-size: 0.88rem; line-height: 1.65; color: var(--muted);
}
.skill-card__glow {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 46, 0.08), transparent 65%);
  transition: opacity 0.4s;
}
.skill-card:hover .skill-card__glow { opacity: 1; }

/* ============ EXPERIENCE ============ */
.experience { position: relative; overflow: hidden; }
.experience__pin {
  height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.section__head--exp { margin-bottom: clamp(2rem, 5vh, 4rem); }
.experience__track {
  display: flex; gap: clamp(1.2rem, 3vw, 2.5rem);
  width: max-content;
  will-change: transform;
}
.exp-card {
  width: clamp(300px, 38vw, 480px);
  padding: clamp(1.8rem, 3vw, 3rem);
  border: 1px solid #1d1d24;
  border-radius: 8px;
  background: #0b0b0f;
  flex-shrink: 0;
}
.exp-card--current { border-color: rgba(200, 255, 46, 0.5); background: linear-gradient(145deg, #11150a, #0b0b0f); }
.exp-card__period {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 1.8rem;
}
.exp-card__role {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700;
}
.exp-card__company { margin-top: 0.5rem; font-size: 1.05rem; color: var(--accent); font-weight: 600; }
.exp-card__meta { margin-top: 0.4rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.exp-card__desc { margin-top: 1.4rem; font-size: 0.9rem; line-height: 1.65; color: var(--muted); }
.exp-card--end {
  display: flex; align-items: center; justify-content: center;
  border-style: dashed; background: transparent;
}
.exp-card__big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800;
  line-height: 1.05; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}

/* ============ CONTACT ============ */
.contact { position: relative; overflow: hidden; min-height: 90svh; display: flex; align-items: center; }
.contact__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0.55;
}
.contact__content { position: relative; z-index: 2; width: 100%; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5.6vw, 5.5rem);
  line-height: 0.98; text-transform: uppercase;
}
.contact__title > span { display: block; overflow: hidden; white-space: nowrap; }
.contact__title--accent { color: var(--accent); }
.contact__email {
  display: inline-block;
  margin-top: 3rem;
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
  transition: color 0.3s;
}
.contact__email:hover { color: var(--accent); }
.contact__links { margin-top: 2.6rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.contact__link {
  font-size: 0.85rem; letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 0.3s;
}
.contact__link:hover { color: var(--accent); }

/* ============ WORK (GitHub) ============ */
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  position: relative; z-index: 1;
}
.work-card {
  display: block;
  padding: 2rem 1.8rem;
  border: 1px solid #1d1d24;
  border-radius: 6px;
  background: #0b0b0f;
  transition: border-color 0.4s;
  will-change: transform;
}
.work-card:hover { border-color: rgba(200, 255, 46, 0.5); }
.work-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.2rem; }
.work-card__type { font-size: 0.65rem; letter-spacing: 0.28em; color: var(--accent); }
.work-card__arrow { color: var(--muted); transition: transform 0.35s, color 0.35s; }
.work-card:hover .work-card__arrow { transform: translate(4px, -4px); color: var(--accent); }
.work-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800;
}
.work-card__desc { margin-top: 0.8rem; font-size: 0.87rem; line-height: 1.6; color: var(--muted); }
.work-card__meta { margin-top: 1.6rem; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.lang-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; }
.work-card--more { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-style: dashed; background: transparent; }
.work-card__big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800;
  color: transparent; -webkit-text-stroke: 2px var(--accent);
  line-height: 1;
}

/* code DNA bar */
.dna { margin-top: clamp(3rem, 6vw, 5rem); position: relative; z-index: 1; }
.dna__label { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--muted); margin-bottom: 1rem; }
.dna__bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.dna__seg { background: var(--c); width: 0; border-radius: 99px; }
.dna__legend { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
.dna__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; margin-right: 0.4rem; }

/* ============ TECH ORBIT ============ */
.orbit { background: var(--bg-soft); overflow: hidden; }
.orbit__stage { position: relative; height: clamp(420px, 64vh, 640px); }
.orbit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.orbit__canvas:active { cursor: grabbing; }
.orbit__hint {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.35em; color: var(--muted);
  pointer-events: none;
}

/* ============ PLAYGROUND ============ */
.playground { position: relative; padding: clamp(4rem, 8vw, 7rem) 0 0; }
.playground .section__head--play { padding: 0 clamp(1.5rem, 4vw, 4rem); }
.playground__canvas { display: block; width: 100%; height: 70vh; touch-action: pan-y; }
.playground__hint {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.3em; color: var(--muted);
  pointer-events: none; white-space: nowrap;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translate(-50%, 150%);
  z-index: 9700;
  background: #11150a;
  border: 1px solid var(--accent);
  color: var(--ink);
  padding: 0.9rem 1.6rem; border-radius: 99px;
  font-size: 0.85rem; letter-spacing: 0.05em;
  pointer-events: none;
  box-shadow: 0 8px 40px rgba(200, 255, 46, 0.25);
}

/* ============ TERMINAL ============ */
.terminal {
  position: fixed; left: 50%; bottom: 0;
  transform: translate(-50%, 110%);
  width: min(680px, 94vw);
  z-index: 9750;
  background: rgba(8, 8, 11, 0.96);
  border: 1px solid #2a2a32; border-bottom: none;
  border-radius: 10px 10px 0 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}
.terminal__bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.7rem 1rem; border-bottom: 1px solid #1d1d24; }
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: #2e2e36; }
.terminal__dot:nth-child(1) { background: #ff5f57; }
.terminal__dot:nth-child(2) { background: #febc2e; }
.terminal__dot:nth-child(3) { background: #28c840; }
.terminal__title { margin-left: 0.6rem; color: var(--muted); font-size: 0.72rem; }
.terminal__out { padding: 0.9rem 1rem 0.3rem; max-height: 38vh; overflow-y: auto; color: #b9b9c2; line-height: 1.65; white-space: pre-wrap; }
.terminal__out .t-accent { color: var(--accent); }
.terminal__line { display: flex; align-items: center; padding: 0.4rem 1rem 0.9rem; }
.terminal__prompt { color: var(--accent); }
.terminal__input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--ink); font: inherit; caret-color: var(--accent);
}

/* ============ MATRIX RAIN ============ */
.matrix {
  position: fixed; inset: 0; z-index: 9600;
  width: 100%; height: 100%;
  pointer-events: none; opacity: 0; display: none;
}

/* ============ PARTY MODE ============ */
@keyframes partyHue {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
/* filter on `main` would create a containing block and break the
   position:fixed pinning of the experience section — hue-rotate
   individual sections and the exp cards instead */
body.party .hero, body.party .about, body.party .skills, body.party .work,
body.party .orbit, body.party .playground, body.party .contact,
body.party .marquee, body.party .footer, body.party .exp-card,
body.party .section__head--exp { animation: partyHue 2.4s linear infinite; }
.confetti-bit {
  position: fixed; top: 50vh; left: 50vw;
  width: 10px; height: 14px; z-index: 9650;
  pointer-events: none;
}

/* footer hint */
.footer__hint kbd {
  border: 1px solid #2a2a32; border-radius: 4px; padding: 0 0.35em;
  font-family: inherit; color: var(--accent);
}
@media (pointer: coarse) { .footer__hint { display: none; } }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid #1a1a20; }
.footer__marquee { border: none; background: transparent; padding: 2.2rem 0; }
.footer__marquee .marquee__track span { -webkit-text-stroke: 1px #2a2a32; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.6rem clamp(1.5rem, 4vw, 4rem) 2.2rem;
  font-size: 0.7rem; letter-spacing: 0.22em; color: var(--muted);
}

/* ============ EXTRA ANIMATION LAYERS ============ */
/* page-wipe transition */
.wipe {
  position: fixed; inset: 0; z-index: 9800;
  display: flex; pointer-events: none;
}
.wipe span {
  flex: 1; height: 100%;
  background: #0c0c10;
  border-right: 1px solid #16161c;
  visibility: hidden;
}

/* animated accent line in section heads */
.head-line {
  flex: 1; align-self: center;
  height: 1px; margin-left: 1.4rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
  transform: scaleX(0);
}

/* floating gradient orbs */
.orb {
  position: absolute;
  top: 30%; left: 55%;
  width: clamp(260px, 36vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 46, 0.5), transparent 70%);
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.orb--violet { background: radial-gradient(circle, rgba(123, 92, 255, 0.6), transparent 70%); left: 15%; top: 50%; }
.about__grid, .skills__grid { position: relative; z-index: 1; }
.about, .skills { overflow: hidden; }

/* hero letters are interactive */
.hero__title { pointer-events: auto; }
.hero__line .char { cursor: none; }

/* email letter wave */
.email-char { display: inline-block; white-space: pre; will-change: transform; }

/* experience cards lift on hover */
.exp-card { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s; }
.exp-card:hover { transform: translateY(-10px); border-color: rgba(200, 255, 46, 0.55); }
.exp-card__period { will-change: transform; }

/* skill cards: gradient sweep + arrow on hover */
.skill-card::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.skill-card:hover::before { left: 100%; }
.skill-card::after {
  content: '↗';
  position: absolute; top: 1.4rem; right: 1.4rem;
  color: var(--accent); font-size: 1.1rem;
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity 0.35s, transform 0.35s;
}
.skill-card:hover::after { opacity: 1; transform: translate(0, 0); }

/* logo glitch on hover */
@keyframes logoGlitch {
  0%, 100% { text-shadow: none; transform: translate(0); }
  20% { text-shadow: 2px 0 var(--accent), -2px 0 var(--accent2); transform: translate(-1px, 1px); }
  40% { text-shadow: -3px 0 var(--accent2), 3px 0 var(--accent); transform: translate(1px, -1px); }
  60% { text-shadow: 2px 0 var(--accent), -2px 0 var(--accent2); transform: translate(-1px, 0); }
  80% { text-shadow: -1px 0 var(--accent2), 1px 0 var(--accent); transform: translate(1px, 1px); }
}
.header__logo:hover { animation: logoGlitch 0.45s steps(2) infinite; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo-wrap { max-width: 340px; }
  .header__nav .header__link:not(.header__link--cta) { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .noise, .hero__scroll-line { animation: none; }
  .char, .word .word-inner { transform: none; }
}
