/* ============================================
   ZOHREH GHOLAMI — PORTFOLIO
   css/style.css
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #F8F5F0;
  --magenta: #E8186D;
  --cyan: #00D4C8;
  --dark: #080808;
  --mid: #0D0D0D;
  --card: #111111;
}

html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--white); font-family: 'Nunito Sans', sans-serif; font-weight: 300; overflow-x: hidden; cursor: none; }

/* CURSOR */
#cur { position: fixed; width: 8px; height: 8px; background: var(--white); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform .2s, background .2s; }
#cur-ring { position: fixed; width: 32px; height: 32px; border: 1px solid rgba(248,245,240,0.3); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .3s, height .3s; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 1.8rem 3.5rem; display: flex; justify-content: flex-end; align-items: center; transition: background .4s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
nav.scrolled { background: rgba(8,8,8,0.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 1.2rem 3.5rem; border-bottom-color: rgba(248,245,240,0.06); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-family: 'Nunito Sans', sans-serif; font-weight: 400; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(248,245,240,0.78); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }

/* SOUND TOGGLE */
#sound-btn { position: fixed; bottom: 2.5rem; right: 2.5rem; z-index: 300; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(248,245,240,0.15); background: rgba(8,8,8,0.5); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; cursor: none; transition: border-color .2s, transform .2s; }
#sound-btn:hover { border-color: rgba(248,245,240,0.4); transform: scale(1.08); }
#sound-btn svg { width: 18px; height: 18px; }
.sw { transition: opacity .3s; }
#sound-btn.muted .sw { opacity: 0; }
#sound-btn.muted .ml { opacity: 1; }
.ml { opacity: 0; transition: opacity .3s; }

/* LIGHTBOX */
#lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.95); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
#lightbox.open { display: flex; }
#lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(248,245,240,0.2); background: transparent; color: rgba(248,245,240,0.7); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
#lightbox-close:hover { border-color: var(--magenta); color: var(--magenta); }
#lightbox-frame { width: 100%; max-width: 1100px; height: 80vh; border: none; background: #000; }
#lightbox-title { margin-top: 1rem; font-family: 'Nunito', sans-serif; font-weight: 300; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(248,245,240,0.35); }

/* HERO */
#hero { position: relative; width: 100%; height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Cursor-follow spotlight on the hero — paired with JS parallax */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle 360px at var(--mx, 50%) var(--my, 50%),
    rgba(232, 24, 109, 0.14),
    rgba(0, 212, 200, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s ease;
}
#hero:hover::after { opacity: 1; }

#vimeo-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; transform: translate3d(0,0,0); }

/* Reduced-motion users get a static hero (no drift, no spotlight) */
@media (prefers-reduced-motion: reduce) {
  #vimeo-wrap { transform: none !important; }
  #hero::after { display: none; }
}
#vimeo-wrap iframe { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: 177.78vh; height: 56.25vw; transform: translate(-50%,-50%); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(8,8,8,0.15) 0%, rgba(8,8,8,0.5) 100%), linear-gradient(to bottom, rgba(8,8,8,0.45) 0%, rgba(8,8,8,0.05) 35%, rgba(8,8,8,0.72) 100%); }

.hero-top { position: absolute; top: 2rem; left: 3.5rem; right: auto; text-align: left; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; opacity: 0; transform: translateY(-10px); animation: fadeDown .9s .3s forwards; }
.hero-top h1 { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: clamp(.85rem,1.4vw,1.1rem); letter-spacing: .28em; text-transform: uppercase; color: rgba(248,245,240,0.9); line-height: 1; }
.hero-top h1 span { font-weight: 700; color: rgba(248,245,240,0.9); }
.hero-top-divider { width: 36px; height: 1px; background: rgba(248,245,240,0.18); }
.hero-top-sub { font-family: 'Nunito Sans', sans-serif; font-weight: 400; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(248,245,240,0.65); display: flex; align-items: center; gap: .8rem; }
.top-line { width: 28px; height: 1px; background: rgba(248,245,240,0.22); }
.hero-top-tagline { font-family: 'Nunito', sans-serif; font-weight: 200; font-size: clamp(.65rem,1.3vw,.9rem); letter-spacing: .22em; text-transform: uppercase; color: rgba(248,245,240,0.3); }
.hero-top-tagline strong { font-weight: 600; color: rgba(248,245,240,0.5); }

.hero-ctas { position: absolute; bottom: 7rem; left: 0; right: 0; z-index: 2; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(12px); animation: fadeUp .8s 1s forwards; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 2.4rem;
  font-family: 'Nunito Sans', sans-serif; font-weight: 400;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  cursor: none;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  min-width: 160px;
}
/* Shine sweep on hover */
.btn-ghost::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left .5s ease;
}
.btn-ghost:hover::after { left: 150%; }

/* Secondary — clean outlined */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(248,245,240,0.45);
  color: rgba(248,245,240,0.88);
}
.btn-ghost:hover {
  background: rgba(248,245,240,0.1);
  border-color: rgba(248,245,240,0.85);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Primary — magenta, polished */
.btn-ghost.primary {
  background: var(--magenta);
  border: 1px solid var(--magenta);
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 18px rgba(232,24,109,0.35);
}
.btn-ghost.primary:hover {
  background: #f0176a;
  border-color: #f0176a;
  box-shadow: 0 8px 28px rgba(232,24,109,0.55);
  transform: translateY(-2px);
}

.scroll-cue { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .65rem; cursor: none; opacity: 0; animation: fadeUp .8s 1.3s forwards; transition: transform .35s cubic-bezier(.4,0,.2,1), filter .35s ease; }
.scroll-cue:hover { transform: translateX(-50%) translateY(3px); filter: drop-shadow(0 0 6px rgba(232,24,109,0.35)); }
.scroll-cue-label {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: .58rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.9);
  text-shadow: 0 0 10px rgba(0,0,0,0.45);
  transition: color .3s ease;
}
.scroll-cue:hover .scroll-cue-label { color: var(--white); }
.scroll-line {
  position: relative;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(248,245,240,0.85) 0%, rgba(248,245,240,0.35) 60%, transparent 100%);
  box-shadow: 0 0 6px rgba(248,245,240,0.25);
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 3px; height: 10px;
  background: var(--magenta);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(232,24,109,0.7);
  animation: scrollDot 1.8s cubic-bezier(.4,0,.2,1) infinite;
}

