/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #d4a574;
  --primary-dark: #b8935f;
  --accent: #6b9080;
  --bg: #fdfbf7;
  --surface: #ffffff;
  --surface-alt: #f7f4ef;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --text-lighter: #9b9b9b;
  --border: #e8e4dd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Crimson Pro", "Georgia", serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.4s ease;
}

.logo:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 3.5rem;
  list-style: none;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.nav-links a {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hero Section (Work Page) */
.hero {
  padding: 12rem 4rem 8rem;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-content {
  max-width: 900px;
}

.hero-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-title {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

.hero-description {
  font-size: 1.375rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 4rem;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-lighter);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--border);
}

/* Hero Section (About Page) */
.hero.about-page {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6rem;
  align-items: start;
  padding: 12rem 4rem 6rem;
}

.profile-section {
  position: sticky;
  top: 120px;
}

.profile-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 2px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.profile-image::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

.profile-icon {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.profile-name {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.profile-title {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.profile-bio {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 0;
  border-bottom: 1px solid transparent;
}

.social-link:hover {
  color: var(--primary);
  border-bottom-color: var(--border);
  transform: translateX(4px);
}

.social-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Projects Section (Work Page) */
.projects-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4rem 10rem;
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  margin-bottom: 6rem;
}

/* Featured Large Card */
.project-featured {
  grid-column: span 8;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 116, 0.03) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.project-featured:hover::before {
  opacity: 1;
}

.project-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
}

.project-image-large {
  height: 500px;
  background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image-large::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 1s ease;
}

.project-featured:hover .project-image-large::after {
  left: 150%;
}

.project-icon-large {
  font-size: 8rem;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.15));
}

