:root {
  --ink: #26313a;
  --deep: #18232b;
  --muted: #5c6675;
  --bg: #f7f8f6;
  --paper: #ffffff;
  --panel: #ffffff;
  --line: #dce3df;
  --blue: #72bfd9;
  --pink: #cf7280;
  --gold: #eee36f;
  --green: #3dae83;
  --red-hot: #d7566a;
  --gold-hot: #f2d94e;
  --blue-hot: #47b9dc;
  --green-hot: #20b979;
  --purple: #6c4bb3;
  --charcoal: #555555;
  --danger: #b4233a;
  --ok: #0e7a4f;
  --shadow: 0 18px 45px rgba(38, 49, 58, .09);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(242, 217, 78, .18), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(71, 185, 220, .16), transparent 30rem),
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 42%, #f5f8f6 100%);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.inner-page {
  background:
    url("watermark-disability-pride.png") right 3rem top 12.5rem / min(36vw, 490px) auto no-repeat fixed,
    var(--bg);
}
body.manifesto-page {
  background:
    url("watermark-disability-pride.png") right -5rem top 18rem / min(34vw, 470px) auto no-repeat fixed,
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip {
  position: absolute;
  left: -999px;
  top: .75rem;
  z-index: 100;
  background: var(--deep);
  color: #fff;
  padding: .7rem .9rem;
}
.skip:focus { left: .75rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 251, 246, .94);
  border-bottom: 1px solid rgba(20, 20, 20, .09);
  backdrop-filter: blur(14px);
}
.topbar::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, #555 0 13%, var(--red-hot) 13% 29%, var(--gold-hot) 29% 45%, #fff 45% 61%, var(--blue-hot) 61% 78%, var(--green-hot) 78%);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.05;
}
.brand-logo {
  width: 58px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(38,49,58,.16);
  background: #fff;
}
.brand small {
  display: block;
  margin-top: .16rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  min-width: 0;
}
.nav a,
.btn,
.pill,
.mini {
  min-height: 44px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .68rem .9rem;
  font: inherit;
  font-size: .96rem;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}
