/* ══════════════════════════════════════════
   EmailBarista — About Page
   ══════════════════════════════════════════ */

/* SVC-HERO OVERRIDE (grid layout with photo) */
.svc-hero {
  background: var(--red);
  padding: 0;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: stretch;
}

.svc-hero-content { padding: 80px 64px; min-width: 0; }
.svc-hero .section-label { color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.svc-hero p { font-size: 1.3rem; }
.svc-hero-graphic { overflow: hidden; }
.svc-hero-graphic img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* STORY */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0px;
  align-items: stretch;
}

.story-text h2 { margin-bottom: 24px; }
.story-text p  { color: var(--muted); font-size: 1.3rem; line-height: 1.8; margin-bottom: 16px; }

.story-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8d5c4 0%, #c4a882 100%);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.story-image-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--red);
  color: white;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 16px 20px;
  border-radius: 14px;
  line-height: 1.1;
}

.story-badge span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* STATS BAND */
.stats-band {
  background: var(--red);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item { text-align: left; }

.stat-big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc { font-size: 1.3rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* VALUES */
.values { padding: 80px 0px; }
.values h2 { margin-bottom: 48px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(61,43,31,0.07);
  transition: all 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61,43,31,0.08);
}

.value-card:nth-child(1) { background: var(--brown); }
.value-card:nth-child(1) h3 { color: white; }
.value-card:nth-child(1) p  { color: rgba(255,255,255,0.6); }

.value-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.value-card:nth-child(1) .value-num { color: var(--tan); }
.value-card h3 { font-size: 1.25rem; color: var(--brown); margin-bottom: 12px; }
.value-card p {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.7;
}

/* PHILOSOPHY */
.philosophy {
  padding: 0 0px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.philosophy-text .section-label { margin-bottom: 16px; }
.philosophy-text h2 { margin-bottom: 24px; }
.philosophy-text p  { color: var(--muted); font-size: 1.3rem; line-height: 1.8; margin-bottom: 16px; }

.philosophy-principles { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }

.principle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(61,43,31,0.07);
}

.principle-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(217,48,37,0.08);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principle h4 { font-size: 0.92rem; color: var(--brown); margin-bottom: 4px; }
.principle p  { font-size: 1.3rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* FOUNDER */
.founder {
  padding: 80px 0px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: stretch;
}

.founder-photo {
  border-radius: 24px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--tan) 100%);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.founder-photo-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 8px;
}

.founder-content .section-label { margin-bottom: 16px; }
.founder-content h2 { margin-bottom: 8px; }

.founder-role {
  font-size: 0.88rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 24px;
}

.founder-content p {
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-quote {
  background: var(--cream-dark);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--brown);
  line-height: 1.65;
  margin-top: 28px;
}

/* TEAM */
.team {
  padding: 0 0px 80px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
.team h2 { margin-bottom: 16px; }
.team > p { color: var(--muted); font-size: 1.3rem; line-height: 1.7; margin-bottom: 48px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61,43,31,0.06);
  border: 1px solid rgba(61,43,31,0.06);
  aspect-ratio: 1;
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.tp1 { background: linear-gradient(135deg, #f5e8e6 0%, #e8c4bf 100%); }
.tp2 { background: linear-gradient(135deg, #ede0d0 0%, #d9c4aa 100%); }
.tp3 { background: linear-gradient(135deg, #e8e8f5 0%, #c8c8e8 100%); }
.tp4 { background: linear-gradient(135deg, #e8f0e8 0%, #c8dcc8 100%); }

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, transparent);
  color: white;
  text-align: left;
}

.team-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

.team-bio {
  font-size: 1.0rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
}

/* PROCESS (about variant — dark bg) */
.process {
  background: var(--brown);
  padding: 80px 64px;
  max-width: 1280px;
  margin: 0 auto 50px;
  box-sizing: border-box;
}
.process .section-label { color: var(--tan); }
.process h2 { color: white; margin-bottom: 16px; }
.process > p { color: rgba(255,255,255,0.55); font-size: 1.3rem; line-height: 1.7; margin-bottom: 48px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.process-step {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.2s;
}

.process-step:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}

.process-step-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}
.process-step p  { font-size: 1.3rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* CLIENTS / INDUSTRIES */
.clients { padding: 80px 64px; text-align: center; }
.clients h2 { margin-bottom: 16px; }
.clients > p { color: var(--muted); font-size: 1.3rem; margin-bottom: 48px; }

.clients-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.client-badge {
  background: white;
  border: 1px solid rgba(61,43,31,0.08);
  border-radius: 14px;
  padding: 20px 32px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brown);
  transition: all 0.2s;
}

.client-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,43,31,0.08);
}

/* ABOUT CTA */
.about-cta {
  margin: 0 64px 80px;
  background: var(--red);
  border-radius: 28px;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.about-cta h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0; }
.about-cta p  { color: #fff; margin-top: 12px; font-size: 1.3rem; }

.about-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero-content { padding: 48px 24px; }
  .svc-hero-graphic { display: none; }
  .story,
  .values,
  .philosophy,
  .founder,
  .process,
  .clients,
  .about-cta { padding: 48px 24px; }
  .story,
  .founder,
  .philosophy { grid-template-columns: 1fr; }
  .values-grid,
  .process-steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .about-cta { grid-template-columns: 1fr; margin: 0 24px 60px; }
  .about-cta-btns { align-items: flex-start; }
  .team { padding: 0 24px 60px; }
  .clients { padding: 48px 24px; }
}
@media (max-width: 480px) {
  .svc-hero-content,
  .story, .values, .philosophy, .founder, .process, .clients, .about-cta { padding: 36px 20px; }
  .stats-band { padding: 32px 20px; grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-cta { margin: 0 20px 48px; }
}