/* MARQUEE */
.marquee-wrap { overflow: hidden; border-top: 1px solid rgba(248,245,240,0.06); border-bottom: 1px solid rgba(248,245,240,0.06); padding: 1rem 0; background: var(--mid); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 24s linear infinite; }
.marquee-track span { font-family: 'Nunito', sans-serif; font-weight: 300; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; white-space: nowrap; color: rgba(248,245,240,0.2); }
.marquee-track span.hi { color: rgba(248,245,240,0.42); }

/* SECTIONS */
section.content { padding: 7rem 3.5rem; }
.sec-label { font-family: 'Nunito Sans', sans-serif; font-weight: 300; font-size: .65rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(248,245,240,0.38); display: block; margin-bottom: .6rem; }
.sec-title { font-family: 'Nunito', sans-serif; font-weight: 300; font-size: clamp(1.2rem,2.4vw,2rem); line-height: 1.1; letter-spacing: .01em; margin-bottom: 1.8rem; color: rgba(248,245,240,0.78); }
.sec-title strong { font-weight: 300; }
.sec-title em { font-style: italic; font-weight: 300; font-size: .55em; color: rgba(248,245,240,0.55); letter-spacing: .12em; display: block; white-space: nowrap; }
.sec-title strong { font-weight: 600; color: rgba(248,245,240,0.92); }

/* ABOUT */
/* ABOUT — two box layout */
.about-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3.5rem;
}

/* LEFT BOX — photo, natural size, not cropped */
.about-photo-box {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 1rem;
  flex-shrink: 0;
}

/* SIGNATURE PHOTO CARD — layered frame, grain, corner brackets */
.photo-card {
  position: relative;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  isolation: isolate;
}

.photo-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500; font-size: .58rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(248,245,240,0.9);
  background: rgba(248,245,240,0.05);
  border: 1px solid rgba(248,245,240,0.14);
  padding: .42rem .85rem .42rem .7rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.photo-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px rgba(46,204,113,0.9);
  animation: pillPulse 1.6s ease-in-out infinite;
}
@keyframes pillPulse {
  0%, 100% { transform: scale(1);    opacity: .9; }
  50%      { transform: scale(1.35); opacity: 1;  }
}

