/* Bounty.Kituwa — aether dark editorial. Layout reused from
   design-kituwa/static/layouts/aether; rethemed through its custom properties. */

:root {
  --max: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --bg: #07060a;
  --surface: #100d15;
  --surface-2: #17121e;
  --ink: #f4efe8;
  --muted: #a79cae;
  --soft: #6f6478;
  --line: #2a2333;
  --accent: #b58cff;
  --accent-2: #6ee7ff;
  --accent-3: #ff9ad5;
  --accent-ink: #07060a;
  --ok: #7ce0b0;
  --warn: #f0c674;
  --bad: #ff8f9a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(60% 40% at 70% 0%, rgba(181,140,255,.08), transparent 70%),
    radial-gradient(40% 30% at 10% 30%, rgba(110,231,255,.04), transparent 70%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.section { padding: 80px 0; position: relative; }
.section-sm { padding: 48px 0; }
.section.alt { background: #0b0910; border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.display {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(52px, 7vw, 102px); line-height: .9; letter-spacing: -.035em;
}
.display em { color: var(--accent); font-style: italic; }
.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.03em;
}
.h2 em { color: var(--accent); font-style: italic; }
.lede { margin: 0; max-width: 60ch; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.small { font-size: 12.5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 4px; padding: 12px 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 15px; font-size: 10px; }

/* nav */
.site-nav {
  position: relative; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: -.02em;
}
.brand em { color: var(--accent); font-style: italic; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: transparent; border: 1px solid var(--accent);
  color: var(--accent); font-size: 16px; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .link { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }

/* hero */
.hero { padding: 64px 0 30px; }
.ae-hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.ae-hero .lede { margin-top: 22px; max-width: 47ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.ae-figures {
  display: flex; gap: 24px; margin-top: 34px; font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
}
.ae-orb-wrap { position: relative; min-height: 430px; display: grid; place-items: center; }
.ae-orb {
  width: 330px; height: 330px; border-radius: 50%;
  background: conic-gradient(from 210deg, #6ee7ff, #b58cff, #ff9ad5, #f8e9a1, #6ee7ff);
  filter: blur(2px) saturate(1.15); position: relative;
  box-shadow: 0 0 120px rgba(181,140,255,.35);
}
.ae-orb::after {
  content: ""; position: absolute; inset: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 4%, #b58cff 18%, #1a0f2a 62%, #07060a 100%);
}
.ae-ring { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(244,239,232,.22); border-radius: 50%; }
.ae-ring.r2 { width: 500px; height: 500px; border-color: rgba(244,239,232,.1); }
.ae-meta {
  position: absolute; left: 0; bottom: 12px; font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); line-height: 1.8;
}
.ae-meta b { color: var(--accent); }

/* stats */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-top: 40px; }
.stat { padding: 26px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 42px; line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }

/* section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head .lede { max-width: 46ch; }

/* status banner */
.state-banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); background: var(--surface); padding: 14px 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.state-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); flex: none; }
.state-banner.is-online { border-color: rgba(124,224,176,.4); }
.state-banner.is-online .state-dot { background: var(--ok); box-shadow: 0 0 10px rgba(124,224,176,.6); }
.state-banner.is-stale { border-color: rgba(255,143,154,.5); color: var(--bad); }
.state-banner.is-stale .state-dot { background: var(--bad); box-shadow: 0 0 10px rgba(255,143,154,.6); }
.state-banner.is-waiting { color: var(--muted); }
.state-age { margin-left: auto; color: var(--soft); }

/* table */
.table-wrap { border: 1px solid var(--line); background: var(--surface); margin-top: 18px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--soft); font-weight: 500; padding: 10px 12px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.table td:first-child { color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table .host { font-family: var(--font-mono); font-size: 12px; color: var(--ink); word-break: break-all; }
.badge {
  display: inline-block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--muted);
}
.badge.confirmed { color: var(--bad); border-color: rgba(255,143,154,.4); }
.badge.likely { color: var(--warn); border-color: rgba(240,198,116,.4); }
.empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: 13.5px; }
.source-line { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; color: var(--muted);
}

