/* About page guide lines and section layout */

body.mw-source-about {
  --hds-font-weight-normal: 300;
  --hds-font-weight-bold: 500;
  /* One source of truth for every visual rail and content cell on this page. */
  --about-grid-max: 1266px;
  --about-grid-columns: 4;
  --about-grid-inset: 16px;
  --about-page-max: var(--about-grid-max);
  --about-page-pad: var(--about-grid-inset);
  --about-layout-max: var(--about-grid-max);
  --about-text-inset: 0px;
  --about-line-offset: 16px;
  --about-ink: #0a2540;
  --about-copy: #425466;
  --about-muted: #6b7c93;
  --about-accent: #635bff;
  --about-lavender: #7a73ff;
  --about-display-size: 38px;
  --about-display-leading: 48px;
  --about-guide-solid: rgba(66, 71, 112, 0.06);
  --about-guide-dashed: rgba(66, 71, 112, 0.09);
  --about-rule-width: 1px;
  --about-col-count: 4;
  --about-col-pad: 16px;
  overflow-x: clip;
}

@media (min-width: 600px) { body.mw-source-about { --about-col-count: 2; } }
@media (min-width: 900px) { body.mw-source-about { --about-col-count: 4; --about-col-pad: 16px; } }

/* Left / right page outline – same formula as iq-new / enterprises-new */
@media (min-width: 640px) {
  body.mw-source-about {
    --about-page-margin: 16px;
  }
  body.mw-source-about::before,
  body.mw-source-about::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: var(--about-rule-width);
    background: var(--about-guide-solid);
    z-index: 2;
    pointer-events: none;
  }
  body.mw-source-about::before {
    left: calc(
      var(--about-page-margin)
      + max(0px, (100vw - 2 * var(--about-page-margin) - var(--about-page-max)) / 2)
    );
  }
  body.mw-source-about::after {
    right: calc(
      var(--about-page-margin)
      + max(0px, (100vw - 2 * var(--about-page-margin) - var(--about-page-max)) / 2)
    );
  }

  /* Keep About's viewport guide rails behind the shared sitewide footer. */
  body.mw-source-about footer.mw-shared-footer {
    z-index: 3;
  }
}

/* ── Page chrome ── */
.about-page {
  position: relative;
  z-index: 1;
  font-family: "sohne-var", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--about-ink);
}

/* Force theme weights even when HDS sheets hardcode 500/600 */
.about-page,
.about-page p,
.about-page li,
.about-page .about-hero__desc,
.about-page .about-facts__label,
.about-page .about-leader__role,
.about-page .about-board-member__role,
.about-page .about-media__desc,
.about-page .about-media__text {
  font-weight: 300;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page strong,
.about-page b,
.about-page .about-hero__eyebrow,
.about-page .about-hero__title,
.about-page .about-facts__title,
.about-page .about-facts__value,
.about-page .about-leadership__title,
.about-page .about-leader__name,
.about-page .about-board__title,
.about-page .about-board-member__name,
.about-page .about-media__title,
.about-page .about-media__subtitle,
.about-page .about-media__link,
.about-page .about-media__visual-label {
  font-weight: 500;
}

.about-page .about-leader__name,
.about-page .about-board-member__name {
  font-weight: 425;
}

/* ── Sections ── */
.about-section {
  position: relative;
}
.about-section__inner {
  position: relative;
  width: 100%;
  max-width: var(--about-page-max);
  margin: 0 auto;
  padding-inline: var(--about-page-pad);
  box-sizing: border-box;
}
/* Match the four-column guide system used by the newsroom reference. The
   outer two rails are supplied by the viewport-level body pseudo-elements;
   these section guides restore the three internal divisions. */
.about-guides { display: none; }
@media (min-width: 640px) {
  .about-section--has-guides { isolation: isolate; }
  .about-guides {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    z-index: 0;
  }
  .about-guides__container {
    position: relative;
    width: calc(100% - (2 * var(--about-page-margin)));
    max-width: var(--about-page-max);
    height: 100%;
    margin: 0 auto;
  }
  .about-guides__line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--about-rule-width);
    background: var(--about-guide-solid);
  }
  .about-guides__line:nth-child(1),
  .about-guides__line:nth-child(5) { display: none; }
  .about-guides__line:nth-child(2) { left: 25%; }
  .about-guides__line:nth-child(3) { left: 50%; }
  .about-guides__line:nth-child(4) { left: 75%; }
  .about-section__inner,
  .about-hero {
    position: relative;
    z-index: 1;
  }
}

