/* About / regional development — cleaner premium background + smoother staged reveal (V59.31) */
.page-about .regional-development {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(60px, 5.8vw, 88px) 0 clamp(68px, 6.2vw, 96px);
  background: #f8fbff;
  border-top: 1px solid rgba(192, 216, 236, .30);
  border-bottom: 1px solid rgba(192, 216, 236, .34);
}

.page-about .regional-development::before,
.page-about .regional-development::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Use the supplied background more directly so the globe remains visible. */
.page-about .regional-development::before {
  z-index: 0;
  background-image:
    linear-gradient(114deg, rgba(255,255,255,.40) 0%, rgba(251,253,255,.18) 42%, rgba(245,249,255,.08) 100%),
    url('../images/about-regional-bg-v31.png');
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center center, center center;
}

/* Gentle light polish only — no flashing or aggressive motion. */
.page-about .regional-development::after {
  z-index: 0;
  inset: auto auto -12% -10%;
  width: min(34vw, 500px);
  height: min(26vw, 360px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(202,225,245,.26) 0%, rgba(202,225,245,.10) 45%, rgba(202,225,245,0) 74%);
  opacity: .9;
}

.page-about .regional-development > .container {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 56px)) !important;
  max-width: 960px !important;
}

.page-about .regional-globe { display: none !important; }

.page-about .regional-development .section-heading {
  max-width: 720px;
  margin: 0 auto clamp(34px, 3.1vw, 44px);
  text-align: center;
}

.page-about .regional-development .section-heading .eyebrow {
  justify-content: center;
  margin-bottom: 11px;
  color: #0b4c9c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-about .regional-development .section-heading h2 {
  max-width: 720px;
  margin: 0 auto;
  color: #102a43;
  font-size: clamp(31px, 3.08vw, 46px);
  font-weight: 850;
  line-height: 1.07;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.company-milestones {
  --year-column: 78px;
  --point-column: 28px;
  --milestone-gap: 18px;
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 6px 0 4px;
  list-style: none;
}

.company-milestones::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--year-column) + var(--milestone-gap) + (var(--point-column) / 2) - .5px);
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, #d6e7f4 4%, #bdd7ea 28%, #bdd7ea 78%, transparent 100%);
}

.company-milestone {
  position: relative;
  display: grid;
  grid-template-columns: var(--year-column) var(--point-column) minmax(0, 1fr);
  align-items: center;
  column-gap: var(--milestone-gap);
  min-width: 0;
}

.company-milestone__year {
  text-align: right;
  color: #0459ab;
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.025em;
}

