:root {
  --cream: #fafaf7;
  --green: #2f4a3c;
  --ink: #1c241f;
  --muted: #6b746e;
  --amber: #e8b45a;
  --amber-soft: #f6e8cc;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Figtree", "Source Sans 3", "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--cream);
  color: var(--green);
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem 2.5rem;
}

.stage {
  width: min(36rem, 100%);
  text-align: center;
}

.mark {
  position: relative;
  width: 10.5rem;
  height: 10.5rem;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  animation: breathe 5.6s ease-in-out infinite;
  will-change: transform;
}

.ring,
.wave {
  display: block;
  overflow: visible;
}

.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wave {
  position: relative;
  width: 62%;
  height: auto;
  transform: translateY(0.12rem);
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 7vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green);
}

.eyebrow {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.teaser {
  margin: 2.4rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2.05rem, 8.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--green);
  text-wrap: balance;
}

.hint {
  margin: 1.05rem auto 0;
  max-width: 28rem;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 3.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: balance;
}

.motto {
  margin: 2.75rem auto 0;
  padding-top: 1.35rem;
  max-width: 20rem;
  border-top: 1px solid var(--amber-soft);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.motto span {
  display: block;
}

.foot {
  padding: 0 1.5rem 1.6rem;
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

@media (min-width: 700px) {
  .page {
    padding: 5rem 2rem 2.75rem;
  }

  .mark {
    width: 12.25rem;
    height: 12.25rem;
    margin-bottom: 1.85rem;
  }

  .motto {
    margin-top: 3.1rem;
    font-size: 1.02rem;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

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