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

/* ── THEMES ─────────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #1a1a1a;
  --surface3: #222;
  --accent: #5b4af5;
  --accent2: #8b7aff;
  --text: #f0f0f0;
  --text2: rgba(240, 240, 240, 0.7);
  --muted: #666;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --hero-num-color: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(10, 10, 10, 0.85);
  --tag-bg: rgba(91, 74, 245, 0.12);
  --tag-border: rgba(91, 74, 245, 0.25);
  --tag-color: #8b7aff;
  --shadow: rgba(0, 0, 0, 0.4);
  --mobile-menu-bg: #0e0e0e;
  --card-bg: #161624;
  --slide-overlay: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
  --timeline-line: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface2: #ebebf0;
  --surface3: #e0e0e8;
  --accent: #4a38e8;
  --accent2: #6b5bf5;
  --text: #0d0d0d;
  --text2: rgba(13, 13, 13, 0.65);
  --muted: #888;
  --border: rgba(0, 0, 0, 0.07);
  --border2: rgba(0, 0, 0, 0.12);
  --hero-num-color: rgba(0, 0, 0, 0.07);
  --nav-bg: rgba(245, 245, 247, 0.88);
  --tag-bg: rgba(74, 56, 232, 0.08);
  --tag-border: rgba(74, 56, 232, 0.2);
  --tag-color: #4a38e8;
  --shadow: rgba(0, 0, 0, 0.1);
  --mobile-menu-bg: #ffffff;
  --card-bg: #e8e6ff;
  --slide-overlay: linear-gradient(to top, rgba(10, 6, 40, .82) 0%, rgba(10, 6, 40, .3) 55%, transparent 100%);
  --timeline-line: rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

/* ── NOISE ───────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

/* ── CURSOR (desktop only) ───────────────────────────── */
.cursor,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
  }

  .cursor-ring {
    display: block;
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(91, 74, 245, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
  }
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 52px;
  z-index: 200;
  background: transparent;

  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, padding 0.4s, background 0.35s;
}

nav.scrolled {
  border-color: var(--border);
  padding: 16px 52px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  z-index: 201;
}

.nav-logo span {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent2);
}

/* Theme toggle */
.theme-btn {
  width: 54px;
  height: 32px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: 18px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}

.theme-btn::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

[data-theme="light"] .theme-btn::after {
  transform: translateX(22px);
}

.theme-icon {
  font-size: 11px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.theme-icon.moon {
  left: 7px;
}

.theme-icon.sun {
  right: 7px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 201;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--mobile-menu-bg);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
  transform: translateY(20px);
  opacity: 0;
  transition: color 0.3s, transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.open a {
  opacity: 1;
  transform: none;
}

.mobile-menu.open a:nth-child(1) {
  transition-delay: 0.05s;
}

.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.15s;
}

.mobile-menu.open a:nth-child(4) {
  transition-delay: 0.2s;
}

.mobile-menu.open a:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu-bottom {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 24px;
}

.mobile-menu-bottom a {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: var(--muted) !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  padding: 0 52px;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(91, 74, 245, 0.11) 0%, transparent 70%);
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

[data-theme="light"] .hero-glow {
  opacity: 0.5;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.8;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
  }
}

.side-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 110px;
}

.side-label-inner {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 10px;
  background: var(--accent);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  opacity: 0;
  animation: fadeInLeft 0.8s 1.2s forwards;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.3s forwards;
}

.hero-num {
  font-size: 72px;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1;
  color: var(--hero-num-color);
  letter-spacing: 0.02em;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-weight: 300;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.5s forwards;
}

.hero-title-bold {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInUp 0.7s 0.65s forwards;
}

.hero-sub {
  font-size: clamp(13px, 2vw, 15px);
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 10px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.75s forwards;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text2);
  max-width: 420px;
  margin-top: 24px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.88s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s 1s forwards;
}

.btn-primary {
  padding: 13px 30px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(91, 74, 245, 0.45);
}

.btn-ghost {
  padding: 13px 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

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

.btn-ghost-arrow {
  width: 32px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s;
}

.btn-ghost-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn-ghost:hover .btn-ghost-arrow {
  width: 48px;
}

/* HERO SHOWCASE (SWIPER) */
.hero-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px 40px;
  z-index: 1;
  gap: 12px;
  height: fit-content;
}

.hero-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeInUp 0.7s 1.1s forwards;
}

.hero-showcase-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-proj-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  flex: none;
}

.hero-proj-tab {
  padding: 6px 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  transition: background 0.3s, color 0.3s;
}

.hero-proj-tab.active {
  background: var(--accent);
  color: white;
}

.hero-proj-tab:not(.active):hover {
  background: var(--surface2);
  color: var(--text);
}

