/* Britt tower lights petition. Mobile-first, no external assets. */

:root {
  --sky: #070b17;
  --sky-2: #0d1426;
  --panel: #121a30;
  --line: #2a3554;
  --text: #eef1f8;
  --muted: #b9c2d8;
  --strobe: #ffffff;
  --red: #ff8273;
  --accent: #ffd27a;
  --focus: #8fd0ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.125rem;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

a { color: var(--accent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999rem;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0; z-index: 10; }

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

/* Hero */

.hero {
  background:
    radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 64%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 54% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 48%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 82%, #fff 50%, transparent 51%),
    linear-gradient(180deg, #04060e 0%, var(--sky-2) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid { display: grid; gap: 1rem; }

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lede { font-size: 1.15rem; }

.updated { color: var(--muted); font-size: 0.9rem; margin: 0; }

.tower { display: none; }
.tower .mast { stroke: #8f9bb8; stroke-width: 3; fill: none; }
.tower .guy { stroke: #56617f; stroke-width: 1; fill: none; }
.tower .ground { stroke: #56617f; stroke-width: 2; }
.tower .lamp { fill: var(--strobe); }
.tower .glow-near { fill: var(--strobe); opacity: 0.28; }
.tower .glow-far { fill: var(--strobe); opacity: 0.1; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #14110a;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.85rem 1.4rem;
  min-height: 3rem;
  cursor: pointer;
}
.button:hover { background: #ffe0a3; }

/* Facts */

.facts { margin: 0; }
.facts div { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.facts dd { margin: 0; }

/* Timeline */

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.25rem 0.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--muted);
  border: 2px solid var(--sky);
}
.timeline li.alert::before { background: var(--strobe); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18); }
.timeline time { display: block; font-weight: 700; color: var(--accent); }
.timeline li.alert time { color: var(--red); }
.timeline p { margin: 0.15rem 0 0; }

/* Asks */

.asks { list-style: none; counter-reset: ask; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.asks li {
  counter-increment: ask;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1rem 1rem 1rem 3.25rem;
  position: relative;
}
.asks li::before {
  content: counter(ask);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #14110a;
  font-weight: 700;
  text-align: center;
  line-height: 1.6rem;
}
.asks h3 { margin-bottom: 0.25rem; }
.asks p { margin: 0; color: var(--muted); }

.plain { margin: 0; padding-left: 1.25rem; }
.plain li { margin-bottom: 0.4rem; }

/* Form */

.sign form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
}

.hp { position: absolute; left: -999rem; height: 0; overflow: hidden; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #0a1022;
  border: 1px solid #5b6890;
  border-radius: 0.45rem;
  padding: 0.7rem 0.75rem;
  min-height: 3rem;
}
textarea { resize: vertical; }

.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; margin-bottom: 1rem; }
.check input { width: 1.4rem; height: 1.4rem; margin: 0.2rem 0 0; accent-color: var(--accent); }

.req { color: var(--red); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; }

.privacy {
  border-left: 3px solid var(--accent);
  background: #0a1022;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  border-radius: 0 0.45rem 0.45rem 0;
}
.privacy h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.privacy p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.sign .button { width: 100%; }

/* Footer and thanks page */

.footer { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
.footer p { margin-bottom: 0.5rem; }

.thanks { padding-top: 4rem; }

/* Wider screens */

@media (min-width: 40rem) {
  h1 { font-size: 2.6rem; }
  .hero-grid { grid-template-columns: 1fr 9rem; align-items: center; gap: 2rem; }
  .tower { display: block; width: 9rem; height: auto; }
  .facts div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; align-items: baseline; }
  .sign form { padding: 1.75rem; }
  .sign .button { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Video clip */
.clip { margin: 0; }
.clip video { display: block; width: 100%; height: auto; background: #000; border: 1px solid var(--line); border-radius: 6px; }
.clip figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* Rights section */
.rights h3 { margin-top: 1.5rem; }
.rights .plain li { margin-bottom: 0.7rem; }
.rights cite { font-style: italic; color: var(--accent); }