.project-content-large {
  padding: 3.5rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.project-tag {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.project-status {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lighter);
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.project-featured h3 {
  font-size: 2.75rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.project-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-item {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.project-featured:hover .tech-item {
  border-color: var(--primary);
  color: var(--primary);
}

/* Side Cards */
.project-side {
  grid-column: span 4;
}

.project-card-small {
  background: var(--surface);
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.project-card-small::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 116, 0.03) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.project-card-small:hover::before {
  opacity: 1;
}

.project-card-small:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.project-image-small {
  height: 280px;
  background: linear-gradient(135deg, #6b9080 0%, #5a7969 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon-small {
  font-size: 5rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

.project-content-small {
  padding: 2.5rem;
}

.project-card-small h3 {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-card-small .project-description {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.project-card-small .project-tech-stack {
  gap: 0.75rem;
}

.project-card-small .tech-item {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

/* Filter Pills */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.filter-pill {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 500;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Modal (Work Page) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  padding: 3rem;
  overflow-y: auto;
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--surface);
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 56px;
  height: 56px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text);
  transition: all 0.4s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal-header {
  height: 450px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  animation: pulse 10s ease-in-out infinite;
}

.modal-icon {
  font-size: 10rem;
  filter: drop-shadow(0 12px 48px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
}

.modal-body {
  padding: 4.5rem;
}

.modal-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.modal-section {
  margin-bottom: 3.5rem;
}

.modal-section h4 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-section h4::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.8;
}

.modal-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Content Section (About Page) */
.content-section {
  padding-top: 0;
}

.section-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.intro-text {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 4rem;
  color: var(--text);
}

.intro-text em {
  font-style: italic;
  color: var(--primary);
}

.content-block {
  margin-bottom: 6rem;
}

.content-block h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.content-block h2::before {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.text-content {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Stats Grid (About Page) */
.stat-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.skill-category {
  background: var(--surface);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  padding: 0.625rem 1.125rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.skill-category:hover .skill-tag {
  border-color: var(--primary);
  color: var(--primary);
}

/* Timeline */
.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.375rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--border);
}

.timeline-date {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline-role {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.timeline-company {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.timeline-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.timeline-achievements {
  list-style: none;
  padding: 0;
}

.timeline-achievements li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
}

.timeline-achievements li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4rem;
  text-align: center;
  margin-top: 6rem;
}

.cta-section h3 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.125rem 2.5rem;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  text-decoration: none;
  transition: all 0.4s ease;
  font-weight: 600;
  display: inline-block;
}

.btn:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(212, 165, 116, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.education-card {
  background: var(--surface);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.education-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.education-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.education-detail {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.certifications-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.certifications-list li {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.certifications-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .nav-container,
  .hero,
  .projects-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .projects-masonry {
    grid-template-columns: 1fr;
  }

  .project-featured,
  .project-side {
    grid-column: span 1;
  }

  .hero.about-page {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .profile-section {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1.5rem 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .project-content-large,
  .modal-body {
    padding: 2rem;
  }

  .modal-close {
    top: 1.5rem;
    right: 1.5rem;
  }

  .stats-grid {
    grid-template-/* Reset and Base Styles */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary: #d4a574;
      --primary-dark: #b8935f;
      --accent: #6b9080;
      --bg: #fdfbf7;
      --surface: #ffffff;
      --surface-alt: #f7f4ef;
      --text: #2d2d2d;
      --text-light: #6b6b6b;
      --text-lighter: #9b9b9b;
      --border: #e8e4dd;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Crimson Pro", "Georgia", serif;
      line-height: 1.8;
      color: var(--text);
      background: var(--bg);
      overflow-x: hidden;
    }

    /* Navigation */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: rgba(253, 251, 247, 0.9);
      backdrop-filter: blur(20px);
      z-index: 1000;
      border-bottom: 1px solid var(--border);
    }

    .nav-container {
      max-width: 1600px;
      margin: 0 auto;
      padding: 2rem 4rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.125rem;
      font-weight: 400;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--text);
      text-decoration: none;
      transition: color 0.4s ease;
    }

    .logo:hover {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 3.5rem;
      list-style: none;
    }

    .nav-toggle {
      display: none;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: var(--text);
      cursor: pointer;
    }

    .nav-links a {
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-light);
      text-decoration: none;
      transition: color 0.3s ease;
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    /* Hero Section (Work Page) */
    .hero {
      padding: 12rem 4rem 8rem;
      max-width: 1600px;
      margin: 0 auto;
    }

    .hero-content {
      max-width: 900px;
    }

    .hero-label {
      font-family: "Inter", sans-serif;
      font-size: 0.75rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 2rem;
      font-weight: 600;
    }

    .hero-title {
      font-size: 5.5rem;
      font-weight: 300;
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 2.5rem;
      color: var(--text);
    }

    .hero-title em {
      font-style: italic;
      color: var(--primary);
      font-weight: 400;
    }

    .hero-description {
      font-size: 1.375rem;
      line-height: 1.7;
      color: var(--text-light);
      max-width: 700px;
      margin-bottom: 4rem;
    }

    .scroll-indicator {
      display: flex;
      align-items: center;
      gap: 1rem;
      color: var(--text-lighter);
      font-family: "Inter", sans-serif;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }

    .scroll-line {
      width: 60px;
      height: 1px;
      background: var(--border);
    }

    /* Hero Section (About Page) */
    .hero.about-page {
      display: grid;
      grid-template-columns: 400px 1fr;
      gap: 6rem;
      align-items: start;
      padding: 12rem 4rem 6rem;
    }

    .profile-section {
      position: sticky;
      top: 120px;
    }

    .profile-image {
      width: 100%;
      aspect-ratio: 1;
      background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
      );
      border-radius: 2px;
      margin-bottom: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 8rem;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
    }

    .profile-image::before {
      content: "";
      position: absolute;
      width: 200%;
      height: 200%;
      background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
      );
      animation: pulse 8s ease-in-out infinite;
    }

    @keyframes pulse {
      0%,
      100% {
        transform: scale(1) rotate(0deg);
      }
      50% {
        transform: scale(1.1) rotate(5deg);
      }
    }

    .profile-icon {
      position: relative;
      z-index: 1;
      filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
    }

    .profile-name {
      font-size: 2rem;
      font-weight: 400;
      margin-bottom: 0.5rem;
      color: var(--text);
    }

    .profile-title {
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 2rem;
      font-weight: 600;
    }

    .profile-bio {
      font-size: 1.125rem;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 2.5rem;
    }

    .social-links {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .social-link {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      color: var(--text-light);
      text-decoration: none;
      transition: all 0.3s ease;
      padding: 0.75rem 0;
      border-bottom: 1px solid transparent;
    }

    .social-link:hover {
      color: var(--primary);
      border-bottom-color: var(--border);
      transform: translateX(4px);
    }

    .social-icon {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Projects Section (Work Page) */
    .projects-section {
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 4rem 10rem;
    }

    .projects-masonry {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 2.5rem;
      margin-bottom: 6rem;
    }

    /* Featured Large Card */
    .project-featured {
      grid-column: span 8;
      background: var(--surface);
      border: 1px solid var(--border);
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .project-featured::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        135deg,
        rgba(212, 165, 116, 0.03) 0%,
        transparent 100%
      );
      opacity: 0;
      transition: opacity 0.6s ease;
    }

    .project-featured:hover::before {
      opacity: 1;
    }

    .project-featured:hover {
      transform: translateY(-8px);
      box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
    }

    .project-image-large {
      height: 500px;
      background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .project-image-large::after {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 50%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
      );
      transition: left 1s ease;
    }

    .project-featured:hover .project-image-large::after {
      left: 150%;
    }

    .project-icon-large {
      font-size: 8rem;
      filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.15));
    }

    .project-content-large {
      padding: 3.5rem;
    }

    .project-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
    }

    .project-tag {
      font-family: "Inter", sans-serif;
      font-size: 0.6875rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--primary);
      font-weight: 600;
    }

    .project-status {
      font-family: "Inter", sans-serif;
      font-size: 0.6875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-lighter);
      padding: 0.5rem 1.25rem;
      border: 1px solid var(--border);
      background: var(--surface-alt);
    }

    .project-featured h3 {
      font-size: 2.75rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
      color: var(--text);
      line-height: 1.2;
    }

    .project-description {
      font-size: 1.125rem;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 2.5rem;
    }

    .project-tech-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .tech-item {
      font-family: "Inter", sans-serif;
      font-size: 0.8125rem;
      padding: 0.625rem 1.25rem;
      background: var(--surface-alt);
      border: 1px solid var(--border);
      color: var(--text-light);
      transition: all 0.3s ease;
    }

    .project-featured:hover .tech-item {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* Side Cards */
    .project-side {
      grid-column: span 4;
    }

    .project-card-small {
      background: var(--surface);
      border: 1px solid var(--border);
      height: 100%;
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      position: relative;
    }

    .project-card-small::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        135deg,
        rgba(212, 165, 116, 0.03) 0%,
        transparent 100%
      );
      opacity: 0;
      transition: opacity 0.6s ease;
    }

    .project-card-small:hover::before {
      opacity: 1;
    }

    .project-card-small:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    }

    .project-image-small {
      height: 280px;
      background: linear-gradient(135deg, #6b9080 0%, #5a7969 100%);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .project-icon-small {
      font-size: 5rem;
      filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
    }

    .project-content-small {
      padding: 2.5rem;
    }

    .project-card-small h3 {
      font-size: 1.75rem;
      font-weight: 400;
      margin-bottom: 1rem;
      color: var(--text);
    }

    .project-card-small .project-description {
      font-size: 1rem;
      margin-bottom: 2rem;
    }

    .project-card-small .project-tech-stack {
      gap: 0.75rem;
    }

    .project-card-small .tech-item {
      font-size: 0.75rem;
      padding: 0.5rem 1rem;
    }

    /* Filter Pills */
    .filter-container {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 6rem;
    }

    .filter-pill {
      font-family: "Inter", sans-serif;
      font-size: 0.8125rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.875rem 2rem;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-light);
      cursor: pointer;
      transition: all 0.4s ease;
      font-weight: 500;
    }

    .filter-pill:hover,
    .filter-pill.active {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }

    /* Modal (Work Page) */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2000;
      padding: 3rem;
      overflow-y: auto;
      backdrop-filter: blur(8px);
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    .modal-content {
      background: var(--surface);
      max-width: 1200px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .modal-close {
      position: absolute;
      top: 3rem;
      right: 3rem;
      width: 56px;
      height: 56px;
      background: var(--surface-alt);
      border: 1px solid var(--border);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      color: var(--text);
      transition: all 0.4s ease;
      z-index: 10;
    }

    .modal-close:hover {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
      transform: rotate(90deg);
    }

    .modal-header {
      height: 450px;
      background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
      );
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .modal-header::before {
      content: "";
      position: absolute;
      width: 200%;
      height: 200%;
      background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
      );
      animation: pulse 10s ease-in-out infinite;
    }

    .modal-icon {
      font-size: 10rem;
      filter: drop-shadow(0 12px 48px rgba(0, 0, 0, 0.3));
      position: relative;
      z-index: 1;
    }

    .modal-body {
      padding: 4.5rem;
    }

    .modal-title {
      font-size: 3.5rem;
      font-weight: 300;
      margin-bottom: 1.5rem;
      color: var(--text);
      line-height: 1.2;
    }

    .modal-subtitle {
      font-size: 1.25rem;
      color: var(--text-light);
      line-height: 1.8;
      margin-bottom: 3.5rem;
    }

    .modal-section {
      margin-bottom: 3.5rem;
    }

    .modal-section h4 {
      font-size: 1.5rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .modal-section h4::before {
      content: "";
      width: 40px;
      height: 2px;
      background: var(--primary);
    }

    .modal-list {
      list-style: none;
      padding: 0;
    }

    .modal-list li {
      color: var(--text-light);
      margin-bottom: 1rem;
      padding-left: 2rem;
      position: relative;
      line-height: 1.8;
    }

    .modal-list li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: var(--primary);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
      margin-top: 3rem;
      padding-top: 3rem;
      border-top: 1px solid var(--border);
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-size: 3.5rem;
      font-weight: 300;
      color: var(--primary);
      display: block;
      margin-bottom: 0.75rem;
    }

    .stat-label {
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-light);
    }

    /* Content Section (About Page) */
    .content-section {
      padding-top: 0;
    }

    .section-label {
      font-family: "Inter", sans-serif;
      font-size: 0.75rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 2rem;
      font-weight: 600;
    }

    .intro-text {
      font-size: 2.5rem;
      font-weight: 300;
      line-height: 1.4;
      margin-bottom: 4rem;
      color: var(--text);
    }

    .intro-text em {
      font-style: italic;
      color: var(--primary);
    }

    .content-block {
      margin-bottom: 6rem;
    }

    .content-block h2 {
      font-size: 2rem;
      font-weight: 400;
      margin-bottom: 2rem;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .content-block h2::before {
      content: "";
      width: 50px;
      height: 2px;
      background: var(--primary);
    }

    .text-content {
      font-size: 1.25rem;
      line-height: 1.9;
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    /* Stats Grid (About Page) */
    .stat-card {
      background: var(--surface);
      padding: 2.5rem 2rem;
      border: 1px solid var(--border);
      text-align: center;
      transition: all 0.4s ease;
    }

    .stat-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
      border-color: var(--primary);
    }

    /* Skills Grid */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
      margin-top: 2.5rem;
    }

    .skill-category {
      background: var(--surface);
      padding: 2.5rem;
      border: 1px solid var(--border);
      transition: all 0.4s ease;
    }

    .skill-category:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    }

    .skill-category h3 {
      font-size: 1.5rem;
      font-weight: 400;
      margin-bottom: 1.5rem;
      color: var(--text);
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .skill-tag {
      font-family: "Inter", sans-serif;
      font-size: 0.8125rem;
      padding: 0.625rem 1.125rem;
      background: var(--surface-alt);
      border: 1px solid var(--border);
      color: var(--text-light);
      transition: all 0.3s ease;
    }

    .skill-category:hover .skill-tag {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* Timeline */
    .timeline {
      margin-top: 3rem;
      position: relative;
      padding-left: 3rem;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 1px;
      background: var(--border);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 4rem;
      padding-bottom: 4rem;
      border-bottom: 1px solid var(--border);
    }

    .timeline-item:last-child {
      border-bottom: none;
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      left: -3.375rem;
      top: 0.5rem;
      width: 12px;
      height: 12px;
      background: var(--primary);
      border: 3px solid var(--bg);
      border-radius: 50%;
      box-shadow: 0 0 0 1px var(--border);
    }

    .timeline-date {
      font-family: "Inter", sans-serif;
      font-size: 0.8125rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .timeline-role {
      font-size: 1.75rem;
      font-weight: 400;
      margin-bottom: 0.5rem;
      color: var(--text);
    }

    .timeline-company {
      font-size: 1.125rem;
      color: var(--text-light);
      margin-bottom: 1.5rem;
    }

    .timeline-description {
      font-size: 1.125rem;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 1.5rem;
    }

    .timeline-achievements {
      list-style: none;
      padding: 0;
    }

    .timeline-achievements li {
      font-size: 1.0625rem;
      line-height: 1.8;
      color: var(--text-light);
      margin-bottom: 0.75rem;
      padding-left: 2rem;
      position: relative;
    }

    .timeline-achievements li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: var(--primary);
    }

    /* CTA Section */
    .cta-section {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 4rem;
      text-align: center;
      margin-top: 6rem;
    }

    .cta-section h3 {
      font-size: 2.5rem;
      font-weight: 300;
      margin-bottom: 1.5rem;
      color: var(--text);
    }

    .cta-section p {
      font-size: 1.25rem;
      color: var(--text-light);
      margin-bottom: 3rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .cta-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      font-family: "Inter", sans-serif;
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 1.125rem 2.5rem;
      border: 1px solid var(--primary);
      background: var(--primary);
      color: white;
      text-decoration: none;
      transition: all 0.4s ease;
      font-weight: 600;
      display: inline-block;
    }

    .btn:hover {
      background: transparent;
      color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 8px 16px rgba(212, 165, 116, 0.2);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

    /* Education Section */
    .education-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
      margin-top: 2.5rem;
    }

    .education-card {
      background: var(--surface);
      padding: 2.5rem;
      border: 1px solid var(--border);
      transition: all 0.4s ease;
    }

    .education-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    }

    .education-icon {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
      display: block;
    }

    .education-card h3 {
      font-size: 1.5rem;
      font-weight: 400;
      margin-bottom: 0.75rem;
      color: var(--text);
    }

    .education-detail {
      font-size: 1.0625rem;
      color: var(--text-light);
      margin-bottom: 0.5rem;
    }

    .certifications-list {
      list-style: none;
      padding: 0;
      margin-top: 1.5rem;
    }

    .certifications-list li {
      font-size: 1.0625rem;
      color: var(--text-light);
      margin-bottom: 0.5rem;
      padding-left: 1.5rem;
      position: relative;
    }

    .certifications-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: var(--accent);
    }

    /* Responsive Styles */
    @media (max-width: 1200px) {
      .nav-container,
      .hero,
      .projects-section {
        padding-left: 2rem;
        padding-right: 2rem;
      }

      .hero-title {
        font-size: 4rem;
      }

      .projects-masonry {
        grid-template-columns: 1fr;
      }

      .project-featured,
      .project-side {
        grid-column: span 1;
      }

      .hero.about-page {
        grid-template-columns: 1fr;
        gap: 4rem;
      }

      .profile-section {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
      }

      .skills-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-container {
        padding: 1.5rem 2rem;
      }

      .nav-toggle {
        display: block;
      }

      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      }

      .nav-links.active {
        display: flex;
      }

      .hero {
        padding: 8rem 1.5rem 4rem;
      }

      .hero-title {
        font-size: 2.5rem;
      }

      .hero-description {
        font-size: 1.125rem;
      }

      .project-content-large,
      .modal-body {
        padding: 2rem;
      }

      .modal-close {
        top: 1.5rem;
        right: 1.5rem;
      }

      .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .intro-text {
        font-size: 1.75rem;
      }

      .skills-grid,
      .stats-grid,
      .education-grid {
        grid-template-columns: 1fr;
      }

      .cta-section {
        padding: 3rem 2rem;
      }

      .content-block h2::before {
        width: 30px;
      }
    }
    columns: 1fr;
    gap: 2rem;
  }

  .intro-text {
    font-size: 1.75rem;
  }

  .skills-grid,
  .stats-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 3rem 2rem;
  }

  .content-block h2::before {
    width: 30px;
  }
}
