/* About-page-only layout.
   Navigation, background, typography, and footer styling come from ../style.css. */

/* Keeps the footer at the bottom of short pages and below longer content. */
body {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
  }
  
  main {
    flex: 1;
  }
  
  /* ========================================
   ABOUT HERO
======================================== */

.about-hero {
    position: relative;
    height: clamp(320px, 38vw, 480px);
    overflow: hidden;
    isolation: isolate;
  }
  
  .about-hero-image,
  .about-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  .about-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 45%;
  }
  
  .about-hero-overlay {
    z-index: -1;
    background: rgb(0 0 0 / 60%);
  }
  
  .about-hero-content {
    position: absolute;
    right: var(--page-gutter);
    bottom: clamp(40px, 7vw, 75px);
    left: clamp(80px, 10vw, 170px);
  }
  
  .about-hero h1 {
    margin: 0;
    color: var(--yellow);
    font-family: var(--display-font);
    font-size: clamp(3.5rem, 6vw, 5.8rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.02em;
  }
  
  .about-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #fff;
    font-family: var(--body-font);
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.035em;
  }
  
  /* ========================================
     ABOUT HERO — MOBILE
  ======================================== */
  
  @media (max-width: 800px) {
    .about-hero {
      height: 420px;
    }
  
    .about-hero-image {
      object-position: center;
    }
  
    .about-hero-content {
      right: 24px;
      bottom: 45px;
      left: 24px;
    }
  
    .about-hero h1 {
      font-size: clamp(3.4rem, 15vw, 5rem);
    }
  
    .about-hero p {
      margin-top: 14px;
      font-size: clamp(1rem, 4.5vw, 1.3rem);
    }
  }


/* ========================================
   ABOUT INTRO
======================================== */

.about-intro {
  padding: clamp(90px, 11vw, 150px) var(--page-gutter);
}

.about-intro-content {
  width: min(100%, 710px);
  margin-inline: auto;
}

.about-intro-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55em;
  margin: 0 0 clamp(45px, 6vw, 70px);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.heading-solid {
  color: #fff;
  font-weight: 700;
}

.heading-outline {
  color: transparent;
  font-weight: 700;
  -webkit-text-stroke: 1px #fff;
}

.about-intro-copy {
  max-width: 700px;
}

.about-intro-copy p {
  margin: 0;
  color: #fdeeda;
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.035em;
}

.about-intro-copy p + p {
  margin-top: 26px;
}

.about-intro-copy a {
    color: var(--yellow);
    font-weight: 600;
    overflow-wrap: anywhere;
  }
  
  .about-intro-copy a:hover,
  .about-intro-copy a:focus-visible {
    text-decoration: underline;
  }
  
  .about-signoff {
    font-weight: 600;
  }

/* Mobile */

@media (max-width: 800px) {
  .about-intro {
    padding: 80px 24px;
  }

  .about-intro-heading {
    gap: 0.4em;
    margin-bottom: 38px;
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .about-intro-copy p {
    font-size: clamp(1rem, 4.2vw, 1.1rem);
    line-height: 1.55;
  }

  .about-intro-copy p + p {
    margin-top: 22px;
  }
}


/* ========================================
   MEMBERS CAROUSEL
======================================== */

.members-section {
    padding: clamp(90px, 11vw, 150px) 0;
    overflow: hidden;
  }
  
  .members-heading-wrapper {
    width: min(calc(100% - (2 * var(--page-gutter))), 710px);
    margin-inline: auto;
  }
  
  .members-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55em;
    margin: 0 0 48px;
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    line-height: 1;
    letter-spacing: 0.06em;
  }
  
  .members-carousel-wrapper {
    position: relative;
    width: 100%;
  }
  
  .members-carousel {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    padding: 0 clamp(24px, 3vw, 48px);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  
  .members-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .member-card {
    flex: 0 0 clamp(220px, 20vw, 285px);
    padding: 18px 18px 20px;
    border-radius: 24px;
    color: #fdeeda;
    background: rgb(0 0 0 / 60%);
    scroll-snap-align: start;
  }
  
  .member-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
  }
  
  .member-card h3 {
    margin: 17px 0 4px;
    color: var(--yellow);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 600;
    line-height: 1.2;
  }
  
  .member-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
  }
  
  .member-card p strong {
    font-weight: 600;
  }
  
  .member-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: flex;
    width: 48px;
    height: 48px;
    padding: 0 0 5px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255 / 75%);
    background: rgb(0 0 0 / 45%);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 2.3rem;
    line-height: 1;
    transform: translateY(-50%);
  }
  
  .member-arrow-left {
    left: 18px;
  }
  
  .member-arrow-right {
    right: 18px;
  }
  
  .member-arrow:hover,
  .member-arrow:focus-visible {
    color: var(--yellow);
    background: rgb(0 0 0 / 75%);
  }
  
  @media (max-width: 800px) {
    .members-section {
      padding: 80px 0;
    }
  
    .members-heading-wrapper {
      width: calc(100% - 48px);
    }
  
    .members-heading {
      gap: 0.4em;
      margin-bottom: 30px;
      font-size: clamp(1.25rem, 6vw, 1.7rem);
    }
  
    .members-carousel {
      gap: 14px;
      padding-inline: 24px;
    }
  
    .member-card {
      flex-basis: min(76vw, 280px);
    }

  }

  /* ========================================
   INSTAGRAM FEED
======================================== */

.instagram-section {
    padding: clamp(90px, 11vw, 150px) var(--page-gutter);
  }
  
  .instagram-content {
    width: min(100%, 710px);
    margin-inline: auto;
  }
  
  .instagram-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55em;
    margin: 0 0 16px;
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    line-height: 1;
    letter-spacing: 0.06em;
  }
  
  .instagram-description {
    margin: 0 0 clamp(35px, 5vw, 50px);
    color: #fdeeda;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.5;
    letter-spacing: 0.025em;
  }
  
  .instagram-feed {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 18px;
    background: rgb(0 0 0 / 55%);
  }
  
  .instagram-button {
    display: flex;
    width: fit-content;
    min-height: 46px;
    margin: 28px auto 0;
    padding: 0 25px;
    border: 2px solid rgb(255 255 255 / 65%);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    text-align: center;
    transition:
      color 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease;
  }
  
  .instagram-button:hover,
  .instagram-button:focus-visible {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgb(255 204 93 / 8%);
  }
  
  @media (max-width: 800px) {
    .instagram-section {
      padding: 80px 24px;
    }
  
    .instagram-heading {
      gap: 0.4em;
      font-size: clamp(1.25rem, 6vw, 1.7rem);
    }
  
    .instagram-description {
      margin-bottom: 30px;
    }
  
    .instagram-feed {
      min-height: 350px;
      border-radius: 12px;
    }
  }

  .instagram-video-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow:
      0 18px 25px rgb(0 0 0 / 30%),
      0 8px 10px rgb(0 0 0 / 20%);
  }
  
  .instagram-video-wrapper video {
    display: block;
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    background: #000;
  }
  
  @media (max-width: 800px) {
    .instagram-video-wrapper {
      border-radius: 12px;
    }
  }