/* About page: isolated, mobile-first responsive layout. */

html.page-about-root {
  width: auto;
  overflow-x: visible !important;
  overflow-y: auto;
  scrollbar-gutter: auto;
}

html.page-about-root .page-about {
  width: auto;
  overflow-x: visible !important;
}

/* The shared overlay references a cursor asset that is not present in this build. */
.page-about .body-overlay:hover {
  cursor: pointer;
}

.page-about .about-page-hero {
  height: clamp(340px, calc(64svh + 12vw - 69px), 900px) !important;
  min-height: clamp(340px, calc(64svh + 12vw - 69px), 900px) !important;
  margin: 0;
  padding: 0 clamp(16px, 4vw, 64px);
  isolation: isolate;
}

.page-about .about-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-about .about-page-hero__image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-about .about-page-hero > .container,
.page-about .about-page-hero .breadcrumb__content,
.page-about .about-page-hero .breadcrumb__section-title-box {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-about .about-page-hero .breadcrumb__section-title-box {
  margin: 0 !important;
  text-align: center;
}

.page-about .breadcrumb__title {
  max-width: min(90vw, 1100px);
  margin: 0 auto !important;
  padding: 0 !important;
  font-family: 'Caviar_Dreams_Bold', Arial, sans-serif;
  font-size: clamp(30px, 7vw, 100px) !important;
  font-weight: 700;
  line-height: 1.02 !important;
  letter-spacing: .04em;
  text-align: center;
  text-transform: none;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
}

/* Introduction */
.page-about .about-introduction {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 96px);
  color: #676161;
}

.page-about .about-introduction__title {
  margin: 0 0 clamp(24px, 3vw, 34px);
  color: #54595f;
  font-family: Qanelas-UltraLight, sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
}

.page-about .about-introduction__copy {
  width: 100%;
  max-width: none;
  margin: 0 auto 1.1em;
  padding: 0;
  color: #676161;
  font-family: qanelas-light, Arial, sans-serif;
  font-size: clamp(15px, 1.35vw, 21px);
  line-height: 1.72;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  overflow-wrap: break-word;
}

.page-about .about-introduction__copy:last-child {
  margin-bottom: 0;
}

/* Founder */
.page-about .about-founder {
  width: 100%;
  margin: 0;
  background: #e9e3d6;
}

.page-about .about-founder__inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 56px);
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 96px);
}

.page-about .about-founder__media {
  justify-self: center;
  width: 100%;
  max-width: 720px;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.page-about .about-founder__media img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-about .about-founder__content {
  min-width: 0;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  color: #676161;
}

.page-about .about-founder__title {
  max-width: 100%;
  margin: 0 0 clamp(12px, 2vw, 18px);
  color: #5c5a5a;
  font-family: 'Champagne&Limousines', sans-serif;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
  overflow: clip;
  overflow-wrap: normal;
}

.page-about .about-founder__role {
  margin: 0 0 clamp(22px, 3vw, 32px);
  color: #676161;
  font-family: qanelas-light, Arial, sans-serif;
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.4;
}

.page-about .about-founder__biography {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #676161;
  font-family: QanelasDEMO-Thin, Arial, sans-serif;
  font-size: clamp(15px, 1.18vw, 20px);
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Team masthead */
.page-about .about-team {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 8vw, 120px) 0 clamp(78px, 10vw, 150px);
}

.page-about .about-team__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.page-about .about-team__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(42px, 6vw, 80px);
  text-align: center;
}

.page-about .about-team__heading-group {
  min-width: 0;
}

.page-about .about-team__title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding-bottom: 14px;
  color: #5c5a5a;
  font-family: Qanelas-Medium, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  white-space: normal;
  text-wrap: balance;
}

.page-about .about-team__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: clamp(120px, 58%, 210px);
  height: 2px;
  background: currentColor;
  opacity: .75;
  transform: translateX(-50%);
}

.page-about .about-team__introduction {
  max-width: 40ch;
  margin: 0 auto;
  color: #676161;
  font-family: QanelasDEMO-Thin, Arial, sans-serif;
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.6;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Team grid and cards */
.page-about .about-team__grid {
  --about-team-column-gap: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(44px, 5vw, 72px) var(--about-team-column-gap);
}

.page-about .about-team__card {
  display: flex;
  flex-direction: column;
  justify-self: center;
  min-width: 0;
  width: 100%;
  max-width: 560px;
  margin: 0;
  text-align: center;
}

.page-about .about-team__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7e7e7;
  outline: none;
  touch-action: pan-y;
}

.page-about .about-team__media:focus-visible {
  outline: 2px solid #5c5a5a;
  outline-offset: 4px;
}

.page-about .about-team__media > img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-about .team-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: clamp(14px, 2vw, 28px);
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-in-out;
}

.page-about .team-hover-overlay p {
  width: 100%;
  margin: auto 0;
  color: #fff;
  font-family: qanelas-light, Arial, sans-serif;
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.55;
  text-align: justify;
  text-align-last: left;
  overflow-wrap: break-word;
}

.page-about .about-team__media:focus .team-hover-overlay,
.page-about .about-team__media:focus-within .team-hover-overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .page-about .about-team__media:hover .team-hover-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

.page-about .about-team__details {
  min-width: 0;
  padding: clamp(18px, 2vw, 28px) clamp(8px, 2vw, 20px) 0;
}

.page-about .about-team__name {
  max-width: 100%;
  margin: 0 0 6px;
  color: #5c5a5a;
  font-family: Qanelas-Regular, Arial, sans-serif;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 300;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
}

.page-about .about-team__role {
  max-width: 34ch;
  margin: 0 auto;
  color: #5c5a5a;
  font-family: qanelas-light, Arial, sans-serif;
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1.42;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
}

@media (min-width: 680px) {
  .page-about .about-team__header {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(48px, 6vw, 88px);
    text-align: left;
  }

  .page-about .about-team__title::after {
    left: 0;
    transform: none;
  }

  .page-about .about-team__introduction {
    width: 100%;
    margin-inline: 0;
    justify-self: end;
    text-align: left;
  }

  .page-about .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-about .about-team__card {
    max-width: none;
  }

  .page-about .about-team__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - var(--about-team-column-gap)) / 2);
  }
}

@media (min-width: 1100px) {
  .page-about .about-founder__inner {
    grid-template-columns: minmax(360px, .9fr) minmax(430px, 1.1fr);
    gap: clamp(48px, 7vw, 112px);
  }

  .page-about .about-founder__media {
    max-width: none;
  }

  .page-about .about-founder__content {
    max-width: 720px;
  }

  .page-about .about-founder__title {
    font-size: clamp(38px, 4vw, 68px);
  }

}

@media (min-width: 1200px) {
  .page-about .about-team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-about .about-team__card:last-child:nth-child(odd) {
    grid-column: 2;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about .team-hover-overlay {
    transition: none;
  }
}
