:root {
  --cream: #f9f2ea;
  --red: #8b0000;
  --taupe: #c4b5a8;
  --gold: #b8954a;
  --ink: #1a1714;
  --muted: #6b5e58;
  --white: #fffaf4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.48;
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  color: var(--white);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  mix-blend-mode: difference;
}

.hero {
  min-height: 96vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.1) brightness(.78);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 23, 20, .92) 0%, rgba(26, 23, 20, .55) 45%, rgba(26, 23, 20, .16) 100%);
}

.hero__content {
  position: relative;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 58px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.label {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(68px, 14vw, 174px);
  line-height: .82;
  letter-spacing: 0;
}

h1 span {
  color: var(--white);
  font-weight: 800;
}

h1 em {
  color: var(--red);
  font-style: italic;
}

.subtitle {
  margin: 22px 0 10px;
  max-width: 760px;
  font-size: clamp(27px, 4vw, 50px);
  line-height: 1.02;
}

.intro {
  max-width: 700px;
  color: #eadfd4;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  padding: 11px 16px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.button--ghost {
  border-color: var(--taupe);
  background: transparent;
}

.section,
.split,
.testimonials,
.materials,
.project {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: end;
}

h2 {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.08;
}

.notice,
.terms,
blockquote {
  border: 1px solid var(--taupe);
  background: #fff8ef;
  padding: 22px;
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--taupe);
  border-top: 1px solid var(--taupe);
  border-bottom: 1px solid var(--taupe);
}

.cards article {
  background: var(--cream);
  padding: 22px;
  min-height: 610px;
}

.cards img,
.materials img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  display: block;
  margin-bottom: 26px;
  filter: saturate(.78) contrast(1.06);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
}

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

.terms .label {
  color: var(--taupe);
}

.terms ul {
  margin: 0;
  padding-left: 20px;
}

.terms li + li {
  margin-top: 12px;
}

.testimonials {
  border-top: 8px solid var(--red);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin: 0 0 20px;
  font-size: 25px;
  line-height: 1.08;
}

cite {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
}

.materials {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--taupe);
}

.materials img {
  height: 430px;
  margin: 0;
}

.project {
  color: var(--white);
  background: var(--ink);
  width: 100%;
  padding-left: max(20px, calc((100vw - 1120px) / 2));
  padding-right: max(20px, calc((100vw - 1120px) / 2));
}

.project .label {
  color: var(--taupe);
}

.project p {
  max-width: 860px;
}

.fineprint {
  margin-top: 26px;
  color: var(--taupe);
  font-family: "Courier New", monospace;
  font-size: 13px;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  background: var(--red);
  color: var(--white);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .topbar {
    position: absolute;
    font-size: 11px;
  }

  .hero {
    min-height: 92vh;
  }

  .section,
  .split,
  .materials,
  .quotes {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cards article {
    min-height: auto;
  }

  .materials img {
    height: 300px;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