.photo-frame {
  position: relative;
  width: 280px; height: 360px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.photo-card:hover .photo-frame { transform: translateY(-4px); }

.photo-accent {
  position: absolute;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.photo-accent-magenta {
  top: -12px; right: -12px;
  width: 90px; height: 90px;
  background: var(--magenta);
  opacity: .9;
}
.photo-accent-magenta::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.photo-accent-cyan {
  bottom: -12px; left: -12px;
  width: 120px; height: 2px;
  background: var(--cyan);
  opacity: .75;
  box-shadow: 0 0 10px rgba(0,212,200,0.5);
}
.photo-card:hover .photo-accent-magenta { transform: translate(7px, -7px); }
.photo-card:hover .photo-accent-cyan    { transform: translateX(-10px); width: 140px; }

.photo-inner {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(248,245,240,0.1);
  background: var(--mid);
}
.about-photo-full {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform .9s cubic-bezier(.4,0,.2,1), filter .5s ease;
  filter: saturate(1) contrast(1.02);
}
.photo-card:hover .about-photo-full {
  transform: scale(1.05);
  filter: saturate(1.15) contrast(1.06);
}

.photo-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .32;
  mix-blend-mode: overlay;
}

.photo-corner {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
  transition: all .4s ease;
}
.photo-corner.tl { top: 8px;    left: 8px;    border-top: 1.5px solid var(--magenta); border-left:  1.5px solid var(--magenta); }
.photo-corner.tr { top: 8px;    right: 8px;   border-top: 1.5px solid var(--cyan);    border-right: 1.5px solid var(--cyan); }
.photo-corner.bl { bottom: 8px; left: 8px;    border-bottom: 1.5px solid var(--cyan);   border-left:  1.5px solid var(--cyan); }
.photo-corner.br { bottom: 8px; right: 8px;   border-bottom: 1.5px solid var(--magenta); border-right: 1.5px solid var(--magenta); }
.photo-card:hover .photo-corner { width: 20px; height: 20px; }

.photo-caption {
  display: flex; align-items: center; gap: .55rem;
  font-family: 'Nunito Sans', sans-serif; font-weight: 500;
  font-size: .52rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(248,245,240,0.55);
  padding-top: .3rem;
}
.photo-sep {
  display: inline-block;
  width: 14px; height: 1px;
  background: rgba(248,245,240,0.3);
}

@media (prefers-reduced-motion: reduce) {
  .photo-pill-dot { animation: none; }
  .photo-card:hover .photo-frame,
  .photo-card:hover .photo-accent-magenta,
  .photo-card:hover .photo-accent-cyan,
  .photo-card:hover .about-photo-full,
  .photo-card:hover .photo-corner { transform: none; filter: none; width: auto; height: auto; }
}

.mfa-label {
  font-family: 'Nunito', sans-serif; font-weight: 300;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(248,245,240,0.35);
}

/* RIGHT BOX — all text + buttons, tight and contained */
.about-info-box {
  display: flex; flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
  padding: 0;
}
.about-info-box p {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .95rem; line-height: 1.75;
  color: rgba(248,245,240,0.58); margin-bottom: .7rem;
}
.about-info-box p strong { color: rgba(248,245,240,0.82); font-weight: 400; }
.tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.tool { font-family: 'Nunito Sans', sans-serif; font-weight: 300; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .85rem; border: 1px solid rgba(248,245,240,0.1); color: rgba(248,245,240,0.38); transition: border-color .2s, color .2s; }
.tool:hover { border-color: rgba(0,212,200,0.4); color: rgba(0,212,200,0.7); }

/* SKILLS */
.skills-section {
  background: var(--mid);
  position: relative;
  overflow: hidden;
}

/* Animated gradient mesh background */
.skills-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 25%, rgba(255,160,50,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 75%, rgba(0,212,200,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(139,111,255,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 80% 20%, rgba(232,24,109,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: skillsMesh 14s ease-in-out infinite alternate;
}
@keyframes skillsMesh {
  0%   { opacity: 0.5; transform: scale(1) translateY(0); }
  100% { opacity: 1;   transform: scale(1.06) translateY(-8px); }
}

.skills-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(248,245,240,0.04); position: relative; z-index: 1; }
.skill-card {
  background: var(--mid);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background .4s, box-shadow .4s;
  cursor: pointer;
}
.skill-card:hover { background: var(--card); }

/* Top accent line */
.skill-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.skill-card:hover::before { transform: scaleX(1); }

/* Ghost number watermark */
.skill-card::after {
  content: attr(data-num);
  position: absolute;
  right: -.05em; bottom: -.15em;
  font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 8rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248,245,240,0.04);
  letter-spacing: -.04em;
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color .4s, transform .5s;
}
.skill-card:hover::after {
  transform: scale(1.04) translateY(-4px);
}

/* Ambient glow blob per card color */
.skill-card[data-color="amber"]  { --gc: 255,160,50; }
.skill-card[data-color="cyan"]   { --gc: 0,212,200; }
.skill-card[data-color="violet"] { --gc: 139,111,255; }
.skill-card[data-color="sky"]    { --gc: 30,160,255; }
.skill-card[data-color="teal"]   { --gc: 50,200,80; }
.skill-card[data-color="coral"]  { --gc: 255,60,130; }

.skill-card:hover {
  box-shadow: inset 0 0 80px rgba(var(--gc), 0.04);
}
.skill-card:hover::before {
  background: linear-gradient(90deg, rgba(var(--gc),0.7), rgba(var(--gc),0.2), transparent);
}
.skill-card:hover::after {
  -webkit-text-stroke-color: rgba(var(--gc), 0.1);
}

.skill-num { font-family: 'Nunito', sans-serif; font-weight: 300; font-size: .68rem; letter-spacing: .2em; color: rgba(248,245,240,0.22); margin-bottom: 1.5rem; }
.skill-icon { font-size: 1.6rem; margin-bottom: 1rem; display: block; opacity: .7; transition: transform .3s, opacity .3s; }
.skill-card:hover .skill-icon { opacity: 1; transform: scale(1.1); }
.skill-name { font-family: 'Nunito', sans-serif; font-weight: 600; font-size: 1.15rem; margin-bottom: .6rem; color: rgba(248,245,240,0.9); }
.skill-desc { font-family: 'Nunito Sans', sans-serif; font-weight: 300; font-size: .92rem; color: rgba(248,245,240,0.48); line-height: 1.7; }
.skill-arrow { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1rem; color: rgba(248,245,240,0.2); transition: transform .3s, color .3s; }
.skill-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin .4s; margin-top: 0; }
.skill-detail p { font-family: 'Nunito Sans', sans-serif; font-weight: 400; font-size: .88rem; line-height: 1.75; color: rgba(248,245,240,0.82); margin-bottom: .8rem; }
.skill-tools-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.skill-tools-row span { font-family: 'Nunito Sans', sans-serif; font-weight: 400; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 2rem; border: 1px solid rgba(248,245,240,0.3); color: rgba(248,245,240,0.75); background: rgba(248,245,240,0.06); }
.skill-card.active { transform: translateY(-3px); }
.skill-card.active .skill-detail { max-height: 200px; opacity: 1; margin-top: 1.2rem; }
.skill-card.active .skill-arrow { transform: rotate(90deg); }

/* PROJECTS */
.proj-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }

