/* ══════════════════════════════════════════════════════════════════════════
   SCOPE — PRODUCT STYLES
   A public registry of projects touched by public money, joined to place.
   Not one of the 5 editorial beats — styled as a standalone Plat Street
   product/tool page (like District Diagnostic), with its own accent color.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── SCOPE (ink-on-paper + one teal accent) ── */
  --sp-bg:        #F5F5F3;
  --sp-bg-raised: #FFFFFF;
  --sp-bot-bg:    #111111;
  --sp-accent:    #1E6B64;
  --sp-accent-dim: #164F4A;
  --sp-ink:       #000000;
  --sp-text:      #111111;
  --sp-text-dim:  #444444;
  --sp-muted:     #666666;
  --sp-rule:      #E0E0E0;
}

/* Override the site-wide brown/orange selection within Scope */
.sp-wrap ::selection { background: var(--sp-accent); color: #ffffff; }
.sp-wrap ::-moz-selection { background: var(--sp-accent); color: #ffffff; }

.sp-wrap { background: var(--sp-bg); min-height: 100vh; }

/* ── HEADER / HERO ───────────────────────────────────────────────────── */
.sp-head { padding: 0 48px; border-bottom: 1px solid var(--sp-rule); }
.sp-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--sp-rule);
  font-family: var(--f-ui);
  font-size: 10px;
  color: var(--sp-muted);
  letter-spacing: 0.08em;
}
.sp-meta > span:first-child { justify-self: start; }
.sp-meta > span:last-child { justify-self: end; }
.sp-tag {
  background: var(--sp-accent);
  color: white;
  padding: 3px 10px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  justify-self: center;
}
.sp-logo-area {
  text-align: center;
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--sp-rule);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sp-parent {
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--sp-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.sp-parent .wordmark {
  font-family: var(--f-masthead);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.sp-parent .wordmark span { color: var(--sp-accent); }
.sp-logo {
  font-family: var(--f-masthead);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 0.92;
  color: var(--sp-accent);
  letter-spacing: -0.02em;
}
.sp-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--sp-text-dim);
  margin-top: 10px;
  max-width: 560px;
}
.sp-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 48px 40px;
  text-align: center;
}
.sp-hero-kicker {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sp-accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.sp-hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--sp-ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.sp-hero p.sp-lede {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--sp-text-dim);
  margin-bottom: 28px;
}
.sp-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.18s;
  cursor: pointer;
  border: 1px solid transparent;
}
.sp-btn.primary { background: var(--sp-accent); color: white; }
.sp-btn.primary:hover { background: var(--sp-accent-dim); }
.sp-btn.secondary { background: transparent; border-color: var(--sp-accent); color: var(--sp-accent); }
.sp-btn.secondary:hover { background: var(--sp-accent); color: white; }
.sp-btn.disabled,
.sp-btn[disabled] {
  background: var(--sp-rule);
  color: var(--sp-muted);
  border-color: var(--sp-rule);
  cursor: not-allowed;
  pointer-events: none;
}
.sp-btn.disabled .sp-soon,
.sp-btn[disabled] .sp-soon { opacity: 0.8; }
.sp-soon {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.12);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 4px;
}

