/* About Us — page-specific styles (loads after styles.css) */

.about-hero {
  position: relative;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  overflow: hidden;
  background: var(--navy-deep);
}

.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 18s var(--ease) both;
}

.about-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 16, 40, 0.9) 0%, rgba(0, 32, 74, 0.7) 50%, rgba(0, 32, 74, 0.4) 100%),
    linear-gradient(to top, rgba(0, 16, 40, 0.8) 0%, transparent 50%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: var(--content-w);
  margin-inline: auto;
  color: var(--white);
}

.about-hero-content > * {
  max-width: 38rem;
}

.about-hero .section-label {
  color: var(--blue-line);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.about-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.28s forwards;
}

.about-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

/* Intro + story */

.about-intro {
  display: grid;
  gap: 2rem;
}

.about-intro-text p {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 40rem;
}

.about-story {
  display: grid;
  gap: 1.5rem;
}

.about-story-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  padding: 1.75rem 1.5rem;
}

.about-story-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-story-panel p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.about-story-panel p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Why choose us */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.why-card {
  padding: 1.5rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.why-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.why-card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.65rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-card:last-child:nth-child(5) {
    grid-column: span 1;
  }
}

/* About CTA band */

.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  background: linear-gradient(125deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
}

.about-cta h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.4rem;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
}

@media (min-width: 800px) {
  .about-cta {
    padding: 2.5rem 3rem;
  }
}