/* Keep the shared navigation inside the same rail system as the editorial
   content. The header's controls sit one standard inset inside the rails. */
@media (min-width: 1136px) {
  html body.mw-source-about .mw-core-header .mw-core-header__inner {
    width: calc(100% - (2 * var(--about-page-margin))) !important;
    max-width: var(--about-grid-max) !important;
    padding-inline: var(--about-grid-inset) !important;
  }
}

@media (min-width: 1025px) {
  /* The shared navigation's desktop control layer uses a 76px inner height on
     some source captures while this header is a 72px bar. Keep both boxes on
     one measured height so no navigation content spills into the hero. */
  html body.mw-source-about .mw-core-header .mw-core-header__inner {
    height: 72px !important;
    min-height: 72px !important;
  }
}

@media (max-width: 1024px) {
  html body.mw-source-about .mw-core-header .mw-core-header__inner {
    height: 56px !important;
    min-height: 56px !important;
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  html body.mw-source-about .mw-core-header .mw-core-header__inner {
    padding-inline: var(--about-page-margin) !important;
  }
}

@media (min-width: 1025px) and (max-width: 1135px) {
  html body.mw-source-about .mw-core-header .mw-core-header__inner {
    max-width: none !important;
    padding-inline: var(--about-page-margin) !important;
  }
}
@media (min-width: 640px) and (max-width: 899px) {
  .about-guides__line:nth-child(2),
  .about-guides__line:nth-child(4) { display: none; }
}

/* Tinted sections */
.about-section--tinted {
  background: #f6f9fc;
}

/* Adjacent tinted sections read as one block, so trim the seam */
.about-section--tinted + .about-section--tinted .about-facts {
  padding-top: 0;
}
.about-section--tinted:has(.about-hero) .about-hero {
  padding-bottom: 56px;
}

/* ── Hero section ── */
.about-hero {
  width: 100%;
  max-width: var(--about-grid-max);
  margin: 0 auto;
  padding: 80px 0 96px;
  box-sizing: border-box;
}
.about-hero__top-line {
  position: relative;
  width: min(500px, calc(100% + var(--about-line-offset)));
  height: 4px;
  margin-left: calc(-1 * var(--about-line-offset));
  overflow: hidden;
  background: var(--about-accent);
  border-radius: 2px;
  margin-bottom: 20px;
}
.about-hero__top-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #7a73ff 0%,
    #ea6ac7 18%,
    #6ed4f7 39%,
    #f1c95e 61%,
    #7a73ff 82%,
    #ea6ac7 100%
  );
  background-size: 200% 100%;
  animation: about-spectrum-drift 12s linear infinite;
  will-change: background-position;
}
@keyframes about-spectrum-drift {
  from { background-position: 0 50%; }
  to { background-position: -200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero__top-line::before { animation: none; }
}
.about-hero__layout {
  display: grid;
  grid-template-columns: repeat(var(--about-grid-columns), minmax(0, 1fr));
  gap: 0;
  align-items: start;
}
.about-hero__content {
  grid-column: span 2;
  padding: 6px 40px 0 var(--about-grid-inset);
  box-sizing: border-box;
}
.about-hero__media {
  grid-column: span 2;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}
.about-hero__eyebrow {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .2px;
  color: var(--about-accent);
  margin: 0 0 20px;
}
.about-hero__title {
  font-size: var(--about-display-size);
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: var(--about-display-leading);
  margin: 0 0 24px;
  color: var(--about-ink);
}
.about-hero__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: .2px;
  color: var(--about-copy);
  margin: 0 0 20px;
}
.about-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* ── Fast facts ── */
.about-facts {
  padding-block: 80px;
}
.about-facts__title {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 36px;
  margin: 0 0 32px;
  color: var(--about-ink);
}
.about-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.about-facts__item {
  padding-left: 0;
}
.about-facts__value {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .1px;
  color: var(--about-accent);
  line-height: 32px;
  margin: 0 0 8px;
  position: relative;
  padding-left: 14px;
}
.about-facts__value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: var(--about-rule-width);
  height: calc(100% - 4px);
  background: var(--about-accent);
}
.about-facts__label {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .2px;
  line-height: 24px;
  color: var(--about-copy);
  margin: 0;
  padding-left: 14px;
  box-sizing: border-box;
}

