.about-intro { background-color: #f8fafc; border-radius: var(--radius-lg); }

/* About: sections without photo backgrounds */
.about-section-plain {
  background: transparent;
}

body.about-page .about-section-plain .surface-card {
  background: #ffffff;
  backdrop-filter: none;
}

/* Hero → bar divider: more space above the straight color line */
body.about-page main > section.hero-top + section:not(.section--no-divider)::before {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Plain sections → segment line (odd auto divider) */
body.about-page main > section.about-section-plain:not(.section--no-divider):nth-of-type(odd)::before {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Milestones → segment divider: more air above the four rings */
body.about-page .about-milestones + .brand-section-divider--segments {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

body.about-page .about-milestones + .brand-section-divider--segments .brand-section-divider__rings {
  margin-top: 0.85rem;
}

/* Core Values → extra space before four rings at section end */
body.about-page main > section.about-core-values::after {
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
}

body.about-page .about-core-values {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

body.about-page main + hr.brand-section-divider--bar,
body.about-page main + .brand-section-divider--bar {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

/* Section background images styling */
section[class*="relative"] .absolute img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/* Ensure proper z-index stacking for sections with backgrounds */
section.relative {
  position: relative;
}

section.relative > .absolute {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

section.relative > .relative {
  position: relative;
  z-index: 10;
}

/* Enhanced surface cards for better visibility over backgrounds */
section.relative .surface-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
