/* ================================================
   ABRAHAMBUILDS.DEV — Light Fun Edition
   ================================================ */

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

:root {
  --primary: #0D9488;
  --primary-light: #14b8a6;
  --primary-dark: #0f766e;
  --primary-glow: rgba(13, 148, 136, 0.25);
  --primary-ghost: rgba(13, 148, 136, 0.07);
  --primary-ghost-strong: rgba(13, 148, 136, 0.12);
  --accent: #F59E0B;
  --accent-light: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.2);
  --purple: #8b5cf6;
  --pink: #ec4899;
  --bg: #FAFAF9;
  --bg-alt: #f0f9f8;
  --bg-card: #ffffff;
  --text: #1C1917;
  --text-secondary: #57534e;
  --text-tertiary: #a8a29e;
  --border: #e7e5e4;
  --border-hover: rgba(13, 148, 136, 0.3);
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 4px 20px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 8px 40px rgba(28, 25, 23, 0.1);
  --shadow-fun: 0 8px 30px rgba(13, 148, 136, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Sora', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Dark section tokens */
  --bg-dark: #111827;
  --bg-dark-card: rgba(255, 255, 255, 0.05);
  --bg-dark-card-hover: rgba(255, 255, 255, 0.08);
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  --text-on-dark: #f0f0f0;
  --text-on-dark-secondary: rgba(255, 255, 255, 0.65);
  --shadow-dark-glow: 0 0 30px rgba(13, 148, 136, 0.15);

  /* Accent section tokens */
  --bg-accent-gradient: linear-gradient(135deg, #0a3d38, #0d5c52);
  --text-on-accent: #ffffff;
  --text-on-accent-secondary: rgba(255, 255, 255, 0.75);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  width: 100%;
  min-height: 100%;
}

/* Fun scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 4px;
}

::selection { background: var(--primary); color: #fff; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
  position: relative;
}

.site-wrapper {
  overflow-x: clip;
}

/* --- Floating Shapes Canvas --- */
#shapesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Wave Dividers --- */
.wave-divider {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 40px;
  display: block;
}

.wave-divider--flip {
  transform: scaleY(-1);
  margin-top: 0;
  margin-bottom: -1px;
}

/* --- Section Headers --- */
.section__header { margin-bottom: 40px; }

.section__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section__label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -1px;
}

/* --- Dark Section Utility --- */
.section--dark {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(13, 148, 136, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section--dark .section__label {
  color: var(--primary-light);
}

.section--dark .section__title {
  color: var(--text-on-dark);
}

.section--dark .gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--dark .glass-card {
  background: var(--bg-dark-card);
  border-color: var(--bg-dark-border);
}

.section--dark .glass-card:hover {
  background: var(--bg-dark-card-hover);
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-dark-glow);
}

.section--dark a {
  color: var(--primary-light);
}

/* --- Accent Section Utility --- */
.section--accent {
  background: var(--bg-accent-gradient);
  color: var(--text-on-accent);
}

.section--accent .section__label {
  color: var(--accent-light);
}

.section--accent .section__label::before {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.section--accent .section__title {
  color: var(--text-on-accent);
}

.section--accent .gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Cards --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--bounce);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-fun);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--bounce);
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px var(--primary-glow);
}

.btn--primary:hover::before { opacity: 1; }

.btn--primary span,
.btn--primary svg { position: relative; z-index: 1; }

.btn--glass {
  background: var(--bg-card);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--glass:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px var(--primary-glow);
}

.btn--full { width: 100%; }

/* --- Bounce-in Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s var(--bounce);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav__logo span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__logo:hover { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 60px;
  transition: all var(--transition);
}

.nav__links a:hover { color: var(--primary); background: var(--primary-ghost); }

.nav__links a.is-active {
  color: var(--primary);
  background: var(--primary-ghost);
}

.nav__cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  padding: 8px 22px !important;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.nav__cta:hover {
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 4px 16px var(--primary-glow) !important;
  color: #fff !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

/* Animated soft blobs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: blobFloat 10s ease-in-out infinite;
}

.hero__glow--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12), transparent 70%);
  top: -80px;
  right: -60px;
}

.hero__glow--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  bottom: -40px;
  left: -80px;
  animation-delay: -4s;
}

.hero__glow--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: -7s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -25px) scale(1.05); }
  50% { transform: translate(-15px, 15px) scale(0.95); }
  75% { transform: translate(25px, 10px) scale(1.02); }
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(13, 148, 136, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black, transparent);
  pointer-events: none;
}

.hero__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 60px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: badgeBounce 3s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__name {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero__title {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero__separator { color: var(--accent); margin: 0 6px; }

.hero__body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__resume-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero__resume-link:hover {
  color: var(--primary);
}

/* ================================================
   STATS BAR
   ================================================ */
