/* About page refinement: isolated to the About template. */

body.fs-template-about {
  --about-ink: #111116;
  --about-copy: #4d4d57;
  --about-red: #d60001;
  --about-red-bright: #ff6768;
  --about-rule: rgb(17 17 22 / 0.12);
  --about-dark-rule: rgb(255 255 255 / 0.16);
  --about-space-sm: 0.75rem;
  --about-space-md: 1.5rem;
}

/* Hero keeps the narrative and proof on the left, reserving the right for imagery. */
body.fs-template-about #main-content > .fs-about-hero:first-of-type {
  min-height: 32rem;
  padding-block: 0 !important;
}

body.fs-template-about .fs-about-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, .82fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  width: min(100%, var(--fs-inner-content, 82rem));
  max-width: var(--fs-inner-content, 82rem);
  min-height: 32rem;
  margin-inline: auto !important;
  padding: clamp(4.75rem, 8vw, 7rem) 1.5rem !important;
}

body.fs-template-about .fs-about-hero__copy {
  min-width: 0;
  text-align: left;
}

body.fs-template-about .fs-about-hero__copy :is(.eyebrow, h1, p),
body.fs-template-about .fs-about-hero__stats {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}

body.fs-template-about .fs-about-hero__copy h1 {
  max-width: 14ch !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.fs-template-about .fs-about-hero__copy > .reveal > p {
  max-width: 62ch;
  text-wrap: pretty;
}

body.fs-template-about .fs-about-hero__stats {
  width: min(100%, 41rem);
  gap: .625rem !important;
  margin-top: 1.25rem !important;
}

body.fs-template-about .fs-about-hero__media {
  min-height: clamp(20rem, 30vw, 24rem);
}

@media (max-width: 1023px) {
  body.fs-template-about .fs-about-hero__layout {
    grid-template-columns: 1fr;
    width: min(100%, 48rem);
    margin-inline: auto !important;
    padding-inline: 1.5rem !important;
    min-height: 0;
  }

  body.fs-template-about .fs-about-hero__media {
    display: none;
  }
}

@media (max-width: 767px) {
  body.fs-template-about #main-content > .fs-about-hero:first-of-type,
  body.fs-template-about .fs-about-hero__layout {
    min-height: 27rem;
  }

  body.fs-template-about .fs-about-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.fs-template-about .fs-about-heading {
  display: flex;
  width: min(100%, 48rem);
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

body.fs-template-about .fs-about-heading > :where(.eyebrow, h2, p) {
  margin-inline: auto !important;
  text-align: center !important;
}

body.fs-template-about .fs-about-heading h2 {
  max-width: 18ch;
  color: var(--about-ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body.fs-template-about .fs-about-heading > p,
body.fs-template-about .fs-about-story-copy {
  max-width: 70ch;
  color: var(--about-copy);
  text-wrap: pretty;
}

body.fs-template-about .fs-about-story-heading {
  max-width: 52rem;
}

body.fs-template-about .fs-about-story-copy {
  margin-inline: auto;
  text-align: center !important;
}

/* Vision and mission stay distinct without contrast collisions. */
body.fs-template-about .fs-about-vision__grid {
  align-items: stretch;
  gap: var(--about-space-md);
}

body.fs-template-about .fs-about-vision__card {
  min-height: 19rem;
  border-radius: 1rem !important;
}

body.fs-template-about .fs-about-vision__card--light {
  border: 1px solid var(--about-rule);
  box-shadow: none;
}

body.fs-template-about .fs-about-vision__card--light h3 {
  color: var(--about-ink) !important;
}

body.fs-template-about .fs-about-vision__card--light p {
  color: var(--about-copy) !important;
}

body.fs-template-about .fs-about-vision__card--mission {
  border: 1px solid rgb(119 0 1 / 0.7);
  background: var(--about-red) !important;
  box-shadow: none;
}

body.fs-template-about .fs-about-vision__card--mission :where(h3, p) {
  color: #fff !important;
}

body.fs-template-about .fs-about-vision__card--mission p {
  line-height: 1.75;
}

/* Coverage is a white operational board, not another floating-card wall. */
body.fs-template-about #main-content > .fs-about-coverage {
  color: var(--about-ink);
  background: #fff !important;
}

body.fs-template-about .fs-about-coverage .eyebrow {
  color: var(--about-red) !important;
}

body.fs-template-about .fs-about-coverage-board {
  overflow: hidden;
  border-block: 1px solid var(--about-rule);
}

body.fs-template-about .fs-about-coverage-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(9rem, 0.9fr) minmax(16rem, 1.8fr) auto;
  gap: var(--about-space-md);
  align-items: center;
  min-height: 5.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--about-rule);
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.fs-template-about .fs-about-coverage-row:last-child {
  border-bottom: 0;
}

body.fs-template-about .fs-about-coverage-row__cities {
  max-width: 60ch;
  color: var(--about-copy) !important;
}

body.fs-template-about .fs-about-coverage-row__region p:first-child {
  color: var(--about-ink) !important;
}

body.fs-template-about .fs-about-coverage-row__region p:last-child {
  color: var(--about-red) !important;
}

body.fs-template-about .fs-about-coverage-row__status {
  display: flex;
  justify-content: flex-end;
  min-width: 5.5rem;
}

body.fs-template-about .fs-about-region-mark {
  position: relative;
  display: block;
  width: 2rem;
  height: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--about-rule);
  border-radius: 0.25rem;
  background: #fff;
}

body.fs-template-about .fs-about-region-mark--id {
  background: linear-gradient(to bottom, #d60001 0 50%, #fff 50% 100%);
}

body.fs-template-about .fs-about-region-mark--sea {
  background:
    radial-gradient(circle at 30% 35%, #ff6768 0 0.16rem, transparent 0.18rem),
    radial-gradient(circle at 70% 35%, #ffd84d 0 0.16rem, transparent 0.18rem),
    radial-gradient(circle at 30% 70%, #fff 0 0.16rem, transparent 0.18rem),
    radial-gradient(circle at 70% 70%, #ff6768 0 0.16rem, transparent 0.18rem),
    #262632;
}

body.fs-template-about .fs-about-region-mark--me {
  background: #262632;
}

body.fs-template-about .fs-about-region-mark--me::before,
body.fs-template-about .fs-about-region-mark--me::after {
  position: absolute;
  top: 0.28rem;
  width: 0.35rem;
  height: 0.9rem;
  border-radius: 0.15rem;
  background: #ffd84d;
  content: "";
}

body.fs-template-about .fs-about-region-mark--me::before {
  left: 0.45rem;
}

body.fs-template-about .fs-about-region-mark--me::after {
  right: 0.45rem;
  background: var(--about-red-bright);
}

body.fs-template-about .fs-about-coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 44rem);
  max-width: none;
  gap: 0;
  padding-block: var(--about-space-md);
  border-block: 1px solid var(--about-rule);
  text-align: center;
}

body.fs-template-about .fs-about-coverage-stats > div {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: var(--about-space-md);
}

body.fs-template-about .fs-about-coverage-stats > div + div {
  border-left: 1px solid var(--about-rule);
}

body.fs-template-about .fs-about-coverage-stats .heading-brand {
  color: var(--about-red) !important;
}

body.fs-template-about .fs-about-coverage-stats p:last-child {
  color: var(--about-copy) !important;
  letter-spacing: 0.04em;
}

body.fs-template-about .fs-about-heading--dark > p {
  color: var(--about-copy) !important;
}

body.fs-template-about .fs-about-heading--dark h2 {
  color: var(--about-ink) !important;
}

/* Leadership stays centered as a peer group at every viewport. */
body.fs-template-about .fs-about-team-grid {
  width: min(100%, 64rem);
  max-width: 64rem !important;
  align-items: stretch;
  gap: var(--about-space-md) !important;
}

body.fs-template-about .fs-about-team-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
}

body.fs-template-about .fs-about-team-portrait {
  width: 10rem !important;
  height: auto !important;
  aspect-ratio: 8 / 9;
  flex: none;
  margin-inline: auto !important;
}

body.fs-template-about .fs-about-team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.fs-template-about .fs-about-team-card :where(h3, p) {
  margin-inline: auto;
  text-align: center !important;
}

body.fs-template-about .fs-about-team-bio {
  max-width: 34ch;
  line-height: 1.7;
  text-wrap: pretty;
}

/* A downward journey reads chronologically without horizontal discovery. */
body.fs-template-about .fs-about-journey-list {
  position: relative;
  width: min(100%, 48rem);
  margin-inline: auto;
}

body.fs-template-about .fs-about-journey-list::before {
  position: absolute;
  top: .75rem;
  bottom: .75rem;
  left: 8.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--about-rule), rgb(214 0 1 / .35), var(--about-rule));
  content: "";
}

body.fs-template-about .fs-about-journey-item {
  position: relative;
  display: grid;
  grid-template-columns: 6rem 2rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

body.fs-template-about .fs-about-journey-year {
  margin: 0;
  color: var(--about-red);
  font-size: 1.25rem;
  line-height: 1.4;
  text-align: right;
}

body.fs-template-about .fs-about-journey-marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: .375rem;
}

body.fs-template-about .fs-about-journey-marker span {
  display: block;
  width: 1rem;
  height: 1rem;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--about-red);
  box-shadow: 0 0 0 1px rgb(214 0 1 / .24);
}

body.fs-template-about .fs-about-journey-content {
  min-width: 0;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--about-rule);
}

