/* ============================================================
   BBN CATERERS — PHILOSOPHY SECTION
   ============================================================ */

.philosophy {
  background: var(--color-dark);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

/* ─── BBN Watermark — crisp, controlled ─── */
.philosophy__watermark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: var(--fw-black);
  /* Use a stroke-only approach in CSS: very transparent fill, faint stroke */
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(184, 173, 155, 0.18);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.12em;
  /* No blur — crisp outline watermark */
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: start;
  position: relative;
  z-index: 1;
}

.philosophy__intro {
  /* Left column */
}

.philosophy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.philosophy__eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-beige-light);
  opacity: 0.55;
}

.philosophy__eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  /* Boosted: was 0.7 opacity — now full white-ish at high contrast */
  color: rgba(253, 252, 250, 0.75);
}

.philosophy__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--fw-light);
  /* Full cream — was already good */
  color: var(--color-cream);
  line-height: 1.1;
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.philosophy__title em {
  font-style: italic;
  /* Warm gold-beige accent — stays visible */
  color: #C9B99A;
}

.philosophy__lead {
  font-family: var(--font-body);
  font-size: var(--text-base);
  /* Fixed: was rgba(184,173,155,0.75) ≈ 2.9:1 — now ≥ 4.5:1 */
  color: rgba(234, 228, 218, 0.92);
  line-height: 1.85;
  font-weight: var(--fw-light);
  margin-bottom: var(--space-6);
}

.philosophy__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  /* Fixed: was rgba(184,173,155,0.65) — now ≥ 4.5:1 */
  color: rgba(220, 213, 202, 0.82);
  line-height: 1.85;
  font-weight: var(--fw-light);
}

/* ─── Pillars (right column) ─── */
.philosophy__pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-8);
}

.philosophy__pillar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  /* Boosted border visibility */
  border: 1px solid rgba(184, 173, 155, 0.22);
  transition: border-color 250ms ease-out, background 250ms ease-out;
  position: relative;
  overflow: hidden;
}

.philosophy__pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(184, 173, 155, 0.10);
  transition: width 350ms ease-out;
}

.philosophy__pillar:hover::before {
  width: 100%;
}

.philosophy__pillar:hover {
  border-color: rgba(184, 173, 155, 0.45);
}

.philosophy__pillar-icon {
  font-size: 22px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.philosophy__pillar-text {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  /* Full cream for maximum legibility */
  color: var(--color-cream);
  font-weight: var(--fw-regular);
  font-style: normal;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Faint background food/coffee curves illustration on the left */
.philosophy__illustration {
  position: absolute;
  top: 50%;
  left: -80px;
  transform: translateY(-50%) rotate(-12deg);
  width: clamp(380px, 36vw, 560px);
  height: auto;
  /* Reduced opacity so it doesn't compete with text */
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: brightness(1.5);
  transition: opacity 0.3s ease;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .philosophy__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .philosophy__watermark {
    font-size: 28vw;
    right: -8%;
    -webkit-text-stroke-width: 1px;
  }

  .philosophy__illustration {
    width: 280px;
    left: -40px;
    opacity: 0.04;
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .philosophy__pillar::before {
    transition: none;
  }
  .philosophy__pillar {
    transition: none;
  }
}