:root {
  --ink: #071827;
  --ink-light: #0c263c;
  --silver: #cbd3d8;
  --paper: #f4f7f8;
  --blue: #72abc9;
  --line: rgb(203 211 216 / 22%);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 77% 42%, rgb(114 171 201 / 10%), transparent 28rem),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%);
  content: "";
  pointer-events: none;
}

.site-header,
main,
footer {
  width: min(100% - 3rem, 90rem);
  margin-inline: auto;
}

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

.identity {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.identity img {
  width: 2.2rem;
  height: auto;
}

.identity:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 0.5rem;
}

.edition,
.eyebrow,
footer {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.edition {
  margin: 0;
  color: var(--silver);
}

.introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  min-height: min(47rem, calc(100vh - 6.5rem));
  border-bottom: 1px solid var(--line);
}

.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 0;
  border-right: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0 0 2rem;
  color: var(--blue);
}

.eyebrow::before {
  width: 3rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 10.25rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.statement {
  max-width: 28rem;
  margin: 3.5rem 0 0;
  color: var(--silver);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
  font-style: italic;
  line-height: 1.18;
}

.emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4rem 2rem 3rem;
}

.emblem-frame {
  position: relative;
  display: grid;
  width: min(78%, 24rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.emblem-frame::before,
.emblem-frame::after {
  position: absolute;
  content: "";
}

.emblem-frame::before {
  inset: 1.15rem;
  border: 1px solid var(--line);
  border-radius: inherit;
}

.emblem-frame::after {
  top: 50%;
  right: -3.5rem;
  left: -3.5rem;
  height: 1px;
  z-index: -1;
  background: var(--line);
}

.emblem img {
  width: 72%;
  height: auto;
  transform: translateY(-0.15rem);
  filter: drop-shadow(0 1.5rem 2rem rgb(0 0 0 / 18%));
}

.future {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(18rem, 1.25fr);
  gap: 4rem;
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}

.future h2 {
  max-width: 22rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.future p {
  max-width: 42rem;
  margin: 0;
  color: var(--silver);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  padding-block: 2rem 3rem;
  color: var(--silver);
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  body::before {
    display: none;
  }

  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 42rem);
  }

  .site-header {
    min-height: 5.25rem;
  }

  .edition {
    max-width: 9rem;
    text-align: right;
  }

  .introduction {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .copy {
    padding: 5rem 0 3.5rem;
    border-right: 0;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 7rem);
  }

  .statement {
    margin-top: 2.5rem;
  }

  .emblem {
    padding: 1rem 1rem 4.5rem;
  }

  .emblem-frame {
    width: min(78vw, 22rem);
  }

  .future {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4.5rem 0;
  }

  footer {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .copy > *,
  .emblem-frame {
    animation: enter 700ms both;
  }

  .copy > :nth-child(2) {
    animation-delay: 90ms;
  }

  .copy > :nth-child(3),
  .emblem-frame {
    animation-delay: 180ms;
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

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