/* Texas Taco Trailer — coming soon */

:root {
  /* Type */
  --font-body: 'Poppins', arial, sans-serif;
  --font-display: 'Adamina', Georgia, serif;

  /* Colour */
  --sage: rgb(112, 115, 100);
  --sage-dark: rgb(63, 65, 56);
  --sage-light: rgb(140, 143, 131);
  --ink: rgb(27, 27, 27);
  --body-text: rgb(87, 87, 87);
  --muted-text: rgb(89, 89, 89);
  --cream: rgba(243, 247, 228, 0.9);
  --surface: rgb(255, 255, 255);
  --surface-alt: rgb(246, 246, 246);
  --rule: rgb(226, 226, 226);

  /* Spacing */
  --gutter: 24px;
  --section-pad: 56px;

  /* Layout */
  --measure: 1160px;
}

/* --- Reset ------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--surface);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.4375rem);
  line-height: 1.5;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

a {
  color: var(--sage);
  text-decoration: none;
}

a:hover {
  color: var(--sage-dark);
}

/* --- Layout ----------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section--alt {
  background-color: var(--surface-alt);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 767px) {
  .section {
    padding-block: 40px;
  }
}

/* --- Header ----------------------------------------------------------- */

.site-header {
  display: flex;
  justify-content: center;
  padding-block: var(--gutter);
}

.site-header__logo {
  height: clamp(80px, 12vw, 136px);
  width: auto;
  object-fit: contain;
}

/* --- Hero ------------------------------------------------------------- */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 40px var(--gutter);
  background-image: url("../images/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 60vh;
  }
}

.hero__title {
  margin: 0;
  padding: var(--gutter);
  max-width: 45%;
  background-color: var(--cream);
  color: rgb(20, 20, 20);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.3125rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .hero__title {
    max-width: 100%;
  }
}

/* --- Headings --------------------------------------------------------- */

.section__title {
  margin: 0 0 40px;
  color: var(--sage-light);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.3125rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.section__title::after {
  content: "";
  display: block;
  width: 50px;
  margin: var(--gutter) auto 0;
  border-bottom: 2px solid var(--rule);
}

/* --- Prose ------------------------------------------------------------ */

.prose {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

.prose p {
  margin: 0 0 var(--gutter);
}

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

/* --- Social ----------------------------------------------------------- */

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social__link {
  display: inline-flex;
}

.social__link svg {
  width: 40px;
  height: 40px;
}

@media (min-width: 1024px) {
  .social {
    gap: var(--gutter);
  }

  .social__link svg {
    width: 48px;
    height: 48px;
  }
}

/* --- Footer ----------------------------------------------------------- */

.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--rule);
  background-color: var(--surface-alt);
  color: var(--muted-text);
  font-size: 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}
