body { background: #fff; }

/* ── PAGE BODY ── */
.page {
  display: flex;
  flex-direction: column;
}

/* ── MAIN ── */
.main {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}

/* ── PHILOSOPHY HERO: same box and glass card as the home page hero ── */
.philosophy {
  width: 100%;
  padding-top: 38px; /* 128px from top, minus the 90px sticky nav */
}

.philosophy-img {
  position: relative;
  height: 634px;
  margin: 0 32px;
  overflow: hidden;
}

.philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-overlay {
  position: absolute;
  left: 40.71%;
  right: 31px;
  bottom: 31px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 49px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.philosophy-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -4.8px;
  color: #fff;
  white-space: pre-wrap;
}

.philosophy-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.75px;
  color: #fff;
}

.philosophy-desc strong { font-weight: 700; }

/* ── TEAM SECTION ── */
.team {
  background: #f5f1ed;
  width: 100%;
  padding: 64px 32px 100px;
}

.team-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.team-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #1b1b1b;
}

.team-rule {
  width: 48px;
  height: 4px;
  background: #000;
}

.firm-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 48px;
}

.firm-grid .team-heading-wrap { grid-column: 1 / span 4; }

.firm-text {
  grid-column: 5 / span 7;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 29.25px;
  color: #4c4546;
}

.firm-text strong { font-weight: 700; color: #1b1b1b; }

/* ── PROCESS SECTION ── */
.process {
  width: 100%;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.process-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.process-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.9px;
  color: #1b1b1b;
  text-align: center;
}

.process-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #4c4546;
  text-align: center;
  max-width: 576px;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 0 16px;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 48px;
  min-height: 303px;
}

.process-card-1 { background: #fffaf5; }
.process-card-2 { background: #f5f1ed; }
.process-card-3 { background: #f3e8dd; padding-bottom: 70.75px; }

.process-icon { flex-shrink: 0; }
.process-icon img { display: block; }

.process-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #1b1b1b;
  padding-top: 16.9px;
}

.process-card-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.75px;
  color: #4c4546;
}

.process-step-num {
  position: absolute;
  top: 32px;
  right: 48px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 60px;
  line-height: 60px;
  color: #e2e2e2;
}

/* ── TABLET / MOBILE ── */
@media (max-width: 1024px) {
  .philosophy-overlay { left: 32px; right: 32px; bottom: 64px; padding: 24px 32px; }
}

@media (max-width: 768px) {
  .main { gap: 64px; }
  .philosophy { padding-top: 16px; }
  .philosophy-img { height: 520px; margin: 0 16px; }
  .philosophy-overlay { left: 12px; right: 12px; bottom: 48px; padding: 16px 20px; gap: 8px; }
  .philosophy-title { font-size: 30px; line-height: 34px; letter-spacing: -1.2px; }
  .philosophy-desc { font-size: 13px; line-height: 20px; }

  .team { padding: 48px 16px 64px; }
  .team-inner { gap: 48px; }
  .firm-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .firm-grid .team-heading-wrap,
  .firm-text { grid-column: 1; }
  .firm-text { font-size: 16px; line-height: 26px; }

  .process { width: 100%; padding: 0 16px; gap: 48px; }
  .process-title { font-size: 28px; line-height: 34px; }
  .process-subtitle { width: 100%; }
  .process-cards { grid-template-columns: 1fr; padding: 0; }
  .process-card { padding: 32px; }
  .process-step-num { right: 32px; }
}
