/* =====================================================
   ABOUT SECTION — Clean Engineering Story & Principles
   Warm-Light Palette: Canvas #faf8f5 | Card #ffffff | Accent #f97316
   ===================================================== */

.about {
  padding: 3rem 1.5rem 5rem;
  background-color: var(--primary-bg-color);
  position: relative;
}

.about .about-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
}

/* ── Left Column: Clean Framed Portrait ── */
.about .about-content .left {
  flex: 0.82;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 420px;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: 0 16px 44px rgba(28, 25, 23, 0.08),
              0 0 0 1px rgba(231, 226, 215, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.about-img-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.12),
              0 0 0 1px var(--orange-border);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Soft ambient halo behind about photo */
.about-img-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(28, 25, 23, 0.18) 100%);
}

/* Quick Specs Strip below photo */
.about-quick-specs {
  width: 100%;
  max-width: 320px;
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.02);
}

.about-quick-specs .spec-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.about-quick-specs .spec-item i {
  color: var(--main-color);
  font-size: 0.82rem;
}

/* ── Right Column: Narrative & Work Principles ── */
.about .about-content .right {
  flex: 1.28;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.about-header-block {
  margin-bottom: 1.25rem;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.about-heading {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-color);
  letter-spacing: -0.5px;
  line-height: 1.28;
}

.about-narrative {
  margin-bottom: 1.5rem;
}

.about-narrative p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.about-narrative p:last-child {
  margin-bottom: 0;
}

/* Actions Row */
.about-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.about-btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color) !important;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-btn-resume i {
  color: var(--main-color);
  transition: transform 0.2s ease;
}

.about-btn-resume:hover {
  background: var(--main-color-light);
  border-color: var(--orange-border);
  color: var(--main-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
}

.about-btn-resume:hover i {
  transform: translateY(1px);
}

.about-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.about-btn-contact:hover {
  color: var(--main-color) !important;
  transform: translateX(2px);
}

/* ── 4 Principles Bento Grid ── */
.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.principle-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange-border);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.08);
  background: #fffcf9;
}

.principle-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.16);
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.principle-card:hover .principle-icon-box {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #ffffff;
  transform: scale(1.08);
}

.principle-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-color);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.principle-info p {
  font-size: 0.8rem !important;
  color: #78716c !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ── Responsive Mobile & Tablet ── */
@media (max-width: 900px) {
  .about {
    padding: 2.5rem 1.25rem 4rem;
  }
  .about .about-content {
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
  }
  .about .about-content .left {
    width: 100%;
  }
  .about-img-wrapper {
    max-width: 270px;
    height: 350px;
    border-radius: 22px;
  }
  .about-quick-specs {
    max-width: 270px;
  }
  .about-heading {
    font-size: 1.6rem;
  }
  .about-principles-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .about-img-wrapper {
    max-width: 230px;
    height: 300px;
    border-radius: 20px;
  }
  .about-quick-specs {
    max-width: 230px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .about-heading {
    font-size: 1.4rem;
  }
  .about-narrative p {
    font-size: 0.92rem;
  }
  .about-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .about-btn-resume {
    justify-content: center;
  }
  .about-btn-contact {
    justify-content: center;
  }
}