/* ── Leadership ── */
.about-leadership {
  padding-block: 80px;
}
.about-leadership__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.about-leadership__title {
  font-size: var(--about-display-size);
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: var(--about-display-leading);
  margin: 0;
  color: var(--about-ink);
}
.about-carousel-nav {
  display: inline-flex;
  gap: 8px;
}
.about-carousel-nav__btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #e3e8ee;
  background: #fff;
  color: var(--about-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.about-carousel-nav__btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.about-leadership__viewport {
  overflow: hidden;
  padding-right: 72px; /* Preserve a next-card cue below the desktop grid. */
}
.about-leadership__grid {
  --leadership-visible-cards: 4;
  --leadership-gap: 32px;
  display: flex;
  gap: var(--leadership-gap);
  will-change: transform;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about-leader {
  flex: 0 0 calc((100% - (var(--leadership-visible-cards) - 1) * var(--leadership-gap)) / var(--leadership-visible-cards));
  min-width: 0;
}
.about-leader__photo-frame {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #e7e5df;
  box-shadow: 0 12px 24px rgba(15, 37, 64, .10);
}

.about-leader__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-leader__name {
  font-size: 15px;
  font-weight: 425;
  letter-spacing: .2px;
  line-height: 24px;
  margin: 16px 0 0;
  padding-left: 12px;
  color: var(--about-ink);
  position: relative;
}
.about-leader__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: var(--about-rule-width);
  height: calc(100% - 4px);
  background: var(--about-lavender);
}
.about-leader__role {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .2px;
  color: var(--about-copy);
  margin: 0;
  padding-left: 12px;
  line-height: 24px;
}
.about-leader__specialty {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .2px;
  color: var(--about-muted);
  margin: 0;
  padding-left: 12px;
  line-height: 24px;
}

/* Desktop leadership uses the exact same four cells as the guide rails.
   Photos have breathing room inside each cell; the indigo copy marker begins
   on the corresponding grid line. */
@media (min-width: 940px) {
  .about-leadership__viewport {
    margin-inline: calc(-1 * var(--about-grid-inset));
    padding-right: 0;
  }
  .about-leadership__grid {
    --leadership-gap: 0px;
  }
  .about-leader {
    flex-basis: calc(100% / var(--leadership-visible-cards));
    box-sizing: border-box;
    padding-right: 32px;
  }
}

/* ── Our purpose ── */
.about-board {
  padding-block: 80px;
}
.about-board__title {
  font-size: var(--about-display-size);
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: var(--about-display-leading);
  margin: 0 0 40px;
  color: var(--about-ink);
}
.about-purpose__title {
  margin-bottom: 12px;
}
.about-purpose__subtitle {
  max-width: 600px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .2px;
  color: var(--about-copy);
  margin: 0 0 40px;
  line-height: 28px;
}
.about-board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 32px;
}
.about-board-member__name {
  font-size: 15px;
  font-weight: 425;
  letter-spacing: .2px;
  margin: 0;
  padding-left: 12px;
  color: var(--about-ink);
  line-height: 24px;
  position: relative;
}
.about-board-member__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: var(--about-rule-width);
  height: calc(100% - 4px);
  background: var(--about-lavender);
}
.about-board-member__role {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .2px;
  color: var(--about-copy);
  margin: 0;
  padding-left: 12px;
  line-height: 24px;
}

