:root {
  --ink: #17251f;
  --paper: #f2efe7;
  --accent: #3b8ab8;
  --line: rgba(23, 37, 31, 0.25);
}

* { box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5vw;
}

header {
  height: 96px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.wordmark span { color: var(--accent); }

header p,
footer p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact {
  padding: 9vh 4.5vw 7vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1 {
  margin: 5vh 0 8vh;
  font-size: clamp(76px, 13.5vw, 210px);
  line-height: 0.78;
  letter-spacing: -0.082em;
  font-weight: 800;
}

h1 em { color: var(--accent); font-style: normal; }

.contact-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
}

.contact-row > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #526059;
}

.contact-row > a {
  width: max-content;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}

.contact-row > a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.contact-row > a:hover span { transform: translate(5px, -5px); }

footer {
  min-height: 82px;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  header,
  footer { padding-left: 22px; padding-right: 22px; }
  header { height: 76px; }
  header p { display: none; }
  .contact { padding: 9vh 22px 6vh; }
  h1 { margin: 7vh 0 12vh; font-size: clamp(72px, 24vw, 118px); }
  .contact-row { display: block; }
  .contact-row > p { margin-bottom: 28px; }
  .contact-row > a { font-size: 22px; }
  footer { min-height: 76px; }
  footer p { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-row > a span { transition: none; }
}
