:root {
  color-scheme: light;
  --ink: #222222;
  --muted: #52514e;
  --paper: #fcfbf8;
  --accent: #ffa629;
  --rule: #e3ded5;
  font: 100% / 1.55 system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #b46808; outline-offset: 5px; }

.wrap {
  width: min(70rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid #41403c;
}

.header-inner, .footer-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-size: 1.2rem;
  font-weight: 820;
  letter-spacing: .15em;
  text-decoration: none;
}

nav a {
  color: #f4eee3;
  text-underline-offset: .25em;
  text-decoration-color: #a8a298;
}

.hero {
  background: #262523;
  color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .75fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero-copy h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -.044em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 40ch;
  margin: 1.45rem 0 2rem;
  color: #e0dbd1;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.download {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.4rem;
  border-radius: .65rem;
  background: var(--accent);
  color: #24211d;
  font-weight: 760;
  text-decoration: none;
}

.download:hover { background: #ffc26b; }
.download:focus-visible { outline-color: #fff; }

.hero-brand {
  display: grid;
  place-items: center;
  position: relative;
  aspect-ratio: 1.06;
  overflow: hidden;
  border: 1px solid #514537;
  border-radius: 2rem;
  background: linear-gradient(145deg, #3d3225 0%, #292723 58%, #262523 100%);
}

.hero-brand::before {
  content: "";
  position: absolute;
  width: 125%;
  height: 54%;
  top: 24%;
  transform: rotate(-21deg);
  background: linear-gradient(90deg, #65472b, #b87327 72%, #ffa629);
}

.brand-tile {
  position: relative;
  width: min(61%, 13.5rem);
  border: 1px solid #5e574e;
  border-radius: 23%;
  overflow: hidden;
  background: #242424;
  box-shadow: 0 1rem 2rem #1f1814a8;
}

.brand-tile img { display: block; width: 100%; height: auto; }

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.audiences h2 { margin: 0 0 .4rem; font-size: 1.4rem; }
.audiences p { max-width: 39ch; margin: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { color: var(--muted); }
.footer-inner a { text-underline-offset: .22em; }

@media (max-width: 40rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-brand { width: min(68vw, 20rem); justify-self: start; }
  .audiences { gap: 1.5rem; }
}

@media (max-width: 31rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner, .footer-inner { gap: .75rem; min-height: 4rem; }
  .wordmark { font-size: 1.05rem; }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-brand { width: min(100%, 18rem); border-radius: 1.4rem; }
  .audiences { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; padding-block: .85rem; }
}
