/* ═══════════════════════════════════════════
   CRACKARTIS — Full Creative Portfolio
   Glitch · Grain · Movement · Interactive
═══════════════════════════════════════════ */

:root {
  --bg: #f8f7f4;
  --bg-dark: #0d0d0d;
  --text: #0d0d0d;
  --text-light: #f8f7f4;
  --muted: #777;
  --accent: #00d4ff;
  --glitch-r: #ff0040;
  --glitch-c: #00d4ff;

  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

[data-theme="dark"] {
  --bg: #0d0d0d;
  --text: #f8f7f4;
  --muted: #666;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; cursor: none; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}
a, button { cursor: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.accent { color: var(--accent); }

/* ═══════════════════════════════════════════
   LOADER
═══════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__text {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--text-light);
  position: relative;
  animation: loader-glitch 0.3s infinite;
}

.loader__text::before,
.loader__text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader__text::before {
  color: var(--glitch-r);
  animation: glitch-r 0.2s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.loader__text::after {
  color: var(--glitch-c);
  animation: glitch-c 0.15s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes loader-glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor__ring {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transition: transform 0.15s ease-out, opacity 0.15s;
}

.cursor.hover .cursor__ring {
  transform: scale(1.5);
  opacity: 0.5;
}

.cursor.click .cursor__dot {
  transform: translate(-50%, -50%) scale(0.5);
}

@media (max-width: 768px) {
  .cursor { display: none; }
  html, body, a, button { cursor: auto; }
}

/* ═══════════════════════════════════════════
   GRAIN OVERLAY
═══════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.5s steps(1) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -1%); }
  20% { transform: translate(1%, 1%); }
  30% { transform: translate(-1%, 1%); }
  40% { transform: translate(1%, -1%); }
  50% { transform: translate(-1%, 0); }
  60% { transform: translate(1%, 0); }
  70% { transform: translate(0, 1%); }
  80% { transform: translate(0, -1%); }
  90% { transform: translate(1%, 1%); }
}

/* ═══════════════════════════════════════════
   GLITCH TEXT EFFECT
═══════════════════════════════════════════ */
.glitch-text,
.glitch-hover {
  position: relative;
}

.glitch-text::before,
.glitch-text::after,
.glitch-hover::before,
.glitch-hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch-text::before { color: var(--glitch-r); animation: glitch-r 0.5s infinite linear; clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); opacity: 1; }
.glitch-text::after { color: var(--glitch-c); animation: glitch-c 0.3s infinite linear; clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); opacity: 1; }

.glitch-hover::before,
.glitch-hover::after { opacity: 0; transition: opacity 0.1s; }
.glitch-hover:hover::before { opacity: 0.8; animation: glitch-r 0.2s infinite; }
.glitch-hover:hover::after { opacity: 0.8; animation: glitch-c 0.15s infinite; }

@keyframes glitch-r {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-4px, 2px); }
  40% { transform: translate(4px, -2px); }
  60% { transform: translate(-3px, -1px); }
  80% { transform: translate(3px, 1px); }
}

@keyframes glitch-c {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(3px, -3px); }
  50% { transform: translate(-3px, 3px); }
  75% { transform: translate(2px, 2px); }
}

/* Scramble effect */
.scramble {
  display: inline-block;
}

.scramble.scrambling {
  animation: scramble-shake 0.1s infinite;
}

@keyframes scramble-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-1px); }
  75% { transform: translateX(1px); }
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  mix-blend-mode: difference;
  color: #fff;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.nav__center { display: flex; gap: 2.5rem; }

.nav__center a {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  transition: opacity 0.3s;
}