.stats {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  background: var(--bg-alt);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  transition: transform 0.4s var(--bounce);
}

.stat:hover {
  transform: scale(1.08);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.2;
}

.stat__label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* Hero Image */
.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-frame {
  width: 320px;
  height: 380px;
  background: linear-gradient(135deg, #e0f7f5, #fef3c7);
  border-radius: var(--radius-xl);
  border: 3px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  animation: frameFloat 5s ease-in-out infinite;
}

@keyframes frameFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.hero__headshot {
  width: 115%;
  height: 115%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: inherit;
}

/* --- Corner Mascot --- */
.corner-mascot {
  position: absolute;
  bottom: 60px;
  right: 32px;
  width: 120px;
  z-index: 2;
  animation: mascotFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.corner-mascot svg {
  width: 100%;
  height: auto;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Floating code symbols */
.char-float { animation: charSymbolFloat 4s ease-in-out infinite; }
.char-float--1 { animation-delay: 0s; }
.char-float--2 { animation-delay: -1s; }
.char-float--3 { animation-delay: -2s; }
.char-float--4 { animation-delay: -0.5s; }
.char-float--5 { animation-delay: -3s; }

@keyframes charSymbolFloat {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* Typing arms */
.char-arm--left { animation: typeLeft 0.6s ease-in-out infinite; transform-origin: 130px 255px; }
.char-arm--right { animation: typeRight 0.6s ease-in-out infinite 0.3s; transform-origin: 190px 255px; }

@keyframes typeLeft {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-1.5deg) translateY(-1px); }
}

@keyframes typeRight {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.5deg) translateY(-1px); }
}

/* Screen cursor blink */
.screen-cursor { animation: cursorBlink 1s step-end infinite; }

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Code lines typing effect */
.code-line { animation: codePulse 3s ease-in-out infinite; }
.code-line--1 { animation-delay: 0s; }
.code-line--2 { animation-delay: 0.5s; }
.code-line--3 { animation-delay: 1s; }
.code-line--4 { animation-delay: 1.5s; }
.code-line--5 { animation-delay: 2s; }

@keyframes codePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Eye blink */
.char-eyes { animation: eyeBlink 3.5s ease-in-out infinite; }

@keyframes eyeBlink {
  0%, 94%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.1); }
}

/* Coffee steam */
.coffee-steam--1 { animation: steamRise 2s ease-out infinite; }
.coffee-steam--2 { animation: steamRise 2s ease-out infinite 0.7s; }

@keyframes steamRise {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-12px); }
}

/* Plant + coffee gentle bob */
.char-float--coffee { animation: gentleBob 5s ease-in-out infinite; }
.char-float--plant { animation: gentleBob 5s ease-in-out infinite -2.5s; }

@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* ================================================
   SECTION MASCOTS
   ================================================ */
.section-mascot {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: mascotFloat 4s ease-in-out infinite;
}

.section-mascot svg {
  width: 100%;
  height: auto;
}

/* About — bottom-right, pencil character */
.section-mascot--about {
  bottom: 30px;
  right: 24px;
  width: 90px;
}

/* Work — top-right, rocket */
.section-mascot--work {
  top: 80px;
  right: 24px;
  width: 70px;
  animation-delay: -1s;
}

/* Programs — bottom-right, lightbulb */
.section-mascot--programs {
  bottom: 30px;
  right: 24px;
  width: 75px;
  animation-delay: -2s;
}

/* Skills — bottom-left, gear/wrench */
.section-mascot--skills {
  bottom: 20px;
  left: 24px;
  width: 80px;
  animation-delay: -0.5s;
}

/* Contact — bottom-right, paper plane */
.section-mascot--contact {
  bottom: 30px;
  right: 24px;
  width: 90px;
  animation-delay: -3s;
}

/* Pencil writing animation */
.pencil-write {
  animation: pencilWrite 1.5s ease-in-out infinite;
  transform-origin: 56px 80px;
}

@keyframes pencilWrite {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(-2deg) translateX(-2px); }
  75% { transform: rotate(2deg) translateX(2px); }
}

/* Rocket fly animation */
.rocket-fly {
  animation: rocketHover 2s ease-in-out infinite;
}

