:root {
  color-scheme: light;
  --ink: #302820;
  --muted: #74685d;
  --paper: #f4efe5;
  --paper-light: #fffdf8;
  --copper: #7b3926;
  --gold: #a17d43;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 15%, rgba(161, 125, 67, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 90%, rgba(123, 57, 38, 0.10), transparent 30rem),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.card {
  width: min(100%, 66rem);
  display: grid;
  grid-template-columns: minmax(17rem, 0.9fr) minmax(18rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 6vw, 5.5rem);
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(123, 57, 38, 0.20);
  box-shadow: 0 1.5rem 5rem rgba(48, 40, 32, 0.12);
  backdrop-filter: blur(8px);
}

.crest-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.crest-wrap::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(161, 125, 67, 0.32);
  border-radius: 50%;
}

.crest {
  position: relative;
  display: block;
  width: min(100%, 25rem);
  height: auto;
  filter: drop-shadow(0 1rem 1.2rem rgba(48, 40, 32, 0.16));
}

.content {
  max-width: 29rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--copper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7.5vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: clamp(2rem, 5vw, 3.4rem) 0 1.6rem;
  color: var(--gold);
  font-size: 0.58rem;
}

.rule::before,
.rule::after {
  content: "";
  width: 4.5rem;
  height: 1px;
  background: currentColor;
}

.lead {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.motto {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
}

footer {
  padding-top: 1.5rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .page {
    padding: 1rem;
  }

  .card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
  }

  .crest {
    width: min(82vw, 19rem);
  }

  .content {
    margin-inline: auto;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .rule {
    justify-content: center;
  }

  .motto {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: appear 700ms ease-out both;
  }

  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(0.7rem);
    }
  }
}
