:root {
  --ink: #000;
  --paper: #f4f2ee;
  --muted: rgba(244, 242, 238, 0.52);
  --hair: rgba(244, 242, 238, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

a { color: inherit; text-decoration: none; transition: color 0.4s var(--ease); }
a:hover, a:focus-visible { color: var(--paper); }
a:focus-visible { outline: 1px solid var(--hair); outline-offset: 6px; }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12vh 8vw 6vh;
}

.mark { margin: 0; line-height: 0; width: min(72vw, 560px); }
.mark img { display: block; width: 100%; height: auto; }

.tagline,
.status,
.foot {
  text-transform: uppercase;
  letter-spacing: 0.42em;
  /* letter-spacing adds trailing space after the last glyph; pull it back so text stays optically centred */
  margin-right: -0.42em;
}

.tagline {
  margin-top: clamp(2.25rem, 6vh, 3.5rem);
  margin-bottom: 0;
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  color: var(--muted);
}
.tagline:has(i) { display: flex; justify-content: center; align-items: baseline; gap: 1.1em; margin-right: 0; }
.tagline span { margin-right: -0.42em; } /* cancel trailing letter-spacing so gaps are symmetric */
.tagline i { font-style: normal; letter-spacing: 0; }
.tagline a:hover { color: var(--paper); }

.rule {
  display: block;
  width: 1px;
  height: clamp(2.5rem, 8vh, 4.5rem);
  margin: clamp(1.75rem, 4vh, 2.5rem) 0;
  background: var(--hair);
}

.status {
  margin: 0;
  font-size: clamp(0.6rem, 1.3vw, 0.68rem);
  color: var(--paper);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem 2rem;
  margin-right: 0;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.foot nav { display: flex; gap: 2rem; }

/* Quiet entrance */
@media (prefers-reduced-motion: no-preference) {
  .mark, .tagline, .rule, .status, .foot { opacity: 0; animation: rise 1.6s var(--ease) forwards; }
  .mark    { animation-delay: 0.15s; }
  .tagline { animation-delay: 0.65s; }
  .rule    { animation: grow 1.4s var(--ease) 0.95s forwards; transform-origin: top; }
  .status  { animation-delay: 1.35s; }
  .foot    { animation-delay: 1.7s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }

@media (max-width: 560px) {
  .foot { justify-content: center; text-align: center; }
}