.hero-viewer {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  opacity: 0;
  animation: fadeInUp 0.8s 1.15s forwards;
  flex: 1;
  min-height: 0;
}

.hero-viewer-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-viewer-slide {
  min-width: 100%;
  position: relative;
}

.hero-viewer-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 32/17;
}

.hero-viewer-overlay {
  position: absolute;
  inset: 0;
  /* background: var(--slide-overlay); */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
}

.hero-viewer-proj {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 3px;
}

.hero-viewer-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: #fff;
}

.hero-viewer-caption {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.hero-viewer-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 4;
}

.hero-viewer-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.08s linear;
}

.hero-viewer-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px;
  z-index: 3;
  pointer-events: none;
}

.hero-viewer-arrow {
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  color: white;
  font-size: 12px;
  transition: background 0.25s, transform 0.2s;
}

.hero-viewer-arrow:hover {
  background: var(--accent);
  transform: scale(1.12);
}

.hero-thumbs {
  display: flex;
  overflow-x: scroll;
  gap: 7px;
  margin-top: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s 1.25s forwards;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  cursor: grab;
  user-select: none;
  /* Prevents text selection while dragging */
}

.hero-thumbs::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.hero-thumbs.active {
  cursor: grabbing;
  scroll-behavior: auto;
}

.hero-thumb {
  flex: none;
  aspect-ratio: 16/9;
  width: 28%;
  border-radius: 5px;
  overflow-x: hidden;
  background: var(--card-bg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.25s;
  position: relative;
}

.hero-thumb:hover {
  transform: translateY(-2px);
}

.hero-thumb.active {
  border-color: var(--accent);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-thumb-label {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: flex-end;
  padding: 5px;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-thumb:hover .hero-thumb-label,
.hero-thumb.active .hero-thumb-label {
  opacity: 1;
}

.hero-thumb-label span {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeInUp 0.7s 1.4s forwards;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2.5s 1.5s infinite;
}

@keyframes scrollLine {
  0% {
    left: -100%
  }

  100% {
    left: 100%
  }
}

/* ── SECTIONS ────────────────────────────────────────── */
.section {
  padding: 110px 52px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 72px;
}

.section-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 110px;
  line-height: 0.85;
  color: var(--hero-num-color);
  letter-spacing: 0.02em;
  user-select: none;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

/* ── ABOUT ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text2);
  margin-bottom: 20px;
}

.about-text p:first-child {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.about-contact-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.about-contact-row a {
  font-size: 12px;
  color: var(--accent2);
  text-decoration: none;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

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

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 44px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  opacity: .95;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.stat-card:hover {
  border-color: rgba(91, 74, 245, 0.3);
}

.stat-card:hover::before {
  height: 100%;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-portrait {
  position: relative;
}

.portrait-frame {
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  max-width: 360px;
}

.portrait-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1535 0%, #0e0e1e 60%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .portrait-inner {
  background: linear-gradient(160deg, #ddd8ff 0%, #ebe8ff 60%, #f5f5ff 100%);
}

.portrait-tag {
  position: absolute;
  bottom: 24px;
  left: -18px;
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 3px;
}

.portrait-corner {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 70px;
  height: 70px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  border-radius: 0 4px 0 0;
}

/* ── EXPERIENCE - TIMELINE STYLE ── */
.exp-section {
  background: var(--surface);
}

.experience-container {
  max-width: 100%;
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-date-col {
  min-width: 140px;
  text-align: right;
}

.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline-month {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--timeline-line);
  margin-top: 8px;
  min-height: 60px;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content-col {
  flex: 1;
  padding-bottom: 20px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.timeline-subtitle {
  font-size: 13px;
  color: var(--accent2);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.timeline-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text2);
  max-width: 90%;
}

.timeline-desc ul {
  list-style: none;
  padding-left: 0;
}

.timeline-desc li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.timeline-desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* ── SKILLS ──────────────────────────────────────────── */
.skills-section {
  background: var(--surface);
  padding: 50px 52px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.skill-card {
  background: var(--surface);
  padding: 40px 32px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  
}

.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 74, 245, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-card:hover {
  background: var(--surface2);
}

.skill-card:hover::after {
  opacity: 1;
}

.skill-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}

.skill-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.skill-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  padding: 4px 9px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tag-color);
}

/* Tech stack row */
.tech-marquee {
  margin-top: 48px;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  /* fade the icons in/out at the edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.tech-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: techScroll 45s linear infinite;
  will-change: transform;
}

.tech-marquee:hover .tech-track {
  animation-play-state: paused;
}

.tech-item {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* fixed box → even gaps regardless of each glyph's width */
  width: clamp(70px, 8vw, 104px);
  /* trailing space per item keeps the two duplicated sets evenly
     spaced, so translateX(-50%) loops seamlessly */
  margin-right: clamp(26px, 3.5vw, 52px);
  color: var(--text2);
  transition: color 0.3s, transform 0.3s;
}

.tech-item i {
  /* icon size scales with the viewport */
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
}

.tech-item span {
  font-size: clamp(9px, 0.85vw, 11px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.3s;
}

.tech-item:hover {
  color: var(--accent2);
  transform: translateY(-5px) scale(1.06);
}

.tech-item:hover span {
  color: var(--accent2);
}

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

@media (prefers-reduced-motion: reduce) {
  .tech-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 24px;
  }
}

/* ── PROJECTS (UPDATED) ────────────────────────── */
.work-section {
  padding: 110px 52px;
}

.proj-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  width: fit-content;
}

.proj-tab {
  padding: 11px 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  transition: background 0.3s, color 0.3s;
}

.proj-tab.active {
  background: var(--accent);
  color: white;
}

.proj-tab:not(.active):hover {
  background: var(--surface2);
  color: var(--text);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
  opacity: .85;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.proj-card:hover {
  border-color: rgba(91, 74, 245, 0.38);
  box-shadow: 0 18px 56px rgba(91, 74, 245, 0.11);
}

.proj-ss {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  flex-shrink: 0;
}

.proj-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.proj-slide {
  min-width: 100%;
  position: relative;
}

.proj-slide img {
  width: 100%;
  aspect-ratio: 32/17;
  object-fit: cover;
  display: block;
}

.proj-actions {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.proj-card:hover .proj-actions {
  opacity: 1;
  visibility: visible;
}

.proj-actions-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.proj-actions-row .proj-action-btn {
  flex: 1;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}

.proj-action-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transform: translateY(8px);
  transition: background 0.25s, border-color 0.25s, transform 0.35s, filter 0.25s, color 0.25s;
}

.proj-card:hover .proj-action-btn {
  transform: translateY(0);
}

.proj-action-btn:hover {
  background: var(--surface2);
  border-color: var(--accent);
}

/* Primary button — wide, centered, on its own row */
.proj-action-btn.primary {
  width: 100%;
  padding: 11px 22px;
  font-size: 12px;
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(91, 74, 245, 0.4);
}

.proj-action-btn.primary:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  filter: brightness(1.12);
}

.proj-action-btn svg {
  flex-shrink: 0;
}

.proj-prog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.proj-prog-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.08s linear;
}

