/* =============================================================
   about.css — About page (Stitch landing-style)
   Loaded after app.css, scoped by body.page-about
   Self-contained: hard-coded fallbacks where vars might miss
   Mirrors the working methodology.css pattern.
   ============================================================= */

body.page-about {
  background-color: #f0f7ff;
}

/* ---------- Page wrapper ---------- */
body.page-about .wp-page-about {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1rem 0 3rem;
}

/* ===========================================================
   1. HERO — large dark navy rounded card
   =========================================================== */
body.page-about .wp-about-hero {
  background: linear-gradient(135deg, #002046 0%, #1b365d 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 3rem 2.75rem 3.25rem;
  box-shadow: 0 10px 32px rgba(0, 32, 70, 0.22);
  overflow: hidden;
}

body.page-about .wp-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.92fr);
  gap: 2.75rem;
  align-items: center;
}

body.page-about .wp-about-hero__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.page-about .wp-about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

body.page-about .wp-about-hero__badge .material-symbols-outlined {
  font-size: 1.1rem;
  line-height: 1;
}

body.page-about .wp-about-hero__title {
  margin: 0 0 1rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
}

body.page-about .wp-about-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

body.page-about .wp-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
}

body.page-about .wp-about-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.page-about .wp-about-hero__btn--primary {
  background: #ffffff;
  color: #002046;
  border-color: #ffffff;
}

body.page-about .wp-about-hero__btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #002046;
}

body.page-about .wp-about-hero__btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

body.page-about .wp-about-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

/* ---------- Hero right-side illustration (transparent PNG on navy) ---------- */
body.page-about .wp-about-hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

body.page-about .wp-about-hero__illustration {
  display: block;
  width: 100%;
  max-width: min(600px, 100%);
  height: auto;
}

/* ===========================================================
   2. BLOCK — heading row used on principles / metrics
   =========================================================== */
body.page-about .wp-about-block {
  display: flex;
  flex-direction: column;
}

body.page-about .wp-about-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}

body.page-about .wp-about-block__title {
  margin: 0 0 1.25rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #002046;
}

body.page-about .wp-about-block__head .wp-about-block__title {
  margin: 0;
}

body.page-about .wp-about-block__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d47a1;
  background: #e3f2fd;
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 999px;
}

/* ===========================================================
   3. CARD GRID — used by principles (3) and metrics (8 = 4x2)
   =========================================================== */
body.page-about .wp-about-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  body.page-about .wp-about-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  body.page-about .wp-about-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.page-about .wp-about-card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.page-about .wp-about-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 1px 3px rgba(2, 36, 72, 0.05),
              0 4px 16px rgba(2, 36, 72, 0.06);
}

body.page-about .wp-about-card--compact {
  padding: 1.15rem 1.2rem 1.25rem;
}

body.page-about .wp-about-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: #e8f2fc;
  color: #0d4d85;
  margin-bottom: 0.95rem;
  flex-shrink: 0;
}

body.page-about .wp-about-card__icon-wrap .material-symbols-outlined {
  font-size: 1.35rem;
}

body.page-about .wp-about-card__title {
  margin: 0 0 0.45rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #021f29;
}

body.page-about .wp-about-card--compact .wp-about-card__title {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

body.page-about .wp-about-card__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #546e7a;
}

/* ===========================================================
   4. INSIGHTS — "Why this matters" two-column
   =========================================================== */
body.page-about .wp-about-insights__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  body.page-about .wp-about-insights__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.25rem;
  }
}

body.page-about .wp-about-insights__copy {
  display: flex;
  flex-direction: column;
}

body.page-about .wp-about-insights__copy p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #546e7a;
}

body.page-about .wp-about-insights__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 1.6rem 1.6rem;
  box-shadow: 0 1px 3px rgba(2, 36, 72, 0.05),
              0 4px 16px rgba(2, 36, 72, 0.06);
}

body.page-about .wp-about-insights__card-title {
  margin: 0 0 0.3rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #002046;
}

body.page-about .wp-about-insights__card-note {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #546e7a;
}

body.page-about .wp-about-insights__list {
  margin: 0;
  display: flex;
  flex-direction: column;
}

body.page-about .wp-about-insights__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(2, 36, 72, 0.1);
}

body.page-about .wp-about-insights__row:last-child {
  border-bottom: none;
}

body.page-about .wp-about-insights__row-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #021f29;
}

body.page-about .wp-about-insights__row-label .material-symbols-outlined {
  font-size: 1.15rem;
  color: #0d4d85;
}

body.page-about .wp-about-insights__row-value {
  margin: 0;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
}

body.page-about .wp-about-insights__row-value--varies {
  background: #fff8e6;
  color: #5d4200;
  border: 1px solid #f5c842;
}