/* ---- FILTER TABS ---- */
.filters {
  display: flex; gap: .5rem; flex-wrap: wrap;
  position: relative;
}
.ftab {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .63rem; letter-spacing: .15em; text-transform: uppercase;
  padding: .4rem 1.1rem;
  border: 1px solid rgba(248,245,240,0.08);
  background: transparent;
  color: rgba(248,245,240,0.3);
  cursor: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; gap: .5rem;
  position: relative;
}
.ftab:hover {
  border-color: rgba(248,245,240,0.25);
  color: rgba(248,245,240,0.7);
  background: rgba(248,245,240,0.03);
}
.ftab.on {
  border-color: rgba(232,24,109,0.5);
  color: var(--white);
  background: rgba(232,24,109,0.08);
}
.ftab-count {
  font-size: .55rem; letter-spacing: .08em;
  color: rgba(248,245,240,0.22);
  background: rgba(248,245,240,0.06);
  padding: .1rem .45rem;
  border-radius: 20px;
  transition: color .25s, background .25s;
}
.ftab.on .ftab-count {
  color: rgba(232,24,109,0.9);
  background: rgba(232,24,109,0.12);
}
/* Sliding indicator */
.ftab-indicator {
  position: absolute;
  bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  border-radius: 2px;
  transition: left .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

/* ---- BENTO GRID ---- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  gap: 1rem;
}

/* Hero cards — span 2 cols, wider image */
.pcard--hero {
  grid-column: span 2;
}
.pcard--hero .pthumb {
  aspect-ratio: 21/9;
}

/* Tall cards — span 2 rows, portrait */
.pcard--tall {
  grid-row: span 2;
}
.pcard--tall .pthumb {
  aspect-ratio: 3/4;
}

/* Standard cards — 16:9 image */
.pthumb {
  aspect-ratio: 16/9 !important;
}
.pcard--hero .pthumb { aspect-ratio: 16/6 !important; }
.pcard--tall .pthumb { aspect-ratio: 3/4 !important; }

/* ---- PROJECT CARD — WOW EDITION ---- */
.pcard {
  background: var(--card);
  border: 1px solid rgba(248,245,240,0.06);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .5s cubic-bezier(.4,0,.2,1),
              border-color .4s,
              box-shadow .5s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.pcard::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .4s;
  background: linear-gradient(135deg,
    rgba(232,24,109,0.18) 0%,
    transparent 50%,
    rgba(0,212,200,0.12) 100%);
  pointer-events: none;
}
.pcard::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 4;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .4s;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}
.pcard:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: transparent;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 8px 24px rgba(232,24,109,0.15),
    0 2px 8px rgba(0,212,200,0.08);
}
.pcard:hover::before { opacity: 1; }
.pcard:hover::after { opacity: 1; }
.pcard.hidden { display: none; }

/* THUMBNAIL */
.pthumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.pthumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.4,0,.2,1),
              filter .5s ease;
  filter: brightness(0.88) saturate(0.9);
  transform-origin: center center;
}
.pcard:hover .pthumb img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.1);
}

/* SHIMMER SWEEP */
.pthumb::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.06) 50%,
    transparent 60%
  );
  transition: left .7s ease;
  z-index: 2;
  pointer-events: none;
}
.pcard:hover .pthumb::after { left: 140%; }

/* OVERLAY */
.poverlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(232,24,109,0.08) 0%,
    rgba(8,8,8,0.55) 60%,
    rgba(8,8,8,0.82) 100%
  );
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
.pcard:hover .poverlay { opacity: 1; }

/* PLAY / ARROW BUTTON */
.pplay {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(248,245,240,0.7);
  background: rgba(8,8,8,0.3);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(248,245,240,0.95);
  transform: scale(0.6) translateY(8px);
  transition: transform .4s cubic-bezier(.4,0,.2,1),
              background .3s,
              border-color .3s,
              box-shadow .3s;
  box-shadow: 0 0 0 0 rgba(232,24,109,0);
}
.pcard:hover .pplay {
  transform: scale(1) translateY(0);
  background: rgba(232,24,109,0.15);
  border-color: var(--magenta);
  box-shadow: 0 0 20px rgba(232,24,109,0.35),
              0 0 40px rgba(232,24,109,0.12);
}

/* INFO PANEL — overlay sliding up on hover */
.pinfo {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.2rem 1.1rem;
  background: linear-gradient(to top,
    rgba(8,8,8,0.97) 0%,
    rgba(8,8,8,0.82) 60%,
    transparent 100%);
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
.pcard:hover .pinfo { transform: translateY(0); }

/* Category accent line */
.pinfo::before {
  content: '';
  position: absolute;
  top: 0; left: 1.2rem; right: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), transparent);
  opacity: 0;
  transition: opacity .4s .1s;
}
.pcard:hover .pinfo::before { opacity: 1; }

.pcat {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .56rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .3rem;
  opacity: 0.85;
}

.ptitle {
  font-family: 'Nunito', sans-serif; font-weight: 600;
  font-size: .88rem; color: rgba(248,245,240,0.95);
  line-height: 1.35;
}

/* ---- SKELETON LOADING SHIMMER ---- */
.pthumb {
  position: relative;
  background: #1a1a1a;
}
.pthumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.04) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: skeleton-sweep 1.6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.pthumb img { position: relative; z-index: 2; }
.pthumb img.loaded + .skeleton { display: none; }
@keyframes skeleton-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ---- CATEGORY COLOR ACCENTS ---- */
/* Motion — cyan */
.pcard[data-cat="motion"]:hover::after { opacity: 1; }
.pcard[data-cat="motion"]:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.6),
              0 4px 20px rgba(0,212,200,0.18);
}
.pcard[data-cat="motion"] .pcat { color: var(--cyan); }

/* Animation — magenta */
.pcard[data-cat="animation"]:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.6),
              0 4px 20px rgba(232,24,109,0.2);
}
.pcard[data-cat="animation"] .pcat { color: var(--magenta); }

/* Visual — amber */
.pcard[data-cat="visual"]:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.6),
              0 4px 20px rgba(255,160,50,0.18);
}
.pcard[data-cat="visual"] .pcat { color: #FFA032; }

/* Graphic — violet */
.pcard[data-cat="graphic"]:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.6),
              0 4px 20px rgba(139,111,255,0.18);
}
.pcard[data-cat="graphic"] .pcat { color: #8B6FFF; }

/* ---- 3D TILT — perspective container ---- */
.pgrid { perspective: 1200px; }
.pcard { transform-style: preserve-3d; will-change: transform; }

/* ---- CATEGORY SEPARATOR ---- */
.psep {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 2.2rem 0 1rem;
  position: relative;
  margin-top: .8rem;
}
.psep::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    var(--magenta) 0%,
    var(--cyan) 40%,
    transparent 100%);
  opacity: 0.35;
}
.psep-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248,245,240,0.08);
  letter-spacing: -.04em;
  user-select: none;
  flex-shrink: 0;
}
.psep-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  font-size: clamp(.75rem, 1.2vw, .95rem);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.5);
  flex-shrink: 0;
}
.psep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(248,245,240,0.07), transparent);
}
.psep-count {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.2);
  flex-shrink: 0;
}