/* ── CONTENT SECTIONS (landing page) ────────────────────────────────── */
.sp-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 48px;
  border-top: 1px solid var(--sp-rule);
}
.sp-section-h {
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sp-accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.sp-section h2 {
  font-family: var(--f-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--sp-ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.sp-section p {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--sp-text);
  margin-bottom: 14px;
}

/* Trace tiers table */
.sp-tiers { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.sp-tiers th {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-muted);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 2px solid var(--sp-accent);
  font-weight: 600;
}
.sp-tiers td {
  padding: 12px;
  border-bottom: 1px solid var(--sp-rule);
  vertical-align: top;
  font-family: var(--f-ui);
  color: var(--sp-text);
}
.sp-tiers td:first-child { font-weight: 700; color: var(--sp-accent); }

/* Independence rules "pledge" block */
.sp-pledge {
  background: var(--sp-bot-bg);
  color: #F5F5F3;
  padding: 32px 40px;
  border-radius: 4px;
  margin: 24px 0;
}
.sp-pledge h3 {
  font-family: var(--f-serif);
  font-size: 20px;
  color: white;
  margin-bottom: 16px;
}
.sp-pledge ol { margin: 0; padding-left: 20px; }
.sp-pledge li {
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.7;
  color: #CCCCCC;
  margin-bottom: 10px;
}
.sp-pledge li strong { color: white; }

/* Pricing overview cards */
.sp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.sp-price-card {
  border: 1px solid var(--sp-rule);
  background: var(--sp-bg-raised);
  padding: 20px;
  border-radius: 4px;
}
.sp-price-card h4 {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.sp-price-card .sp-price { font-family: var(--f-serif); font-size: 22px; font-weight: 700; color: var(--sp-ink); margin-bottom: 8px; }
.sp-price-card p { font-size: 13px; margin-bottom: 0; color: var(--sp-text-dim); }

/* Status-note (honest "in development") banner */
.sp-status-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--sp-bg-raised);
  border: 1px dashed var(--sp-muted);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 20px 0;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--sp-text-dim);
  line-height: 1.6;
}
.sp-status-note strong { color: var(--sp-ink); }

/* ── STATUS TIER BADGE (6 tiers, escalating solidity) ───────────────── */
.sp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid transparent;
}
.sp-status-badge .sp-tier-n { opacity: 0.7; font-weight: 500; }
.sp-status-badge.tier-1 { background: transparent; border-color: var(--sp-muted); color: var(--sp-muted); }
.sp-status-badge.tier-2 { background: rgba(30,107,100,0.08); border-color: var(--sp-accent); color: var(--sp-accent); }
.sp-status-badge.tier-3 { background: rgba(30,107,100,0.18); border-color: var(--sp-accent); color: var(--sp-accent-dim); }
.sp-status-badge.tier-4 { background: var(--sp-accent); color: white; }
.sp-status-badge.tier-5 { background: var(--sp-accent-dim); color: white; }
.sp-status-badge.tier-6 { background: var(--sp-ink); color: white; }

/* District-relationship fact chip */
.sp-district-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--sp-text-dim);
  background: var(--sp-bg-raised);
  border: 1px solid var(--sp-rule);
  padding: 4px 10px;
  border-radius: 3px;
}

/* ── PROJECT DETAIL PAGE HEADER ─────────────────────────────────────── */
.sp-project-head {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 48px 24px;
}
.sp-project-kicker {
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.sp-project-head h1 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  color: var(--sp-ink);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.sp-project-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.sp-project-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* ── ZONES — each must be visually distinguishable at a glance ─────── */
.sp-zone { border-radius: 4px; overflow: hidden; }
.sp-zone-label {
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-zone-body { padding: 22px 24px; }

/* Zone 1 — The Record: authoritative, cited, ink-on-paper, no ambiguity */
.sp-zone-record {
  background: #FFFFFF;
  border: 1px solid var(--sp-rule);
  border-left: 5px solid var(--sp-accent);
}
.sp-zone-record .sp-zone-label { background: var(--sp-bg-raised); color: var(--sp-accent-dim); }
.sp-zone-record h3 { font-family: var(--f-serif); font-size: 18px; color: var(--sp-ink); margin: 18px 0 10px; }
.sp-zone-record h3:first-child { margin-top: 0; }

.sp-funding-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 8px; }
.sp-funding-table th {
  text-align: left;
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-muted);
  padding: 6px 10px;
  border-bottom: 2px solid var(--sp-rule);
}
.sp-funding-table td {
  padding: 10px;
  border-bottom: 1px solid var(--sp-rule);
  font-family: var(--f-ui);
  color: var(--sp-text);
  vertical-align: top;
}
.sp-funding-table .sp-cite { font-size: 11px; color: var(--sp-muted); display: block; margin-top: 3px; }
.sp-funding-table .sp-amount { font-weight: 700; color: var(--sp-ink); white-space: nowrap; }
.sp-gap-row td { background: rgba(0,0,0,0.03); }
.sp-gap-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sp-timeline { list-style: none; margin: 0 0 8px; padding: 0; }
.sp-timeline li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sp-rule);
  font-family: var(--f-ui);
  font-size: 13px;
}
.sp-timeline li:last-child { border-bottom: none; }
.sp-timeline .sp-tl-date { color: var(--sp-muted); min-width: 90px; flex-shrink: 0; }
.sp-timeline .sp-tl-event { color: var(--sp-text); }
.sp-timeline .sp-tl-cite { color: var(--sp-muted); font-size: 11px; display: block; }