.proj-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 9px;
  z-index: 3;
  pointer-events: none;
}

.proj-arrow {
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  color: white;
  font-size: 11px;
  transition: background 0.25s, transform 0.2s;
  user-select: none;
}

.proj-arrow:hover {
  background: var(--accent);
  transform: scale(1.12);
}

.proj-dots {
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 3;
}

.proj-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.proj-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

.proj-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.8);
  z-index: 4;
  letter-spacing: 0.06em;
}

.proj-info {
  padding: 18px 20px 22px;
  position: relative;
}

.proj-info-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.proj-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}

.proj-name-main {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.proj-name-sub {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--muted);
}

.proj-links-row {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.proj-link {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.25s;
  flex-shrink: 0;
}

.proj-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: scale(1.1);
}

.proj-short-desc {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text2);
  margin-bottom: 12px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 9px;
}

/* ── CONTACT ─────────────────────────────────────────── */
.contact-section {
  padding: 110px 52px;
  background: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 74, 245, 0.09), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7.5vw, 92px);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 22px;
  position: relative;
}

.contact-title span {
  color: var(--accent2);
}

.contact-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 44px;
  line-height: 1.8;
  position: relative;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

.contact-link {
  padding: 15px 34px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s;
}

.contact-link.primary {
  background: var(--accent);
  color: white;
}

.contact-link.primary:hover {
  box-shadow: 0 14px 44px rgba(91, 74, 245, 0.45);
  transform: translateY(-2px);
}

.contact-link.secondary {
  border: 1px solid var(--border2);
  color: var(--muted);
}