/* Hide separator when its category is filtered out */
.psep.hidden { display: none; }

/* Staggered entrance animation */
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pcard.on {
  animation: cardReveal .6s cubic-bezier(.4,0,.2,1) both;
}

/* CONTACT */
.contact-section { background: #0A0A0A; }
.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.contact-big { font-family: 'Nunito', sans-serif; font-weight: 200; font-size: clamp(2.5rem,7vw,5rem); line-height: .95; letter-spacing: .04em; margin-bottom: 1.8rem; color: rgba(248,245,240,0.82); }
.contact-big strong { font-weight: 700; }
.contact-sub { font-family: 'Nunito Sans', sans-serif; font-weight: 300; color: rgba(248,245,240,0.33); line-height: 1.8; margin-bottom: 2.5rem; font-size: .95rem; }
.clinks { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.clink { font-family: 'Nunito Sans', sans-serif; font-weight: 300; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; padding: .75rem 1.7rem; border: 1px solid rgba(248,245,240,0.14); color: rgba(248,245,240,0.55); text-decoration: none; transition: all .2s; }
.clink:hover { border-color: rgba(248,245,240,0.38); color: var(--white); }
.clink.primary { background: rgba(232,24,109,0.85); border-color: rgba(232,24,109,0.7); color: var(--white); }
.clink.primary:hover { background: var(--magenta); border-color: var(--magenta); }

footer { padding: 1.8rem 3.5rem; border-top: 1px solid rgba(248,245,240,0.05); display: flex; justify-content: space-between; font-family: 'Nunito Sans', sans-serif; font-weight: 200; font-size: .68rem; color: rgba(248,245,240,0.16); letter-spacing: .1em; }

/* REVEAL */
.rev { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.4,0,.2,1); }
.rev.on { opacity: 1; transform: translateY(0); }

/* KEYFRAMES */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%,100% { opacity:.5; } 50% { opacity:1; } }
@keyframes scrollDot {
  0%   { top: -4px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 44px; opacity: 0; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* RESPONSIVE */
@media (max-width: 1024px) { .skills-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  section.content { padding: 4rem 1.5rem; }
  .about-section { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-full { width: 100%; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard--hero { grid-column: span 1; }
  .pcard--hero .pthumb { aspect-ratio: 16/9 !important; }
  .pcard--tall { grid-row: span 1; }
  .pcard--tall .pthumb { aspect-ratio: 4/3 !important; }
  .proj-header { flex-direction: column; align-items: flex-start; }
  #lightbox-frame { height: 60vh; }
  footer { flex-direction: column; gap: .4rem; text-align: center; }
}

/* ---- STATS BAR ---- */
.stats-bar {
  display: flex; align-items: stretch; justify-content: center;
  background: #0A0A0A;
  border-top: 1px solid rgba(248,245,240,0.06);
  border-bottom: 1px solid rgba(248,245,240,0.06);
  overflow: hidden;
}
.stat-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; padding: 2rem 3rem;
  position: relative; flex: 1;
  border-right: 1px solid rgba(248,245,240,0.06);
  transition: background .3s;
  overflow: hidden;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(248,245,240,0.03); }
.stat-card-bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width .4s ease;
}
.stat-card:hover .stat-card-bar { width: 100%; }
.stat-card-num {
  font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 2rem; color: rgba(248,245,240,0.9);
  letter-spacing: -.02em; line-height: 1;
}
.stat-card-label {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(248,245,240,0.32);
}
.stat-card-avail {
  flex-direction: row; gap: .7rem;
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #00C48C;
  box-shadow: 0 0 0 0 rgba(0,196,140,0.4);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0,196,140,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(0,196,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,196,140,0); }
}
@media (max-width: 768px) {
  .stats-bar { flex-wrap: wrap; }
  .stat-card { flex: 1 1 45%; border-bottom: 1px solid rgba(248,245,240,0.06); padding: 1.5rem; }
}

/* ---- PROFILE PHOTO ---- */
.photo-link {
  display: block; position: relative;
  aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid rgba(248,245,240,0.08);
  text-decoration: none;
}
.profile-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .4s;
  filter: grayscale(15%);
}
.photo-link:hover .profile-photo {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.75) 0%, transparent 50%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1.5rem;
  opacity: 0; transition: opacity .3s;
}
.photo-link:hover .photo-overlay { opacity: 1; }
.linkedin-badge {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(0,119,181,0.9);
  padding: .5rem 1rem; border-radius: 2rem;
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .72rem; letter-spacing: .08em;
  color: white;
}

/* ---- ABOUT CTAs ---- */
.about-ctas {
  display: flex; gap: .8rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Nunito Sans', sans-serif; font-weight: 400;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .85rem 2rem; text-decoration: none;
  transition: all .3s cubic-bezier(.4,0,.2,1); cursor: none;
  position: relative; overflow: hidden;
  min-width: 140px; justify-content: center;
}
/* Shine sweep */
.cta-btn::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left .5s ease;
}
.cta-btn:hover::after { left: 150%; }
.cta-primary {
  background: #0077B5;
  border: 1px solid #0077B5;
  color: white;
  box-shadow: 0 2px 12px rgba(0,119,181,0.3);
}
.cta-primary:hover {
  background: #0088CC;
  border-color: #0088CC;
  box-shadow: 0 6px 24px rgba(0,119,181,0.5);
  transform: translateY(-2px);
}
.cta-secondary {
  background: transparent;
  border: 1px solid rgba(248,245,240,0.3);
  color: rgba(248,245,240,0.75);
}
.cta-secondary:hover {
  border-color: rgba(248,245,240,0.7);
  color: var(--white);
  transform: translateY(-2px);
  background: rgba(248,245,240,0.05);
}

