:root {
  color-scheme: dark;
  --bg: #0f0d0e;
  --bg-raised: #171514;
  --fg: #f5f0e8;
  --fg-dim: #a89f93;
  --accent: #d8a659;
  --border: rgba(245, 240, 232, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 24px;
  background: rgba(15, 13, 14, 0.85);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--fg);
  white-space: nowrap;
}
.brand img { height: 28px; width: 28px; display: block; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.9rem;
}
.nav a {
  text-decoration: none;
  color: var(--fg-dim);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--fg); background: var(--bg-raised); }
.nav a.active { color: var(--fg); }

/* ---------- Hero (home) ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 24px;
}
.hero .wrap {
  text-align: center;
  max-width: 720px;
  width: 100%;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 598px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.stage img { width: 100%; height: 100%; display: block; }

.orbit { position: absolute; left: 50.0244%; top: 24.7314%; }
.orbit.outer-a { width: 24.0430%; height: 24.0430%; margin-left: -12.0215%; margin-top: -12.0215%; animation: spin-outer-a 22s linear infinite; }
.orbit.inner   { width: 16.5527%; height: 16.5527%; margin-left: -8.2764%;  margin-top: -8.2764%;  animation: spin-inner 9s linear infinite; }

.dot {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50%;
}
.outer-a .dot { width: 10.922%; height: 10.922%; }
.inner .dot { width: 15.460%; height: 15.460%; }

@keyframes spin-outer-a { from { transform: rotate(224.093deg); } to { transform: rotate(584.093deg); } }
@keyframes spin-inner   { from { transform: rotate(0.338deg); }   to { transform: rotate(-359.662deg); } }

@media (prefers-reduced-motion: reduce) {
  .orbit { animation: none !important; }
}

.tagline {
  margin-top: 8px;
  font-size: 1.1rem;
  color: var(--fg-dim);
}
.tagline strong { color: var(--fg); font-weight: 600; }

/* ---------- Arm cards ---------- */
.arms {
  padding: 24px 24px 72px;
}
.arms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 760px) {
  .arms-grid { grid-template-columns: 1fr; }
}
.arm-card {
  display: block;
  text-decoration: none;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.arm-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.arm-card .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.arm-card h3 { margin: 8px 0 10px; font-size: 1.25rem; }
.arm-card p { margin: 0; color: var(--fg-dim); font-size: 0.95rem; }

/* ---------- Inner page layout ---------- */
.page-header {
  padding: 56px 24px 8px;
  text-align: center;
}
.page-header .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-header h1 { margin: 10px 0 12px; font-size: 2.1rem; }
.page-header .lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--fg-dim);
  font-size: 1.05rem;
}

.content {
  padding: 32px 24px 80px;
}
.content .container { max-width: 780px; }
.content h2 { font-size: 1.35rem; margin-top: 40px; }
.content p { color: var(--fg-dim); }
.content ul { color: var(--fg-dim); padding-left: 1.2em; }
.content li { margin-bottom: 8px; }

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--fg);
}
.status-dot {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3ecf6e;
  box-shadow: 0 0 0 4px rgba(62, 207, 110, 0.18);
}
.status-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3ecf6e;
  animation: status-pulse 2s ease-out infinite;
}
.status-dot.orange { background: #f5a623; box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18); }
.status-dot.orange::before { background: #f5a623; }
@keyframes status-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot::before { animation: none; }
}

.note {
  margin-top: 40px;
  padding: 16px 18px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--fg-dim);
}

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #1a1310;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn:hover { opacity: 0.9; }
.btn.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-list a { color: var(--fg); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 28px 24px;
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.85rem;
}
.site-footer a { color: var(--fg-dim); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
