@font-face {
  font-family: Syne;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/syne-400.woff2") format("woff2");
}
@font-face {
  font-family: Syne;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/syne-600.woff2") format("woff2");
}
@font-face {
  font-family: Syne;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/syne-800.woff2") format("woff2");
}

:root {
  --paper: #060A08;
  --ink: #E8E6E1;
  --card: #0A0F0C;
  --gold: #E8C058;
  --gold-dim: #E8C05840;
  --emerald: #2D8659;
  --muted: #E8E6E19e;
  --hairline: #2D865938;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: Syne, "Arial Black", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  pointer-events: none;
  /* Scrim so fixed nav stays legible over scrolled content on phones. */
  background: linear-gradient(to bottom, rgba(6, 10, 8, 0.88), rgba(6, 10, 8, 0));
}
.nav a, .nav span { pointer-events: auto; }
.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); }

.ember {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}
.ember-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  max-width: 100vw;
  overflow: hidden;
}
.ember-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.cursor-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  margin: -105px 0 0 -105px;
  border: 1px solid #E8C05855;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}
.ember-stage.is-live .cursor-ring.is-on { opacity: 1; }
@media (pointer: coarse) {
  .cursor-ring { display: none; }
}

.ember-chrome {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.6rem 1.6rem;
  display: grid;
  gap: 1rem;
  pointer-events: none;
}
.ember-chrome > * { pointer-events: auto; }
.stats {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}
.dot.hot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.words button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  padding: 0.35rem 0.15rem;
  cursor: pointer;
}
/* 44pt minimum touch targets on phones. */
@media (pointer: coarse) {
  .words { gap: 0.2rem 0.9rem; }
  .words button { padding: 0.7rem 0.3rem; min-height: 44px; }
  .nav-link { padding: 0.6rem 0.2rem; min-height: 44px; display: inline-flex; align-items: center; }
}
.words button[aria-pressed="true"],
.words button:hover,
.words button:focus-visible {
  color: var(--gold);
  outline: none;
}
.words button:focus-visible { text-decoration: underline; }
.cycle-line {
  height: 1px;
  background: var(--hairline);
  transform-origin: left center;
  transform: scaleX(0);
}
.cycle-line.run { animation: cycle 8s linear forwards; }
@keyframes cycle { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .cycle-line.run { animation: none; transform: scaleX(1); }
}

.kicker {
  position: absolute;
  left: 1.6rem;
  top: 4.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  pointer-events: none;
}
.lede {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 400;
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--gold);
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
}
.hero-cta {
  position: absolute;
  right: 1.6rem;
  top: 4.1rem;
}
@media (max-width: 720px) {
  /* Keep CTA top-right (as desktop): the bottom chrome grows when the word
     buttons wrap on narrow screens, so anything pinned above it collides. */
  .kicker { top: 4.3rem; max-width: 9.5rem; }
  .hero-cta { top: 4.1rem; right: 1.25rem; }
}
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.section {
  padding: 7rem 1.6rem;
  max-width: 68rem;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .section { padding: 4rem 1.25rem; }
  .lede { font-size: 1.05rem; margin-bottom: 1.6rem; }
  .hours { margin-top: 2rem; }
  .steps { margin-top: 2rem; gap: 1.6rem; }
}
.section h2 {
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: 16ch;
}
.section p.sub {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 400;
}

.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 720px) { .hours { grid-template-columns: 1fr; } }
.hour {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
}
.hour b {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  color: var(--gold);
}
.hour span { color: var(--muted); font-size: 0.95rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
}
.step em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.8rem;
}
.step h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.step p { color: var(--muted); line-height: 1.5; font-weight: 400; }

.manifesto {
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 18ch;
}
.manifesto i {
  font-style: normal;
  color: var(--gold);
}

.ember-feed { min-height: 0; }
.ember-stage-short {
  min-height: 56svh;
  max-height: 56svh;
  aspect-ratio: auto;
}
.ember-feed canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lattice-wrap {
  position: relative;
  height: 42svh;
  min-height: 280px;
}

.footer {
  padding: 3rem 1.6rem 4rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
@media (max-width: 640px) {
  .footer { flex-direction: column; }
}

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 7rem 1.4rem 4rem;
  line-height: 1.55;
  font-weight: 400;
}
.legal h1 { font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.4rem; }
.legal h2 { margin-top: 2rem; font-size: 1.15rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.legal a { color: var(--emerald); }
