/*
  Mobile ABOUT page layout and ABOUT-only content styles.
*/

@font-face {
  font-family: "About Gotham Light";
  src:
    url("../fonts/Gotham-Light.woff2") format("woff2"),
    url("../fonts/Gotham-Light.woff") format("woff"),
    url("../fonts/Gotham-Light.ttf") format("truetype"),
    url("../fonts/Gotham-Light.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

:root {
  --footer-height: 214px;
  --footer-button-bottom-gap: 100px;
  --about-mobile-stack-gap: 29px;
  --about-slideshow-fade-duration: 0.6s;
}

html,
body {
  min-width: 0;
}

body {
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--site-mobile-page-max-width);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--site-bg);
}

.mobile-content {
  flex: 1 0 auto;
  padding: 0 var(--site-mobile-side-gap-right) 0 var(--site-mobile-side-gap);
}

.mobile-title-block {
  margin: 0 0 50px;
}

.about-content-section[hidden],
.about-content-column[hidden],
[data-about-text][hidden],
.about-slideshow__image[hidden] {
  display: none;
}

.about-content-layout {
  display: flex;
  flex-direction: column;
  gap: var(--about-mobile-stack-gap);
  width: 100%;
}

.about-content-column {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.about-content-column--media {
  order: 1;
}

.about-content-column--text {
  order: 2;
}

.about-copy-mobile {
  color: #fff;
  font-family: "About Gotham Light", var(--site-font-body);
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  line-height: 27px;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.about-copy-mobile p {
  margin: 0 0 27px;
}

.about-copy-mobile p:last-child {
  margin-bottom: 0;
}

.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: var(--about-slideshow-ratio, 1170 / 1830);
  overflow: hidden;
  background: #151515;
  contain: layout paint;
}

.about-slideshow::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  content: "";
  pointer-events: none;
}

.about-slideshow__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity var(--about-slideshow-fade-duration) ease-out;
}

.about-slideshow__image.is-active {
  opacity: 1;
}

.mobile-footer {
  position: relative;
  flex: 0 0 var(--footer-height);
  height: var(--footer-height);
  padding: 0 var(--site-mobile-side-gap-right) 0 var(--site-mobile-side-gap);
}

.footer-top-button {
  position: absolute;
  right: var(--site-mobile-side-gap-right);
  bottom: calc(var(--footer-button-bottom-gap) + env(safe-area-inset-bottom, 0px));
  left: var(--site-mobile-side-gap);
  display: block;
  min-height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--site-text);
  font-family: "About Gotham Light", var(--site-font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.footer-top-button:hover,
.footer-top-button:focus-visible {
  color: var(--site-gold);
}

.footer-top-button:focus-visible {
  outline: 1px solid var(--site-gold);
  outline-offset: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .about-slideshow__image,
  .footer-top-button {
    transition: none;
  }
}
