/**
 * Mission Profile — desktop 171:2004; mobile 171:1244 (343 artboard).
 * Scale pattern matches about.css.
 */

.tf-mp {
  --mp-design-width: 1200px;
  --mp-mobile-width: 343px;
  --mp-gutter: 16px;
  --mp-border: 1px solid rgb(255 255 255 / 0.4);
  --mp-border-muted: 1.2px solid rgb(102 102 102);
  --mp-panel-bg: rgb(0 0 0 / 0.2);
  --mp-label-muted: rgb(255 255 255 / 0.6);
  --mp-field-muted: rgb(0 0 0 / 0.6);

  padding-top: 0;
  padding-bottom: 64px;
  background: var(--color-canvas);
  color: var(--color-text-default);
}

.tf-mp__scale-root {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow-x: clip;
}

.tf-mp__shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 641px) {
  .tf-mp__shell {
    width: var(--mp-design-width);
    max-width: var(--mp-design-width);
    flex-shrink: 0;
    zoom: min(1, calc((100vw - 32px) / var(--mp-design-width)));
  }
}

.tf-mp__intro {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 77px;
  padding: 48px 64px 64px;
  background: var(--mp-panel-bg);
}

.tf-mp__title {
  margin: 0;
  font-family: var(--font-family-headline);
  font-weight: var(--font-weight-headline);
  font-size: 80px;
  line-height: 0.9;
  color: var(--color-text-default);
  text-transform: uppercase;
}

.tf-mp__lede {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-body);
  font-size: 28.877px;
  line-height: var(--type-body-leading);
  color: var(--color-text-default);
}

.tf-mp__content {
  box-sizing: border-box;
  width: 100%;
  background: var(--color-black);
  border: var(--mp-border-muted);
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 57px;
}

.tf-mp__phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 57px;
  align-items: start;
}

.tf-mp__phase {
  display: flex;
  flex-direction: column;
  gap: 38px;
  margin: 0;
  min-width: 0;
}

.tf-mp__phase-title {
  order: 2;
  margin: 0;
  font-family: var(--font-family-headline);
  font-weight: 500;
  font-size: 38.502px;
  line-height: 1.47;
  color: var(--color-text-accent);
}

@media (min-width: 641px) {
  .tf-mp__phase-index {
    display: none;
  }
}

.tf-mp__phase-figure {
  order: 1;
  margin: 0;
  position: relative;
  width: 100%;
  border-radius: 19px;
  overflow: hidden;
}

.tf-mp__phase-figure--pylon {
  aspect-ratio: 451 / 252;
}

.tf-mp__phase-figure--glide {
  aspect-ratio: 354 / 198;
}

.tf-mp__phase-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tf-mp__phase-video-wrap .tf-lightbox--media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tf-mp__phase-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  background: var(--color-black);
}

.tf-mp__phase-body {
  order: 3;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-body);
  font-size: 19.251px;
  line-height: var(--type-body-leading);
  color: var(--color-text-default);
}

.tf-mp__phase-body p {
  margin: 0 0 19px;
}

.tf-mp__phase-body p:last-child {
  margin-bottom: 0;
}

.tf-mp__phase-body ul {
  margin: 0;
  padding-left: 1.35em;
}

.tf-mp__phase-body li {
  margin: 0 0 0.25em;
}

.tf-mp__calc-heading {
  margin: 0;
  font-family: var(--font-family-headline);
  font-weight: 500;
  font-size: 38.502px;
  line-height: 1.47;
  color: var(--color-text-accent);
}

.tf-mp__calc-heading-short {
  display: inline;
}

.tf-mp__calc-heading-full {
  display: none;
}

.tf-mp__calc {
  --mp-calc-field-w: 210px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.tf-mp__calc-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  min-height: 80px;
}

.tf-mp__calc-label {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 8px 16px;
  background: rgb(255 255 255 / 0.1);
  box-sizing: border-box;
}

.tf-mp__calc-label-title {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: 38.502px;
  line-height: var(--type-body-leading);
  color: var(--color-white);
  white-space: nowrap;
}

.tf-mp__calc-label-sub {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: 19.251px;
  line-height: var(--type-body-leading);
  color: var(--mp-label-muted);
  text-align: right;
}

.tf-mp__calc-field {
  flex: 0 0 var(--mp-calc-field-w);
  width: var(--mp-calc-field-w);
  min-width: var(--mp-calc-field-w);
  max-width: var(--mp-calc-field-w);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid transparent;
  background: var(--color-white);
  color: var(--color-black);
  box-sizing: border-box;
}

.tf-mp__calc-field--time {
  /* same outer width and padding as pylon row */
  gap: 10px;
  padding: 8px 12px;
}

.tf-mp__calc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
}

.tf-mp__calc-btn:active {
  color: var(--color-orange);
}

.tf-mp__calc-btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.tf-mp__calc-pencil {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
}

.tf-mp__calc-pencil:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.tf-mp__calc-icon {
  display: block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.tf-mp__calc-value {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-family-body);
  font-size: 38.502px;
  line-height: var(--type-body-leading);
  text-align: center;
  color: var(--color-black);
}

.tf-mp__calc-input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-family-body);
  font-size: 38.502px;
  line-height: var(--type-body-leading);
  text-align: center;
  color: var(--color-black);
  max-width: 100%;
}

.tf-mp__calc-input:focus {
  outline: none;
}

