/* ============================================================
   FOUNDSTONE INFRA — About Us Page Styles
   Extends: css/style.css (shared design system)
   ============================================================ */

/* ---- Active nav link (About page) ---- */
.nav-active {
  color: var(--copper-lt) !important;
}

/* ============================================================
   A. ABOUT HERO
   ============================================================ */
#about-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 5.5rem;
  padding-top: 110px;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
  transition: transform 10s ease;
}
#about-hero.loaded .about-hero-bg { transform: scale(1); }
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(28, 40, 32, 0.3) 0%,
    rgba(36, 53, 41, 0.6) 45%,
    rgba(41, 45, 41, 0.92) 100%
  );
}
.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--copper-lt); }
.breadcrumb span[aria-current] { color: var(--copper-lt); }

.about-hero-inner { max-width: 820px; }
.ah-label {
  color: var(--copper-lt) !important;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.about-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.about-hero-h1 em {
  color: var(--copper);
  font-style: italic;
  font-weight: 400;
}
.about-hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

/* ============================================================
   B. OUR STORY
   ============================================================ */
#our-story {
  background: var(--ivory);
  padding: 7rem 0;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.story-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}
.story-img-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.8s ease;
}
.story-img-wrap:hover img { transform: scale(1.03); }
.story-img-frame {
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  border: 2px solid var(--copper);
  border-radius: 18px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}
.story-text { padding-right: 1rem; }
.story-h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.story-h2 em { color: var(--forest); font-style: italic; }
.story-body {
  font-size: 0.98rem;
  color: #585858;
  line-height: 1.88;
  margin-bottom: 1.2rem;
}
.story-divider {
  width: 56px;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
  margin: 1.8rem 0;
  opacity: 0.6;
}
.story-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.65;
  padding-left: 1.2rem;
  border-left: 3px solid var(--copper);
}

/* ============================================================
   C. OUR APPROACH
   ============================================================ */
#our-approach {
  background: var(--charcoal);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
#our-approach::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border: 1px solid rgba(197,139,85,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.approach-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.approach-h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--white);
}
.approach-h2 em { color: var(--copper); font-style: italic; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.approach-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.approach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197,139,85,0.4);
  background: rgba(255,255,255,0.07);
}
.approach-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(197,139,85,0.12);
  border: 1px solid rgba(197,139,85,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--copper);
  transition: background var(--transition), border-color var(--transition);
}
.approach-card:hover .approach-icon {
  background: rgba(197,139,85,0.2);
  border-color: rgba(197,139,85,0.6);
}
.approach-card-h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.approach-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.72;
}

/* ============================================================
   D. WHO WE SERVE
   ============================================================ */
#who-we-serve {
  background: var(--forest);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
#who-we-serve::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border: 1px solid rgba(197,139,85,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.serve-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.serve-h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--white);
}
.serve-h2 em { color: var(--copper); font-style: italic; }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.serve-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition), box-shadow var(--transition);
}
.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.serve-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.serve-card:hover .serve-card-bg { transform: scale(1.06); }
.serve-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36,53,41,0.95) 0%, rgba(36,53,41,0.5) 55%, rgba(36,53,41,0.1) 100%);
}
.serve-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.75rem;
}
.serve-tag {
  display: inline-block;
  background: rgba(197,139,85,0.2);
  border: 1px solid rgba(197,139,85,0.5);
  color: var(--copper-lt);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}
.serve-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.65rem;
  font-weight: 600;
}
.serve-card-content p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
}

/* ============================================================
   E. WHAT WE DO
   ============================================================ */
#what-we-do {
  background: var(--beige);
  padding: 7rem 0;
}
.wwd-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.wwd-h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.wwd-h2 em { color: var(--forest); font-style: italic; }
.wwd-sub {
  font-size: 0.98rem;
  color: #666;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.72;
}

.wwd-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.wwd-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.6rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--charcoal);
  transition: background var(--transition), transform var(--transition), padding-left var(--transition);
}
.wwd-item:last-child { border-bottom: none; }
.wwd-item:hover {
  background: var(--ivory);
  padding-left: 2.4rem;
}
.wwd-item-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(52,74,61,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: background var(--transition), color var(--transition);
}
.wwd-item:hover .wwd-item-icon {
  background: var(--copper);
  color: var(--white);
}
.wwd-item-text { flex: 1; }
.wwd-item-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.wwd-item-text p {
  font-size: 0.84rem;
  color: #777;
  line-height: 1.6;
}
.wwd-item-arrow {
  color: var(--copper);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
}
.wwd-item:hover .wwd-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   F. OUR COMMITMENT
   ============================================================ */
#our-commitment {
  background: var(--forest);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#our-commitment::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.commitment-h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.2rem;
}
.commitment-h2 em { color: var(--copper); font-style: italic; }
.commitment-body {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.commitment-line {
  width: 60px; height: 2px;
  background: var(--copper);
  margin: 0 auto 2rem;
  opacity: 0.6;
  border-radius: 2px;
}
.commitment-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.commitment-pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.commitment-pillar-dot {
  width: 7px; height: 7px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(197,139,85,0.6);
}

/* ============================================================
   G. ABOUT CTA
   ============================================================ */
#about-cta {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.about-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.03);
  transition: transform 0.6s ease;
}
#about-cta:hover .about-cta-bg { transform: scale(1); }
.about-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(36,53,41,0.96) 0%,
    rgba(36,53,41,0.78) 55%,
    rgba(36,53,41,0.35) 100%
  );
}
.about-cta-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  width: 100%;
}
.about-cta-inner { max-width: 640px; }
.about-cta-h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 2rem;
  margin-top: 0.6rem;
  line-height: 1.2;
}
.about-cta-h2 em { color: var(--copper); font-style: italic; }
.about-cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE — About Page
   ============================================================ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-img-wrap img { height: 400px; }
  .story-img-frame { display: none; }
  .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .serve-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .serve-card { min-height: 300px; }
  #about-hero { min-height: 60vh; }
}

@media (max-width: 768px) {
  #our-story,
  #our-approach,
  #who-we-serve,
  #what-we-do,
  #our-commitment { padding: 5rem 0; }
  .about-cta-content { padding: 4rem 0; }
  .about-cta-h2 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
  .commitment-pillars { gap: 1.5rem; flex-direction: column; }
  .wwd-list { border-radius: 12px; }
  .wwd-item { padding: 1.4rem 1.5rem; gap: 1rem; }
}

@media (max-width: 640px) {
  #about-hero { padding-top: 90px; padding-bottom: 4rem; }
  .about-hero-h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .about-hero-desc { font-size: 0.95rem; }
  .story-h2 { font-size: 1.75rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { padding: 2rem 1.5rem; }
  .serve-grid { grid-template-columns: 1fr; }
  .wwd-item { padding: 1.25rem 1.25rem; }
  .about-cta-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  #our-commitment::before { font-size: 16rem; }
  .commitment-h2 { font-size: 2rem; }
}
