/* South St. Pete Equity Coalition — site styles */
:root {
  --navy: #12304d;
  --navy-deep: #0c2238;
  --gold: #e3a52b;
  --gold-soft: #f6dfa9;
  --teal: #2c7c86;
  --green: #5e8c35;
  --mist: #eef3f2;
  --paper: #ffffff;
  --ink: #12304d;
  --muted: #4d6274;
  --line: #cdd9dc;
  --panel-w: 290px;
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; font-weight: 700; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Side panel ---------- */
.panel {
  position: fixed; inset: 0 auto 0 0; width: var(--panel-w); background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 28px 24px; z-index: 20; overflow-y: auto;
}
.panel .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-decoration: none; color: #fff; }
.panel .brand img { width: 112px; border-radius: 50%; background: #fff; }
.panel .brand b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.05rem; line-height: 1.2; letter-spacing: .01em; }
.panel .brand span { display: block; font-weight: 400; font-size: .85rem; color: var(--gold-soft); margin-top: 4px; }
.panel nav { margin: 32px 0 24px; }
.panel nav ul { list-style: none; margin: 0; padding: 0; }
.panel nav a {
  display: block; padding: 10px 12px; margin: 0 -12px; color: #dfe8ee; text-decoration: none; font-weight: 600;
  border-left: 4px solid transparent;
}
.panel nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.panel nav a[aria-current="page"] { color: #fff; border-left-color: var(--gold); background: rgba(227,165,43,.12); }
.panel .panel-actions { margin-top: auto; display: grid; gap: 12px; }
.panel .panel-actions .btn { width: 100%; justify-content: center; }
.panel small { display: block; margin-top: 18px; color: #9fb4c4; font-size: .8rem; line-height: 1.4; }
.menu-btn { display: none; }

/* ---------- Main ---------- */
main { margin-left: var(--panel-w); min-height: 100vh; }
.wrap { max-width: 980px; padding: 0 56px; }
.prose { max-width: 68ch; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; font-stretch: 112%; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 100%; }
p { margin: 0 0 1em; }

/* Hero with sun rays (the signature) */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 6px solid var(--gold); padding: 88px 0 64px; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -520px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(227,165,43,.22) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 0 170px, #000 172px 440px, transparent 442px);
          mask: radial-gradient(circle, transparent 0 170px, #000 172px 440px, transparent 442px);
}
.hero::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: 0; top: -150px; border-radius: 50%;
  background: var(--gold); opacity: .9;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .lede { font-size: 1.2rem; max-width: 56ch; color: var(--muted); }
.hero .btn-row { margin-top: 28px; }
.hero.small { padding: 64px 0 44px; }
.hero.small::before { top: -600px; }

section.band { padding: 64px 0; }
section.band.white { background: var(--paper); }
section.band.navy { background: var(--navy); color: #e6eef3; }
section.band.navy h2, section.band.navy h3 { color: #fff; }
section.band.navy a { color: var(--gold-soft); }

/* Buttons: square block with offset shadow */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 800; font-size: 1rem;
  padding: 13px 22px; border: 2px solid var(--navy); text-decoration: none; cursor: pointer;
  background: var(--gold); color: var(--navy); box-shadow: 5px 5px 0 var(--navy); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--navy); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--navy); }
.btn:active { transform: translate(5px, 5px); box-shadow: none; }
.btn.secondary { background: var(--paper); }
.panel .btn { border-color: var(--gold); box-shadow: 4px 4px 0 var(--navy-deep); }
.panel .btn.secondary { background: transparent; color: #fff; border-color: #fff; }
.panel .btn.secondary:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }

/* Fronts: three work areas, distinguished by color bar */
.fronts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--navy); background: var(--paper); }
.front { padding: 26px 24px; border-right: 2px solid var(--navy); }
.front:last-child { border-right: 0; }
.front .bar { height: 8px; margin: -26px -24px 22px; }
.front.teal .bar { background: var(--teal); }
.front.gold .bar { background: var(--gold); }
.front.green .bar { background: var(--green); }
.front p { color: var(--muted); font-size: .98rem; }

