/* =========================================================
   AD-VANCE ABOUT PAGE
   This file should load after styles.css.
========================================================= */


/* =========================================================
   GENERAL PAGE SETTINGS
========================================================= */

.about-page {
  overflow-x: hidden;
  background: #ffffff;
}

.about-page main {
  overflow: hidden;
}

.about-page .container {
  width: min(1160px, 92%);
}

.about-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.about-eyebrow {
  margin: 0 0 0.8rem;
  color: #b64747;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-eyebrow-light {
  color: #ffd1d1;
}

.about-lead {
  color: #172033;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  font-weight: 700;
  line-height: 1.65;
}


/* =========================================================
   BUTTONS
========================================================= */

.about-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.about-button:hover {
  transform: translateY(-2px);
}

.about-button-primary {
  background: #0b5f94;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 95, 148, 0.2);
}

.about-button-primary:hover {
  background: #084c78;
}

.about-button-secondary {
  border-color: rgba(7, 26, 51, 0.18);
  background: #ffffff;
  color: #071a33;
}

.about-button-secondary:hover {
  border-color: #0b5f94;
  color: #0b5f94;
}

.about-button-white {
  background: #ffffff;
  color: #071a33;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.about-button-white:hover {
  background: #edf7fd;
}

.about-button-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.about-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   SMALL INTRO HEADER
========================================================= */

.about-intro {
  position: relative;
  padding: clamp(4.4rem, 8vw, 6.8rem) 0;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(185, 71, 71, 0.16),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f3f9fd,
      #ffffff 55%,
      #fff6f3
    );
}

.about-intro::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(11, 95, 148, 0.25),
      transparent
    );
}

.about-intro-inner {
  max-width: 940px;
}

.about-intro h1 {
  max-width: 930px;
  margin: 0;
  color: #071a33;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.about-intro h1 span {
  display: block;
  color: #0b5f94;
}

.about-intro-text {
  max-width: 730px;
  margin: 1.4rem 0 0;
  color: #657083;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.about-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}


/* =========================================================
   SHARED SECTION HEADINGS
========================================================= */

.about-section-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 470px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.3rem, 5vw, 3.8rem);
}

