/* ── Ambient glow blobs ────────────────────────────────────────────────── */
.phil-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  animation: phil-breathe 10s ease-in-out infinite alternate;
}

.phil-glow--amber {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(240, 180, 80, 1), transparent 70%);
  opacity: 0.04;
  top: -120px;
  left: -150px;
  animation-delay: 0s;
}

.phil-glow--warm {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 130, 60, 1), transparent 70%);
  opacity: 0.035;
  bottom: 5%;
  right: -80px;
  animation-delay: 6s;
}

@keyframes phil-breathe {
  from {
    opacity: 0.03;
    transform: scale(1);
  }

  to {
    opacity: 0.065;
    transform: scale(1.08);
  }
}

/* ── Active nav link ───────────────────────────────────────────────────── */
.nav-link--active {
  color: var(--clr-text) !important;
}

.nav-link--active::after {
  width: 100% !important;
}

/* ── Opening manifesto headline ────────────────────────────────────────── */
.phil-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.10;
  letter-spacing: -0.015em;
  color: var(--clr-text);
}

.phil-em {
  font-style: italic;
  background: linear-gradient(135deg, rgba(240, 200, 130, 1) 0%, rgba(255, 160, 70, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phil-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, rgba(240, 200, 130, 0.7), transparent);
}

/* ── Section cards ─────────────────────────────────────────────────────── */
.phil-section {
  border: 1px solid var(--clr-border);
  border-radius: 18px;
  background: rgba(240, 236, 228, 0.02);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}

.phil-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 200, 130, 0.07), transparent 70%);
  pointer-events: none;
}

/* ── Pillar cards ──────────────────────────────────────────────────────── */
.pillar-card {
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  background: rgba(240, 236, 228, 0.02);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(240, 200, 130, 0.045), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.pillar-card:hover {
  border-color: rgba(240, 236, 228, 0.35);
  background: rgba(240, 236, 228, 0.035);
  transform: translateY(-3px);
}

.pillar-card:hover::after {
  opacity: 1;
}

.pillar-number {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(240, 200, 130, 0.55);
}

/* ── Pull quote ────────────────────────────────────────────────────────── */
.phil-pullquote {
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
}

.pullquote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: rgba(240, 200, 130, 0.25);
  user-select: none;
}

.phil-quote-text {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--clr-text);
  max-width: 680px;
  margin: 0 auto;
}

/* ── Founder avatar placeholder ────────────────────────────────────────── */
.founder-avatar {
  font-size: 2.8rem;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  background: rgba(240, 236, 228, 0.04);
}

/* ── Approach cards ────────────────────────────────────────────────────── */
.approach-card {
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  background: rgba(240, 236, 228, 0.02);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.25s ease;
}

.approach-card:hover {
  border-color: rgba(240, 236, 228, 0.32);
  background: rgba(240, 236, 228, 0.035);
  transform: translateY(-2px);
}

.approach-icon {
  font-size: 1rem;
  color: rgba(240, 200, 130, 0.7);
  letter-spacing: 0.25em;
}

/* ── Divider ───────────────────────────────────────────────────────────── */
.phil-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-border) 30%, var(--clr-border) 70%, transparent);
}

/* ── Scroll-reveal animation ───────────────────────────────────────────── */
.animate-reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-reveal.will-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.animate-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .phil-headline {
    font-size: 2.2rem;
  }

  .phil-quote-text {
    font-size: 1.3rem;
  }

  .phil-section-inner {
    padding: 2rem;
  }
}