:root {
  --paper: #f3efe7;
  --ink: #18271f;
  --muted: #6b736d;
  --accent: #b84d33;
  --rule: rgba(24, 39, 31, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

header,
main,
footer {
  width: min(calc(100% - 64px), 1440px);
  margin-inline: auto;
}

header,
footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-color: var(--rule);
  font-size: 12px;
}

header {
  border-bottom: 1px solid var(--rule);
}

header p,
footer p {
  margin: 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.mark i {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--ink);
}

.mark i:first-child {
  top: 11px;
  transform: rotate(35deg);
}

.mark i:last-child {
  bottom: 11px;
  transform: rotate(-35deg);
}

main {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.55fr);
  grid-template-rows: auto 1fr;
  column-gap: 80px;
  align-items: end;
  padding: 62px 0 72px;
}

.eyebrow {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  color: var(--accent);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 58px 0 0;
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(88px, 11.4vw, 176px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.76;
}

.intro {
  align-self: end;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}

.intro p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.48;
  letter-spacing: -0.015em;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  header,
  main,
  footer {
    width: min(calc(100% - 32px), 1440px);
  }

  header {
    min-height: 76px;
  }

  header > p {
    display: none;
  }

  main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0;
    padding: 42px 0 48px;
  }

  h1 {
    align-self: start;
    margin-top: 50px;
    font-size: clamp(68px, 21vw, 118px);
    line-height: 0.82;
  }

  .intro {
    align-self: end;
    margin-top: 70px;
  }

  footer {
    min-height: 76px;
  }
}

@media (max-width: 410px) {
  h1 {
    font-size: 20vw;
  }
}