@keyframes rocketHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.rocket-flame {
  animation: flameFlicker 0.3s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  0% { transform: scaleY(1) scaleX(1); opacity: 0.8; }
  100% { transform: scaleY(1.15) scaleX(0.9); opacity: 1; }
}

/* Lightbulb glow pulse */
.bulb-glow {
  animation: bulbPulse 2s ease-in-out infinite;
}

@keyframes bulbPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Gear spin */
.gear-spin {
  animation: gearRotate 8s linear infinite;
  transform-origin: 50px 40px;
}

@keyframes gearRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Wrench wiggle */
.wrench-wiggle {
  animation: wrenchWiggle 3s ease-in-out infinite;
  transform-origin: 21px 72px;
}

@keyframes wrenchWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
}

/* Paper plane fly */
.plane-fly {
  animation: planeBob 3s ease-in-out infinite;
}

@keyframes planeBob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(4px, -5px) rotate(-3deg); }
  66% { transform: translate(-2px, -2px) rotate(2deg); }
}

.plane-trail {
  animation: trailFade 2s ease-in-out infinite;
}

@keyframes trailFade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Orbit animation */
.hero__orbit {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px dashed rgba(13, 148, 136, 0.1);
  animation: orbitSpin 25s linear infinite;
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }

.hero__orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero__orbit-dot--1 {
  top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.hero__orbit-dot--2 {
  bottom: 15%; right: 0; transform: translate(50%, 50%);
  background: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.hero__orbit-dot--3 {
  bottom: 15%; left: 0; transform: translate(-50%, 50%);
  background: var(--purple);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* Floating info cards */
.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 60px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.hero__float-card svg { color: var(--primary); }

.hero__float-card--1 {
  top: 20px;
  right: -20px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero__float-card--2 {
  bottom: 40px;
  left: -30px;
  animation: floatCard 4s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid var(--text-tertiary);
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

.hero__scroll-indicator span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-tertiary);
}

/* ================================================
   ABOUT
   ================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.about__text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about__text strong { color: var(--text); font-weight: 600; }

.about__visual {
  position: sticky;
  top: 100px;
}

.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.about__image-frame:hover .about__image {
  transform: scale(1.03);
}

.about__image-caption {
  margin-top: 16px;
  padding: 20px 24px;
  text-align: center;
}

.about__highlight-accent {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About — Services Strip */
.about__services-strip {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.about__services-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.about__services-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.about__service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  position: relative;
}

.about__service-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.about__service-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -17px;
  width: 3px;
  height: 3px;
  background: var(--text-tertiary);
  border-radius: 50%;
}

/* ================================================
   PROGRAMS (WHAT I TEACH)
   ================================================ */
.programs .section__header {
  text-align: left;
}

.programs__intro {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 12px 0 0;
  text-align: left;
  line-height: 1.7;
}

.section--dark .programs__intro {
  color: var(--text-on-dark-secondary);
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  padding: 36px;
  padding-left: 39px;
  position: relative;
  overflow: clip;
  cursor: default;
  transition: transform 0.4s var(--bounce), border-color var(--transition), box-shadow 0.4s ease;
}

.program-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.program-card__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(13, 148, 136, 0.05), transparent 50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.program-card:hover .program-card__glow { opacity: 1; }

.program-card__age-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 60px;
}

.program-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e0f7f5, #ccfbf1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.4s var(--bounce);
}

.program-card:hover .program-card__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.program-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.program-card__subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.program-card__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.program-card__outcome {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-ghost);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

.program-card__outcome svg {
  flex-shrink: 0;
}

.programs__cta {
  text-align: center;
  margin-top: 48px;
}

.programs__cta p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Particles canvas */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Programs dark mode overrides */
.section--dark .program-card {
  background: var(--bg-dark-card);
  border-color: var(--bg-dark-border);
  backdrop-filter: blur(12px);
}

.section--dark .program-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 0 40px rgba(13, 148, 136, 0.12), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.section--dark .program-card__glow {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(13, 148, 136, 0.12), transparent 50%);
}

.section--dark .program-card__icon {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(13, 148, 136, 0.1));
  color: var(--primary-light);
}

.section--dark .program-card__title {
  color: var(--text-on-dark);
}

.section--dark .program-card__subtitle {
  color: var(--text-on-dark-secondary);
}

.section--dark .program-card__body {
  color: var(--text-on-dark-secondary);
}

.section--dark .program-card__outcome {
  background: rgba(13, 148, 136, 0.12);
  color: var(--primary-light);
}

