@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #102444;
  --foreground: #e6eefb;
  --muted: #9badca;
  --accent: #779fe8;
  --rule: #2a4164;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  min-width: 280px;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--background);
  background: var(--foreground);
}

.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 40px 56px 28px;
}

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

.domain {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.055em;
}

.edition {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding-block: 60px 80px;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: arrive 1100ms ease-out both;
}

.wordmark {
  margin: 0;
  padding-right: 0.08em;
  font-family: var(--font-serif);
  font-size: clamp(144px, 20vw, 280px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
}

.full-stop { color: var(--accent); }

.announcement {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.footer {
  gap: 20px;
  min-height: 57px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.copyright {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  color: var(--foreground);
  text-decoration: none;
  text-underline-offset: 5px;
}

.contact-arrow { transition: transform 200ms ease; }

.contact:hover { text-decoration: underline; }
.contact:hover .contact-arrow { transform: translate(2px, -2px); }

.contact:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 6px;
  border-radius: 1px;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1800px) {
  .page { padding-inline: 80px; }
}

@media (max-width: 600px) {
  .page { padding: 28px 24px 16px; }
  .edition { font-size: 11px; }
  .hero { min-height: 360px; padding-block: 40px 64px; }
  .wordmark { font-size: clamp(136px, 37vw, 210px); }
  .announcement { margin-top: 30px; }
  .contact { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .identity { animation: none; }
  .contact-arrow { transition: none; }
}
