:root {
  --bg: #0a0a0b;
  --bg-elev: #111113;
  --bg-card: #131316;
  --border: #1f1f23;
  --border-strong: #2a2a30;
  --text: #ededed;
  --text-dim: #9a9aa2;
  --text-muted: #6c6c75;
  --accent: #ff3d8b;          /* pink — primary accent */
  --accent-red: #ff4d57;      /* red end of the gradient */
  --accent-purple: #a64dff;   /* purple/violet end */
  --accent-soft: rgba(255, 61, 139, 0.12);
  --accent-grad: linear-gradient(120deg, #ff4d57 0%, #ff3d8b 50%, #a64dff 100%);
  --max-w: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Site-wide animated background */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  width: 65vmax;
  height: 65vmax;
  background: radial-gradient(circle at center, rgba(255, 61, 139, 0.12), transparent 60%);
  top: -20vmax;
  left: -15vmax;
}
/* Second glow, purple, bottom-right */
body::after {
  content: '';
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
  width: 55vmax;
  height: 55vmax;
  background: radial-gradient(circle at center, rgba(166, 77, 255, 0.10), transparent 60%);
  bottom: -25vmax;
  right: -18vmax;
}

/* Static grid */
body > .site-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 30%, transparent 80%);
}

/* Accent streaks flying in from the left */
.streaks {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.streaks span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 220px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 61, 139, 0) 5%,
    rgba(255, 61, 139, 0.9) 75%,
    #ff8ab8 100%
  );
  border-radius: 3px;
  transform: translateX(-110vw);
  filter:
    drop-shadow(0 0 4px rgba(255, 61, 139, 0.95))
    drop-shadow(0 0 14px rgba(255, 61, 139, 0.6))
    drop-shadow(0 0 28px rgba(166, 77, 255, 0.4));
  animation: streak-fly 1.4s cubic-bezier(0.10, 0.85, 0.15, 1) forwards;
  opacity: 0;
}

/* Spread the streaks across the screen with their own delays + final positions */
.streaks span:nth-child(1)  { top: 12%; --end: 22vw;  width: 260px; animation-delay: 0.00s; }
.streaks span:nth-child(2)  { top: 22%; --end: 70vw;  width: 180px; animation-delay: 0.10s; }
.streaks span:nth-child(3)  { top: 30%; --end: 38vw;  width: 320px; animation-delay: 0.20s; }
.streaks span:nth-child(4)  { top: 41%; --end: 60vw;  width: 200px; animation-delay: 0.30s; }
.streaks span:nth-child(5)  { top: 52%; --end: 12vw;  width: 240px; animation-delay: 0.40s; }
.streaks span:nth-child(6)  { top: 63%; --end: 78vw;  width: 160px; animation-delay: 0.50s; }
.streaks span:nth-child(7)  { top: 74%; --end: 30vw;  width: 280px; animation-delay: 0.60s; }
.streaks span:nth-child(8)  { top: 86%; --end: 55vw;  width: 220px; animation-delay: 0.70s; }

/* Floating accent particles */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff3d8b;
  box-shadow:
    0 0 6px rgba(255, 61, 139, 0.9),
    0 0 14px rgba(255, 61, 139, 0.5),
    0 0 28px rgba(166, 77, 255, 0.3);
  opacity: 0.7;
  will-change: transform;
}
/* Every 3rd particle leans purple for variety */
.particles span:nth-child(3n) {
  background: #b96bff;
  box-shadow:
    0 0 6px rgba(166, 77, 255, 0.9),
    0 0 14px rgba(166, 77, 255, 0.5),
    0 0 28px rgba(255, 61, 139, 0.3);
}
.particles span:nth-child(4n) {
  background: #ff6b6b;
}

