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

.about-container {
  width: min(100% - 40px, 1050px);
  margin: 0 auto;
}


/* ==================================================
   HERO
================================================== */

.about-hero {
  padding: 110px 0 90px;

  text-align: center;
}

.section-label {
  margin: 0 0 15px;

  color: var(--accent);

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;

  text-align: center;
}

.about-hero .section-label {
  position: relative;
  z-index: 1;

  display: inline-block;
}

.about-hero .section-label::before {
  content: "";

  position: absolute;
  z-index: -1;

  top: 50%;
  left: -12px;

  width: 29px;
  height: 29px;

  border-radius: 50%;

  background: white;

  transform: translateY(-50%);
}

.about-hero h1 {
  margin: 0;

  font-family: "Oswald", sans-serif;

  font-size: clamp(4.5rem, 10vw, 7rem);
  font-weight: 600;
  line-height: 1;

  color: var(--text);
}

.hero-intro,
.hero-secondary {
  max-width: 750px;

  color: var(--text-muted);

  font-size: 1.15rem;
  line-height: 1.8;

  text-align: left;
}

.hero-intro {
  margin: 30px auto 0;
  padding-left: 0;

  border-left: 0;

  text-align: center;
}

.hero-secondary {
  margin: 14px auto 0;
  padding-left: 27px;
}


/* ==================================================
   SHARED SECTION HEADINGS
================================================== */

.section-heading {
  margin-bottom: 45px;

  text-align: center;
}

.section-heading h2,
.currently-card h2 {
  margin: 0;

  font-family: "Oswald", sans-serif;

  font-size: clamp(3rem, 6vw, 4.5rem);

  color: var(--text);
}


/* ==================================================
   ABOUT THIS WEBSITE
================================================== */

.about-section {
  padding: 50px 0 100px;
}

.about-text {
  max-width: 800px;

  margin: 0 auto;
  padding: 35px 40px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 12px;
}

.about-text p {
  margin: 0 0 18px;

  color: var(--text-muted);

  font-size: 1.08rem;
  line-height: 1.8;
}

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

.about-text .quote {
  margin: 28px 0;
  padding: 12px 0 12px 24px;

  border-left: 2px solid var(--accent);

  color: var(--text);

  font-family: "Oswald", sans-serif;
  font-size: 1.75rem;
}


/* ==================================================
   PROJECT GOALS
================================================== */

.goals-section {
  padding: 50px 0 100px;
}

.goals-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 25px;
}

.goal-card {
  display: flex;
  flex-direction: column;

  min-height: 440px;
  padding: 30px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 12px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.goal-card:hover {
  transform: translateY(-5px);

  border-color: rgba(230, 57, 70, 0.55);
}

.goal-number {
  align-self: flex-end;

  color: var(--text-muted);

  font-family: "Oswald", sans-serif;
}

.goal-category {
  margin: -24px 45px 0 0;

  color: var(--accent);

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.goal-card h3 {
  margin: 18px 0 12px;

  font-family: "Oswald", sans-serif;

  font-size: 2rem;
}

.goal-description {
  margin: 0 0 18px;

  color: var(--text-muted);

  line-height: 1.7;
}

.goal-card ul {
  margin: 0 0 25px;
  padding-left: 22px;

  color: var(--text-muted);
}

.goal-card li {
  margin-bottom: 8px;

  line-height: 1.6;
}

.goal-card li::marker {
  color: var(--accent);
}

.goal-link {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: auto;

  color: var(--text);

  font-weight: 600;

  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

a.goal-link:hover {
  gap: 14px;

  color: var(--accent);
}

.coming-soon {
  color: var(--text-muted);
}


/* ==================================================
   CURRENTLY
================================================== */

.currently-section {
  padding: 40px 0 20px;
}

.currently-card {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;

  gap: 60px;

  padding: 45px;

  background:
    linear-gradient(
      110deg,
      rgba(230, 57, 70, 0.14),
      rgba(23, 23, 28, 0.92) 45%
    );

  border: 1px solid rgba(230, 57, 70, 0.28);
  border-radius: 12px;
}

.currently-card .section-label {
  text-align: left;
}

.currently-card h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1;
}

.currently-card > p {
  margin: 0;

  color: var(--text-muted);

  font-size: 1.05rem;
  line-height: 1.75;
}


/* ==================================================
   ACTIVE NAV LINK
================================================== */

nav ul li a.active {
  color: var(--text);
}

nav ul li a.active::after {
  width: 100%;
}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 700px) {

  .about-hero {
    padding: 80px 0 60px;
  }

  .about-hero h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .hero-intro,
  .hero-secondary {
    font-size: 1rem;
  }

  .hero-intro {
    padding-left: 0;
  }

  .hero-secondary {
    padding-left: 22px;
  }

  .about-section,
  .goals-section {
    padding-top: 30px;
  }

  .about-text {
    padding: 25px;
  }

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

  .goal-card {
    min-height: 0;

    padding: 25px;
  }

  .currently-card {
    grid-template-columns: 1fr;

    gap: 25px;

    padding: 30px 25px;
  }

}