/* Native steppers overlap the centered value; keyboard/touch entry is enough */
.tf-mp__calc-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.tf-mp__calc-input[type="number"]::-webkit-outer-spin-button,
.tf-mp__calc-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tf-mp__calc-field:focus-within {
  border: 1px solid #ff7300;
  box-shadow: 0 0 12px 0 #ff7300 inset;
}

.tf-mp__calc-unit {
  flex-shrink: 0;
  font-family: var(--font-family-body);
  font-size: 19.251px;
  line-height: var(--type-body-leading);
  color: var(--mp-field-muted);
  width: 35px;
  text-align: center;
}

.tf-mp__calc-result {
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgb(255 255 255 / 0.1);
  box-sizing: border-box;
  font-family: var(--font-family-body);
  font-size: 38.502px;
  line-height: var(--type-body-leading);
  color: var(--color-white);
}

.tf-mp__calc-row--total {
  min-height: 80px;
  align-items: stretch;
}

.tf-mp__calc-total-label {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-orange);
  font-family: var(--font-family-body);
  font-size: 38.502px;
  line-height: var(--type-body-leading);
  color: var(--color-white);
  box-sizing: border-box;
}

.tf-mp__calc-total-value {
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--color-orange);
  box-sizing: border-box;
  font-family: var(--font-family-body);
  font-size: 38.502px;
  line-height: var(--type-body-leading);
  color: var(--color-white);
}

.tf-mp__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tf-mp__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-top: 16px;
  width: 100%;
}

.tf-mp__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-mp__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  box-sizing: border-box;
  border: 1px solid var(--color-white);
  border-radius: 43px;
  background: var(--color-black);
  transition: background 0.15s ease;
}

.tf-mp__social a:hover {
  background: rgb(255 255 255 / 0.08);
}

.tf-mp__social img {
  display: block;
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 32px;
  object-fit: contain;
}

.tf-mp__legal {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: var(--type-body-s);
  line-height: var(--type-body-leading);
  text-align: center;
  color: var(--color-text-default);
}

.tf-mp__legal p {
  margin: 0;
}

@media (max-width: 640px) {
  .tf-mp {
    padding-top: 0;
    padding-bottom: 48px;
  }

  .tf-mp__shell {
    width: var(--mp-mobile-width);
    max-width: var(--mp-mobile-width);
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    zoom: calc((100vw - 2 * var(--mp-gutter)) / var(--mp-mobile-width));
  }

  .tf-mp__intro {
    gap: 32px;
    padding: 24px;
  }

  .tf-mp__title {
    font-size: 42px;
    line-height: 0.914;
    text-transform: none;
  }

  .tf-mp__lede {
    font-size: 15.4px;
  }

  .tf-mp__content {
    border: none;
    padding: 0 24px 24px;
    gap: 24px;
  }

  .tf-mp__phases {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .tf-mp__phase {
    gap: 8px;
    padding: 24px;
    border: var(--mp-border);
    background: var(--color-black);
  }

  .tf-mp__phase-title {
    order: 1;
    font-size: 20.535px;
    line-height: 1.47;
  }

  .tf-mp__phase-figure {
    order: 2;
    border-radius: 10px;
  }

  .tf-mp__phase-figure--pylon,
  .tf-mp__phase-figure--glide {
    aspect-ratio: 451 / 252;
  }

  .tf-mp__phase-body {
    order: 3;
    font-size: 10.267px;
  }

  .tf-mp__phase-body p {
    margin-bottom: 10px;
  }

  .tf-mp__calc-heading {
    font-size: 20.535px;
    line-height: 1.47;
  }

  .tf-mp__calc-heading-short {
    display: none;
  }

  .tf-mp__calc-heading-full {
    display: inline;
  }

  .tf-mp__calc {
    --mp-calc-field-w: 130px;
    gap: 4px;
  }

  .tf-mp__calc-row {
    gap: 4px;
    min-height: 0;
  }

  .tf-mp__calc-label {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 8px;
  }

  .tf-mp__calc-label-title {
    font-size: var(--type-body-s);
    line-height: 1.2;
    white-space: normal;
    width: 100%;
  }

  .tf-mp__calc-label-sub {
    font-size: 10.267px;
    text-align: left;
    width: 100%;
  }

  .tf-mp__calc-field {
    gap: 6px;
    padding: 8px 6px;
  }

  .tf-mp__calc-field--time {
    gap: 6px;
    padding: 8px 6px;
  }

  .tf-mp__calc-value {
    font-size: 20.535px;
  }

  .tf-mp__calc-input {
    font-size: 20.535px;
  }

  .tf-mp__calc-unit {
    font-size: 10.267px;
    width: 19px;
  }

  .tf-mp__calc-icon {
    width: 20px;
    height: 20px;
  }

  .tf-mp__calc-result {
    flex: 0 0 80px;
    font-size: 20.535px;
    padding: 8px;
  }

  .tf-mp__calc-row--total {
    min-height: 43px;
  }

  .tf-mp__calc-total-label {
    font-size: var(--type-body-s);
    min-height: 43px;
  }

  .tf-mp__calc-total-value {
    flex: 0 0 80px;
    font-size: 20.535px;
    min-height: 43px;
  }

  .tf-mp__footer {
    gap: 15px;
    padding-top: 8px;
  }

  .tf-mp__social {
    gap: 26px;
  }

  .tf-mp__social a {
    width: 45px;
    height: 45px;
    border-radius: 23px;
  }

  .tf-mp__social img {
    max-width: 24px;
    max-height: 19px;
  }

  .tf-mp__legal {
    font-size: var(--type-body-xs);
  }
}
