:root {
  --ink: #172f2d;
  --paper: #f6f2e9;
  --sun: #f2c84b;
  --pomegranate: #a63c32;
  --moss: #6e8668;
  --line: rgba(23, 47, 45, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px 4.5vw;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--pomegranate);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  height: 36px;
  justify-content: center;
  text-transform: none;
  width: 36px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
}

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

.hero {
  color: var(--paper);
  min-height: 670px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(14, 31, 29, 0.73) 0%, rgba(14, 31, 29, 0.37) 43%, rgba(14, 31, 29, 0.04) 75%);
}

.hero-content {
  max-width: 680px;
  padding: 122px 4.5vw 80px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(36px, 5vw, 62px);
  margin-bottom: 0;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

.text-link,
.dialog-action {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  margin-top: 26px;
  padding: 0 0 7px;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-caption {
  bottom: 28px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  margin: 0;
  position: absolute;
  right: 4.5vw;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 1;
}

.introduction,
.roots {
  display: grid;
  gap: 8vw;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 4fr);
  padding: 130px 9vw;
}

.section-label {
  color: var(--pomegranate);
  margin: 8px 0 0;
}

.introduction > div {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.35fr 0.65fr;
}

.introduction p:not(.section-label),
.roots-copy p {
  font-size: 17px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 400px;
}

.roots {
  background: var(--moss);
  color: var(--paper);
}

.roots .section-label {
  color: var(--sun);
}

.roots-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.35fr 0.65fr;
}

.dark-link:hover,
.dark-link:focus-visible {
  color: var(--sun);
}

footer {
  display: flex;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  justify-content: space-between;
  padding: 24px 4.5vw;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

.announcement {
  background: var(--paper);
  border: 0;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  max-width: min(500px, calc(100vw - 32px));
  overflow: visible;
  padding: 58px 48px 48px;
  text-align: center;
}

.announcement::backdrop {
  background: rgba(10, 30, 29, 0.65);
  backdrop-filter: blur(3px);
}

.announcement .eyebrow {
  color: var(--pomegranate);
}

.announcement h2 {
  font-size: clamp(42px, 7vw, 64px);
  margin-bottom: 20px;
}

.announcement p:not(.eyebrow) {
  line-height: 1.7;
  margin-bottom: 0;
}

.dialog-symbol {
  align-items: center;
  background: var(--sun);
  border-radius: 50%;
  display: flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  height: 42px;
  justify-content: center;
  left: calc(50% - 21px);
  position: absolute;
  top: -21px;
  width: 42px;
}

.dialog-close {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  padding: 8px;
  position: absolute;
  right: 12px;
  top: 10px;
}

.dialog-action {
  color: var(--pomegranate);
}

@media (max-width: 700px) {
  .site-header {
    padding: 16px 20px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 9px;
  }

  nav a:nth-child(1),
  nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 630px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(14, 31, 29, 0.7) 0%, rgba(14, 31, 29, 0.28) 100%);
  }

  .hero-content {
    padding: 160px 24px 76px;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 390px;
  }

  .hero-caption {
    bottom: 20px;
    right: 20px;
  }

  .introduction,
  .roots {
    display: block;
    padding: 72px 24px;
  }

  .section-label {
    margin-bottom: 32px;
  }

  .introduction > div,
  .roots-grid {
    display: block;
  }

  .introduction p:not(.section-label),
  .roots-copy p {
    margin-top: 30px;
  }

  footer {
    display: block;
    line-height: 1.6;
    padding: 22px 24px;
  }

  footer p + p {
    margin-top: 8px;
  }

  .announcement {
    padding: 54px 30px 34px;
  }
}
