@font-face {
  font-family: "CQLogo";
  src: url("../assets/fonts/Handlee-Regular.ttf") format("truetype");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: #fff;
  color: #151515;
}

/* HEADER */

.cq-header {
  position: sticky;
  top: 0;
  z-index: 100;

  height: 72px;
  padding: 0 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid #eee;
}

.cq-logo {
  font-family: "CQLogo", sans-serif;

  color: #111;
  text-decoration: none;

  font-size: 34px;
  font-weight: 400;

  letter-spacing: 0.01em;
  line-height: 1;
}

.cq-logo span {
  color: #de0f0f;
}

.cq-nav {
  display: flex;
  gap: 24px;
}

.cq-nav a {
  text-decoration: none;
  color: #111;

  font-weight: 700;
  font-size: 15px;
}

.cq-nav a.active,
.cq-nav a:hover {
  color: #de0f0f;
}

/* HERO */

.about-hero {
  min-height: 58vh;

  display: grid;
  place-items: center;

  text-align: center;

  padding: 90px 24px;

  color: white;

  background:
    linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.72)),
    image-set(
      url("../images/hero/foodtruck.avif") type("image/avif"),
      url("../images/hero/foodtruck.webp") type("image/webp")
    ) center/cover no-repeat;
}

.about-hero > div {
  max-width: 980px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;

  font-size: 13px;
  font-weight: 900;

  color: #ffcf33;

  margin-bottom: 18px;
}

.about-hero h1 {
  font-size: clamp(52px, 8vw, 112px);

  line-height: .92;
  letter-spacing: -0.07em;
}

/* MAIN */

.about-wrap {
  max-width: 980px;
  margin: auto;

  padding: 100px 24px 120px;
}

/* STORY */

.about-story {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.about-story p {
  font-size: clamp(21px, 2vw, 30px);

  line-height: 1.75;

  color: #2a2a2a;
}

/* COMMUNITY */

.community-service {
  margin-top: 90px;
  padding: 54px 42px;
  background: #fff7e6;
  border: 1px solid #eadbb9;
  border-radius: 28px;
}

.community-service .eyebrow {
  color: #de0f0f;
}

.community-service h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}

.community-service p:not(.eyebrow) {
  color: #343434;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.65;
}

.community-service p + p {
  margin-top: 18px;
}

/* CTA */

.about-cta {
  margin-top: 110px;

  padding: 70px 40px;

  text-align: center;

  background: #111;
  color: white;

  border-radius: 36px;
}

.about-cta h2 {
  font-size: clamp(40px, 6vw, 72px);

  line-height: .95;
  letter-spacing: -0.06em;

  margin-bottom: 18px;
}

.about-cta p {
  font-size: 22px;

  color: rgba(255,255,255,.78);

  margin-bottom: 32px;
}

.about-cta a {
  display: inline-block;

  background: #de0f0f;
  color: white;

  text-decoration: none;

  padding: 16px 30px;

  border-radius: 999px;

  font-weight: 900;

  transition:
    transform .2s ease,
    opacity .2s ease;
}

.about-cta a:hover {
  transform: translateY(-2px);
  opacity: .92;
}

/* MOBILE */

@media (max-width: 850px) {

  .cq-header {
    height: auto;

    padding: 18px 22px;

    flex-direction: column;
    gap: 14px;
  }

  .cq-nav {
    flex-wrap: wrap;
    justify-content: center;

    gap: 16px;
  }

  .about-hero {
    min-height: 65vh;

    background-position: 65% center;
  }

  .about-story p {
    line-height: 1.65;
  }

  .community-service {
    margin-top: 68px;
    padding: 42px 26px;
  }

  .about-cta {
    padding: 60px 28px;
  }

  /* FOOTER */

  .cq-footer {
    background: #0f0f0f;
    color: white;

    padding: 90px 24px 40px;

    margin-top: 120px;
  }

  .footer-grid {
    max-width: 1400px;

    margin: auto;

    display: grid;
    grid-template-columns:
      1.6fr
      1fr
      1fr
      1fr;

    gap: 54px;
  }

  .footer-logo {
    font-family: "CQLogo", sans-serif;

    color: white;
    text-decoration: none;

    font-size: 38px;

    display: inline-block;

    margin-bottom: 22px;
  }

  .footer-logo span {
    color: #de0f0f;
  }

  .footer-brand p {
    color: rgba(255,255,255,.72);

    line-height: 1.8;

    max-width: 440px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-links h3 {
    font-size: 14px;

    text-transform: uppercase;
    letter-spacing: .12em;

    color: #ffcf33;

    margin-bottom: 10px;
  }

  .footer-links a {
    color: rgba(255,255,255,.78);

    text-decoration: none;

    transition: opacity .2s ease;
  }

  .footer-links a:hover {
    opacity: .65;
  }

  .footer-bottom {
    max-width: 1400px;

    margin: 70px auto 0;
    padding-top: 26px;

    border-top: 1px solid rgba(255,255,255,.10);

    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-bottom p {
    color: rgba(255,255,255,.52);

    font-size: 14px;
  }

  /* MOBILE */

  @media (max-width: 950px) {

    .footer-grid {
      grid-template-columns: 1fr;
      gap: 44px;
    }

    .footer-bottom {
      flex-direction: column;
    }

  }

}
