/* =========================================
   COMMUNITY — HERO
========================================= */

.community-hero {
  min-height: 820px;
  padding: 150px 32px 48px;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.52) 48%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    url("../images/therealboxingcommunity.webp") center / cover no-repeat;

  color: #fff;

  position: relative;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
}

.community-hero::after {
  content: "";

  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -60px;

  height: 80px;

  background: var(--red);

  transform: rotate(2deg);
  transform-origin: right;

  z-index: 1;
}

.community-hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: auto;

  position: relative;
  z-index: 2;
}

.community-hero-content {
  max-width: 950px;
}

.community-hero .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #fff;

  margin: 0 0 20px;

  text-transform: uppercase;
  letter-spacing: 0.13em;

  font-size: 11px;
  font-weight: 500;
}

.community-hero .section-kicker::before {
  content: "";

  width: 25px;
  height: 2px;

  background: currentColor;
}

.community-hero h1 {
  margin: 20px 0 30px;

  max-width: 950px;

  font: 900 clamp(70px, 12vw, 150px)/0.73 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.community-hero h1 span {
  color: var(--red);
  font-style: italic;
}

.community-hero-copy {
  max-width: 390px;

  margin: 0;
  padding-bottom: 2rem;

  font-size: 13px;
  line-height: 1.55;
}

/* =========================================
   COMMUNITY — INTRO
========================================= */

.community-intro {
  background: var(--paper);
}

.community-section-heading {
  display: grid;
  grid-template-columns: 1fr 1.1fr;

  gap: 90px;

  align-items: start;
}

.community-section-heading h2 {
  margin: 12px 0 0;

  font: 900 clamp(55px, 7vw, 105px)/0.78 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.community-section-heading h2 span {
  color: var(--red);
  font-style: italic;
}

.community-intro-copy {
  max-width: 580px;

  padding-top: 14px;
}

.community-intro-copy p {
  margin: 0 0 24px;
}

.community-intro-copy .community-intro-lead {
  margin-bottom: 28px;

  font: 600 clamp(23px, 2.5vw, 34px)/1.08 var(--display);

  letter-spacing: -0.015em;
}

/* =========================================
   COMMUNITY — QUOTE
========================================= */

.community-quote {
  position: relative;

  color: #fff;

  padding: 125px 32px;

  background:
    linear-gradient(0deg, rgba(14, 14, 14, 0.78), rgba(14, 14, 14, 0.78)),
    url("../images/the-real-community-2.webp") center / cover fixed;
}

.community-quote-wrap {
  max-width: 1050px;
  margin: auto;
}

.community-quote-mark {
  color: var(--red);

  font:
    900 100px/0.25 Georgia,
    serif;
}

.community-quote blockquote {
  margin: 30px 0;

  font: 800 clamp(40px, 6vw, 82px)/0.87 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.community-quote cite {
  font-style: normal;

  color: var(--silver);

  text-transform: uppercase;
  letter-spacing: 0.12em;

  font-size: 11px;
}

@media (max-width: 760px) {
  .community-quote {
    padding: 90px 20px;
    background-attachment: scroll;
  }

  .community-quote-mark {
    font-size: 80px;
  }

  .community-quote blockquote {
    font-size: clamp(38px, 12vw, 62px);
    margin: 25px 0;
  }
}

/* =========================================
   COMMUNITY — STORIES
========================================= */

.community-stories {
  padding: 125px 32px;

  background: #d5d6d4;
}

.community-stories > .section-inner {
  max-width: 1400px;
  margin: auto;
}

.community-stories-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;

  gap: 60px;

  align-items: end;

  margin-bottom: 100px;
}

.community-stories-heading h2 {
  margin: 12px 0 0;

  font: 900 clamp(65px, 8vw, 120px)/0.76 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.community-stories-heading h2 span {
  color: var(--red);
  font-style: italic;
}

.community-stories-heading > p:last-child {
  max-width: 390px;
  margin: 0;

  font-size: 13px;
  line-height: 1.6;
}

/* =========================================
   MEMBER STORY
========================================= */

.member-story {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 680px;

  border-top: 1px solid var(--line);
}

.member-story + .member-story {
  margin-top: 150px;
}

.member-story-image {
  position: relative;

  min-height: 680px;

  overflow: hidden;

  background: var(--ink);
}

.member-story-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(100%);

  transition:
    filter 0.5s ease,
    transform 0.8s ease;
}

.member-story:hover .member-story-image img {
  filter: grayscale(0%);
  transform: scale(1.025);
}

.member-story-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.4));

  pointer-events: none;
}

