/* draft/staged — Our Vision and Mission.
   Scoped to body.page-vision-and-mission. Not a shipped page until the
   main-line integrator adds the import.
   Desktop numbers are node 4788:59280 (1440×3358.11).
   Rules below 1440 are DERIVED. There is no Figma 390 source. */

body.page-vision-and-mission {
  background: #ededed;
}

body.page-vision-and-mission h1,
body.page-vision-and-mission h2,
body.page-vision-and-mission h3,
body.page-vision-and-mission p,
body.page-vision-and-mission button {
  text-wrap: wrap;
  letter-spacing: 0;
}

.vm-main {
  position: relative;
}

.vm-banner {
  background: #ededed;
}

.vm-banner-copy {
  padding: 28px 20px 16px;
}

.vm-banner-title {
  margin: 0;
  color: #333;
  font-family: var(--font-tc);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

.vm-crumb {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 12px 0 0;
  color: #333;
  font-family: var(--font-tc);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.vm-crumb a {
  color: #333;
  font-weight: 400;
  text-decoration: none;
}

.vm-banner-photo {
  height: 220px;
  overflow: hidden;
  background: #c4c4c4;
}

.vm-banner-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 42%;
}

.vm-sub {
  display: flex;
  gap: 8px;
  align-items: center;
  box-sizing: border-box;
  margin: 16px 20px;
  padding: 7px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}

.vm-sub button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  background: #fff;
  color: #333;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  white-space: nowrap;
}

.vm-sub button.is-selected {
  background: #ededed;
  color: #ed1b2e;
  font-family: var(--font-tc);
}

.vm-sub-tri {
  width: 14px;
  height: 14px;
  flex: none;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/triangle-small-5155-39350.svg") center / 14px 14px no-repeat;
  mask: url("../assets/icons/triangle-small-5155-39350.svg") center / 14px 14px no-repeat;
}

.vm-mission {
  background: #fff;
  padding: 8px 20px 40px;
}

.vm-section-title,
.vm-values-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #333;
  font-family: var(--font-tc);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

.vm-tri {
  width: 21px;
  height: 21px;
  flex: none;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/triangle-big-5155-39351.svg") center / 21px 21px no-repeat;
  mask: url("../assets/icons/triangle-big-5155-39351.svg") center / 21px 21px no-repeat;
}

.vm-statement {
  margin-top: 28px;
}

.vm-statement-title {
  margin: 0 0 16px;
  color: #ed1b2e;
  font-family: var(--font-tc);
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}

.vm-intro,
.vm-row p,
.vm-p3 {
  margin: 0;
  color: #333;
  font-family: var(--font-tc);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.vm-chips {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.vm-chip {
  box-sizing: border-box;
  margin: 0;
  padding: 16px 16px 20px;
  background: #eb4d4d;
  color: #fff;
  font-family: var(--font-tc);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.vm-rows {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.vm-row,
.vm-row-flip {
  display: grid;
  gap: 16px;
}

.vm-photo-sm {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #d9d9d9;
}

.vm-photo-sm img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.vm-p3 {
  margin-top: 24px;
}

.vm-values {
  padding: 36px 20px 28px;
}

.vm-values-title {
  font-family: var(--font-en);
}

.vm-red {
  height: 8px;
  background: #ed1b2e;
}

@media (min-width: 1440px) {
  .vm-banner {
    position: relative;
    height: 400px;
  }

  .vm-banner-copy {
    padding: 0;
  }

  .vm-banner-title {
    position: absolute;
    left: 40px;
    top: 32px;
    width: max-content;
    font-size: 48px;
    line-height: 54px;
  }

  .vm-crumb {
    position: absolute;
    left: 40px;
    top: 342px;
    height: 26px;
    margin: 0;
    font-size: 16px;
    line-height: 26px;
  }

  .vm-banner-photo {
    position: absolute;
    left: 400px;
    top: 0;
    width: 1040px;
    height: 400px;
    clip-path: polygon(49px 0, 100% 0, 100% 100%, 0 100%);
  }

  .vm-banner-photo img {
    position: absolute;
    left: -0.5px;
    top: -81.96px;
    width: 1041px;
    height: 540.07px;
    object-fit: fill;
  }

  .vm-sub {
    position: absolute;
    left: 536px;
    top: 420px;
    z-index: 3;
    width: 368px;
    height: 56px;
    margin: 0;
    padding: 7px;
    gap: 8px;
  }

  .vm-sub button {
    flex: none;
    padding: 0 24px;
  }

  .vm-mission {
    position: relative;
    height: 1345.11px;
    padding: 0;
  }

  .vm-section-title {
    position: absolute;
    left: 64px;
    top: 128px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }

  .vm-statement {
    position: absolute;
    left: 304px;
    width: 832px;
    margin: 0;
  }

  .vm-statement-vision { top: 246px; }
  .vm-statement-mission { top: 608px; }

  .vm-statement-title {
    height: 50px;
    margin: 0 0 32px;
    font-size: 40px;
    line-height: 50px;
  }

  .vm-intro {
    margin: 0 0 32px;
  }

  .vm-chips {
    display: flex;
    gap: 4px;
    margin: 0;
  }

  .vm-chip {
    flex: 1 1 0;
    height: 132px;
    min-width: 0;
    font-size: 20px;
    line-height: 32px;
  }

  .vm-rows {
    gap: 32px;
    margin-top: 32px;
  }

  /* 1x wraps p1 to four lines at about 540px. Node gap 90 leaves a fifth line with this font. */
  .vm-row {
    grid-template-columns: 269.33px 540px;
    gap: 22.67px;
    align-items: center;
    min-height: 179.56px;
  }

  .vm-row-flip {
    grid-template-columns: 540px 269.33px;
    gap: 22.67px;
    align-items: center;
    min-height: 179.56px;
  }

  .vm-photo-sm {
    width: 269.33px;
    height: 179.56px;
  }

  .vm-photo-sm img {
    position: absolute;
    left: -38.49px;
    top: -31.39px;
    width: 330.31px;
    height: 220.33px;
    object-fit: fill;
  }

  .vm-p3 {
    margin-top: 48px;
  }

  .vm-values {
    position: relative;
    height: 602px;
    padding: 0;
  }

  .vm-values-title {
    position: absolute;
    left: 64px;
    top: 88px;
    height: 54px;
    font-size: 48px;
    line-height: 54px;
  }
}

/* Wider than the 1440 artboard: center the existing stages. Do not scale them. */
@media (min-width: 1441px) {
  .vm-banner,
  .vm-sub,
  .vm-mission,
  .vm-values,
  .vm-red {
    width: 1440px;
    margin-inline: auto;
  }
}
