:root {
  --bg: #070b18;
  --bg-alt: #0d1225;
  --surface: rgba(12, 21, 40, 0.82);
  --surface-soft: rgba(15, 26, 52, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #00C2FF;
  --accent2: #7c6fff;
  --text: #e9f2ff;
  --muted: #8ca3c8;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
  --radius: 24px;
  --radius-sm: 14px;
  --transition: 0.3s ease;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background-image: url('images/space.jpg'),
                    radial-gradient(circle at top, rgba(93, 225, 255, 0.08), transparent 20%),
                    radial-gradient(circle at 80% 0%, rgba(124, 111, 255, 0.14), transparent 18%),
                    linear-gradient(180deg, #081024 0%, #070b18 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

img,
video,
canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  color: inherit;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(93, 225, 255, 0.36);
  outline-offset: 3px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 15%, rgba(93, 225, 255, 0.12), transparent 12%),
              radial-gradient(circle at 85% 20%, rgba(124, 111, 255, 0.10), transparent 15%);
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.main-layout {
  padding-top: 80px;
}

.section-title {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-label {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.section-label::before {
  content: '';
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
  transition: width 0.4s ease 0.2s;
}

.section-title.visible .section-label::before {
  width: 24px;
}

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-copy {
  color: var(--muted);
  line-height: 1.9;
}

.grid-two {
  display: grid;
  gap: 48px;
}

.grid-three {
  display: grid;
  gap: 24px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
  padding: 14px 34px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(10, 20, 45, 0.24);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  border: 1px solid rgba(93, 225, 255, 0.34);
  padding: 14px 34px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
}

/* NAVIGATION ============================================================ */
#nav {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 80px;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  background: transparent;
}

#nav.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  width: min(1140px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 24, 0.99);
  backdrop-filter: blur(14px);
  padding: 88px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 32px;
  z-index: 1500;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-links {
  display: grid;
  gap: 26px;
}

.mobile-links a {
  font-size: 1.4rem;
  color: var(--white);
}

/* HERO ============================================================ */
#hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 0 24px;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: -20% 30% 20% -10%;
  background: radial-gradient(circle, rgba(93, 225, 255, 0.16), transparent 35%);
  filter: blur(90px);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 15% -20% 10% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 111, 255, 0.12), transparent 45%);
  filter: blur(70px);
  pointer-events: none;
}

#starfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 24, 0.25), rgba(7, 11, 24, 0.92));
}

.hero-content {
  position: relative;
  width: min(1050px, 100%);
  display: grid;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.3vw, 13px);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  white-space: nowrap;
  display: block;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
  white-space: nowrap;
}

.hero-title .word.word-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.hero-title .cursor {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: baseline;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), background var(--transition);
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(93, 225, 255, 0.14);
}

.hero-scroll {
  margin: 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  position: relative;
}

.hero-scroll::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.12);
  animation: bounce-dot 1.4s ease-in-out infinite;
}

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

@keyframes bounce-dot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ABOUT ============================================================ */
#about {
  padding: clamp(70px, 10vw, 130px) 0;
}

.about-grid {
  display: grid;
  gap: 42px;
}

.about-copy p {
  margin: 0 0 22px;
  color: var(--muted);
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  position: relative;
  overflow: visible;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%);
  pointer-events: none;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(93, 225, 255, 0.24);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04);
  object-fit: cover;
  position: absolute;
  top: -90px;
  right: 30px;
  background: var(--border);
}

.about-card-content {
  margin-top: 110px;
  display: grid;
  gap: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  align-items: start;
}

.info-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* SKILLS ============================================================ */
#skill {
  padding: clamp(70px, 10vw, 130px) 0;
}

.skills-grid {
  display: grid;
  gap: 44px;
}

.skill-item {
  display: grid;
  gap: 12px;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-weight: 600;
}

.skill-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 40%, #7EEEFF 50%, var(--accent) 60%);
  background-size: 200% auto;
  border-radius: inherit;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item.visible .skill-fill {
  width: var(--fill, 0%);
  animation: shimmer 0.8s ease 1.2s 1 forwards;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.skill-group {
  display: grid;
  gap: 14px;
}

.skill-group-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.2);
}

/* PORTFOLIO ============================================================ */
#portfolio {
  padding: clamp(70px, 10vw, 130px) 0;
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.portfolio-tab {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.portfolio-tab.active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
}

.tab-indicator {
  display: none;
}

.portfolio-panel {
  display: none;
}

.portfolio-panel.active {
  display: block;
}

.project-grid {
  display: grid;
  gap: 28px;
}

.project-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: auto;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 194, 255, 0.12);
  border-color: rgba(0, 194, 255, 0.3);
  will-change: transform, box-shadow;
}

