:root {
  color-scheme: light;
  --paper: #f7f7f3;
  --ink: #1f2a24;
  --muted: #66716a;
  --line: #d9ded7;
  --green: #275844;
  --green-dark: #1c4032;
  --red: #bd563d;
  --white: #fff;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.wordmark-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
}

.header-note {
  color: var(--muted);
  font-size: 12px;
}

main {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.intro {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
  padding-block: 64px 75px;
}

.intro-copy {
  max-width: 500px;
  padding-block: 8px;
  animation: arrive 700ms ease-out both;
}

h1 {
  max-width: 540px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(55px, 6.5vw, 84px);
  font-weight: 400;
  line-height: 0.98;
}

h1 em {
  color: var(--green);
  font-weight: 400;
}

.signup {
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.signup-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 21px;
}

.signup-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
}

.signup-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.signup-form label {
  color: #4e5a52;
  font-size: 12px;
  font-weight: 600;
}

.signup-form label span {
  color: #879089;
  font-weight: 400;
}

.signup-form label .required-mark {
  color: var(--red);
  font-weight: 700;
}

.signup-form input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #cbd2ca;
  border-radius: 2px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.signup-form input::placeholder {
  color: #9aa29c;
}

.signup-form input:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(39 88 68 / 13%);
}

.mailchimp-honeypot {
  position: absolute;
  left: -5000px;
}

.facebook-invite {
  margin-top: 25px;
  padding: 22px 24px 24px;
  border-left: 3px solid var(--red);
  background: #e9eee8;
}

.facebook-kicker {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.facebook-invite h2 {
  margin: 10px 0 5px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.facebook-description {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.facebook-invite a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.facebook-invite a:hover {
  color: var(--green-dark);
}

.facebook-invite a:focus-visible {
  outline: 3px solid rgb(39 88 68 / 30%);
  outline-offset: 3px;
}

.signup-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 4px;
}

.signup-form button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 15px;
  border: 0;
  border-radius: 2px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.signup-form button:hover {
  background: var(--green-dark);
}

.signup-form button:focus-visible {
  outline: 3px solid rgb(39 88 68 / 30%);
  outline-offset: 3px;
}

.signup-form button span {
  font-size: 18px;
}

.feature-image {
  position: relative;
  height: min(660px, 67vw);
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  background: #d7ded7;
  animation: arrive 850ms 100ms ease-out both;
}

.feature-image::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgb(14 27 21 / 52%));
  content: "";
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.feature-image figcaption {
  position: absolute;
  z-index: 1;
  right: 23px;
  bottom: 21px;
  left: 23px;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.site-footer span:first-child {
  color: var(--green);
  font-weight: 700;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 48px, 680px);
  }

  .intro {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px 54px;
  }

  .intro-copy {
    max-width: 620px;
  }

  .feature-image {
    height: min(600px, 90vw);
    min-height: 390px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: calc(100% - 36px);
  }

  .site-header {
    min-height: 70px;
  }

  .wordmark {
    gap: 8px;
    font-size: 12px;
  }

  .wordmark-mark {
    width: 28px;
    height: 28px;
  }

  .header-note {
    max-width: 104px;
    text-align: right;
    font-size: 10px;
  }

  .intro {
    gap: 32px;
    padding-block: 42px 38px;
  }

  h1 {
    font-size: clamp(53px, 16vw, 72px);
  }

  .lede {
    margin-top: 18px;
    font-size: 14px;
  }

  .letter-topics {
    margin-block: 23px 28px;
  }

  .signup-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .signup-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .signup-form label:not(:first-child) {
    margin-top: 4px;
  }

  .signup-submit-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    margin-top: 7px;
  }

  .feature-image {
    height: 112vw;
    min-height: 360px;
    max-height: 520px;
  }

  .site-footer {
    min-height: 68px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}