.section--dark .programs__cta p {
  color: var(--text-on-dark-secondary);
}

/* ================================================
   TAGS (shared)
   ================================================ */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: linear-gradient(135deg, #e0f7f5, #ccfbf1);
  padding: 5px 14px;
  border-radius: 60px;
  transition: all 0.3s var(--bounce);
}

.tag--dark {
  color: var(--primary-light);
  background: rgba(13, 148, 136, 0.15);
}

/* ================================================
   SELECTED WORK (Dark Section)
   ================================================ */

/* Featured Project — full width, image left + text right */
.work__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.work__featured-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work__featured-img {
  width: auto;
  max-width: 100%;
  max-height: 400px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.work__featured-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.work__featured-strip img {
  height: 160px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}

.work__featured-strip img:hover {
  opacity: 1;
  transform: scale(1.03);
}

.work__featured-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work__featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work__featured-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.3;
}

.work__featured-text {
  font-size: 15px;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
}

.work__featured-outcome {
  font-size: 14px;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  padding: 16px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.work__featured-outcome strong {
  color: var(--primary-light);
}

.work__featured-quote {
  font-style: italic;
  font-size: 14px;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(245, 158, 11, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.work__featured-quote span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
}

/* Spotlight Projects — 2 side by side */
.work__spotlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.work__spotlight {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  overflow: clip;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.work__spotlight:hover {
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-dark-glow);
}

.work__spotlight-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.work__spotlight-body {
  padding: 24px;
}

.work__spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.work__spotlight-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.work__spotlight-body p {
  font-size: 14px;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.work__spotlight-outcome strong {
  color: var(--primary-light);
}

.work__spotlight-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 24px 20px;
}

.work__spotlight-gallery img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}

.work__spotlight-gallery img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Compact Projects Row — 3 across */
.work__compact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work__compact-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.work__compact-card:hover {
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-dark-glow);
}

.work__compact-thumb {
  overflow: hidden;
}

.work__compact-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.work__compact-card:hover .work__compact-thumb img {
  transform: scale(1.05);
}

.work__compact-info {
  padding: 20px;
}

.work__compact-info .tag {
  margin-bottom: 10px;
}

.work__compact-info h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.work__compact-info p {
  font-size: 13px;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 40px;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.is-active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 36px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox__close:hover {
  opacity: 1;
}

/* ================================================
   SKILLS
   ================================================ */
.skills {
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: var(--bg);
}

.skills__grid { display: grid; gap: 20px; }

.skills__category {
  padding: 28px 32px;
}

.skills__category-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills__category-title svg { color: var(--primary); }

.skills__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.skills__design-samples {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.skills__design-samples img {
  height: 180px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  flex-shrink: 0;
  object-fit: contain;
}

.skills__tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  padding: 7px 16px;
  border-radius: 60px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--bounce);
  cursor: default;
}

.skills__tags span:hover {
  background: #e0f7f5;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ================================================
   TIMELINE
   ================================================ */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--border));
  border-radius: 2px;
}

.timeline__item { position: relative; margin-bottom: 32px; }
.timeline__item:last-child { margin-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: -48px;
  top: 28px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
  z-index: 1;
  transition: all 0.4s var(--bounce);
}

.timeline__item:hover .timeline__marker {
  transform: scale(1.3);
}

.timeline__marker-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0; transform: scale(2); }
}

