:root {
  color-scheme: light;
  --paper: #fafaf8;
  --ink: #24262a;
  --muted: #70716d;
  --blue: #0044ca;
  --red: #ea1f27;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--paper); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 7px; border-radius: 2px; }
[hidden] { display: none !important; }

#assembly { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }
main { display: grid; place-items: center; padding: 8px 24px 40px; }
.identity { text-align: center; }
.logo-stage { width: min(420px, 45vw, 46svh); aspect-ratio: 1; margin: 0 auto; }
.logo-fallback { width: 100%; height: 100%; display: block; object-fit: contain; }
.announcement { margin-top: -7px; }
.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 550; letter-spacing: 3.2px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(52px, 7.4vw, 102px); line-height: 1.09; font-weight: 450; letter-spacing: -.065em; }

.footer { display: flex; align-items: center; justify-content: space-between; padding: 26px 40px 29px; gap: 22px; min-height: 78px; }
.contact { display: inline-flex; gap: 13px; align-items: center; font-size: 12px; }
.contact svg { fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .2s ease; }
.contact:hover svg { transform: translate(2px, -2px); }
body[data-animation="playing"] .logo-fallback { visibility: hidden; }
body[data-animation="playing"] .announcement {
  opacity: var(--reveal, 0);
  transform: translateY(calc((1 - var(--reveal, 0)) * 14px));
}

@media (min-width: 1700px) { .footer { padding-left: 56px; padding-right: 56px; } }
@media (max-width: 640px) {
  main { padding: 4px 20px 42px; }
  .logo-stage { width: min(82vw, 39svh, 335px); }
  .announcement { margin-top: 3px; }
  .eyebrow { font-size: 10px; letter-spacing: 2.6px; margin-bottom: 14px; }
  h1 { font-size: clamp(46px, 12.5vw, 76px); letter-spacing: -.065em; }
  .footer { padding: 18px 23px 25px; min-height: 75px; }
  .contact { font-size: 11px; gap: 9px; }
}
@media (max-height: 530px) and (min-width: 641px) {
  main { padding-bottom: 12px; }
  .logo-stage { width: min(42vh, 260px); }
  h1 { font-size: 54px; }
  .eyebrow { margin-bottom: 7px; }
  .footer { min-height: 58px; padding-top: 12px; padding-bottom: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  #assembly { display: none !important; }
  .logo-fallback { visibility: visible !important; }
  .announcement { opacity: 1 !important; transform: none !important; }
  .contact svg { transition: none; }
}
