:root {
  --cream: #fff7eb;
  --pink: #f9c8ba;
  --red: #ca151c;
  --ink: #54171a;
  --serif: 'KaolyDemo', 'Kaoly Demo', 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --gutter: max(clamp(1rem, 5.5vw, 6.5rem), calc((100% - 78rem) / 2));
  --section-space: clamp(3.5rem, 7vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.brand-logo {
  display: block;
  line-height: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.15rem;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow i {
  flex: 0 0 1.5rem;
  height: 1px;
  background: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.site-footer {
  padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
  border-top: 1px solid #54171a26;
  background: var(--cream);
  color: var(--ink);
}

.footer-main {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: 2rem 1.25rem;
  text-align: center;
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-brand img {
  width: 10.75rem;
  height: auto;
}

.footer-brand p {
  margin: .25rem 0 0;
  font-size: .9rem;
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
}

.footer-nav a,
.footer-credit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.footer-nav a {
  min-width: 44px;
  font-size: .95rem;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-credit a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.footer-credit {
  padding-block: .375rem;
  border-top: 1px solid #54171a26;
  text-align: center;
}

.footer-credit a {
  gap: .55rem;
  font-size: .8rem;
}

.footer-credit img {
  width: 4rem;
  height: auto;
}

@media (min-width: 48rem) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    padding-block: 2rem;
    text-align: start;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .25rem clamp(1rem, 2vw, 2rem);
  }

  .footer-credit {
    text-align: end;
  }
}