.timeline__item:first-child .timeline__marker {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.timeline__marker--initial {
  width: 32px;
  height: 32px;
  left: -54px;
  top: 24px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__marker--initial::after {
  content: attr(data-initial);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.timeline__content {
  padding: 28px 32px;
}

.timeline__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.timeline__role {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 6px 0 4px;
}

.timeline__company { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }

.timeline__summary { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* Education */
.education-section {
  padding-top: 0;
}

.education {
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.education__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.education__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.education__item { padding: 22px 26px; }
.education__item h4 { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.education__item p { font-size: 14px; color: var(--text-secondary); }
.education__item p span { color: var(--text-tertiary); }

.education__item--cert {
  border-left: 4px solid;
  border-image: linear-gradient(to bottom, var(--accent), var(--primary)) 1;
}

/* ================================================
   TESTIMONIALS (Accent Section)
   ================================================ */
.testimonials__masonry {
  columns: 2;
  column-gap: 20px;
}

.testimonial-card {
  break-inside: avoid;
  padding: 28px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.testimonial-card--featured {
  border-left: 3px solid var(--accent-light);
}

.testimonial-card__quote { position: relative; margin-bottom: 24px; }

.testimonial-card__quote-icon {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  position: absolute;
  top: -12px;
  left: -4px;
  pointer-events: none;
}

.testimonial-card__quote p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-style: italic;
  padding-top: 24px;
}

.testimonial-card--featured .testimonial-card__quote p { font-size: 16px; }

.testimonial-card__author { display: flex; align-items: center; gap: 12px; }

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #0a3d38;
  flex-shrink: 0;
  transition: transform 0.4s var(--bounce);
}

.testimonial-card:hover .testimonial-card__avatar {
  transform: scale(1.15) rotate(-5deg);
}

.testimonial-card__author strong { font-size: 15px; color: #fff; display: block; }
.testimonial-card__author span { font-size: 13px; color: var(--accent-light); font-weight: 500; }

/* ================================================
   CONTACT
   ================================================ */
.contact .section__header {
  margin-bottom: 24px;
}

.contact__intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
  margin-top: 16px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__form { padding: 40px; }
.form__group { margin-bottom: 22px; }

.form__group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-ghost);
  background: #fff;
}

.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-tertiary); }

.form__group textarea { resize: vertical; min-height: 120px; }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
}

.contact__info-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact__info-item strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.contact__info-item a,
.contact__info-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  border-top: 1px solid var(--bg-dark-border);
  padding: 40px 0;
  background: #0a0f13;
  color: var(--text-on-dark-secondary);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer__logo span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; color: var(--text-on-dark-secondary); }