/* Project-team statements rendered as a vertical timeline */
.sp-claim-timeline {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  position: relative;
}
.sp-claim-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 1px;
  background: var(--sp-rule);
}
.sp-claim-timeline li {
  position: relative;
  padding-left: 28px;
  padding-bottom: 22px;
}
.sp-claim-timeline li:last-child { padding-bottom: 0; }
.sp-claim-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--sp-ink);
  box-shadow: 0 0 0 3px var(--sp-bg-raised);
}
.sp-claim-timeline .sp-claim-date {
  font-family: var(--f-ui);
  font-size: 10px;
  color: var(--sp-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sp-claim-timeline .sp-stamp {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-muted);
  font-style: italic;
  margin-bottom: 6px;
}
.sp-claim-timeline p {
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.6;
  color: var(--sp-text);
  margin: 0;
}

.sp-project-team {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--sp-rule);
  border-radius: 3px;
  background: var(--sp-bg-raised);
}
.sp-project-team h3 {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-ink);
  margin: 0 0 10px;
}
.sp-project-team ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-project-team li {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--sp-text);
  padding: 5px 0;
  border-bottom: 1px solid var(--sp-rule);
}
.sp-project-team li:last-child { border-bottom: none; }
.sp-project-team a { color: var(--sp-accent); text-decoration: underline; text-underline-offset: 2px; }
.sp-project-team .sp-pt-role {
  display: inline-block;
  font-size: 10px;
  color: var(--sp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 6px;
}
.sp-project-team .sp-pt-none { color: var(--sp-muted); font-style: italic; }

.sp-firm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.sp-firm-card {
  border: 1px solid var(--sp-rule);
  border-radius: 3px;
  padding: 18px;
  background: white;
}
.sp-firm-card h3 { margin: 0 0 6px; font-family: var(--f-headline); font-size: 18px; }
.sp-firm-card .sp-firm-trade {
  font-family: var(--f-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-muted);
}
.sp-firm-card .sp-firm-credits { margin-top: 14px; }
.sp-firm-card .sp-firm-credits li { margin: 6px 0; font-size: 13px; }

.sp-directory-list { list-style: none; margin: 0; padding: 0; }
.sp-directory-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--sp-rule);
}
.sp-directory-list a { color: var(--sp-ink); font-weight: 600; text-decoration: none; }
.sp-directory-list a:hover { color: var(--sp-accent); }
.sp-directory-list .sp-dir-meta { font-size: 12px; color: var(--sp-muted); }

