.our-story {
  padding-top: 112px;
  padding-bottom: 112px;
  border-bottom: 1px solid var(--border-1);
  background: var(--dark-blue-1);
  color: var(--white);
}

.our-story__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.our-story__image,
.our-story__founded {
  width: 100%;
  opacity: 0;
  transition: opacity 500ms ease;
}

.our-story__image {
  display: block;
  overflow: hidden;
  background: var(--dark-blue-2);
  object-fit: cover;
}

.our-story__image.is-visible {
  opacity: 1;
}

.our-story__image--wide {
  grid-column: 1 / -1;
  aspect-ratio: 722 / 224;
  object-position: center 42%;
  height: 100%;
}

.our-story__image--detail,
.our-story__founded {
  aspect-ratio: 355 / 144;
  height: 100%;
}

.our-story__image--detail {
  object-position: center;
}

.our-story__founded {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  opacity: 1;
}

.our-story__founded strong,
.our-story__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.our-story__founded strong {
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: .9;
}

.our-story__founded span {
  margin-top: 10px;
  color: var(--body-text-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.our-story__content {
  max-width: 790px;
  margin-top: 64px;
}

.our-story__title {
  margin-top: 28px;
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  line-height: .83;
  letter-spacing: -.8px;
}

.our-story__title span {
  color: var(--blue);
}

.our-story__copy {
  margin-top: 40px;
  color: var(--body-text-3);
  font-size: 18px;
  line-height: 1.82;
}

.our-story__copy p + p {
  margin-top: 20px;
}

.our-story__action {
  margin-top: 40px;

  button {
    cursor: pointer;
  }
}

@media (max-width: 989px) {
  .our-story__copy {
    font-size: 15px;
  }
  .our-story__founded span {
    font-size: 10px;
  }
}

@media (max-width: 749px) {
  .our-story {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .our-story__image--wide {
    aspect-ratio: 2;
  }

  .our-story__image--detail,
  .our-story__founded {
    aspect-ratio: 1.75;
  }

  .our-story__content {
    margin-top: 40px;
  }

  .our-story__title {
    margin-top: 20px;
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .our-story__copy {
    margin-top: 32px;
    font-size: 15px;
  }

  .our-story__copy p + p {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .our-story__image {
    transition: none;
  }
}

.our-story__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.our-story__image-box {
  position: relative;
  overflow: hidden;
}

.our-story__image {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--dark-blue-2);
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.our-story__image.is-visible {
  opacity: 1;
}

.our-story__image-box--wide {
  grid-column: 1 / -1;
  aspect-ratio: 722 / 224;
}

.our-story__image-box--detail {
  aspect-ratio: 355 / 144;
}

.our-story__image--wide {
  object-position: center;
}

.our-story__image--detail {
  object-position: center; 
}

/* Hidden image sources */
.our-story__image-sources {
  display: none;
}

.leadership-dialog {
  position: fixed;
  inset: 0;
  width: min(1200px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 34px;
  border: 0;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
}

.leadership-dialog::backdrop {
  background: rgb(3 10 21 / 78%);
  backdrop-filter: blur(3px);
}

.leadership-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: end;
}

.leadership-dialog__initials {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.leadership-dialog__close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.leadership-dialog__content {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 32px;
}

.leadership-dialog__image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  background: var(--dark-blue-2);
}

.leadership-dialog__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.leadership-dialog__details {
  min-width: 0;

  @media (min-width: 990px) {
    height: 500px;
    overflow-y: scroll;
  }
}

.leadership-dialog h2 {
  margin-top: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  line-height: 0.9;
  text-transform: uppercase;
}

.leadership-dialog__designation {
  margin-top: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.leadership-dialog__body {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  color: var(--body-text-3);
  font-size: 14px;
  line-height: 1.7;
}

.leadership-dialog__body p + p {
  margin-top: 8px;
}

.leadership-dialog__body h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

@media (max-width: 989px) {

  .leadership-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 16px;
    overflow-y: auto;
  }

  .leadership-dialog__initials {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .leadership-dialog__close {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .leadership-dialog__content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .leadership-dialog__image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .leadership-dialog__details {
    width: 100%;
  }

  .leadership-dialog h2 {
    font-size: 38px;
  }

  .leadership-dialog__designation {
    margin-top: 8px;
    font-size: 11px;
  }

  .leadership-dialog__body {
    gap: 16px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.55;
  }

  .leadership-dialog__body h3 {
    margin-bottom: 5px;
    font-size: 19px;
  }
}

/* @media (max-width: 749px) {
  .leadership {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .leadership__grid {
    margin-top: 32px;
    grid-template-columns: 1fr;
  }

  .leadership__card {
    min-height: 0;
    padding: 24px;
  }

  .leadership__title {
    margin-top: 16px;
  }

  .leadership__initials {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .leadership__card-name {
    padding-top: 16px;
  }

  .leadership__summary {
    padding-top: 12px;
  }

} */