body.page-about .wp-about-insights__row-value--improving {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

body.page-about .wp-about-insights__row-value--partial {
  background: #e3f2fd;
  color: #0d47a1;
  border: 1px solid rgba(13, 71, 161, 0.22);
}

/* ===========================================================
   5. NOTICE — pale-blue rounded panel
   =========================================================== */
body.page-about .wp-about-notice {
  background: #e3f2fd;
  border-radius: 16px;
  padding: 2rem 2.25rem 2.25rem;
  box-shadow: 0 1px 4px rgba(13, 71, 161, 0.05);
}

body.page-about .wp-about-notice__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

body.page-about .wp-about-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #ffffff;
  color: #0d47a1;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(13, 71, 161, 0.12);
}

body.page-about .wp-about-notice__icon .material-symbols-outlined {
  font-size: 1.35rem;
}

body.page-about .wp-about-notice__title {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #002046;
}

body.page-about .wp-about-notice__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #002046;
}

/* ===========================================================
   6. CORRECTION — white card with CTA button
   =========================================================== */
body.page-about .wp-about-correction {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.85rem 2.25rem 2rem;
  box-shadow: 0 1px 3px rgba(2, 36, 72, 0.05),
              0 4px 16px rgba(2, 36, 72, 0.06);
}

body.page-about .wp-about-correction__title {
  margin: 0 0 0.55rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #002046;
}

body.page-about .wp-about-correction__body {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #546e7a;
}

body.page-about .wp-about-correction__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

body.page-about .wp-about-correction__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #002046;
  background: #ffffff;
  border: 1px solid rgba(2, 36, 72, 0.25);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.page-about .wp-about-correction__btn:hover {
  background: #f0f7ff;
  border-color: rgba(2, 36, 72, 0.45);
  color: #002046;
}

body.page-about .wp-about-correction__hint {
  font-size: 0.8125rem;
  color: #546e7a;
}

/* ===========================================================
   7. FINAL CTA — large dark navy rounded card with search form
   =========================================================== */
body.page-about .wp-about-final-cta {
  background: linear-gradient(135deg, #002046 0%, #1b365d 100%);
  border-radius: 16px;
  padding: 3rem 2.5rem 3.25rem;
  box-shadow: 0 10px 32px rgba(0, 32, 70, 0.22);
  text-align: center;
}

body.page-about .wp-about-final-cta__inner {
  max-width: 36rem;
  margin: 0 auto;
}

body.page-about .wp-about-final-cta__title {
  margin: 0 0 1.5rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

body.page-about .wp-about-final-cta__form .wp-search-form__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.page-about .wp-about-final-cta__form .wp-search-form__query {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  color: #021f29;
}

body.page-about .wp-about-final-cta__form .wp-search-form__query:focus {
  outline: none;
}

body.page-about .wp-about-final-cta__form .wp-search-form__radius {
  display: none;
}

body.page-about .wp-about-final-cta__form .wp-btn--primary,
body.page-about .wp-about-final-cta__form button[type="submit"] {
  padding: 0.65rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  background: #0d4d85;
  border: 1px solid #0d4d85;
  border-radius: 8px;
  cursor: pointer;
}

body.page-about .wp-about-final-cta__form .wp-btn--primary:hover,
body.page-about .wp-about-final-cta__form button[type="submit"]:hover {
  background: #002046;
  border-color: #002046;
}

/* ===========================================================
   8. RELATED LINKS
   =========================================================== */
body.page-about .wp-about-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(2, 36, 72, 0.12);
}

body.page-about .wp-about-related__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0d4d85;
  text-decoration: none;
}

body.page-about .wp-about-related__link:hover {
  color: #022448;
  text-decoration: underline;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 900px) {
  body.page-about .wp-about-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.page-about .wp-about-hero__visual {
    justify-content: center;
  }
  body.page-about .wp-about-hero__illustration {
    max-width: min(280px, 82vw);
  }
}

@media (max-width: 768px) {
  body.page-about .wp-page-about {
    gap: 2rem;
  }
  body.page-about .wp-about-hero {
    padding: 2rem 1.5rem 2.25rem;
  }
  body.page-about .wp-about-hero__illustration {
    max-width: min(240px, 78vw);
  }
  body.page-about .wp-about-final-cta {
    padding: 2rem 1.5rem 2.25rem;
  }
  body.page-about .wp-about-final-cta__form .wp-search-form__row {
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
  }
  body.page-about .wp-about-final-cta__form .wp-search-form__query {
    width: 100%;
  }
  body.page-about .wp-about-final-cta__form .wp-btn--primary,
  body.page-about .wp-about-final-cta__form button[type="submit"] {
    width: 100%;
  }
  body.page-about .wp-about-notice,
  body.page-about .wp-about-correction {
    padding: 1.5rem 1.4rem 1.65rem;
  }
}