.sp-disclosure-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-disclosure-status.current { background: rgba(30,107,100,0.12); color: var(--sp-accent); }
.sp-disclosure-status.lapsed { background: rgba(0,0,0,0.08); color: #000000; }

/* Litigation docket, with pinned developer response directly beneath */
.sp-docket { border: 1px solid var(--sp-rule); border-radius: 3px; margin-bottom: 14px; overflow: hidden; }
.sp-docket-head {
  padding: 12px 16px;
  background: var(--sp-bg-raised);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-docket-case { font-family: var(--f-serif); font-size: 15px; font-weight: 700; color: var(--sp-ink); }
.sp-docket-meta { font-family: var(--f-ui); font-size: 11px; color: var(--sp-muted); }
.sp-docket-status {
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 3px;
}
.sp-docket-status.pending { background: rgba(30,107,100,0.12); color: var(--sp-accent-dim); }
.sp-docket-status.dismissed { background: rgba(0,0,0,0.08); color: var(--sp-muted); }
.sp-docket-status.appealed { background: rgba(0,0,0,0.08); color: #444444; }
.sp-docket-status.ruled { background: rgba(30,107,100,0.12); color: var(--sp-accent); }
.sp-docket-body { padding: 12px 16px; font-family: var(--f-ui); font-size: 13px; color: var(--sp-text); }
.sp-docket-response {
  border-top: 1px dashed var(--sp-rule);
  padding: 12px 16px;
  background: #F5F5F3;
}
.sp-docket-response-label {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sp-ink);
  margin-bottom: 6px;
  display: block;
}
.sp-docket-response p { font-size: 13px; color: var(--sp-text); margin: 0; }

/* Zone 2 — Official Notices: agency-sourced, calmer, list-like */
.sp-zone-notices {
  background: var(--sp-bg-raised);
  border: 1px solid var(--sp-rule);
}
.sp-zone-notices .sp-zone-label { background: var(--sp-rule); color: var(--sp-ink); }
.sp-notice { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sp-rule); }
.sp-notice:last-child { border-bottom: none; }
.sp-notice-type {
  font-family: var(--f-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  height: fit-content;
  white-space: nowrap;
}
.sp-notice-type.required { background: #000000; color: white; }
.sp-notice-type.optional { background: var(--sp-rule); color: var(--sp-text-dim); }
.sp-notice-body { font-family: var(--f-ui); font-size: 13px; color: var(--sp-text); }
.sp-notice-date { color: var(--sp-muted); font-size: 11px; }

/* Zone 3 — Claimed by Project Team: paid, developer's own voice, clearly fenced */
.sp-zone-claimed {
  background: #FFFFFF;
  border: 2px solid #000000;
}
.sp-zone-claimed .sp-zone-label { background: #000000; color: #FFFFFF; }
.sp-zone-claimed .sp-stamp {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-ink);
  font-style: italic;
  margin-top: 2px;
}
.sp-claim-statement { border-bottom: 1px solid var(--sp-rule); padding: 14px 0; }
.sp-claim-statement:last-child { border-bottom: none; }
.sp-claim-date { font-family: var(--f-ui); font-size: 10px; color: var(--sp-ink); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.sp-claim-statement p { font-family: var(--f-ui); font-size: 14px; color: var(--sp-text); margin: 0; line-height: 1.6; }
.sp-claim-photo-placeholder {
  background: #ECECEC;
  border: 1px dashed #000000;
  border-radius: 3px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--sp-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 10px 0;
}

.sp-faq-item { border-bottom: 1px solid var(--sp-rule); padding: 12px 0; }
.sp-faq-item:last-child { border-bottom: none; }
.sp-faq-q { font-family: var(--f-serif); font-size: 15px; font-weight: 700; color: var(--sp-ink); margin-bottom: 6px; }
.sp-faq-a { font-family: var(--f-ui); font-size: 13px; color: var(--sp-text); line-height: 1.6; }
.sp-faq-a.blank { color: var(--sp-muted); font-style: italic; }
.sp-faq-conflict {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 3px;
  padding: 8px 12px;
  font-family: var(--f-ui);
  font-size: 12px;
  color: #000000;
}
.sp-faq-conflict strong { display: block; text-transform: uppercase; font-size: 10px; letter-spacing: 0.06em; margin-bottom: 2px; }

.sp-filebox { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.sp-file-item {
  border: 1px solid var(--sp-rule);
  border-radius: 3px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.5);
}
.sp-file-item.required-present { border-left: 4px solid var(--sp-accent); }
.sp-file-item.required-missing { border-left: 4px solid #000000; background: rgba(0,0,0,0.03); }
.sp-file-item.voluntary { border-left: 4px solid var(--sp-muted); }
.sp-file-label {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.sp-file-item.required-present .sp-file-label { color: var(--sp-accent); }
.sp-file-item.required-missing .sp-file-label { color: #000000; }
.sp-file-item.voluntary .sp-file-label { color: var(--sp-muted); }
.sp-file-title { font-family: var(--f-ui); font-size: 13px; color: var(--sp-text); font-weight: 600; }
.sp-file-note { font-family: var(--f-ui); font-size: 11px; color: var(--sp-muted); margin-top: 3px; }

/* Zone 4 — From the Community: open, informal, unmoderated-for-viewpoint */
.sp-zone-community {
  background: var(--sp-bg);
  border: 1px solid var(--sp-rule);
}
.sp-zone-community .sp-zone-label { background: transparent; color: var(--sp-text-dim); border-bottom: 1px solid var(--sp-rule); }
.sp-routing-notice {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--sp-text-dim);
  background: var(--sp-bg-raised);
  padding: 10px 14px;
  border-radius: 3px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.sp-routing-notice a { color: var(--sp-accent); font-weight: 600; }
.sp-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sp-rule); }
.sp-comment:last-child { border-bottom: none; }
.sp-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sp-rule);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-text-dim);
}
.sp-comment-name { font-family: var(--f-ui); font-size: 12px; font-weight: 700; color: var(--sp-ink); }
.sp-comment-date { font-family: var(--f-ui); font-size: 10px; color: var(--sp-muted); margin-left: 6px; font-weight: 400; }
.sp-comment-body { font-family: var(--f-ui); font-size: 13px; color: var(--sp-text); margin-top: 4px; line-height: 1.6; }

/* Sponsored / Proposed placement zone — structurally distinct from everything above */
.sp-zone-sponsored {
  background: repeating-linear-gradient(135deg, #F2F2F2, #F2F2F2 10px, #E6E6E6 10px, #E6E6E6 20px);
  border: 1px solid #000000;
  border-radius: 4px;
}
.sp-zone-sponsored .sp-zone-label { background: transparent; color: var(--sp-ink); }
.sp-sponsored-disclosure {
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-ink);
}

/* Map */
.sp-map { height: 320px; border-radius: 4px; border: 1px solid var(--sp-rule); margin-top: 10px; }
.sp-map-caption { font-family: var(--f-ui); font-size: 11px; color: var(--sp-muted); margin-top: 8px; }

/* ── BOTTOM BAND ─────────────────────────────────────────────────────── */
.sp-bot { background: var(--sp-bot-bg); padding: 40px 48px; border-top: 2px solid var(--sp-accent); margin-top: 20px; }
.sp-bot-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.sp-bot h3 { font-family: var(--f-serif); font-size: 22px; color: white; margin-bottom: 10px; }
.sp-bot p { font-family: var(--f-ui); font-size: 13px; color: #999999; margin-bottom: 18px; }

/* ── SEARCH / BROWSE (index page) ───────────────────────────────────── */
.sp-search-bar {
  max-width: 720px;
  margin: 0 auto 20px;
  position: relative;
}
.sp-search-bar input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  font-family: var(--f-ui);
  font-size: 15px;
  border: 2px solid var(--sp-rule);
  border-radius: 6px;
  background: white;
  color: var(--sp-ink);
  outline: none;
  transition: border-color 0.18s;
}
.sp-search-bar input:focus { border-color: var(--sp-accent); }
.sp-search-bar input::placeholder { color: var(--sp-muted); }
.sp-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sp-muted);
  pointer-events: none;
}
.sp-search-icon svg { width: 18px; height: 18px; }

