:root {
  color-scheme: light;
  --ink: #171713;
  --paper: #f2efe8;
  --signal: #d84a2f;
  --line: rgba(23, 23, 19, 0.18);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Helvetica Neue", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 74, 47, 0.09), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100% - 48px, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 0 24px;
  display: flex;
  flex-direction: column;
}

.masthead,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark__number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.wordmark__name {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.wordmark__name span {
  color: var(--signal);
}

.edition {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 12vh, 150px) 0 clamp(44px, 8vh, 92px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.36em;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.5rem, 20vw, 19rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

h1 span {
  display: block;
}

.hero__accent {
  margin-left: clamp(1rem, 12vw, 12rem);
  color: var(--signal);
  font-style: italic;
}

.hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 8vh, 90px);
}

.hero__footer p {
  max-width: 28em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  letter-spacing: 0.08em;
}

.status {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(216, 74, 47, 0.45);
  animation: pulse 2.4s infinite;
}

.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
}

.site-footer p {
  margin: 0;
}

.site-shell--center {
  align-items: flex-start;
  justify-content: center;
}

.not-found {
  max-width: 9em;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.back-link {
  margin-top: 44px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(216, 74, 47, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(216, 74, 47, 0);
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 32px, 1440px);
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(4.4rem, 26vw, 8rem);
    line-height: 0.86;
  }

  .hero__accent {
    margin-left: 0.5rem;
  }

  .hero__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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