/* About page styles: hero, bio split, pull-quote, values */

/* Hero */
.hero--about { background-position: center; background-size: cover; }
/* Map existing .about-hero to hero pattern */
.about-hero { position: relative; min-height: 65vh; display: grid; place-items: center; text-align: center; overflow: clip; }
.about-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.1; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.0) 100%); }
.about-hero .hero-content { position: relative; z-index: 1; }

/* Bio: image + copy */
.bio { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-300); align-items: start; }
.bio__image { border-radius: var(--radius-xxs); overflow: hidden; aspect-ratio: 2 / 3; }
.bio__image img { width: 100%; height: 100%; object-fit: cover; }
.bio__copy { max-width: 60ch; }

@media (max-width: 900px) { .bio { grid-template-columns: 1fr; } .bio__copy { max-width: none; } }

/* Pull-quote */
.pull-quote { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; font-style: italic; color: var(--color-text); margin: var(--space-300) 0; }

/* Values / approach */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-300); }
.values__item { text-align: center; }
.values__label { text-transform: uppercase; letter-spacing: var(--ls-nav); color: var(--color-muted); margin-top: 0.5rem; font-size: 0.85rem; }

@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }
/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* ========== ABOUT HERO ========== */
.about-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-hero .hero-content {
  text-align: center;
  padding: 4rem 2rem;
}

.about-hero h1 {
  margin-bottom: 1.5rem;
}

.about-hero .hero-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ========== MISSION SECTION ========== */
.mission-section {
  padding: 6rem 0;
}

.mission-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mission-text h2 {
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mission-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.15px;
  color: var(--text-secondary);
}

.mission-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.visual-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.visual-box:hover {
  transform: translateY(-8px);
  border-color: var(--kluxe-green);
  box-shadow: var(--shadow-soft);
}

.box-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.box-icon {
  font-size: 2rem;
  color: var(--kluxe-green);
}

.visual-box h3 {
  font-size: 2.5rem;
  color: var(--kluxe-green);
  line-height: 1;
}

.visual-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy-section {
  background: var(--bg-secondary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.philosophy-item {
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: visible;
}

.philosophy-number {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kluxe-green);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: var(--shadow-green);
  z-index: 2;
}

.philosophy-item h3 {
  font-size: 1.5rem;
  margin: 1rem 0 1rem;
  font-family: 'Caveat', cursive;
}

.philosophy-item p {
  line-height: 1.7;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.1px;
  color: var(--text-secondary);
}

/* ========== VALUES SECTION ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--kluxe-green);
  box-shadow: var(--shadow-soft);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: 'Caveat', cursive;
}

.value-card p {
  line-height: 1.7;
  color: var(--text-secondary);
  font-family: 'Caveat', cursive;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.1px;
}

/* ========== TEAM SECTION ========== */
.team-section {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.team-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 220px;
  background: var(--bg-tertiary);
}

.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--bg-tertiary), rgba(196, 160, 128, 0.08));
}

.team-card-body {
  padding: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.team-card-body h3 {
  margin: 0;
  font-size: 1.35rem;
}

.team-card-role {
  margin: 0;
  color: var(--accent-warm);
  font-weight: 600;
}

.team-card-bio {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.team-card-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.team-card-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid rgba(196, 160, 128, 0.2);
  background: rgba(196, 160, 128, 0.06);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.team-more-btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.team-empty {
  color: var(--text-muted);
  margin: 0;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.team-modal.active {
  display: block;
}

.team-modal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(196, 160, 128, 0.14), rgba(8, 10, 15, 0.76) 55%);
  backdrop-filter: blur(6px);
}

.team-modal-dialog {
  position: relative;
  width: min(960px, calc(100% - 2rem));
  max-height: calc(100vh - 3rem);
  margin: 1.5rem auto;
  overflow: auto;
  background: linear-gradient(150deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid rgba(196, 160, 128, 0.3);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 1.4rem;
}

.team-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

.team-modal-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
}

.team-modal-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(196, 160, 128, 0.25);
  background: var(--bg-tertiary);
}

.team-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.team-modal-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
}

.team-modal-role,
.team-modal-location {
  margin: 0.3rem 0 0;
  color: var(--text-secondary);
}

.team-modal-bio {
  margin-top: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
}

.team-modal-social {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.team-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.team-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  border: 1px solid rgba(196, 160, 128, 0.4);
  background: rgba(196, 160, 128, 0.08);
  color: var(--accent-warm);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.team-social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 160, 128, 0.75);
  background: rgba(196, 160, 128, 0.16);
}

[data-theme="light"] .team-modal-overlay {
  background: radial-gradient(circle at 20% 20%, rgba(196, 160, 128, 0.12), rgba(18, 20, 28, 0.42) 58%);
}

[data-theme="light"] .team-modal-dialog {
  border: 1px solid rgba(196, 160, 128, 0.26);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

body.modal-open {
  overflow: hidden;
}

/* ========== PROCESS SECTION ========== */
.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--kluxe-green), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  z-index: 1;
}

.marker-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 3px solid var(--kluxe-green);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 0 20px var(--kluxe-green-glow);
}

.timeline-content {
  padding: 2rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--kluxe-green);
}

.timeline-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.process-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-details li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.process-details li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--kluxe-green);
  font-size: 0.7rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .mission-content {
    grid-template-columns: 1fr;
  }
  
  .mission-visual {
    order: -1;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    width: 40px;
  }
  
  .marker-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .mission-visual {
    grid-template-columns: 1fr;
  }
  
  .visual-box h3 {
    font-size: 2rem;
  }
  
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-modal-dialog {
    width: calc(100% - 0.9rem);
    margin: 0.45rem auto;
    max-height: calc(100vh - 0.9rem);
    padding: 0.9rem;
  }

  .team-modal-header {
    grid-template-columns: 1fr;
  }

  .team-modal-photo-wrap {
    width: 96px;
    height: 96px;
  }

  .team-modal-social {
    justify-content: center;
  }
}