.nav a {
  color: #20242d;
  background: transparent;
}
.nav a[aria-current="page"],
.nav a:hover {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(207,114,128,.08), rgba(238,227,111,.09), rgba(114,191,217,.08)),
    var(--paper);
}
.btn {
  background: var(--green-hot);
  color: #fff;
  border-color: var(--green-hot);
  box-shadow: 0 12px 28px rgba(32, 185, 121, .26);
}
.btn.secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn.color {
  background: linear-gradient(90deg, var(--blue-hot), var(--green-hot));
  border-color: transparent;
  color: #102a31;
  box-shadow: 0 14px 30px rgba(71, 185, 220, .26);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 35%, rgba(255,255,255,.85), transparent 22rem),
    linear-gradient(135deg, rgba(207,114,128,.16), rgba(238,227,111,.13) 32%, rgba(114,191,217,.16) 68%, rgba(61,174,131,.16)),
    #eef7f3;
  color: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(85,85,85,.15) 0 8%, rgba(215,86,106,.42) 8% 16%, rgba(242,217,78,.42) 16% 24%, rgba(255,255,255,.78) 24% 31%, rgba(71,185,220,.42) 31% 40%, rgba(32,185,121,.38) 40% 49%, transparent 49% 100%),
    linear-gradient(90deg, rgba(251,252,250,.9) 0%, rgba(251,252,250,.82) 49%, rgba(251,252,250,.5) 100%);
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: linear-gradient(90deg, #555 0 16%, var(--red-hot) 16% 32%, var(--gold-hot) 32% 48%, #fff 48% 64%, var(--blue-hot) 64% 80%, var(--green-hot) 80%);
}
.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(340px, 1.12fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero-content {
  min-width: 0;
  max-width: 760px;
}
.hero-intro {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
}
.deadline {
  width: fit-content;
  margin-bottom: 1rem;
  padding: .55rem .72rem;
  border-left: 6px solid var(--red-hot);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(38,49,58,.08);
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .94;
  letter-spacing: 0;
  font-weight: 950;
}
h2 {
  margin: 0 0 .8rem;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.02;
}
h3 {
  margin: 0 0 .45rem;
  font-size: 1.2rem;
  line-height: 1.18;
}
.lead {
  max-width: 66ch;
  margin: 0 0 1.15rem;
  color: #202b36;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}
.hero .lead {
  color: #26303a;
}
.hero .btn.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.all-callout {
  display: grid;
  gap: .35rem;
  width: 100%;
  max-width: 720px;
  margin: 1rem 0 1.1rem;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(215,86,106,.2), rgba(242,217,78,.22), rgba(255,255,255,.84), rgba(71,185,220,.2), rgba(32,185,121,.19)),
    #fff;
  border: 1px solid rgba(38,49,58,.13);
  border-left: 10px solid var(--green-hot);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(38,49,58,.08);
}
.all-callout strong {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.08;
}
.all-callout span {
  color: #26313a;
  font-size: 1.03rem;
}
.page-callout {
  max-width: 880px;
  margin-top: 1.2rem;
}
.hero-actions,
.actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-art {
  margin: 0;
  align-self: center;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(38,49,58,.12);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(38,49,58,.2);
  outline: 8px solid rgba(255,255,255,.7);
  outline-offset: -16px;
}
.section {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1rem;
}
.section:nth-of-type(even) {
  position: relative;
}
.section:nth-of-type(even)::before {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  right: max(1rem, calc((100vw - var(--max)) / 2));
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold-hot), #fff, var(--blue-hot), var(--green-hot));
}
.section.tight { padding-top: 2rem; }
.section-head {
  max-width: 780px;
  margin-bottom: 1.5rem;
}
.manifesto-head {
  max-width: 980px;
  margin: 0 auto 1.75rem;
  text-align: center;
}
.manifesto-head h1 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.manifesto-head .lead {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.band {
  background:
    linear-gradient(135deg, rgba(215,86,106,.09), rgba(242,217,78,.11) 32%, rgba(71,185,220,.09) 67%, rgba(32,185,121,.1)),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid > *,
.field,
.form {
  min-width: 0;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card,
.notice,
.form,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(20, 20, 20, .05);
}
.card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
}
.card::after {
  content: "";
  position: absolute;
  right: -2.2rem;
  bottom: -2.4rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, rgba(215,86,106,.12), rgba(242,217,78,.16), rgba(71,185,220,.14), rgba(32,185,121,.13));
  transform: rotate(-18deg);
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.kicker {
  margin: 0 0 .45rem;
  color: #1685a8;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stripe {
  height: 11px;
  margin: -.05rem -.05rem 1rem;
  background: linear-gradient(90deg, #555 0 16%, var(--red-hot) 16% 32%, var(--gold-hot) 32% 48%, #fff 48% 64%, var(--blue-hot) 64% 80%, var(--green-hot) 80%);
}
.phrase-section {
  padding-top: 1rem;
}
.phrase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.phrase-card {
  min-width: 0;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82)),
    #fff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(20,20,20,.05);
}
.phrase-card h3 {
  margin-top: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.08;
}
.phrase-card p {
  margin-bottom: 0;
  color: #3b4650;
}
.phrase-card.red { border-left-color: var(--pink); }
.phrase-card.yellow { border-left-color: var(--gold-hot); }
.phrase-card.blue { border-left-color: var(--blue-hot); }
.phrase-card.green { border-left-color: var(--green-hot); }
.phrase-card.red { background: linear-gradient(180deg, rgba(215,86,106,.12), rgba(255,255,255,.9)); }
.phrase-card.yellow { background: linear-gradient(180deg, rgba(242,217,78,.18), rgba(255,255,255,.9)); }
.phrase-card.blue { background: linear-gradient(180deg, rgba(71,185,220,.16), rgba(255,255,255,.9)); }
.phrase-card.green { background: linear-gradient(180deg, rgba(32,185,121,.14), rgba(255,255,255,.9)); }
.flag-section { padding-top: 1rem; }
.flag-panel {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(215,86,106,.16), rgba(242,217,78,.19) 30%, rgba(71,185,220,.16) 66%, rgba(32,185,121,.16)),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.flag-photo {
  margin: 0;
  min-height: 100%;
  background: var(--deep);
}
.flag-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.flag-copy {
  padding: clamp(1.35rem, 3vw, 2.4rem);
  align-self: center;
}
.flag-copy h2 { margin-top: 0; }
.flag-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.1rem;
}
.flag-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: .65rem;
  align-items: start;
  padding: .7rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(38,49,58,.1);
  border-radius: var(--radius);
}
.flag-item span {
  width: 14px;
  min-height: 100%;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(38,49,58,.14);
}
.flag-item p { margin: 0; }
.flag-item.red span { background: var(--pink); }
.flag-item.yellow span { background: var(--gold); }
.flag-item.white span { background: #fff; }
.flag-item.blue span { background: var(--blue); }
.flag-item.green span { background: var(--green); }
.flag-item.black span { background: var(--deep); }
.manifesto-visual {
  margin: 0 0 1rem;
  border: 1px solid rgba(38,49,58,.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.manifesto-visual img {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
  object-position: center;
}
.manifesto-deepening {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 1rem;
  margin-top: 1rem;
}
.questions-card {
  background:
    linear-gradient(135deg, rgba(207,114,128,.09), rgba(238,227,111,.12) 34%, rgba(114,191,217,.09) 72%, rgba(61,174,131,.1)),
    #fff;
}
.question-list {
  display: grid;
  gap: .55rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}
.question-list li {
  padding: .8rem .9rem;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(38,49,58,.1);
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.25;
}
.list-clean {
  margin: .4rem 0 0;
  padding-left: 1.15rem;
}
.list-clean li { margin: .45rem 0; }
.quote-panel {
  background: #f8fbfa;
  color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-bottom: 9px solid var(--pink);
}
.quote-panel p {
  margin: 0;
  max-width: 850px;
  font-size: clamp(1.55rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1.08;
}
.manifesto-close {
  margin: 1rem auto 0;
  text-align: center;
}
.manifesto-close p {
  margin: 0 auto;
  max-width: 920px;
  font-size: clamp(1.35rem, 2.8vw, 2.45rem);
  line-height: 1.14;
}
.manifesto-close p + p {
  margin-top: .45rem;
  color: #34404a;
}
.timeline {
  counter-reset: steps;
  display: grid;
  gap: .75rem;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: .8rem;
  align-items: start;
}
.num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-hot), var(--green-hot));
  color: #fff;
  font-weight: 950;
}
.notice {
  padding: 1rem;
  border-left: 6px solid var(--blue);
}
.notice.success { border-left-color: var(--ok); background: #effaf5; }
.notice.error { border-left-color: var(--danger); background: #fff1f3; }
.hidden { display: none !important; }

.form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}
.field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 900;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: .82rem .85rem;
  border: 1px solid #bfc7d2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea {
  min-height: 170px;
  resize: vertical;
}
.help,
.small {
  color: var(--muted);
  font-size: .92rem;
}
.check {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: .25rem;
  flex: 0 0 auto;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.25rem;
}
.pill {
  min-height: 40px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.voice {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.voice img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e9edf2;
}
.voice .inner { padding: 1rem; }
.tag {
  display: inline-flex;
  margin-bottom: .55rem;
  padding: .24rem .5rem;
  background: #edf2ff;
  color: #173bbd;
  font-size: .78rem;
  font-weight: 900;
}
.sharecard {
  margin-top: .85rem;
  background: #fff7d8;
  border-style: dashed;
}
.footer {
  background: #eef3f1;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}
.footer a { color: var(--ink); }
.admin-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem;
}
.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: .75rem;
  border-bottom: 1px solid #eceff3;
  text-align: left;
  vertical-align: top;
}
th { background: #f6f8fb; }
.mini {
  min-height: 38px;
  border-radius: var(--radius);
  box-shadow: none;
}
.mini.ok { background: #dff7ec; color: #064d31; }
.mini.no { background: #ffe2e6; color: #7d1020; }
.mini.edit { background: #e5edff; color: #173bbd; }
.mini.del { background: var(--deep); color: #fff; }

@media (max-width: 900px) {
  body.inner-page {
    background:
      url("watermark-disability-pride.png") right -7.5rem top 9.5rem / 350px auto no-repeat fixed,
      var(--bg);
  }
  body.manifesto-page {
    background:
      url("watermark-disability-pride.png") right -10rem top 15rem / 330px auto no-repeat fixed,
      var(--bg);
  }
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .hero { min-height: auto; }
  .hero::before {
    background:
      linear-gradient(135deg, rgba(85,85,85,.12) 0 8%, rgba(207,114,128,.24) 8% 16%, rgba(238,227,111,.26) 16% 24%, rgba(255,255,255,.62) 24% 31%, rgba(114,191,217,.26) 31% 40%, rgba(61,174,131,.22) 40% 49%, transparent 49% 100%),
      linear-gradient(180deg, rgba(247,248,246,.96) 0%, rgba(247,248,246,.9) 100%);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 0 3.5rem;
  }
  .hero-art img {
    aspect-ratio: 4 / 3;
  }
  .grid.two,
  .grid.three,
  .flag-panel,
  .phrase-grid,
  .manifesto-deepening,
  .voices,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .flag-photo img { min-height: 260px; }
  .flag-legend { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar-inner { width: 100%; gap: .7rem; }
  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem;
    min-width: 0;
  }
  .nav a {
    min-width: 0;
    width: 100%;
    padding: .55rem .42rem;
    font-size: .84rem;
    min-height: 40px;
    text-align: center;
  }
  .hero-inner { width: min(100% - 1.4rem, var(--max)); }
  h1 { font-size: clamp(2.45rem, 14vw, 3.65rem); line-height: .96; }
  .section-head,
  .lead,
  .form,
  .card,
  .notice { max-width: min(366px, calc(100vw - 1.4rem)); }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3rem .7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .card, .voice, .pill { transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
  .btn:hover, .card:hover, .voice:hover { transform: translateY(-2px); }
}
