/* Minimalistic Architecture Portfolio CSS */

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #333333;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand h1 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
}

.nav-brand a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.nav-brand a:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: #999999;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  background: #ffffff;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 200;
  letter-spacing: 8px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  font-weight: 300;
  margin-top: 10px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: #666;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Section Styles */
section {
  padding: 120px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.section-line {
  width: 60px;
  height: 1px;
  background: #1a1a1a;
  margin-bottom: 60px;
}

/* Work Section */
.work {
  background: #fafafa;
}

/* Main Work Section (when it's the primary content) */
.main-work {
  background: #000000;
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 140px); /* Adjust for header and footer */
}

.main-work .container {
  max-width: none;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.work-filters {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.main-work .work-filters {
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 0 20px;
}

.filter-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: #ffffff;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.filter-btn.active::after,
.filter-btn:hover::after {
  width: 100%;
}

/* Project Grid - Masonry Layout */

.project-grid {
  column-count: auto;
  /* Pinterest-style responsive columns */
  column-width: clamp(240px, 25vw, 360px);
  column-gap: clamp(12px, 2vw, 24px);
  margin-bottom: 40px;
}

.main-work .project-grid {
  column-width: clamp(240px, 22vw, 320px);
  column-gap: clamp(10px, 1.5vw, 20px);
  margin-bottom: 40px;
}

.project {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: inline-block;
  width: 100%;
  margin-bottom: 40px;
  break-inside: avoid;
}

.main-work .project {
  margin-bottom: 20px;
}

.project:hover {
  transform: translateY(-3px);
}

.project-media {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-media.loaded {
  opacity: 1;
}

.project:hover .project-media {
  transform: scale(1.05);
}

.project-video {
  object-fit: cover;
  width: 100%;
  height: auto;
  background-color: #000;
  pointer-events: none;
}

.project-image-placeholder {
  width: 100%;
  height: 300px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
}

.placeholder-text {
  color: #666;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: clamp(24px, 5vw, 40px);
}

.project-overlay-content {
  width: 100%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.project-overlay .project-title {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: clamp(1px, 0.4vw, 3px);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  text-align: center;
  word-break: break-word;
}

.project-overlay .project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.project:hover .project-overlay {
    opacity: 1;
}

.project-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 15px;
  line-height: 1.2;
}

.project-description {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 300px;
}

.project-tags {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  border: none;
}

/* Loading */
.loading {
  text-align: center;
  padding: 80px 0;
  column-span: all;
}

.loading-text {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666666;
}

.no-projects {
  column-span: all;
  text-align: center;
  padding: 80px 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666666;
}

/* About Section */
.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.stat-number {
  font-size: 32px;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}

/* Contact Section */
.contact {
  background: #fafafa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  margin-bottom: 40px;
}

.contact-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.contact-value {
  font-size: 16px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Form */
.form {
  margin-top: 40px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  background: transparent;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 300;
  color: #1a1a1a;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #1a1a1a;
}

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

.submit-btn {
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.submit-btn:hover {
  background: #333;
}



/* Error Messages */
.error-message {
  text-align: center;
  padding: 80px 0;
}

.error-message h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.error-message p {
  font-size: 14px;
  font-weight: 300;
  color: #999999;
}



/* Project Detail Page Styles */
.project-detail {
  padding-top: 100px;
  min-height: 100vh;
  background: #000000;
}

.project-detail .container {
  max-width: none;
  padding: 0 10px;
}

.project-breadcrumb {
  margin-bottom: 30px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
}

.project-breadcrumb a {
  color: #999999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
  color: #ffffff;
}

.project-breadcrumb .separator {
  margin: 0 10px;
}

.project-breadcrumb .current {
  color: #ffffff;
}

.project-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333333;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-header .project-breadcrumb,
.project-header .project-title { grid-column: 1 / -1; }
.project-header .project-meta { grid-column: 1; }
.project-desc-header { grid-column: 2; align-self: start; max-width: 680px; width: 100%; }
.project-desc-header .description-text { font-size: 18px; line-height: 1.8; color: #cccccc; }

/* Header two-column layout: meta on the left, description on the right */
.project-header-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.project-header-grid .project-description { margin: 0; }

.project-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 6px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 600px;
}

.meta-group {
  text-align: left;
}

.meta-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 10px;
}

.meta-value {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Project Content Layout */
.project-content-grid {\n  display: grid;\n  grid-template-columns: 1fr; /* only one column since description moved to header */\n  gap: 0;\n  margin-top: 0;\n  margin-bottom: 40px;\n  align-items: start;\n}\n

.project-content-grid .gallery-grid {
  column-width: 250px;
  column-gap: 15px;
}

.project-content-grid .project-description { display: none; }

.project-content-grid .project-gallery {
  grid-column: 1;
  margin-bottom: 0;
}

.project-description {
  margin-bottom: 60px;
}

.description-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #cccccc;
  max-width: 800px;
}

.description-text a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.description-text a:hover {
  color: #999999;
}

.project-gallery,
.project-videos {
  margin-top: 0;
  margin-bottom: 40px;
}

/* Project detail gallery: Pinterest-style masonry */
.gallery-grid {
  column-count: auto;
  column-width: clamp(260px, 28vw, 420px);
  column-gap: clamp(12px, 2vw, 24px);
  margin-top: 10px;
}

.gallery-item {
  position: relative;
  background: transparent; /* keep transparent so images with alpha stay transparent */
  border-radius: 4px;
  overflow: visible;
  min-height: 0;
  display: inline-block; /* important for multi-column masonry */
  width: 100%;
  margin: 0 0 clamp(12px, 2vw, 24px) 0;
  break-inside: avoid;
}

.gallery-item.loading {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(12px);
  transform: scale(1.02);
}

.gallery-item img.loaded {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item video.loaded {
  opacity: 1;
}


.gallery-item img:hover {
  opacity: 0.8;
}

.gallery-item .loading-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666;
  font-size: 12px;
  letter-spacing: 1px;
}

.gallery-item figcaption {
  padding: 20px 0 0 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  text-align: center;
}

.video-container {
  column-count: auto;
  column-width: 400px;
  column-gap: 20px;
  margin-top: 30px;
}

.video-wrapper {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
}

.video-wrapper video {
  width: 100%;
  height: auto;
}

.project-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #333333;
}

.footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-link {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999999;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 10px 0;
}

.btn-link:hover {
  color: #ffffff;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 90%;
  max-height: 90%;
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-media-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.lightbox-media-wrapper.is-zoomed {
  cursor: grab;
}

.lightbox-media-wrapper.is-dragging {
  cursor: grabbing;
}

.lightbox-media-wrapper img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  transition: transform 0.2s ease;
  will-change: transform;
}

.lightbox-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lightbox-zoom {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-zoom:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .main-work .container {
    padding: 0 15px;
  }

  .project-detail .container {
    padding: 0 15px;
  }

  /* Center gallery items on mobile and avoid stretching transparent assets */
  .gallery-grid { justify-items: center; }
  .gallery-item img { width: auto; max-width: 100%; }

  /* Stack header meta and description */
  .project-header { grid-template-columns: 1fr; gap: 20px; }

  .nav {
    padding: 15px 20px;
  }

  .nav-menu {
    gap: 20px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .hero-subtitle {
    letter-spacing: 2px;
  }

  section {
    padding: 80px 0;
  }

  .work-filters {
    gap: 20px;
    margin-bottom: 60px;
  }

  .main-work .work-filters {
    padding: 0 15px;
  }

     .project-grid {
     column-count: 2;
     column-width: auto;
     column-gap: 30px;
   }

   .main-work .project-grid {
     column-gap: 15px;
   }

   .project {
     margin-bottom: 30px;
   }

   .main-work .project {
     margin-bottom: 15px;
   }

   .project-overlay {
     padding: 30px 20px;
   }

   .project-overlay-content {
     max-width: 100%;
     gap: 14px;
   }

   .project-title {
     font-size: 16px;
     letter-spacing: 2px;
   }

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

   .contact-grid {
     grid-template-columns: 1fr;
     gap: 60px;
   }

   .project-content-grid {
     grid-template-columns: 1fr;
     gap: 40px;
   }

   .gallery-grid {
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 15px;
   }

   .gallery-item {
     min-height: 180px;
   }

   .video-container {
     column-count: 1;
     column-width: auto;
     column-gap: 30px;
   }

   .video-wrapper {
     margin-bottom: 30px;
   }

   .section-header {
     margin-bottom: 60px;
   }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .main-work .container {
    padding: 0 10px;
  }

  .project-detail .container {
    padding: 0 10px;
  }

  .nav {
    padding: 15px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    letter-spacing: 2px;
  }

     .project-grid {
     column-count: 1;
     column-width: auto;
     column-gap: 20px;
   }

   .main-work .project-grid {
     column-gap: 10px;
   }

   .project {
     margin-bottom: 20px;
   }

   .main-work .project {
     margin-bottom: 10px;
   }

   .project-overlay {
     padding: 20px 16px;
   }

  .project-overlay-content {
     max-width: 100%;
     gap: 10px;
   }

  .project-overlay .project-title {
     letter-spacing: 1px;
  }

   .project-title {
     font-size: 14px;
     letter-spacing: 1px;
     margin-bottom: 10px;
   }

   .project-description {
     font-size: 12px;
     margin-bottom: 15px;
   }

   .project-tag {
     font-size: 9px;
   }

   .work-filters {
     flex-direction: column;
     align-items: center;
     gap: 15px;
   }

   .main-work .work-filters {
     padding: 0 10px;
   }

   /* Project Detail Responsive */
   .project-detail {
     padding-top: 80px;
   }

   .project-title {
     letter-spacing: 3px;
   }

   .project-content-grid {
     grid-template-columns: 1fr;
     gap: 30px;
     margin-bottom: 40px;
   }

   .project-meta {
    grid-template-columns: 1fr;
     gap: 20px;
   }

   .gallery-grid {
     grid-template-columns: 1fr;
     gap: 15px;
   }

   .gallery-item {
     min-height: 150px;
   }

   .video-container {
     column-count: 1;
     column-width: auto;
     column-gap: 20px;
   }

   .video-wrapper {
     margin-bottom: 20px;
   }

   .footer-actions {
     flex-direction: column;
     gap: 20px;
     text-align: center;
   }
 }

 


/* About Page */
.about-page {
  background-color: #0c0c0c;
  color: #f5f5f5;
}

.about-main {
  padding-top: 120px;
}

.about-hero {
  padding: 120px 0 60px;
}

.about-hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: clamp(32px, 6vw, 60px);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.about-intro {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about-summary h2 {
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.about-summary p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.about-details {
  display: grid;
  gap: 24px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 12px;
}

.detail-card h3 {
  letter-spacing: 2px;
  font-size: 16px;
  margin-bottom: 18px;
}

.detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-card .list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.about-experience {
  padding: 60px 0;
}

.about-experience h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 20px;
  margin-bottom: 32px;
}

.timeline {
  display: grid;
  gap: 28px;
}

.timeline-item {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.timeline-meta {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
}

.timeline-content h3 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.about-approach {
  padding: 60px 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.approach-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.approach-card h3 {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

.approach-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.about-contact {
  padding: 80px 0;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(32px, 6vw, 48px);
  display: grid;
  gap: 16px;
}

.contact-card h2 {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 18px;
}

.contact-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.contact-card .btn-link {
  font-size: 16px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .about-main {
    padding-top: 100px;
  }

  .about-hero {
    padding: 100px 0 40px;
  }

  .timeline-item {
    padding: 22px;
  }

  .contact-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}


.about-connections {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.about-connections a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.about-connections a:hover {
  color: #ffffff;
}

.about-freelance {
  padding: 60px 0;
}

.about-freelance h2,
.about-publications h2,
.about-skills h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 20px;
  margin-bottom: 32px;
}

.publication-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.publication-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.about-skills {
  padding: 60px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  gap: 10px;
}

.skill-card h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.skill-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list {
  display: grid;
  gap: 8px;
}

.contact-link {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

.contact-link:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .timeline {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .about-connections {
    flex-direction: column;
    align-items: center;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-links .btn-link {
  font-size: 12px;
}
