*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  background: #fafafa;
  color: #111;
  font-family: system-ui, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.page {
  text-align: center;
  padding: 2rem;
  width: min(36rem, 100%);
}

.name {
  margin: 0 0 2.5rem;
  color: #6a6a6a;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.quote {
  margin: 0;
  color: #111;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

.email {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #0b57d0;
  font-size: 1.125rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

body.is-open .email {
  display: none;
}

.pitch {
  margin-top: 2rem;
  text-align: left;
}

.pitch[hidden] {
  display: none;
}

.pitch p {
  margin: 0 0 1.05rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.pitch label {
  display: block;
  margin: 1.6rem 0 0.4rem;
  color: #6a6a6a;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pitch textarea {
  display: block;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.55rem 0 0.7rem;
  border: 0;
  border-bottom: 1px solid #111;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  resize: none;
}

.pitch textarea:focus {
  outline: none;
  border-bottom-color: #0b57d0;
}

.send {
  margin-top: 1.15rem;
  padding: 0;
  border: 0;
  background: none;
  color: #0b57d0;
  font: inherit;
  font-size: 1.125rem;
  cursor: pointer;
}

.send:hover,
.send:focus-visible {
  text-decoration: underline;
}

.email:hover,
.email:focus-visible {
  text-decoration: underline;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2rem;
  margin-top: 2.75rem;
}

@media (max-width: 520px) {
  .icons {
    max-width: 12.5rem;
    gap: 1.5rem;
    margin-inline: auto;
  }
}

.icons a {
  display: flex;
  color: #111;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.icons a:hover,
.icons a:focus-visible {
  opacity: 0.5;
}

.icons svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.icons a:focus-visible,
.email:focus-visible,
.send:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}
