:root {
  --red: #ca1e17;
  --white: #fff;
  --ink: #111;
  --font: "Ubuntu", Helvetica, Arial, sans-serif;
}

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

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
}

a { color: inherit; }

.header {
  display: flex;
  justify-content: center;
  background: var(--white);
  padding: 20px 40px;
}

.logo { display: block; height: 90px; width: auto; }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 64px 20px;
  text-align: center;
}

.title {
  margin: 0;
  max-width: 70%;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 34em;
  font-size: 24px;
  line-height: 1.2;
}

.lede a { font-style: italic; text-underline-offset: 3px; }

.contact {
  width: min(95%, 640px);
  padding: 48px 40px;
  background: rgb(255 255 255 / 5%);
}

.contact h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 2;
}

.contact-list a { text-underline-offset: 3px; }

.social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform 160ms ease-out;
}

.social a:hover { transform: translateY(-2px); }
.social a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  .social a { transition: none; }
}

@media (max-width: 991px) {
  .title { max-width: 90%; }
}

@media (max-width: 479px) {
  .header { padding: 16px 20px; }
  .logo { height: 64px; }
  .hero { gap: 32px; padding: 40px 16px; }
  .title { max-width: 100%; font-size: 34px; line-height: 1.25; }
  .lede { font-size: 20px; }
  .lede br { display: none; }
  .contact { width: 100%; padding: 32px 20px; }
  .contact-list { font-size: 15px; overflow-wrap: anywhere; }
}