.contact-link.secondary:hover {
  border-color: rgba(91, 74, 245, 0.5);
  color: var(--text);
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  padding: 28px 52px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer .logo {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

footer .logo span {
  color: var(--accent);
}

footer .copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

footer .socials {
  display: flex;
  gap: 20px;
}

footer .socials a {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
}

footer .socials a:hover {
  color: var(--accent2);
}


/* Performance optimizations for canvas */
.spiral-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  will-change: transform;
  /* GPU acceleration hint */
}

/* Force GPU acceleration */
.spiral-canvas {
  transform: translateZ(0);
  backface-visibility: hidden;
  opacity: 0.2;
}

/* Reduce opacity on light theme for better performance */
[data-theme="light"] .spiral-canvas {
  opacity: 0.3;
}

/* Optional: For very slow devices, reduce complexity even more */
@media (max-width: 768px) {
  .spiral-canvas {
    opacity: 0.2;
  }
}

/* Add will-change to sections that have canvas behind */
.hero,
.section {
  transform: translateZ(0);
}

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-16px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   RADIAL FAB
   ============================================ */
.fab-root {
  position: fixed;
  bottom: 92px;
  right: 32px;
  width: 56px;
  height: 56px;
  z-index: 1000;
}

.fab-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(91,74,245,0.3);
  opacity: 0;
  pointer-events: none;
}
.fab-ripple.animate {
  animation: fabRipple .55s ease-out forwards;
}
@keyframes fabRipple {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(3.8); opacity: 0; }
}

.fab-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .2s, transform .2s;
}

.fab-main {
  width: 56px;
  height: 56px;
  background: #5B4AF5;
  color: #fff;
  box-shadow: 0 4px 24px rgba(91,74,245,0.45);
  z-index: 20;
}
.fab-main:hover { transform: scale(1.07); }

.fab-main-icon {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.fab-main.open .fab-main-icon {
  transform: rotate(45deg);
}

.fab-child-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56px;
  height: 56px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}

.fab-child {
  width: 48px;
  height: 48px;
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
  transition: opacity .3s, transform .4s cubic-bezier(.34,1.56,.64,1), filter .2s;
}

.fab-child.open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.fab-child:hover { filter: brightness(1.12); }

.fab-gmail       { background: #EA4335; color: #fff; box-shadow: 0 4px 16px rgba(234,67,53,0.4); }
.fab-whatsapp    { background: #25D366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.fab-linkedin    { background: #0A66C2; color: #fff; box-shadow: 0 4px 16px rgba(10,102,194,0.4); }
.fab-contact-child { background: #5B4AF5; color: #fff; box-shadow: 0 4px 16px rgba(91,74,245,0.4); }

.fab-backtotop {
  background: #1a1a2e;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

[data-theme="light"] .fab-backtotop {
  background: #2c2c2c;
}

.fab-child.always-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.fab-label {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}

[data-theme="light"] .fab-label {
  background: rgba(0,0,0,0.65);
}

.fab-child-wrap:hover .fab-label { opacity: 1; }

@media (max-width: 480px) {
  .fab-root { bottom: 92px; right: 16px; }
  .contact-popup { right: 16px; bottom: 88px; width: calc(100vw - 32px); }
}

/* ============================================
   CONTACT POPUP
   ============================================ */
.contact-popup {
  position: fixed;
  bottom: 100px;
  right: 80px;
  width: 100%;
  max-width: 400px;
  background: var(--bg-secondary, #111);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-theme="light"] .contact-popup {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.contact-popup.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.contact-popup-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-popup-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 3px;
  opacity: 0.6;
}

.contact-popup-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 2px;
  opacity: 0.5;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-popup-close:hover { opacity: 1; }

.contact-popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.half {
 width: 50%;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.7;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
  outline: none;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: 0.35;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #5B4AF5;
  background: rgba(91,74,245,0.05);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5B4AF5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  width: 100%;
}

.btn-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-status {
  font-size: 12px;
  text-align: center;
  min-height: 18px;
}
.form-status.success { color: #22c55e; }
.form-status.error   { color: #ef4444; }

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

@media (max-width: 480px) {
  .contact-popup {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 90px;
  }
  .fab-stack { right: 16px; bottom: 24px; }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
 
  .hero-showcase {
    padding: 20px 0px 40px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 12px;
  }

  .timeline-date-col {
    text-align: left;
  }

  .timeline-line-col {
    display: none;
  }

  .about-grid {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  nav {
    padding: 18px 24px;
  }

  nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .theme-btn {
    margin-right: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 24px 0 24px;
  }

  .side-label {
    display: none;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 80px;
    justify-content: center;
  }

  .hero-num {
    font-size: 52px;
  }

  .scroll-indicator {
    left: 24px;
  }

  .section,
  .work-section,
  .contact-section,
  .skills-section {
    padding: 80px 24px;
  }

  .section-num {
    font-size: 80px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-portrait {
    display: none;
  }

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

  footer {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  footer .socials {
    justify-content: center;
  }

  .contact-title {
    font-size: clamp(38px, 10vw, 60px);
  }
}

@media (max-width: 480px) {
  nav {
    padding: 16px 20px;
  }

  .hero-title-bold {
    font-size: clamp(42px, 12vw, 60px);
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .proj-slide img {
    height: 185px;
  }
}