.particles span:nth-child(1)  { top: 8%;  left: 12%; animation: float-p1 9s ease-in-out infinite; }
.particles span:nth-child(2)  { top: 22%; left: 78%; animation: float-p2 12s ease-in-out infinite; width: 3px; height: 3px; }
.particles span:nth-child(3)  { top: 35%; left: 30%; animation: float-p3 10s ease-in-out infinite; width: 5px; height: 5px; }
.particles span:nth-child(4)  { top: 48%; left: 88%; animation: float-p1 13s ease-in-out infinite; width: 2px; height: 2px; opacity: 0.5; }
.particles span:nth-child(5)  { top: 60%; left: 18%; animation: float-p2 9s  ease-in-out infinite; width: 4px; height: 4px; }
.particles span:nth-child(6)  { top: 70%; left: 65%; animation: float-p3 11s ease-in-out infinite; width: 3px; height: 3px; }
.particles span:nth-child(7)  { top: 82%; left: 40%; animation: float-p1 12s ease-in-out infinite; width: 5px; height: 5px; opacity: 0.55; }
.particles span:nth-child(8)  { top: 14%; left: 52%; animation: float-p2 10s ease-in-out infinite; width: 2px; height: 2px; opacity: 0.45; }
.particles span:nth-child(9)  { top: 92%; left: 8%;  animation: float-p3 13s ease-in-out infinite; width: 4px; height: 4px; }
.particles span:nth-child(10) { top: 5%;  left: 92%; animation: float-p1 11s ease-in-out infinite; width: 3px; height: 3px; opacity: 0.5; }
.particles span:nth-child(11) { top: 40%; left: 5%;  animation: float-p2 9s  ease-in-out infinite; width: 4px; height: 4px; }
.particles span:nth-child(12) { top: 55%; left: 50%; animation: float-p3 14s ease-in-out infinite; width: 2px; height: 2px; opacity: 0.4; }
.particles span:nth-child(13) { top: 18%; left: 38%; animation: float-p2 11s ease-in-out infinite; width: 3px; height: 3px; }
.particles span:nth-child(14) { top: 28%; left: 62%; animation: float-p3 10s ease-in-out infinite; width: 4px; height: 4px; opacity: 0.6; }
.particles span:nth-child(15) { top: 45%; left: 22%; animation: float-p1 12s ease-in-out infinite; width: 2px; height: 2px; opacity: 0.5; }
.particles span:nth-child(16) { top: 50%; left: 70%; animation: float-p2 13s ease-in-out infinite; width: 5px; height: 5px; }
.particles span:nth-child(17) { top: 65%; left: 35%; animation: float-p3 9s  ease-in-out infinite; width: 3px; height: 3px; }
.particles span:nth-child(18) { top: 75%; left: 82%; animation: float-p1 11s ease-in-out infinite; width: 4px; height: 4px; opacity: 0.55; }
.particles span:nth-child(19) { top: 88%; left: 25%; animation: float-p2 10s ease-in-out infinite; width: 2px; height: 2px; opacity: 0.45; }
.particles span:nth-child(20) { top: 32%; left: 48%; animation: float-p3 12s ease-in-out infinite; width: 4px; height: 4px; }
.particles span:nth-child(21) { top: 12%; left: 70%; animation: float-p1 10s ease-in-out infinite; width: 3px; height: 3px; }
.particles span:nth-child(22) { top: 58%; left: 8%;  animation: float-p2 13s ease-in-out infinite; width: 5px; height: 5px; opacity: 0.6; }
.particles span:nth-child(23) { top: 78%; left: 55%; animation: float-p3 9s  ease-in-out infinite; width: 2px; height: 2px; opacity: 0.4; }
.particles span:nth-child(24) { top: 95%; left: 75%; animation: float-p1 11s ease-in-out infinite; width: 3px; height: 3px; }

@keyframes float-p1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(60px, -45px); }
}
@keyframes float-p2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-70px, 50px); }
}
@keyframes float-p3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, 70px); }
}

@keyframes streak-fly {
  0%   { transform: translateX(-110vw); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateX(var(--end, 50vw)); opacity: 0.9; }
}

/* Occasional green shooting stars */
.shooting-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.shooting-star {
  position: absolute;
  top: var(--y, 20%);
  left: var(--x, -10vw);
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: #ffb0cf;
  box-shadow:
    0 0 calc(var(--size, 3px) * 2) rgba(255, 61, 139, 0.95),
    0 0 calc(var(--size, 3px) * 5) rgba(255, 61, 139, 0.65),
    0 0 calc(var(--size, 3px) * 10) rgba(166, 77, 255, 0.45);
  transform: rotate(var(--angle, 18deg)) translateX(0);
  animation: shoot var(--duration, 1.3s) cubic-bezier(0.2, 0.55, 0.25, 1) forwards;
  opacity: 0;
  filter: blur(var(--blur, 0px));
}
.shooting-star::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  height: max(1px, calc(var(--size, 3px) * 0.6));
  width: var(--tail, 180px);
  transform: translateY(-50%);
  background: linear-gradient(
    to left,
    rgba(255, 138, 184, 0.95),
    rgba(255, 61, 139, 0.55) 35%,
    rgba(166, 77, 255, 0) 100%
  );
  border-radius: 2px;
}

@keyframes shoot {
  0%   { transform: rotate(var(--angle, 18deg)) translateX(0); opacity: 0; }
  8%   { opacity: var(--brightness, 1); }
  85%  { opacity: var(--brightness, 1); }
  100% { transform: rotate(var(--angle, 18deg)) translateX(var(--distance, 130vw)); opacity: 0; }
}

