/* ==========================================================================
   About page. Every rule is scoped to body.page-about.
   Shared tokens (navy, ink, gold, line, cream) come from css/styles.css.
   ========================================================================== */

body.page-about {
  --about-hero-from: #f7f4ed;
  --about-hero-to: #e8edf1;
  --about-hero-text: #536274;
  --about-ring: rgba(8, 39, 80, 0.11);
  --about-ring-far: rgba(8, 39, 80, 0.024);
  --about-ring-farther: rgba(8, 39, 80, 0.02);
  --about-story-text: #5f6e81;
  --about-value-text: #697688;
  --about-identity-text: #b7c4d3;
}

/* 1. Page hero ----------------------------------------------------------- */
body.page-about .page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 510px;
  padding: 105px clamp(24px, 8vw, 130px) 85px;
  background: linear-gradient(135deg, var(--about-hero-from), var(--about-hero-to));
  overflow: hidden;
}

body.page-about .page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -8vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid var(--about-ring);
  border-radius: 50%;
  box-shadow: 0 0 0 80px var(--about-ring-far), 0 0 0 160px var(--about-ring-farther);
  pointer-events: none;
}

body.page-about .page-hero h1 {
  max-width: 1050px;
  margin: 22px 0 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--navy);
}

body.page-about .page-hero > p {
  max-width: 780px;
  margin: 0;
  color: var(--about-hero-text);
  font-size: 18px;
  line-height: 1.7;
}

/* 2. Our role ------------------------------------------------------------- */
body.page-about .about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding: 105px clamp(24px, 8vw, 130px);
}

body.page-about .about-story h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--navy);
}

body.page-about .about-story p {
  margin: 0;
  color: var(--about-story-text);
  font-size: 16px;
  line-height: 1.8;
}

/* 3. Value grid ----------------------------------------------------------- */
body.page-about .value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(24px, 8vw, 130px) 105px;
  border: 1px solid var(--line);
}

body.page-about .value-grid article {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

body.page-about .value-grid article:last-child {
  border-right: 0;
}

body.page-about .value-grid .icon {
  display: block;
  width: 25px;
  height: 24px;
  color: var(--gold-dark);
}

body.page-about .value-grid h2 {
  margin: 55px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}

body.page-about .value-grid p {
  margin: 0;
  color: var(--about-value-text);
  font-size: 13px;
  line-height: 1.65;
}

/* 4. Business identity ---------------------------------------------------- */
body.page-about .legal-identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding: 95px clamp(24px, 8vw, 130px);
  background: var(--navy);
  color: var(--white);
}

body.page-about .legal-identity h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
}

body.page-about .legal-identity p {
  margin: 0;
  color: var(--about-identity-text);
  font-size: 16px;
  line-height: 1.75;
}

/* 5. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  body.page-about .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-about .value-grid article:nth-child(2) {
    border-right: 0;
  }

  body.page-about .value-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  body.page-about .page-hero {
    min-height: 470px;
    padding-top: 80px;
  }

  body.page-about .about-story {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  body.page-about .legal-identity {
    grid-template-columns: 1fr;
  }

  body.page-about .value-grid {
    grid-template-columns: 1fr;
  }

  body.page-about .value-grid article,
  body.page-about .value-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