.about-section-heading h2,
.about-heading-column h2 {
  max-width: 700px;
  margin: 0;
  color: #071a33;
  font-size: clamp(2.2rem, 4.8vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-section-heading > p {
  margin: 0;
  color: #657083;
  line-height: 1.75;
}


/* =========================================================
   STORY
========================================================= */

.about-story {
  background: #ffffff;
}

.about-story-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(380px, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.about-copy-column {
  padding-left: clamp(1.5rem, 4vw, 3.25rem);
  border-left: 2px solid rgba(11, 95, 148, 0.18);
}

.about-copy-column p {
  margin: 0 0 1.25rem;
  color: #657083;
  line-height: 1.82;
}

.about-copy-column p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   TEAM / OWNER HEADSHOTS
========================================================= */

.about-team-section {
  background:
    linear-gradient(
      135deg,
      #f3f8fc,
      #ffffff 50%,
      #fff8f5
    );
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-owner-card {
  overflow: hidden;
  border: 1px solid rgba(7, 89, 133, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 26, 51, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.about-owner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 95, 148, 0.32);
  box-shadow: 0 28px 58px rgba(7, 26, 51, 0.12);
}

.about-headshot-placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(
      145deg,
      #dcecf5,
      #f3f8fb
    );
  color: #557084;
  text-align: center;
}

.about-headshot-placeholder::before {
  content: "";
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: rgba(11, 95, 148, 0.13);
}

.about-headshot-placeholder span {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-owner-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.about-owner-info {
  padding: 1.35rem;
}

.about-owner-role {
  color: #b64747;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-owner-info h3 {
  margin: 0.55rem 0 0.65rem;
  color: #071a33;
  font-size: 1.45rem;
}

.about-owner-info p {
  margin: 0;
  color: #657083;
  font-size: 0.93rem;
  line-height: 1.65;
}


/* =========================================================
   ACTION PHOTO / TEAM AT WORK
========================================================= */

.about-work-section {
  background: #ffffff;
}

.about-work-grid {
  display: grid;
  grid-template-columns:
    minmax(420px, 1.08fr)
    minmax(0, 0.92fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.about-work-photo-placeholder {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px dashed rgba(11, 95, 148, 0.38);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(11, 95, 148, 0.09),
      rgba(255, 255, 255, 0.6)
    );
}

.about-placeholder-label {
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: #0b5f94;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-work-photo-placeholder strong {
  max-width: 520px;
  color: #071a33;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.about-work-photo-placeholder p {
  max-width: 520px;
  margin: 0.8rem 0 0;
  color: #657083;
  line-height: 1.65;
}

.about-work-photo {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 55px rgba(7, 26, 51, 0.14);
}

.about-work-photo img {
  width: 100%;
  min-height: 510px;
  display: block;
  object-fit: cover;
}

.about-work-copy h2 {
  margin: 0;
  color: #071a33;
  font-size: clamp(2.3rem, 4.8vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-work-copy p {
  margin: 1.15rem 0 0;
  color: #657083;
  line-height: 1.78;
}

.about-work-copy .about-lead {
  color: #172033;
}


/* =========================================================
   PRESERVE / IMPROVE / EXPAND
========================================================= */

.about-approach-section {
  background:
    linear-gradient(
      135deg,
      #f5f9fc,
      #fff9f6
    );
}

.about-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-approach-card {
  min-height: 290px;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid rgba(7, 89, 133, 0.14);
  border-top: 4px solid #0b5f94;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(7, 26, 51, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.about-approach-card:nth-child(2) {
  border-top-color: #b64747;
}

.about-approach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(7, 26, 51, 0.11);
}

.about-card-number {
  color: #b64747;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.about-approach-card h3 {
  margin: 4rem 0 0.8rem;
  color: #071a33;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.about-approach-card p {
  margin: 0;
  color: #657083;
  line-height: 1.72;
}


/* =========================================================
   MISSION STATEMENT
========================================================= */

.about-mission-section {
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(185, 71, 71, 0.22),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #071a33,
      #0a365e
    );
  color: #ffffff;
}

.about-mission-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(420px, 1.18fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.about-mission-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.3rem, 4.8vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-mission-heading > p:last-child {
  max-width: 500px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.7;
}

.about-mission-statement {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid #b64747;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.about-mission-statement p {
  margin: 0 0 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.82;
}

.about-mission-statement p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   VALUES
========================================================= */

.about-values-section {
  background: #ffffff;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-value-card {
  padding: 1.5rem;
  border: 1px solid rgba(7, 89, 133, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f6fafc
    );
}

.about-value-card span {
  color: #b64747;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.about-value-card h3 {
  margin: 2rem 0 0.7rem;
  color: #071a33;
  font-size: 1.3rem;
}

.about-value-card p {
  margin: 0;
  color: #657083;
  line-height: 1.7;
}


/* =========================================================
   FINAL CTA
========================================================= */

.about-final-cta {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    linear-gradient(
      135deg,
      #050b16,
      #0a2a4b
    );
  color: #ffffff;
  text-align: center;
}

.about-final-cta-inner {
  max-width: 830px;
}

.about-final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-final-cta p:not(.about-eyebrow) {
  max-width: 680px;
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.about-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}


/* =========================================================
   FOOTER
========================================================= */

.about-footer {
  background:
    linear-gradient(
      135deg,
      #050915,
      #0a1224
    );
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .about-story-grid,
  .about-work-grid,
  .about-mission-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid,
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-work-photo-placeholder,
  .about-work-photo img {
    min-height: 450px;
  }

}


/* =========================================================
   MOBILE NAVIGATION AND LAYOUT
========================================================= */

@media (max-width: 850px) {

  .about-section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-copy-column {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 2px solid rgba(11, 95, 148, 0.18);
    border-left: 0;
  }

  .about-approach-grid {
    grid-template-columns: 1fr;
  }

  .about-approach-card {
    min-height: auto;
  }

  .about-approach-card h3 {
    margin-top: 2.8rem;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 600px) {

  .about-page .container {
    width: min(100% - 2rem, 1160px);
  }

  .about-intro {
    padding: 3.6rem 0 4rem;
  }

  .about-intro h1 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .about-intro-actions,
  .about-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-button {
    width: 100%;
  }

  .about-team-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-work-photo-placeholder,
  .about-work-photo img {
    min-height: 380px;
  }

  .about-section-heading h2,
  .about-heading-column h2,
  .about-work-copy h2,
  .about-mission-heading h2,
  .about-final-cta h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