@media (max-width: 720px) {
  .streaks span:nth-child(1)  { --end: 5vw;  width: 140px; }
  .streaks span:nth-child(2)  { --end: 45vw; width: 110px; }
  .streaks span:nth-child(3)  { --end: 18vw; width: 160px; }
  .streaks span:nth-child(4)  { --end: 38vw; width: 120px; }
  .streaks span:nth-child(5)  { --end: 0vw;  width: 150px; }
  .streaks span:nth-child(6)  { --end: 50vw; width: 100px; }
  .streaks span:nth-child(7)  { --end: 25vw; width: 150px; }
  .streaks span:nth-child(8)  { --end: 42vw; width: 130px; }
}

h1, h2, h3 {
  font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

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

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 11, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }

.logo {
  display: inline-flex;
  width: 44px;
  height: 26px;
  color: var(--text);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.logo:hover { color: var(--accent); transform: translateY(-1px); }
.logo svg { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.lang-switch a,
.lang-switch button {
  padding: 4px 6px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.lang-switch a.active,
.lang-switch button.active { color: var(--accent); }
.lang-switch a:hover,
.lang-switch button:hover { color: var(--text); }

.menu-toggle {
  display: none;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
  overflow: hidden;
  max-width: none;
  width: 100%;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 14s ease-in-out infinite;
}
.orb-1 {
  width: 420px; height: 420px;
  background: var(--accent);
  top: 10%; left: -120px;
  opacity: 0.08;
}
.orb-2 {
  width: 320px; height: 320px;
  background: var(--accent-purple);
  bottom: -80px; right: -80px;
  opacity: 0.07;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(48px, 9vw, 128px);
  margin-bottom: 24px;
}
.hero h1 .accent {
  display: inline-block;
  margin-left: 0.2em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 580px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  margin-bottom: 40px;
}
.lead + .lead {
  margin-top: -28px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 61, 139, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 61, 139, 0.4); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  animation: bounce 2.4s var(--ease) infinite;
}
.scroll-hint:hover { color: var(--text); border-color: var(--text); }
.scroll-hint i { width: 16px; height: 16px; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Section base ---------- */
section {
  padding: 120px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.section-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
}

/* ---------- Choose ---------- */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.choose-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}
.choose-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.choose-btn:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.choose-btn:hover::before { opacity: 1; }
.choose-btn i {
  width: 28px;
  height: 28px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.choose-btn:hover i {
  color: var(--accent);
  transform: translate(4px, -4px);
}
.choose-label { position: relative; z-index: 1; }

@media (max-width: 720px) {
  .choose-grid { grid-template-columns: 1fr; }
  .choose-btn { padding: 40px 28px; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 20px;
  max-width: 56ch;
}
.about-text strong { color: var(--text); font-weight: 500; }

.about-meta dl {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.about-meta dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.about-meta dd {
  font-size: 15px;
  color: var(--text);
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 881px) {
  .skills-grid .skill-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc((100% - 20px) / 2);
    margin: 0 auto;
    width: 100%;
    min-height: 418px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.skill-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.skill-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.skill-card:hover::before { opacity: 1; }
.skill-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.skill-card-head i {
  width: 22px; height: 22px;
  color: var(--accent);
}
.skill-card-head h3 { font-size: 22px; }
.skill-card p {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 15px;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list li {
  font-size: 12.5px;
  padding: 5px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-dim);
}

.project-cta { margin-top: 28px; }
.project-cta .btn i { width: 18px; height: 18px; }
.btn .icon-instagram { width: 18px; height: 18px; }

/* ---------- Projects ---------- */
.project-card {
  position: relative;
  display: block;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.project-card-text { position: relative; z-index: 1; }
.project-card-media-wrap { position: relative; z-index: 2; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.project-card-media {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.project-card-text { min-width: 0; }
.project-card-media-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.project-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.project-card-media-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
  transition: transform 0.5s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}
.project-shot figcaption {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 720px) {
  .project-card-media {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-card-media-wrap img { max-height: 420px; }
}

.project-card h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 14px;
}
.project-card p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 60ch;
}
.project-arrow {
  position: absolute;
  top: 40px; right: 40px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.project-arrow i { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-inner h3 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
  max-width: 18ch;
}
.contact-inner p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 36px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.contact-link i { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .hero { padding: 130px 20px 80px; }
  section { padding: 90px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .skills-grid { grid-template-columns: 1fr; }
  .project-card { padding: 28px; }
  .project-arrow { top: 24px; right: 24px; }
  .footer { flex-direction: column; gap: 8px; padding: 24px 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