.sp-filter-row {
  max-width: 900px;
  margin: 0 auto 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.sp-filter-group-label {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-muted);
  font-weight: 600;
  margin-right: 4px;
}
.sp-chip {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--sp-rule);
  background: white;
  color: var(--sp-text-dim);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.sp-chip:hover { border-color: var(--sp-accent); color: var(--sp-accent); }
.sp-chip.active { background: var(--sp-accent); border-color: var(--sp-accent); color: white; }

.sp-results-meta {
  max-width: 900px;
  margin: 20px auto 14px;
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--sp-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-project-grid {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 48px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.sp-project-card {
  display: block;
  text-decoration: none;
  background: white;
  border: 1px solid var(--sp-rule);
  border-left: 4px solid var(--sp-accent);
  border-radius: 4px;
  padding: 18px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.sp-project-card:hover { box-shadow: 0 3px 14px rgba(30,107,100,0.12); transform: translateY(-1px); }
.sp-project-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sp-project-card-title {
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--sp-ink);
  margin: 0;
}
.sp-project-card-city {
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--sp-muted);
  margin-top: 3px;
}
.sp-project-card-summary {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--sp-text-dim);
  line-height: 1.6;
  margin: 8px 0 10px;
}
.sp-project-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--sp-muted);
}
.sp-project-card-meta strong { color: var(--sp-text-dim); font-weight: 600; }
.sp-project-card-tags {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sp-project-card-tag {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sp-bg-raised);
  color: var(--sp-text-dim);
  padding: 3px 8px;
  border-radius: 3px;
}
.sp-illustrative-flag {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sp-ink);
  background: rgba(0,0,0,0.05);
  padding: 3px 8px;
  border-radius: 3px;
}
.sp-no-results {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--f-ui);
  color: var(--sp-muted);
  font-size: 13px;
}