/* manifesto */
.ae-manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-top: 1px solid var(--line); }
.ae-rule { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 54px 1fr; gap: 18px; }
.ae-rule .n { font-family: var(--font-mono); font-size: 9px; color: var(--accent); letter-spacing: .1em; }
.ae-rule h3 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.ae-rule h3 em { color: var(--accent); font-style: italic; }
.ae-rule p { margin: 7px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }

/* split / dossier */
.ae-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checklist .ticks {
  flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #07060a; font-size: 11px;
}
.checklist b { color: var(--ink); }

.aether-brief {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  width: 100%; max-width: 460px; margin-inline: auto; padding: 28px 28px 24px;
  background: #0e1014; border: 1px solid #1f232b; border-radius: 6px; color: #f2f1ee;
  transform: rotate(-1.5deg);
}
.aether-brief__ribbon { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,#4ed8ff,#ff4fa3 52%,#ff8a2a); }
.aether-brief__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aether-brief__index { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8a8e97; }
.aether-brief__sym { margin-right: .4em; color: #ff4fa3; font-style: normal; }
.aether-brief__chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 4px;
  background: #14171d; border: 1px solid #1f232b; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.aether-brief__dot { width: 6px; height: 6px; border-radius: 999px; background: #7ce0b0; box-shadow: 0 0 0 3px rgba(124,224,176,.18); }
.aether-brief__title { margin: 0; font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.aether-brief__title em { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.08em; color: var(--accent); }
.aether-brief__body { margin: 0; color: #8a8e97; font-size: 14px; line-height: 1.6; }
.aether-brief__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #1f232b; }
.aether-brief__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a8e97; }
.aether-brief__link { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #f2f1ee; border-bottom: 1px solid transparent; }
.aether-brief__link:hover { border-color: #ff4fa3; }

/* cta */
.cta-band {
  position: relative; overflow: hidden; border-radius: 4px; padding: 54px;
  background: linear-gradient(120deg,#1a0f2a,#0b0910); border: 1px solid var(--line);
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band .h2 { max-width: 16ch; }
.cta-band .lede { color: var(--muted); margin-top: 14px; }
.cta-band .hero-actions { margin-top: 0; justify-content: flex-end; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 32px; }
.footer-brand p { max-width: 34ch; color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.footer-col h4 { margin: 0 0 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); font-family: var(--font-mono); font-weight: 500; }
.footer-col a { display: block; margin: 7px 0; font-size: 13px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 11px; color: var(--soft); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .ae-hero, .ae-split { grid-template-columns: 1fr; gap: 40px; }
  .ae-manifesto { grid-template-columns: 1fr; }
  .ae-orb-wrap { min-height: 360px; }
  .ae-orb { width: 250px; height: 250px; }
  .ae-ring { width: 330px; height: 330px; }
  .ae-ring.r2 { width: 390px; height: 390px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .display { font-size: clamp(38px, 12vw, 56px); }
  .h2 { font-size: 32px; }
  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 30px; }
  .site-nav { gap: 12px; }
  .nav-actions .link { display: none; }
  .footer-bottom { flex-direction: column; }
  .table th:nth-child(5), .table td:nth-child(5) { display: none; }
}

/* watchdog */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; border: 1px solid var(--line); background: var(--surface); padding: 14px; }
.week-day { display: grid; gap: 4px; }
.week-day h3 { margin: 0 0 4px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); font-weight: 500; text-align: center; }
.week-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.week-cell { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 2px; background: #0b0910; }
.week-cell.slot { background: #14101b; }
.week-cell.on { background: var(--accent); border-color: var(--accent); }
.week-legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 14px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.key { display: inline-block; width: 9px; height: 9px; border: 1px solid var(--line); margin-right: 6px; vertical-align: -1px; }
.key-on { background: var(--accent); border-color: var(--accent); }
.key-slot { background: #14101b; }
@media (max-width: 700px) { .week { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
