@font-face {
  font-family: 'DM Sans';
  src: url('/assets/sans.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}

:root {
  color-scheme: dark;
  --navy: #081222;
  --peach: #ffc297;
  --amber: #efaa60;
  --body: #eac5ac;
  --muted: #a9a7a5;
  --rule: #29313e;
}

* { box-sizing: border-box; }
html { background: var(--navy); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--peach);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  max-width: 1680px;
  margin: auto;
  padding: 35px 5.2vw 25px;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--rule);
  animation: arrive 900ms ease both;
}
.brand {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.edition {
  color: var(--amber);
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
}

main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  padding: 60px 0 70px;
}
.identity {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  animation: unveil 1.5s ease both;
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
}
.message {
  min-width: 0;
  padding-bottom: 8px;
  animation: arrive 1.2s .16s ease both;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
h1 span { color: var(--amber); }
.message p {
  max-width: 31em;
  margin: 32px 0 0;
  color: var(--body);
  font: 400 clamp(1.125rem, 1.4vw, 1.375rem)/1.55 Georgia, 'Times New Roman', serif;
  text-wrap: pretty;
}

footer {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  letter-spacing: .02em;
  animation: arrive 1s .3s ease both;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes unveil {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .page { padding: 25px 30px 22px; }
  main { gap: 28px; }
  h1 { font-size: clamp(2.6rem, 6.4vw, 4rem); }
  .message p { font-size: 1.125rem; margin-top: 25px; }
}
@media (max-width: 640px) {
  .page { padding: 23px 24px 22px; }
  .masthead { gap: 16px; padding-bottom: 22px; }
  .brand { font-size: .75rem; letter-spacing: .13em; }
  .edition { font-size: .75rem; letter-spacing: .08em; white-space: nowrap; }
  main { grid-template-columns: minmax(0, 1fr); gap: 21px; padding: 38px 0 48px; }
  .hero-logo { width: min(76vw, 300px); }
  .message { padding-bottom: 0; }
  h1 { font-size: clamp(2.75rem, 12vw, 4.5rem); }
  .message p { margin-top: 24px; font-size: 1.125rem; line-height: 1.55; }
  footer { padding-top: 20px; }
}
@media (max-width: 360px) {
  .page { padding-inline: 20px; }
  .brand { max-width: 13em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