.company-milestone__point {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: linear-gradient(180deg, #1e86da 0%, #0a67bb 100%);
  box-shadow:
    0 0 0 5px rgba(165, 211, 245, .34),
    0 0 0 10px rgba(226, 240, 251, .42),
    0 6px 14px rgba(11, 76, 156, .10);
}

.company-milestone__card {
  position: relative;
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 24px 15px;
  overflow: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.94) 100%);
  box-shadow:
    0 12px 28px rgba(32, 72, 109, .045),
    inset 0 1px 0 rgba(255,255,255,.96);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.page-about .company-milestone__card h3 {
  margin: 0 0 4px;
  color: #102a43;
  font-size: clamp(19px, 1.72vw, 23px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.page-about .company-milestone__card p {
  margin: 0;
  color: #587089;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

/* Smooth professional staged reveal: cards rise in order, no blink / flash. */
.js .page-about .company-milestone.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(.985);
  transition:
    opacity .58s ease,
    transform .72s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .page-about .company-milestone.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (hover:hover) {
  .company-milestone:hover .company-milestone__card {
    transform: translate3d(4px, -2px, 0);
    border-color: #c7dcef;
    box-shadow: 0 16px 34px rgba(35, 82, 120, .075), inset 0 1px 0 #fff;
  }
}

@media (max-width: 900px) {
  .page-about .regional-development > .container {
    width: min(840px, calc(100% - 40px)) !important;
  }
  .company-milestones {
    --year-column: 67px;
    --point-column: 24px;
    --milestone-gap: 15px;
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .page-about .regional-development {
    padding: 50px 0 56px;
  }
  .page-about .regional-development::before {
    background-size: cover, 170% auto;
    background-position: center center, 74% center;
  }
  .page-about .regional-development::after {
    left: -22%;
    bottom: -8%;
    width: 62vw;
    height: 42vw;
    opacity: .62;
  }
  .page-about .regional-development > .container {
    width: calc(100% - 28px) !important;
  }
  .page-about .regional-development .section-heading {
    margin-bottom: 28px;
    padding-inline: 6px;
  }
  .page-about .regional-development .section-heading .eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
    letter-spacing: .18em;
  }
  .page-about .regional-development .section-heading h2 {
    max-width: 490px;
    font-size: clamp(28px, 7.6vw, 35px);
    line-height: 1.08;
  }
  .company-milestones {
    --year-column: 46px;
    --point-column: 18px;
    --milestone-gap: 10px;
    gap: 12px;
  }
  .company-milestone {
    align-items: stretch;
  }
  .company-milestone__year {
    align-self: center;
    font-size: 14px;
  }
  .company-milestone__point {
    width: 11px;
    height: 11px;
    margin-top: 24px;
    box-shadow: 0 0 0 4px rgba(165, 211, 245, .26), 0 0 0 7px rgba(218, 237, 251, .24), 0 6px 12px rgba(11,76,156,.10);
  }
  .company-milestone__card {
    min-height: 72px;
    padding: 12px 14px 13px;
    border-radius: 14px;
  }
  .page-about .company-milestone__card h3 {
    margin-bottom: 4px;
    font-size: 17px;
  }
  .page-about .company-milestone__card p {
    font-size: 11.4px;
    line-height: 1.38;
  }
}

@media (max-width: 390px) {
  .page-about .regional-development > .container { width: calc(100% - 20px) !important; }
  .page-about .regional-development::before {
    background-size: cover, 185% auto;
    background-position: center center, 76% center;
  }
  .company-milestones {
    --year-column: 41px;
    --point-column: 16px;
    --milestone-gap: 8px;
    gap: 10px;
  }
  .company-milestone__year { font-size: 13px; }
  .company-milestone__card { min-height: 68px; padding-inline: 12px; }
  .page-about .company-milestone__card h3 { font-size: 16px; }
  .page-about .company-milestone__card p { font-size: 10.8px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .page-about .company-milestone.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .company-milestone__card { transition: none; }
  .company-milestone:hover .company-milestone__card { transform: none; }
}

/* About mission / vision section — background matched to user reference (V59.32) */
.page-about .purpose-section {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 5.8vw, 84px) 0 !important;
  background: #f7fafc !important;
  border-top: 1px solid rgba(214, 224, 235, .7);
  border-bottom: 1px solid rgba(214, 224, 235, .7);
}

.page-about .purpose-section::before,
.page-about .purpose-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-about .purpose-section::before {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.10)),
    url('../images/about-purpose-bg-v32.png');
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center center, center center;
  opacity: 1;
}

.page-about .purpose-section::after {
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,251,255,.22) 36%, rgba(248,251,255,.42) 100%);
}

.page-about .purpose-section .container,
.page-about .purpose-grid {
  position: relative;
  z-index: 1;
}

.page-about .purpose-grid {
  max-width: 1120px;
  margin-inline: auto;
  gap: 18px !important;
}