.footer__links a:hover { color: var(--primary-light); }
.footer__copy { font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ================================================
   RESPONSIVE
   ================================================ */
/* ---- Tablet (1024px) ---- */
@media (max-width: 1024px) {
  .hero__container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__body { max-width: 100%; margin: 0 auto 40px; }
  .hero__buttons { justify-content: center; }
  .hero__image-frame { width: 260px; height: 310px; margin: 0 auto; }
  .hero__orbit { width: 320px; height: 320px; }
  .hero__float-card--1 { right: 10%; }
  .hero__float-card--2 { left: 10%; }

  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; justify-items: center; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { position: static; max-width: 500px; margin: 0 auto; }
  .about__services-row { gap: 20px; }

  .work__featured { grid-template-columns: 1fr; }
  .work__spotlights { grid-template-columns: 1fr; }
  .work__compact-row { grid-template-columns: 1fr; }
  .work__featured-strip { flex-wrap: wrap; justify-content: center; }

  .programs__grid { grid-template-columns: repeat(2, 1fr); }

  .skills__grid { grid-template-columns: 1fr; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { max-width: 100%; }
}

/* ---- Mobile (768px) ---- */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section__header { margin-bottom: 32px; }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 249, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__links a { padding: 14px 18px; width: 100%; font-size: 15px; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Hero */
  .hero { min-height: auto; padding: 110px 0 50px; }
  .hero__name { font-size: 32px; letter-spacing: -1px; }
  .hero__scroll-indicator { display: none; }
  .hero__float-card { display: none; }
  .corner-mascot { width: 100px; bottom: 40px; right: 16px; }
  .hero__orbit { width: 280px; height: 280px; }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .stats__grid .stat:nth-child(4),
  .stats__grid .stat:nth-child(5) {
    grid-column: auto;
  }

  /* Section mascots — smaller on tablet/mobile */
  .section-mascot { width: 60px !important; opacity: 0.7; }
  .section-mascot--about { bottom: 10px; right: 12px; }
  .section-mascot--work { bottom: 15px; left: 12px; }
  .section-mascot--programs { bottom: 10px; right: 12px; }
  .section-mascot--skills { bottom: 10px; left: 12px; }
  .section-mascot--contact { bottom: 10px; right: 12px; }

  /* About */
  .about__services-row { flex-wrap: wrap; gap: 16px; }
  .about__service-item:not(:last-child)::after { display: none; }
  .about__image-caption { padding: 16px; }
  .about__highlight-accent { font-size: 16px; }

  /* Work */
  .work__featured { padding: 20px; gap: 24px; }
  .work__featured-title { font-size: 20px; }
  .work__featured-img { max-height: 280px; }
  .work__featured-strip { flex-wrap: wrap; justify-content: center; }
  .work__featured-strip img { height: 120px; }
  .work__spotlight-image img { height: 180px; }
  .work__spotlight-gallery { grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
  .work__spotlight-gallery img { height: 90px; }
  .work__compact-thumb img { height: 160px; }

  /* Programs */
  .programs__grid { grid-template-columns: 1fr; }
  .program-card { padding: 28px; padding-left: 31px; }

  /* Skills */
  .skills__grid { grid-template-columns: 1fr 1fr; }
  .skills__category { padding: 16px 20px; }
  .skills__category-title { font-size: 14px; margin-bottom: 10px; }
  .skills__tags span { font-size: 11px; padding: 4px 8px; }
  .skills__design-samples img { height: 100px; }

  /* Testimonials */
  .testimonials__masonry { columns: 1; }

  /* Experience */
  .timeline { padding-left: 36px; }
  .timeline__marker { left: -36px; width: 16px; height: 16px; }
  .timeline__marker--initial { width: 24px; height: 24px; left: -40px; }
  .timeline__marker--initial::after { font-size: 11px; }

  /* Education */
  .education__grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact .section__header { margin-bottom: 20px; }
  .contact__info-item { padding: 16px; }

  /* Footer */
  .footer__content { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }
}

/* ---- Small Mobile (480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }

  /* Hero */
  .hero { padding: 100px 0 40px; }
  .hero__name { font-size: 28px; }
  .hero__title { font-size: 13px; }
  .hero__body { font-size: 15px; margin-bottom: 28px; }
  .hero__buttons { flex-direction: column; width: 100%; }
  .hero__buttons .btn { width: 100%; }
  .hero__image-frame { width: 200px; height: 240px; }
  .corner-mascot { width: 80px; bottom: 20px; right: 12px; }
  .section-mascot { width: 50px !important; opacity: 0.5; }

  /* Stats */
  .stats { padding: 20px 0; }
  .stats { padding: 20px 0; }
  .stats__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
  }
  .stat { min-width: 80px; }
  .stat__number { font-size: 28px; }
  .stat__label { font-size: 12px; }
  .stat__number { font-size: 28px; }
  .stat__label { font-size: 12px; }

  /* About */
  .about__text p { font-size: 14px; }
  .about__services-strip { margin-top: 32px; padding-top: 24px; }
  .about__service-item { font-size: 13px; }
  .about__service-item svg { width: 18px; height: 18px; }

  /* Work */
  .work__featured { padding: 16px; gap: 16px; }
  .work__featured-title { font-size: 18px; }
  .work__featured-text { font-size: 14px; }
  .work__featured-img { max-height: 220px; }
  .work__featured-strip img { height: 90px; }
  .work__featured-outcome { font-size: 13px; }
  .work__featured-quote { font-size: 13px; padding: 12px 16px; }
  .work__spotlight-body { padding: 16px; }
  .work__spotlight-body p { font-size: 13px; }
  .work__spotlight-title { font-size: 17px; }
  .work__spotlight-image img { height: 150px; }
  .work__spotlight-gallery { padding: 0 12px 12px; }
  .work__spotlight-gallery img { height: 70px; }
  .work__compact-row { gap: 16px; }
  .work__compact-thumb img { height: 140px; }
  .work__compact-info { padding: 16px; }
  .work__compact-info h4 { font-size: 15px; }

  /* Programs */
  .programs__intro { font-size: 15px; }
  .program-card { padding: 24px; padding-left: 27px; }
  .program-card__title { font-size: 18px; }
  .program-card__body { font-size: 14px; }
  .program-card__outcome { font-size: 12px; padding: 10px 12px; }
  .program-card__icon { width: 48px; height: 48px; }

  /* Skills */
  .skills__grid { grid-template-columns: 1fr; }
  .skills__category { padding: 14px 16px; }
  .skills__category-title { font-size: 13px; margin-bottom: 8px; }
  .skills__tags span { font-size: 11px; padding: 4px 8px; }
  .skills__design-samples { gap: 6px; }
  .skills__design-samples img { height: 80px; }

  /* Education */
  .education__title { font-size: 18px; }
  .education__item { padding: 16px; }
  .education__item h4 { font-size: 14px; }
  .education__item p { font-size: 13px; }

  /* Testimonials */
  .testimonial-card { padding: 20px; }
  .testimonial-card__quote p { font-size: 14px; }
  .testimonial-card__quote-icon { font-size: 48px; }

  /* Experience */
  .timeline__content { padding: 20px; }
  .timeline__role { font-size: 16px; }
  .timeline__summary { font-size: 13px; }

  /* Contact */
  .contact__intro { font-size: 15px; }
  .contact__form { padding: 20px; }
  .contact__info-item { padding: 14px; }

  /* Footer */
  .footer { padding: 32px 0; }
  .footer__links { gap: 16px; }
}
