.dossier-page {
  background: #fffdf7;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.dossier-page a:focus-visible,
.dossier-page summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.dossier-wrap,
.dossier-wrap-narrow {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.dossier-wrap-narrow {
  width: min(820px, calc(100% - 48px));
}

.dossier-header {
  gap: 32px;
}

.dossier-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dossier-nav > a:not(.header-cta) {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.dossier-nav > a:hover {
  color: var(--green);
}

.dossier-hero {
  padding: clamp(72px, 10vw, 132px) 0 76px;
  background:
    radial-gradient(circle at 88% 16%, rgba(217, 237, 111, 0.56), transparent 25%),
    linear-gradient(135deg, #fffdf7 45%, #eef2df 100%);
  border-bottom: 1px solid var(--line);
}

.dossier-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: end;
}

.dossier-page h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5.5vw, 5.3rem);
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

.dossier-page h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.dossier-lead {
  max-width: 800px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
}

.dossier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button-secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.source-note {
  padding: 28px;
  border-top: 6px solid var(--orange);
  background: var(--ink);
  color: white;
  box-shadow: 18px 18px 0 rgba(94, 180, 204, 0.35);
}

.source-note strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
}

.source-note p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.fact-band {
  color: white;
  background: var(--green);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-grid article {
  min-height: 175px;
  padding: 38px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.fact-grid article:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid strong {
  margin-bottom: 14px;
  color: var(--lime);
  font: 800 clamp(1.65rem, 2.4vw, 2.35rem)/1 "Manrope", sans-serif;
}

.fact-grid span {
  color: rgba(255, 255, 255, 0.86);
}

.dossier-section {
  padding: 110px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.35fr);
  gap: clamp(50px, 10vw, 130px);
}

.section-grid > header {
  position: sticky;
  top: 118px;
  align-self: start;
}

.section-grid > header p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline li {
  position: relative;
  padding: 0 0 48px 50px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
  content: "";
}

.timeline time {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 7px 0 9px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.petition-pulse {
  padding: 82px 0;
  background: #e6f3f6;
}

.pulse-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 32px;
}

.pulse-heading h2 {
  margin-bottom: 0;
}

#dossier-results-status {
  max-width: 340px;
  color: var(--ink-soft);
  text-align: right;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.pulse-grid article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(24, 52, 46, 0.14);
  background: white;
}

.pulse-grid article > span {
  font-weight: 700;
}

.pulse-percent {
  color: var(--green);
  font: 800 2.2rem/1 "Manrope", sans-serif;
}

.pulse-count {
  grid-column: 1 / -1;
  align-self: end;
  color: var(--ink-soft);
}

.pulse-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.dossier-article {
  padding: 115px 0;
}

.article-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.article-header h2 {
  margin-bottom: 25px;
}

.article-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.article-body {
  padding-top: 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.82;
}

.article-body p {
  margin: 0 0 1.45em;
}

.article-body .article-intro {
  color: var(--ink);
  font-size: 1.23em;
}

.article-body h3 {
  margin: 2.2em 0 0.75em;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

.article-body ol {
  margin: 0 0 1.7em;
  padding-left: 1.4em;
}

.article-body li {
  margin-bottom: 0.65em;
  padding-left: 0.4em;
}

.article-votes {
  margin: 48px -130px 58px;
  font-family: "DM Sans", sans-serif;
}

.article-votes-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.vote-result {
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 52, 46, 0.07);
}

.vote-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.vote-heading h4 {
  margin: 5px 0 0;
  font: 800 1.08rem/1.35 "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.vote-heading > a {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.vote-date {
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vote-label {
  margin: 0 0 8px !important;
  color: #4f3858;
  font-size: 0.9rem;
  font-weight: 800;
}

.vote-bar {
  display: flex;
  width: 100%;
  min-height: 47px;
  overflow: hidden;
  border-radius: 2px;
  color: #10211d;
  font-size: 0.88rem;
  line-height: 1;
}

.vote-segment {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 0 13px;
  white-space: nowrap;
}

.vote-segment strong {
  font-weight: 800;
}

.vote-for {
  justify-content: flex-start;
  background: #69ad65;
}

.vote-against {
  justify-content: flex-end;
  background: #f4312f;
}

.vote-totals {
  margin: 9px 0 16px !important;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.vote-details {
  margin: 0;
}

.vote-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 16px;
  border-radius: 3px;
  background: #51365d;
  color: white;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.vote-toggle::-webkit-details-marker {
  display: none;
}

.hide-votes,
.vote-details[open] .show-votes {
  display: none;
}

.vote-details[open] .hide-votes {
  display: inline;
}

.vote-factions {
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.vote-factions p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin: 15px 0 0 !important;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.vote-factions strong {
  color: var(--ink);
}

.vote-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
}

.vote-dot-for {
  background: #69ad65;
}

.vote-dot-against {
  background: #f4312f;
}

.vote-withdrawn {
  margin: 16px 0 0 !important;
  padding: 16px 20px;
  border-left: 5px solid var(--blue);
  background: #edf6f8;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.vote-withdrawn strong {
  color: var(--ink);
}

.article-callout {
  margin: 55px -70px;
  padding: 34px 42px;
  border-left: 8px solid var(--orange);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
}

.article-callout strong {
  font: 800 1.2rem "Manrope", sans-serif;
}

.article-callout p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.videos-section {
  padding: 110px 0;
  background: #e8f2f4;
}

.videos-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 45px;
}

.videos-heading h2 {
  margin-bottom: 0;
}

.videos-heading > p {
  margin: 0;
  color: var(--ink-soft);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.council-video {
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 34px rgba(24, 52, 46, 0.08);
}

.video-player {
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 230px;
  place-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 237, 111, 0.25), transparent 28%),
    linear-gradient(145deg, #17342f, #0b7357);
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-load {
  display: inline-flex;
  max-width: calc(100% - 40px);
  min-height: 58px;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 3px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.video-load:hover {
  border-color: var(--lime);
  background: var(--lime);
}

.video-load strong,
.video-load small {
  display: block;
}

.video-load strong {
  font-weight: 800;
}

.video-load small {
  margin-top: 2px;
  color: var(--ink-soft);
}

.video-play {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 0.86rem;
  line-height: 1;
}

.video-copy {
  padding: 26px 28px 30px;
}

.video-date {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin: 0 0 12px;
  font: 800 1.25rem/1.35 "Manrope", sans-serif;
  letter-spacing: -0.025em;
}

.video-copy > p:not(.video-date) {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.video-copy .video-note {
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: var(--cream);
  font-size: 0.88rem;
}

.video-copy a,
.council-video noscript a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

.council-video noscript p {
  margin: 0;
  padding: 0 28px 24px;
}

.documents-section {
  padding: 110px 0;
  background: var(--cream);
}

.documents-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 45px;
}

.documents-heading h2 {
  margin-bottom: 0;
}

.documents-heading > p {
  color: var(--ink-soft);
}

.document-group {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.document-group summary {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  cursor: pointer;
  list-style: none;
}

.document-group summary::-webkit-details-marker {
  display: none;
}

.document-group summary::after {
  grid-column: 3;
  color: var(--green);
  content: "+";
  font-size: 2rem;
  line-height: 1;
}

.document-group[open] summary::after {
  content: "−";
}

.document-year {
  color: var(--green);
  font: 800 1.5rem "Manrope", sans-serif;
}

.document-group summary strong,
.document-group summary small {
  display: block;
}

.document-group summary strong {
  font: 800 1.12rem "Manrope", sans-serif;
}

.document-group summary small {
  margin-top: 4px;
  color: var(--ink-soft);
}

.document-group-body {
  padding: 0 30px 30px;
  border-top: 1px solid var(--line);
}

.document-group-body > p {
  margin: 24px 0;
  color: var(--ink-soft);
}

.document-group-body > p a,
.integrity-note a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

.document-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.pdf-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 2px;
  background: #d64032;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.document-title strong,
.document-title small {
  display: block;
}

.document-title small {
  margin-top: 3px;
  color: var(--ink-soft);
}

.document-links {
  display: flex;
  gap: 10px;
}

.document-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.document-links a:hover {
  border-color: var(--green);
  background: rgba(11, 115, 87, 0.06);
}

.integrity-note {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.dossier-cta {
  padding: 78px 0;
  background: var(--lime);
}

.dossier-cta .dossier-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.dossier-cta h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.dossier-footer {
  padding: 48px 0;
  background: var(--ink);
  color: white;
}

.dossier-footer .dossier-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.dossier-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
}

.dossier-footer strong {
  color: white;
}

@media (max-width: 900px) {
  .dossier-nav {
    gap: 14px;
  }

  .dossier-nav > a:not(.header-cta):not(.nav-petition) {
    display: none;
  }

  .dossier-hero-grid,
  .section-grid,
  .videos-heading,
  .documents-heading {
    grid-template-columns: 1fr;
  }

  .section-grid > header {
    position: static;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fact-grid article:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .pulse-grid {
    grid-template-columns: 1fr;
  }

  .article-callout {
    margin-inline: 0;
  }

  .article-votes {
    margin-inline: 0;
  }

  .article-votes-pair {
    grid-template-columns: 1fr;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .document-list li {
    grid-template-columns: 50px 1fr;
  }

  .document-links {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .dossier-wrap,
  .dossier-wrap-narrow {
    width: min(100% - 30px, 1180px);
  }

  .dossier-header {
    height: 72px;
    padding-inline: 15px;
  }

  .dossier-header .brand > span:last-child {
    display: none;
  }

  .dossier-header .header-cta {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .dossier-hero {
    padding-top: 58px;
  }

  .dossier-actions,
  .dossier-actions .button {
    width: 100%;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid article,
  .fact-grid article:nth-child(3) {
    min-height: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .pulse-heading,
  .dossier-cta .dossier-wrap {
    display: block;
  }

  #dossier-results-status {
    margin-top: 18px;
    text-align: left;
  }

  .document-group summary {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 20px;
  }

  .document-group summary::after {
    position: absolute;
    right: 20px;
    grid-column: auto;
  }

  .document-group-body {
    padding: 0 20px 22px;
  }

  .document-list li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .pdf-icon {
    width: 38px;
    height: 38px;
  }

  .document-links {
    display: grid;
  }

  .document-links a {
    white-space: normal;
  }

  .vote-result {
    padding: 20px;
  }

  .vote-heading {
    display: block;
  }

  .vote-heading > a {
    display: inline-block;
    margin-top: 10px;
  }

  .vote-segment {
    padding-inline: 8px;
  }

  .vote-segment span {
    display: none;
  }

  .video-player {
    min-height: 190px;
  }

  .video-copy {
    padding: 22px 20px 25px;
  }

  .dossier-cta .button {
    width: 100%;
    margin-top: 28px;
  }

  .dossier-footer .dossier-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dossier-page *,
  .dossier-page *::before,
  .dossier-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