.page-about .purpose-card,
.page-about .purpose-card--dark {
  min-height: 226px !important;
  padding: 30px 30px !important;
  grid-template-columns: 46px 1fr !important;
  gap: 18px !important;
  color: #4d667d !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid #d2dfeb !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 36px rgba(74, 102, 130, .08) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.page-about .purpose-card > span,
.page-about .purpose-card--dark > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff !important;
  font-size: .92rem !important;
  font-weight: 900 !important;
  background: linear-gradient(180deg, #0f5ab2 0%, #0b4c9c 100%);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(11, 76, 156, .18);
}

.page-about .purpose-card small,
.page-about .purpose-card--dark small {
  color: #0b4c9c !important;
  font-size: .72rem !important;
  font-weight: 850 !important;
  letter-spacing: .12em !important;
}

.page-about .purpose-card h2,
.page-about .purpose-card--dark h2 {
  margin: 12px 0 16px !important;
  color: #102a43 !important;
  font-size: clamp(1.8rem, 2vw, 2.18rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
}

.page-about .purpose-card p,
.page-about .purpose-card--dark p {
  margin: 0;
  color: #536b82 !important;
  font-size: .97rem !important;
  line-height: 1.72 !important;
  max-width: 95%;
}

@media (hover:hover) {
  .page-about .purpose-card:hover,
  .page-about .purpose-card--dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(74, 102, 130, .11) !important;
  }
}

@media (max-width: 900px) {
  .page-about .purpose-section::before {
    background-size: cover, 145% auto;
    background-position: center center, center center;
  }
  .page-about .purpose-grid { gap: 16px !important; }
}

@media (max-width: 760px) {
  .page-about .purpose-section {
    padding: 52px 0 !important;
  }
  .page-about .purpose-section::before {
    background-size: cover, 210% auto;
    background-position: center center, 56% center;
  }
  .page-about .purpose-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .page-about .purpose-card,
  .page-about .purpose-card--dark {
    min-height: 0 !important;
    padding: 24px 20px !important;
    grid-template-columns: 40px 1fr !important;
    gap: 16px !important;
    border-radius: 14px !important;
  }
  .page-about .purpose-card > span,
  .page-about .purpose-card--dark > span {
    width: 36px;
    height: 36px;
    font-size: .85rem !important;
    border-radius: 9px;
  }
  .page-about .purpose-card h2,
  .page-about .purpose-card--dark h2 {
    margin: 10px 0 12px !important;
    font-size: 1.5rem !important;
  }
  .page-about .purpose-card p,
  .page-about .purpose-card--dark p {
    max-width: 100%;
    font-size: .9rem !important;
    line-height: 1.65 !important;
  }
}

/* V59.34 — mobile-only fix: keep separate backgrounds and prevent the upper background from looking cut */
@media (max-width: 760px) {
  /* Upper Mission/Vision background: show more of the artwork from the top so it fills naturally on phone. */
  .page-about .purpose-section {
    padding: 44px 0 52px !important;
  }
  .page-about .purpose-section::before {
    background-size: cover, 178% auto;
    background-position: center center, 52% 0%;
  }

  /* Lower Regional Development background: keep the globe background independent and visible on mobile. */
  .page-about .regional-development {
    padding: 50px 0 56px;
  }
  .page-about .regional-development::before {
    background-size: cover, 144% auto;
    background-position: center center, 84% 52%;
  }
}

@media (max-width: 430px) {
  .page-about .purpose-section::before {
    background-size: cover, 192% auto;
    background-position: center center, 54% 0%;
  }
  .page-about .regional-development::before {
    background-size: cover, 156% auto;
    background-position: center center, 87% 54%;
  }
}

@media (max-width: 390px) {
  .page-about .purpose-section::before {
    background-size: cover, 205% auto;
    background-position: center center, 56% 0%;
  }
  .page-about .regional-development::before {
    background-size: cover, 168% auto;
    background-position: center center, 90% 56%;
  }
}

/* V59.35 — portrait mobile background assets so the sections no longer look short/cut on phones */
@media (max-width: 760px) {
  .page-about .purpose-section {
    padding: 44px 0 40px !important;
  }
  .page-about .purpose-section::before {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.10)),
      url('../images/about-purpose-bg-mobile-v35.png');
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, center center;
  }
  .page-about .purpose-section::after {
    height: 30%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,251,255,.16) 44%, rgba(248,251,255,.30) 100%);
  }

  .page-about .regional-development {
    padding: 44px 0 44px;
  }
  .page-about .regional-development::before {
    background-image:
      linear-gradient(180deg, rgba(248,251,255,.10) 0%, rgba(248,251,255,.08) 100%),
      url('../images/about-regional-bg-mobile-v35.png');
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, center center;
  }
  .page-about .regional-development::after {
    left: -16%;
    bottom: -3%;
    width: 64vw;
    height: 40vw;
    opacity: .28;
  }
}