/* ── HERO MEDIA BANNER ──────────────────────────────────────────────── */
.sp-project-hero {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 48px;
}
.sp-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  background: #111111;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-hero-media img,
.sp-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-hero-media.no-media {
  background: linear-gradient(135deg, #111111 0%, #333333 100%);
}
.sp-hero-media.no-media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(var(--sp-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--sp-accent) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sp-hero-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-family: var(--f-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
}
.sp-hero-media-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}
.sp-hero-media-placeholder {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.6);
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.sp-hero-media-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  margin-bottom: 10px;
}

/* ── MEDIA GALLERY & VIDEO ──────────────────────────────────────────── */
.sp-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0;
}
.sp-media-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ECECEC;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s;
}
.sp-media-item:hover { transform: scale(1.02); }
.sp-media-item img,
.sp-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-media-item.no-media {
  background: linear-gradient(135deg, #ECECEC 0%, #F8F8F8 100%);
  border: 1px dashed var(--sp-rule);
}
.sp-media-item.no-media .sp-media-cap {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-family: var(--f-ui);
  font-size: 10px;
  color: var(--sp-muted);
  text-align: center;
}
.sp-media-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  font-family: var(--f-ui);
  font-size: 10px;
  color: rgba(255,255,255,0.9);
}
.sp-media-type {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: var(--f-ui);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
}

.sp-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111111;
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-video img,
.sp-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-video.no-media {
  background: linear-gradient(135deg, #111111 0%, #333333 100%);
}
.sp-video-play {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--sp-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s;
}
.sp-video-play:hover { transform: scale(1.08); background: white; }
.sp-video-play svg { width: 22px; height: 22px; fill: currentColor; }
.sp-video-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
}
.sp-video-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-family: var(--f-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
}

