/* ============================================================
CSS VARIABLES
============================================================ */
:root {
  --background: #D3D3D3;
  --foreground: #09090B;
  --card: #FFFFFF;
  --card-foreground: #09090B;
  --secondary: #E0E0E0;
  --secondary-foreground: #09090B;
  --muted: #C0C0C0;
  --muted-foreground: #606060;
  --orange: #F97316;
  --orange-foreground: #FAFAFA;
  --orange-muted: #EA580C;
  --charcoal: #404040;
  --charcoal-light: #505050;
  --border: #B0B0B0;
  --input: #E0E0E0;
  --ring: #F97316;
  --radius: 0.5rem;
}

/* ============================================================
RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--background);
  background-image: url("https://img.freepik.com/free-photo/marble-stone-texture-background_632498-949.jpg?semt=ais_hybrid");
  background-repeat: repeat;
  background-size: auto;
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  cursor: pointer;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--charcoal-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

/* Selection */
::selection {
  background: rgba(249, 115, 22, 0.3);
  color: var(--foreground);
}

/* ============================================================
ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.5);
  }
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}

.animate-fade-in-up-delay-1 {
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 0.7s ease-out 0.30s both;
}

.animate-fade-in-up-delay-3 {
  animation: fadeInUp 0.7s ease-out 0.45s both;
}

.animate-fade-in-up-delay-4 {
  animation: fadeInUp 0.7s ease-out 0.60s both;
}

.animate-slide-in {
  animation: slideIn 0.5s ease-out both;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-bounce {
  animation: bounce 1.5s ease-in-out infinite;
}

/* Scroll-triggered fade-in for sections */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: 72rem; /* 1152px */
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ============================================================
HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(211, 211, 211, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--orange);
  color: var(--orange-foreground);
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}

.logo:hover .logo-badge {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.logo-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  display: none;
}

@media (min-width: 640px) {
  .logo-name {
    display: block;
  }
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--secondary);
  color: var(--foreground);
}

/* Header right side */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.hamburger-btn:hover {
  background-color: var(--secondary);
}

@media (min-width: 768px) {
  .hamburger-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.5rem 1rem 1rem;
}

.mobile-nav.open {
  display: block;
  animation: slideIn 0.3s ease-out both;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s, color 0.2s;
  display: block;
}

.mobile-nav-link:hover {
  background-color: var(--secondary);
  color: var(--foreground);
}

/* ============================================================
BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-orange {
  background-color: var(--orange);
  color: var(--orange-foreground);
}

.btn-orange:hover {
  background-color: var(--orange-muted);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.btn-outline {
  background-color: var(--secondary);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

/* Header resume button */
.resume-btn {
  display: none;
}

@media (min-width: 640px) {
  .resume-btn {
    display: inline-flex;
  }
}

/* Mobile resume button */
.mobile-resume-btn {
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  background-color: var(--orange);
  color: var(--orange-foreground);
  transition: background-color 0.2s;
  width: 100%;
}

.mobile-resume-btn:hover {
  background-color: var(--orange-muted);
}

/* ============================================================
DIVIDER
============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ============================================================
SECTION COMMONS
============================================================ */
.section {
  padding-block: 6rem;
  scroll-margin-top: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* ============================================================
HERO SECTION
============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  gap: 2rem;
  padding-block: 4rem;
  position: relative;
  text-align: center;
}

@media (min-width: 640px) {
  .hero {
    padding-block: 6rem;
  }
}

/* Profile photo */
.profile-photo-wrapper {
  position: relative;
}

.profile-glow {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--orange), var(--orange-muted));
  opacity: 0.75;
  filter: blur(12px);
  animation: pulse-glow 2s ease-in-out infinite;
}

.profile-photo {
  position: relative;
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid var(--charcoal-light);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

@media (min-width: 640px) {
  .profile-photo {
    width: 12rem;
    height: 12rem;
  }
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero text */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--orange);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-description {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-meta-item svg {
  color: var(--orange);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s ease-in-out infinite;
  display: none;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .scroll-indicator {
    display: block;
  }
}

.scroll-indicator svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================================
PROJECTS SECTION
============================================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.filter-btn {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--muted-foreground);
  transition: all 0.2s;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--foreground);
}

.filter-btn.active {
  background-color: var(--orange);
  border-color: var(--orange);
  color: var(--orange-foreground);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Project card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
}

.project-card.hidden {
  display: none;
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(60, 60, 60, 0.3);
}

.project-thumb-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-thumb-gradient {
  opacity: 1;
}

.project-thumb svg {
  width: 3.5rem;
  height: 3.5rem;
  transition: transform 0.5s ease-out;
}

.project-card:hover .project-thumb svg {
  transform: scale(1.1);
}

.project-body {
  padding: 1.25rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
  transition: color 0.3s;
}

.project-card:hover .project-title {
  color: var(--orange);
}

.project-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-skills {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.skill-badge {
  border-radius: 9999px;
  background-color: var(--secondary);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.3s, color 0.3s;
}

.project-card:hover .skill-badge {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--foreground);
}

.project-links {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.project-link:hover {
  color: var(--foreground);
}

.project-link.live {
  color: var(--orange);
}

.project-link.live:hover {
  color: var(--orange-muted);
}

.project-link svg {
  width: 1rem;
  height: 1rem;
}

/* Hover glow border */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  pointer-events: none;
}

.project-card:hover::after {
  border-color: rgba(249, 115, 22, 0.2);
}

.no-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 4rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================================
EXPERIENCE SECTION
============================================================ */
.experience-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.exp-col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.exp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  flex-shrink: 0;
}

