/* A quiet, monumental landing page. No font or animation dependencies. */
:root {
  color-scheme: dark;
  --background: #101111;
  --foreground: #e6e6dd;
  --muted: #a1a6a0;
  --rule: #303431;
  --accent: #b8ddd4;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  min-width: 280px;
  background: var(--background);
}

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

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

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
button { appearance: none; -webkit-appearance: none; border-radius: 0; font: inherit; color: inherit; cursor: pointer; }
button:focus:not(:focus-visible) { outline: none; }

.site-shell {
  width: min(100%, 1920px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 38px 4.5vw 0;
  display: flex;
  flex-direction: column;
}

.masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.identity {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mark { width: 52px; height: 54px; flex: none; }

.site-address {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 530px;
  padding: 50px 0;
  isolation: isolate;
}

.hero-copy { position: relative; z-index: 1; max-width: 55%; }

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px 4px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.motion-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: -14px -6px;
  padding: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.motion-toggle:hover, .motion-toggle.is-paused { color: var(--accent); }
.motion-toggle svg { width: 16px; height: 16px; }
.motion-play { display: none; }
.motion-toggle.is-paused .motion-play { display: block; }
.motion-toggle.is-paused .motion-pause { display: none; }

h1 {
  margin: 0;
  font-size: clamp(64px, 7.6vw, 140px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.065em;
}

.headline-line { display: block; }

.mission {
  max-width: 28em;
  margin: 36px 0 0 4px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.field {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -3.2vw;
  width: min(56vw, 1030px);
  height: calc(100% + 60px);
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-fallback { display: block; width: 100%; height: 100%; object-fit: contain; }
.field-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.field.is-live .field-fallback { visibility: hidden; }

.velocity-signature {
  display: inline-block;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.constant { font-family: Georgia, "Times New Roman", serif; font-size: 1.3em; font-style: italic; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 98px;
  border-top: 1px solid var(--rule);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .01em;
}

.legal-name { white-space: nowrap; }

.anthem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 310px;
  max-width: 100%;
  min-width: 0;
  justify-self: center;
}

.anthem-trigger {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 9px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.anthem-trigger:hover, .anthem.is-playing .anthem-trigger { color: var(--accent); }
.anthem-icon { width: 15px; height: 15px; flex: none; }
.anthem-pause { display: none; }
.anthem.is-playing .anthem-play { display: none; }
.anthem.is-playing .anthem-pause { display: block; }
.anthem-transport { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; }
.anthem-time { flex: none; width: 4ch; color: var(--muted); font: 10px var(--mono); font-variant-numeric: tabular-nums; }
.anthem-seek {
  --progress: 0%;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  flex: 1;
  width: 100%;
  min-width: 24px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.anthem-seek:disabled { cursor: default; }
.anthem-seek::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(to right, var(--accent) var(--progress), var(--rule) var(--progress)); }
.anthem-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 5px; height: 5px; margin-top: -2px; border: 0; border-radius: 50%; background: var(--accent); }
.anthem-seek::-moz-range-track { height: 1px; background: var(--rule); }
.anthem-seek::-moz-range-progress { height: 1px; background: var(--accent); }
.anthem-seek::-moz-range-thumb { width: 5px; height: 5px; border: 0; border-radius: 50%; background: var(--accent); }
.anthem.has-error { flex-wrap: wrap; }
.anthem.has-error .anthem-trigger { color: var(--foreground); }
.anthem.has-error .anthem-status { position: static; flex-basis: 100%; width: auto; height: auto; margin: -8px 0 8px; overflow: visible; clip-path: none; white-space: normal; color: var(--muted); font-size: 10px; line-height: 1.4; }
.anthem-fallback { color: var(--muted); font-size: 11px; }

.social-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.social-link svg { display: block; width: 18px; height: 18px; }
.social-link:hover { color: var(--accent); }

/* Brief entrance animations; ongoing motion is controlled in script.js. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 1000ms cubic-bezier(.16, 1, .3, 1) both; }
  .field { animation: field-arrive 1600ms ease-out both; }
}

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

@keyframes field-arrive { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1600px) { .hero { min-height: 780px; } }

@media (max-width: 1000px) and (min-width: 761px) {
  .hero { min-height: 580px; }
  h1 { font-size: 7.9vw; }
  .field { right: -4vw; width: 57vw; }
}

@media (max-width: 760px) {
  .site-shell { padding: 26px 6vw 0; }
  .mark { width: 42px; height: 44px; }
  .site-address { font-size: 10px; }
  .hero { display: block; min-height: 0; padding: 58px 0 0; }
  .hero-copy { max-width: none; }
  .eyebrow-row { margin: 0 0 25px 2px; gap: 8px; }
  .eyebrow { font-size: 9px; letter-spacing: .08em; }
  h1 { font-size: clamp(42px, 13.8vw, 92px); }
  .mission { margin: 26px 0 0 2px; font-size: 16px; }
  .velocity-signature { display: block; margin: 8px 0 0; padding: 0; border: 0; }
  .field { position: relative; top: auto; right: auto; width: 100%; height: auto; max-width: 540px; margin: -8px auto -16px; transform: none; }
  .field-fallback { height: auto; }
  .site-footer { grid-template-columns: 1fr auto; min-height: 116px; padding: 12px 0 20px; gap: 4px 14px; }
  .footer-note { grid-column: 1 / -1; grid-row: 3; font-size: 11px; line-height: 1.6; }
  .anthem { grid-column: 1 / -1; grid-row: 1; justify-self: start; justify-content: flex-start; width: 100%; gap: 12px; }
  .social-links { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}

@media (max-width: 340px) {
  .hero { padding-top: 58px; }
  h1 { font-size: 13.8vw; }
  .eyebrow { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