body.fs-template-about .fs-about-journey-item + .fs-about-journey-item {
  padding-top: 2rem;
}

body.fs-template-about .fs-about-journey-item:last-child .fs-about-journey-content {
  padding-bottom: 0;
  border-bottom: 0;
}

body.fs-template-about .fs-about-journey-content h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: 1.25rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body.fs-template-about .fs-about-journey-content p {
  max-width: 68ch;
  margin: .5rem 0 0;
  color: var(--about-copy);
  font-size: .9375rem;
  line-height: 1.7;
  text-wrap: pretty;
}

body.fs-template-about .fs-about-journey-status {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: var(--about-red);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
}

body.fs-template-about .fs-about-journey-item--current .fs-about-journey-content {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid rgb(214 0 1 / .2);
  border-radius: .75rem;
  background: rgb(214 0 1 / .045);
}

body.fs-template-about .fs-about-journey-item--current .fs-about-journey-marker span {
  box-shadow: 0 0 0 4px rgb(214 0 1 / .16);
}

body.fs-template-about .fs-about-journey-item--future {
  opacity: .72;
}

body.fs-template-about .fs-about-journey-item--future .fs-about-journey-marker span,
body.fs-template-about .fs-about-journey-item--future .fs-about-journey-status {
  background: #a1a1aa;
}

