:root {
  --mc-ink: #163050;
  --mc-bone: #F4F1EA;
  --mc-ochre: #B8893A;
  --mc-rule: #D9D4C7;

  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --tracking-caps: 0.08em;
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--mc-bone);
  color: var(--mc-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--mc-ink);
  color: var(--mc-bone);
  font-family: var(--font-serif);
  z-index: 100;
}

.stage {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  container-type: inline-size;
  container-name: stage;
  animation: fade-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wordmark {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--mc-ink);
  letter-spacing: var(--tracking-caps);
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  font-feature-settings: "liga" 1, "kern" 1;
  font-size: clamp(1.25rem, 5.5cqi, 6rem);
}

.wordmark .word {
  text-transform: uppercase;
}

.wordmark .amp {
  display: inline-block;
  color: var(--mc-ochre);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.13em;
  padding: 0 0.18em;
  transform: translateY(0.02em);
}

@container stage (max-width: 720px) {
  .wordmark {
    white-space: normal;
    line-height: 1.15;
    font-size: clamp(1.5rem, 11cqi, 3rem);
  }
  .wordmark .word,
  .wordmark .amp {
    display: block;
  }
  .wordmark .amp {
    padding: 0.05em 0 0.1em;
    transform: none;
  }
  .wordmark .amp::after {
    content: "";
    display: block;
    width: 1.5em;
    margin: 0.15em auto 0;
    border-top: 1px solid var(--mc-rule);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage { animation: none; }
}
