:root {
  --paper: #f1efe8;
  --ink: #151613;
  --acid: #d9ff43;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  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;
}

header,
footer {
  min-height: 78px;
  padding: 0 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(21, 22, 19, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.edition,
footer {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main {
  min-height: 0;
  padding: clamp(36px, 6vh, 72px) 3vw 3vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

h1 {
  margin: 0;
  font-size: clamp(88px, 18vw, 270px);
  line-height: 0.68;
  letter-spacing: -0.095em;
  text-transform: uppercase;
}

h1 em {
  display: inline-block;
  position: relative;
  z-index: 0;
  margin-left: 0.18em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.075em;
  text-transform: lowercase;
}

h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.03em;
  right: -0.04em;
  bottom: -0.02em;
  height: 0.36em;
  background: var(--acid);
  transform: rotate(-1deg);
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.intro p {
  max-width: 490px;
  margin: 0;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.intro > a {
  min-width: 190px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.intro > a:hover,
.intro > a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 var(--acid);
}

footer {
  border-top: 1px solid rgba(21, 22, 19, 0.22);
  border-bottom: 0;
}

footer a {
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  header,
  footer,
  main {
    padding-inline: 5vw;
  }

  header,
  footer {
    min-height: 68px;
  }

  h1 {
    font-size: clamp(76px, 24vw, 130px);
    line-height: 0.74;
  }

  h1 em {
    margin-left: 0;
  }

  .intro {
    display: block;
  }

  .intro p {
    max-width: 340px;
    margin-bottom: 24px;
  }

  .intro > a {
    width: 100%;
  }

  footer span {
    display: none;
  }

  footer a {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