/* ── Press and brand resources ── */
.about-media {
  padding-top: 80px;
  padding-bottom: 80px;
}
.about-media__title {
  font-size: var(--about-display-size);
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: var(--about-display-leading);
  margin: 0 0 16px;
  color: var(--about-ink);
}
.about-media__desc {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .2px;
  line-height: 28px;
  color: var(--about-copy);
  margin: 0 0 88px;
  max-width: 682px;
}
.about-media__showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-media__content {
  min-width: 0;
}
.about-media__resource + .about-media__resource {
  margin-top: 80px;
}
.about-media__subtitle {
  position: relative;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 36px;
  margin: 0 0 16px;
  padding-left: 0;
  color: var(--about-ink);
}
.about-media__subtitle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -16px;
  width: 1px;
  height: 26px;
  background: var(--about-lavender);
}
.about-media__text {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .2px;
  line-height: 28px;
  color: var(--about-copy);
  margin: 0 0 16px;
  padding-left: 0;
}
.about-media__link {
  font-size: 15px;
  font-weight: 425;
  letter-spacing: .2px;
  line-height: 24px;
  color: var(--about-accent);
  text-decoration: none;
  display: block;
  width: fit-content;
  padding: 3px 0 6px;
}
.about-page .about-media__link { font-weight: 425; }
.about-media__link-arrow {
  line-height: 0;
  white-space: nowrap;
}
.about-media__link-arrow svg {
  display: inline;
  position: relative;
  top: 1px;
  margin-left: 5px;
  overflow: hidden;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.about-media__link-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0;
  transition: opacity 150ms cubic-bezier(.215, .61, .355, 1);
}
.about-media__link-tip {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 150ms cubic-bezier(.215, .61, .355, 1);
}
.about-media__link:hover,
.about-media__link:focus-visible { text-decoration: none; }
.about-media__link:hover .about-media__link-line,
.about-media__link:focus-visible .about-media__link-line { opacity: 1; }
.about-media__link:hover .about-media__link-tip,
.about-media__link:focus-visible .about-media__link-tip { transform: translateX(3px); }
.about-media__badge-sample {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0 var(--about-text-inset);
  padding: 10px 14px;
  border: 2px solid var(--about-accent);
  border-radius: 6px;
  color: var(--about-accent);
  font-size: 16px;
  font-weight: 425;
  line-height: 20px;
}
.about-media__badge-sample img {
  display: block;
  width: 86px;
  height: auto;
}
.about-media__visual {
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  display: grid;
  gap: 8px;
  box-sizing: border-box;
}
.about-media__visual-label {
  display: none;
}
.about-media__logo-card {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 238px;
  padding: 48px 32px;
  background: #fff;
}
.about-media__wordmark {
  display: block;
  width: min(300px, 74%);
  aspect-ratio: 775 / 198;
}
.about-media__wordmark--fuchsia {
  background: #e523df;
  -webkit-mask: url("/about/assets/mywork-wordmark-primary.svg") center / contain no-repeat;
  mask: url("/about/assets/mywork-wordmark-primary.svg") center / contain no-repeat;
}
.about-media__logo-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.about-media__logo-variant {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 4px;
}
.about-media__logo-variant--light { background: #f6f9fc; }
.about-media__logo-variant--dark { background: #0a2540; }
.about-media__logo-variant img {
  display: block;
  width: min(100%, 165px);
  height: auto;
}

@media (min-width: 940px) {
  /* Facts and purpose statements occupy the same four page cells as their
     guide rails. The colored copy marker begins at each cell boundary. */
  .about-facts__grid,
  .about-board__grid {
    margin-inline: calc(-1 * var(--about-page-pad));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
  }

  .about-media__showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-inline: calc(-1 * var(--about-page-pad));
  }
  .about-media__content {
    grid-column: span 2;
    box-sizing: border-box;
    max-width: 428px;
    padding-left: var(--about-page-pad);
  }
  .about-media__visual {
    grid-column: span 2;
    grid-template-rows: 298px 158px;
    height: 482px;
  }
  .about-media__logo-card {
    min-height: 0;
    box-sizing: border-box;
    border-radius: 4px;
  }
  .about-media__logo-variant {
    min-height: 0;
    box-sizing: border-box;
  }
}

/* Before the 1080px editorial measure reaches its desktop max, match the
   content boxes to the same inset that defines the outer fixed guide rails. */
@media (min-width: 940px) and (max-width: 1111px) {
  .about-section__inner,
  .about-hero {
    width: calc(100% - (2 * var(--about-page-margin)));
  }
}

.about-facts__title,
.about-leadership__title,
.about-board__title,
.about-media__title,
.about-media__desc {
  padding-left: var(--about-text-inset);
}

/* ── Tablet ── */
@media (max-width: 939px) {
  body.mw-source-about {
    --about-page-pad: 16px;
    --about-text-inset: 16px;
    --about-display-size: 34px;
    --about-display-leading: 44px;
  }
  .about-hero__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-hero__content,
  .about-hero__media {
    grid-column: auto;
  }
  .about-hero__content {
    order: 1;
    padding: 6px var(--about-grid-inset) 0;
  }
  .about-hero__media {
    order: 2;
    margin-inline: var(--about-grid-inset);
  }
  .about-hero {
    padding: 56px 0 64px;
  }
  .about-hero__title {
    font-size: var(--about-display-size);
    line-height: var(--about-display-leading);
    letter-spacing: -.1px;
  }
  .about-hero__desc {
    font-size: 18px;
    line-height: 28px;
  }
  .about-facts__title {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: .1px;
  }
  .about-leadership__title,
  .about-board__title,
  .about-media__title {
    font-size: var(--about-display-size);
    line-height: var(--about-display-leading);
    letter-spacing: -.1px;
  }
  .about-media__desc {
    font-size: 18px;
    line-height: 28px;
  }
  .about-facts__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-leadership__viewport { padding-right: 48px; }
  .about-leadership__grid {
    --leadership-visible-cards: 2;
    --leadership-gap: 24px;
  }
  .about-board__grid { grid-template-columns: repeat(2, 1fr); }
  .about-media__showcase { grid-template-columns: 1fr; gap: 28px; }
  .about-media__content { order: 1; }
  .about-media__visual { order: 2; }
}

/* ── Mobile ── */
@media (max-width: 639px) {
  .about-hero {
    padding: 40px 0 48px;
  }
  .about-facts__title { font-size: 24px; line-height: 32px; }
  .about-facts__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-leadership__viewport { padding-right: 28px; }
  .about-leadership__grid {
    --leadership-visible-cards: 1;
    --leadership-gap: 16px;
  }
  .about-board__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .about-media__showcase { gap: 20px; }
  .about-media__content { order: 2; }
  .about-media__visual { order: 1; }
  .about-media__logo-card { min-height: 208px; padding: 44px 20px; }
  .about-media__logo-variant { min-height: 104px; padding: 22px; }
  .about-media__badge-sample { margin-left: var(--about-text-inset); }
  .about-section { padding-inline: 0; }
  .about-leadership, .about-board, .about-media, .about-facts { padding-block: 48px; }
  .about-media { padding-top: 48px; padding-bottom: 48px; }
}