/* ---- RESPONSIVE STATS ---- */
@media (max-width: 768px) {
  .stats-bar { gap: 1rem; padding: 1.5rem; }
  .stat { padding: 0 1rem; }
  .stat-div { display: none; }
  .about-ctas { flex-direction: column; }
  .cta-btn { text-align: center; }
}

/* ---- PROFILE PHOTO COL ---- */
.photo-col {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 1.2rem;
  width: 100%;
}
.profile-photo-sm {
  width: 100%; height: 340px;
  object-fit: cover; object-position: center top;
  display: block;
  border: 1px solid rgba(248,245,240,0.1);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.photo-col:hover .profile-photo-sm { transform: scale(1.02); }
.mfa-label {
  font-family: 'Nunito', sans-serif; font-weight: 300;
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(248,245,240,0.38); text-align: left;
  flex-shrink: 0;
}
.linkedin-btn {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(0,119,181,0.85);
  border: 1px solid rgba(0,119,181,0.5);
  color: white; text-decoration: none;
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .6rem 1.4rem; transition: background .2s, transform .2s;
  cursor: none;
}
.linkedin-btn:hover { background: #0077B5; transform: translateY(-1px); }

/* ---- INTERACTIVE SKILL CARDS ---- */
.skill-card {
  cursor: pointer;
  position: relative;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.skill-card:hover { background: #1a1a1a; transform: translateY(-3px); }

/* Hover color previews — subtle tint before clicking */
.skill-card[data-color="magenta"]:hover:not(.active) {
  background: rgba(255,160,50,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,160,50,0.15);
}
.skill-card[data-color="magenta"]:hover:not(.active) .skill-num { color: rgba(255,160,50,0.6); }
.skill-card[data-color="magenta"]:hover:not(.active) .skill-name { color: rgba(255,179,71,0.8); }
.skill-card[data-color="magenta"]:hover:not(.active) .skill-arrow { color: rgba(255,160,50,0.6); }
.skill-card[data-color="magenta"]:hover:not(.active)::before { background: #FFA032; transform: scaleX(0.4); }

.skill-card[data-color="cyan"]:hover:not(.active) {
  background: rgba(0,212,200,0.04);
  box-shadow: inset 0 0 0 1px rgba(0,212,200,0.12);
}
.skill-card[data-color="cyan"]:hover:not(.active) .skill-num { color: rgba(0,212,200,0.5); }
.skill-card[data-color="cyan"]:hover:not(.active) .skill-name { color: rgba(0,212,200,0.7); }
.skill-card[data-color="cyan"]:hover:not(.active) .skill-arrow { color: rgba(0,212,200,0.5); }
.skill-card[data-color="cyan"]:hover:not(.active)::before { background: var(--cyan); transform: scaleX(0.4); }

.skill-card[data-color="violet"]:hover:not(.active) {
  background: rgba(91,46,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(91,46,255,0.15);
}
.skill-card[data-color="violet"]:hover:not(.active) .skill-num { color: rgba(91,46,255,0.6); }
.skill-card[data-color="violet"]:hover:not(.active) .skill-name { color: rgba(139,111,255,0.7); }
.skill-card[data-color="violet"]:hover:not(.active) .skill-arrow { color: rgba(91,46,255,0.5); }
.skill-card[data-color="violet"]:hover:not(.active)::before { background: #5B2EFF; transform: scaleX(0.4); }

.skill-card[data-color="yellow"]:hover:not(.active) {
  background: rgba(255,214,0,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,214,0,0.12);
}
.skill-card[data-color="yellow"]:hover:not(.active) .skill-num { color: rgba(255,214,0,0.5); }
.skill-card[data-color="yellow"]:hover:not(.active) .skill-name { color: rgba(255,214,0,0.7); }
.skill-card[data-color="yellow"]:hover:not(.active) .skill-arrow { color: rgba(255,214,0,0.5); }
.skill-card[data-color="yellow"]:hover:not(.active)::before { background: var(--yellow); transform: scaleX(0.4); }

/* Hidden detail panel */
.skill-detail {
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin .4s;
  margin-top: 0;
}
.skill-detail p {
  font-family: 'Nunito Sans', sans-serif; font-weight: 400;
  font-size: .88rem; line-height: 1.75;
  color: rgba(248,245,240,0.82);
  margin-bottom: .8rem;
}
.skill-tools-row {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.skill-tools-row span {
  font-family: 'Nunito Sans', sans-serif; font-weight: 400;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .8rem;
  border-radius: 2rem;
  border: 1px solid rgba(248,245,240,0.3);
  color: rgba(248,245,240,0.75);
  background: rgba(248,245,240,0.06);
}

/* Arrow indicator */
.skill-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1rem; color: rgba(248,245,240,0.2);
  transition: transform .3s, color .3s;
}

/* ACTIVE state */
.skill-card.active { transform: translateY(-3px); }
.skill-card.active .skill-detail {
  max-height: 200px; opacity: 1; margin-top: 1.2rem;
}
.skill-card.active .skill-arrow { transform: rotate(90deg); }

/* Color themes per card */
.skill-card[data-color="magenta"].active {
  background: rgba(255,160,50,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,160,50,0.3), 0 8px 32px rgba(255,160,50,0.08);
}
.skill-card[data-color="magenta"].active .skill-num,
.skill-card[data-color="magenta"].active .skill-arrow { color: #FFA032; }
.skill-card[data-color="magenta"].active .skill-name { color: #FFB347; }
.skill-card[data-color="magenta"].active::before { background: #FFA032; transform: scaleX(1); }
.skill-card[data-color="magenta"].active .skill-tools-row span { border-color: rgba(255,160,50,0.4); color: rgba(255,179,71,0.95); }

.skill-card[data-color="cyan"].active {
  background: rgba(0,212,200,0.06);
  box-shadow: inset 0 0 0 1px rgba(0,212,200,0.25), 0 8px 32px rgba(0,212,200,0.08);
}
.skill-card[data-color="cyan"].active .skill-num,
.skill-card[data-color="cyan"].active .skill-arrow { color: var(--cyan); }
.skill-card[data-color="cyan"].active .skill-name { color: var(--cyan); }
.skill-card[data-color="cyan"].active::before { background: var(--cyan); transform: scaleX(1); }
.skill-card[data-color="cyan"].active .skill-tools-row span { border-color: rgba(0,212,200,0.3); color: rgba(0,212,200,0.8); }

.skill-card[data-color="violet"].active {
  background: rgba(91,46,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(91,46,255,0.3), 0 8px 32px rgba(91,46,255,0.1);
}
.skill-card[data-color="violet"].active .skill-num,
.skill-card[data-color="violet"].active .skill-arrow { color: #5B2EFF; }
.skill-card[data-color="violet"].active .skill-name { color: #8B6FFF; }
.skill-card[data-color="violet"].active::before { background: #5B2EFF; transform: scaleX(1); }
.skill-card[data-color="violet"].active .skill-tools-row span { border-color: rgba(91,46,255,0.35); color: rgba(139,111,255,0.9); }

.skill-card[data-color="yellow"].active {
  background: rgba(255,214,0,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,214,0,0.25), 0 8px 32px rgba(255,214,0,0.06);
}
.skill-card[data-color="yellow"].active .skill-num,
.skill-card[data-color="yellow"].active .skill-arrow { color: var(--yellow); }
.skill-card[data-color="yellow"].active .skill-name { color: var(--yellow); }
.skill-card[data-color="yellow"].active::before { background: var(--yellow); transform: scaleX(1); }
.skill-card[data-color="yellow"].active .skill-tools-row span { border-color: rgba(255,214,0,0.3); color: rgba(255,214,0,0.85); }

/* ---- ABOUT HIGHLIGHTS ROW ---- */
.about-highlights {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0; margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248,245,240,0.08);
  width: 100%;
}
.highlight-item {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: .2rem;
  padding: 0 1.5rem;
}
.highlight-item:first-child { padding-left: 0; }
.hi-num {
  font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 1.3rem; color: rgba(248,245,240,0.88);
  line-height: 1;
}
.hi-label {
  font-family: 'Nunito Sans', sans-serif; font-weight: 300;
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(248,245,240,0.32);
}
.hi-sep {
  width: 1px; height: 32px;
  background: rgba(248,245,240,0.08);
}
.highlight-item .avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00C48C;
  box-shadow: 0 0 0 0 rgba(0,196,140,0.4);
  animation: pulse-dot 2s ease-in-out infinite;
  margin-bottom: .25rem;
}

/* Brighter description text when card is active */
.skill-card.active .skill-desc { color: rgba(248,245,240,0.75); }

/* ---- UNIQUE SKILL CARD COLORS ---- */

/* 01 Amber */
.skill-card[data-color="amber"]:hover:not(.active) { background: rgba(255,160,50,0.05); box-shadow: inset 0 0 0 1px rgba(255,160,50,0.15); }
.skill-card[data-color="amber"]:hover:not(.active) .skill-num { color: rgba(255,160,50,0.6); }
.skill-card[data-color="amber"]:hover:not(.active) .skill-name { color: rgba(255,179,71,0.85); }
.skill-card[data-color="amber"]:hover:not(.active) .skill-arrow { color: rgba(255,160,50,0.6); }
.skill-card[data-color="amber"]:hover:not(.active)::before { background: #FFA032; transform: scaleX(0.4); }
.skill-card[data-color="amber"].active { background: rgba(255,160,50,0.08); box-shadow: inset 0 0 0 1px rgba(255,160,50,0.3), 0 8px 32px rgba(255,160,50,0.08); }
.skill-card[data-color="amber"].active .skill-num, .skill-card[data-color="amber"].active .skill-arrow { color: #FFA032; }
.skill-card[data-color="amber"].active .skill-name { color: #FFB347; }
.skill-card[data-color="amber"].active::before { background: #FFA032; transform: scaleX(1); }
.skill-card[data-color="amber"].active .skill-tools-row span { border-color: rgba(255,160,50,0.4); color: rgba(255,179,71,0.95); }

/* 05 Teal */
.skill-card[data-color="teal"]:hover:not(.active) { background: rgba(0,180,160,0.05); box-shadow: inset 0 0 0 1px rgba(0,180,160,0.15); }
.skill-card[data-color="teal"]:hover:not(.active) .skill-num { color: rgba(0,180,160,0.6); }
.skill-card[data-color="teal"]:hover:not(.active) .skill-name { color: rgba(0,200,180,0.85); }
.skill-card[data-color="teal"]:hover:not(.active) .skill-arrow { color: rgba(0,180,160,0.6); }
.skill-card[data-color="teal"]:hover:not(.active)::before { background: #00B4A0; transform: scaleX(0.4); }
.skill-card[data-color="teal"].active { background: rgba(0,180,160,0.07); box-shadow: inset 0 0 0 1px rgba(0,180,160,0.28), 0 8px 32px rgba(0,180,160,0.08); }
.skill-card[data-color="teal"].active .skill-num, .skill-card[data-color="teal"].active .skill-arrow { color: #00B4A0; }
.skill-card[data-color="teal"].active .skill-name { color: #00C8B2; }
.skill-card[data-color="teal"].active::before { background: #00B4A0; transform: scaleX(1); }
.skill-card[data-color="teal"].active .skill-tools-row span { border-color: rgba(0,180,160,0.35); color: rgba(0,200,180,0.95); }

/* 06 Coral */
.skill-card[data-color="coral"]:hover:not(.active) { background: rgba(255,100,80,0.05); box-shadow: inset 0 0 0 1px rgba(255,100,80,0.15); }
.skill-card[data-color="coral"]:hover:not(.active) .skill-num { color: rgba(255,100,80,0.6); }
.skill-card[data-color="coral"]:hover:not(.active) .skill-name { color: rgba(255,120,100,0.85); }
.skill-card[data-color="coral"]:hover:not(.active) .skill-arrow { color: rgba(255,100,80,0.6); }
.skill-card[data-color="coral"]:hover:not(.active)::before { background: #FF6450; transform: scaleX(0.4); }
.skill-card[data-color="coral"].active { background: rgba(255,100,80,0.07); box-shadow: inset 0 0 0 1px rgba(255,100,80,0.28), 0 8px 32px rgba(255,100,80,0.08); }
.skill-card[data-color="coral"].active .skill-num, .skill-card[data-color="coral"].active .skill-arrow { color: #FF6450; }
.skill-card[data-color="coral"].active .skill-name { color: #FF7864; }
.skill-card[data-color="coral"].active::before { background: #FF6450; transform: scaleX(1); }
.skill-card[data-color="coral"].active .skill-tools-row span { border-color: rgba(255,100,80,0.35); color: rgba(255,120,100,0.95); }

/* ---- OVERRIDE: 6 DISTINCT COLORS ---- */
/* 01 Amber — keep */
/* 02 Cyan — keep */
/* 03 Violet — keep */
/* 04 Yellow — keep */

/* 05 Green (replaces teal) */
.skill-card[data-color="teal"]:hover:not(.active) { background: rgba(50,200,80,0.05) !important; box-shadow: inset 0 0 0 1px rgba(50,200,80,0.15) !important; }
.skill-card[data-color="teal"]:hover:not(.active) .skill-num { color: rgba(50,200,80,0.7) !important; }
.skill-card[data-color="teal"]:hover:not(.active) .skill-name { color: rgba(70,220,100,0.9) !important; }
.skill-card[data-color="teal"]:hover:not(.active) .skill-arrow { color: rgba(50,200,80,0.7) !important; }
.skill-card[data-color="teal"]:hover:not(.active)::before { background: #32C850 !important; }
.skill-card[data-color="teal"].active { background: rgba(50,200,80,0.07) !important; box-shadow: inset 0 0 0 1px rgba(50,200,80,0.3), 0 8px 32px rgba(50,200,80,0.1) !important; }
.skill-card[data-color="teal"].active .skill-num, .skill-card[data-color="teal"].active .skill-arrow { color: #32C850 !important; }
.skill-card[data-color="teal"].active .skill-name { color: #50DC6E !important; }
.skill-card[data-color="teal"].active::before { background: #32C850 !important; }
.skill-card[data-color="teal"].active .skill-tools-row span { border-color: rgba(50,200,80,0.4) !important; color: rgba(70,220,100,0.95) !important; }

/* 06 Rose/Pink (replaces coral) */
.skill-card[data-color="coral"]:hover:not(.active) { background: rgba(255,60,130,0.05) !important; box-shadow: inset 0 0 0 1px rgba(255,60,130,0.15) !important; }
.skill-card[data-color="coral"]:hover:not(.active) .skill-num { color: rgba(255,60,130,0.7) !important; }
.skill-card[data-color="coral"]:hover:not(.active) .skill-name { color: rgba(255,80,150,0.9) !important; }
.skill-card[data-color="coral"]:hover:not(.active) .skill-arrow { color: rgba(255,60,130,0.7) !important; }
.skill-card[data-color="coral"]:hover:not(.active)::before { background: #FF3C82 !important; }
.skill-card[data-color="coral"].active { background: rgba(255,60,130,0.07) !important; box-shadow: inset 0 0 0 1px rgba(255,60,130,0.3), 0 8px 32px rgba(255,60,130,0.1) !important; }
.skill-card[data-color="coral"].active .skill-num, .skill-card[data-color="coral"].active .skill-arrow { color: #FF3C82 !important; }
.skill-card[data-color="coral"].active .skill-name { color: #FF5C9A !important; }
.skill-card[data-color="coral"].active::before { background: #FF3C82 !important; }
.skill-card[data-color="coral"].active .skill-tools-row span { border-color: rgba(255,60,130,0.4) !important; color: rgba(255,80,150,0.95) !important; }

/* 04 Sky Blue (replaces yellow) */
.skill-card[data-color="sky"]:hover:not(.active) { background: rgba(30,160,255,0.05); box-shadow: inset 0 0 0 1px rgba(30,160,255,0.15); }
.skill-card[data-color="sky"]:hover:not(.active) .skill-num { color: rgba(30,160,255,0.6); }
.skill-card[data-color="sky"]:hover:not(.active) .skill-name { color: rgba(60,180,255,0.85); }
.skill-card[data-color="sky"]:hover:not(.active) .skill-arrow { color: rgba(30,160,255,0.6); }
.skill-card[data-color="sky"]:hover:not(.active)::before { background: #1EA0FF; transform: scaleX(0.4); }
.skill-card[data-color="sky"].active { background: rgba(30,160,255,0.07); box-shadow: inset 0 0 0 1px rgba(30,160,255,0.28), 0 8px 32px rgba(30,160,255,0.08); }
.skill-card[data-color="sky"].active .skill-num, .skill-card[data-color="sky"].active .skill-arrow { color: #1EA0FF; }
.skill-card[data-color="sky"].active .skill-name { color: #3CB4FF; }
.skill-card[data-color="sky"].active::before { background: #1EA0FF; transform: scaleX(1); }
.skill-card[data-color="sky"].active .skill-tools-row span { border-color: rgba(30,160,255,0.35); color: rgba(60,180,255,0.95); }
