:root {
  --ink: #18343d;
  --muted: #5b6b70;
  --teal: #167987;
  --teal-pale: #e9f3f2;
  --paper: #fdfdfb;
  --rule: #d9e1df;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .container {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.brand:hover {
  color: var(--teal);
}

.essay {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
}

.hero {
  padding: clamp(80px, 15vw, 170px) 0 clamp(72px, 12vw, 132px);
}

.hero-title {
  position: relative;
}

.hero-mark {
  position: absolute;
  right: calc(100% + 20px);
  top: 50%;
  width: auto;
  height: clamp(7.04rem, 18.48vw, 12.5rem);
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}

.kicker {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4rem, 10.5vw, 8.5rem);
  line-height: 0.88;
}

.hero-summary {
  max-width: 34ch;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.essay-section {
  padding: clamp(66px, 9vw, 110px) 0;
}

.essay-section + .essay-section {
  border-top: 1px solid var(--rule);
}

.essay-section h2 {
  max-width: 12ch;
  margin: 0 0 34px;
  font-size: clamp(2.3rem, 5.3vw, 4rem);
  line-height: 0.98;
}

.essay-section p {
  max-width: 60ch;
  margin: 0 0 1.55em;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.essay-section p:last-child {
  margin-bottom: 0;
}

.statement {
  padding: clamp(86px, 13vw, 150px) 0;
  text-align: center;
}

.statement p {
  max-width: 19ch;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.statement em {
  color: var(--teal);
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 30px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .brand {
  font-size: 0.8125rem;
}

.site-footer .brand img {
  width: 24px;
  height: 24px;
}

.site-footer small {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Error page */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 72px 24px;
  text-align: center;
}

.error-main .code {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 0.85;
}

.error-main h1 {
  max-width: none;
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.error-main p:not(.code) {
  max-width: 36ch;
  margin: 0 auto 28px;
  color: var(--muted);
}

.button {
  display: inline-block;
  border-bottom: 1px solid var(--teal);
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 700;
  padding-bottom: 3px;
  text-decoration: none;
}

.button:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 640px) {
  .container,
  .essay {
    width: min(100% - 40px, 720px);
  }

  .site-header .container {
    min-height: 64px;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .hero-summary {
    margin-top: 32px;
  }

  .hero-title {
    padding-top: 76px;
  }

  .hero-mark {
    left: 0;
    right: auto;
    top: 0;
    width: auto;
    height: 60px;
    transform: none;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}
