:root {
  color-scheme: light;
  --red: #c40000;
  --graphite: #3a3a3a;
  --ink: #191919;
  --muted: #606060;
  --paper: #f6f6f4;
  --white: #ffffff;
  --line: #dedede;
  --shadow: 0 18px 45px rgb(25 25 25 / 12%);
}

* {
  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.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px 7vw;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(270px, 64vw);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px 7vw 116px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 88%) 54%, rgb(246 246 244 / 70%) 100%),
    linear-gradient(135deg, var(--white) 0%, var(--paper) 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  background: var(--red);
}

.hero::before {
  top: 0;
  left: 0;
  width: min(340px, 42vw);
  height: 12px;
}

.hero::after {
  right: 0;
  bottom: 0;
  width: min(520px, 56vw);
  height: 12px;
}

.hero-mark {
  position: absolute;
  right: max(7vw, 28px);
  bottom: 38px;
  width: min(320px, 40vw);
  height: auto;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--graphite);
  line-height: 1.1;
}

h1 {
  max-width: 720px;
  font-size: 58px;
}

h2 {
  font-size: 34px;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 21px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.button:hover,
.button:focus-visible {
  background: #a90000;
}

.section {
  padding: 72px 7vw;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 48px;
  align-items: start;
}

.intro {
  background: var(--white);
}

.intro p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--white);
}

.contact h2,
.contact address a {
  color: var(--white);
}

.contact p {
  color: #e7e7e7;
}

.contact-mark {
  position: absolute;
  right: 7vw;
  top: 50%;
  width: min(250px, 44vw);
  height: auto;
  opacity: 0.18;
  transform: translateY(-50%);
}

address {
  position: relative;
  display: grid;
  gap: 14px;
  font-style: normal;
}

address a {
  width: fit-content;
  font-size: 20px;
  font-weight: 700;
  text-decoration-color: var(--red);
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 7vw;
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 760px) {
  .site-header,
  .intro,
  .contact,
  .site-footer {
    align-items: flex-start;
  }

  .site-header {
    position: static;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 68vh;
    padding: 72px 6vw 92px;
  }

  .hero-mark {
    right: 6vw;
    width: min(210px, 52vw);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero p:not(.eyebrow),
  .intro p,
  .contact p {
    font-size: 17px;
  }

  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 6vw;
  }
}