/* ── INDEX CARD THUMBS ──────────────────────────────────────────────── */
.sp-project-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}
.sp-project-card-head,
.sp-project-card-summary,
.sp-project-card-meta,
.sp-project-card-tags { grid-column: 2; }
.sp-project-card-head { margin-bottom: 0; }
.sp-project-card-thumb {
  grid-row: 1 / span 4;
  width: 64px;
  height: 64px;
  border-radius: 3px;
  background: #ECECEC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sp-project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-project-card-thumb.no-media {
  background: #111111;
  color: rgba(255,255,255,0.5);
}
.sp-project-card-thumb.no-media svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* ── FULLY-UTILIZED CLAIMED SECTION ─────────────────────────────────── */
.sp-team-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #F8F8F8;
  border: 1px solid var(--sp-rule);
  border-radius: 4px;
  margin-bottom: 18px;
}
.sp-team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-ui);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.sp-team-name {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--sp-ink);
  margin: 0 0 3px;
}
.sp-team-role {
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--sp-muted);
  margin-bottom: 6px;
}
.sp-team-contact {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--sp-text);
}
.sp-team-contact a { color: var(--sp-accent); text-decoration: none; font-weight: 600; }
.sp-team-contact a:hover { text-decoration: underline; }

.sp-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.sp-benefit-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--sp-text);
  background: #F8F8F8;
  padding: 12px 14px;
  border: 1px solid var(--sp-rule);
  border-radius: 3px;
}
.sp-benefit-item strong { display: block; color: var(--sp-ink); margin-bottom: 2px; }
.sp-benefit-check {
  color: var(--sp-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.sp-doc-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}
.sp-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--sp-rule);
  border-radius: 3px;
  background: #F8F8F8;
  flex-wrap: wrap;
}
.sp-doc-info { min-width: 0; }
.sp-doc-title {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-ink);
  margin-bottom: 3px;
}
.sp-doc-meta {
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--sp-muted);
}
.sp-doc-cta {
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sp-accent);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--sp-accent);
  border-radius: 3px;
  white-space: nowrap;
}
.sp-doc-cta:hover { background: var(--sp-accent); color: white; }

.sp-response {
  background: #F8F8F8;
  border-left: 3px solid var(--sp-accent);
  padding: 14px 16px;
  border-radius: 0 4px 4px 0;
  margin: 14px 0;
}
.sp-response-label {
  font-family: var(--f-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.sp-response p {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--sp-text);
  line-height: 1.6;
  margin: 0;
}
.sp-response-to {
  font-family: var(--f-ui);
  font-size: 11px;
  color: var(--sp-muted);
  margin-top: 8px;
}

.sp-invite {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #111111;
  color: #F5F5F3;
  padding: 18px 20px;
  border-radius: 4px;
  margin-top: 18px;
}
.sp-invite h4 {
  font-family: var(--f-serif);
  font-size: 16px;
  margin: 0 0 6px;
  color: white;
}
.sp-invite p {
  font-family: var(--f-ui);
  font-size: 13px;
  color: #CCCCCC;
  margin: 0 0 10px;
  line-height: 1.5;
}
.sp-invite a { color: #fff; text-decoration: underline; }

/* ── WATCH PROJECT ────────────────────────────────────────────────────── */
.sp-watch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.sp-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--sp-ink);
  background: transparent;
  color: var(--sp-ink);
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.sp-watch-btn:hover {
  background: var(--sp-ink);
  color: white;
}
.sp-watch-btn.watching {
  background: var(--sp-accent);
  border-color: var(--sp-accent);
  color: white;
}
.sp-watch-btn.watching:hover {
  background: var(--sp-accent-dim);
  border-color: var(--sp-accent-dim);
}
.sp-watch-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.sp-watch-count {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--sp-muted);
}
.sp-watch-count strong {
  color: var(--sp-ink);
  font-weight: 700;
}

/* ── PROJECT SUBMISSION FORM ─────────────────────────────────────────── */
.sp-form { display: grid; gap: 16px; margin: 20px 0; }
.sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-form label {
  display: block;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.sp-form input,
.sp-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sp-rule);
  border-radius: 3px;
  background: white;
  color: var(--sp-ink);
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s;
}
.sp-form input:focus,
.sp-form textarea:focus { border-color: var(--sp-accent); }
.sp-form textarea { resize: vertical; min-height: 90px; }
.sp-form button { justify-self: start; }