.project-media {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
}

.project-media video,
.project-media img,
.project-media iframe {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-media.video-preview a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.project-media.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media.video-preview .video-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.88);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.project-media.video-preview .video-badge::before {
  content: '\25B6';
  display: inline-block;
  font-size: 0.9rem;
}

.project-media.video-placeholder {
  cursor: pointer;
}

.project-media.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media.video-placeholder .video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: rgba(0, 127, 255, 0.92);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.project-media.video-placeholder .video-play-button:hover {
  background: rgba(67, 167, 255, 0.98);
}

.project-media.video-placeholder iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
}

.project-body {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.project-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.project-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.97rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tag {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent2);
}

.project-action {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.project-action button {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 10px 14px;
  border: 1px solid rgba(93, 225, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.cert-grid {
  display: grid;
  gap: 24px;
}

.highlights-grid {
  columns: 3 220px;
  column-gap: 16px;
}

.cert-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.highlight-card {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  display: block;
  height: auto;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.cert-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: var(--surface);
}

.highlight-card img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  background: var(--surface);
  border-radius: 12px;
  transition: transform 0.4s ease;
  transform-origin: center;
}

.highlight-card:hover img {
  transform: scale(1.04);
}

.cert-label,
.highlight-caption {
  padding: 22px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.highlight-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  border-radius: 0 0 12px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.highlight-card:hover .highlight-caption,
.highlight-card:focus-within .highlight-caption {
  opacity: 1;
  transform: translateY(0);
}

.proud-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proud-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.proud-media video {
  width: 85%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.proud-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.proud-copy .project-copy {
  font-size: 1rem;
}

/* EXPERIENCE ============================================================ */
#experience {
  padding: clamp(70px, 10vw, 130px) 0;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(93, 225, 255, 0.25);
  height: var(--line-progress, 0%);
  transition: height 0.1s linear;
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 20px;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 3px solid #070b18;
}

.timeline-item.visible::before {
  animation: dot-pulse 0.6s ease-out forwards;
}

@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(0, 194, 255, 0); }
}

.timeline-date {
  font-family: var(--font-mono);
  color: var(--muted);
  margin: 0 0 10px;
}

.timeline-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.timeline-role {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-body {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.timeline-education {
  margin-top: 58px;
  padding-left: 0;
}

.timeline-education::before {
  background: rgba(124, 111, 255, 0.18);
}

.timeline-education .timeline-item::before {
  background: linear-gradient(135deg, var(--accent2), rgba(124, 111, 255, 0.8));
}

/* CONTACT ============================================================ */
#contact {
  padding: clamp(70px, 10vw, 130px) 0 140px;
}

.contact-grid {
  display: grid;
  gap: 36px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-card form {
  display: grid;
  gap: 22px;
}

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-field label {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  color: var(--text);
  padding: 16px 18px;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.15);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  width: 20px;
  height: 20px;
  animation: ripple 0.5s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

.contact-info {
  display: grid;
  gap: 24px;
}

.contact-info-item {
  display: grid;
  gap: 10px;
}

.contact-info-item span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.contact-info-item strong {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 0.98rem;
}

.contact-socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOOTER ============================================================ */
footer {
  padding: 42px 24px 62px;
  background: transparent;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-copy {
  font-size: 0.95rem;
}

/* Responsive ============================================================ */
@media (min-width: 1120px) {
  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 880px) {
  .grid-two,
  .project-grid,
  .cert-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    columns: 2 160px;
    column-gap: 14px;
  }

  .portfolio-tabs {
    gap: 12px;
  }

  .portfolio-tab {
    flex: 1 1 auto;
    min-width: 135px;
    padding: 12px 18px;
  }

  .about-card {
    padding-top: 110px;
  }

  .about-photo {
    position: static;
    margin: 0 auto -80px;
  }

  .project-body {
    padding: 22px;
  }

  .project-tags {
    gap: 8px;
  }

  .project-action {
    justify-content: stretch;
  }

  .project-action button {
    width: 100%;
    justify-content: center;
  }

  .proud-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .hero-content {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .highlights-grid {
    columns: 1 100%;
  }

  .portfolio-tabs {
    gap: 10px;
  }

  .portfolio-tab {
    flex-basis: calc(50% - 5px);
    min-width: 0;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item::before {
    left: -14px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    white-space: normal;
  }

  .hero-title .word {
    display: inline;
    white-space: nowrap;
  }

  .hero-title .word:nth-child(3) {
    display: block;
    margin-top: 0.1em;
  }
}

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

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .about-card {
    padding: 24px 20px 24px;
  }

  .project-body {
    padding: 20px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .section-heading {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
}