.member-story-image-label {
  position: absolute;

  left: 20px;
  bottom: 18px;

  z-index: 2;

  color: #fff;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.member-story-content {
  padding: 75px 8%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-story-number {
  margin: 0 0 25px;

  color: var(--red);

  font: 700 12px var(--display);

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.member-story-content h3 {
  margin: 0 0 22px;

  font: 900 clamp(48px, 5.5vw, 82px)/0.78 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.member-story-content h3 span {
  color: var(--red);
  font-style: italic;
}

.member-story-name {
  margin: 0 0 32px;

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  color: #555;
}

.member-story-copy {
  max-width: 510px;
}

.member-story-copy p {
  margin: 0 0 19px;
}

.member-story-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-top: 32px;

  border-top: 1px solid var(--line);
}

.member-story-details > div {
  padding: 17px 15px 0 0;

  border-right: 1px solid var(--line);
}

.member-story-details > div:not(:first-child) {
  padding-left: 15px;
}

.member-story-details > div:last-child {
  border-right: 0;
}

.member-story-details span {
  display: block;

  margin-bottom: 7px;

  color: #666;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.member-story-details strong {
  display: block;

  font: 700 16px var(--display);

  text-transform: uppercase;
}

/* =========================================
   COMMUNITY — EVERYONE STARTS SOMEWHERE
========================================= */

.community-start {
  padding: 125px 32px;

  background: var(--ink);
  color: #fff;
}

.community-start .section-inner {
  max-width: 1400px;
  margin: auto;
}

.community-start-heading {
  display: flex;
  justify-content: center;

  gap: 70px;

  align-items: start;

  padding-bottom: 90px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.community-start .section-kicker {
  color: var(--red);
}

.community-start-heading h2 {
  margin: 12px 0 0;

  font: 900 clamp(65px, 9vw, 135px)/0.75 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.045em;
  text-align: center;
}

.community-start-heading h2 span {
  color: var(--red);
  font-style: italic;
}

.community-start-quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  column-gap: 70px;
  row-gap: 65px;

  padding: 80px 0;
}

.community-start-quotes blockquote {
  margin: 0;

  padding-left: 22px;

  border-left: 2px solid var(--red);

  font: 600 clamp(24px, 2.7vw, 38px)/1.02 var(--display);

  letter-spacing: -0.015em;
}

.community-start-answer {
  padding-top: 55px;

  border-top: 1px solid rgba(255, 255, 255, 0.2);

  text-align: center;
}

.community-start-answer .section-kicker {
  margin-bottom: 17px;
}

.community-start-answer h3 {
  margin: 0;

  font: 900 clamp(45px, 6vw, 90px)/0.8 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.04em;
}

/* =========================================
   COMMUNITY — BELIEF / COMMUNITY
========================================= */

.community-belief {
  display: grid;
  grid-template-columns: 1fr 1fr;

  background: var(--paper);
}

.community-belief-image {
  min-height: 780px;

  overflow: hidden;
}

.community-belief-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(100%);

  transition:
    filter 0.6s ease,
    transform 0.8s ease;
}

.community-belief:hover .community-belief-image img {
  filter: grayscale(0%);
  transform: scale(1.025);
}

.community-belief-content {
  padding: 110px 8%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-belief-content h2 {
  margin: 12px 0 30px;

  font: 900 clamp(65px, 7vw, 110px)/0.75 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.community-belief-content h2 span {
  color: var(--red);
  font-style: italic;
}

.community-belief-content > p:not(.section-kicker) {
  max-width: 500px;

  margin: 0 0 50px;
}

.community-belief-points {
  max-width: 550px;

  border-top: 1px solid var(--line);
}

.community-belief-points > div {
  display: grid;
  grid-template-columns: 45px 1fr;

  column-gap: 15px;

  padding: 22px 0;

  border-bottom: 1px solid var(--line);
}

.community-belief-points span {
  grid-row: span 2;

  color: var(--red);

  font: 700 12px var(--display);
}

.community-belief-points strong {
  font: 700 22px var(--display);

  text-transform: uppercase;
}

.community-belief-points p {
  margin: 5px 0 0;

  font-size: 11px;
}

/* =========================================
   COMMUNITY — ONE SESSION
========================================= */

.community-session {
  background: #d5d6d4;
}

.community-session-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;

  gap: 70px;

  margin-bottom: 85px;
}

.community-session-heading h2 {
  margin: 12px 0 0;

  font: 900 clamp(60px, 8vw, 120px)/0.76 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.community-session-heading h2 span {
  color: var(--red);
  font-style: italic;
}

.community-session-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.community-session-step {
  min-height: 230px;

  padding: 25px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.community-session-step:hover {
  background: var(--red);
  color: #fff;
}

.community-session-step span {
  display: block;

  margin-bottom: 55px;

  color: var(--red);

  font: 700 13px var(--display);
}

.community-session-step:hover span {
  color: #fff;
}

.community-session-step h3 {
  margin: 0 0 10px;

  font: 900 36px/0.9 var(--display);

  text-transform: uppercase;
}

.community-session-step p {
  margin: 0;

  max-width: 230px;

  font-size: 10px;
  line-height: 1.5;
}

.community-session-line {
  padding-top: 65px;

  text-align: center;
}

.community-session-line p {
  margin: 0;

  font: 700 clamp(25px, 3vw, 42px)/1 var(--display);

  text-transform: uppercase;
}

.community-session-line span {
  color: var(--red);
  font-style: italic;
}

/* =========================================
   COMMUNITY — OUTSIDE THE RING
========================================= */

.community-outside {
  padding: 125px 32px;

  background: var(--paper);
}

.community-outside > .section-inner {
  max-width: 1400px;
  margin: auto;
}

.community-outside-heading {
  display: flex;
  flex-direction: column;

  gap: 20px;

  margin-bottom: 80px;
}

.community-outside-heading h2 {
  margin: 12px 0 0;

  font: 900 clamp(60px, 8vw, 120px)/0.76 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.community-outside-heading h2 span {
  color: var(--red);
  font-style: italic;
}

.community-outside-heading > p:last-child {
  max-width: 450px;

  margin: 0;

  font-size: 13px;
  line-height: 1.6;
}

.community-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 15px;
}

.community-gallery-item {
  height: 430px;

  overflow: hidden;

  background: var(--ink);
}

.community-gallery-item--large {
  height: 560px;
}

.community-gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(100%);

  transition:
    filter 0.5s ease,
    transform 0.7s ease;
}

.community-gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.025);
}

/* =========================================
   COMMUNITY — FINAL CTA
========================================= */

.community-final-cta {
  background: var(--red);
  color: #fff;

  padding: 125px 32px;
}

.community-final-cta-inner {
  max-width: 1400px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;
}

.community-final-cta-copy {
  max-width: 900px;
}

.community-final-cta .section-kicker {
  color: #fff;

  margin: 0 0 12px;
}

.community-final-cta h2 {
  margin: 0;

  font: 900 clamp(55px, 7vw, 105px)/0.8 var(--display);

  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.community-final-cta h2 span {
  color: var(--ink);
  font-style: italic;
}

.community-final-cta .button {
  flex-shrink: 0;
  white-space: nowrap;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
  .community-section-heading,
  .community-stories-heading,
  .community-start-heading,
  .community-session-heading,
  .community-outside-heading {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .member-story-content {
    padding: 60px 7%;
  }

  .member-story-content h3 {
    font-size: clamp(45px, 5vw, 70px);
  }

  .community-belief-content {
    padding: 80px 7%;
  }

  .community-belief-content h2 {
    font-size: clamp(55px, 6vw, 90px);
  }

  .community-session-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
  /* -----------------------------------------
	   HERO
	----------------------------------------- */

  .community-hero {
    min-height: 760px;

    padding: 120px 20px 48px;

    background-position: 60% center;
  }

  .community-hero h1 {
    font-size: clamp(70px, 20vw, 125px);
  }

  .community-hero-copy {
    max-width: 340px;
    padding-bottom: 1.5rem;
  }

  .community-hero::after {
    bottom: -70px;
    height: 120px;
  }

  /* -----------------------------------------
	   INTRO
	----------------------------------------- */

  .community-section-heading {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .community-section-heading h2 {
    font-size: clamp(58px, 16vw, 90px);
  }

  .community-intro-copy {
    padding-top: 0;
  }

  .community-intro-copy .community-intro-lead {
    font-size: 27px;
  }

  /* -----------------------------------------
	   STORIES
	----------------------------------------- */

  .community-stories {
    padding: 80px 20px;
  }

  .community-stories-heading {
    grid-template-columns: 1fr;

    gap: 25px;

    margin-bottom: 60px;
  }

  .community-stories-heading h2 {
    font-size: clamp(65px, 17vw, 100px);
  }

  .member-story {
    grid-template-columns: 1fr;

    min-height: auto;
  }

  .member-story + .member-story {
    margin-top: 70px;
  }

  .member-story-image {
    min-height: 470px;
  }

  .member-story-content {
    padding: 55px 0;
  }

  .member-story-content h3 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .member-story-details {
    grid-template-columns: 1fr;
  }

  .member-story-details > div,
  .member-story-details > div:not(:first-child) {
    padding: 14px 0;

    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .member-story-details > div:last-child {
    border-bottom: 0;
  }

  /* -----------------------------------------
	   START SOMEWHERE
	----------------------------------------- */

  .community-start {
    padding: 80px 20px;
  }

  .community-start-heading {
    grid-template-columns: 1fr;

    gap: 25px;

    padding-bottom: 60px;
  }

  .community-start-heading h2 {
    font-size: clamp(65px, 18vw, 105px);
  }

  .community-start-quotes {
    grid-template-columns: 1fr;

    gap: 45px;

    padding: 60px 0;
  }

  .community-start-quotes blockquote {
    font-size: 29px;
  }

  .community-start-answer {
    padding-top: 45px;
  }

  .community-start-answer h3 {
    font-size: clamp(48px, 14vw, 78px);
  }

  /* -----------------------------------------
	   BELIEF
	----------------------------------------- */

  .community-belief {
    grid-template-columns: 1fr;
  }

  .community-belief-image {
    min-height: 500px;
  }

  .community-belief-content {
    padding: 75px 20px;
  }

  .community-belief-content h2 {
    font-size: clamp(65px, 18vw, 105px);
  }

  .community-belief-points {
    width: 100%;
  }

  .community-belief-points > div {
    grid-template-columns: 35px 1fr;
  }

  /* -----------------------------------------
	   SESSION
	----------------------------------------- */

  .community-session {
    padding: 80px 20px;
  }

  .community-session-heading {
    grid-template-columns: 1fr;

    gap: 25px;

    margin-bottom: 60px;
  }

  .community-session-heading h2 {
    font-size: clamp(62px, 17vw, 100px);
  }

  .community-session-steps {
    grid-template-columns: 1fr;
  }

  .community-session-step {
    min-height: 190px;
  }

  .community-session-step span {
    margin-bottom: 35px;
  }

  .community-session-line {
    padding-top: 50px;
  }

  .community-session-line p {
    font-size: 29px;
  }

  /* -----------------------------------------
	   OUTSIDE THE RING
	----------------------------------------- */

  .community-outside {
    padding: 80px 20px;
  }

  .community-outside-heading {
    grid-template-columns: 1fr;

    gap: 25px;

    margin-bottom: 55px;
  }

  .community-outside-heading h2 {
    font-size: clamp(62px, 17vw, 100px);
  }

  .community-gallery {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .community-gallery-item,
  .community-gallery-item--large {
    height: 430px;
  }

  /* -----------------------------------------
	   FINAL CTA
	----------------------------------------- */

  .community-final-cta {
    padding: 75px 20px;
  }

  .community-final-cta-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 30px;
  }

  .community-final-cta h2 {
    font-size: clamp(52px, 15vw, 82px);
  }

  .community-final-cta .button {
    width: 100%;
  }
}
