.community-page {
  background: #f7f7f5;
}

.community-hero {
  padding: clamp(64px, 8vw, 120px) 0 clamp(90px, 11vw, 150px);
}

.community-hero-copy {
  display: grid;
  grid-template-columns: 0.34fr 1.66fr;
  gap: 28px 44px;
}

.back-link {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #5f5f5b;
  font-size: 0.86rem;
}

.back-link span {
  transition: transform 0.2s ease;
}

.back-link:hover span {
  transform: translateX(-4px);
}

.community-hero-copy .section-label {
  padding-top: 12px;
}

.community-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4rem, 7.6vw, 8.4rem);
  font-weight: 520;
  letter-spacing: -0.082em;
  line-height: 0.91;
}

.community-lead {
  grid-column: 2;
  max-width: 760px;
  margin: 12px 0 0;
  color: #51514d;
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  letter-spacing: -0.025em;
  line-height: 1.52;
}

.community-cover {
  position: relative;
  min-height: min(56vw, 720px);
  margin-top: clamp(60px, 8vw, 108px);
  overflow: hidden;
  border-radius: 34px;
  background: #85c6f1;
}

.community-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-section {
  padding: clamp(96px, 12vw, 176px) 0;
}

.community-about {
  background: #fff;
}

.community-two-column {
  display: grid;
  grid-template-columns: 0.34fr 1.66fr;
  gap: 44px;
}

.community-prose h2,
.community-heading h2,
.author-copy h2,
.events-heading h2,
.join-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.98;
}

.community-prose p {
  max-width: 780px;
  margin: 42px 0 0 auto;
  color: #4f4f4b;
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  letter-spacing: -0.02em;
  line-height: 1.56;
}

.community-prose p + p {
  margin-top: 24px;
}

.community-possibilities {
  background: #e9e9e6;
}

.community-heading {
  display: grid;
  grid-template-columns: 0.34fr 1.66fr;
  align-items: end;
  gap: 44px;
  margin-bottom: clamp(62px, 8vw, 100px);
}

.possibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
  border-left: 1px solid rgba(17, 17, 17, 0.16);
}

.possibility-card {
  min-height: 490px;
  padding: clamp(30px, 4vw, 52px);
  border-right: 1px solid rgba(17, 17, 17, 0.16);
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
  background: rgba(255, 255, 255, 0.18);
}

.possibility-card-blue {
  background: #dfeefa;
}

.possibility-card-dark {
  color: #fff;
  background: #111;
}

.possibility-index {
  color: #74746f;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.possibility-card-dark .possibility-index {
  color: #989891;
}

.possibility-card h3 {
  margin: clamp(70px, 8vw, 112px) 0 26px;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.possibility-card p {
  max-width: 56ch;
  margin: 0;
  color: #5b5b56;
  line-height: 1.62;
}

.possibility-card p + p {
  margin-top: 14px;
}

.possibility-card-dark p {
  color: #b5b5af;
}

.author-section {
  color: #fff;
  background: #111;
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(72px, 10vw, 166px);
}

.author-copy .section-label,
.join-copy .section-label {
  color: #9d9d96;
}

.author-copy h2 {
  margin-top: 28px;
}

.author-copy > p:not(.section-label) {
  max-width: 630px;
  margin: 34px 0 0;
  color: #b5b5ae;
  font-size: 1.05rem;
  line-height: 1.65;
}

.author-copy > p + p:not(.section-label) {
  margin-top: 18px;
}

.author-points {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.author-points article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 32px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.author-points article > span {
  color: #8e8e87;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.author-points h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.author-points p {
  max-width: 48ch;
  margin: 0;
  color: #a9a9a2;
  line-height: 1.6;
}

.events-section {
  background: #fff;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(70px, 10vw, 160px);
}

.events-heading .section-label {
  margin-bottom: 28px;
}

.events-copy > p {
  max-width: 700px;
  margin: 0 0 clamp(52px, 7vw, 86px);
  color: #4f4f4b;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  letter-spacing: -0.02em;
  line-height: 1.56;
}

.events-facts {
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.events-facts article {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  padding: 25px 0 31px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.events-facts strong {
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.events-facts span {
  color: #62625d;
  line-height: 1.55;
}

.join-section {
  padding-top: 0;
  background: #fff;
}

.join-card {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(280px, 0.64fr);
  align-items: end;
  gap: 72px;
  padding: clamp(48px, 6vw, 80px);
  color: #fff;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(10, 39, 84, 0.9), rgba(18, 93, 164, 0.7)),
    url("landing-assets/community-cover.jpg") center / cover;
}

.join-copy h2 {
  max-width: 900px;
  margin-top: 24px;
}

.join-copy > p:last-child {
  max-width: 720px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.62;
}

.join-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

@media (max-width: 860px) {
  .community-hero-copy,
  .community-two-column,
  .community-heading,
  .author-layout,
  .events-layout,
  .join-card {
    grid-template-columns: 1fr;
  }

  .community-hero-copy .section-label {
    padding-top: 0;
  }

  .community-lead {
    grid-column: auto;
  }

  .community-cover {
    min-height: 60vw;
  }

  .community-prose p {
    margin-left: 0;
  }

  .community-heading,
  .author-layout,
  .events-layout {
    gap: 58px;
  }

  .join-card {
    align-items: start;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  .community-hero {
    padding: 46px 0 88px;
  }

  .back-link {
    margin-bottom: 20px;
  }

  .community-hero-copy {
    gap: 22px;
  }

  .community-hero h1 {
    font-size: clamp(3.35rem, 16vw, 5.4rem);
  }

  .community-lead {
    margin-top: 8px;
    font-size: 1.03rem;
  }

  .community-cover {
    min-height: 74vw;
    margin-top: 52px;
    border-radius: 22px;
  }

  .community-section {
    padding: 90px 0;
  }

  .community-two-column,
  .community-heading {
    gap: 26px;
  }

  .community-prose h2,
  .community-heading h2,
  .author-copy h2,
  .events-heading h2,
  .join-copy h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .community-prose p,
  .events-copy > p {
    margin-top: 28px;
    font-size: 1.04rem;
  }

  .community-heading {
    margin-bottom: 48px;
  }

  .possibility-grid {
    grid-template-columns: 1fr;
  }

  .possibility-card {
    min-height: auto;
    padding: 30px 24px 40px;
  }

  .possibility-card h3 {
    margin-top: 58px;
    font-size: 2.65rem;
  }

  .author-layout,
  .events-layout {
    gap: 64px;
  }

  .author-points article {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .events-facts article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .join-section {
    padding-top: 0;
  }

  .join-card {
    width: 100%;
    min-height: 720px;
    padding: 60px 24px;
    border-radius: 0;
  }

  .join-actions,
  .join-actions .button {
    width: 100%;
  }
}
