:root {
  --paper: #f7f3ed;
  --ink: #171615;
  --melon: #ff755d;
  --white: #ffffff;
  --muted: #625d57;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --content: 74rem;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--ink);
}

.site-header,
.role,
.contact,
.site-footer {
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-dot {
  width: 1rem;
  height: 1rem;
  background: var(--melon);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.header-link {
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.hero {
  background: var(--melon);
  border-bottom: 1px solid var(--ink);
}

.hero-inner {
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(5rem, 12vh, 8rem) var(--gutter);
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 2rem;
  font-size: clamp(3rem, 7vw, 5.75rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: transparent;
}

.button:hover,
.button:active {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.role {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(5rem, 10vw, 8rem);
  border-bottom: 1px solid var(--ink);
}

.role > p {
  max-width: 34rem;
  margin: 2.25rem 0 0;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
}

.contact {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.site-footer {
  min-height: 8rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid var(--ink);
  font-size: 0.875rem;
}

.not-found main {
  min-height: 100vh;
  padding: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found .wordmark {
  margin-bottom: 5rem;
}

@media (max-width: 48rem) {
  .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .actions .button {
    width: 100%;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .role > p {
    margin-top: 0;
  }
}

@media (max-width: 22.5rem) {
  h1 {
    font-size: 2.45rem;
  }
}

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