.exp-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.exp-col-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Timeline */
.timeline {
  position: relative;
  margin-left: 1.25rem;
  border-left: 2px solid var(--charcoal-light);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -2.5625rem;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--orange);
  background-color: var(--background);
}

.timeline-dot-inner {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--orange);
}

/* Experience cards */
.exp-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.05);
}

.exp-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.exp-card-meta {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.exp-card-company {
  font-weight: 500;
  color: var(--orange);
}

.exp-card-sep {
  color: var(--muted-foreground);
}

.exp-card-location {
  color: var(--muted-foreground);
}

.exp-card-dates {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.exp-card-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.exp-card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.exp-bullet {
  margin-top: 0.5rem;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: var(--orange);
  flex-shrink: 0;
}

/* Right column stacked sections */
.exp-right-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Education, Awards, Volunteer cards */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  transition: border-color 0.3s;
}

.info-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
}

.info-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.info-card-sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--orange);
}

.info-card-loc {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.info-card-org-meta {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.info-card-desc {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ============================================================
SKILLS SECTION
============================================================ */
.skills-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-category-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.skill-category-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.skill-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  flex-shrink: 0;
}

.skill-cat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.skill-cat-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.skill-tag:hover,
.skill-tag:focus {
  border-color: var(--orange);
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

.skill-tag:active {
  transform: scale(0.95);
}

/* Skills summary */
.skills-summary {
  margin-top: 3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
  background-color: rgba(249, 115, 22, 0.05);
  padding: 1.5rem;
}

.skills-summary-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
}

.skills-summary-text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.skills-summary-text strong {
  color: var(--foreground);
  font-weight: 500;
}

/* ============================================================
CONTACT SECTION
============================================================ */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.05);
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  flex-shrink: 0;
  transition: background-color 0.3s, color 0.3s;
}

.contact-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-card:hover .contact-card-icon {
  background-color: var(--orange);
  color: var(--orange-foreground);
}

.contact-card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.contact-card-value {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Social links */
.contact-social-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-icon-btn:hover {
  border-color: var(--orange);
  background-color: var(--orange);
  color: var(--orange-foreground);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.form-input,
.form-textarea {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(96, 96, 96, 0.6);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
  outline: none;
}

.form-textarea {
  resize: none;
  min-height: 7.5rem;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--orange);
  color: var(--orange-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .form-submit {
    width: auto;
  }
}

.form-submit:hover {
  background-color: var(--orange-muted);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-submit svg {
  width: 1rem;
  height: 1rem;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 2px solid var(--orange-foreground);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

/* ============================================================
FOOTER
============================================================ */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.footer-inner {
  padding-block: 4rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Footer brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: var(--orange);
  color: var(--orange-foreground);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.footer-logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-logo-title {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-tagline {
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: var(--orange);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Footer columns */
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--orange);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-resume-btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--orange);
  color: var(--orange-foreground);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-resume-btn:hover {
  background-color: var(--orange-muted);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--secondary);
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social-icon-btn svg {
  width: 1rem;
  height: 1rem;
}

.footer-social-icon-btn:hover {
  background-color: var(--orange);
  color: var(--orange-foreground);
}

/* ============================================================
MODALS
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.modal-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.2s;
}

.modal-action-btn:hover {
  background-color: var(--orange);
  color: var(--orange-foreground);
  border-color: var(--orange);
}

.modal-action-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.modal-action-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  background-color: var(--orange);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-foreground);
  text-decoration: none;
  transition: background-color 0.2s;
}

.modal-action-dl:hover {
  background-color: var(--orange-muted);
}

.modal-action-dl svg {
  width: 0.875rem;
  height: 0.875rem;
}

.modal-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  transition: background-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background-color: var(--secondary);
  color: var(--foreground);
}

.modal-close-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-body {
  flex: 1;
  overflow: auto;
  background-color: var(--secondary);
  padding: 0.5rem;
}

@media (min-width: 640px) {
  .modal-body {
    padding: 1rem;
  }
}

.modal-iframe {
  width: 100%;
  height: 70vh;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
}

/* Skill Modal (smaller) */
.skill-modal {
  max-width: 32rem;
  max-height: 85vh;
}

.skill-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-modal-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.skill-modal-overview {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--foreground);
}

.skill-modal-exp-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-modal-exp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.skill-modal-bullet {
  margin-top: 0.375rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--orange);
  flex-shrink: 0;
}

.skill-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.skill-project-item {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: rgba(224, 224, 224, 0.5);
  padding: 0.75rem;
  transition: border-color 0.2s;
}

.skill-project-item:hover {
  border-color: rgba(249, 115, 22, 0.5);
}

.skill-project-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

.skill-project-cat {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ============================================================
ABOUT PAGE
============================================================ */
.about-banner {
  width: 100%;
  background-color: rgba(249, 115, 22, 0.05);
}

.about-banner-inner {
  padding-block: 4rem 6rem;
}

.about-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .about-banner-inner {
    padding-block: 6rem;
  }
  .about-title {
    font-size: 2.25rem;
  }
}

.about-content {
  padding-block: 4rem;
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-layout {
    flex-direction: row;
    gap: 4rem;
  }
}

.about-photo-wrapper {
  flex-shrink: 0;
}

.about-photo {
  width: 16rem;
  height: 16rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .about-photo {
    margin-inline: 0;
  }
}

.about-photo svg {
  opacity: 0.3;
  color: var(--muted-foreground);
  width: 4rem;
  height: 4rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--foreground);
}

/* ============================================================
UTILITIES
============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--foreground);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  max-width: 20rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--foreground);
}

.toast-msg {
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}