/* ─────────────────────────────────────────────────────────────────────────────
   PROPHETIC DISCOVERY - ABOUT CSS
   ──────────────────────────────────────────────────────────────────────────── */

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* Invisible container that holds the background image */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero-bg img {
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: 44% 45%;
  opacity: 0.55;
  display: block;
}

/* When image is present darken the hero slightly for contrast */
.page-hero--has-image {
  background: var(--ink);
}

/* Gradient overlay so text on the left stays readable */
.page-hero--has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(30, 30, 25, 0.72) 0%,
    rgba(30, 30, 25, 0.45) 55%,
    rgba(30, 30, 25, 0.1) 100%
  );
}

.page-hero--has-image .heading-hero { color: white; }
.page-hero--has-image .hero-sub { color: rgba(255,255,255,0.85); }

.page-hero-content {
  max-width: 680px;
  padding: var(--space-9) 0;
  position: relative;
  z-index: 2;
}

.page-hero h1 { margin-bottom: var(--space-5); }

.page-hero .hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}

/* ─── VISION & MISSION ────────────────────────────────────────────────────── */
.vm-section {
  background: var(--bg);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 var(--space-9);
  align-items: start;
}

.vm-divider {
  background: var(--border);
  align-self: stretch;
  margin: var(--space-4) 0;
}

.vm-col { padding: var(--space-7) 0; }

.vm-vision {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-2xl);
  line-height: 1.5;
  color: var(--accent);
  margin-top: var(--space-3);
}

.vm-mission p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--inkMid);
  margin-top: var(--space-3);
}

/* ─── VALUES GRID ─────────────────────────────────────────────────────────── */
.values-section { background: var(--bgAlt); }

.values-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-9);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.values-grid .value-card:nth-child(7) {
  grid-column: 2;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.value-card:hover {
  border-color: rgba(44,95,74,0.28);
  background: rgba(255,255,255,0.72);
}

.value-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.value-desc {
  font-family: var(--font-body);
  font-size: 13pt;
  font-weight: 300;
  color: var(--inkMid);
  line-height: 1.7;
}

/* ─── TEAM INTRO ──────────────────────────────────────────────────────────── */
.team-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Background image layer for team section */
.team-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.team-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.07; /* very subtle - just a warm texture behind the text */
  display: block;
}

.team-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.team-inner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--inkMid);
  margin-bottom: var(--space-6);
}

.team-cursive {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-cursive-impact);
  color: var(--accent);
  display: block;
}

.team-statement,
.cta-statement {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--accent);
  margin-bottom: 0;
}

.cta-statement {
  color: rgba(255,255,255,0.86);
  margin-bottom: var(--space-7);
}

/* Abstract SVG decoration for team section */
.team-ornament {
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: var(--space-7) auto;
}

/* ─── RESPONSIVE ABOUT ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero-content { padding: 80px 0 48px; }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vm-divider           { display: none; }
  .vm-col               { padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
  .vm-col:last-child    { border-bottom: none; }

  .values-grid          { grid-template-columns: 1fr; }
  .values-grid .value-card:nth-child(7) {
    grid-column: 1;
    max-width: none;
  }

  .value-card {
    min-height: auto;
    justify-content: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 1120px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid .value-card:nth-child(7) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 520px;
  }
}