body.fs-template-about .fs-about-coverage-row__status span {
  border-color: rgb(214 0 1 / .16) !important;
  background: rgb(214 0 1 / .065) !important;
  color: var(--about-red) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.fs-template-about .fs-about-coverage-row:hover {
    background: rgb(214 0 1 / .035);
  }
}

@media (max-width: 767px) {
  body.fs-template-about .fs-about-team-grid {
    grid-template-columns: 1fr !important;
    width: min(100%, 28rem);
  }

  body.fs-template-about .fs-about-team-card {
    padding: var(--about-space-md) !important;
  }

  body.fs-template-about .fs-about-journey-list::before {
    left: .75rem;
  }

  body.fs-template-about .fs-about-journey-item {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 1rem;
  }

  body.fs-template-about .fs-about-journey-year {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  body.fs-template-about .fs-about-journey-marker {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  body.fs-template-about .fs-about-journey-content {
    grid-column: 2;
    grid-row: 2;
  }

  body.fs-template-about .fs-about-vision__card {
    min-height: 0;
    padding: var(--about-space-md) !important;
  }

  body.fs-template-about .fs-about-coverage-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    gap: var(--about-space-sm);
    padding-block: var(--about-space-md);
  }

  body.fs-template-about .fs-about-coverage-row__cities {
    grid-column: 2 / 4;
  }

  body.fs-template-about .fs-about-coverage-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 0;
  }

  body.fs-template-about .fs-about-coverage-stats > div {
    width: auto;
    min-height: 5.5rem;
    padding: var(--about-space-sm);
  }

  body.fs-template-about .fs-about-coverage-stats > div + div {
    border-top: 0;
    border-left: 1px solid var(--about-rule);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fs-template-about .fs-about-coverage-row {
    transition: none;
  }
}
