:root {
  --bg: #f5f5f3;
  --text: #111111;
  --muted: #6b6b6b;
  --border: #cfcfc8;
  --button-bg: #efefea;
  --button-bg-hover: #e6e6e0;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fade-in 700ms ease-out both;
}

.landing {
  width: min(92vw, 900px);
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  padding: 10px 16px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.topline {
  margin: 0;
  font-size: clamp(1.55rem, 3.7vw, 2.75rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 0.92;
}

.emblem {
  margin-top: -48px;
  margin-bottom: -48px;
}

.wreath {
  width: clamp(360px, 54vw, 700px);
  height: auto;
}

.brand {
  margin: 0;
  font-size: clamp(3rem, 9.2vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}

.subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.65rem, 4.6vw, 2.25rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.supporting {
  margin: 22px 0 0;
  max-width: 700px;
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
  line-height: 1.8;
  color: var(--muted);
  font-family: "Times New Roman", Times, serif;
}

.subscribe {
  margin-top: 38px;
  width: min(100%, 680px);
}

.subscribe-copy {
  margin: 0 0 24px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Times New Roman", Times, serif;
  color: #333333;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.subscribe-form input,
.subscribe-form button {
  height: 56px;
  border-radius: 0;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subscribe-form input {
  padding: 0 18px;
  border-right: none;
  background: #f9f9f6;
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  text-transform: none;
  letter-spacing: 0.02em;
}

.subscribe-form input::placeholder {
  color: #8d8d85;
}

.subscribe-form input:focus-visible,
.subscribe-form button:focus-visible {
  outline: 2px solid #7a7a72;
  outline-offset: 2px;
}

.subscribe-form button {
  min-width: 190px;
  padding: 0 28px;
  background: var(--button-bg);
  color: var(--text);
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
  font-family: "Times New Roman", Times, serif;
  font-weight: 500;
}

.subscribe-form button:hover {
  background: var(--button-bg-hover);
}

.excavation {
  position: fixed;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(26px, 4vw, 42px);
  opacity: 0.82;
}

.excavation img {
  width: clamp(100px, 12vw, 160px);
  height: auto;
  display: block;
}

.footer-note {
  width: 100%;
  text-align: center;
  padding: 8px 16px 22px;
  color: #787878;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-family: "Times New Roman", Times, serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 768px) {
  .landing {
    padding-top: 10px;
    min-height: calc(100vh - 84px);
  }

  .emblem {
    margin-top: -34px;
    margin-bottom: -34px;
  }

  .brand {
    margin-top: 0;
    letter-spacing: 0.08em;
  }

  .subtitle {
    margin-top: 16px;
  }

  .supporting {
    margin-top: 20px;
    line-height: 1.65;
  }

  .subscribe {
    margin-top: 32px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .subscribe-form input {
    border-right: 1px solid var(--border);
  }

  .subscribe-form button {
    width: 100%;
  }

  .excavation {
    right: 12px;
    bottom: 18px;
  }
}
