:root {
  color-scheme: light;
  --ivory: #f4f1ea;
  --charcoal: #222420;
  --body-ink: #4a4b43;
  --gold: #a68b5c;
  --rule: #d7cbb6;
  --serif: 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 96rem;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  text-align: center;
}

.masthead {
  padding-block: clamp(1.65rem, 5vh, 3rem);
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-block;
  padding-inline-start: .27em;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1;
  letter-spacing: .27em;
}

main {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: clamp(2.15rem, 6vh, 4.5rem);
  padding-block: clamp(3.5rem, 9vh, 8rem);
}

main p { margin: 0; }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8.45vw, 6.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
}

h1 > * { display: block; }

h1 em { font-weight: inherit; }

.mission {
  max-width: 35rem;
  margin: clamp(1.45rem, 4vh, 2.25rem) auto 0;
  color: var(--body-ink);
  font-size: clamp(1rem, 1.55vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.closing::before {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto clamp(1.15rem, 3vh, 1.6rem);
  background: var(--gold);
  content: '';
}

.principles {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.3;
  text-wrap: balance;
}

.signoff {
  margin-top: .6rem;
  color: var(--body-ink);
  font-size: .9375rem;
  line-height: 1.55;
}

.signoff span { white-space: nowrap; }

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(1rem, 3vh, 1.7rem);
  color: var(--body-ink);
}

.site-footer small {
  font-size: .75rem;
  letter-spacing: .045em;
}

a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .statement, .closing { animation: enter 500ms ease-out both; }
  .closing { animation-delay: 80ms; }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(5px); }
}