.nav__center a::before {
  content: attr(data-hover);
  position: absolute;
  right: calc(100% + 0.5rem);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav__center a:hover::before { opacity: 0.5; }

.nav__theme { overflow: hidden; height: 1.25rem; }

.theme-switch {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  transition: transform 0.3s;
}

[data-theme="dark"] .theme-switch { transform: translateY(-50%); }

@media (max-width: 768px) {
  .nav__center { display: none; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__line {
  position: absolute;
  background: var(--accent);
  opacity: 0.4;
  transition: transform 0.1s ease-out;
}

.hero__line--1 { width: 2px; height: 100%; left: 20%; animation: line-pulse 4s ease-in-out infinite; }
.hero__line--2 { width: 100%; height: 2px; top: 30%; animation: line-pulse 5s ease-in-out infinite 1s; }
.hero__line--3 { width: 2px; height: 60%; right: 15%; bottom: 0; animation: line-pulse 6s ease-in-out infinite 2s; }

.hero__circle {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: min(400px, 40vw);
  height: min(400px, 40vw);
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: rotate 30s linear infinite;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero__circle::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: rotate 20s linear infinite reverse;
}

@keyframes line-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

@keyframes rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__intro { display: flex; gap: 2rem; margin-bottom: 2rem; }

.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__name {
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero__name-line { display: block; }

.hero__bio {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  border: 1px solid var(--text);
  transition: all 0.3s;
}

.hero__cta:hover {
  background: var(--text);
  color: var(--bg);
}

.hero__cta:hover .hero__cta-arrow { transform: translateX(4px); }

.hero__cta--secondary { border-color: var(--muted); color: var(--muted); }
.hero__cta--secondary:hover { background: var(--muted); }

.hero__cta-arrow { transition: transform 0.3s; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.5rem, 5vw, 4rem);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-line {
  width: 50px;
  height: 1px;
  background: var(--accent);
  animation: scroll-pulse 2s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.4); }
}

.hero__coordinates {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

@media (max-width: 768px) {
  .hero__circle { display: none; }
  .hero__coordinates { display: none; }
}

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee__content {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marquee__content span {
  flex-shrink: 0;
}

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

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

.section--art,
.section--contact {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section--about {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.section__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.label-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.label-line {
  width: 60px;
  height: 1px;
  background: var(--muted);
}

.label-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section__title--huge { font-size: clamp(3rem, 10vw, 8rem); }

.section__text {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   CODE SECTION
═══════════════════════════════════════════ */
.section--code { border-top: 1px solid rgba(128,128,128,0.2); }

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 968px) {
  .section__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.projects-list { display: flex; flex-direction: column; gap: 1.5rem; }

.project-card {
  border: 1px solid rgba(128,128,128,0.2);
  transition: border-color 0.3s, transform 0.3s;
}

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

.project-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.project-card__visual {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

.project-visual { position: relative; }

.project-visual__text {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.project-visual__scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 212, 255, 0.5);
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0% { top: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.project-card__info { padding: 2rem; }

.project-card__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-type,
.project-year {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-card__desc {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-card__tech span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(128,128,128,0.3);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
}

.project-card__link:hover .link-arrow { transform: translate(3px, -3px); }
.link-arrow { transition: transform 0.3s; }

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.3s;
}

.github-link:hover { color: var(--accent); }
.github-link__arrow { transition: transform 0.3s; }
.github-link:hover .github-link__arrow { transform: translate(3px, -3px); }

/* ═══════════════════════════════════════════
   ART SECTION
═══════════════════════════════════════════ */
.art-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.art-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.filter {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}

.filter:hover,
.filter.active {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: #111;
  position: relative;
  overflow: hidden;
}

.gallery-item__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.gallery-item__placeholder span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: #333;
  text-transform: uppercase;
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.1);
}

.gallery-item::before,
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item::before {
  background: linear-gradient(transparent 0%, rgba(0, 212, 255, 0.1) 50%, transparent 100%);
  transform: translateY(-100%);
}

.gallery-item:hover::before {
  opacity: 1;
  animation: scan-down 0.8s ease-out;
}

@keyframes scan-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

.gallery-item::after {
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.1) 2px, rgba(0, 0, 0, 0.1) 4px);
}

.gallery-item:hover::after { opacity: 1; }

.gallery-item__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item__info { transform: translateY(0); }

.gallery-item__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-item__type {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.instagram-link:hover { color: var(--accent); }
.instagram-link:hover .link-arrow { transform: translate(3px, -3px); }

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  transition: color 0.3s;
}

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

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox__info {
  margin-top: 1.5rem;
  text-align: center;
  color: #fff;
}

.lightbox__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.lightbox__type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 968px) {
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.manifeste-text {
  font-size: 1.125rem;
  line-height: 2;
}

.manifeste-text p {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  padding: 1.5rem;
  border: 1px solid rgba(128,128,128,0.2);
  transition: border-color 0.3s;
}

.stat:hover { border-color: var(--accent); }

.stat__number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   PRO SECTION
═══════════════════════════════════════════ */
.section--pro { border-top: 1px solid rgba(128,128,128,0.2); }

.pro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 968px) {
  .pro-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.pro-intro { margin-bottom: 2rem; }

.experiences { display: flex; flex-direction: column; gap: 0; }

.exp {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

.exp__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
}

.exp__dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  background: var(--bg);
}

.exp__dot--active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.exp__line {
  flex: 1;
  width: 1px;
  background: rgba(128,128,128,0.3);
  margin-top: 0.5rem;
}

.exp__date {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.exp__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.exp__role {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.exp__location {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.exp__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: flex-start;
}

.skill {
  font-size: calc(var(--size, 1) * 0.875rem);
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(128,128,128,0.3);
  transition: all 0.3s;
}

.skill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.section--contact {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content { text-align: center; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 1rem;
}

.contact-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-email {
  display: block;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.contact-email:hover { color: var(--accent); }

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.contact-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(128,128,128,0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__sep { margin: 0 0.5rem; color: var(--accent); }

.easter-egg {
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s;
}

.easter-egg:hover {
  color: var(--accent);
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════
   EASTER EGG OVERLAY
═══════════════════════════════════════════ */
.easter-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.easter-overlay.active {
  opacity: 1;
  visibility: visible;
}

.easter-content {
  text-align: center;
  color: var(--text-light);
}

.ascii-art {
  font-family: var(--font-mono);
  font-size: clamp(0.4rem, 1.5vw, 0.75rem);
  color: var(--accent);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.easter-code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1rem;
}

.easter-close {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.easter-close:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .glitch-text::before, .glitch-text::after,
  .glitch-hover::before, .glitch-hover::after { display: none; }
  .grain { display: none; }
  .loader { display: none; }
}
