/* ============================================
   ABOUT HERO
   ============================================ */

.about-hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 80px;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 24px;
}

.about-bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-hero-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.about-hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-portrait-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* ============================================
   SIDE PROJECT
   ============================================ */

.about-project {
  padding-bottom: 40px;
}


.about-project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 280px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.about-project-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

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

.about-project-link--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  cursor: pointer;
  pointer-events: auto;
}

.about-project-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.about-project-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.about-project-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-project-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-accent);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}

.about-project-link:hover {
  gap: 8px;
}

.about-project-image {
  background: var(--bg-alt);
}

.about-project-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #dde2e9 0%, #c8cdd6 100%);
}

.about-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* ============================================
   PHOTO GRID
   ============================================ */

.about-photos {
  padding-bottom: 80px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
}

.photo-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dde2e9 0%, #c8cdd6 100%);
  transition: transform 0.3s ease;
}

.photo-item:hover .photo-placeholder {
  transform: scale(1.03);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.03);
}

.photo-item:nth-child(3) img,
.photo-item:nth-child(8) img {
  object-position: center top;
}

.photo-item--top img {
  object-position: center top;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ============================================
   PRINCIPLES
   ============================================ */

.about-principles {
  padding-bottom: 80px;
}

.principles-intro {
  margin-bottom: 48px;
  max-width: 520px;
}

.principles-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.principles-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-icon {
  width: 36px;
  height: 36px;
  background: #faeee6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C4622D;
  flex-shrink: 0;
}

.principle-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.principle-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-hero-image {
    order: -1;
  }

  .about-portrait-img {
    max-width: 280px;
    margin-inline: auto;
  }

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

  .about-project-placeholder {
    min-height: 200px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 600px) {
  .about-hero {
    text-align: center;
    padding-top: 40px;
  }

  .about-hero-links {
    justify-content: center;
  }

  .about-project-body {
    padding: 28px 24px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

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

  .about-hero-links {
    flex-direction: column;
    align-items: center;
  }

  .about-hero-links .btn {
    width: 100%;
    justify-content: center;
  }
}