@media (max-width: 600px) {
  .sp-form-row { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sp-pricing-grid { grid-template-columns: 1fr; }
  .sp-filebox { grid-template-columns: 1fr; }
  .sp-media-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-hero-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .sp-head, .sp-hero, .sp-section, .sp-project-head, .sp-project-body, .sp-results-meta { padding-left: 20px; padding-right: 20px; }
  .sp-bot { padding: 32px 20px; }
  .sp-project-hero { padding: 0 20px; }
  .sp-logo-area { padding: 16px 0 12px; }
  .sp-tagline { font-size: 14px; }
  .sp-project-card { grid-template-columns: 1fr; gap: 12px; }
  .sp-project-card-thumb { grid-row: auto; width: 100%; height: 140px; }
  .sp-project-card-head,
  .sp-project-card-summary,
  .sp-project-card-meta,
  .sp-project-card-tags { grid-column: 1; }
  .sp-media-grid { grid-template-columns: 1fr; }

  /* Funding stack stacked cards on mobile */
  .sp-funding-table thead { display: none; }
  .sp-funding-table,
  .sp-funding-table tbody,
  .sp-funding-table tr,
  .sp-funding-table td { display: block; width: 100%; box-sizing: border-box; }
  .sp-funding-table tr {
    border: 1px solid var(--sp-rule);
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;
    background: #FFFFFF;
  }
  .sp-funding-table td {
    border: none;
    padding: 4px 0;
    font-size: 13px;
  }
  .sp-funding-table td:nth-child(1)::before { content: "Source: "; font-weight: 700; color: var(--sp-ink); }
  .sp-funding-table td:nth-child(2)::before { content: "Amount: "; font-weight: 700; color: var(--sp-ink); }
  .sp-funding-table td:nth-child(3)::before { content: "Mechanism: "; font-weight: 700; color: var(--sp-ink); }
  .sp-funding-table td:nth-child(4)::before { content: "Status: "; font-weight: 700; color: var(--sp-ink); }
  .sp-funding-table .sp-amount { white-space: normal; }

  /* Tier/methodology table keeps horizontal scroll on mobile */
  .sp-tiers {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sp-tiers th,
  .sp-tiers td {
    white-space: nowrap;
    min-width: 120px;
  }

  /* Zone 2 notices stack on mobile */
  .sp-notice { flex-direction: column; gap: 8px; align-items: flex-start; }
  .sp-notice-type { white-space: normal; width: fit-content; }
}

/* ── WORK REEL LIGHTBOX ─────────────────────────────────────────────── */
.sp-reel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.sp-reel-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--sp-rule);
  border-radius: 2px;
  cursor: pointer;
  background: #f8f8f8;
}
.sp-reel-thumb img,
.sp-reel-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  color: white;
  pointer-events: none;
}
.sp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.sp-lightbox.active { display: flex; }
.sp-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.sp-lightbox-inner img,
.sp-lightbox-inner video {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}
.sp-lightbox-close {
  position: absolute;
  top: -36px;
  right: 0;
  color: white;
  font-family: var(--f-ui);
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── MOBILE RESPONSIVE (scope pages + details) ─────────────────────────── */
@media (max-width: 768px) {
  .sp-filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
  .sp-filter-group .sp-filter-group-label { width: 100%; }
  .sp-project-grid { grid-template-columns: 1fr; }
  .sp-firm-grid { grid-template-columns: 1fr; }
  .sp-reel-gallery { grid-template-columns: 1fr; }
  .sp-lightbox { padding: 20px; }
  .sp-lightbox-inner img,
  .sp-lightbox-inner video { max-height: 60vh; }
  .sp-directory-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sp-directory-list .sp-dir-meta { margin-left: 0; }
  .sp-status-note { font-size: 12px; padding: 14px 20px; }
  .sp-zone-body { padding-left: 20px; padding-right: 20px; }
  .sp-timeline { padding-left: 16px; }
  .sp-project-facts { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
  .sp-reel-gallery { grid-template-columns: 1fr; }
  .sp-status-note { flex-direction: column; gap: 8px; }
}