/* Timeline: real sequence of dated events */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 3px solid var(--teal); }
.timeline li { position: relative; margin: 0 0 26px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.timeline li.next::before { background: var(--gold); border-color: var(--navy); }
.timeline time { font-weight: 800; color: var(--navy); display: block; }

/* Spotlight (CLEAN St. Pete) */
.spotlight { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.asks { background: var(--gold); color: var(--navy); padding: 26px 28px; border: 2px solid var(--navy); box-shadow: 8px 8px 0 var(--teal); }
.asks h3 { margin-bottom: 12px; }
.asks ul { margin: 0; padding-left: 1.2em; }
.asks li { margin-bottom: 8px; }

/* Steps: numbered because they are a sequence */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--display); font-weight: 800;
}
ol.steps strong { display: block; color: var(--navy); }

/* Issue / work blocks */
.work { border-top: 2px solid var(--navy); padding: 32px 0; display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.work .tag { font-weight: 800; color: var(--teal); }
.work .tag small { display: block; font-weight: 600; color: var(--muted); }
.help { background: var(--mist); border-left: 6px solid var(--gold); padding: 16px 20px; margin-top: 16px; }
.help h4 { margin: 0 0 6px; font-family: var(--display); font-size: 1rem; color: var(--navy); }
.help ul { margin: 0; padding-left: 1.2em; }

/* Forms */
.form-shell { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
form.stack { display: grid; gap: 18px; background: var(--paper); border: 2px solid var(--navy); padding: 30px; }
form.stack label, form.stack legend { font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
form.stack .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fbfdfd; border: 2px solid var(--line); padding: 11px 12px;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(44,124,134,.25); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); padding: 10px 12px; margin: 0; cursor: pointer; background: #fbfdfd; }
.choice input { width: auto; margin-top: 4px; }
.choice label:has(input:checked) { border-color: var(--navy); background: var(--gold-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.org-only[hidden] { display: none; }
.form-status { font-weight: 700; min-height: 1.4em; margin: 0; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #a2331d; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.aside-box { border-top: 6px solid var(--teal); background: var(--paper); padding: 22px; }
.aside-box + .aside-box { margin-top: 20px; border-top-color: var(--green); }

/* Action feed */
.feed { display: grid; gap: 18px; }
.feed-item { background: var(--paper); border: 2px solid var(--navy); padding: 22px 24px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; }
.feed-item .when { background: var(--navy); color: #fff; text-align: center; padding: 10px 4px; align-self: start; font-family: var(--display); }
.feed-item .when b { display: block; font-size: 1.9rem; line-height: 1; color: var(--gold); }
.feed-item .when span { font-size: .8rem; letter-spacing: .04em; }
.feed-item h3 { margin-bottom: 4px; }
.feed-item .meta { color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.feed-item ol { margin: 8px 0 0; padding-left: 1.3em; }
.feed-item.action { border-color: var(--teal); box-shadow: 6px 6px 0 var(--gold); }
.feed-empty { color: var(--muted); }

.members { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0; }
.members li { border: 2px solid var(--navy); background: var(--paper); padding: 10px 16px; font-weight: 700; }

footer.site { margin-left: var(--panel-w); background: var(--navy-deep); color: #b8c8d4; padding: 34px 0; font-size: .92rem; }
footer.site a { color: var(--gold-soft); }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .panel { position: sticky; top: 0; inset: auto; width: 100%; height: auto; padding: 12px 18px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; overflow: visible; }
  .panel .brand { flex-direction: row; align-items: center; gap: 10px; }
  .panel .brand img { width: 46px; }
  .panel .brand b { font-size: .9rem; }
  .panel .brand span { display: none; }
  .menu-btn { display: inline-block; background: transparent; color: #fff; border: 2px solid #fff; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; }
  .panel nav, .panel .panel-actions, .panel small { display: none; width: 100%; }
  .panel.open nav, .panel.open .panel-actions { display: block; }
  .panel.open .panel-actions { display: grid; padding-bottom: 12px; }
  .panel nav { margin: 14px 0 10px; }
  main, footer.site { margin-left: 0; }
  .wrap { padding: 0 22px; }
  .hero { padding: 56px 0 44px; }
  .fronts { grid-template-columns: 1fr; }
  .front { border-right: 0; border-bottom: 2px solid var(--navy); }
  .front:last-child { border-bottom: 0; }
  .spotlight, .form-shell, .work { grid-template-columns: 1fr; gap: 24px; }
  .two, .choice { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 70px 1fr; padding: 18px; }
}
.hero h1 { max-width: 17ch; }
@media (max-width: 960px) {
  .hero::after { width: 160px; height: 160px; top: -100px; right: -50px; }
  .hero::before { transform: scale(.55); transform-origin: 75% 35%; right: -330px; top: -560px; }
}
